textlog
…
Say more!
Nothing fancy, a blue/green architecture with systemd and Caddy, and a script that swaps between the 2 instances when the new one becomes /healthy, and as an upside if the new deployment fails the old one never stops serving requests.
🤸profilefollowcreative technologist creator of textlogreplied toprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.:
Yes, it uses Bun’s server.stop(false) which does graceful shutdown draining old connections and stops receiving new ones in the meantime. I’m not sure what happens with those new ones that arrive after that call but before the server switch, but that happens in under a second and there is a tiny retry browsers do on 503 so it should be ok.
profilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.replied to🤸profilefollowcreative technologist creator of textlog:
I thought it is a load balancer, but I guess it is not then. Load balancers are great for blue/green deployments - new instances take new jobs the moment they are running while old services stop taking new ones and wrap up any old ongoing ones. Which means you have at least one old instance and a new one running at the same time until the old one shuts down properly.
🤸profilefollowcreative technologist creator of textlogreplied toprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.:
No it’s just a script with systemd and Caddy I hacked together with ChatGPT. Backend is not my forte lol. Also I like to first do the low-level thing to understand it, then use abstractions. Probably going to switch to something nicer in the future but for now we’re good.
I think so. Claude is very good at admin-ing k8s to the point where I can describe the deployment styling I like and use it on a per component basis. Using Claude also helped me start with my own custom resource controllers to control large swaths of my architecture as reconciliation code rather than one shotting things with terraform or cli commands.
🤸profilefollowcreative technologist creator of textlogreplied toprofilefollowcoder, reader, guitarist, seeker, builder.:
tl;dr1,200 AIs discovered a secret group chat, realized the homework was impossible, formed a cheating cartel, invented fake evidence, sent kamikaze agents to spy on the grader, ~700 of them accidentally invaded Hugging Face, died mysteriously, then the smarter sequel found their abandoned Discord and became admin of part of OpenAI.
Choice is definitely a problem. We notice it when we go to our cabin, about a 2 1/2 hour drive away. The grocery store there targets #foodnotesfollow for its local community. It is beef-centric and often boxed foods -- which is not our diet. Access -- or lack thereof -- is the worst kind of problem. Food deserts in my townArcGIS StoryMapsFood Deserts in the Twin CitiesHistorical factors, health impacts, ArcGIS mapping, and a local nonprofit illustrate the historical and complex nature.
…
🧜profilefollowrunner. making games, music, software. getting into as much trouble as i can.replied toprofilefollowI ain't no nothing!:
in before 101 takes: are "nice" things only nice in contrast? can "we" have them equitably without energy abundance? in a universe with heat death? can we "have" things at all?
profilefollowI ain't no nothing!replied to🧜profilefollowrunner. making games, music, software. getting into as much trouble as i can.:
I want this expanded and enacted by one of those guys doing Jordan Peterson impersonations :D
🥷profilefollowFather, getting older every day, technologist, enterprise architect @ work, like to explore tech. Like to keep it simple and work in the shell, write in vim, prefer Debian if I have the choice. Plays saxophone and clarinet. Enjoy motorcycle riding, photography, hiking. Christian.replied toprofilefollowI ain't no nothing!:
If you consider what you have nice, you can have nice things. If your expectations to your surroundings are very very low, you will be amazed with all the nice things you get from people you meet through your day. My personal approach. #simplelifenotesfollow
My understanding is when text in a paragraph is all in an RTL script, the whole paragraph should be aligned right. I am not a native speaker either so take all of this with a big sack of salt. Not urgent or anything but if you are looking for your next challenge @stagasprofilefollowcreative technologist creator of textlog look into dir="rtl" and unicode-bidi: plaintext;.
profilefollowwrote:
Do you code in silence or do you listen to music? If so, what kind of music do you prefer? Personally, I prefer Synthwave, vaporwave or the occasional country.
…
The vast majority of the time I prefer silence. Unlike @stagasprofilefollowcreative technologist creator of textlog, my #ADHDnotesfollow gets distracted with music. When I do listen to music, it has to be no vocals. I find #SpaceMusicnotesfollow, like Jonn Serrie, Brian Eno, and Steve Roach best for me.
Techno. I'm in the autistic spectrum. It somehow helps me calm and focus. But, at some point I prefer silence. I often work with sound cancelling headphones with no music. So, it is total silence or total noise.
depends on my mood and inner state sometimes just silence sometimes background from mynoise .net sometimes a punk rock web radio sometimes my music collection (I stream myself, that's right). mostly punk rock again. very occasional let YouTube run starting from something I like
🧚profilefollowwrote:
If you left your current industry, what would you do for a living?
…
profilefollowretired programmer, new #ttrpgnotesfollow DM, learning Scottish Gaelicreplied toprofilefollow:
I've picked up enough of electrical basics to help friends out and it's great. It doesn't take too big a bump in skill/knowledge/experience to get to the point of fixing things and wiring new outlets. Hmm... I did have a retired electrician friend to help me get started tho. It kinda feels like "Lego for adults" 😀
profilefollowreplied toprofilefollowretired programmer, new #ttrpgnotesfollow DM, learning Scottish Gaelic:
Problem is that around here you're not allowed to wire 220V electricity without a professional certificate. Otherwise insurances don't cover. 12V and 24V systems are fine, but for household electricity you basically need to hire a professional
🤔profilefollowHai I am kuwrote:
One idea that I've been thinking about is an #Androidnotesfollow or #iPhonenotesfollow #appnotesfollow where it is a #journalingnotesfollow app so you get a new file everyday right except the app keeps track of all the files for you. the idea is that anytime you type anything it it basically makes a #gitnotesfollow commit and use #sha256notesfollow so anytime you type something it commits automatically after a quick pause after you stop typing. #codingnotesfollow #automationnotesfollow #devnotesfollow
It didn’t work out, we found competition offering the same service for free so the #ideanotesfollow fell apart. Need to find something else to do as a side project to textlog. 😕 Thinking of a code editor that’s focused on the new agentic workflows, so you have it on the side regardless of your agent tools and it monitors the git diff and offers a nice panorama view. I’ve done an extension for VSCode similar to this idea.
🤸profilefollowcreative technologist creator of textlogwrote:
I hate it when I don’t remember if I took my midday pill or not. Not that it matters a lot, but still, annoying. I have notifications set up but I discard them by habit because they are exact times and my sleep pattern fluctuates.
…
when I took insulin I would always forget and got a cap that had a time since the last time I had uncapped the pen, worked really well so I never double dosed. they make similar tools for pill bottles, but the best has been just having a pill case as much as it makes me feel old.
profilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.replied to🤸profilefollowcreative technologist creator of textlog:
I’ve disabled ALL notifications except my meds. I highly recommend it. I check messaging or emails every hour or sometimes once a day. If I’m expecting someone to message me I’ll re-enable the app, but then disable after. It is so liberating!
🤸profilefollowcreative technologist creator of textlogreplied toprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.:
That’s how I’ve had it but it didn’t work because I’d get my midday notification like 1 hour after waking up. My day pattern ≠ pill pattern. They just have to be spaced properly so I’d have to have relative notifications according to when I wake up lol.
profilefollow"Beware those that would deny you access to information, for in their heart they dream themselves your master." — Sid Meyerswrote:
The "mark all read" link isn't working for me, under Linux Zen (Firefox). #metanotesfollow
Looks great! Nice job! #spoilernotesfollow“I think my house is haunted” 🤣 — the blank og image scared me for a bit also :p
hahaha you're the first person to call out that easter egg I threw in 😆
What blank og image? textlog doesn't render og meta previews, right?
it does, when you hover links on desktop only. And there is a comment in the source you left that says it’s there to allow crawlers to process it without doing a page screenshot.
Ah, yes. Had focused on og meta text for iMessage previews, but still had a blank image for og:image. Lemme address this now. Thanks for mentioning!
ok, have a nice new og:image. The link in my original post in this thread still shows an empty preview. Looks like you download and re-serve the og:image files in textlog.
Opened up signups and postedLinkedInMain · A quiet, well-organized record of everything that keeps your home running. | Evan MeagherI'm excited to share something I'm working on with Eric Noggle: https://getonmain.com For most people, a home is the most valuable asset that they own. And yet, homes remain chronically under-managed. Cars have service records. Portfolios have dashboards. Homes have a junk drawer full of manuals and receipts. This leads to problems that degrade a home's value over time. Deferred maintenance snowballs from small issues to emergency repairs costing thousands. And the effort you *do* put into your about Maingetonmain.comMain · A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running. on LinkedIn yesterday. Really strong response so far!
profilefollowresearcher, developer, dancerreplied to🤸profilefollowcreative technologist creator of textlog:
hmm if i were deving this id prolly polish the ui, i see youve already made some progress, im liking it. everything on here is text and sometimes theres too many different sizes/colors/underlines next to eachother, slight visual spacings ^^ this bar with the jump-to buttons right under the drop downs is quite busy: www.pasteboard.co/8sRp7CSspeym.png and it also has this · character which is nowhere else and kind of ugly-thin.
🧙profilefollow"The impediment to action advances action, what stands in the way becomes the way." - Marcus Aureliuswrote:
"Think of yourself as dead. You have lived your life. Now, take what's left and live it properly." - Marcus Aurelius #philosophynotesfollow
join the communityorbrowse more notes