HNHacker News
TopNewBestAskShowJobs

nuerow

1,179 karma · joined October 4, 2021

submissionscomments
nuerow··on C++ Coroutines Do Not Spark Joy
> But in my current company, there's no way you can do anything in the C++ codebase without a serious understanding of the language latest features.

I feel your anecdotal example is not fair as you're trying to pass off problems created by your team with it's ill-advised approach to adopting a programming language's latest features as problems with said programing language.

For instance, I feel you could make precisely the same case with a Java or Python project if the project's coding guidelines forced the adoption of all the new bells and whistles. But that wouldn't mean the languages have a problem.

Meanwhile, the golden rule of C++ continues to be favouring the principle of least surprise and picking a language version (often C++11, and not C++14/17/20) and a subset of features to be enforced at the project's coding guidelines, and build your project around those.

Frankly, your anecdotal example sounds more like resume-driven development claiming yet another victim than a programming language being too unwielding.

nuerow··on Covid-19 Mortality Risk Correlates Inversely with Vitamin D3 Status
> The vast majority of people infected with Sars-CoV2 (...) do not even notice any symptoms.

Not true. It has been estimated that asymptomatic COVID-19 represents at most around 35% of the cases.

* https://journals.plos.org/plosone/article?id=10.1371/journal...

* https://www.sciencealert.com/over-a-third-of-covid-infection...

nuerow··on It's hard to overstate what a scam academic and scientific publishing is
> You forget the editorial boards. They can mass resign, start their own journal, and ask that this successor be considered the legitimate heir.

That would actually be completely irrelevant. Performance evaluation in academia is tied to the ability to post X papers in well respected established publications with a high impact factor. This requirement is generally imposed by legislation and regulation. Thus what matters is a publication's impact factor, it's reputation, and whether they are already in the acceptable list or not.

If a mass protest led an entire editorial board to leave an established high-impact factor journal to start their own journal from scratch, said new journal would fail to meet any of the criteria that makes a journal an acceptable publication.

> Because, again, these folks don't care if anyone can read their research outside of colleagues who might cite them.

Thus assertion is also wrong. There are researchers who put together their own journals and use them to circle-jerk their way into relevance. This has been happening for years, and I even know of a case where said researcher even ties his papers to his own congress. However, these journals do tend to have a piss-poor impact factor, thus they don't count for performance reviews.

nuerow··on It's hard to overstate what a scam academic and scientific publishing is
> It would be a scam, except academics could easily disrupt it and they (mostly) choose not to.

Not only is your personal assertion wrong, its complete lack of understanding and awareness, coupled with the degree of arrogance and presumption, shows its patently and shockingly wrong.

Without going into details, keep in mind that in academia there's this thing dubbed "publish or perish", and the only publishing that counts is the one being done in established publications with a history of high impact factor. The journals that count are specified by rules and regulations, which are often defined in legislation and comprised of a whitelist of established, often historical, and well-regarded journals.

So unless your journal is already in the list and has a high impact factor, the whole world is pressured to not publish their A-game work in them. This leads to a feedback loop where incumbents are kept at the top of these metrics due to the fact that they are the only one that can receive works that count, and conversely no one who seeks to finish a PhD or secure tenure or get funding will waste their hard work on publications that do not count.

Then there are other factors, like prestige. Everyone wishes to be invited to be a reviewer of, say, Nature, but no one wants wo waste their time reviewing publications to Bob's journal.

It takes far more to put together a journal than a 5$/month instance in the cloud and an afternoon hacking WordPress.

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> right, so CPI is not a good measure for actual inflation

No, quite the opposite in fact. CPI is a accurate measure of inflation as it tracks how much the real-world consumer prices vary where it really matters: real-world consumer expenses.

Perhaps the mistake you're making is assuming wrongly that demand for specific brands/makes/models is perfectly inelastic and consumers do not change their consumption patterns at all even if their price increases so much that they can no longer afford them. Meanwhile, if a low/middle class family sees the price of stake skyrocket, you can bet they'll start to switch a few meals to hamburguers or hotdogs.

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> It's not valid though. Inflation driven substitution means lower quality.

It really is valid. Not only is it valid, it's precisely the whole point of tracking a consumer price index. The goal of CPI is to track the prices of goods and services consumed by the population, not brand- or product-loyalty. When prices go significantly up, it's a known fact that consumers react by seeking affordable alternatives, or in the case of luxury items simply going without.

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> Then you proceed to learn about CPI in detail for the first time, and use your incomplete understanding to refute mine.

> I've been down the rabbit-hole on CPI and learned a lot (...). The Wikipedia page is pretty thorough for US CPI [0].

Do you actually feel you're in any position to speak with authority on a subject, inclusive down to people with a background on economics, just because... You claim you read a Wikipedia article?

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> Or put another way, if fuel goes up astronomically and people buy less of it, they will adjust its weight downwards, limiting the effects of its price increase on the headline inflation.

