Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zlynx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
zlynx
8y ago
I heard rumors that Intel set up a research group to fix this in hardware as soon as the Spectre exploit showed up. Mill may be cool and all but x86 isn't going anywhere. Although I think it'd be hilarious if Intel decided to brin
182.
▲
by
zlynx
8y ago
This kind of thing has been plenty annoying in C++ code. Things like switch, default, abort that used to catch RAM or CPU errors and provide useful information now get optimized away and execution continues in the face of impossible values.
183.
▲
by
zlynx
8y ago
It could be my 2017 Dell XPS 15. If I really want to extend battery life, forcing the CPU clock down to 800 MHz is a good idea.
184.
▲
by
zlynx
8y ago
It seems to me that's just a map[set_key]bool
185.
▲
by
zlynx
8y ago
I read it as using 50ms of CPU and it didn't say where. Using an extra 50 ms of server CPU happens all the time in my experience and no one seems to think this is a problem. At least not until they try to solve the C10K problem or surv
186.
▲
by
zlynx
8y ago
Wow. That's approaching the time for dolphins, whales and similar sea mammals. Of course, his record is without doing any work, unlike a dolphin which is swimming. Free divers are swimming though and their underwater time is very impre
187.
▲
by
zlynx
8y ago
Web developers start writing browser sniffers and ad-block complainer scripts so that your default browser becomes useless. If they can't force you to watch their ads they just want you to go away. I mean, just look at the backlash aga
188.
▲
by
zlynx
8y ago
Oh, people can abuse anything. Maybe they want their CSS all in-line at the top of the dynamic HTML. So they run the preprocessor during page generation on the server. Use a separate CSS via link tag? Oh no, I heard that was slow. Set expir
189.
▲
by
zlynx
8y ago
Why try to redefine the word "string?" In computer jargon I believe CISC and the PDP-11 have seniority. That's why all multi-word functions like memcpy are in C's string.h header.
190.
▲
by
zlynx
8y ago
Intel CPUs provide a crazy amount of performance counters. I bet that the numbers you want are in there somewhere. Look into the perf tool.
191.
▲
by
zlynx
8y ago
I'm surprised those laws exist. Running through red lights and stop signs looks like an excellent way to get killed. I certainly didn't expect it the last time I was going to turn right on red, with my signal on, and a cyclist ran
192.
▲
by
zlynx
8y ago
I guess we should all just force-set our C programs to the C locale.
193.
▲
by
zlynx
8y ago
Ah, cyclists. I probably only notice the bad ones. I've seen too many who feel they are above all the petty traffic law automobiles must follow. Like stop signs and red lights. I wouldn't call them patient.
194.
▲
by
zlynx
8y ago
Weird ISAs are exactly why you cannot compare pointers. Segmented memory for one. Or imagine an OS and compiler that implemented automatic overlay switching. With that and PAE on 32-bit x86 systems you could have special "far overlay&q
195.
▲
by
zlynx
8y ago
And running systemd-cgtop might help see what's going on.
196.
▲
by
zlynx
8y ago
Has anyone done research on cooling datacenters on the Moon?
197.
▲
by
zlynx
8y ago
This article is about Rust and Haiku, so maybe Haiku should look into building a Servo GUI layer. Rust and Servo are already good for massive multithreading, so that should fit into the Haiku expectations pretty well.
198.
▲
by
zlynx
8y ago
It's a good idea, but making it a felony is not. Is everything going to be a felony these days? Why? It attaches serious long term consequences, because a FELONY is widely regarded as a crime of direct, major harm against a person. Fly
199.
▲
by
zlynx
8y ago
So problems with suspend aren't Windows. It's cheap crap laptops. Yep.
200.
▲
by
zlynx
8y ago
reinterpret_cast in C++ should be read by the programmer as "UNSAFE CODE HERE!!!" It is prone to aliasing issues and all kinds of other problems. In C code, any cast at all, of any kind, should be viewed with the utmost suspicion.
201.
▲
by
zlynx
8y ago
It's such a cyberpunk trope that in pretty much every RPG I've played in or heard of set in Cyberpunk or Shadowrun, everyone knows not to trust the client. It's actually a surprise when they don't betray you. And if th
202.
▲
by
zlynx
8y ago
I don't think it's meant to be run on a phone. It uses 580 MB of RAM in a Chrome tab and quite a lot of CPU when rotating, zooming or moving around. I just tried it and on this Linux laptop, in Chrome, on an Intel iGPU, it perform
203.
▲
by
zlynx
8y ago
Haiku is also one of the best performers in a virtual Spice display. It feels faster and more responsive than a virtualized Fedora or Ubuntu.
204.
▲
by
zlynx
8y ago
They are better at load times. Just not 2x better.
205.
▲
by
zlynx
8y ago
Just like people running open WiFi access points getting upset about anyone reading their packets. They don't think about what they can't see. A building that doesn't block radio and IR (and others) is essentially transparent
206.
▲
by
zlynx
8y ago
You should have tried Fedora with Wayland Gnome. Its been working pretty well with HiDPI since F-25 and it's F-28 now. Fedora still has some issues with mixing 1x and 2x DPI screens, but heh, so does Windows. And yeah, you still have t
207.
▲
by
zlynx
8y ago
With water cooling and 400 watts per socket, why not?
208.
▲
by
zlynx
8y ago
Implement security properly and stop worrying about it. If your devices have open services with vulnerabilities. AND You completely forgot or didn't bother to use a firewall. AND Your devices are using permanent instead of temporary IP
209.
▲
by
zlynx
8y ago
PC cases come in all kinds of shapes. You can get them shaped like yachts or the starship Enterprise. As long as it has enough space to fit the board in there anything goes. You probably can't buy one from Dell or HP like that but look
210.
▲
by
zlynx
8y ago
No icon anywhere is intuitive. They're all learned. Once you've hovered over the icon and learned its meaning then you can recognize it by the picture.
More ›