Viewing profile — s28l
s28l
HN member- Joined
- Thu, Sep 16, 2021, 9:11 PM UTC
- HN karma
- 245
- Public activity
- 25 items
- HN profile
- View on Hacker News ↗
About s28l
No profile information was provided.
Recent public activity
-
comment
Comment #48461106
char* can also be a C-style string. std::byte has the same special treatment in the standard as char and unsigned char, with the added benefit of not being used for other purposes …
-
comment
Comment #48461070
C style cast can be either a static_cast or reinterpret_cast, but it can also be a const_cast or a static+const or reinterpret+const. Finally, it will perform a static_cast that by…
-
comment
Comment #44571704
I find this article rather underwhelming because it spends so much time calling out bad examples and so little time highlighting examples of subtlety (in any era). Without positive…
-
comment
Comment #37585866
Maybe it's a combination of the "bend" and the "long slow" part. If you are making a turn the centrifugal force will push the fluid away from the axis of rotation. There is likely …
-
comment
Comment #35857228
Doesn't the unrolled version skip the speculation for three out of every four entries? If so, it seems suspicious that it does so much better when it looks like it's a mix between …
-
comment
Comment #34523742
His goal seems to be to effect change. My understanding is that before reaching these questions, he _was_ interested in the job. Explaining to a potential employer that they lost a…
-
comment
Comment #34508494
Considering he also wrote a blog post criticizing this question, I feel comfortable saying that he already passed on this job. So saying you'd pass on him has "you can't quit, you'…
-
comment
Comment #34302948
> Also, you can short crypto on CME. Is that rigged too? I think your first point is fair, but I think you're overselling things here. Yyou can only short Bitcoin, not all crypto, …
-
comment
Comment #33710069
There is a big difference between "undefined" and "unspecified" behavior. In this case, the behavior of `unique_ptr(unique_ptr&&)` is in fact specified. [0] However, the bigger iss…
-
comment
Comment #33673611
Against better judgement (and advice of counsel, presumably), this guy is still running his mouth to the media. If you had a disgraced former crypto CEO who was still willing to sp…
-
comment
Comment #33673563
> No, just no. Why is the MSM putting out constant puff pieces about this guy? Just to be clear, this is the archive of a puff piece published on the Sequoia Capital website: they …
-
comment
Comment #33549842
As of 2008, options market makers are not allowed to naked short. [0] The only remaining exemptions to restrictions on naked short selling are for equity market makers. These marke…
-
comment
Comment #33538956
I don't think that's true. Neither C nor C++ would allow you to invoke a function with an incomplete type, regardless of whether it is a `struct` or an `enum`, so there's no ABI is…
-
comment
Comment #33533820
I think the only benefit of `_Pragma` is that it enables defining a macro that expands into a `#pragma` definition. I don't think there's any other use case beyond that.
-
comment
Comment #33533295
I meant that they are processed before any syntactical analysis, so they're not particularly useful for this kind of thing. For example, these are all wrong usages of our hypotheti…
-
comment
Comment #33533145
That was unclear on my part, but I meant a new compiler in terms of "new to the project", not "new to the C++ community". The linked SO answer only covers those three compilers, wh…
-
comment
Comment #33531417
1. It is a compiler defined function (`__builtin_unreachable()`), but the issue is that MSVC doesn't have it, so you need a different implementation per compiler [0]. Plus, if a ne…
-
comment
Comment #33357445
> Some scripts are better to either have explicit error handling code, or simply never fail. Silently ignoring sub-commands that exit with a non-zero code is not the same thing as …
-
comment
Comment #31951497
The risk profile is different. Yes, both have a payout that depends on your own mortality, but there are other risk factors to consider. An annuity is also a credit risk: if the co…
-
comment
Comment #31875952
My understanding of the article was that the perpetrator was hit with a genuine DMCA notice that he was upset about. It seemed his plan was to generate these fake notices with the …
-
comment
Comment #30932736
It's entirely possible that /usr might be a separate partition from /, so hardlinks wouldn't work.
-
comment
Comment #30856304
Most political consulting firms do the majority of their work for a single party, so they can reasonably be identified as either "Republican" or "Democratic". Some non-nefarious re…
-
comment
Comment #30167762
There is a lot to disagree with here. First, the article itself provides an example of an army with a superior fighting force that had far fewer casualties than the other side, yet…
-
comment
Comment #29213159
The breeder's equation described the expected change in a _population_ from one generation to the next due to selection pressures (natural or artificial). For example, say a cattle…
-
comment
Comment #29211506
The author is playing fast and loose with definitions here. Other sources[0][1] (that I would consider more reputable) define the breeder's equation in terms of populations, but th…