Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lpapez
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
331.
▲
by
lpapez
5y ago
Agreed they are pretty much the same inconvenience level, but for me that level is too much either way. Maybe it's just my workflow, but I always preffered step-by-step debugging compared to REPL which is why I like to see many interme
332.
▲
by
lpapez
5y ago
This sounds like a debugging nightmare. Is it not easier to name each intermediate result so you can inspect it in a debugger?
333.
▲
by
lpapez
5y ago
2022 will surely be the year of Linux on Desktop and fully self driving cars.
334.
▲
by
lpapez
5y ago
So this only works for numbers right?
335.
▲
by
lpapez
5y ago
I would say this is the case even in C++ world. When modern stuff is used correctly (etc. optional, variant, constexpr + static_assert), most of the tests you will ever need are integration tests, basic smoke tests or feature-documenting-te
336.
▲
by
lpapez
5y ago
In my school every lecture in our cryptography course started with the sentence "Never roll your own crypto, use verified libraries and then also be careful"
337.
▲
by
lpapez
5y ago
Exactly. It has the same limitations as a radix sort, which is why I find them comparable
338.
▲
by
lpapez
5y ago
Blitsort supports long doubles and 8, 16, 32, and 64 bit data types. By using 32 or 64 bit pointers it's possible to sort any other data type. Seems quite limited, wonder how it compares to radix sort.
339.
▲
by
lpapez
5y ago
Did not know that thing existed, super useful. Thanks a ton.
340.
▲
by
lpapez
5y ago
Especially in Norway, living there made me think that either their genepool is absolutely amazing or the plastic surgery is widely accessible.
341.
▲
by
lpapez
5y ago
Tangential to the article; can anyone here think of a use-case for providing thousands of command line arguments to a program?
342.
▲
by
lpapez
5y ago
This is just generic regular advice but sentences are negated...
343.
▲
by
lpapez
5y ago
One more: Depending on company culture, meetings with 10+ people can end up with just a few people talking and others not participating at all but still being forced to attend. Tolerating such events is much easier when you simply turn off
344.
▲
by
lpapez
6y ago
Highly recommend watching this talk. The lessons conveyed by the author will serve you well not only in communication with C programmers, but communication with anyone really :) As the first comment on the video says: "I came here for
345.
▲
by
lpapez
6y ago
The "scientific" question answered by the mentioned paper is basically: "Can open-source maintainers make a mistake by accepting faulty commits?" In addition to being scummy, this research seems utterly pointless to me.
346.
▲
by
lpapez
6y ago
The author of the blog graduated high school in 2014. I would really like to see his blog again in a few years to see if he still feels the same way about work. :)
347.
▲
by
lpapez
6y ago
I was seeing this happen in our household as well. For now, the only answer I have is using UBlock everywhere + having PiHole up and running. These two really go a long way for at least blocking the creepy ads, but I think we have passed th
348.
▲
by
lpapez
6y ago
In theory yes. In practice, cashing out billions of dollars worth of stocks is easier than cashing out billions of dollars worth of crypto.
349.
▲
by
lpapez
6y ago
I tend to do this as well. This is the way.
350.
▲
by
lpapez
6y ago
I know it is quite common practice, but I find using Monte Carlo methods to predict stock prices to be quite ironic and funny.
351.
▲
by
lpapez
6y ago
Hard agree. Finding information on SO has always been much easier for me by asking Google to search there than by using the local search bad.
352.
▲
by
lpapez
6y ago
This feels like that Palpatine scene from Star Wars: My lord, is that, legal? I will make it legal.
353.
▲
by
lpapez
6y ago
Absolutely agreed. In addition, I feel like for many people the strongest friendships they have in adulthood are forged in school, be it junior, middle or college level. Could these bonds be forged elsewhere? Maybe, but I don't see an
354.
▲
by
lpapez
6y ago
I think we have quite some before us until the need for these high bits becomes reality :) Now that you mention pointers, Apple is using unused bits in their values for signing and authentication purposes https://googleprojectzer
355.
▲
by
lpapez
6y ago
As explained by the author https://justine.lol/ape.html
356.
▲
by
lpapez
6y ago
When it comes to std::optional, the answer is no. In fact, std::optional<T&> is explicitly forbidden (see here: https://www.fluentcpp.com/2018/10/05/pros-cons-optional-refe... ) It is used in some ot