This is old (20 years old!), but fun: The Two Percent Solution.
Category Archives: Hardware
Hewlett Packard HP 8018A Serial Data Generator
I saw this Hewlett Packard HP 8018A Serial Data Generator for sale for US $2,000 after having seen it mentioned over on Using a 1930 Teletype as a Linux Terminal. That sent me off trying to see if I could get my UTG962E from the UNI-T UTG900E series arbitrary function waveform generator to transmit a custom waveform. I managed to get the software installed on Windows and apparently I can upload any of *.sav, *.rec, *.dat, *.uwr, *.wfr, *.wf to my waveform generator, but I have no idea how to generate such files.
Apollo Guidance Computer
Reading about the Apollo Guidance Computer. Compare that to the US$3.23 ATtiny85.
| Spec | AGC | ATtiny85 |
|---|---|---|
| Word size | 16-bit | 8-bit |
| Clock | 2 MHz | 20 MHz |
| ROM | 72 KiB | 8 KiB |
| RAM | 4,096 B | 512 B |
The values in the above table are approximate, see the sources listed above for actual figures. Basically the $3 chip is ten times faster than the AGC but with less storage. Call it a draw?
Ben Eater
So I discovered this guy Ben Eater after watching his video How do hardware timers work?. It looks like he has some cool stuff.
How do hardware timers work?
This looked interesting but I’m too sleepy to watch now… How do hardware timers work?.
Pegboard
Planning to get pegboard and hooks. I found how to install and style a pegboard and how to organise tools with a pegboard.
HiLetGo USB Logic Analyzer
So I got myself a HiLetgo USB Logic Analyzer Device With EMI Ferrite Ring USB Cable 24MHz 8CH 24MHz 8 Channel UART IIC SPI Debug because for USD$12 + shipping how could I not? It came with a video from Amazon about how it works.
Replace a disk in a ZFS pool
So smartd is suddenly emailing me about problems with one of the disks in my ZFS zpool. I have ordered a replacement disk and am waiting for it to arrive. While the smartd email says there is a problem `zpool status` says everything is fine. So I’m running a `zpool scrub` to see if ZFS can pick up on the disk errors.
Preparing for the disk replacement I searched the web and found Replace a disk in a ZFS pool.
I found the serial number of the faulty disk with `lsblk -I 8 -d -o NAME,SIZE,SERIAL`. The process is then:
- Shutdown the server
- Replace the faulty disk
- Boot the server
- Run zpool replace: sudo zpool replace data sdc
- Check zpool status: sudo zpool status data
I hope it turns out to be that easy! Now I just wait for my scrub to complete and my disk to arrive.
Update
Click through on the link below for some excellent documentation about how to handle this error:
Every 2.0s: zpool status love: Fri Apr 30 07:52:40 2021
pool: data
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-9P
scan: scrub in progress since Thu Apr 29 02:30:54 2021
4.32T scanned out of 5.03T at 42.9M/s, 4h48m to go
466K repaired, 85.93% done
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sda ONLINE 0 0 0
sdb ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
sdc ONLINE 0 0 4 (repairing)
sdd ONLINE 0 0 0
cache
nvme0n1p4 ONLINE 0 0 0
errors: No known data errors
What it takes to run Stack Overflow
Today What it takes to run Stack Overflow popped up on r/programming. It’s an old article (2013) but still interesting. It referenced Performance is a Feature and made the bold-font claim that “the cost of inefficient code can be higher than you think.”
App Consoles
This discussion of App Consoles came up on Lobsters today.