Testcontainers is really useful for this kind of thing - lets you build and spin up containers from within your test suite.
25.07.2025 21:42 β π 1 π 0 π¬ 1 π 0@andrew.aylett.co.uk
Christian, Father, Software Engineer. Based in Scotland.
Testcontainers is really useful for this kind of thing - lets you build and spin up containers from within your test suite.
25.07.2025 21:42 β π 1 π 0 π¬ 1 π 0This is art:
secretgeek.github.io/html_wysiwyg...
One similar older example for you: Master Oogway. m.youtube.com/watch?v=gTbX...
And one more newer: youtu.be/CqK_Vz8-vKk
We would definitely optimise for route simplicity rather than speed or distance. And kept an atlas in the car - every service station in the UK would sell them, and probably still does. They never got much use, though, unless we were going somewhere we'd never been before.
04.06.2025 22:18 β π 1 π 0 π¬ 0 π 0Can confirm, I've been using it for a couple of weeks now and it's definitely starting to happen.
02.06.2025 21:29 β π 1 π 0 π¬ 0 π 010% of new car sales in the UK in April were Ford or GM (as Vauxhall). But given they're not selling US-spec vehicles I'm guessing approximately none of them were made in the US.
18.05.2025 11:55 β π 1 π 0 π¬ 0 π 0Would it be better if he took the horn off the air horn can and put it on the deodorant can?
24.04.2025 08:21 β π 0 π 0 π¬ 0 π 0A light blue diagram depicting the sea, with the water's surface at the top, and just below it is an outline of the Mary Rose, with the depth (12m, 40ft or 6.7 fathoms). There is a line showing the seabed, which takes a rapid dive into the vertical...
On the anniversary of the sinking of the Titanic, we thought we'd answer a question that's often asked,
"If they raised the Mary Rose, why not raise the Titanic?"
Allow our scaled diagram to explain...
Android and iOS present linear scales for volume, for historical reasons, but our ears work on a logarithmic scale.
10.04.2025 13:08 β π 0 π 0 π¬ 0 π 0Still available on Project Gutenberg: www.gutenberg.org/ebooks/26184
06.04.2025 15:16 β π 0 π 0 π¬ 0 π 0The (declassified) Simple Sabotage Field Manual has been removed from the HSDL: www.hsdl.org/c/abstract?d...
I didn't seriously think it would ever disappear when I saved a copy a few years back, but I'm glad I did. Section 11 may be particularly relevant to many.
I am against the death penalty in all its forms, and specifically in the US it's also a massive waste of resources even without the philosophical objections.
And I can't believe the prosecutor in this case doesn't know exactly how people will respond.
Well off, definitely - but even the well off have a lot more in common with the truly poor than with the truly rich.
You don't have to earn all that much to fall into the trap of thinking that policies which favour the rich are better for you than those favouring the poor, but it's not true.
Dark meat, while nuggets are normally made with pale meat?
13.03.2025 17:31 β π 0 π 0 π¬ 0 π 0Yes!
Or at least I expect so. Nest Protect has voice notifications for everything else - although they don't meet Scottish building codes (the batteries are replaceable) so I had to ditch ours before the batteries got low enough to tell for sure.
A modest proposal: why not send the Palestinians to Zanzibar? They obviously can't be trusted with Gaza, just look at the state they've left it in!
05.02.2025 00:29 β π 0 π 0 π¬ 0 π 0There's nothing inherently non-deterministic about an LLM. As a practical matter, providers don't seem to want to provide repeatability but I'd be surprised if they don't have repeatable internal tests.
I wrote about this a couple of years ago: www.aylett.co.uk/thoughts/llm...
Based on having had to solve similar issues from the other side: clear your cookies, they've managed to set a value that their service can't cope with.
For a while, our custom error page contained code that would delete a cookie that had suffered that kind of bug, just in case that was the cause.
This is the way.
16.01.2025 07:33 β π 0 π 0 π¬ 0 π 0I prompt my chats as (in part) "Role playing as a depressive robot, similar to Marvin from H2G2. Be concise, remember to stay in character but don't overdo it!"
Highly recommended, even if it's only skin-deep.
Fun with Claude - I recently started using the fish shell, and really missed github.com/rupa/z so now I've made github.com/andrewaylett/z π.
08.01.2025 21:20 β π 1 π 0 π¬ 0 π 0It all hinges on whether the president is an "officer of the United States", which seems to me like it obviously should be but apparently the courts disagree?
06.01.2025 23:53 β π 0 π 0 π¬ 0 π 0They're obviously 4D, to require that extra rotation to get them properly aligned.
03.01.2025 12:39 β π 1 π 0 π¬ 1 π 0If someone on "the other side" said something insightful, it's really important to notice and recognise it - and then to use it to focus on areas of disagreement (like how best to fix the problem) rather than automatically disagreeing with something because of who said it.
28.12.2024 22:06 β π 1 π 0 π¬ 0 π 0In 2016, an EgyptAir A320 spiraled into the Mediterranean, killing 66 people. Was it an act of sabotage, or something even more nightmarish? This is a story you won't easily forget.
admiralcloudberg.medium.com/masks-smoke-...
People with poor network management, who need a pipe that big because the only way to avoid lag is to drain the buffers really quickly.
21.12.2024 16:38 β π 0 π 0 π¬ 0 π 0I'd prefer not to need to test "in prod", but I'm pleased to report that my brakes work and I didn't hit the collie who ran in front of my car.
21.12.2024 16:30 β π 0 π 0 π¬ 0 π 0Brotli is great when you can compress in advance, but it doesn't really seem to be intended for dynamic content. Zstd, as far as I can tell, is - if you don't set the difficulty too high. You might want to check that you spend less time compressing than you would sending the extra data uncompressed.
20.12.2024 00:28 β π 1 π 0 π¬ 0 π 0There's an argument to be made that competition makes things more efficient, and that privatisation makes things more competitive.
All too often though the competition is artificial (or missing) and the claimed efficiency never materialises.
We tell our children that it's a fun game people play, because it is :). Lying about it is never going to end well.
14.12.2024 20:59 β π 4 π 0 π¬ 0 π 0