Confused Middle Aged Dad

@confusedMiddleAgedDad
85 Followers
161 Following
996 Posts
Closed down my link to twitterVerse what feels like an age ago. Engineer in process safety. Cyclist. continual learner; bewildered by culture wars; usually pleasantly surprised by my offspring.

this is super minor, and i've seen this in human code plenty of times, but this is the norm of this app verging on being formal code style.

so you have a file reading tool, you need to declare what kinds of file extensions it supports. that's very normal. claude code takes the interesting strategy of defining what extensions it doesn't read. that's also defensible, there are a zillion text extensions. i've seen strategies that just read an initial range of bytes and see if some proportion of them are ascii or unicode.

where does this get declared? why of course in as many places as there are rules. hasBinaryExtension() comes from constants/files.ts, isPDFExtension() comes from utils/pdfUtils.ts (which checks if the file extension is a member of the set {'pdf'}), and IMAGE_EXTENSIONS is declared in the FileReadTool.ts file.

of course, elsewhere we also have IMAGE_EXTENSION_REGEX from utils/imagePaste (sometimes used directly, other times with its wrapper isImageFilePath), TEXT_FILE_EXTENSIONS in utils/claudemd.ts. and we also have many inlined mime type lists and sets. and all of these somehow manage to implement the check differently. so rather than having, for example, a getFileType() function, we have both exactly the same and kinda the same logic redone in place every time it is done, which is hundreds of times. but that's none of my business, that's just how code works now and i need to get with the times.

Yes, the #WillCycle Route Builder is available for everyone to use, over Easter. Even YOU!

Go try it out now:
https://www.willcycle.com/route-builder/
#Cycling #Mapping

Route Builder - WillCycle

The WillCycle Route Builder is deliberately basic. It offers just the functionality you need to build a route, and nothing more. You can switch between different maps, choose to display Points of Interest (PoIs), such as cafés, pubs, or bike shops, and you can add additional information. If navigating your own route, using this site,

WillCycle - Because you deserve some adventure in your life

Solitary

Gullfoss, the "Golden Falls," is one of Iceland's most popular tourist attractions. This fact makes it even more unusual that this lucky person managed to have the entire viewing platform to themselves.

The aptly named White River was full of glacial sediment, and the weather had been very rainy so the flow was high.

9am in early October, Hvítá river in Hrunamannahreppur, southern Iceland.

#WaterfallWednesday #Iceland2025 #LandscapePhotography #Photography #Iceland

One of my ex-students, Gareth Bowden (Head of Development/FelxMR) posted this apposite note on LinkedIn:

'With global investment in AI now reaching into the trillions of pounds over recent years, it feels like it might be a good moment, both economically & socially, to step back and conduct an impact assessment (like any well-run business would at this stage)?'

#AI #economics #ImpactAssessment

From the #WillCycle archives: The Beginner’s Guide to Designing a Cycle Route Tired of cycling the same old routes, and ready to broaden your horizons? Then this post if for you! This is a long and detail... https://www.willcycle.com/back-to-basics/the-beginners-guide-to-designing-a-cycle-route/
Something for friends in Scotland! I’ve followed so many this last year—Glasgow,architecture,history, geology, landscape photography, and more. I hope you like this screenshot from Reddit and a link if you want to read the story from OP, credited. #Scotland #Scottish, #Geology #RockHound #Art #Map
https://www.reddit.com/r/BeAmazed/s/gzzjLRNZe9

From the #WillCycle archives: How to get fit for summer, before summer

Many cyclists either stop riding, or greatly reduce their riding during winter. Of course, that's perfectly understandable. After all, it takes a great deal of motivation to step outside and...

https://www.willcycle.com/adventure/how-to-get-fit-for-summer-before-summer/

I’ll be talking about the very serious helium shortage that is looming (actually, it’s already upon us) and risks crippling semiconductor chip production and diagnostic instruments like MRI scanners, not to mention low temperature science.. It’s maddening because we’ve known that helium is very limited but it’s cheap so no one recovers it. It’ll be on BBC World Service Newshour around 13:45 BST.
#elements #chemistry #economics #profligacy

The first computer mouse was demonstrated on December 9, 1968 by Douglas Engelbart at the Fall Joint Computer Expo in San Francisco

https://newatlas.com/engelbart-computer-mouse-and-other-innovations/17113/

#Tech #RetroTech #retro

Ever since the Monkey Cage betrayal and debacle , I’ve realised that maintaining my tenacity and having some confidence in the future has required even more teeth gritting. Self belief is a precarious notion. When it slips out of your hands it really can fall a long way down into the stinky water of the well.