Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ncruces
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
181.
▲
by
ncruces
6mo ago
Incredible that a database company writes that page and doesn't document the isolation level of the feature.
182.
▲
by
ncruces
6mo ago
Not necessarily, but being able to specify types beyond those allowed by STRICT tables is useful. Ideally, I'd like to be able to specify the stored type (or at least, side step numeric affinity), and give the type a name (for introspe
183.
▲
by
ncruces
6mo ago
The goal of war is to subjugate others to your will through suffering. That will not change, and I'm not sure how you expect that to work with zero human involvement.
184.
▲
by
ncruces
6mo ago
If you want to read more about the bisect idea itself, this link has a bunch of interesting use cases: https://research.swtch.com/bisect TLDR: you can bisect on more than just "time".
185.
▲
by
ncruces
6mo ago
The majority of the world thinks the Russia-Ukraine war is illegal. The majority of the world thinks the Israeli/US-Iran war is illegal.
186.
▲
by
ncruces
6mo ago
We don't allow? Who doesn't? And what are they going to do about it?
187.
▲
by
ncruces
6mo ago
They meant the Gulf. You cross the straight into the Gulf, then what? Iran hit an E-3's antenna in an airport in Riyadh with a precision strike. Was it not worth defending? How many tankers inside the Gulf do they need to hit before th
188.
▲
by
ncruces
7mo ago
I've added it, to one of my repos, and yes, it's slower than using emulation. Particularly for my use case, Go cross compilation, QEMU and binfmt work really well together. Still, for some things, it's nice to test on actual
189.
▲
by
ncruces
7mo ago
GitHub CI lets me test my package, for free, in all these: https://github.com/ncruces/go-sqlite3/wiki/Support-matrix Which is actually useful.
190.
▲
by
ncruces
7mo ago
GitHub also generously gives me a bunch of free CI, in exchange for whatever they benefit from me being there. It's worth $50 just this month, according to them, but I don't see anyone else offering the mac runners that account fo
191.
▲
by
ncruces
7mo ago
AI and Copilot increase the load on git workflows.
192.
▲
by
ncruces
7mo ago
> Go compatibility. So code is valid Go code. No exceptions. But then they have block scoped defers.
193.
▲
by
ncruces
7mo ago
I built my latest side project (a Wasm to Go "transpiler") precisely as a way to push the limits of what I could do with an LLM/agent. It sped me up (and genuinely helped with some ideas) but not 10x. The bits I didn't d
194.
▲
by
ncruces
7mo ago
Not so far. All my contributions where welcomed.
195.
▲
by
ncruces
7mo ago
That's absurd. I can't use SQLite for aviation even though it was certified. I can't even claim FIPS compliance for my software without going through an expensive process, even though I only use FIPS approved primitives. Buil
196.
▲
by
ncruces
7mo ago
It's fine if you're leaving something to those future generations. Like a bridge or a dam built to last 100 years.
197.
▲
by
ncruces
7mo ago
If certification is the actual cost, you don't need copyright, at all. SQLite is in the public domain. Your moat is the certification itself, not the code.
198.
▲
by
ncruces
7mo ago
What's “not capable” about it? Isolating code and data?
199.
▲
by
ncruces
7mo ago
Wasm 1.0 (and 2.0) is a fairly straightforward portable assembly. It's a great target for a simple language (unless you insist on someone else doing your GC for you, which mandates their design on your language). And it's also fai
200.
▲
by
ncruces
7mo ago
If you consider just Wasm 1.0 and 2.0, the amount of “runtime” is relatively sparse. A tool like wasm2c (or my wasm2go) shows this: there is no huge runtime to carry, just a fairly direct translation of Wasm byte code to C (or Go). wasm2c:
201.
▲
by
ncruces
7mo ago
Agree. But then, the test suite was the input (chardet). So, is the test suite creative or functional in nature? And does the concept of fair use apply globally?
202.
▲
by
ncruces
7mo ago
I guess someone read the “announcement” that I'm now confident enough this will work that I'll be switching my mildly popular SQLite bindings to use it: https://github.com/ncruces/go-sqlite3/discussions&#
203.
▲
by
ncruces
7mo ago
Similar in vein with how my SQLite driver fully replaces the filesystem access layer (VFS) with Go code, and makes it available as Go APIs you can implement (including, in read-only mode, with any io.ReaderAt). https://github.com
204.
▲
by
ncruces
7mo ago
What, those job ads asking for 5 years of experience with MCP were useless after all?
205.
▲
by
ncruces
8mo ago
I should add that using unsafe.Pointer I'm able to get a significant boost on little endian platforms, with no loss of safety (pointers are still bounds checked). With this change, my ported driver would beat wazero on most benchmarks.
206.
▲
Show HN: A Wasm to Go Translator
(github.com)
7 points
by
ncruces
8mo ago
|
1 comments
207.
▲
by
ncruces
8mo ago
Time to update https://en.wikipedia.org/wiki/Etymology_of_tea then? That explanation is… highly unlikely.
208.
▲
by
ncruces
8mo ago
But count is more clearly a dimensionless number of elements, and not a size measured in some unit (e.g. bytes).
209.
▲
by
ncruces
8mo ago
The other day I asked AI to one-shot an implementation of hyperbolic trig functions for double-double floats. I provided a repo (mine) that already implemented double-double arithmetic, trigonometry, and logarithms/exponentials, with
210.
▲
by
ncruces
8mo ago
I bet there's some price at which someone will happily take that Luis Vuitton bag or Burberry coat.
More ›