Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fpoling
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
fpoling
2mo ago
If one needs to dig history, then git log -p and similar are way more useful and reflect the real history rather than LLM inference about it. Comments reflecting the goal are more useful as neither history nor code itself covers it.
32.
▲
by
fpoling
2mo ago
Index is just a part of the model. The nice property is that the index for LLM does not need to be updated often so LLM plus index can be static. This even works for the latest news as LLM can fetch major news sites to learn the latest stor
33.
▲
by
fpoling
2mo ago
The model just asked the crawler to get a recent copy of relevant pages and used that to give the answer. That is why AI companies experimenting with browsers or at least agentic extensions to browsers as that allows to fetch on behalf of t
34.
▲
by
fpoling
2mo ago
With SQLite one automatically gets reliable persistent storage. Try to emulate that with a text file with history that eliminates duplicates. It is surprisingly hard to archive.
35.
▲
by
fpoling
2mo ago
SQLite gives indexes that makes searching and locating previous entries much faster. This is relevant when the history is over 100K entries and one wants to avoid duplicates in history files.
36.
▲
by
fpoling
3mo ago
GN tool that is used in Chromium to generate ninja files has much more restrictive language than CMake or make. And even its more complex features are mostly workarounds or escape hatches to deal with legacy setups.
37.
▲
by
fpoling
3mo ago
The article over-downplays the need for sentinel values. Surely Rust has Option that also spreads into C++ these days as std::optional. But for plain C using -1 or negative values to denote sentinels or error code is rather nice idiom. The
38.
▲
by
fpoling
3mo ago
Yet Elm due to its simplicity does not need a lot of examples. Language itself is small and blessed way to architecture things consist of few patterns. Then things are composable. This is ideal for LLMs. The price for that is verbosity. Wha
39.
▲
by
fpoling
3mo ago
Java allowed to handle out-of-memory rather well if one wanted to even 25 years ago. Basically one allocated a buffer on a startup taking 5% of memory that the application was supposed to use and made all threads to catch the oom exception.
40.
▲
by
fpoling
3mo ago
Microsoft just followed VAX/VMS that does not overcommit. And there is a noise on Linux mail lists to implement process builder pattern which VAX had like 50 years ago…
41.
▲
by
fpoling
3mo ago
You can also use cgroup to set allocation policy for a particular program.
42.
▲
by
fpoling
3mo ago
And in Spain most immigrants are from Latin America with close enough culture and language to avoid most integration problems.
43.
▲
by
fpoling
3mo ago
Interesting idea. On the other hand on the latest SSD with hardware encryption the raw disk speed under Linux can be over 5 GB/s so on my laptop with 64 GB of RAM the full restoration from disk takes like 45 seconds. With LUKS it is li
44.
▲
by
fpoling
3mo ago
On my laptop with Fedora I just configured Linux to hibernate to disk after 15 minutes of suspend. Powering memory off ensures that bugs like this Debian-specific would not matter. Plus what Debian extension to Linux tooling does although n
45.
▲
by
fpoling
3mo ago
I worked for a big company that switched from 1password to Keeper. The transition was smooth and I do not see why it shouldn’t be as long as IT knows what they are doing.
46.
▲
by
fpoling
4mo ago
And they are so much nicer. Way less noise and pollution and much better maneuverability on narrow streets or on slippery roads in winter.
47.
▲
by
fpoling
4mo ago
Many such IDs are designed for local physical verification, like proof that the mobile phone owner is above certain age or has a valid driving license, they are not designed for remote verification.
48.
▲
by
fpoling
4mo ago
With LLMs the cost of duplication is much lower both to write and maintain. So abstractions needs much higher justification.
49.
▲
by
fpoling
4mo ago
With LLMs the cost of duplication is much lower and LLMs
50.
▲
by
fpoling
4mo ago
I wonder are there any compilers that recognizes switch-in-loop pattern of interprets and optimizes it to be branch-predictor friendly using multiple indirect jumps?
51.
▲
by
fpoling
4mo ago
A few years ago I counted 42 tunnels on 100 km between Voss and Bergen center.
52.
▲
by
fpoling
4mo ago
For executables on Linux there are things like bubblewrap or firejail. One can also use a restrictive container. But those are strictly weaker than browser sandboxes. The most secure way presently is to use qubes-os that allows to use a ve
53.
▲
by
fpoling
4mo ago
Browsers run it in a sandbox process together with allocator hardening. Most of the bugs then are just crashed of the sandbox Another option is WASM or WASM-style sandboxes if using another process is undesirable.
54.
▲
by
fpoling
4mo ago
Modern solar work nicely in UK in May-August when wind is weakest due to long hours and cooler weather. However one needs more expensive panels that also work on a cloudy days. Then in UK somebody calculated that a house needs 1MWh battery
55.
▲
by
fpoling
4mo ago
The full access to the docker socket from a user account is typically used on a development machine where malware has many other opportunities to become a root.
56.
▲
by
fpoling
4mo ago
User namespaces significantly rise the risk of exploits and many setups disable them. One may argue that Docker should have used them when they were available, but that would break too many useful setups involving privileged containers.
57.
▲
by
fpoling
4mo ago
In 1920 in Berlin there were more electrical taxes than gasoline one. But cheap gasoline killed electrical car industry. Without that electrical cars would proceed to develop and batteries with high capacity would happen much sooner. As for
58.
▲
by
fpoling
4mo ago
If oil and gas would not exist, then liquid fuel would be produced from coal. With the latest processes the cost of production is like 80 dollars per barrel, but with processes that Germans developed during WWII it was probably like twice
59.
▲
by
fpoling
4mo ago
ThinkPad X1 from 2 years ago was very solid and under Fedora everything but camera worked out of the box. And for camera issue I had to blame myself for not checking details of a specific model as Lenovo was offering at that time fully-Linu
60.
▲
by
fpoling
4mo ago
With Go basic stuff like url parsing or HTTPS support is written in Go and comes with the standard library. With Rust too many necessary things are just wrappers around C and C++ making cross-compilation and reproducible builds much harder
More ›