Pete's Log: Clearing out the Queue
Entry #2160, (Random Crap)(posted when I was 44 years old.)
Every so often, I have to clear out the queue of postponed entries. I've decided the time has come again—we're currently at 19 postponed entries. My brain has felt full of late and maybe this will help.
But before we get started, perhaps a warning that more mastodon content may be coming soon. I've been thinking about it a lot lately. And I might be in the process of creating an instance. It feels very zeitgeisty right now. Watch this space.
Anyway, I'm optimistically going to leave three of the postponed entries postponed, so this isn't a complete purge. Also, I discovered several of the postponed entries actually had been posted, so I think I might have a bug that posting a postponed entry doesn't delete the postponed item. Which must be a recent bug. Anyway, some of these postponed entries are more complete than others. In the interest of making this as painless as possible for me, I'm just going to dump them with no further commentary. In terms of time frame, I don't think any of these are more than five years old.
little old generic me
(Warning: I've become a bit TypeScript-obsessed lately)
I'm probably over-complicating my life a little bit, but I was searching for the TypeScript generic equivalent of a closure and having a real hard time finding the right search terms.
So instead of a closure where I say something like
function f(x: number): (y: number) => number { return class One<S> { private s: S; public constructor(s: S) { this.s = s; } public Two<T>(t: T): { x: S; y: T } { return { x: this.s, y: t }; } } function four<S>(s: S): <T>(t: T) => { x: S; y: T; } { function five<T>(t: T): { x: S; y: T } { return { x: s, y: t }; } return five; }
full moon
entry 1239 - "always take the time to enjoy a full moon when you have the chance"
Learning Kubernetes
Half my life and a couple extra years ago, at the start of my sophomore year, I got a job at the CCMB computer cluster at Notre Dame. This was a massive improvement from my freshman year dining hall job.
I'm pretty sure CCMB stood for Computer Center/Math Building. At this time, the math department shared a building with the Office of Information Technology (OIT). And in that building, there was a student computer lab. It had 10 Sun SPARCstations and 25 Macs. I actually managed to find in my AFS archive this ASCII map of the lab layout:
.-----. |Mac 1| | | .-------------. |-----| |* * * | |Mac 2| | * T H E * | | | | * * * | |-----| | K I O S K | |Mac 3| | * * | | | | * * | |-----| |* * | |Mac 4| `-------------' | | `-----'------------------------------. .-----. | Sun 1 | Sun 2 | Sun 3 | Sun 4 | |Mac25| | X | | X | X | | | `-------`-------`-------`-------' |-----| | |Mac24| .-------.-------.-------.-------.-------.-------| | | | Sun10 | Sun 9 | Sun 8 | Sun 7 | Sun 6 | Sun 5 | |-----| | | X | X | X | X | X | |Mac23| .-----------------------------------------------| | | |Mac 5|Mac 6|Mac 7|Mac 8|Mac 9|Mac10|Mac11|Mac12| |-----| | | | X | X | X | | | | |Mac22| `-----`-----`-----`-----`-----`-----`-----`-----' | | | |-----| .-----.-----.-----.-----.-----.-----.-----.-----. |Mac21| |Mac20|Mac19|Mac18|Mac17|Mac16|Mac15|Mac14|Mac13| | | | X |DEAD | | X | | | | X | `-----'_____'-----------------------------------------------'
The lab was located on the second floor and didn't see much traffic. A number of memories stand out when I think of this lab:
- Following online (1990s style) as the Broncos won Super Bowl XXXII (I was scheduled to work during that time, I don't remember if anyone actually came into the lab)
- Playing Doom with Kevin and Chris after finishing an all-nighter for CSE 233 (Functional Programming)
- Playing some variant of Civ at the Kiosk
- Meeting Sasha (which I later discovered was not his real name)
- Designing an NDLUG poster to print to the fancy colors printers the OIT had in that building
But on top of those memories, the thing that stands out the most is really learning UNIX for the first time. I had learned a little in high school and during my freshman year, but my time at the CCMB cluster was at the incredibly fortunate intersection of:
- Having free time because this particular lab wasn't very busy
- Needing to explain UNIX to math grad students who were both very smart and not very knowledgeable of UNIX
- Being in the early days of my CS degree at ND
What this added up to was me dedicating a lot of time to actually understanding the UNIX environment at ND. As it became increasingly clear over my time there, there were many magical incantations that just got copied from AFS space to AFS space. I remember a strong sense of pride at that time of actually learning the plumbing behind those incantations instead of just becoming another link in the chain of copying files. I even created a UNIX page I could point to to help people get started. Looking back at it now, it seems pretty quaint, but my (probably biased) memory is that it did help a number of people.
The time frame we are talking about is the fall of 1997 and spring of 1998. This predates Stack Overflow by a decade and coincides roughly with the founding of Google (which wouldn't become properly popular for a couple more years).
What brings me to this topic? Kuber-freaking-netes.
Desk Power Audit
esgerbeastie: 600 mA - 1.2 A (normal usage), 100 mA (sleep)
Work phone: 140 mA
SmartMatrix: 30 mA (minimal use)
Work docking station: 300-350 mA
zwave sensor: 0mA detected at 120V - 30mA at 5V DC (140mW)
iPhone (charging): 175 mA
monitor: 320 mA
switch: 63 mA
kvm: 81 mA
desk lights: 10 mA off 55 mA on
shredder: 1.4 A - not usually plugged in
smoke extractor - 19W - 160 mA?
Soldering iron - 70W - 580 mA?
heat gun - 1500 W - 12.5 A
Solar library: winter is rough edition
After nine days of being out in the library with the new battery and solar panel, the battery has died. We only had two sunny days during that span and I discovered that circumstances are worse than I assumed: between roughly 10:30 and 11:30 am, the library is in the shade of a tree a few houses down and by 2:30 pm the library is in shade for the rest of daylight hours. And the sun is so far to the South that the panel is probably not delivering a whole lot of power.
On the second of the two sunny days, I propped the panel up for a better angle and it did some decent charging, but only enough to cover about a day and a half of use.
I could probably spend some serious time figuring out how to optimize the solar power production, but I need to be able to collect more data to do that, and my current setup just doesn't allow that. Someday I'll upgrade things to allow that, but for now I will focus on the other side of things: reducing power consumption. Before I do that, I should figure out what's important.
So let's get back to basics and list out the actual requirements:
- Functional
- If it's dark out and the door is opened, the lights should turn on (and turn off again when the door is closed)
- Technical
- It should be solar powered
That's it, really. That's all this thing has to do. But there are of course a few additional features that would be nice to have:
- Count number of visitors
- Monitor battery level and temperature
Dabei
Wordle 438 2/6 🔥39
🟨🟨🟨🟩⬛
🟩🟩🟩🟩🟩
wordle.at
97 tabs
Sometimes I think keeping a tab open on my phone will help me go back and revisit something. Unfortunately, that doesn't really happen much. So every so often I declare tab bankruptcy and close them all out.
As I close in on 100 open tabs, I decided it was time to do so again, but maybe this time I'd document what tabs I'd amassed. The oldest of these tabs is from roughly September 25, 2021, so we're right at the one year mark since my last tab bankruptcy. It's pretty safe to assume that lobste.rs and Hacker News tabs were opened right around the date those links were submitted, so I've included the dates of those to help track the progression of the year.
- The Silmarillion is a wild ride… (reddit)
No idea why I kept this open - How to Block FLoC
This appears obsolete anyway, since Google has apparently moved on from FLoC - Phrack Issue 0x46
Released last October, I guess I was thinking of reading it - Our Algorithm Problem Solving Club Is Beginning This Week (lobste.rs)
Oct 17, 2021 - 3832 Grove Ave, Brookfield (zillow)
There are a number of clones of our house around Brookfield and I like to take note of them when I find them - Habits I've Developed for Fast + Efficient Programming (lobste.rs)
Oct 24, 2021 - Git adapters
I can't even begin to guess why I was looking at this - Hide your homelab IP with a VPS, WireGuard and iptables
- We memo all the things
Oct 25, 2021 - FIfFKon 2021
Again, no memories of this page or why I kept it open - Noise
- CppCon 2021
- LOW TECH WEBRING DIRECTORY
- A guide to designing accessible, WCAG-compliant focus indicators
- We need more boutique search engines
Nov 6, 2021 - Pete's Log: no man's timezone
- Easily build NodeJS projects inside a docker container
Nov 13, 2021 - Getting started with Neovim
- The Hardware Hacking Handbook
- Our Christmas card address list
- Mastodon local timeline
If you leave a tab open long enough, the browser discards what you were looking at and just remembers the URL. I don't remember if Mastodon tabs got left open accidentally or with the hope to take a closer look at something. But there were a number of Mastodon tabs with no context. - Create a Vim alias for saving your file when you forget to open it with sudo
- Simon Tatham's Portable Puzzle Collection
- The Internet Is Dead: What's That Mean?
- LUFTDATEN SELBER MESSEN
- The Great Offline
- Roll Your Own Network - Keys
- Blogroll - Kev Quirk
- Mastodon local timeline
- Ryan Moore
- How To Use OpenSSL s_client To Check and Verify SSL/TLS Of HTTPS Webserver
- Neeva Review
- Weather Meter Hookup Guide
- But Here's What REALLY Happened: The History of Clue (youtube)
I do love the movie Clue and I don't remember where the link to this review came from. In any event, I watched it today (pretty sure I had not watched it previously) and don't actually recommend taking the time to watch it. - Rex Parker - Friday, January 14, 2022
- Mastodon home
- Tooltips for mobile browsers (stackoverflow)
- Search results for Stemma qt cable (adafruit)
- Pete's Log: Your Mom's a Shibboleth!
- How to Learn Nix, Part 3: What we talk about when we talk about Nix
- The old internet shows signs of quietly coming back
Jan 25, 2022 - Does anyone have a working Wallabag docker-compose yml? (reddit)
- remi wolf anthony kiedis (google search)
There's a different Remi Wolf song (Monte Carlo) that was popping up on Jamie's playlists for a while. I just now listened to this song and don't think I've ever heard it before, so I have no idea why I googled it. - Syncthing Relay Server
- How to write idempotent Bash scripts
- dive
A tool for exploring a docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image - Mastodon home
- Mastodon local timeline
- sudo - remove "This incident will be reported." from user warnings
- How to Harden Your PHP for Better Security
- Top 10 security best practices for PHP
- Mastodon home
- Secure Content Sniffing for Web Browsers, or How to Stop Papers from Reviewing Themselves
- Session Management Cheat Sheet
- How to Sign Users In with IndieAuth
- PHP: Implement Azure AD login to your site
- Frugal Computing
Feb 21, 2022 - PHP LOGIN AND AUTHENTICATION: The Complete Tutorial
- How to make a small tweak to free software
- Drop-in Minimal CSS
- What’s your favorite vim shortcut/hack (lobste.rs)
Mar 2, 2022 - PHPUnit unit testing: Handling session_start() in a method (stackoverflow)
- PHP The Right Way
- How can I check my code/website against vulnerabilities? (reddit)
- A look at search engines with their own indexes (lobste.rs)
Mar 18, 2022 - My new favorite thing is asking the men in my life who their female role models are. (reddit)
Mar 31, 2022 - Security Analysis in Psalm
- Purrfectplay dog products
- Cool Things People Do With Their Blogs
- Checklist - The A11Y Project
- Date Calculator - Days since Jan 1, 2000
I realized that I was somewhere close to the point where half my life had been lived in the 21st century. - Toastmasters International -West Suburban Club
- RFC 3161 - Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)
- Search results for Diastatic
I'd love to find somewhere local to buy diastatic malt for baking, but haven't yet. - Cloudflare has a wall full of lava lamps they feed into a camera as a way to generate randomness to create cryptographic keys (reddit)
Jun 21, 2022 - Mastodon home
- Flantaart recipe
A recipe for a type of pie we used to eat at my Belgian grandmother's house. She bought it from the bakery, but there's a lack of Belgian bakeries around here, so I want to try making it myself. I did already run this recipe past my dad and he approves of it. - Use Wood Chips to Make a Chicken Scratch & Snack Bar
- Use Wood Chips to Make a Chicken Scratch & Snack Bar
Yes, I had this page open twice. And I already linked to it previously. - Taqueria La Penca Mexican Restaurant
A Mexican place recommended by Pete. Jamie and I tried it a month or so ago. It's pretty good. - Pierogi Fest Schedule
- emilysoddities
- 20 x 20 campaign - HOMEGROWN NATIONAL PARK
- Possibility Place Nursery
- Quantified Self (wikipedia)
- Pete's Log: iTunes Top 25 (2007)
I think this tab and the quantified self one above might be related. - To Become Wise, Do Less!
- If you have a blog, reply with a link so I can check it out.
The only Mastodon tab that actually had a specific toot in it! - Matt Keeter // projects
- Mastodon local timeline
- Garden for Wildlife
- I Ran Down Every Dream by Tommy McLain
- Can I Stream? — Bear and Breakfast
- Someone’s Been Messing With My Subnormals (lobste.rs discussion)
Sep 6, 2022 - Excuse me but why are you eating so many frogs
- Grokking systemd for Fun and Profit
- Self-hosted software I'm thankful for (lobste.rs discussion)
Sep 26, 2022