Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fpoling
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
211.
▲
by
fpoling
1y ago
If one needs a small and fast executable, then Rust should be used, not Go. I know a company that wished they would use Rust, not Go, for their services as poor Go performance and GC spikes made it a big headache.
212.
▲
by
fpoling
1y ago
Go jobs are not that popular either especially outside US. Java is way more popular and with recent improvements on JDK Go does not offer that match advantages over it. And compared with Go Java is fully memory-safe and have independent imp
213.
▲
by
fpoling
1y ago
Any library in Rust comes with Cargo.toml file listing dependencies and their versions. Rust build system allows to use later versions of the libraries so presumably an application that uses an old library will have dependencies for the lib
214.
▲
by
fpoling
1y ago
Russia stockpiles drones.
215.
▲
by
fpoling
1y ago
They were effective because Germans targeted mostly London where one could have dense defenses and V-1 flew relatively low. With drones few kilometers up this is simply not effective.
216.
▲
by
fpoling
1y ago
Russia has started to fly Shahed drones much higher after Ukrainians became effective with shooting low-flying ones with mobile low cost AAA guns. This made drones easier to detect with radars and shoot with missiles, but missiles cost like
217.
▲
by
fpoling
1y ago
Given that Russia produces around 100 heavy drones per day and plan to increase production multiple times NATO countries are essentially defenseless against that as NATO will quickly run out of missiles to shot those drones. Any country nee
218.
▲
by
fpoling
1y ago
Or find a radioactive wasteland worse than far away planets or no Earth at all destroyed by one of those technological advances.
219.
▲
by
fpoling
1y ago
The information is not lost from the point of view of receivers inside the black hole horizon. Which again points out that the classical notion of information just does not work in a universe with multiple causally disconnected regions.
220.
▲
by
fpoling
1y ago
You do not need a black hole for the information loss. Just shout a flashlight into empty space. Any information encoded in photons will be lost from the point of view of the sender. And then the classical notions like information or entrop
221.
▲
by
fpoling
1y ago
The validity of any certificate by 2029 will be reduced to 47 days. The only way to compete with LetsEncrypt and other free providers would be on futures, like unlimited number of renewals and guaranteed reliability.
222.
▲
by
fpoling
1y ago
Hardware does not catches up with language requirements. If anything, it is languages/compilers that catch up with hardware, like SSE instructions and loop parallel ism. For me the mistake that Rust made was that it tried too hard to b
223.
▲
by
fpoling
1y ago
That post explicitly stated one of the goals was to avoid requiring heap allocations. But fundamentally io_uring is incompatible with the stack and in practice coding against it requires dynamic allocations. If that would be known 10 years
224.
▲
by
fpoling
1y ago
Although JS supports prototype mutations, the with operator and other constructs that make optimization harder, typical JS code does not use that. Thus JIT can add few checks for presence of problematic constructions to direct it to a slow
225.
▲
by
fpoling
1y ago
If recruiting is so broken I expect more certification courses to appear or even language knowledge exams done by independent agencies in physical presence. Like it was done for TOEFL and similar exams in past.
226.
▲
by
fpoling
1y ago
Sometimes when re-publishing an older text references are added to clarify the meaning that people would miss otherwise from the lack of knowledge of cultural references. But here there is need to even put a references. A good translation m
227.
▲
by
fpoling
1y ago
There are nice example how even after human input the translation misses things. For example, the price of the fish was stated as 2.40 rubles. This is meaningless outside the context and does not explain why it was very expensive for the ol
228.
▲
by
fpoling
1y ago
The translated story is full of implicit cultural references. If the author have used AI to clarify some references about what the story was about, it could explain the vast time saving.
229.
▲
by
fpoling
1y ago
I tried a LLM to generate tests for Rust code. It was more harmful then useful. Surely there were a lot of tests, but they still miss the key coverage and it was hard to see what was missed due to the amount of generated code. Then to chang
230.
▲
by
fpoling
1y ago
On a few occasions I wished that Python by default limited the max length of its lists to, say, 100 million elements to avoid bad bugs that consume memory and trigger swapping for few minutes before been killed by OOM. Allocating such amoun
231.
▲
by
fpoling
1y ago
There is always a limit. An explicit value versus implicit depending on memory size of the system have a big advantage that it will be hit sufficiently often so any security vulnerabilities will surface much earlier. Plus it forces to use s
232.
▲
by
fpoling
1y ago
For me the problem with TypeScript or Flow when the latter was a thing was that the syntax/semantics of the sub language of types was extremely ad-hoc with so many idiosyncrasies. Maybe if I programmed it all the time I would learned i
233.
▲
by
fpoling
1y ago
Lifetimes for a function signature in Rust are never inferred from the function code. Rather Rust has implicit lifetime specs with straightforward rules to recover the explicit full signature.
234.
▲
by
fpoling
1y ago
Typescript is not a language that matches intuition. Typing complex code while avoiding the any hatch resembles fighting limitations of the borrow checker in Rust.
235.
▲
by
fpoling
1y ago
syscalls are expensive and their relative latency compared with the rest of code only grow especially in view of mitigations against cache-related and other other hardware bugs.
236.
▲
by
fpoling
1y ago
io_uring is the asynchronous interface and that requires to use even-based architecture to use it effectively. But many command-line tools are still written is a straightforward sequential style. If C would have async or similar mechanism t
237.
▲
by
fpoling
1y ago
While this may work today, the bots now more and more use if not the full headless rendering then at least apply CSS rules not to fetch invisible content.
238.
▲
by
fpoling
1y ago
From our perspective there is no event horizon since the collapsing star has not reached the black hole state. In fact it takes infinite amount of time from the point of view of an external observer for the event horizon to form. In almost
239.
▲
by
fpoling
1y ago
One needs both to soak rice for at least 8 hours and boil it in excessive water to remove arsenic.
240.
▲
by
fpoling
1y ago
Have you used 4K sectors with cryptsetup? Many distributions still defaults to 512 bytes if SSD reports 512 bytes as its logical size and with 512 sectors there are heavier load on the system. I was reluctant to use BTRFS on my Linux laptop
More ›