Some thoughts on writing software libraries: Library Writing Realizations.
Author Archives: Jay Jay
GPIO Programming: Using the sysfs Interface
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.