Today I happened upon GPIO Programming: Using the sysfs Interface.
Electrical Engineering Experiments: Experiment 1
So I got myself a copy of Electrical Engineering Experiments (from this Humble Bundle), and this is the first experiment:
As my mate Craig explained this experiment is designed to get you to understand that you *always* have a voltage divider situation going on, even if it doesn’t look like there’s a resistor in the circuit.
Gareth Branwyn
This dude Gareth Branwyn has a few interesting books.
NASA WORKMANSHIP STANDARDS
Today while reading Make: Getting Started with Soldering I learned about NASA WORKMANSHIP STANDARDS and the Lineman’s splice.
requestIdleCallback
See Improving responsiveness in text inputs for an explanation of how to use JavaScript requestIdleCallback for improved browser responsiveness:
let queued = false
textarea.addEventListener('input', () => {
if (!queued) {
queued = true
requestIdleCallback(() => {
updateUI(textarea.value)
queued = false
})
}
})
Framework Patterns
A great article Framework Patterns talking about approaches to framework implementation:
- Callback function
- Subclassing
- Interfaces
- Imperative registration API
- Convention over configuration
- Metaclass based registration
- Language integrated registration
- DSL-based declaration
- Imperative declaration
- Language integrated declaration
Streams in PHP
Today I came across A Guide to Streams in PHP: In-Depth Tutorial With Examples.
Falsehoods Programmers Believe About Phone Numbers
Some notes from Google about Falsehoods Programmers Believe About Phone Numbers.
Brother P-touch PT-H105 settings
I made some notes about the settings of my Brother PT-H105 label maker.
Best solder wire
So over here the author recommends C511 solder:
Once you find a good brand of solder that flows smoothly, doesn’t make a mess, and gives you excellent joints, you don’t easily switch to something else. A spool of C511 solder isn’t cheap, but it offers amazing quality. I’ve been forced to use cheap solder in the workplace before, and usually end up taking in my Loctite solder to use. Some cheap solder flows like mud or has flux that makes a huge mess on your board. C511 is a no-clean solder that is an RoHS compliant Tin/Silver/Copper blend. You can get it in a range of diameters; I’ll typically have a roll of 0.56mm and a roll of 1.63mm on hand. The 0.56mm is good for fine pitch components, and the 1.63mm for tinning thick wires or large components.