Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zlynx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
zlynx
6y ago
I think you mean GLib as seen here https://developer.gnome.org/glib/stable/glib-Strings.html GLib and GTK are closely aligned parts of GNOME so they are easy to get mixed up.
32.
▲
by
zlynx
6y ago
From my experience (not with amazon) these strange chunk sizes come from non-blocking IO. When a source gets some data and triggers select/poll/epoll/whatever, the callback (or equivalent) immediately writes it out as a chunk
33.
▲
by
zlynx
6y ago
That's why PulseAudio and PipeWire run as real-time. Or they should. Back when Pulse was new and I was running Gentoo I used to help other Gentoo users get their real-time settings correct. I believe we used rtprio in limits.conf. I do
34.
▲
by
zlynx
6y ago
Profiling is essential. I found a performance bug in calling some C++ functions a while ago, because they accepted a const std::string& and were being called in loops with a C const char*. Every single call had to construct a std::strin
35.
▲
by
zlynx
6y ago
It is far more likely that a DRAM chip will start going bad over time. Unlike solar flares this will definitely cause you problems. Over 25 years I have experienced this in two different computers. Unless you live at high altitude. When I l
36.
▲
by
zlynx
6y ago
Tolkien's Lord of the Rings was a huge influence on fantasy and MUDs. I don't know which one you used to play. I used to play MUME (currently at https://mume.org/ ) My brother still plays sometimes. He has a lot o
37.
▲
by
zlynx
6y ago
Windows also has 20 years of horrible hacks where the DLL loader will intercept or binary patch old, buggy copies of bundled libraries.
38.
▲
by
zlynx
6y ago
I am not using the beta version of K-9. I was able to make it work mostly correctly on Android 11 by setting it to "Not Optimized" in the battery power permissions. That will allow it to run in the background. It seems to be able
39.
▲
by
zlynx
6y ago
I am certain you are right and C++ could be used. If you combined it with a strong theorem proof language. But then, that's a large part of what Rust is so . . .
40.
▲
by
zlynx
6y ago
SMART monitoring. In my experience the SMART data on SSDs is pretty good at pointing to failures. Either that or the SSD simply disappears from the system. But that happens to HDDs also.
41.
▲
by
zlynx
6y ago
Not quite how it works. The SSD will never have a capacity lower than its rated capacity. For the failures I've seen, once the SSD goes to do a write operation and there's no free blocks left, it will lock into read-only mode. And
42.
▲
by
zlynx
6y ago
For containers Go static binaries are great. Used to build Docker containers for Kubernetes using a 8 MB Go binary. That was all you needed. No libraries. No "minimum OS' Alpine or Ubuntu image.
43.
▲
by
zlynx
6y ago
The X11 protocol allows any client connected to the server to become a keylogger or insert input events. So, even a X11 client trapped in a sandbox or another user account has full access.
44.
▲
by
zlynx
6y ago
That is your default Linux configuration. The distros tend to err on the side of functional systems but higher power use. Start tweaking things like the stuff found in powertop. If your hardware is pretty standard Intel stuff you can get ve
45.
▲
by
zlynx
6y ago
There were a few experimental HTTP/2 over SCTP implementations. It worked pretty well. But since the current NAT infested Internet requires smuggling SCTP over UDP anyway you may as well go all out and use QUIC which collapses the vari
46.
▲
by
zlynx
6y ago
You can do it by hand with the dism tool like so, Dism /Split-Image /ImageFile:C:\folder_name\sources\install.wim /SWMFile:C:\folder_name\sources\install.swm /FileSize:3800 I copied that from a ZDnet article wit
47.
▲
by
zlynx
6y ago
IF that was actually the case then law enforcement would be involved and Parler would follow their instructions. As they have in the past.
48.
▲
by
zlynx
6y ago
The Denver, CO Microcenter gets about 20 5950X chips every week it seems. Many more of the other models, of course. It took me a while of waiting but I finally got mine a couple of weeks ago. It is pretty nice. Since the chips sell out in t
49.
▲
by
zlynx
6y ago
It isn't only cosmic rays. Regular old radiation can also cause it. I've read about a server that had many repeated problems and the techs replaced the entire motherboard at one point. Then one of them brought in his personal Geig
50.
▲
by
zlynx
6y ago
Or your static page could have a link to a comments page. Which is also static. It is pretty trivial to generate a new static page which includes the new comment. You do want some kind of database. A SQLite file works fine.
51.
▲
by
zlynx
6y ago
On the first hand, I really appreciate the 30 - 40 hours of battery runtime my Pixel 5 has now. Restricting background apps is a big part of this.
52.
▲
by
zlynx
6y ago
Except when handling an error condition from a hard to test system call that was previously ignored. Being forced into stupid tricks like adding five useless log statements so that the CI tool doesn't block your change is ... annoying.
53.
▲
by
zlynx
6y ago
In my personal experience, BBR with SACK works pretty well even on fairly bad connections. It still slows way down but not as badly as others like Cubic. That was with BitTorrent uploads of Linux ISOs to Taiwan. (Why do they download so man
54.
▲
by
zlynx
6y ago
Now that is something I wish all the social media platforms would enforce on their moderator staff. Every ban should be accompanied with at least one sentence of explanation, a quote from the relevant law or ToS, and the text or image (with
55.
▲
by
zlynx
6y ago
I wonder if Smart Memory is even using PCIe 4? Remember AMD uses the PCIe lanes for interconnect between two EPYC CPUs. It's supposedly very similar to PCIe but a bit higher speed. Smart Memory could then be as efficient as cross-CPU E
56.
▲
by
zlynx
6y ago
This depends on the user. Personally I never minded the extra frame of latency. And some of the newer Gnome desktops have even removed that, thanks to some tricky work by one guy, as I understand it. I may have misunderstood the explanation
57.
▲
by
zlynx
6y ago
Of course that was fair. All of the tricks Buffet jumped through to get his taxes that low were intended to encourage that behavior, whatever it was. So his reinvestment of profits in the company, investments in clean energy, contributions
58.
▲
by
zlynx
6y ago
"contributing fairly" sounds good but is meaningless. There are too many competing definitions of "fair."
59.
▲
by
zlynx
6y ago
I don't think it is important how secrets come to light. It is only important if they are true or not. Sure, Russian Intelligence may have hacked my politicians computers. Or Russian teenagers. Or American teenagers. Or American jour
60.
▲
by
zlynx
6y ago
When you think about the logic of what you said, it is pretty silly. Without ECC RAM, how would you know that you had a single bit flip? How would you know that you needed ECC RAM? When you talk to people who run server systems, you'll
More ›