Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quotemstr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
61.
▲
by
quotemstr
2mo ago
> I'd consider any btrfs install that does not have nocow on...to be defective. You're getting COW on the extents if you're snapshotting anyway.
62.
▲
by
quotemstr
2mo ago
Once you solve enough problems using raw Parquet or Feather or whatever and you end up with something that looks like a DB anyway, so you might as well use a DB.
63.
▲
by
quotemstr
2mo ago
Uh, who said anything about writing 122880 rows every time you do a single insert into DuckDB? There's a WAL. Consolidation happens in big chunks. (And it's not like journald log rotation is somehow better than WAL consolidation.)
64.
▲
by
quotemstr
2mo ago
SQLite here is okay, but DuckDB or LevelDB would be better. Either way, no need to invent a new storage format.
65.
▲
by
quotemstr
2mo ago
Thank you for your work. ISTM the workload is naturally LSM-shaped. > If you write a few bytes into some arbitrary position within a file, the storage has to write back the whole block, despite your only changing a tiny fraction of it. I
66.
▲
by
quotemstr
2mo ago
Systemd should just use DuckDB. It's perfect for this job. "But isn't it an OLAP database? Shouldn't you use SQLite for something that's vaguely real-time?" Eh, in this instance, I think I'd prefer the col
67.
▲
by
quotemstr
2mo ago
> Now every project has at least one perfectly made ASCII diagram - instant LLM tell. Damn. Now my artist-mode in Emacs skills are useless.
68.
▲
by
quotemstr
2mo ago
Electron is just another god damn GUI toolkit! What's the fundamental difference between it and, say, GTK4? It's just fucking widgets! My real problem with Electron is the multi-process render architecture, which I think is pointl
69.
▲
by
quotemstr
2mo ago
This hack is 99% giving people the control over their own computers they should already have had. Guy is a Robin Hood.
70.
▲
by
quotemstr
2mo ago
Even physical DRAM access would be thwarted by transparent total memory encryption, so this hack is still something else.
71.
▲
by
quotemstr
2mo ago
This is the level of access the rightful owner of a computer should have to his own system. He should also be able to fuse away this access forever, to be fair. But out of the box, when I get a new laptop, I should be able to read and write
72.
▲
by
quotemstr
2mo ago
Information that enters the mind through the eyes and ears is nothing like a drug that alters consciousness at a low level. Words are just words. You don't get to control the words people choose to hear.
73.
▲
by
quotemstr
2mo ago
Controlling my information consumption is not a legitimate function of the state. If algorithmic feeds get a lot of use, it's because people like them . Is that so hard to comprehend? That your preferences are not universal? And that
74.
▲
by
quotemstr
2mo ago
It could also react to hitting the timeout with a hard reset. Annoying perhaps, but at least safe. Ancient principle of system design is that when you must fail, it is better to fail safe than fail deadly even when it's annoying in the
75.
▲
by
quotemstr
2mo ago
ARM has EL3, which is basically the same thing. There's nothing inherently wrong with the CPU having multiple privilege levels. The problem with SMM has always been its user-hostile opaque implementation, not that the technical mechani
76.
▲
by
quotemstr
2mo ago
> The code waits for all cores to enter SMM, or for up to 1 second, whichever occurs first. See, this is why the mantra that all blocking operations should have a timeout is stupid and short-sighted no matter how many times junior devs a
77.
▲
by
quotemstr
2mo ago
Doesn't everyone do this now? It's hardly a new idea. Yet every time someone proposes the idea, people fawn over it and proclaim it the best thing ever. Yes, you can inject tokens via a proxy. What else is new?
78.
▲
by
quotemstr
2mo ago
If you're relying on a prompt to constrain agent behavior, you've already lost.
79.
▲
by
quotemstr
2mo ago
Huh? You don't mention the built-in sandboxing options in things like Codex. Why do people pretend these features don't exist? https://learn.chatgpt.com/docs/permissions
80.
▲
by
quotemstr
2mo ago
Another one of those interventions that'll just put US labs at a disadvantage. The public at large doesn't want to use models gimped so as to protect a bunch of pre-AI special interests who should adapt, not obstruct.
81.
▲
by
quotemstr
2mo ago
Just add async_uuid to your IDL locally and rerun MIDL. The server doesn't know or care that it's being called asynchronously. It's a pure client thing. If you're calling an IFoo in a different apartment, you can do the
82.
▲
by
quotemstr
2mo ago
And COM enforces lifecycle rules, transparent remoting, uniform activation (constructors basically), security primitives, marshalling, transparent async calls (yes, you can call any method asynchronously), and a ton of other things. It'
83.
▲
by
quotemstr
2mo ago
> less knowledge, more intelligence People produce such models by over-RL-ing smaller models on math and coding tasks. I've found the results capable of neither innovative work nor thinking outside the box. They're straight-A s
84.
▲
by
quotemstr
2mo ago
I wish that when people posted a performance win, they would include a theory explaining it. Unexpected speedups are usually noise, bugs, or harness issues. No program is faster due to the superior manly virtue of its programmer. Every effe
85.
▲
by
quotemstr
2mo ago
To be fair, this description omits a huge part of the modern terminal interface surface.
86.
▲
by
quotemstr
2mo ago
One advantage to using pthread is the ability to call pthread_setname_np to name threads and thereby make debugging easier. Granted, you can call it with std::thread by using std::thread::native_handle() to get the pthread handle, but you&#
87.
▲
by
quotemstr
2mo ago
https://scholar.google.com/scholar?hl=en&as_sdt=0%2C10&q=%22...
88.
▲
by
quotemstr
2mo ago
Excellent use of Ragel to generate fast state machines. Everyone should check it out: https://www.colm.net/open-source/ragel/ The author of shitty encoded the whole terminal state machine in Ragel: https:/&#
89.
▲
by
quotemstr
2mo ago
It's confusing how they want a custom protocol that seems to be converging from JSON-RPC, just spelled differently. They should just use JSON-RPC. In any case, it'd essential to retain PAM's customization ability even if the
90.
▲
by
quotemstr
2mo ago
Not everything has to be a "daemon". It's a bad trend in current programming zeitgeist to want to make everything into one. (sccache, no, you do NOT need a daemon to behave like ccache.) For a PAM replacement, you want a sepa
More ›