Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jlokier
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
211.
▲
by
jlokier
2y ago
Same here, but processing the entire history of Ethereum instead.
212.
▲
by
jlokier
2y ago
> it seems like linux already has functionality that could make spawning a process a lot more efficient and threadsafe. My idea is basically to use clone or clone3 to create a new process in a new thread group that shares the original p
213.
▲
by
jlokier
2y ago
Interesting to see more hackers in Europe than the USA. I wonder if that's representative of the distribution of HN users.
214.
▲
by
jlokier
2y ago
I use Firefox as my main browser on a Mac. A lot, every day - I have about 30 Firefox windows open now. But there are a number of things that only work in Chrome or Safari. So I also use Ungoogled Chromium. I have about 3 Ungoogled Chromium
215.
▲
by
jlokier
2y ago
> If you print out the parsed representation of this whitespace code, you get back the lisp code (data) also. But this is different to what you fed into the parser. First, Lisp is not homoiconic by that definition either. If you read
216.
▲
by
jlokier
2y ago
That'll handle whitespace in paths, but if you want it to handle all path characters, dirname and mkdir need "--" here too.
217.
▲
by
jlokier
2y ago
Nice insight!
218.
▲
by
jlokier
2y ago
> Why is it written like that anyway? Because it's an ARM trademrk, and that's how they want it written: https://www.arm.com/company/policies/trademarks/arm-trademar... > (Wikipedia seems t
219.
▲
by
jlokier
2y ago
I don't read X, but in the last few days I get the impression Youtube Shorts are becoming Elon's personal propaganda machine. About 1 in 20 shorts in my feed are clips of Elon saying something stupid yet appealing, basically meme
220.
▲
by
jlokier
2y ago
Another use-case is when you are writing threaded code that uses the clone() syscall instead of pthreads, usually for something with high performance, unusual clone flags, or a very small stack. Most libc functions, including the syscall wr
221.
▲
by
jlokier
2y ago
I felt it simplified the description to not mention they were assembler macros, but in retrospect, that was begging for a correction :-) The linked page with details was interesting, thanks!
222.
▲
by
jlokier
2y ago
The names CAR and CDR weren't invented for Lisp or FLPL. They came from assembly language mnemonics on the IBM 704, where the first Lisp interpreter was implemented. The original Lisp CAR and CDR operations used the machine-level inst
223.
▲
by
jlokier
2y ago
At one company, the CEO said AI tools in general should not be used, due to fear of invalidating a patent application in progress after the lawyer said it must be kept secret except with NDA partners. I explained that locally run LLMs don&
224.
▲
by
jlokier
2y ago
The other comments talk about Asahi Linux, which doesn't support the M3 yet. You can also run Linux in a VM on MacOS, and it runs very well. For some uses you won't get the best performance compared to native Linux. But for a Pl
225.
▲
by
jlokier
2y ago
I looked into tiny Forth and Lisp interpreters as the foundation for bootstrapping bigger things. I expected Forth to be better for this because it seems like a smaller language, minimal even, that would have the smallest interpreter. Forth
226.
▲
'Reflections on Trusting Trust', but by accident this time
(secret.club)
2 points
by
jlokier
2y ago
|
0 comments
227.
▲
by
jlokier
2y ago
> what is wrong with NULL? This code has a bug, and may even crash on some architectures: execlp("echo", "echo", "Hello, world!", NULL); This code doesn't have the bug: execlp("ech
228.
▲
by
jlokier
2y ago
I tried Termux and found the application files I wanted to rsync aren't visible in Termux, except maybe by rooting the phone. But I need to use banking and auth apps daily on it, so I assume that isn't an option.
229.
▲
by
jlokier
2y ago
There is a generic way to do it that works with SQLite and other databases, including Postgres. On Linux, take a filesystem or block device coherent snapshot, take your backup of all the SQLite files from the snapshot, then delete the snap
230.
▲
by
jlokier
2y ago
> Google had to in house everything and probably spearheaded the usage of CRDTs ( this is a guess!) Fwiw, Google Docs/Sheets etc don't use CRDTs, they use the more server-oriented Operational Transforms (OT). CRDTs were spea
231.
▲
by
jlokier
2y ago
The author of software (or generally the copyright holder) is not bound by the terms of their own license, so they can publish the same software and/or later versions under different licenses however they see fit. This applies equally
232.
▲
by
jlokier
2y ago
For me it's because when I was actively looking for a role without Premium, LI started to block me from viewing people's profiles half way through each month, saying I was looking at too many profiles a month for the free tier, so
233.
▲
by
jlokier
2y ago
My Debian 12 VM has been up for 4 days, and Xorg clocked 5 hours of CPU activity in that time, but systemd clocked only 9.5 seconds, and its subsystems each less than that. So I doubt if systemd and its subsystems are using much energy. It
234.
▲
by
jlokier
2y ago
I agree. Exploring this in game worlds came up in a job interview a few years ago :) ZK proofs are potentially a transformative tool for real-tine distributed systems in general, not just games. They potentially improve laency ("ping&q
235.
▲
by
jlokier
2y ago
For me, the most powerful use of ZKPs is proof of the output of general purpose computations of any kind. You can run an arbitrarily large, arbitrary long program, and whatever the program outputs, you can make a tiny proof-signature that s
236.
▲
by
jlokier
2y ago
> I am the Sourcegraph CEO, and we haven't changed anything about our public code search at https://sourcegraph.com/search . But in this other comment ( https://news.ycombinator.com/item?id=41298516 ),
237.
▲
by
jlokier
2y ago
My impression is the training data for foundation models isn't that large. It won't fit on your laptop drive, but it will fit comfortably in a few racks of high-density SSDs.
238.
▲
by
jlokier
2y ago
That works if the backup uses a snapshot of the filesystem or a point in time. Then the backup state is equivalent to what you'd get if the server suddenly lost power, which all good ACID databases handle. The GP is talking about when
239.
▲
by
jlokier
2y ago
Because the suppliers of IT systems (eg Microsoft, Crowdstrike) do not agree that they can be used for life-critical purposes If someone is injured or dies because the hospital has inadequate backup processes in the event of a Windows outag
240.
▲
by
jlokier
2y ago
I'm surprised your price started that low. Back in 2019 they were charging me 89.94 USD per 6 months. In 2023 it went up to 108.99 USD. I'm expecting to be charged 178.99 USD at the next 6 month renewal, from their web page, htt
More ›