Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zlynx
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
zlynx
5y ago
If you have a web API that returns a 200 OK with a JSON object with a missing entry when an item is not found, instead of a 404 error, then you have a bug in your API. But you cannot allow it to change because your users are relying on the
2.
▲
by
zlynx
5y ago
The people who matter, who write init scripts, in other words the distro maintainers, were happy to switch. Why else do you think so many distributions switched? Yes, the resistance is noisy and stubborn Unix neckbeards. Not even Unix, sinc
3.
▲
by
zlynx
5y ago
The journalctl binary format seems to handle corruption pretty well. That was a design criteria. Everyone forgets or tries to ignore that text files ARE A BINARY FORMAT. It is encoded in 7-bit ASCII with records delimited by 0x0a bytes. Cor
4.
▲
by
zlynx
5y ago
That isn't exactly switching engines. That's the Vulkan renderer they're working on. It is a component of the same engine they're already using.
5.
▲
by
zlynx
5y ago
LOL! No, the HDD never was reasonably fast. Our expectations changed. I booted up an old Windows XP box about two years ago before recycling it. It took almost TWO MINUTES to finish booting to the desktop. Some kind of fairly standard 500 G
6.
▲
by
zlynx
5y ago
I have a Windows virtual machine that was doing this to me a lot, and making Ubuntu reboots take a long time, and then requiring a disk check after the unclean shutdown. I found a registry key that tells Windows to force stop apps that bloc
7.
▲
by
zlynx
5y ago
Not counting BIOS time it is about 5 seconds to Windows login on my Windows with NVMe systems. It does take about 20 seconds after login for it to finish loading all of the tiny startup notification icons, but that's actually intention
8.
▲
by
zlynx
5y ago
I believe the benefits of cryptocurrency outweigh problems. I like having options that can be anonymous, don't require banks, immune to government influence, and even completely outside any law. Because laws are not always moral and
9.
▲
by
zlynx
5y ago
Old tools stay around because they are good tools. See windbg also.
10.
▲
by
zlynx
5y ago
But it would be transpiled so the programmer would never need to look at the very ugly stuff. The idea reminds me of the original asm.js
11.
▲
by
zlynx
5y ago
> Wouldn’t all sequence points executed before undefined behavior is encountered be required to occur as if the undefined behavior wasn’t there? It would seem so: No. Code optimization is a series of logic proofs. It is like playing Mine
12.
▲
by
zlynx
5y ago
Your other choices are: - Never GC via using object pools. This code is nastier than C++ because Java is not intended to be used this way. - GC whenever needed randomly. The game will just pause occasionally. Very annoying as a player. - Wr
13.
▲
by
zlynx
5y ago
It is about making money. Starlink is a money generating system that makes use of low cost launch made possible by SpaceX. If it does use up most of the low orbit space it is because SpaceX is the only company that is even capable of launch
14.
▲
by
zlynx
5y ago
Build better walls. Don't try to outlaw people "looking at you", no matter what frequency they use. I find it equally ridiculous to try to outlaw software radio that might listen to "unapproved" radio bands, or list
15.
▲
by
zlynx
5y ago
Copy-on-write is exactly what G++ and libstdc++ did with std::string before C++11 changed the spec. And it was terrible and full of bugs. I remember how I had to solve a pile of thread bugs in a C++ project by changing string assignments in
16.
▲
by
zlynx
5y ago
Some applications using OpenGL or Vulkan and Wayland compositing end up with latency related to one or two frames of the screen refresh. Which means that characters appear onscreen much faster on a 144 or 240 Hz display. Not really a surpri
17.
▲
by
zlynx
5y ago
I like to nitpick and point out gets() can be used safely, as a stunt. Memory map a read/write page and after that memory map a no-permissions guard page. Now you can safely use gets() to read a page size string without allowing a buff
18.
▲
by
zlynx
5y ago
In relativity, everything is relative. You can choose any "rest frame" that you like and all the math still works out. For the star, from its point of view its mass has not changed at all. So yes fusion still works.
19.
▲
by
zlynx
5y ago
Yes, if allocation failure is not tested, it is not likely to work correctly. SQLite is also famous for its strict and complete test sets.
20.
▲
by
zlynx
5y ago
Being good as headphones does not necessarily make a headset bad as a microphone. I have a set of Bluetooth Plantronics Backbeat PRO. There is no boom mic, but everyone I have talked to on cell phone with them has said they sound good. Even
21.
▲
by
zlynx
5y ago
I have had to help a few Unix newbies, and systemd is way easier to explain than RedHat init scripts with comment blocks for chkconfig and no useful errors if things are wrong. The biggest problem I remember now is that when testing your in
22.
▲
by
zlynx
5y ago
These tools are mostly useless because they take time to discover and learn to use. In the meantime you could have solved the problem. Developers who waste all their time searching for a magic tool are not productive. They're also ofte
23.
▲
by
zlynx
5y ago
Latency often does increase with new generations of RAM. But remember to compensate latency cycle counts with the faster cycles of higher speed RAM. Often the absolute time in nanoseconds hasn't changed as much as the cycle count numbe
24.
▲
by
zlynx
5y ago
From what I have seen the available spare value will decrease rapidly near end of life. As Flash cells start to fail they are replaced by spare. Because of write leveling this is delayed for a while, but then as each cell reaches its 300 or
25.
▲
by
zlynx
6y ago
Many people are happy to save $100 in exchange for not having 8 USB ports. Or $300 to not have dual 10G Ethernet ports. If you aren't getting "adequate rear I/O" then go looking for a prebuilt Threadripper Pro system wit
26.
▲
by
zlynx
6y ago
Goroutines had excellent context switching back when Go preferred to run in a single thread. Version 1.3 or so? Now that Go defaults to multiple threads it has lost all of that advantage. Goroutine switching and channel send/receive ha
27.
▲
by
zlynx
6y ago
Why not? The fuel is next to the launch site, before they put it into the rocket. It can be protected from exploding rockets by berms, concrete, etc. It isn't as if an exploding rocket is a shaped charge; the force of an explosion woul
28.
▲
by
zlynx
6y ago
Postgres has some features that are excellent for logging. For example, instead of inserting everything into a log table and deleting old entries and needing to vacuum things, use a partitioned table and just DROP entire partitions when the
29.
▲
by
zlynx
6y ago
You need Secure Boot or something like it to start the security chain when using a TPM to save keys to unlock the hard drive, for example. The TPM can be used to verify that the next boot stage has not been compromised, but it cannot do the
30.
▲
by
zlynx
6y ago
It is almost 5 years old and several generations back. Perhaps not "ancient" but it's aging. From the 480 there was the 580, Vega 56/64/VII, RX 5700 and now the 6800. From a few random benchmark site checks online t
More ›