Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_0w8t
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
241.
▲
by
_0w8t
4y ago
The point is that there is no need to tweak GR. For example, [1] shows how properly accounting for GR and using rather detailed data about Milky Way allows to explain the rotational curves. But GR is complex enough to allow very differen
242.
▲
by
_0w8t
4y ago
We cannot simulate evolution of galaxies using equations of General Relativity. So at best the simulations are done using Newton mechanics with minimal corrections like accounting for finite speed of light. And often it is not even done us
243.
▲
by
_0w8t
4y ago
If, say, 20% of parking lots has used for drug activities, McDonald’s would get a problem.
244.
▲
by
_0w8t
4y ago
VLAs are unsafe in the worst kind of way as it is not possible to query when it is safe to use them. alloca() at least in theory can return null stack overflow, but there is no such provision with VLA.
245.
▲
by
_0w8t
4y ago
With Python one never knows when a particular feature code depends on will be removed. With PHP code written 15 years ago still works.
246.
▲
by
_0w8t
4y ago
The laptop has 32 GB and the amount of RAM is not a limit here. With sufficiently fast SSD the storage is not a limiting factor either. Even RAM speed is not a big factor, it is still single thread performance that affects compilation spee
247.
▲
by
_0w8t
4y ago
On ThinkPad X1 laptop with 8 hyperthreads it takes 6-7 hours to compile Chromium from sources these days.
248.
▲
by
_0w8t
4y ago
The article is precisely about nuclear reactors not working all the time.
249.
▲
by
_0w8t
4y ago
My favorite hypothesis is that it is big refrigerators at home and perhaps widespread use of preservatives that made people fat as it provided uninterrupted access to high calorie food like meat, cookies etc.
250.
▲
by
_0w8t
4y ago
I tried the potato diet. I consider myself a lean guy, but I wanted to try it for a month before recommending it to my overweight relatives. I stopped after two weeks mostly because the stomach became rather bloated. There was no weight cha
251.
▲
by
_0w8t
4y ago
The answer for the war is coal and this is exactly what Germany is doing. It is simpler and cheaper to run the existing coal plants at the full capacity or even increase it than try to maintain the nuclear plants long past the original desi
252.
▲
by
_0w8t
4y ago
If water tank holds water above 70C, it’s safety requirements make it significantly more expensive. Plus water close to the boiling temperature is rather corrosive. So I cannot rule out that even for small scale sand setup will be cheaper.
253.
▲
by
_0w8t
4y ago
It is hard to expect a different answer from a person who works for a company heavily invested into hybrid cars. What he does not mention and what the war in Ukraine has shown again is that dependence on foreign oil is just bad. Any engine
254.
▲
by
_0w8t
4y ago
With trucks etc. there are still independent companies that can fix those and transitioning to a new provider is straightforward. With IT in cloud there is a strong vendor lock-in.
255.
▲
by
_0w8t
4y ago
String in Rust is very similar to std::string in C++, while str is std::string_view except it is safe to use. StringBuffer in Java is not like String in Rust. In particular, one cannot pass StringBuffer in Java to a function taking String,
256.
▲
by
_0w8t
4y ago
If one wants a blog with self-hosted comments, then there not so many options and those that exist are not particularly simple. For example, standalone Wordpress can do that, but setting it up and running with all relevant plugins requires
257.
▲
by
_0w8t
4y ago
Some modern steel alloys from Sweden with extreme strength costs more than silver.
258.
▲
by
_0w8t
4y ago
The price of drugs in US also reflects expensive R&D and sometimes even more expensive approval process. Plus the companies has to account for the possibility of third parties manufacturing without the license which in turn requires hig
259.
▲
by
_0w8t
4y ago
I once looked at conditional lifespan data given that one reached a particular age. What was interesting that for India and Mongolia, countries with very different cultures, lifestyle, diet and climate, after 75 years the remaining lifespa
260.
▲
by
_0w8t
4y ago
Indeed. The author just wrote yelling. Given the Russian culture I suspect he was yelling in chats about the situation, not blaming a particular person or team. Something like “Why the hell have we stuck?” perhaps even with f-words. Boss ex
261.
▲
by
_0w8t
4y ago
In Norway until recently the electricity was cheap. So many apartments and even houses in suburbs use resistive heating as installing heat pumps was not profitable. But then in winter one can just mine crypto coins on GPU for free to heat t
262.
▲
by
_0w8t
4y ago
I have done multiple times both refactoring of untyping JS and JS fully typed with Flow. With the latter after the Flow compiler stopped complaining one can expect things to work. With the former despite extensive tests sometimes it took we
263.
▲
by
_0w8t
4y ago
For me the biggest advantage of static typing is that it allows to safely refactor code. Without it even with extensive unit test coverage refactoring often is just not an option.
264.
▲
by
_0w8t
4y ago
In Russia 200 years ago the was a spike in interests in platinum. Gold melts at temperature of wooden house fire and substantial amount of it was lost this way. Platinum melts at much higher point.
265.
▲
by
_0w8t
4y ago
The gasoline prices in US have little to do with price of oil. In 2008 oil was 140 USD while gasoline was much cheaper. The real problem is underutilization of refineries . Some of them reduced output during Covid and was not able to restor
266.
▲
by
_0w8t
4y ago
Another important difference from the actor model is that the library uses a future interface with blocking wait to get the results. With actors there is no wait as the results are posted to the message queue of the caller. But waiting make
267.
▲
by
_0w8t
4y ago
Chromium uses actor model extensively. Yet in Safari Apple moves into the direction of multiple fine-grain locks for performance reasons I presume. So it unclear which model will dominate the industry. Locks allow for better performance, bu
268.
▲
by
_0w8t
4y ago
When Spectre came it turned out that it was very straightforward to implement the relevant attacks in JS. A script can use workers with shared memory access to monitor execution and get a timer with less than 100ns resolution. As the result
269.
▲
by
_0w8t
4y ago
It is Gnome Power setting dialog changes the governor. The above command just disables Turbo boost while allowing CPU to spend 100% of its time at the base frequency.
270.
▲
by
_0w8t
4y ago
On MacOS Low-Power mode in the Power section of system settings disables turbo-boost. On Linux echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo does the rick. Note that this is not the same a
More ›