Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mgaunard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
421.
▲
by
mgaunard
1y ago
A better analogy is that you decided to replace your door with a new one, and before installation you notice that it is smashed to pieces and can't be used.
422.
▲
by
mgaunard
1y ago
Whisky will typically give you a worse experience the day after. High-grade vodka is about producing a product free of impurities for the cleanest possible flavour. High-grade whisky is about capturing as many impurities as possible (partic
423.
▲
by
mgaunard
1y ago
RewriteCond is a mechanism to redirect under certain conditions. Security becomes irrelevant if the whole Apache module is broken.
424.
▲
by
mgaunard
1y ago
Happiness Forgets is one of my favourites for a classic experience. Discount Suit Company has a cool vibe, a bit more party-like, I remember dancing a few times there (despite it being tiny). Waltz is a new one that's a bit different,
425.
▲
by
mgaunard
1y ago
People who never had Belvedere or Chopin simply don't know that a vodka shot doesn't have to be a painful experience.
426.
▲
by
mgaunard
1y ago
The trick to having a good time at a cocktail bar is sitting at the bar and talking to the bartender. Tell him what kind of things you like and he'll be happy to make recommendations and even have you taste some unusual ingredients he
427.
▲
by
mgaunard
1y ago
That's not a security issue, it's a correctness issue. The whole feature simply does not work.
428.
▲
by
mgaunard
1y ago
that's not true, implementations are more often required than not
429.
▲
by
mgaunard
1y ago
http://wg21.link/P2762
430.
▲
by
mgaunard
1y ago
There is such a proposal
431.
▲
by
mgaunard
1y ago
Reflection is purely a compile-time frontend thing, so is easy to roll out. Things that affect the runtime or ecosystem of tools are obviously more complicated, especially given that those things aren't really covered by the standard.
432.
▲
by
mgaunard
1y ago
I'd argue using third-party libraries in a C++ project is a bad idea to begin with. Bad ones especially.
433.
▲
by
mgaunard
1y ago
> how do you know what timeout to use? adjust based on your minimum expected latency, potentially with exponential backoff. Potentially account for scheduler overhead of the spurious wake-ups. Basically if you check every millisecond to
434.
▲
by
mgaunard
1y ago
So the solution is to have a thread waiting on the future. Technically you'd need a thread per future, which is not exactly scalable. The article uses a pool which has its own problems. The article even mentions an arguably better appr
435.
▲
by
mgaunard
1y ago
better implemented as tie(x.min, x.max) < tie(y.min, y.max)
436.
▲
by
mgaunard
1y ago
In general most people don't do networking right, especially within real-time systems. As people discover the problems with their approach, they rewrite it. I'm my experience it's generally better not to have transparently re
437.
▲
by
mgaunard
1y ago
"reliable" means that if one of the recipients observes a gap, it can ask for a replay of the missing packets.
438.
▲
by
mgaunard
1y ago
Not if you use may alias. Also yes, that's the point of the C++ object model, only one type may exist in one location at a time. Since usually different register banks are used for different types, having to copy makes sense.
439.
▲
by
mgaunard
1y ago
the opt-out in C is to use char*, which is specifically allowed to alias other types. There are also GCC extensions to build other types that may alias.
440.
▲
by
mgaunard
1y ago
There are also â, ô, ù. But still, it's nothing compared to other languages.
441.
▲
by
mgaunard
1y ago
French barely has diacritics.
442.
▲
by
mgaunard
1y ago
The person in question was a junior. Of course I didn't approve the PR.
443.
▲
by
mgaunard
1y ago
In my experience the difficulty in building good software is having a good vision of what the end result should look like and how to get there. If the developer is not savvy about the business case, he cannot have that vision, and all he ca
444.
▲
by
mgaunard
1y ago
Right, we all know this. LLMs write a lot of bad code that cannot be realistically reviewed. I've even had code submitted to me by juniors which didn't make any sense. When I ask them why they did that, they say they don't kn
445.
▲
by
mgaunard
1y ago
as a French citizen, I find that surprising. While renewing a passport is one of the easiest things you can do, I distinctively remember it taking a good half-day (most of which is waiting in line jumping from one desk to another until you
446.
▲
by
mgaunard
1y ago
UK is easy mode. Try France, or maybe Germany.
447.
▲
by
mgaunard
1y ago
AI is overhyped and overvalued.
448.
▲
by
mgaunard
1y ago
because that usually leads to unnecessary builds and ODR violations.
449.
▲
by
mgaunard
1y ago
track dependencies at the source level, only build what you need, guarantee single version of a source throughout the program
450.
▲
by
mgaunard
1y ago
so a project is a single target, and you still have the notion of libraries (which to me are an anti-pattern). so no interest from me personally.
More ›