Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phicoh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
241.
▲
by
phicoh
5y ago
There is a saying that you can make any program run fast if you don't care about correctness. We have reached the point where C programmers cannot understand the language/compiler anymore. Given that this has been going on for a l
242.
▲
by
phicoh
5y ago
One thing that is not mentioned in the article, is that next to undefined behavior, there is also implementation defined behavior. For example, if signed integer overflow would be implementation defined behavior, then any weirdness would be
243.
▲
by
phicoh
5y ago
It seems to me a flaw in a language and in a compiler if the average programmer has to avoid higher levels of optimizating because it cannot be predicted what they do.
244.
▲
by
phicoh
5y ago
If your project can be written in Python or Go, then yes, do that. I don't think Rust is trying to compete with Python or Go. However, if the project needs a low-level language. Then skip C and C++ and use Rust. Almost from the start,
245.
▲
by
phicoh
5y ago
Using C instead of Rust is similar to rolling your own crypto because openssl is too hard. There are easy languages like Python or Go. But they are not suitable for many low-level, high performance tasks. Rust is competing in the domain of
246.
▲
by
phicoh
5y ago
I'm just saying, that if your claims have obvious solutions, then the community has no need for your patent. The patent has to solve something that is not obvious. For the community, it is only worth granting a patent if the community
247.
▲
by
phicoh
5y ago
In my opinion that's not what patents are about. Patents are about how to do something. The obvious purpose is that revealing your patent advances the state of the art. Otherwise, why would the community grant a relatively long term (a
248.
▲
by
phicoh
5y ago
I hope that in the future, new code written is C will be seen as similar to using unencrypted communication on the Internet. It is not about how easy is it to write rust. It is about how, as a C programmer you are going to explain that your
249.
▲
by
phicoh
5y ago
I think the test is simple: give a bunch of experts the claims in the patent and not how the patent implements the claim. If the experts can find a way to implement the claim in a relatively short period, then the claim is obvious and shoul
250.
▲
by
phicoh
5y ago
https://webkaart.hoogspanningsnet.com/index2.php#10/51.3795/... It seems that Zeeland has a connection within The Netherlands as well. I thought that on average The Netherlands is exporting power to Belgium.
251.
▲
by
phicoh
5y ago
It is extermely unlikely that The Netherlands will build two new reactors. My interpretation is that two political parties keep bringing up nuclear power to basically derail the discussion on how the Dutch government is not doing enough wit
252.
▲
by
phicoh
5y ago
The Netherlands had a similar thing for a while. From age 16, teens can get a moped license. Within the moped class there are tiny 4 wheeled vehicles. Mostly a continued development of tiny cars used by people with disabilities. Then somebo
253.
▲
by
phicoh
5y ago
It is nice to see the effect of 0-RTT in QUIC. In quite a few graphs the HTTP3 times for the small Site has one dot roughly at the same level as HTTP2. This probably the first connection. The rest gets 0-RTT.
254.
▲
by
phicoh
5y ago
Carbon tax works fine if politians are willing to stick to it. First set some goals and make sure that those goals need to be met. For example, 0 net CO2 emissions in 2050, 50% less than 1990 emissions in 2030. Then announce that each year,
255.
▲
by
phicoh
5y ago
There is an interesting thing related to the recent floods that happened in Begium, Germany and The Netherlands. The Netherlands spends quite a bit of effort estimating flood risks, and for more important water defenses tries to get the cha
256.
▲
by
phicoh
5y ago
There is one thing I don't understand about the article. The rise in groundwater level should follow the average increase in sea level. It is not like a big wave would suddenly affect the groundwater level. Assuming houses last for 50
257.
▲
by
phicoh
5y ago
The default for the X server was for a long time that everybody on the internet could connect. From today's perspective a bizar situation. Back then, when you logged in on an another computer, you only had to forward the DISPLAY envirn
258.
▲
by
phicoh
5y ago
Copyright is something that is granted by the general public because as a whole everybody benefits from new works. This has been subverted in Europe, in that artists are entitled to have control over their works in ways other people don
259.
▲
by
phicoh
5y ago
If I remember correctly, there is a study done by Mozilla, that showed that for the long tail, DoH is faster. For the common case it is slower. Nobody really knows why that is the case. Maybe some ISPs don't spend as much time optimizi
260.
▲
by
phicoh
5y ago
People have created DNS problems since the early days of DNS. For example, in the Slack case, they found that they had a 'CNAME at APEX' which caused problems. That construction has been invalid since the beginning of DNS. People
261.
▲
by
phicoh
5y ago
There are a number of issues: 1) https:/<ip-addr>/ requires PKI a certificate type that is currently not in use. It is not clear how hard it is to have those types of certificates at a large scale. 2) https is more costly (i
262.
▲
by
phicoh
5y ago
You are right. After I wrote my text, I realised that there must have been some kind of paging. Of course, with 8 Kbyte pages in a 64 Kbytes it is not the same granularity as today. Imagine unmapping one page to keep the stack separate from
263.
▲
by
phicoh
5y ago
You probably want a virtual filesystem as well. You may want kernel modules. For anything that is not a completely static server you may want some kind of devfs. Then there is the issue of graphics output. Virtual machines require a bit of
264.
▲
by
phicoh
5y ago
The way Andy Tanenbaum tells the story is that he wanted to make sure that every student who got a copy of the operating systems book, would also get a copy of the source and binaries of MINIX. For this reason he insisted that the publisher
265.
▲
by
phicoh
5y ago
The pdp-11 had a very primitive virtual memory system. It was not page based. So you had to swap in and out entire processes (with seperate instruction and data you could leave the program in memory, swap out data, and swap in data from ano
266.
▲
by
phicoh
5y ago
I'm a bit confused about the 3rd paragraph. As far as I know, you had to have a v6 license for BSD not a v7. I think BSD independently implemented v7 functionality. There also the license change going from v6 to v7. With v7, universiti
267.
▲
by
phicoh
5y ago
Indeed, with such a 'post and beam' construction, a wooden house can last for 400 years (at least, where I live the oldest houses are around the age). That said, in 1669, Amsterdam no longer allowed outside walls made of wood due
268.
▲
by
phicoh
5y ago
The problem is cost. Technically it is quite possible to produce hydrocarbons today. In theory a government could mandate, for example, 25% green hydrocarbons in fuel in 2030. In practice, nobody will do that because that is political suici
269.
▲
by
phicoh
5y ago
The suprising thing is not that houses are expensive in Amsterdam (though 500K buys quite a bit of house just outside of Amsterdam), but that houses are unaffordable for average people throughout The Netherlands. It seems obvious to blame l
270.
▲
by
phicoh
5y ago
Most browser vendors do business in the EU. And governments in general have a right to set standards for products and services. In some sense, Firefox could be an exception, because Mozilla doesn't seem to do a lot of advertising in th
More ›