HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wofo

2,308 karmajoined 13 yıl önce
Contact me at: [my username] [at] adolfo [dot] ochagavia [dot] nl (or check out ochagavia.nl)

Submissions

Court filing: Adafruit seeks declaratory judgment against Flux [pdf]

storage.courtlistener.com
3 points·by wofo·8 gün önce·0 comments

OpenAI joins the Rust foundation as a Platinum member

rustfoundation.org
3 points·by wofo·22 gün önce·0 comments

Organizational Skills Beat Algorithmic Wizardry (2013)

prog21.dadgum.com
3 points·by wofo·geçen ay·0 comments

Moon Base

nasa.gov
4 points·by wofo·geçen ay·0 comments

Fully in-browser container builds

ochagavia.nl
58 points·by wofo·2 ay önce·27 comments

Comprehensive Response to Bambu's AGPLv3 Violations

sfconservancy.org
7 points·by wofo·2 ay önce·1 comments

Pushing Local Models with Focus and Polish

lucumr.pocoo.org
7 points·by wofo·2 ay önce·1 comments

A real-world case of property-based verification

ochagavia.nl
1 points·by wofo·3 ay önce·0 comments

From WSL to bare-metal Linux

ochagavia.nl
2 points·by wofo·4 ay önce·0 comments

Do the Illegible

ashwinsundar.com
3 points·by wofo·4 ay önce·0 comments

[untitled]

1 points·by wofo·4 ay önce·0 comments

Help my website is too small

lukeplant.me.uk
5 points·by wofo·7 ay önce·2 comments

Towards Interplanetary QUIC Traffic

ochagavia.nl
106 points·by wofo·8 ay önce·26 comments

How to Talk to Grandma About AI

jstrieb.github.io
2 points·by wofo·8 ay önce·1 comments

Show HN: JSON Query

jsonquerylang.org
154 points·by wofo·9 ay önce·70 comments

Kagi Specials

blog.kagi.com
88 points·by wofo·9 ay önce·11 comments

I brain coded a static image gallery in a few hours: snig.pl

domm.plix.at
1 points·by wofo·9 ay önce·1 comments

comments

wofo
·18 saat önce·discuss
Here's some additional context on the phrase, for today's lucky ten thousand[0]: https://blog.codinghorror.com/falling-into-the-pit-of-succes...

[0]: https://xkcd.com/1053/
wofo
·3 gün önce·discuss
Rust is so powerful it rewrites your code to assembly on-demand every time you compile ;)
wofo
·23 gün önce·discuss
What a mess... It's sad that the community has to suffer the consequences of a company holding the trademark hostage.
wofo
·geçen ay·discuss
The win in operating costs is impressive, bordering in the unbelievable (27x). Does anyone have a clue about where the win comes from?
wofo
·geçen ay·discuss
Fun fact: some older articles were originally written using the term man-in-the-middle, but at some point were updated... except that the diagrams still use man-in-the-middle because search-and-replace doesn't work on images.
wofo
·geçen ay·discuss
Controlling both the builder and the registry is super nice btw, because they can work together. If the builder knows some of the layers already exist in the registry, it merely has to create and push the remaining ones (without downloading any of the other layers, not even those from the base image). That gives you near-instant builds once the biggest layers are cached in the registry!

Since builds usually happen in CI, and pulls happen elsewhere (e.g., a kubernetes node), in the end layers are only downloaded when the resulting container image is actually used.
wofo
·geçen ay·discuss
I can't comment on BuildKit, unfortunately, since I haven't used it. My experience comes from building bespoke systems (an image builder and a custom registry) fully from scratch, because we needed to have full control in order to achieve the performance we were aiming at.
wofo
·geçen ay·discuss
I'd say the limitations are relative to your use case: `docker build` works well enough in most cases, but sometimes it's not the right tool for the job (e.g., you cannot use `docker build` inside an AWS Lambda, you can get way better performance from specialized tools in some cases [1], etc)

[1]: see my sibling comment at https://news.ycombinator.com/item?id=48301041
wofo
·geçen ay·discuss
The idea is that, in many cases, you can create a layer "by hand" without running actual Linux programs. Layers don't need to be pre-existing, the only requirement is that they can be built programmatically (inside the browser, in this case). The demo actually does that: it "manually" creates a layer from the user-specified entrypoint script, then creates an image from the pre-existing base image's layers and the new entrypoint layer.

In a more real scenario, you can e.g., turn pip wheels into layers without actually using docker's RUN command. All it takes is to massage the data from one archive format into another, programmatically. This unlocks lots of potential (e.g., it becomes embarrassingly parallel to build a container image comprised of pip wheels). Combine that with a good layer caching strategy and a registry that takes advantage of it, and you can have near-instant container builds for arbitrary sets of pip dependencies.
wofo
·geçen ay·discuss
I sometimes wonder why there aren't more bespoke container tools (like yours). Would people be willing to pay for stuff like what you have built, if someone took the time to "productionize" it? Or is there no market?
wofo
·geçen ay·discuss
There are many ways to achieve this. If you are just copying artifacts, and not using RUN, then there is in principle no need to download the base image at all. Feel free to message me if you'd like to chat (email is in my profile).
wofo
·3 ay önce·discuss
Sounds like babysitting an LLM, with the alarming difference that this AI can kill you if you are not paying enough attention
wofo
·3 ay önce·discuss
Out of curiosity, is there a build setup you have seen in the past that you think could be a good replacement for this complex GitHub CI setup? Asking for a friend ;)

Update: now I've finished reading the article, my impression is that complexity is mostly inherent to this problem space. I'd be glad to be proven wrong, though!
wofo
·3 ay önce·discuss
Does this mean we should be migrating our SSH keys to post-quantum crypto right now?
wofo
·3 ay önce·discuss
Thanks! It's always scary when container technology fiddles with your network... I wonder how they can be at peace with such defaults. Another reason to stick with good old containerd units, I guess.
wofo
·3 ay önce·discuss
Surprised Teeworlds hasn't been mentioned yet (https://teeworlds.com/)
wofo
·3 ay önce·discuss
It would be better not to post urls to the blog, to prevent it from getting links and get even higher in search results...
wofo
·3 ay önce·discuss
Could you share more details about this? Do you mean that e.g., if I run LXD/Incus on a machine with a public IP address, anyone on the internet could route traffic through it?
wofo
·4 ay önce·discuss
Many QUIC features get implemented while in draft stage as people iterate on the RFC's design (e.g., ACK Frequency[0] is currently on draft version 14 and I implemented support for it three years ago in quinn).

[0]: https://datatracker.ietf.org/doc/html/draft-ietf-quic-ack-fr...
wofo
·4 ay önce·discuss
Thanks for posting this! As a long-time Rust user (and contributor, in the good old days), the thing that has always fascinated me about Rust is the healthy balance it strikes between academic brilliance and industry pragmatism. Radical changes like the ones suggested by the OP risk damaging that balance IMO. I'd rather put up with some language quirks and see Rust achieve "boring technology" status...

But who knows, maybe the "academic brilliance" from the article is more pragmatic than I give it credit for. I sure hope for it if these changes ever go through.