Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phicoh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
151.
▲
by
phicoh
3y ago
In my opinion that is like saying it might more convenient to use sprintf. Yes, that null has to be there for historical reasons. It doesn't mean it is a good idea to write code that relies on it.
152.
▲
by
phicoh
3y ago
Classic array bounds error. Obviously, if argc == 0, you should not dereference anything in argv. It also shows why C is such a hard programming language. There is nothing to help the programmer in this case. The compiler doesn't know
153.
▲
by
phicoh
3y ago
You cannot say that there a certain price for electricity. There are spot markets, which are quite transparent, which is why the prices from spot markets are often quoted. The spot markets indeed often use merit order. But there are many mo
154.
▲
by
phicoh
3y ago
Fragmentation is a complex subject. If avoiding fragmentation was obviously good, then UDP packets would always be sent with the don't fragment (DF) bit set. In reality, that would make some situation much worse than allowing fragmenta
155.
▲
by
phicoh
3y ago
The need to upgrade the OS is only a small part of the problem. On the one hand, the fact the TCP is unchanging has led to network cards supporting TCP directly. You can shove a large segment of data in the network card and it will split th
156.
▲
by
phicoh
3y ago
You may want to talk to operators of DNS servers to find out why DNS is mostly UDP. From a software point of view is hardly matters. UDP has some quirks, TCP has some issues, not a big deal. The big deal for operators is resource consumptio
157.
▲
by
phicoh
3y ago
Maybe you don't want to place that solely on the shoulders of the network admin. These days most network data is encrypted, so the network admin cannot do much. So either the host must be trusted to conform to policy. In which case it
158.
▲
by
phicoh
3y ago
You are the network admin, just block access to port 443 and the problem is solved. The power of a network admin over a host admin is limited to what can be blocked. And the more that is blocked, the more traffic will move to port 443, mayb
159.
▲
by
phicoh
3y ago
The obvious thing for Germany was to replace lignite with gas powered plants. Gas plants have to advantage that they are very compatible electricity from sun and wind. And even without that directly reduce CO2 emissions. Where this plan wen
160.
▲
by
phicoh
3y ago
Apart from Denmark, few countries have enough wind turbines installed to power the entire country. Certainly, countries like Germany, The Netherlands, UK, don't come close. The Netherlands does come close to having enough PV to power t
161.
▲
by
phicoh
3y ago
Fortunately, almost two decades later a committee decided to break the connection between UTC and UT1 and stop having leapseconds some time before 2035.
162.
▲
by
phicoh
3y ago
I think there are a lot of people who don't want a new compiler every few months. Obviously, the people who arrive first at a new language are people like the latest greatest. Take for example reproducible builds. Obviously, you only g
163.
▲
by
phicoh
3y ago
There is one thing to keep in mind. Day-ahead prices are often quoted because they are public and objective. But day-ahead trading, at least in The Netherlands, is only about 30% of the electricity market. If you look at consumers, only a t
164.
▲
by
phicoh
3y ago
That sounds a bit like using the latest features in the C or C++ standard, and then be surprised that many compilers cannot compile your code. When a language develops quickly it is a good if people use the latest version to test new featur
165.
▲
by
phicoh
4y ago
I wonder what the effect is of language. If on average men know only a few names of colors, then how can they remember or talk about the variations in between?
166.
▲
by
phicoh
4y ago
Not a physicist either, but one practical problem is the speed of light. Time synchronization is likely to become very tricky if you have communicate with time sources that are hundreds of light years away.
167.
▲
by
phicoh
4y ago
No it is pesky Einstein guy with his general relativity. The bigger problem is that our timekeeping is earth based. The time definition should have been based on deep space, with corrections for time on earth. So earth clock are slow with r
168.
▲
by
phicoh
4y ago
The Netherlands has a lot of parking next to the curb. So you can't install a private charger. Houses are often low enough that there will be sun on the car for quite a big part of the day.
169.
▲
by
phicoh
4y ago
Typical nuclear fanboy. Nobody is running on renewables. Well, there are some exceptions. Countries like Norway and Sweden have enough hydro that they do run on renewables. But ignoring those, nobody does. Wind and solar pairs well with nat
170.
▲
by
phicoh
4y ago
Part of the pro-nuclear 'lobby' seems to be people who can't handle that wind and solar are less predictable. So they create horror stories where the lights go out when there is no wind in the middle of the night in winter. A
171.
▲
by
phicoh
4y ago
Yes, Russia is selling a little bit more to China and India. Not nearly enough to make up for the reduction in sales to EU countries. In addition, China and India get nice discounts. Yes, Russia makes a lot more money at the moment because
172.
▲
by
phicoh
4y ago
The key thing to remember is that Russia reduced the gas supply to Europe already one year ago. Way before they invaded Ukraine, and therefor before any of the recent sanctions. It is assumed that Russia sent a warning message to EU countri
173.
▲
by
phicoh
4y ago
As we can clearly see now, NATO does not need nuclear deterrence again Russia's conventional weapons. What protects, for example, the Baltic countries is not the threat that the US might take initiative to drop a nuclear bomb on Russia
174.
▲
by
phicoh
4y ago
That's obviously where Russia went wrong. The US made stupid mistakes when it comes to Cuba, but with the Soviet missiles they made it stick. In contrast, Russia thought that could take over a country while Europe and the US would sit
175.
▲
by
phicoh
4y ago
This summer, France has been importing significant amounts of electricity from countries that burn gas or coal. You don't do that if you have plenty of nuclear power available.
176.
▲
by
phicoh
4y ago
This can in theory happen to any steam-based power plant. Using steam to generate electricity is about 30% efficient. So you still need to get rid of the other 70% of heat that is generated, but not converted to electricity. So it would als
177.
▲
by
phicoh
4y ago
The warnings are clear. But I'm sure some impact analysis was done to see how higher prices for natural gas would affect various industries. It doesn't make it a wise choice to have no backup for Russian gas, but I'm sure the
178.
▲
by
phicoh
4y ago
On a busy road the only safe option is to make two crossings: stay on the right and cross and then cross again. It is very annoying. Depending on the situation, you can indeed move to a lane that turns left. But it requires cooperation from
179.
▲
by
phicoh
4y ago
I think this is a clear case where war is just very messy. It is easy to come up will all kinds of legal frameworks during peace time. And then a war situation will not be what you expect.
180.
▲
by
phicoh
4y ago
The NATO actions happened after a huge number of crimes against humanity committed in former Yugoslavia. See https://en.wikipedia.org/wiki/List_of_people_indicted_in_the... and https://en.wikipedia.org/
More ›