Postbag Parts Galore GMH 057

Postbag Parts Galore. This postbag is from a number of packages that came to the Geek. Any Geek needs parts to survive, things like switches, jacks, cables, and cases.

  • 01:00 Mini USB Jacks,
  • 02:12 Banana Jacks
  • 03:29 SPDT Slide Switches Breadboard compatible
  • 05:15 18650 Battery Holders
  • 05:49 BNC to gator clips cable
  • 06:29 USB Volt/Amp/Watt/total time meter
  • 08:30 Warch the Geek burn himself
  • 08:49 Lever switches
  • 09:20 Raspberry Pie Case
  • 10:41 Case for W1209 Temp Thermostat control

I hope you enjoyed this video and if you liked it or my escapades then click on that LIKE button. Any questions or feedback is greatly appreciated.

I have a companion blog https://GeekMustHave.com where I preach technology. Do a Geek a favor and SUBSCRIBE to my YouTube channel. I would really appreciate it.

Now… go build something… go code something

Zombies – The open source monsters

Filmmaker George A. Romero invented our modern concept of a zombie as a slow-walking, flesh-eating ghoul. However his creation has been mimicked and reimagined countless times when other classic monsters such as the Boris Karloff style Frankenstein has been fiercely protected from copyright infringement by Universal Studios. This video explains how a copyright mistake has…

This kinda explains the explosion of zombie based movies, TV Series back 5-10 years ago.  I often attend meetings where at least half of the attendees are zombies, looking for brains.

via Zombies – the open source monsters — Adafruit Industries – Makers, hackers, artists, designers and engineers!

How to Return Ajax Response From Asynchronous JavaScript Call: Methods and Code Examples

When JavaScript is used in conjunction with XML or REST APIs, you can create some useful behaviors with a set of web-development techniques collectively known as Ajax. Let’s take a look at a specific Ajax functionality: returning an Ajax response from an asynchronous JavaScript call. First, What Is Ajax? Asynchronous JavaScript and XML, or Ajax,…

An excellent article on the what, why and how of AJAX.  It’s not just for XML.

via How to Return Ajax Response From Asynchronous JavaScript Call: Methods and Code Examples — DZone Web Dev Zone

A Totally Reto Mode makes a comeback

NV_0317_Thompson_Large.jpg

Since the inception of ham radio until the early 2000s, the licensing of an individual to become a ham radio operator has required an examination in sending and receiving international Morse code, CW, or “continuous wave” (as opposed to spark transmissions, which were intermittent). The reason for this was that the on/off nature of Morse code was reliable, needing the minimum of technology to implement, and that frequency stability and selectivity of early radios did not facilitate voice transmission and reception. There are many quant videos of military training films for Morse code instruction. To put it simply (which I try to do, sometimes too simply), almost any individual — especially one with musical ability — can learn Morse code in about two weeks to the five words per minute level (WPM), and about six weeks to the 13 WPM level.

I am KD8VON.  I have struggled to learn Morse Code for a few years now.  Nice to see that the effort wasn’t wasted.

Recently I did a DIY project on my YouTube channel changing the standard “Hello World” blink script for Arduino to be just a little different for those amateur radio operators who know the Morse.

GMH 053 DIY a better Arduino blink sketch, Hello World, Ham style

Please visit my channel and Subscribe if you like this video or you are a Ham.

Via: Nuts & Volts Match 2017 Issue

 

 

Understanding JSON Schema

2017-08-22_8-53-30

JSON Schema is a powerful tool for validating the structure of JSON data. However, learning to use it by reading its specification is like learning to drive a car by looking at its blueprints. You don’t need to know how an internal combustion engine fits together if all you want to do is pick up the groceries. This book, therefore, aims to be the friendly driving instructor for JSON Schema. It’s for those that want to write it and understand it but maybe aren’t interested in building their own car—er, writing their own JSON Schema validator—just yet.

This is a web based book on JSON and the practical usage of the JSON Schema.  It starts out with the trike and training wheels and moves all the way up to a racing bike.  I learned something in each chapter I read.  I also see the connection between the JSON schema and the Swagger/OAS definitions.  If you have used WSDL for the schema definition in an XML web service you will appreciate how much simpler and easier it is to read a JSON schema.

