Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ncruces
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
271.
▲
by
ncruces
10mo ago
The package I'm using in the HTTP example can be configured to cache data: https://github.com/psanford/httpreadat?tab=readme-ov-file#ca... But, also, SQLite caches data; you can simply increase the page cache.
272.
▲
by
ncruces
10mo ago
A read-only VFS doing this can be really simple, with the right API… This is my VFS: https://github.com/ncruces/go-sqlite3/blob/main/vfs/readervf... And using it with range requests: https:/&#
273.
▲
by
ncruces
10mo ago
That's odd. If it was a VFS, that's not what I'd expect would happen. Maybe it's not a VFS?
274.
▲
by
ncruces
10mo ago
I'm not sure either (1) or (2) are the problem. I can understand someone telling me I'm an old man shouting at clouds if (2) works out. But at least (2) is about a machine saving someone's time (we don't know at what
275.
▲
by
ncruces
10mo ago
If they're handling it as “website, don't care” (because they're training on everything online) they won't know. If they're treating it specifically on “code forge” (because they're after coding use cases), t
276.
▲
by
ncruces
10mo ago
What I find perplexing is the very respectful people that pay those subscriptions to produce clearly sub-par work I'm sure they wouldn't have done themselves. And when pressed on “this doesn't make sense, are you sure this wo
277.
▲
by
ncruces
10mo ago
I mostly read those signs as “don't go there unless you already know you can” which as a “tourist” I just assume can't (unless I'm a local, and figure it out). What I've recently found troubling is the places that use si
278.
▲
by
ncruces
10mo ago
Go strings are supposed to be immutable. I see that fiber goes behind your back and produces potentially mutable strings behind your back: https://github.com/gofiber/utils/blob/c338034/convert.go#L18 A
279.
▲
by
ncruces
10mo ago
What's a little data? In many situations, fsync flushes everything, including totally uncorrelated stuff that might be running on your system.
280.
▲
by
ncruces
10mo ago
Issue tracking this “regression” : https://github.com/golang/go/issues/71368
281.
▲
by
ncruces
10mo ago
Just how are you modifying strings? Cause that's your bug to fix.
282.
▲
by
ncruces
10mo ago
The IT guy is the TIC professor, who does it in excess of work. The guy is the son of the former TIC professor. And of course, I was roped in to help for my kids’ classes. And yes, it includes kids from at least 2nd grade. My COVID kids got
283.
▲
by
ncruces
10mo ago
I'm writing from personal experience in a middle of the table public school, with a single IT guy helping out around 1000 pupils, who regularly get their computers locked with said MDM. It's possible other school districts with a
284.
▲
by
ncruces
10mo ago
Considering Google Classrooms is used by a significant percentage of public schools, I have no idea why you think Portugal is special here. Also, given the frequency of families having issues with the Cuco MDM used to lock out the Windows c
285.
▲
by
ncruces
10mo ago
Names abstract things.
286.
▲
by
ncruces
10mo ago
We have these tools that we use to write formally correct documents. They're called programing languages, and a deterministic algorithm translates them to machine code. Are we sure English and a probabilistic algorithm is any better at
287.
▲
by
ncruces
10mo ago
Yes, in the only successful OSS project that I “maintain.” Fully vibe coded, which at least they admitted. And when I pointed out the thing is off by an order of magnitude, and as such doesn't implement said feature — at all — we get p
288.
▲
by
ncruces
10mo ago
If it's all vibe coded, how do you know — without review — that the new tests, for a new feature, test anything useful at all?
289.
▲
by
ncruces
10mo ago
Most/all of those are individually automated. Someone checks that they ran successfully, and vouches for it. Automating the automation can be counter productive. Like the release process is triggered automatically by a tag, then fails
290.
▲
by
ncruces
10mo ago
It's not a kernel. It's the, admittedly very complicated, concurrent double linked list. I say that with no irony.
291.
▲
by
ncruces
10mo ago
Similarly, what's DHL doing there? I mean, I know it's headquartered in Germany. But why is it targeted here? Is it because it was once American?
292.
▲
by
ncruces
10mo ago
> You're not going to try and extract a timestamp from a uuid. So, random library: https://pkg.go.dev/github.com/google/uuid#UUID.Time > Time returns the time in 100s of nanoseconds since 15 Oct 1582 en
293.
▲
by
ncruces
10mo ago
They're doing their jobs if they're collecting dust. And I'll show myself out…
294.
▲
by
ncruces
10mo ago
No need to be careful. I won't bite. ;)
295.
▲
by
ncruces
10mo ago
There are at least a couple of ways to run SQLite without CGO.
296.
▲
by
ncruces
10mo ago
Just because the article mentions median-of-medians, I'd like to call out median-of-ninthers: https://erdani.org/research/sea2017.pdf I was able to use this to implement practical deterministic linear time median
297.
▲
by
ncruces
10mo ago
Not really, no. Litestream is made in Go, and I have the VFS API well covered. The bigger issue is Litestream is not really meant to be used as a library. It depends on the modernc driver, and some bits on mattn, APIs not very stable, just
298.
▲
by
ncruces
10mo ago
I also have this implemented and ready to go in my Go SQLite driver: https://github.com/ncruces/go-sqlite3/blob/main/litestream/e... Slightly different API (programmatic, no env variables, works wit
299.
▲
by
ncruces
10mo ago
Yes. (that's all, really)
300.
▲
by
ncruces
10mo ago
You need to ensure that everything you put in the arena only references stuff in the same arena. No out pointers. If you can do that, you're fine.
More ›