Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_0w8t
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
451.
▲
by
_0w8t
5y ago
The example of a big room to allow for friends to sleep over is rather bad. Just keep few thick mattress toppers that one can put to the floor in case of overnight visit. If someone needs more comfort, just stack 2 of them. Compared with no
452.
▲
by
_0w8t
5y ago
The body produces alcohol when oxydising carbohydrates. Granted, the amount is small (few grams), but it indicates that there is in fact a dose to consume that stays below the saturation limit for the body to safely deal with alcohol.
453.
▲
by
_0w8t
5y ago
The title is misleading in an important way. What ML algorithm has found out that from properties of a single _simulated_ galaxy it was possible to deduce the properties of а _simulated_ universe. So at this point it is not clear if this re
454.
▲
by
_0w8t
5y ago
The chip progress by TSMC was made possible by ASML from The Netherlands that supplied them with ultraviolet lithography machines. Those are real example of techno magic with ASML solving many really hard issues much sooner then was expecte
455.
▲
by
_0w8t
5y ago
With a program split into multiple small compartments one does not need to crash the whole application on out-of-bound access. It will be enough to signal the parent compartment that one of its children performed an illegal operation.
456.
▲
by
_0w8t
5y ago
I wonder if this is kind of return to segmented architecture? It so it seems flat address spaces backed by virtual memory where not so good idea to begin with.
457.
▲
by
_0w8t
5y ago
systemd provides a workaround in the form of systemd-socket-proxyd [1]. Granted it copies data, but when the max performance is not required, it works. Sometimes services allow to be configured to listen UNIX socket path, then systemd-socke
458.
▲
by
_0w8t
5y ago
Some applications like nginx or php-fpm want to run worker processes under a different user account to isolate them from the main process. In those cases user namespaces are the best option. Too bad PrivateUsers= in systemd unit just does n
459.
▲
by
_0w8t
5y ago
These days systemd with its file descriptor store makes implementing live update of a service without dropping a single connection rather straightforward. But Nginx managed to do that on its own long time before systemd.
460.
▲
by
_0w8t
5y ago
Time in physics is similar to the number of a frame in video. For example, from two frames of a video of a thrown ball one can deduce the its whole trajectory. But it does now explain why when we see the video we see ball's movement. I
461.
▲
by
_0w8t
5y ago
Free will just cannot be described by physics. This is very similar to the perception of the time flow. Time in physics is static. There is no now. Surely one can plug any time value into physical equations, but that will not explain, for e
462.
▲
by
_0w8t
5y ago
In my opinion the moment POSIX shell is not enough, one better use more appropriate language than learning all Bash-specific syntax rules and exceptions. And with containers bash may not be even there.
463.
▲
by
_0w8t
5y ago
If one uses a webview, then typically there is JavaScript running there that does non-trivial things. So the application becomes a mixture of JS and Flutter. That already defeats the goal of using a single language and framework to develop
464.
▲
by
_0w8t
5y ago
This uses Bash extension not available in POSIX. Bash also has lastpipe shopt that helps when one needs to read from a process. To stay compatible with POSIX one needs to use either named pipes or extra file discriptors to communicate from
465.
▲
by
_0w8t
5y ago
I just use separated ssh-agent with separated keys when I may need to forward the agent. For example, to deploy things to a production host from a build host I login to the build host using the agent with the production key and push things
466.
▲
by
_0w8t
5y ago
Yep. Webview itself is a cross-platform way to develop things. Adding few native UI elements in addition should not take much efforts. Flutter is when one do not want to use Webview in the first place.
467.
▲
by
_0w8t
5y ago
I am extremely skeptical about precise numbers in medicine. The biology just does not work in that way. And it does no matter if the number comes from HN comments or peer-reviewed journal article. It signals that with very high probability
468.
▲
by
_0w8t
5y ago
I was wrong with vitamin C, it was vitamin A deficiency that is correlated with severe symptoms, https://pubmed.ncbi.nlm.nih.gov/28282701/ And given that precise numbers like 93% is meaningless. One should either give
469.
▲
by
_0w8t
5y ago
v6 128-bit address was an attempt to simplify the routing. The was fear that with big routing tables that v4 stated to require 25 years ago the performance would collapse. In practice it never became an issue. Yet with smaller address space
470.
▲
by
_0w8t
5y ago
Thanks for the links. “About 93%” is much more sensible then 93%. As for vitamins there was an old study [1] : Child mortality due to measles is 200 to 400 times greater in malnourished children in less developed countries than those in dev
471.
▲
by
_0w8t
5y ago
I wish v6 just tried to fix things. The problem with v6 was that it also tried to do thing in a right way and broke too much compatibility. And then it turned out what was right in 1995 was no longer so for the last 10 years.
472.
▲
by
_0w8t
5y ago
Can you give a source for that 93% efficiency of measles vaccine? Accuracy for 2 digits is very suspicious. Measles symptoms depend strongly on nutrition deficiencies with insufficient vitamin C being especially bad. If that is not the case
473.
▲
by
_0w8t
5y ago
With Typescript you need to add an extra compilation step. With that one can just as well not to embed JavaScript but write in the original language. Teal has an advantage that the typed language can be translated into Lua at runtime so dur
474.
▲
by
_0w8t
5y ago
Erdogan may use Putin when it suits him, but when the interests no longer allies, he has no problems acting very much against Russia wishes. Like it was in the recent war between Armenia and Azerbaijan or when Turkey sells weapons to Ukrain
475.
▲
by
_0w8t
5y ago
vi-style editing is fast only if one can touch-type. If not, it is not faster. Its plus is the consistency of keybindings across platforms, but even then on international keyboard layouts it is not ideal (or just bad) and requires a lot of
476.
▲
by
_0w8t
5y ago
Nothing in Ada made it impossible to use it on PC or similar devices. And performance of its compiled code was similar to that of C code if not better. And some of its features like ability to return from a function a dynamically-sized stac
477.
▲
by
_0w8t
5y ago
This is simply not true. For example Ada was much more memory safe than C/C++ and existed from eighties.
478.
▲
by
_0w8t
5y ago
It is hard to write in Rust style in C++ since many libraries are hostile to it. Iterators require at least two mutable references or mixing mutable and non-mutable references. Move-only types require a lot of boiler plate and accidental us
479.
▲
by
_0w8t
5y ago
Alternatively one can do the same that Mozilla does for a few components in Firefox [1]. That is, sandbox C/C++ libraries/components at the compilation time so memory-safety bugs will not be able to escape the sandbox. The big plu
480.
▲
by
_0w8t
5y ago
x86 makes decoders way more complex than fixed-width instruction set. In turn this leads to hacks like hyperthreading to allow to make decoders to run in parallel and utilize the whole core. Notice how it is absent from M1 since Apple was a
More ›