I did a post a little while ago about a JSON editor that can take advantage of a JSON schema if it’s available.

There is a print version of this book at the following link.

via: Understanding JSON Schema

These Tiny Drawbots Put Unique Doodles on Coasters — Make: DIY Projects and Ideas for Makers

In order to produce something interesting to bring to a monthly hardware meetup, Barton Dring created custom laser coaster engraver/cutters. Read more on MAKE The post These Tiny Drawbots Put Unique Doodles on Coasters appeared first on Make: DIY Projects and Ideas for Makers.

This design is the 3rd evolution of marking up a coaster.  Watch the video of the machine in action, it’s mesmerizing.

via These Tiny Drawbots Put Unique Doodles on Coasters — Make: DIY Projects and Ideas for Makers

Data Driven Documents (D3), API Server (Cdata) Generate REST Server 80+ Data Sources.

2017-08-22_8-45-24

2017-08-22_8-45-52

D3.js is a JavaScript library for producing dynamic, interactive data visualizations in Web browsers, using the widely implemented SVG, HTML5, and CSS standards. The CData API Server enables you to generate REST APIs for 80+ data sources, including both on-premises and cloud-based databases. This article walks through setting up the CData API Server to create a REST…

I have used D3 in concert with C3 to create a data visualization front end to a data warehouse.  D3 has a ton of features but is difficult to use out of the box for the novice user.  The C3 library puts a layer of smarts on top of D3 making it much easier to get started in graphic visualizations.  I’ve also used CData product to get an ODBC connection to Google sheets in order to analyze and transfer results from a Google form survey to a data warehouse.  CData products are very good just be willing to pay for that excellence.

This article is a good read because it combines the two to assemble a REST service and use it to provide the data feed to D3.

via Building Dynamic D3.js Web Apps With Database Data — DZone Web Dev Zone

Boxes -Spice up boring Bash or Powershell scripts

boxes.pngBoxes is a text filter which can draw any kind of box around its input text. Box design choices range from simple boxes to complex ASCII art.  Boxes come with a good collection of ASCII art to start with.  I’m a sucker for boxes, they spice up what would be boring script files.  Boxes were always available on Linux, and now it’s available under Windows.  That’s if you can find them.

This little ditty is a reminder for myself of how to install this on a Windows machine so it is available from everywhere.

Boxes are from Thomas Jensen, download them from this link and save yourself a headache using google to find either boxes, Linux or combinations.  Version 1.2 has been released and has a few extra little goodies.

Getting it installed so you can use it any Powershell script on your system is a little difficult but worth the effort.

Part of my setup for every Windows system I use is to create a directory under the C:\ root to store the commands that are mine.  These are mostly portable applications but include little utilities like Boxes.  I call this directory C:\myCommands.   When I add this directory to the PATH statement it makes all those commands I added to the directory, available from any directory on the computer.

2017-08-21_15-32-07.png

Adding the path is done by editing the environment variable for your account, not the system account.  Look for the Path variable and Edit it.

2017-08-21_16-40-27.png

Then add the special place you created for your stuff.  In my case (C:\myCommands).

2017-08-21_16-40-31.png

When you unzip the BOXES.ZIP program from this link, it is just 2 files.  The EXE which does the work and the CFG which has the ASCII artwork in it.  I unzip them both into the (c:\myCommands) directory.

2017-08-21_15-33-58.png

The last step to getting boxes everywhere is to add a new environment variable to your account.  Start with looking for environment variables.

2017-08-21_16-47-19.png

The name of the new environment variable is BOXES.  The value is your special place (C:\myCommands).

2017-08-21_16-47-36

Verify that the new environment variable has been created.

2017-08-21_16-47-42.png

To have all of this stuff to start working you will need to reboot.  

Now open up the PowerShell window and type:

write-output "GeekMustHave rocks!" | boxes -a hc -d ian_jones

The (ian_jones) is one my favorite ASCII art frames.  There are plenty more art frames in the CFG file.

2017-08-21_16-54-56.png

I also have a YouTube Channel (GeekMustHave) no spaces or your get the makeup ladies.

If you stop by to visit please subscribe to let me know this post helped you.

https://www.youtube.com/channel/UChNSlqKgG8_l0h0C8vRLvbA