Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phicoh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
phicoh
3y ago
You left out the part where Microsoft offered to IBM to create an operating system and then bought https://en.wikipedia.org/wiki/86-DOS which was written because Digital Research didn't release CP/M for the 8
122.
▲
by
phicoh
3y ago
It is my impression (as an outsider watching CF) that they have a bit of a not-invented-here problem. So if CF already has a culture of rewriting things, then rewriting it in Rust is not such a bad idea. The problem is more that rewriting c
123.
▲
by
phicoh
3y ago
Rustls claims to support TLS 1.2 as well ( https://github.com/rustls/rustls )
124.
▲
by
phicoh
3y ago
There is a huge amount of C programs and libraries that were written in C because back then it was the best tool for the job. A lot of people are not convinced about C++, but for many things that were written in C, Rust is now a good option
125.
▲
by
phicoh
3y ago
It is very nice that those languages have those features. But it is quite rare that people who are used to C or Python code bases are switching to those languages. In particular a strong point of Rust is that C programmers feel comfortable
126.
▲
by
phicoh
3y ago
Some classical programming languages that don't suffer from buffer overflow or memory allocation issues, but are horribly unsafe due to type (and other issues) are shell scripts and, at least, early versions of php. Weak type checking
127.
▲
by
phicoh
3y ago
Rust has other advantages as well. For example, a common error when something goes wrong in Python is that a 'None' value ends up somewhere where it shouldn't be. Typically this None has traveled quite a while before some cod
128.
▲
by
phicoh
3y ago
This attitude doesn't help when typically in a collision, the cyclist needs medical treatment. Traffic is a complex real-time action game where there are serious consequences if people make mistakes. So the best approach is to be predi
129.
▲
by
phicoh
3y ago
I don't know what farmers are up against in all countries. There are certainly lots of things wrong in the overall markets for agricultural goods. However, in The Netherlands it basically seems that they protest for a right to pollute.
130.
▲
by
phicoh
3y ago
Sometimes regulation can help an industry forward quite a bit. For example when a cleaner technology requires massive investments, but nobody wants to be first. When there is a clear cut-off date, like with ICE cars in the EU, then manufact
131.
▲
by
phicoh
3y ago
For me, there are regularly situations that I get a message on my phone but it is not convenient to get out the phone. Looking at the watch is then quite handy. Similarly in a noisy environment I sometimes miss a notification. The buzz of t
132.
▲
by
phicoh
3y ago
A difference is that the FreeBSD has to maintain two versions most of the time and sometimes three versions. At the moment there are 12.x and 13.x. 14.x is in beta, so soon there will be three. But 12.x is expected to be dropped at the end
133.
▲
by
phicoh
3y ago
I find partial IPv6 support quite useful. For example, at home I have a lot of services where it it convenient if I can access them but it is not essential. I give those services IPv6 addresses. I have IPv6 at home, at work, on mobile. So i
134.
▲
by
phicoh
3y ago
That is fine. You can't really call it an externality if there is a fine for refinancing at a lower interest rate. All that matters is that the original lender collects a suitable fine when the mortgage is terminated.
135.
▲
by
phicoh
3y ago
The Netherlands had for a while a very popular mortgage where you only pay interest. So in effect an infinite mortgage. (It now less popular for tax reasons). The reasons that works is that in a 30 year period (in The Netherlands), prices o
136.
▲
by
phicoh
3y ago
In The Netherlands, long term mortgages (mine is 20 years fix interest at the moment) come and go. If interest rates are likely to go up, it typically doesn't make sense to have a long fix interest period. It will cost a huge premium i
137.
▲
by
phicoh
3y ago
It depends on your local housing market, but for example in The Netherlands, there is enough demand for houses, whether to rent or to buy, that when you rent you do pay all of those taxes, maintenance, etc. It is just part of the rent. I ha
138.
▲
by
phicoh
3y ago
It seems that refrigerants get a lot of bad press. In particular in heatpumps. Nobody seems to really cares about the gasses used in refrigerators or aircos in cars. Obviously, it is good to ban particularly bad gasses. Freon because of its
139.
▲
by
phicoh
3y ago
I don't know the projected number for Germany in 2050, but 10 locations could mean that you would need 30 GW per location (just a rough estimate). At todays prices for nuclear power that is an insane amount of money that needs to be pu
140.
▲
by
phicoh
3y ago
If you are in Germany or the UK, you would expect a COP of around 4 from a serious system. Or at least, COP4 is what we expect in the Netherlands, and the climate is not that different. COP 2.5 is a sign of a poor setup.
141.
▲
by
phicoh
3y ago
There was a perfectly reasonable transition strategy. Install as much solar and wind turbines as possible and rely on natural gas plants are other times. Natural gas plants are relatively cheap and can in the future be converted to hydrogen
142.
▲
by
phicoh
3y ago
The funny thing is that the end result is not that different between Germany and The Netherlands. The Netherlands has only 500 MW of nuclear power, because for historical reasons, The Netherlands didn't bother much with nuclear power t
143.
▲
by
phicoh
3y ago
You don't want the safety of your program to depend on whether the compiler emits a warning or not. And turning warnings into errors just encourages people to write 'let _ = ...' to get rid of the error.
144.
▲
by
phicoh
3y ago
In any sensible API, saveToDisk would return an error status (a Result type in Rust). If you don't check for errors, then probably you didn't care of the data was actually saved or not.
145.
▲
by
phicoh
3y ago
In C, I have written and worked on a lot of code that is event-based. Async is a natural extension to that. So, no it is not a hype. These types of techniques have been used for a very long time.
146.
▲
by
phicoh
3y ago
I agree with most of what you said, but I disagree about mut. Mut makes the unsafe case stand out. It also requires less typing to have the safe case.
147.
▲
by
phicoh
3y ago
There is the classic case of the Linux kernel dereferencing a null point and then check if it is null. Then the compiler removed the null pointer check because dereferencing a pointer means that it cannot be null without invoking undefined
148.
▲
by
phicoh
3y ago
If I remember correctly, Unix already supported multiple users before it was rewritten in C. It was the pdp-7 to pdp-11 transition that prompted the need to rewrite in a higher level language. A key thing about Unix is that they took existi
149.
▲
by
phicoh
3y ago
C (and I use the term loosely, not in de strict definition of standard C) is very well suited for low level programming of RISC processors. It not clear that a new language would be a big benefit. The benefit of C is to abstract from assemb
150.
▲
by
phicoh
3y ago
Maybe not be that remarkable if you consider that the filament is in vacuum, so not a lot of opportunities to conduct the heat. Heat is lost through radiation. In contrast, gas or candles warm the outside air directly, release hot waste gas
More ›