Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ncruces
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
ncruces
4mo ago
I wish I could've one shoted this 200 LoC PR: https://github.com/ncruces/wasm2go/pull/42/changes#diff-5181... I'd really like to know the prompt, because I did try and, this took me way too lon
92.
▲
by
ncruces
4mo ago
German Greens have managed the feat of presiding over extending strip coal while closing nuclear power plants. But hey, they fought for it since the 70s, and finally won; we all lost.
93.
▲
by
ncruces
4mo ago
I just spent a week reviewing this ~200 LoC PR: https://github.com/ncruces/wasm2go/pull/37 It was submitted by a seasoned user, who probably asked a frontier LLM. It still felt… wrong. I didn't understan
94.
▲
by
ncruces
4mo ago
Maps here: https://a-hidden-infrastructure.spun.earth/map
95.
▲
by
ncruces
4mo ago
You'll just shift complexity to the orchestration of the modular components. Monoliths vs micro-services.
96.
▲
by
ncruces
4mo ago
I built wasm2go, which I had meant to for some time but was a gargantuan task to get into a good enough shape to test if it was a good idea. I think it was (a good idea), and AI made it easier for sure. https://github.com/nc
97.
▲
by
ncruces
4mo ago
The last level is simply unused at this time. https://go.dev/wiki/MinimumRequirements#:~:text=The%20Go%20t...
98.
▲
by
ncruces
4mo ago
> The OpenAI Foundation also exclusively appoints the board of the OpenAI Group PBC and can replace directors at any time. Isn't it hard to write this with a straight face?
99.
▲
by
ncruces
4mo ago
Also I'm not sure either is "bad for society" in the way that's implied. Rentable scooters/bikes being dumped everywhere by idiots is an issue, but parked in city approved places they're a boon. They can make t
100.
▲
by
ncruces
4mo ago
There's also my take on this [1], which does machine translation from C to Go via Wasm using [2]. It's a somewhat less faithful translation, since I manually ported the VFS (SQLite OS abstraction layer). OTOH, each SQLite connecti
101.
▲
by
ncruces
4mo ago
So the funds will have to buy within 10 days of the IPO. But I assume at least it's based on the free-float market cap?
102.
▲
by
ncruces
4mo ago
Anyone knows what MSCI World will do?
103.
▲
by
ncruces
4mo ago
Redka can be used embed, in Go: https://github.com/nalgeon/redka
104.
▲
by
ncruces
4mo ago
Precisely. In the case of OSS it makes no sense for maintainers to spend more time reviewing AI generated code than contributors spent prompt engineering it. That's just not helpful.
105.
▲
by
ncruces
4mo ago
Writing about "the wealthy" on a site like HN is always interesting. Who do you mean? The vast majority of HN commenters are 10%ers and very many are 1%ers. But there's always someone richer to complain about.
106.
▲
by
ncruces
4mo ago
Or, another name for the same thing columnar: storage vs. row storage.
107.
▲
by
ncruces
4mo ago
Taken at face value, most commit descriptions mention adding - not skipping - tests and assertions. So basically, we're all in our high horses, not reviewing code, scalding the unpaid maintainer for … not reviewing code. Time for - w
108.
▲
by
ncruces
4mo ago
Knowing the correct answer to one million instances of a+b, and validating this, does not guarantee that an oracle will use the + operation that's correct over a domain billions of times larger, which you can't exhaustively check.
109.
▲
by
ncruces
5mo ago
Do you understand the difference between generics and generic methods? We already had generics when they wrote "we don't anticipate adding generic methods."
110.
▲
by
ncruces
5mo ago
I didn't see anything beyond "this doesn't prevent us from doing it" yet. Did you?
111.
▲
by
ncruces
5mo ago
To be replaced by the surprise when you figure out these methods don't implement interfaces. Still, in this case, half the feature is better than none at all, IMO.
112.
▲
by
ncruces
5mo ago
The most non boring thing you can say about it is that it's terrible for ignoring most of what we've learned in the past couple decades of programming language design. That generates plenty of excitement.
113.
▲
by
ncruces
5mo ago
I suspect bagpipes may be the worst wind instrument to learn in this regard, at least if the goal is to train circular breathing?
114.
▲
by
ncruces
5mo ago
Right. I am doing a standard library replacement, and forgot I needed to compile freestanding. Oops. My bad. So `str` and `mem` are reserved. But then so are `to` and `is` (by <ctype.h>). Just forget about having a function named `is_
115.
▲
by
ncruces
5mo ago
Actions, as I get use them for free really seem irreplaceable. See, I only have one project where this actually matters (and help maintain another), but: I get to test on mac and Windows, both ARM and x64, for free. Then, with a one line im
116.
▲
by
ncruces
5mo ago
From the point of view of "small open source project" I honestly have no idea what I would move to. I happen to make, I think, $5/month in donations (thank you). According to GitHub's numbers, they offer me about $25
117.
▲
by
ncruces
5mo ago
I actually encountered it a couple weeks ago. Can you spot the infinite loop in this function? char* strcpy(char* restrict d, const char* restrict s) { stpcpy(d, s); return d; } I'll help. A call to `stpcpy` that ignor
118.
▲
by
ncruces
5mo ago
This. The APK number looks impressive if you don't know some files are uncompressed on purpose: https://developer.android.com/tools/zipalign There's also no mention that this likely breaks signatures? https:
119.
▲
by
ncruces
5mo ago
I don't know that there was an inflection point. I know that, over the past year, they definitely became useful to me as more than auto complete. My most recent pet project is a transpiler from Wasm to Go, and I find it incredibly impr
120.
▲
by
ncruces
5mo ago
Because that's 364 days.
More ›