Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vocx2tx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
vocx2tx
8d ago
For some context on why this release is notable: Jemalloc Postmortem [0] [0] https://news.ycombinator.com/item?id=44264958
2.
▲
by
vocx2tx
1mo ago
He's in the MAINTAINERS file[0], and the person with the most commits in 2016-2026 period, so no. [0] https://github.com/emacs-mirror/emacs/blob/master/admin/MAIN...
3.
▲
by
vocx2tx
5mo ago
These fake-time environments let you set the time, so you can test how the code will behave in 2039 without waiting for 13 years. For Go's synctest, 1-1-2000 is just the default initial value for now().
4.
▲
by
vocx2tx
5mo ago
But still a kludge. Better: use something equivalent to Go's testing/synctest[0] package, which lets you write tests that run in a bubble where time is fixed and deterministic. [0] https://pkg.go.dev/testing/s
5.
▲
by
vocx2tx
6mo ago
The reason is simple: they'd like to reap all the benefits of a permissive licence (many people and companies won't or can't touch GPL code), without any of the downsides; but these downsides are the very reason behind the ru
6.
▲
by
vocx2tx
1y ago
Go did exactly that, where Maven's 'Project group identifier' is an URL you control, e.g. github.com/<your-account> but also <your-website>/go-pkg or whatever you want. Other languages did this too. Flat
7.
▲
by
vocx2tx
1y ago
The real issue here is Rust's flat namespace. In Go, for example, there's no ffmpeg crate, there's github.com/someone/ffmpeg and gitlab.com/someone-else/ffmpeg, and so on. There's no blessed, unique &
8.
▲
by
vocx2tx
1y ago
Looking at the issue their builders seem to be Opterons G3 (K10?)[0] [0] https://en.wikipedia.org/wiki/AMD_10h
9.
▲
by
vocx2tx
2y ago
64 bit mod is much slower than 32 bit mod. Your C program uses int32_t everywhere, while your Go program uses int (which is probably 64 bit on you machine); so this is not a fair comparison. Changing the Go program to use int32 everywhere m
10.
▲
by
vocx2tx
2y ago
Agree. And of course it's always something "surface level and uncontroversial", anything else gets you downvoted. Most subreddits (with a few exceptions) are huge echo-chambers.
11.
▲
by
vocx2tx
2y ago
It uses yt-dlp as the download backend, so it works with anything that yt-dlp handles.
12.
▲
by
vocx2tx
2y ago
> The worst GUI (none) out of the box. That's funny, for me that's exactly the best GUI out of the box. I actually did some tinkering to reduce the GUI parts even more, and added more keyboard shortcuts.
13.
▲
by
vocx2tx
2y ago
Of course everything in the "Generic Programming" section is now outdated.
14.
▲
by
vocx2tx
3y ago
> and who was “she”? The structure, probably. In gendered languages objects have a grammatical gender, and "structure" is feminine in at least French, Italian, and Spanish (they all derived from Latin "structura", whi
15.
▲
by
vocx2tx
3y ago
Unrelated to the plugin but wow the is_prime function in the video demonstration is awful. Even if the input is not divisible by 2, it'll still check it modulo 4, 6, 8, ... which is completely useless. It could be made literally 2x fas
16.
▲
by
vocx2tx
3y ago
> The setting is opt-out, requiring manual intervention. No. If a module's go.mod files declares go1.21, the compiler will use go1.21 semantics when building it, even if 1.22 has already been published and the module is being used f
17.
▲
by
vocx2tx
3y ago
> I feel like Go already went through a whole saga of this where the community started with "LLVM and SSA are bad and slow" I've been a contributor since the Go compiler was a tree-based C program and I've never heard
18.
▲
by
vocx2tx
4y ago
> a bump allocator freeing its tip is an optimisation That's kinda my point? free is there and does something, but also silently does nothing if you violate a fairly subtle invariant. Kinda the definition of "error-prone"
19.
▲
by
vocx2tx
4y ago
An allocator that silently does nothing on free if you violate one if its invariants (freeing an allocation that wasn't the latest) seems an incredibly error-prone design? It should probably return an error or panic (if free's API
20.
▲
by
vocx2tx
4y ago
Neat. I'd have liked to hear more about their custom programming language and its toolchain's implementation.
21.
▲
by
vocx2tx
4y ago
He probably ran ls on /usr/local/go (it's 477MB on my machine). But that's the size of the entire Go download after unarchiving, which includes the runtime's and all the standard library's 1) source code