What problem do you see in that approach? That looks exactly like the expected behavior from the average consumer.

If your goal is to track the prices of goods and services actually consumed by the population, isn't it appropriate to lower the impact of goods and services that are consumed less by said population?

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> My family has only ever really liked ribeyes. If they've doubled in price, that affects us.

A particular consumer's habit of consuming very specific high-end goods or services which is immune to substitute goods is not how inflation is determined. It would make as much sense as claiming inflation skyrocketed because you only wear Air Jordans and the latest model is sold for around $200 while last year they sold for $120.

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> This seems easily biased and inefficient when considering theoretical alternatives.

What possibly leads you to believe that aggregating the price of 80k items from different markets is something that can be easily biased?

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> Doesn’t the most often used form cpi exclude food and housing?

No, it doesn't. In the US, the US Bureau of Labor Statistics explicitly includes food and rent in it's CPI.

https://www.bls.gov/cpi/overview.htm

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> The Fed massages the inflation rate by throwing out "extreme" deviations.

The rationale is valid though. Price-conscious consumers would simply switch brands, stores, or even go for substitute goods if the price of a particular product they chose happened to skyrocket for no reason while the price of all other alternatives barely changed.

nuerow··on Skimpflation: A reason inflation is worse than the government says it is
> For someone like my family, I wouldn't believe any number less than 20%.

For that to be true, on average the price of every single item in your groceries list has to increase over 20%.

Can you provide a single example of an item in your groceries list whose price increased over 20% during 2021? And which item increased in price the most?

nuerow··on Ask HN: The Expected Style for Tech Résumés
If you're applying to a job in Europe, the Europass format is a godsend.

https://europa.eu/europass/en/create-europass-cv

nuerow··on Covid-19 has killed more people in the US than HIV/Aids did in 40 years
> Yes, the policy we followed doesn't seem to be so effective. Then why do you think it saves more lives than it costs?

Are you really trying to argue that people should just be left to die in droves because otherwise that would have a dent in logistics/the economy?

nuerow··on Covid-19 has killed more people in the US than HIV/Aids did in 40 years
> First, I'm talking about life-years, not excess deaths.

Is this a repeat of the ageist "I don't care if those older than me are killed" sociopath mantra?

nuerow··on Covid-19 has killed more people in the US than HIV/Aids did in 40 years
> Now do the flu

The CDC's estimates for deaths from the flu are tiny and irrelevant when compared with the massive impact of COVID-19. It's estimated that in the past 20 years the yearly number if deaths from the flu peaked at 61k in 2017-2018, which is less than a tenth of covid19's death count.

https://www.cdc.gov/flu/about/burden/past-seasons.html

Keep in mind that the flu didn't benefitted from public health and safety containment policies such as mask mandates, lockdowns, social distancing, or even changes to workplace higiene. Thus the 730k deaths from COVID-19 are significantly lower than it would be if no precautions were taken.

nuerow··on Investors Spent Millions on ‘Evolved Apes’ NFTs. Then They Got Scammed
> NFTs are pure speculation and gambling.

I'd add money laundering to the list.

nuerow··on Simple Code, High Performance [video]
> That is one of the drivers of the recent growth in compiled languages (Rust, Go, ...), Not the only one but it helped.

No, not really. In either case (rust, Go) perfomance is at best a nice-to-have, while their main value proposition is, and has always been, turnaround time and consequently man*hours. Rust is marketed primarily due to their first-class support for safe programming constructs, and providing a far better developer experience over C and C++ at the expense of a small but negligible performance impact. Go is marketed primarily for it's first-class support for concurrency, and provide a far better developer experience than Java, C#, and C++ with little to no performance gains at all.

What matters is how long it takes developers to add value. That's it. Most of the times there is simply no value to be gained by shaving a megabyte or millisecond here or there, but undoubtedly there is value in shipping features, not having downtime, and eliminating bugs.

nuerow··on Simple Code, High Performance [video]
> Would you rather maintain a couple hundred lines of straightforward code or thousands of lines of class hierarchies with delegates and whatnot?

I feel this is a gross misrepresentation of the problem.

With higher-level frameworks, you can add complex features with one-liners, which by their very nature (generic, extendable, and general purpose) are bloated and underperform when compared with the code you could roll yourself. However you need to write far more code than one-liners to reimplements those features, not to mention the time it you'd take your team to test, validate, and maintain it.

Therefore, contrary to your initial assumption, there is indeed a tradeoff between reusing someone else's general-purpose but battle-hardened code with your specialized, lean, but untested code, and the cost to go with rolling our own implementation hardly justifies the potential performance gains.

nuerow··on Simple Code, High Performance [video]
> Good enough” is defined by the inability of stakeholders to conceive of transitive benefits.

