June 2020 Updates
Completed the unfinished worked example on the Finding The Intersection Of Two Arcs That Lie On A Sphere page.
Fixed a bug with the custom
imgshortcode used on this site which was causing the wrong image to be displayed, or in some cases, no image at all.
Added a section on CAN Bus Repeaters to the CAN Protocol page.
- Updated the CANopen section on the CAN Protocol page.
Added the new How To Write Python Scripts For KiCAD page.
Added information on number-to-string functions in the C programming language to the String Manipulation page.
Updated the Debouncing page.
Updated the Logic Families page.
Added the new Silicon Controlled Rectifiers (SCRS) page.
Added a section on floating-gate MOSFETS to the MOSFET page.
April 2020 Updates
Added a section on mypy And Reusing Variables With Different Types to the Python Type Annotations page.
Added a new page on Shift Registers (a digital logic circuit).
Added a section on Tags to the AWS S3 page.
Added a section on NoCAN to the CAN Bus page.
Added a new page on UML Diagrams.
Added a section on Flyback Transformers to the Transformers page.
- Added info on non-standard QFN packages to the QFN Component Package page.
March 2020 Updates
- Added the new USON Component Package page.
Updated the WSON Component Package page.
Added projection info to the rasterio page.
Added search functionality. When I first moved this blog from a “dynamic” Wordpress-based server to static hosting and Hugo, I thought search functionality was just one of those luxuries I would have to give up. But apparently not! As long as all the search data is assembled at site build time, we can perform the search functionality client side (i.e. on your computer, using your processor :-D). See the blog post We Now Have Search for more information!
Added an section on how to remove masked values from a masked array to the Numpy page.
Added a new tutorial on geopandas.
Added a the page Python And File Paths with information on the
Added a new page on the The Three Classical Pythagorean Means.
Added the section How To Speed Up 'sending build context to docker daemon' to the Docker page.
We Now Have Search
When I switched from using Wordpress to Hugo I thought I was giving up on search functionality on this blog. I just discovered recently I was wrong! After coming across the post
Fast, keyboard optimized search for Hugo I saw that it can indeed be done. The trick to get Hugo to output a single
.json dictionary, index the data, and then provide search functionality to the user.
flexsearch which was much faster and gave me greater control over how the text was indexed. The demo of the new search feature is shown in the
The screenshot below of the Network panel in the Chrome Developer Tools shows the time it takes to download the blog’s search dictionary (which is called
- Static HTML: https://github.com/gbmhunter/blog/blob/master/layouts/_default/baseof.html
- CSS: https://github.com/gbmhunter/blog/blob/master/static/css/style.css.
Other examples of static site search functionality can be found all over the web. Some examples include:
February 2020 Updates
Added the following information to the AWS S3 page:
aws s3 syncand the
AWS S3’s data consistency model (including read after write and eventual consistency).
- Added a new tutorial on The Sigmoid Function, including the logistic function.
- Added a new tutorial on logistic regression (the logistic function being one type of Sigmoid function), called Understanding Logistic Regression