Readit News logoReadit News
mikepurvis commented on Developer's block   underlap.org/developers-b... · Posted by u/todsacerdoti
polishdude20 · 6 hours ago
Just had a very tiring long run yesterday. Spent the night still scrolling haha.
mikepurvis · 5 hours ago
Ha, well ya can’t win em all I guess :)
mikepurvis commented on Developer's block   underlap.org/developers-b... · Posted by u/todsacerdoti
esperent · 13 hours ago
Also exercise.

Sleep restores you. Exercise is the spark.

mikepurvis · 7 hours ago
Good exercise also contributes to good sleep. I sleep like a log after a good bike ride or an evening out swing dancing, but if all I did was sit at my desk all day then it’s a lot more likely I’ll be tossing and turning or doom scrolling into the wee hours.
mikepurvis commented on I'm too dumb for Zig's new IO interface   openmymind.net/Im-Too-Dum... · Posted by u/begoon
virtualritz · 15 hours ago
I do not think this is a viable excuse any more.

I am just editing docs now that Claude Code writes for me. I am fanatic about developer docs (and I guess an exception as I love writing them) but with a set of concise instructions for CC and some writing style examples I get 90% there, sometimes 99%.

If you believe you don't have time for the last 1--10% you should not be in charge of writing any API used by anyone but yourself. Just my two c.

mikepurvis · 9 hours ago
As a senior dev I’m also passionate about docs and communication, and actually kind of love the process of agonizing over a bunch of rST files to get the perfect manual that’s both an on-boarding guide and also a reference of all the nooks and crannies.

I think what I’ve come to realize is that when I feel a barrier toward doing that work, it’s a sign that I don’t actually like the underlying API. I don’t want to document it or craft examples or tutorials because in my mind the API sucks, it’s transitional, and documenting it in its current state is going to somehow lock in a bad interface and further increase the effort required to change and fix it up later.

mikepurvis commented on Nitro: A tiny but flexible init system and process supervisor   git.vuxu.org/nitro/about/... · Posted by u/todsacerdoti
palata · a day ago
My experience in the robotics space is that containers are a way to not know how to put a system together properly. It's the quick equivalent of "I install it on my Ubuntu, then I clone my whole system into a .iso and I call that a distribution". Most of the time distributed without any consideration for the open source licences being part of it.
mikepurvis · a day ago
I've always advocated against containers as a means of deploying software to robots simply because to my mind it doesn't make sense— robots are full of bare-metal concerns, whether it's udev rules, device drivers, network config, special kernel or bootloader setup, never mind managing the container runtime itself including startup, updating, credentials, and all the rest of it. It's always felt to me like by the time you put in place mechanisms to handle all that crap outside the container, you might as well just be building a custom bare metal image and shipping that— have A/B partitions so you copy an update from the network to the other partition, use grub chainloading, wipe hands on pants.

The concern regarding license-adherence is orthogonal to all that but certainly valid. I think with the ROS ecosystem in particular there is a lot of "lol everything is BSD/Apache2 so we don't even have to think about it", without understanding that these licenses still have an attribution requirement.

mikepurvis commented on Nitro: A tiny but flexible init system and process supervisor   git.vuxu.org/nitro/about/... · Posted by u/todsacerdoti
sho_hn · a day ago
tmux?! Please share your war stories.
mikepurvis · a day ago
Not my favoured approach, but for early stage systems where proper off-board observability/alerting is not yet in place, tmux can function as a kind of ssh-accessible dashboard displaying the stdout of key running processes, and also allowing some measure of inline recovery— like if a process has crashed, you can up-arrow and relaunch it in the same environment it crashed out of.

Obviously not an approach that scales, but I think it can also work decently well as a dev environment, where you want to run "stock" for most of the components in the system, and just be syncing in an updated workspace and restarting the one bit being actively developed on. Being able to do this without having to reason about a whole tree of interlinked startup units or whatever does lower the barrier to entry somewhat.

mikepurvis commented on Nitro: A tiny but flexible init system and process supervisor   git.vuxu.org/nitro/about/... · Posted by u/todsacerdoti
yjftsjthsd-h · a day ago
> Supervisor, runit, systemd, even a tmux session are all popular options for how to run a bunch of stuff in a monolithic "app" container.

Did docker+systemd get fixed at some point? I would be surprised to hear that it was popular given the hoops you had to jump through last time I looked at it

