Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
clausecker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
clausecker
3y ago
Most of the pools have the option to put ropes in. However, for some pools they're only installed some days of the week so you can pick a day based on whether you want to play with your kids or swim laps. Other pools have the ropes al
92.
▲
by
clausecker
3y ago
This reads like the author is very close to rediscovering array oriented programming.
93.
▲
by
clausecker
3y ago
That's in fact the viewpoint Lorentz took when he discovered the Lorentz transform and relativity. He showed that you can make an ether (i.e. a preferred reference frame) consistent with the observations by applying Lorentz transforms
94.
▲
by
clausecker
3y ago
The PDP-11 has virtual memory with 8k pages. There are four address spaces of 64k each, one each for supervisor/kernel/user and for each of these text/data. This was extensively used with e.g. 2.11BSD to cram programs into
95.
▲
by
clausecker
3y ago
The whole segmented protected mode stuff was introduced with the 286 already. The 386 only added FS/GS and grew segments to 32 bits.
96.
▲
by
clausecker
3y ago
The PDP-11 had virtual memory in later models and could address more real memory than the 8086 afaik.
97.
▲
by
clausecker
3y ago
CMOV is very important for high-performance programming as it greatly simplifies the design of branchless code. There are workarounds, but they either involve conditional branches (you don't want these) or increase the critical path l
98.
▲
by
clausecker
3y ago
They may not, but pressure from large corporate interests often works wonders.
99.
▲
by
clausecker
3y ago
This one is as infamous as it is useful. Modern CPUs have the same instruction, but without the built-in loop (fused multiply-add). Likewise, modern CPUs have dedicated CRC instructions, ARM Thumb 2 famously has an instruction for case sta
100.
▲
by
clausecker
3y ago
It was for quite a while. Then Intel pulled ahead by going out of order and solving many hard engineering challenges that PowerPC processors did not solve as well.
101.
▲
by
clausecker
3y ago
They should do it the other way round: employer has to reimburse you for your commute and pay commute time as work time. Guess how quickly companies will put pressure on legislation to solve the housing problem.
102.
▲
by
clausecker
3y ago
I'm okay with these business models failing.
103.
▲
by
clausecker
3y ago
I've been thinking about buying one of these. Unfortunately they do not seem to support SVE, which is a showstopper for me. I wonder when we'll get the first affordable systems that have it.
104.
▲
by
clausecker
3y ago
Pyrex still uses borosilicate glass in Europe (or so it appears).
105.
▲
by
clausecker
3y ago
Last time I checked it was a duopoly now. One company is Midea, the other is Galanz. However, some companies (like Panasonic) still make their own high-end microwaves.
106.
▲
by
clausecker
3y ago
The rant is not about layering being wrong, but rather that OSI is unsuitable to describe the layering of modern computer networks. In an earlier text, he said it's as if college taught you what the parts of a horse-drawn carriage are
107.
▲
by
clausecker
3y ago
In Germany, they are alive and well with new hackerspaces being founded frequently. There was a pretty big slog due to the Corona restrictions, but it's slowly all coming back.
108.
▲
by
clausecker
3y ago
I mean isn't that the whole point of AGPL? That you can't make a webservice with AGPL components without releasing the whole source of your webservice? I'll file that under “works as intended.”
109.
▲
by
clausecker
3y ago
That article was about a Latin 1 to UTF-8 routine, while this one is about UTF-8 from/to UTF-16.
110.
▲
by
clausecker
3y ago
Simutf is designed for performance. The function is designed for you to provide a buffer of sufficient length. It will return the number of bytes it actually needed. You can call utf8_length_from_latin1 to find the required buffer length
111.
▲
by
clausecker
3y ago
The algorithms described in the paper all perform input validation and transcode until the first encoding error or until end of input, whichever comes first. They also tell you how much of the input they transcoded, so it's indeed qui
112.
▲
by
clausecker
3y ago
Author here. Please let me know if you have any questions.