The whole point is that there are absolutely no benefits, at least relevant ones, once the performance is acceptable. It's a diminishing returns game. There is always a tradeoff between performance and cost, and once performance is acceptable then it's hard to justify wasting more resources to get nothing of value in return.

nuerow··on U.S. spy agencies say origins of Covid-19 may never be known
> They were all hyped up that was China's fault

If I recall correctly, China's fault refers to how they failed to contain the epidemic due to their initial approach to the problem, which consisted of censoring and gaslighting reports from doctors in the field and intentionally failing to act on it before it spread.

Also, it didn't helped the fact that the CCP's propaganda machine started pushing propaganda pinning the blame of the COVID-19 outbreak on Italy and Spain when their failure to contain the Wuhan epidemic turned to a pandemic.

nuerow··on U.S. spy agencies say origins of Covid-19 may never be known
> IAEA is weaker than WHO (relatively speaking)

The problems tackled by WHO are mostly cooperative, while the ones tackled by the IAEA are mainly competitive. It's easier to get consensus on subjects where everyone stands to benefit than in subjects where everyone is looking to take power away from you.

nuerow··on Simple Code, High Performance [video]
> We have computers which are ridiculous fast, but tend to write code which is freaking slow. It's sad that most programs could be 100x faster.

I feel this sort of comment misses the whole point of going with code which is patently slower than alternatives.

The main reason is that performance is a constraint but not a goal, and once it is good enough then there is absolutely nothing to be gained by wasting time on seeking performance gains.

Meanwhile, the main resource in software development is man*hours. The faster you write software (add features, fix bugs, etc) the cheaper it is. Thus, software projects benefit the most by adopting and using technology which favour turnaround time, which means higher-level languages, generic full-featured frameworks, and code reuse. They are slow and bloated and not optimized, and they are used without optimization in mind. But they work and they work acceptably.

Your client and project manager does not care if you go with a O(n2) implementation that you can whip out right now by reusing a package and has acceptable performance even if there is a O(n) alternative that requires you a few weeks to implement and forces you to test, debug, and maintain a lower level implementation.

Performance is meaningless once it's good enough. It matters nothing if your browser wastes 1GB of RAM even though it could just use 100MB because practically everyone already has 8GB to begin with, and if would be foolish to waste resources prioritizing that if no one is willing to pay for that improvement. It matters nothing if your server has a relatively low throughput because it is wasting 10s of milliseconds doing nothing in each response if all your servers barely break 50% utilization. It matters nothing if your frontend is wasting 10s of milliseconds rendering a page if end users don't even notice any delay. If performance is good enough, work is focused on where it matters.

We know it's possible to get formula1-level performance by using formula1-level of engineering and maintenance, but the world runs on Volkswagen hatchbacks.

nuerow··on What caused all the supply chain bottlenecks?
> it's weird but the military got it.

Not really. The US military is renowned for providing soldiers with a social security safety net that's unthinkable for the US's general population, encompassing healthcare, higher education and even social services.

nuerow··on Architect Resigns in Protest over UCSB Mega-Dorm
> This is going to be a bigger issue than you might think at first. No windows means that if you're too hot you can't open the window to let in cool and fresh air.

Not being able to vent their living space is a major red flag.

https://en.wikipedia.org/wiki/Sick_building_syndrome

nuerow··on Architect Resigns in Protest over UCSB Mega-Dorm
> Design life for buildings is under 50 years and 100-year pandemics are somewhat less frequent?

Mankind has been designing and living in buildings for far longer than 50 years. Supposedly the US has a lot of experience designing and building prisons, which have far more stringent requirements than university dorms, and clearly these lessons have been learned long ago.

But just not by Munger, who apparently is militantly against any feedback from any architect.

We can't feign ignorance. Bad design is bad design.

nuerow··on Architect Resigns in Protest over UCSB Mega-Dorm
> Munger is the top-rated residence in the area.

Does this mean Munger is great or that every other sizeable offering in the area is even worse?

nuerow··on What caused all the supply chain bottlenecks?
> All businesses now complain about employee loyalty, but have we earned it?

I'd say that business schools have been for the past few decades teaching that management has to be outright militantly hostile towards any employee, going through great lengths to work them to death and drop them at the drop of a hat.

Thus, these people have been leading by example on how everything and everyone is replaceable, even creating and validating the temp agency industry as a legitimate employer, and once the lessons on how everyone and everything is replaceable are applied by employees towards employers... We have a crisis?

nuerow··on Ask HN: Is there a simple and minimal language like C but without its footguns?
> You have to pick one. The way you get safety in a language is by abstracting over the simplicity.

It should be noted that there are languages developed as safe dialects of C, such as Cyclone[1], whose design goal was to have it both ways and enhance C's safety while preserving its simplicity.

[1] https://en.wikipedia.org/wiki/Cyclone_(programming_language)

← PreviousPage 4 of 14Next →