Notes πŸ“

πŸ—ΊοΈ Maps πŸ–ΌοΈ Photos πŸ“½οΈ Videos

kill can kill. It doesn’t necessarily.


Indeed, it can send a lot of different signals beyond SIGKILL. And people over use SIGKILL, it really only should be used in an emergency when a process is unresponsive to other signals. SIGTERM and SIGHUP are generally a better idea, as they shut down a program in a controlled fashion. SIGCONT – sent by kill, will actually resume a previously paused program with SIGTSTP or SIGSTOP.

All the signals kill can send at least on my computer:


1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP
6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1
11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM
16) SIGSTKFLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP
21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ
26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR
31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1 36) SIGRTMIN+2 37) SIGRTMIN+3
38) SIGRTMIN+4 39) SIGRTMIN+5 40) SIGRTMIN+6 41) SIGRTMIN+7 42) SIGRTMIN+8
43) SIGRTMIN+9 44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13
48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12
53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9 56) SIGRTMAX-8 57) SIGRTMAX-7
58) SIGRTMAX-6 59) SIGRTMAX-5 60) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2
63) SIGRTMAX-1 64) SIGRTMAX

Real-Time User Defined Signals 32 to 64 can be used for any purpose, though the numbers can change depending on the Linux distro, so it is considered best practice to call it by name, like kill -SIGRTMIN xxxx.

You might use Real-Time User Defined Signals if you have a “daemon” program that runs in the background, watches for signals to take an action, like pull a pin high to turn on a light on a Rapberry PI. You don’t think of using kill to make a program take actions, but it certainly can be used that way.

Trapping signals is easy in bash loop — just include a trap <command here> <signal number or name> in your code. Python with the signal library, you can trap a signal with signal.signal(signal.<SIGNAL NAME>, <function here>). It’s a bit more complicated in C, with the signal.h library as you can get race conditions if your not very careful.

Thematic Map: How the Catskill Park Voted in 2024 Presidential Election

Why I probably won’t replace leaflet with MapLibre GL entirely on the blog

I had hoped to completely replace Leaflet interactive maps with MapLibre GL 3D maps on the blog. However, upon further research I realized this is not as easy as I thought it would be, as you can not easily use server-styled ArcGIS FeatureLayers on MapLibre GL. The core limitation comes down to WebGL architecture vs. Canvas/SVG architecture:

  • Leaflet & OpenLayers use standard HTML5 Canvas/SVG paths. Translating an Esri JSON stroke or fill color into a canvas path command is mathematically straightforward.
  • MapLibre GL JS relies on strict, compiled WebGL shaders and a data-driven styling specification. You cannot easily map an abstract vector layer to a shader without translating it into complex, multi-layered MapLibre JSON style expressions or client-side vector tile parsing.

One more sleep before the Freedom 250 Trip πŸ‡ΊπŸ‡Έ

Happy Birthday America! It’s going to be a big fire up in the wilderness on Tuesday with lots of beer and weed – and fireworks, I tell you if I have anything to do with it.

Old Smokey, the SuperDuty, really is starting to feel like it now with everything wired up, tested and lot of my camping gear packed. πŸ•οΈ πŸ₯Ύ Still need to get some more groceries and supplies but I’m looking forward to a lot of good eats up north, some good time snoozing in the hammock, and lots of time swimming and cooling off away from the heat and noise of the city. Speculator first then up to Moose River Plains for the second half of the weekend. Finally back to having fires, so I can get all the stuff I enjoy care-free without having to do that stupid recycling crap. πŸ”₯

Got Big Red all cleaned out, πŸ—Ό though still working on pulling the CB Radio antenna mount and need to remove the wire. πŸ“» Need to vaccum and wash the truck but I plan to do that Monday when I get back from the Adirondacks, and hopefully get it listed next week. I haven’t decided on a price, thinking $4k to 5k probably but I want to do more research on what a fair price is for the truck needing frame repairs. Still runs good, but definately needs from frame welding and maybe body panel repairs to hide the rust. Tires have a fair bit of life left on them too. At this point, I’m hoping to sell Big Red πŸ›» by summer vacation at end of the month, as I kind of could use the cash for vacation after all the expenses building my new rig.

Still searching for my bathing suits and summer clothes. 🩳 I think they’re in the crawl space but their exact location is escaping me. 🧭 I’ll figure it out. I got distracted when I found a broken series of patriotic LEDs πŸ’‘ that I was thinking I could fix with a replacement resistor but I may need to add additional bulbs to the string as I don’t have any high powered resistors to drop the voltage. Still matching that out, even if it’s just for camp purposes run by the inverter, 120 volts can still make a loud and deadly bang if done wrong.

Tired 😩

Lately I’ve been very tired. I can’t decide if it’s Lyme disease or just my busy and sometimes stressful work and activism schedule. Certainly at times I’m a bit achy or with a headache like when I first awoke this morning.

Seven days in the wilderness should help a bit, with no real schedule except to float, paddle and ride to my hearts content. Lots of reading and lazy floating around in the tube. Sleep as late as I want. Nights under the stars, nothing much to rush or bother me much.