diff --git a/content/blog/2022/11-28-smartwatch.md b/content/blog/2022/11-28-smartwatch.md index eaa87cc..3ac67a6 100644 --- a/content/blog/2022/11-28-smartwatch.md +++ b/content/blog/2022/11-28-smartwatch.md @@ -50,3 +50,11 @@ light. It's been running on the battery it came with since I got it. Every 4 years you have to tell it about leap year. Apparently, my favorite watch is one I only have to think about every 4 years. + + +Update: 2024-Sep-02 +--------------- + +The F-91W's alarm wouldn't sound until I replaced the battery. +Seems like I got about 10 years out of it. +I'll plan to replace it again around 2034. diff --git a/content/blog/2024/07-30-featurephone:-still-going/index.md b/content/blog/2024/07-30-featurephone-still-going/index.md similarity index 97% rename from content/blog/2024/07-30-featurephone:-still-going/index.md rename to content/blog/2024/07-30-featurephone-still-going/index.md index 4f422b4..835618b 100644 --- a/content/blog/2024/07-30-featurephone:-still-going/index.md +++ b/content/blog/2024/07-30-featurephone-still-going/index.md @@ -1,5 +1,5 @@ --- -title: Featurephone: still going +title: "Featurephone: still going" date: 2024-07-30 tags: - featurephone diff --git a/content/blog/2024/08-13-backup-strategy/index.md b/content/blog/2024/08-13-backup-strategy/index.md new file mode 100644 index 0000000..ea81086 --- /dev/null +++ b/content/blog/2024/08-13-backup-strategy/index.md @@ -0,0 +1,32 @@ +--- +title: Backup strategy +date: 2024-08-13 +tags: + - computers +--- + +After discussing it with the family, +we decided that being able to load the backups onto a Chromebook was a consideration, +since I might not be around to recover the data. + +What we wound up with was a USB SATA adapter, +and a couple El Cheapo 10TB hard drives formatted with ext4. +I'm running rsync of my entire mirrored btrfs onto one right now, +with the expectation that someone will be able to read that on a Chromebook, +or find a helpful nerd to do it. +One drive will live at my father's apartment. +Every six months or so I'll need to run the rsync again. + +At some point one of them will fail, +and will have to be replaced with a new hard drive. + +We're also going to start printing out photos +and making albums the old fashioned way. +I have low confidence that my grandchildren will be able to read an EXT4 SATA hard drive. +But I'm pretty sure they'll be able to see a photograph + +This backup strategy is essentially what we were doing before, +the big change being that I'm no longer buying these crummy USB hard drives +that seem to fail after 2 years. +Hopefully the 5.25" hard drives last longer. +We'll see. diff --git a/content/blog/2024/08-14-emacs/index.md b/content/blog/2024/08-14-emacs/index.md new file mode 100644 index 0000000..25cfbba --- /dev/null +++ b/content/blog/2024/08-14-emacs/index.md @@ -0,0 +1,37 @@ +--- +title: Emacs +date: 2024-08-14 +tags: + - computers +--- + +I'm back on Emacs. + +Somebody on the Something Awful Forums pointed out that VSCode will only be cool +for as long as Microsoft cares about it. +Given the recent banning of my LinkedIn account, +I figured it was time to go back to Emacs. + +Emacs 29 really did make a lot of improvements. + +I picked it back up almost instantly, +and I've already learned some new things. +I thought I would miss multi-cursor, +so I installed an emacs thing to do it, +but I'm using the built-in search/replace mechanisms more. + +It has a package system now! +And they introduced a related thing that makes my ~/.emacs/init.el +pretty neat and tidy. + +Eshell is still pretty great, +I've been using that quite a bit. +And they've got this new treesitter stuff that works great in Go, +is a little crashy in JavaScript. +I'm expecting a big improvement in Emacs 30. + +This is all in Windows most of the time, +although I'm using it in Linux too. + +Anyway, I'm back on Emacs now. +I think I'm probably done trying out new editors. diff --git a/content/blog/2024/09-02-podcast-rss-generator/build.sh b/content/blog/2024/09-02-podcast-rss-generator/build.sh new file mode 100755 index 0000000..feabea8 --- /dev/null +++ b/content/blog/2024/09-02-podcast-rss-generator/build.sh @@ -0,0 +1,61 @@ +#! /bin/sh + +set -e + +cd $(dirname $0) +. config.sh + +out="rss.xml" +exec 1>$out +echo "Writing to $out" 1>&2 + +cat < + + + $title + $url + en + $description + +EOF + +if [ -f cover.jpg ]; then + cat < + $url/cover.jpg + $title + $url + +EOF +fi + +for fn in *.mp3; do + echo "- $fn" 1>&2 + + ffprobe -loglevel quiet -show_entries format -output_format json "$fn" > format.json + title=$(cat format.json | jq -r '.format.tags.title') + duration=$(cat format.json | jq -r '.format.duration | tonumber | ceil') + #bps=$(cat format.json | jq -r '.format.bit_rate') + #kbps=$(($bps / 1000)) + rm format.json + guid=$(sha1sum "$fn" | awk '{print $1}') + size=$(stat -c %s "$fn") + mtime=$(date -R -d @$(stat -c %Y "$fn")) + ufn=$(echo $fn | tr ' ' '+') + + cat < + $title + $mtime + $duration + + $guid + +EOF +done + +cat < + +EOF diff --git a/content/blog/2024/09-02-podcast-rss-generator/index.md b/content/blog/2024/09-02-podcast-rss-generator/index.md new file mode 100644 index 0000000..276a989 --- /dev/null +++ b/content/blog/2024/09-02-podcast-rss-generator/index.md @@ -0,0 +1,101 @@ +--- +title: "Podcast RSS Generator" +date: 2024-09-02 +tags: + - computers + - featurephone +--- + +I wanted to play some audiobooks on my light phone, +so I made a bourne shell script to generate an RSS feed. +I was surprised that I couldn't find any prior work to do this. + +Put all your .mp3 files in a directory, +then add [build.sh](build.sh) +and `config.sh` with your settings: + +```sh +title="My Audiobook" +description="An audiobook I like" +url="https://example.com/ebooks/mine" +``` + +The script +will create `rss.xml` in the same directory. + +It uses `ffprobe` from ffmpeg to figure out each track's title. +All my tracks have ID3 tags, +so it may fail if yours don't. + +It can deal with spaces in filenames, +but not double-quotes. +`&` and `<` might cause problems too. +Anyway, it's good enough for me. + +--- + +Here's the script inline: + +```sh +#! /bin/sh + +set -e + +cd $(dirname $0) +. config.sh + +out="rss.xml" +exec 1>$out +echo "Writing to $out" 1>&2 + +cat < + + + $title + $url + en + $description + +EOF + +if [ -f cover.jpg ]; then + cat < + $url/cover.jpg + $title + $url + +EOF +fi + +for fn in *.mp3; do + echo "- $fn" 1>&2 + + ffprobe -loglevel quiet -show_entries format -output_format json "$fn" > format.json + title=$(cat format.json | jq -r '.format.tags.title') + duration=$(cat format.json | jq -r '.format.duration | tonumber | ceil') + #bps=$(cat format.json | jq -r '.format.bit_rate') + #kbps=$(($bps / 1000)) + rm format.json + guid=$(sha1sum "$fn" | awk '{print $1}') + size=$(stat -c %s "$fn") + mtime=$(date -R -d @$(stat -c %Y "$fn")) + ufn=$(echo $fn | tr ' ' '+') + + cat < + $title + $mtime + $duration + + $guid + +EOF +done + +cat < + +EOF +``` diff --git a/content/blog/2024/09-02-self-hosted-email/index.md b/content/blog/2024/09-02-self-hosted-email/index.md new file mode 100644 index 0000000..4cc716a --- /dev/null +++ b/content/blog/2024/09-02-self-hosted-email/index.md @@ -0,0 +1,15 @@ +--- +title: "Self-Hosted Email" +date: 2024-09-02 +tags: + - computers +--- + +I'm now paying a company (Proton) to host woozle.org email. +I had to learn enough about DKIM and SPF to set it up, +but I've forgotten what I did. + +Proton is fine. + +I like not having email delivery tied into the same quota +as photo storage. diff --git a/content/blog/new b/content/blog/new index b390445..25de07b 100755 --- a/content/blog/new +++ b/content/blog/new @@ -20,14 +20,14 @@ YYYY="$(date +%Y)" MM="$(date +%m)" DD="$(date +%d)" -slug=$(echo "$SLUG" | tr 'A-Z ' 'a-z-') +slug=$(echo "$SLUG" | tr 'A-Z ' 'a-z-' | tr -d ':') dir="$YYYY/$MM-$DD-$slug" index="$dir/index.md" mkdir -p "$dir" cat <"$index" --- -title: $TITLE +title: "$TITLE" date: $YYYY-$MM-$DD tags: - untagged diff --git a/content/letters/dear-ministers.md b/content/letters/dear-ministers.md index 7a4b456..752b268 100644 --- a/content/letters/dear-ministers.md +++ b/content/letters/dear-ministers.md @@ -1,5 +1,6 @@ --- title: Dear Ministers +date: 2011-12-09 --- Friday, December 9, 2011 at 12:39 pm diff --git a/content/letters/feeding-deer.md b/content/letters/feeding-deer.md new file mode 100644 index 0000000..d7cadea --- /dev/null +++ b/content/letters/feeding-deer.md @@ -0,0 +1,100 @@ +--- +title: Legality of Feeding Deer in Los Alamos +description: Area man asked to stop feeding deer, calls for defunding Game and Fish. +date: 2024-09-02 +--- + +Sunday, September 2, 2024 at 10:39 am + +*This was published as a [letter to the Editor of the Los Alamos Daily Post](https://ladailypost.com/werley-legality-of-feeding-deer-in-los-alamos/)* + +By Dr. Ken Werley +Los Alamos + +To: State Representative Christine Chandler, Los Alamos Daily Post, and NM Department of Game and Fish (NMDGF), +Re: feeding deer in Los Alamos: + +# BACKGROUND: + +I have lived at my residence for 40 years. For 25 years, when I notice an interested deer, I have fed it a small cup of birdseed that takes a deer 2-3 minutes of their day to consume. My house backs onto the golf course and it has the only unfenced yard on the east side of 35th St on my block. Some deer daily pass though my yard on the way between the golf course and the many fruit trees across the street (and to get to the canyon beyond). Nightly, I take my hummingbird and suet feeders inside to not attract bear. I only place a thin layer of birdseed into the bottom my 40-year-old bird feeder (for birds) because a big deer could empty the whole feeder. I try to not put birdseed into the feeder if a deer is in sight. In 40 years, I have never seen a deer/car accident on my block. This spring/summer, I have had seen deer, rabbit, skunk, raccoon, fox, coyote, and bear pass through my yard. + +LAW: It is legal to feed deer in New Mexico. + +# PROBLEM: + +On May 31, 2024, NM Department of Game and Fish (NMDGF) Officer Carter showed up at my residence, issued me a warning citation, and told me I had to stop feeding deer. When asked why, Officer Carter stated: (1) “The deer in town (Los Alamos), … are all nuisance animals.” [Carter 6/1/2024 email] and thus: (2) He will issue citations for all feeding of deer in Los Alamos. (This is equivalent to claiming feeding is illegal in Los Alamos.) + +I have read the DGF regulation that states it is illegal to create nuisance animals. It seems to me that the regulation was written to permit DGF to deal with individual problem animals, for instance, if the animal +attacks a person or pet. It seems wrong and illegitimate for Officer Carter to do species profiling and declare all deer, bear and mountain lions in town as nuisance animals. + +* Carter’s claim (1) seems ridiculous to me! Furthermore, he refuses to supply any numerical criteria or published guidelines that explain or justify how DFG may classify a deer as a nuisance. Instead, Carter refers to vague general principles including car accidents, predator encounters, and disease. +* I have lived at my residence for 40 years and have never observed a car/deer accident in front of my house or on my block. Carter does not supply any numerical statistics about car/deer accidents, number, location, rate/year, or whether speeding, driver inattention, or poor visibility at deer crossing locations is to blame. How many car accidents per year in what confined vicinity make deer a nuisance? +* Carter blames deer for attracting bear to town. Any resident knows that the primary draw of bear is garbage cans and fruit trees. +** I don’t know about most of town, but near the golf course, the deer actually reduce the number of predators because they chase away coyotes. Deer chase coyotes for a distance further than the length of a fairway. Neighborhood pets benefit greatly from this. +* Carter has not presented any evidence of any widespread deadly deer disease epidemics. +* The deer have been living and roaming through the neighborhoods of Los Alamos since before Officer Carter was born. These deer are obviously more used to people and dogs than deer that live in more remote areas. + +[Interesting aside: People cause car accidents, attract predators and spread diseases. Does that mean that people are nuisance animals, and we ought declare feeding them via grocery stores and restaurants + be banned?} + +Feeding of deer has been legal in Los Alamos for decades. What has changed in the last year that Carter can now claim that the deer are a nuisance? Where is the historical data that demonstrates that all the deer in Los Alamos are suddenly a nuisance? Where is data that demonstrates that feeding deer a small cup of birdseed has changed any deer’s wandering patterns? (When did Carter start working in the Española Office?) + +Carter says DGF has received reports of my feeding deer (which is legal in NM), but he won’t break down when they were made, the addresses of the reporters, and whether they were reports of feeding or of “creating nuisance animals”. + +* Most of my neighbors live in harmony with the local deer. +* Carter has not performed a survey of the neighbor’s views concerning deer. +* I can easily make a list of many more people who have supported and encouraged the feeding of deer (a small amount of food per deer) at my residence. +* The County of Los Alamos has recently killed a proposed ordinance that would have banned the feeding of wildlife. + +Certainly, over-feeding of deer is bad if it disrupts the natural feeding behavior. If it is a tiny part of both their diet and their movement patterns, then that argument doesn’t apply. + +Officer Carter will not explain what achievable measurable result that he hoped to achieve by banning feeding of deer at my residence? Four herds of doe routinely feed on the golf course on the northwest side of Diamond Dr. One of those herds routinely pass through my unfenced yard. After 3 months of a feeding ban, the deer still pass through my yard regularly. Lately, I’m seeing many fawns per day. What did he achieve by the ban? How can he achieve any change if he already considers all deer in town to be a nuisance? His only goal seems to be to subvert the law that feeding deer is legal in NM and ban feeding of deer in Los Alamos. Since it has been 3 months since Carter has banned all feeding of deer in Los Alamos, and since he blames feeding as the main source of creating nuisance animals, why doesn’t he declare all the deer in Los Alamos as no longer a nuisance? + +Officer Carter’s manager, DGF Sergeant Benjamin Otero, has tried to defend Carter’s actions by claiming that “Every situation is different due to the circumstances” [email 7/5/2024]. This is a falsehood. Carter has claimed that all deer in town are nuisance animals. He also stated that he is “addressing every location that is a feeding location.” and “No house in town will be feeding deer.” [Carter 6/1/2024 email] He bragged that he had a long list of feeders, and I recall him mentioning Urban Park and The Posse Shack as some locations. These are located multiple miles away from my residence. Clearly, DGF’s goal is to subvert the law that feeding deer is legal in NM and ban feeding of deer in Los Alamos. + +DGF Sergeant Benjamin Otero’s manager, DGF Captain Darrell Cole [email 7/19/2024] states that “The Department does not have a policy on what constitutes deer feeding” and it is okay to feed deer unless there is an intent to “entice game animals to an area”. I have no such intent. For 40 years at this residence, deer routinely pass through my yard going between the golf course and the fruit trees across the street and the canyon beyond. It seems silly to base feeding restrictions on intent rather than on feed amounts per deer and feed that determines deer movement patterns. Carter does not supply any numerical statistics about car/deer accidents, number, location, rate/year, or whether speeding, driver inattention, or poor visibility at deer crossing locations (Diamond Dr.) are to blame. How can DGF managers argue local conditions when Officer Carter claims all deer in Los Alamos are nuisance animals? + +# SUMMARY: + +Officer Carter’s shortfalls: +* He claims all deer in Los Alamos are nuisance animals. +* He won’t define numerical criteria used to declare nuisance deer. +* He doesn’t explain how feeding a small amount creates a nuisance animal. +* He doesn’t consider the amount of food given per deer. +* He blindly and unfairly targets people who have been reported as feeding deer. +* He refuses to explain what constitutes feeding: For example, filling bird feeders with birdseed, spreading birdseed on the ground, allowing birds to knock birdseed to the ground, fertilizing the yard, allowing weeds to grow, filling the hummingbird feeder with nectar, spreading bread crumbs on the ground for ravens, allowing fruit to lie in the ground, planting a fruit tree, planting a garden. I have seen deer feed on all of the above activities. If a person is threatened with citations and fines for feeding deer, it would seem that he ought provide detailed rules for what is legal. +* He blindly ignores that the main feeding provided to town deer is by the County through fertilizing and heavily watering of Parks and the Golf Course and by fruit tree owners. He states that “The golf course, +fruit trees and small private gardens do not contribute”. [Carter 6/1/2024 email] +* He doesn’t consider that 83% of the land surrounding my block of 35th St. is undeveloped land (golf course and canyons). How can anyone expect deer to not utilize the area? +* He ignores that 80% of my neighbors have fruit trees. He ignores that deer feed on fruit trees from early spring (flowers and new leaves), through late spring (immature fruit blown off of trees), through summer and fall (ripe fruit), and through late fall (fallen leaves). +* He ignores that my yard is the only unfenced yard on the east side of my block and is a natural path between the golf course and the fruit trees and canyons beyond. +* Officer Carter claims it is illegal to feed deer fruit underneath a fruit tree where they are already feeding. Where is any logic in that? (Carter email 6/27/2024) +* He claims it is illegal to feed deer on the golf course where they are already feeding. Deer often feed there for multiple hours per day. (Carter email 6/27/2024) +* How can anyone create a nuisance animal if it is already a nuisance (because it exists in town) before ever getting to any residence? +* Officer Carter doesn’t survey the neighborhood residents to see if they consider the local deer a nuisance before unilaterally declaring them a nuisance? +* He won’t explain if he considers birdseed an unnatural food of deer. +* He ignores the benefits of local deer: eating weeds from yards, cleaning up fallen fruit before they begin to rot, chasing away coyotes, being beautiful to observe and photograph? + +The DGF employees are supposed to be professionals and deer experts, but it sure doesn’t seem so. + +# DGF shortfalls: + +* DGF personnel appear to try to avoid explaining their policies. +* When asked directly, DGF management refuse to answer whether Carter’s claim #(1) is official DGF policy? +* They don’t have a policy they use to define a nuisance deer. +* They don’t have an explanation of how feeding a deer a small amount of birdseed (a tiny part of its diet) makes it a nuisance animal. +* They claim all feeding of deer in Los Alamos warrants a citation (Carter) but avoid stating that feeding deer is illegal in Los Alamos. That is totally disingenuous! +* They won’t define what human activities constitute feeding deer even though they threaten fines for it. +* They don’t even consider the amount of food per deer per day. +* They won’t provide a plan to make a nuisance deer be considered not a nuisance. +* DGF will not provide maps that define the areas where they consider nuisance deer to be located? (Even though Carter considers the whole town.) +* Even though it is legal to feed deer in NM, they won’t specify where in Los Alamos County it is legal. +* DGF allows an employee to declare and treat all deer in Los Alamos to be nuisance animals. That is disgusting. + +NMDGF seems to employ a lot of dishonest people. Please consider cutting NMDGF’s budget. + +Thank you for your time and consideration. + +Sincerely, + +Dr. Kenneth A. Werley diff --git a/content/letters/good-and-bad-los-alamos.md b/content/letters/good-and-bad-los-alamos.md index 42469a8..09a20e0 100644 --- a/content/letters/good-and-bad-los-alamos.md +++ b/content/letters/good-and-bad-los-alamos.md @@ -1,6 +1,7 @@ --- title: The good and bad of Los Alamos description: The first letter I collected. I felt it needed to be preserved forever. +date: 2008-11-05 --- *This was published as a [letter to the Editor of the Los Alamos Monitor](http://www.lamonitor.com/content/good-and-bad-los-alamos)* diff --git a/content/letters/i-also-enjoy-wearing-kilts.md b/content/letters/i-also-enjoy-wearing-kilts.md index f3037b8..7cfee0b 100644 --- a/content/letters/i-also-enjoy-wearing-kilts.md +++ b/content/letters/i-also-enjoy-wearing-kilts.md @@ -1,5 +1,6 @@ --- title: I Also Enjoy Wearing Kilts +date: 2016-09-28 --- *This was published as a [letter to the Editor of the Daily Post](http://www.ladailypost.com/content/letter-editor-i-also-enjoy-wearing-kilts)* diff --git a/content/letters/shopping-at-smiths.md b/content/letters/shopping-at-smiths.md index 03e9bb1..ff96973 100644 --- a/content/letters/shopping-at-smiths.md +++ b/content/letters/shopping-at-smiths.md @@ -1,5 +1,6 @@ --- title: Shopping At Smith's +date: 2017-05-11 --- *This was published as a [letter to the Editor of the Daily Post](http://www.ladailypost.com/content/letter-editor-shopping-smiths)* diff --git a/content/letters/suspicious-activity.md b/content/letters/suspicious-activity.md index c9f8959..c9a68aa 100644 --- a/content/letters/suspicious-activity.md +++ b/content/letters/suspicious-activity.md @@ -1,8 +1,9 @@ --- title: Concern Over Suspicious Activity +date: 2013-09-01 --- -*This was published as a [letter to the Editor of the Daily Post](http://www.ladailypost.com/content/letter-editor-concern-over-suspicious-activity)* +*This was published as a [letter to the Editor of the Daily Post](https://ladailypost.com/letter-to-the-editor-concern-over-suspicious-activity/)* September 1, 2013 diff --git a/content/letters/uglification-2.md b/content/letters/uglification-2.md index a39e215..f059019 100644 --- a/content/letters/uglification-2.md +++ b/content/letters/uglification-2.md @@ -1,6 +1,7 @@ --- title: The Uglification of Los Alamos (2021) description: in which it is opined that the new street lamps are ugly, unlike the old ones from 2014 +date: 2021-01-30 --- *This was published as a [letter to the Editor of the Los Alamos Reporter](https://losalamosreporter.com/2021/01/30/the-uglification-of-los-alamos/)* diff --git a/content/letters/uglification.md b/content/letters/uglification.md index a270c57..96cdeea 100644 --- a/content/letters/uglification.md +++ b/content/letters/uglification.md @@ -1,6 +1,7 @@ --- title: The Uglification of Los Alamos (2014) description: in which it is opined that the new street lamps are ugly +date: 2014-11-20 --- *This was published as a [letter to the Editor of the Daily Post](http://www.ladailypost.com/content/letter-editor-uglification-los-alamos)*