mikepurvis · a day ago
It's only really fixed in podman, with the special `--systemd=always` flag. Docker afaik still requires manually disabling certain services that will conflict with the host and then running the whole thing as privileged— basically, a mess.
mikepurvis commented on U.S. government takes 10% stake in Intel   cnbc.com/2025/08/22/intel... · Posted by u/givemeethekeys
wmf · a day ago
This is a bailout; it's the opposite of taxes.
mikepurvis · a day ago
Isn't it the opposite of a bailout, given that the US gov't is seizing an ownership stake retroactively based on past grants/bailouts but giving no new money at this time?
mikepurvis commented on Nitro: A tiny but flexible init system and process supervisor   git.vuxu.org/nitro/about/... · Posted by u/todsacerdoti
andrewstuart2 · a day ago
I'm always torn when I see anything mentioning running an init system in a container. On one hand, I guess it's good that it's designed with that use case in mind. Mainly, though, I've just seen too many overly complicated things attempted (on greenfield even) inside a single container when they should have instead been designed for kubernetes/cloud/whatever-they-run-on directly and more properly decoupled.

It's probably just one of those "people are going to do it anyway" things. But I'm not sure if it's better to "do it better" and risk spreading the problem, or leave people with older solutions that fail harder.

mikepurvis · a day ago
From my experience in the robotics space, a lot of containers start life as "this used to be a bare metal thing and then we moved it into a container", and with a lot of unstructured RPC going on between processes, there's little benefit in breaking up the processes into separate containers.

Supervisor, runit, systemd, even a tmux session are all popular options for how to run a bunch of stuff in a monolithic "app" container.

mikepurvis commented on Should the web platform adopt XSLT 3.0?   github.com/whatwg/html/is... · Posted by u/protomolecool
Aurornis · a day ago
I think the simplest explanation is that developers used it and did not like it.

The pro-XML narrative always sounded like what you wrote, as far back as I can remember: The XML people would tell you it was beautiful and perfect and better than everything as long as everyone would just do everything perfectly right at every step. Then you got into the real world and it was frustrating to deal with on every level. The realities of real-world development meant that the picture-perfect XML universe we were promised wasn't practical.

I don't understand your comparison to containerization. That feels like apples and oragnes.

mikepurvis · a day ago
HTML was conceived as a language for marking up a document that was primarily text; XML took the tags and attributes from that and tried to turn it into a data serialization and exchange format. But it was never really well suited to that, and it's obvious from looking XML-RPC or SOAP payloads that there were fundamental gaps in the ability of XML to encode type and structure information inline:

    <?xml version="1.0"?>
    <methodCall>
        <methodName>math.add</methodName>
        <params>
            <param>
                <value><int>5</int></value>
            </param>
            <param>
                <value><int>7</int></value>
            </param>
        </params>
    </methodCall>
Compared to this, JSON had string and number types built in:

    {
        "jsonrpc": "2.0",
        "method": "math.add",
        "params": [5, 7],
        "id": 1
    }
I don't think this is the only factor, but I think XML had a lot of this kind of cognitive overhead built in, and that gave it a lot of friction when stacked up against JSON and later yaml... and when it came to communicating with a SPA, it was hard to compete with JS being able to natively eval the payload responses.

mikepurvis commented on Sprinkling self-doubt on ChatGPT   justin.searls.co/posts/sp... · Posted by u/ingve
searls · a day ago
Yeah, I've been griping about LLM overconfidence for years, as somebody who is racked with self-doubt and second-guessing. On one hand, my own low opinion of myself made me a terrible mentor and manager, because having a similarly zero-trust policy towards my colleagues' work caused no end of friction (especially as a founder where people looked up to me for validation). On the other hand, i don't know very many top-tier practitioners that don't exhibit significantly more self-doubt than an off-the-shelf LLM.

Hence this blog post. I will say I've got a dozen similar tricks baked into my Claude config, but I'm not sure they've helped any.

mikepurvis · a day ago
I relate to this a lot— I treat my colleagues' work with suspicion and distrust not because I don't trust them but because that's also my stance toward my own work, like "what is this BS? Is it absolutely necessary? Can it be half the length by leveraging a library or ignoring error handling in cases where a panic/crash is no worse than a controlled exit?"

I find working with copilot is just catnip to someone like this because it's endlessly willing to iterate and explore the problem space, certainly well past the point where a normal person would be like are you for real can we just merge this and move on.

u/mikepurvis

KarmaCake day11704October 27, 2009
About
Mechatronics engineering grad at University of Waterloo. I've led teams and shipped products— hardware and software. Areas of interest include DevOps and DX, tools, pipelines, and packaging. Experience in Nix and Debian primarily, increasingly GHA, TypeScript, and Docker Buildx Bake. Clearpath Robotics / OTTO Motors alum, now at Simbe Robotics.

All opinions expressed are entirely my own.

https://www.linkedin.com/in/mike-purvis-6166a42/

https://meet.hn/city/ca-Kitchener

View Original