Using phone compass for angle measurement
Turns out using phone’s compass is a very accurate and quick way of measuring angles when doing woodworking, 3D printing and so on! 

Blog posts from oxplot/daily
Turns out using phone’s compass is a very accurate and quick way of measuring angles when doing woodworking, 3D printing and so on! 

Most hospital MRIs use superconducting magnets that carry a persistent, loss-free current locked inside coils chilled by liquid helium. That current—and therefore the main magnetic field— continues 24 h × 365 days, even when no scan is running; only the gradient coils and RF amplifiers cycle on/off during each image. Permanent-magnet scanners are likewise “on” by nature, while low-field resistive…
It’s heartwarming to hear “you’re welcome” in response to thank you! 

 Please say it more often. 

I love my brand new terminal Ghostty . Built by people who have taste. It’s replaced my long term trusty iterm2. 

 Here’s my config so far: 

 $HOME/Library/Application\ Support/com.mitchellh.ghostty/config : 
 theme = Apple System Colors Light 
 cursor-style = block 
 font-family = SF Mono 
 font-size = 11 
 shell-integration-features = no-cursor…
Right after someone finishes a task—especially if they didn’t do it perfectly—is the worst time to tell them how they could’ve done it better. They’re still mentally engaged, maybe even a bit defensive or tired. Giving advice in that moment, even with good intent, often feels like criticism. But if you wait a few days, maybe a week, the emotional charge fades. The person is more open to hearing…
I’m an impulse buyer so I need to be able to undo . Sellers that allow returns for change of mind are essentially providing an undo feature. Some of them that I use often are: 

 
 Apple (14 days, can unpack and use) 
 IKEA (can return unused for a year!) 
 Amazon 
 Decathlon 
 

package main 

 import ( 
	 'device/nrf' 
	 'time' 

	 'tinygo.org/x/bluetooth' 
 ) 

 var adapter = bluetooth . DefaultAdapter 

 var ( 
	 serviceUUID = [ 16 ] byte { 0xa0 , 0xb4 , 0x00 , 0x01 , 0x92 , 0x6d , 0x4d , 0x61 , 0x98 , 0xdf , 0x8c , 0x5c , 0x62 , 0xee , 0x53 , 0xb3 } 
	 charUUID = [ 16 ] byte { 0xa0 , 0xb4 , 0x00 ,…
https://x.com/Tesla_AI/status/1923247156447871403 

 

Sleepy End Device (SED) is a device that’s sleeping most of the time and has very low power consumption — think running on a single AA for a year! 

 Here’s end-to-end getting things setup ( ref1 , ref2, ref3): 
 brew install cmake ninja dfu-util python3
git clone -b v5.4.1 --recursive https://github.com/espressif/esp-idf.git
 cd esp-idf
./install.sh esp32c6 #…
Finally a cheap and simple way of making Zigbee devices using Arduino and ESP32-C6 . 
 Arduino Setup 
 
 Add https://espressif.github.io/arduino-esp32/package_esp32_index.json to Arduino Settings -> Additional boards manager URLs and refresh the index (in the new IDE, that’s ⌘+Shift+P and select “Arduino: Update library index”). 
 Go to board manager and install…
# General Principles 

 Given any NON - TRIVIAL task : 

 1. Think about how to make the requirement less dumb . Do not assume the 
 user knows what the most optimal / right requirement is . 
 2. Delete code . If you ' re not adding 10 % back, you haven ' t removed 
 enough . 
 3. Simplify and optimize the design . Best code is no code . 
 4. Accelerate the…
Each post is a Github issue in a private repo. Title of the repo is the title of the blog. Github actions deploys the content on issue changes. Footer is another issue. 

I had trouble getting VSCode using Go lang server to resolve all modules properly for a TinyGo project. 

 Here’s my simple blinking light and BLE advertising code: 
 package main 

 import ( 
	 'machine' 
	 'time' 

	 'tinygo.org/x/bluetooth' 
 ) 

 var adapter = bluetooth . DefaultAdapter 

 func main ( ) { 
	 led…