Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zlynx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
zlynx
8y ago
If you have dual stack, any A record will get used some of the time. It's part of Happy Eyeballs. I suppose that you could add a long artificial delay to the IPv4 service.
212.
▲
by
zlynx
8y ago
You'd think that CMS developers would take a hint and copy the CSS that reader view uses. But no, they continue to be useless. "We put this 800px wide image in here and dag gone it, we want you to SEE THE WHOLE THING."
213.
▲
by
zlynx
8y ago
The sustained write performance is why you might buy a Samsung PRO model. The PRO models have a lower burst write but can sustain high write speeds indefinitely, while the EVO model's speed crashes when it hits the limit.
214.
▲
by
zlynx
8y ago
There were hand-coded assembly loops that were 3-4 times faster than x86, using Itanium's predicates and rolling register windows. But I guess you said mainstream. So unless you count database engines, I suppose the answer is "No.
215.
▲
by
zlynx
8y ago
Well, from that spec: "When multiple goroutines access a shared variable v, they must use synchronization events to establish happens-before conditions that ensure reads observe the desired writes." However, that very specifically
216.
▲
by
zlynx
8y ago
I'm not sure where you got that information? Go's goroutines launch on threads when multiple CPUs are available. They have all the race conditions of C code. Memory writes certainly are visible on other goroutines.
217.
▲
by
zlynx
8y ago
gnome-terminal never felt slow to me. I tried out a few of these other terminals and honestly, alacritty and terminology and gnome-terminal all feel exactly the same.
218.
▲
by
zlynx
8y ago
I agree. The ligature thing looks neat at first but I have spent far too many years looking at regular ASCII text. I mean, spot the difference between ==, = and =. Or <= and ≤. I especially hate != as ≠. And since at some point we have t
219.
▲
by
zlynx
9y ago
Many people, myself included, feel DHCPv6 is a silly idea and should go away. IPv6 was designed to not need it, and continuing to use DHCP is just inertia and a desire to keep doing things in the same old way. As I recall originally everyon
220.
▲
by
zlynx
9y ago
So, fix the question. If the question is "why do I get a segfault?" and we find out he's trying to write C code to title-case a string in-place, and he's passed in a string literal, we can edit the question to "Why
221.
▲
by
zlynx
9y ago
But you have to go back to what people were doing when the law was written. The law was written using the commonly understood meanings of that time. The meaning of a law shouldn't change just because people start using words differentl
222.
▲
by
zlynx
9y ago
I wonder if "non-transferable" covers tricks like Apple loaning AMD the cash for AMD to buy Apple. Then renaming the new AMD to Apple. Then it would pay itself back for the loans.
223.
▲
by
zlynx
9y ago
From what I've heard, x86 to PPC or ARM emulators are doing dynamic recompiling and instrumentation. It catches the illegal memory accesses and rebuilds the code responsible to add paths with slower code with alignment compensation. A
224.
▲
by
zlynx
9y ago
Just ruthlessly drop QUIC packets that are over the flow control limits. It will adapt. Playing games with TCP settings is fun I guess, but simple RED with ECN and drop work well with fewer bad side-effects. Every Internet protocol expects
225.
▲
by
zlynx
9y ago
Who just walks out in front of headlights on a dark street at night? Who DOES THAT? This appears to me to be a suicide.
226.
▲
by
zlynx
9y ago
I don't believe that this counts as a 0-day since the patch was created and released two to three weeks ago.
227.
▲
by
zlynx
9y ago
That makes zero sense. Loss prevention? The only thing I can imagine is if they're selling stuff with visible online registration codes. And I thought everyone stopped doing that years ago. At any rate, it's either just a few Best
228.
▲
by
zlynx
9y ago
A variant of that I've seen in many small 1990s C apps is create a huge struct with all the program data in it, with fixed size arrays of things big enough so that's all you ever need, and just declare one global struct. It was on
229.
▲
by
zlynx
9y ago
My theory on Slack's ridiculous CPU use is animated graphics. If some of those are on the screen the CPU use is at least 10%.
230.
▲
by
zlynx
9y ago
Serverless really needs to work on their latency I think. Things will be going great and then there's the oddly weird 2 second delay. I guess it is bringing up a new server or container to run the lambda in. Whereas with your own (or w
231.
▲
by
zlynx
9y ago
From what I've seen with serverless, it doesn't look that hard to build your own runtime for it if you did want to run outside of your vendor and avoid lock-in. It would turn your stuff back into a stack of containers, of course.
232.
▲
by
zlynx
9y ago
And if the organization does decide to have a "one official system" then it will need 118 option parameters or weirdly specific virtual functions in a base class and become a disgusting, complex mess. Because "pretty much the
233.
▲
by
zlynx
9y ago
There are tons of games you can play with email. If it isn't signed with PGP or S/MIME or DKIM someone on either side can make it look like something completely different than the original. A bad actor can claim their edited copy
234.
▲
by
zlynx
9y ago
That speed is surprising to me considering that the EPYC is supposed to have 128 PCIe lanes. I think that you should check the motherboard manual, if you have one, or contact the manufacturer, and see how the board's PCIe is laid out.
235.
▲
by
zlynx
9y ago
C appears easy to learn. C++ a bit harder, but learnable. What isn't easy to learn is all the horrible ways C is broken. Don't return addresses to local variables. Remember realloc can change the location pointer. Don't use
236.
▲
by
zlynx
9y ago
Yes indeed. If I could crash middle-boxes by sending them malformed TCP streams, I would do it all day long.
237.
▲
by
zlynx
9y ago
I'm also running a server on a Comcast business service with a static IP. My service has been really stable. This must vary on area. Also it seems if you're on business class, the techs take you more seriously. When I did have s
238.
▲
by
zlynx
9y ago
I was going to say that my Firefox on Fedora 27 works really well, but now I realize I did set that force-enabled setting. I have no idea how it works without acceleration.
239.
▲
by
zlynx
9y ago
I have Firefox, Chrome and Edge on my Surface Pro 4. I prefer using Edge there because it's touch gestures seem to work better. Firefox works just fine, but I feel it is more difficult than it should be to hit the tab close buttons wit
240.
▲
by
zlynx
9y ago
HP wanted to replace PA-RISC and that was big-endian. Intel of course wanted little-endian. That's why Itanium was selectable.
More ›