Better HN
topnewbestaskshowjobs
Log inSign up

dmit

6,853 karma · joined Feb 21, 2011 (15y ago) · 549 submissions

Submissions

comment 1d ago · link · parent

> Ladybird team just chose to get shit done instead

Wonderful double meaning, even if probably unintended.

2.

Derivative Flipping(blog.sigfpe.com ↗)

94 points · by dmit · 2d ago · 18 comments

comment 1w ago · link · parent

The man's name is "burnt sushi". I suspect he's fine with controversy. :)

comment 1w ago · link · parent

Pogo-stick jellyfish, let’s go

comment 1w ago · link · parent

Wait 'til you find out the shenanigans one can do with RAR files!

https://blog.cmpxchg8b.com/2012/09/fun-with-constrained-prog...

6.

JIT bitmap text rendering for microcontrollers(linebender.org ↗)

122 points · by dmit · 2w ago · 24 comments

7.

Making musl and proprietary NVIDIA drivers work together(chimera-linux.org ↗)

4 points · by dmit · 2w ago · discuss

comment 3w ago · link · parent

Same.

9.

LittleJS is 2D and 3D now(frankforce.com ↗)

109 points · by dmit · 1mo ago · 50 comments

comment 1mo ago · link · parent

> Was the conversion assisted?

Yes. Comment by mold's author:

https://www.reddit.com/r/rust/comments/1w45j6n/comment/p7ac5...

11.

Categorize Everything All at Once(iev.ee ↗)

4 points · by dmit · 2mo ago · discuss

12.

What I learned securing Sniffnet with the GitHub secure open source fund(sniffnet.app ↗)

18 points · by dmit · 3mo ago · 3 comments

13.

Backtrack-Free Cursive(mmapped.blog ↗)

278 points · by dmit · 4mo ago · 126 comments

14.

Handsum: An LQIP Image File Format(nigeltao.github.io ↗)

45 points · by dmit · 4mo ago · 9 comments

15.

How do we prevent Bitrot?(notgull.net ↗)

3 points · by dmit · 5mo ago · discuss

comment 5mo ago · link · parent

> Imitation is the greatest form of flattery

"... that mediocrity can pay to greatness" is the rest of the quote.

comment 5mo ago · link · parent

Apologies, I meant your comment pre-edit(s).

comment 5mo ago · link · parent

.....Did you just complain about Rust's "lower adoption" compared to C++, immediately following it by "Zig, on the other hand :eyes_emoji:"

comment 5mo ago · link · parent

> I don't think performance has got much to do with tinkering.

Yes, in general, but also there are cases when you realize you can, idk, parse a CSV file in 0.2 seconds instead of 200 seconds. That kind of improvement unlocks a new level of tinkering.

comment 5mo ago · link · parent

Have you ever thought "Ugh, this bit of Python code is running much slower than I expected on my computer. Wonder if anyone has written a native library for this"? That's probably the closest use case for someone who matches your description -- a language that is much more ergonomic, much more 'modern' feeling (in all the good ways), while still extremely compatible with C.

As for the language itself, it's going to be more verbose than your Python code. Cons: you'll have to spell out a lot of things that you thought were obvious assumptions. Pros: you will be able to look at a page of code and know with a great degree of certainty that there are no hidden gotchas. No monkey patching, no __init__. Basically, it just does what it says on the tin.

And finally, about the std lib and batteries: there's HTTP(S), compression algorithms, hash algorithms, RNG, I/O, the basic data structures you'd expect, JSON. Third-party libraries, if you choose not to vendor, are handled by including the repository url in a file (also automated by a CLI command), and then adding it to the build script (not automated). The `zig` command handles fetching and ensuring sanity, but otherwise assume a bit of elbow grease will need to be involved.

comment 5mo ago · link · parent

I foresee a pjmlp comment in your near future. :)

comment 5mo ago · link · parent

> Zig's compilation times are already terrific

In my experience, this (for now) is mostly aspirational. It's obviously a major goal, and there are clear milestones outlined on how to achieve it, but in practice the initial compile of an empty project or the excruciating pause when you `direnv allow` and ZLS needs to be (re)built are not what I'd describe as "terrific".

comment 6mo ago · link · parent

> no, JavaScript is not a perfect language

Such a brave stance against a claim literally nobody has ever staked.

comment 6mo ago · link · parent

> Can someone explain why it sounds like there's such rapid growth of Bun?

In my case, when I start a little Typescript side project, instead of drowning in the sea of npm/yarn/berry/pnpm/bubble/vite/webpack/rollup/rolldown/rollout/swc/esbuild/teatime/etc I can just use one thing. And yes, only some of those are Pokémon moves and not actual tools from the JS/TS ecosystem.

comment 6mo ago · link · parent

Tigerbeetle is in the database business. They operate on an entire different level of correctness expectations compared to something like Bun. The correctness guarantees they provide come first and foremost from the design, architecture and rigorous testing, not from the language they use for the implementation.

So, hopefully, the tech people involved in choosing a database for their project understand that, and do their own correctness and performance testing before making a decision. As for the business people, the tigerbeetle.com landing page doesn't mention Zig at all, although it probably will come up when they "ask AI" for a comparison. So, yeah, probably some risk. Perhaps the LLM will also point out the Jepsen report on Tigerbeetle to offset it.

comment 6mo ago · link · parent

> And I greatly respect the small binary/download size

The latest x86_64 Linux build is 136MB. (https://zed.dev/docs/linux#downloading-manually)

As for your list of grievances, they all seem to boil down to the respective LSPs not doing their job? Does Ctrl-Alt-l (lowercase L, not Shift+i) include the language's server in the context menu, and are there any errors reported for it if it does?

comment 7mo ago · link · parent

> When you pay taxes you have no say in the bombs acquired with that and where they are dropped.

Vote in elections, local and general.

28.

The Joy of Numbered Streets(humantransit.org ↗)

62 points · by dmit · 8mo ago · 39 comments

12345
19