Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bergesenha
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
bergesenha
10mo ago
Which is a good strategy, but do you think the afghans lost more than 2 trillion dollars?
2.
▲
by
bergesenha
1y ago
The json library 'glaze' has working compile time reflection for MSVC, Clang and GCC using some tricks with aggregate initializable structs. In addition to being a performant json library, it comes with the functions glz::apply an
3.
▲
by
bergesenha
4y ago
I’m happy every time I see c++20 in the wild
4.
▲
by
bergesenha
5y ago
Since C++17 I believe this is guaranteed.
5.
▲
by
bergesenha
5y ago
This is one of the few well written and enjoyable tutorials on the topic. There is a lot of older texts out there with inaccurate and inconsistent language, ascii-diagrams etc… but this a joy to read and follow
6.
▲
by
bergesenha
5y ago
We can store several years of surplus.
7.
▲
by
bergesenha
5y ago
I second this. I also wish the algorithm would throw a real curveball once in a while too, something completely different to what I have been caught in.
8.
▲
by
bergesenha
6y ago
I can vouch for this. I recently had a wonderful experience spanning a few months cultivating Psylocybe cubensis by salvaging spores from a bag of dried shrooms (spore prints are as illegal as the shrooms themselves here and really hard to
9.
▲
by
bergesenha
6y ago
There are differing fatwah for those living above the arctic circle to follow the sunrise/sunset of cities and communities further south.
10.
▲
by
bergesenha
7y ago
I wonder if these geese might use some breathing technique similar to what high altitude fighter pilots use above 40 000ft where even 100% oxygen is not enough partial oxygen pressure. Inhaling, then exhaling with resistance. Having experie
11.
▲
by
bergesenha
8y ago
Around here the store has some cheap frames they use for advertizing. The problem is they look like something a crazy old aunt would wear, with wild coloring. If you want anything like normal glasses you have to pay for the expensive brands
12.
▲
by
bergesenha
8y ago
And in C++, the type of a string literal expression is not const char* , but in fact const char (&)[], ie a reference to an array of chars. I was surprised to learn this as I always assigned a literal to a const char* , relying on point
13.
▲
by
bergesenha
8y ago
Do you have any examples of templates incurring a runtime cost at -O0 compared to a “no templates” approach?
14.
▲
by
bergesenha
8y ago
From what I can gather from the results, st is among the faster ones when tested on linux.
15.
▲
by
bergesenha
8y ago
I find that coffee in a thermos can stay good for almost a whole work day. Coffee on the machine in some sort of “keep warm” mode goes rancid within 30 mins or so. I have a suspicion it’s some reaction with the oxygen in the air...
16.
▲
by
bergesenha
8y ago
C++17 has guaranteed RVO.
17.
▲
by
bergesenha
8y ago
Thanks for the example, I understand. I missunderstood the poster above. I've come across quite a few coworkers who believe that move is something that happens on the compilers whim as part of some optimization and incorrectly assumed
18.
▲
by
bergesenha
8y ago
1. I thought the cast to an rvalue reference would make overloads taking rvalue references be chosen during overload resolution. Since this is deterministic I thought whether something is moved or not would be quite guaranteed
19.
▲
by
bergesenha
9y ago
My best guess is fuel efficiency at small size scales and is probably the same reason that make them economical in large buses, but not small cars. The usual intuition is explained using the Reynolds number, a dimensionless quantity that ca