Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
macgyverismo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
macgyverismo
5y ago
I had written something like this and found a very interesting compiler difference between clang/gcc and MSVC. I used lambdas as parsers, which worked great for the first two compilers. Did not work at all for MSVC. It would not compil
32.
▲
by
macgyverismo
5y ago
Thermal energy per m2 of living area seems like a terrible way to calculate heat loss. Unless you mean you have 160m2 of outside facing surface area. Are you sure your numbers are correct?
33.
▲
by
macgyverismo
5y ago
You could coat the backside of a pane of glass with this. In fact, why not just cover your roof with mirrors, as that is effectivly what is created.
34.
▲
by
macgyverismo
5y ago
I think Bill Gates has a fairly balanced view of the energy needs/wants. At least that was my takeaway from reading his most recent book. I could see why we need fission energy even if we eventually find better ways of generating/
35.
▲
Lawsuit won against Shell: CO2 emissions must decrease faster
(7xp62ndm3b55qpc25moo3vrl4i-ac5fdsxevxq4s5y-nos-nl.translate.goog)
3 points
by
macgyverismo
5y ago
|
0 comments
36.
▲
by
macgyverismo
6y ago
Asuming you mean 'std::ios::sync_with_stdio(false);', that was already present in the original code.
37.
▲
by
macgyverismo
6y ago
I was suprised at the C++ outcome, so I started testing myself. I was very amazed to find a 4~5x speedup when reading directly from file (std::ifstream) instead of reading stdin. This was on a 10.5.7 MBP 2014 [edit] more like 9~10x actually
38.
▲
by
macgyverismo
6y ago
Wesley Kagan - 83.5k subs - Car channel, but leaning heavy to building / prototyping https://www.youtube.com/channel/UCy-IytMjnUY6_bAxD7yuZ-w
39.
▲
Thermonuclear fusion using powerful magnets to contain the burning plasma
(youtube.com)
2 points
by
macgyverismo
6y ago
|
0 comments
40.
▲
by
macgyverismo
6y ago
Having read through the README, I'm not quite sure what makes this perform better than other systems. I can see that it will perform excellent when iterating over a single type as all entries for this type are next to each other. Howev
41.
▲
by
macgyverismo
7y ago
I don't get what point is the author is trying to make. If it is to show that Rust outperforms C++ when implementing COW, I think he is mistaken. COW is intrinsically performance limited in multithreaded environments, this is not a lan