Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
namirez
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
namirez
7y ago
I understand your point, but the language is evolving to be more powerful and expressive. There were certain rules in the past, and there are some new rules in C++11 and beyond. With regard to your example, that's why you need to use u
212.
▲
by
namirez
7y ago
Again not true! If you do nothing, the compiler generates both copy constructors and move constructors. If you pass an xvalue reference, the move is used. If you pass an lvalue reference or a value, the copy is called. The compiler doesn&#x
213.
▲
by
namirez
7y ago
> The biggest one is that copy semantics are default and silent This is not true. The rules are simple: rule of three, rule of five, or the recommended one, rule of zero [1]. If you define a copy constructor, the compiler won't ge
214.
▲
by
namirez
7y ago
Move semantics is the language support for shallow copies. If you never use shallow copies, fine! But a lot of code bases use shallow copies, and it's a valuable tool.
215.
▲
by
namirez
7y ago
You're right! The min positions won't resolve the issue either and, unfortunately, there is no trivial fix for it. Handling intersecting polygons, as you said, is a bit more complex, but for overlapping polygons it's possible
216.
▲
by
namirez
7y ago
This is great! There is, however, one potential issue with this implementation stated here: " Faces are sorted back-to-front in a very approximate way according to the Z centroid ". In certain cases, this can lead to showing the b
217.
▲
by
namirez
7y ago
I think it's been a misunderstanding, because I agree with what you just said.
218.
▲
by
namirez
7y ago
I ignore your first paragraph since it sounds hostile. As for the rest, obviously, free market has a self-correcting mechanism. Corporations need consumers so they cannot simply "run afoul of basic human rights" as you said or the
219.
▲
by
namirez
7y ago
> They stand for rights and privacy only when it does not interfere with their revenue stream . I understand the sentiment, but it's a nonstarter. A company that prioritizes human rights at the expense of profit, is a company that
220.
▲
by
namirez
7y ago
Original paper (pdf): https://www.atmos-chem-phys.net/19/8163/2019/acp-19-8163-201...
221.
▲
by
namirez
7y ago
Aging has surely been pathologized. Childhood is an inevitable stage of development but the prevalence of ADHD and learning disabilities indicate how we have defined our priorities.
222.
▲
by
namirez
7y ago
I just know that in our economic system, humans are capital and anything that compromises their economic productivity is pathologized. Who Fisher was or what he did is irrelevant to this discussion.
223.
▲
by
namirez
7y ago
Reminds of this paragraph of Mark Fisher in Capitalist Realism: "I want to argue that it is necessary to reframe the growing problem of stress (and distress) in capitalist societies. Instead of treating it as incumbent on individuals t
224.
▲
by
namirez
7y ago
> and are quite often limited to homes (not apartments) Interesting! I had never heard about this. Do you have a source for it?
225.
▲
How to live forever: meet the extreme life-extensionists
(theguardian.com)
87 points
by
namirez
7y ago
|
66 comments
226.
▲
by
namirez
7y ago
> A related aspect is that electric planes are much more quiet. I'm not so sure! Have you ever heard the sound of twin-turbo regional airplanes in small airports? That sound is not from the turboprop engine, but from the propeller
227.
▲
by
namirez
7y ago
Like this? https://www.youtube.com/watch?v=KoGIPk8Vrl0
228.
▲
by
namirez
7y ago
True! Actually airplanes are loaded with just enough fuel to finish their mission safely. It's not like a 777 always taking off with maximum fuel.
229.
▲
by
namirez
7y ago
Your numbers are not quite right. > jet fuel's USEFUL specific energy is more like 10-15MJ/kg due to needing to be burned. New turbofans have efficiencies close to 50%, so it's more like 20 MJ/kg. Also, you need to
230.
▲
by
namirez
7y ago
Generally you should prefer few large propellers over many small ones due to aerodynamic efficiency. Stacking up motors axially sounds like a very good idea though.
231.
▲
by
namirez
7y ago
I stand corrected. I also found Emrax 268 which has a power to weight ratio of 10 kW/kg. But these are good only for small aircraft. It's much harder to maintain this power-to-weight ratio for larger motors. Emrax 268 is only 20kg
232.
▲
by
namirez
7y ago
As others have noted, electric flights require a major breakthrough in the battery technology. Here are energy density numbers for gasoline, jet fuel, and lithium-ion batteries: Gas and jet fuel specific energy density ~= 45 MJ/kg; Lit
233.
▲
by
namirez
7y ago
Except Sully actually screwed up and put the passengers life in danger by trying to land on water and rather than returning to the airport. https://www.cbsnews.com/news/ntsb-sully-could-have-made-it-b...
234.
▲
by
namirez
7y ago
I'm not claiming that I know the exact numbers; I don't. But this was reported by the same news outlet: https://www.rfa.org/english/news/uyghur/millions-08032018142...
235.
▲
by
namirez
7y ago
Actually it's China that appears to be borrowing from the US propaganda playbook by using the war on terror as a pretext for incarcerating up to 30% of an ethnic and religious minority. Even Human Rights Watch has reported on them. ht
236.
▲
by
namirez
7y ago
This is such an interesting topic. You find them "shamelessly ideological" probably because you don't agree with some of their commentaries. It's a fair point, but objectively, it doesn't say much about the quality
237.
▲
by
namirez
7y ago
A similar disaster is playing out in Tehran: https://www.livescience.com/64235-tehran-is-sinking.html
238.
▲
by
namirez
7y ago
Watching the northern lights with naked eyes was a unique experience for me because they are kind of different than what you see in photos. They are very dim and flow very slowly. Human eye can easily see them with their details in real tim
239.
▲
by
namirez
7y ago
This has been discussed extensively in the C++ community. I think if you need a very safe code, you shouldn't use the string_view or span without thinking about the potential consequences. These are added to the language to prevent mem
240.
▲
by
namirez
7y ago
This might be useful only for future fusion reactors. It's too expensive for cooling purposes though.
More ›