David Cantrell 🏏
Cricket umpire, rugby fan (both codes), finder of bugs, perpetrator of programming abominations, mostly recovered sysadmin. In the pay of Big Parsnip.
Can solve the three body problem. They're under the patio.
- Posts
- 5,147
- Followers
- 304
- Following
- 287
-
What's this? The #VirtualOSmuseum includes #SGI #Irix? Ooh shiny! I didn't think there were any working emulators. Now downloading so I can pick it apart and see how it does it, and then replicate without the extra gigabytes of baggage. And then I shall install my favourite #compiler EVAR, #MIPSPro, which I affectionately call a complier, not a compiler, because it really led the field in whining about bad non-standard C.
-
Disappointingly not available in Dave Size: https://www.cradleoffilth.com/single-post/cradle-of-fun-merch
-
So that I can perpetrate a Monstrous Evil I need to use #LD_PRELOAD. I found @b0rk's article (https://jvns.ca/blog/2014/11/27/ld-preload-is-super-fun-and-easy/) and via that Ian Taylor's 20 part guide to #linkers (https://web.archive.org/web/20260515141747/https://lwn.net/Articles/276782/). There's a comment from a reader there that provides a way of turning the guide into an #ebook, but that includes the blog readers' comments. Someone else patched the script to exclude them: https://web.archive.org/web/20240909002123/https://www.mediafire.com/file/z7ul3t8lpyws52n/ian-taylor-linker.recipe/file
Hurrah for other people!
-
Outgoing today to a random @postcrossing chum.
#postcrossing #postcards #philately #CinderellaStamps #WorldAltTextChampionshipEntry
-
FWIW if anyone cares why I'm asking ... there are some countries with absolutely batshit rules for dialling. In the USA, for example, local calling rules differ depending on where you are. Sometimes you must only dial 7 digits, sometimes 10 , and sometimes 11 (10 digits with a leading 1). Ridiculous backward third-world hell-hole.
-
Dear #Irish #telecom chums, can you confirm that if I am in the Republic, using an Irish phone on an Irish network (so not, say, a foreign visitor roaming on an Irish network), and I have a number of the form +353blahblahblah, and the call is not blocked by a local policy such as by an employer, I can *always* dial it by chopping off the leading +353 and substituting a 0? I assume this is the case because #Ireland is a nice sensible country.
-
-
Any relation to Alan? https://en.wikipedia.org/wiki/Edmund_Bastard
-
In use, right now. Yes, I mostly use it to digitise old cassette tapes, but it does have batteries and a headphone socket, and I used it this very morning to listen to a demo tape from the early 90s while making my tea. Hi @axemonkey!
-
RE: https://mastodon.social/@simple_sabotage/116557383570133022
Implausible ways seem to also work. See any infrastructure or housing development in the UK for examples.
-
Outgoing as an unofficlal swap with a @postcrossing chum today. #AlecBedser had "mad skills yo", and took an absolutely ridiculous 96 5-fers in 485 first class matches.
#alecbedser #postcrossing #postcards #cricket #surreycricket #theoval #kiaoval #WorldAltTextChampionshipEntry
-
Well fuck, I've started getting junk mail advertising life insurance, will writing, and funeral plans.
-
Noooooo!!!!!!! #9front is down!!!!!!
I hope this means that the head 9front honcho is doing the yearly on-stage presentation about shiny new things we'll be able to buy later today!
-
@Ketakater @ploopy second most annoying. A #LightPen is the worst.
-
@rl_dane yep! I learned about it through the #AdventOfComputing podcast, two of his early episodes were about it.
-
I'm so glad that #ChinaPost so thoughtfully did a careful safety inspection on this #postcard that I got from a random stranger via @postcrossing. I can now rest assured that I won't get a paper cut from it, or have the purity of my #MaoTseTungThought corrupted.
-
A very nice pair of pieces for all my #programmer chums to read today. The first summarises bugs in some #Rust code: https://seclists.org/oss-sec/2026/q2/332. The Rust code in question replaces older #C code which only didn't have those bugs because it had had 30 years of bug reports and patches. The second article dives into some common patterns patterns in the bugs. Those patterns will occur in code written in *every* language, so the lessons to be taken will apply to *you*: https://corrode.dev/blog/bugs-rust-wont-catch/
-
@ChuckMcManis @lcamtuf are the #uutils crowd working from the C source (in which case these bugs are really really stupid) or are they writing code /de novo/ based on a spec? If the latter then these bugs are understandable, provided that they are dealt with when reported.
The real problem here though is Ubuntu, just changing stuff for teh lolz.
-
-
And after a heroic evening of saving the polar bears and poor people, time to go to bed, with the latest podcast from the #LatinMassSociety!
-
After my recent playing around with #Copilot, I thought I'd take a look at my Github billing report to see how much I'd used. I have, this month, used US$5.80 worth of Copilot ... and US$870 of actions.
Most of those computrons got burned when #Dependabot pushed branches and then when it created pull requests so that it could whine at me about point releases of stuff like #CrossPlatformActions (https://github.com/cross-platform-actions/action).
1/n
-
Re prev toots, hypothetically, if I were to write a library called libextextglob that would grovel over an array of strings (like, say, #argv) and do horrible things to it if it sees globby characters that the shell didn't expand, would you think it was ...
(updated to allow multiple choices, because the best crimes are in B♭ minor)
-
So my earlier #VagueToot about #bash #globbing ... I want to be able to specify something like "all the directories which don't contain a file called wibble.yml". #extglob can find files that don't match a `!(pattern)`, but I want to match the absence of such files in a directory. eg, if foo/bar, baz/bar and barf/ exist I want to be able to `ls -ld [magic goes here]` to get info about directory barf/ only.
Yes, I know other ways of doing this. I want to do it using globbing.
Because I do.
-
I wish #bash supported programmable globbing like what it does with #TabCompletion.
-
I've been playing with #Github #Copilot as more than just fancy tab-completion in my editor. This will annoy many people. I agree with most of them on most things. I agree that people responsible for the production of code should think carefully about the code. They should value #readability, #maintainability, #testability etc. I agree that some ways of using #AI for coding are just terrible practice. I just don't think that all AI use is inherently evil.
https://dev.to/drhyde/god-is-my-copilot-copilot-is-my-new-god-5h6i
-
Go home #Github, you're drunk
#WorldAltTextChampionshipEntry #ElectricFish #Egyptian #Hieroglyphs
-
This is a proper banger: https://www.bbc.co.uk/sounds/play/m002tbpz
-
I'm just going to assume that the geezer who won the #LondonMarathon was off his tits on #speed.
-
CW: spoiler
I think that `CAL XCHGI` should assemble to `206 015 002`.
OK, I can't read #octal as easily as #hexadecimal, so I didn't check that the 206 is correct. But that address in the 2nd/3rd bytes looks proper dodgy.
-
Fairly sure I just spotted a bug in some #Intel8008 code. Yes, 8008, not 8080 or 8086.
It's at https://en.wikipedia.org/w/index.php?title=Intel_8008&oldid=1346138297#Code_example_2
-
Do any of my #FreeBSD homies know how well supported this machine is? In particular, can it drive two HDMI monitors, the wireless network, and get OMG TEH SPEEEEED out of disks on the USB-C ports? Don't care about GPU performance, just about xterms and maybe the occasional web page with pictures and a video in it.
Intention is to run a bunch of VMs with other OSes for testing purposes, using #VirtualBox, and a fileserver.
https://www.tuxedocomputers.com/en/TUXEDO-Nano-Pro-Gen14-AMD.tuxedo
-
-
@futurebird for #dictionary and #BlackAdder fans ... #Johnson's dictionary *does* include "#sausage", but at least in my copy it is not sorted as we would, so I suspect that the writers really did check.
-
@futurebird here's what the #OED says. The best citation comes from https://metseditions.org/editions/Kdk5mzWSl54vimQ3IG67mc85Epdb5yb
-
Just got back from a doctor appointment, a follow-up from some blood tests. She told me "you're doing great!"
I translated that as "you may now consume your own weight in #chocolate and #cheese", so having a late lunch of #IrnBru, raspberry #JaffaCakes and #stilton.
-
Received today from a random @postcrossing stranger. It's got to be an intentional nod to #CasparDavidFriedrich's Wanderer Above a Sea of Fog, right?
#postcrossing #postcard #art #painting #WorldAltTextChampionshipEntry
-
And yes, I did briefly consider using #m4, because I am a sick sick man. But only briefly, because while I may be a sick sick man I do not hate myself.
-
RE: https://fosstodon.org/@bsdphk/116419755925180688
Back in the 1980s when I was but a larval programmer my father, who worked on the railways, heard about #Ada, and tried to encourage me to give it a whirl, as it would surely be what everyone used in the future. There was even a compiler available for CP/M that I could have used at home. I took one look at it and decided that writing Z80 assembler was easier and therefore better. It was, of course, only easier because I already knew it. And so I have never used Ada.
-
Yay! The tests I wrote this evening failed! And then after I wrote a bit of code most of them passed. Bit more to do tomorrow.
-
I got a #SunMicrosystems type 6 #keyboard a few days ago. When it arrived it was in good shape but somehow while sitting in my pile of keyboards one of the hinged feet has just disappeared and I can't find it. Alas! Alack! Woe is me!
Don't suppose anyone has one that they can spare from a broken device do they? Or know where I can buy a replacement?
-
Today in #postcrossing ... a random stranger said that she liked pictures of #mushrooms.
#postcards #philately #snails #mosstodon #hashtag #WorldAltTextChampionshipEntry
-
Many years ago I saw the ads for #AvenueQ and ignored them, I thought it was a muppet musical for children. It was only after its original run had finished that I heard anything about what it was actually like.
Today I finally saw it. Fun. Not great. But fun.
The internet is *not* made just for porn. It is also made for sharing #theatre recommendations. You should go.
-
@dpiponi #Prolog always did my head in. I could never write it, but with a bit of concentration it's surprisingly readable. Have you seen the version of tar(1) that someone wrote in it? https://github.com/SuperDisk/tar.pl/blob/master/tar.pl
-
WHY DO COMPUTERS HATE ME?!?!?!?
I just spent a pleasant evening fixing a stupid edge case in my code regarding phone numbers in Northern Ireland and in San Marino (see toots a few weeks back for details). So that I can thoroughly test my fix I need to rebuild everything with the latest version of all the data. And now I have an #IPv6 problem. Or maybe a #DNS problem. Or maybe just a My Network problem, who knows. GRARGH!!!!!
-
After having to embarrass myself earlier by asking one of our robot overlords to help me drive ed(1) I have ordered a copy of @mwl's #EdMastery book. Yes, the one he released as an #AprilFool. Have now read the #ebook version and ... it contains just what I needed and what CoPilot helped me with. I therefore recommend that you all buy it.