skysight-inc/HackerNews huggingface dataset:
> Of course I want consteval, if a later C++ is available to me, but that doesn't excuse you writing constexpr does absolutely nothing, when it clearly does.

consteval wasn't intended to be excusing anything. I was just letting you know you're misunderstanding what constexpr does, and that what you're thinking it's supposed to do is in fact consteval's job.

You seem very confused about language specifications. That GCC and Clang happen to interpret constexpr as an extra "please inline" hint under -O3 is not evidence of constexpr "doing" something, and certainly not justification for including it in the language standard. That's like saying HN's orange color is "doing something" just because you really like to go eat an orange every time you see it.

I suspect you will have a hard time finding any evidence that constexpr was ever intended to be a "this is technically optional but please really, really try to inline this" hint of sorts to the compiler by the committee.

> But consteval function is also not a literal replacement constexpr.

I didn't say it was.

> For example, you can't take a pointer to the former.

"Therefore constexpr is useful" does not follow from this.

> There's a reason they co-exist and are not useless.

There's a mediocre reason for consteval, and a bad reason for constexpr. The former is probably unnecessary IMO though still of marginal utility, and in any case I can concede there's a debate that could be had there. The latter would be practically useless if the language cared to just make it the implicit default. It's really only solving a problem it created.

If you're using constexpr as an "optional but highly recommended inline" hint like you're showing me in your examples, you're doing the equivalent of pulling up HN's orange color so it coaxes you (or someone else) to go eat an orange. You are certainly welcome do that (hopefully it's a free country where you live) and I'm not stopping you per se, but it's missing both the letter and the spirit of the keyword(/color) by a colossal margin.
Sounds like condescension from someone who doesn't have kids.
I just wish they fixed the problem with the bands disambiguation. I just hate everytime I get a recommendation in the release radar for a band that happens to have the same name as the one I like but stylewise they have nothing to do with the music I usually listen.
Reconstructing TypeScript
Yes, heaven forbids he drills 10,000th gas well in the US on his way.
I believe the Compressed Hash-Array
Mapped Prefix-tree (CHAMP) [1] is considered the current state of the art in terms of performance, memory efficiency, and memory locality.

I have an implementation here [2] that is used for the HashMap and HashSet types in language-ext. The 'guts' of the implementation is here [3]

[1] https://michael.steindorfer.name/publications/phd-thesis-eff...

[2] https://github.com/louthy/language-ext/blob/main/LanguageExt...

[3] https://github.com/louthy/language-ext/blob/main/LanguageExt...
All inkjets perform poorly in the infrequently used use-case.
> Though some customers have shown desire to want to manage these signals

Let me be one of those. I want to be able to control the algorithm in all of its parameters, but even the ability to control the values for new/familiar and how far to stray from the current genre would be very welcome.
How sweet!
Baby boomers are snatching houses out of the hands of millennials
ARM is not a magic bullet but the M1 stems from the trend of phone processors growing up to be competitive in the PC market.

Since almost (all?) mobile phones use ARM I can see a similar process of adapting other ARM processors to the PC market.

But of course Apple is so far ahead that we really don't know wether and when there will be a competitive alternative, so it may as well be a streamlined x64, or a new ISA, sure.

It seems to all depend on some very experienced CPU design teams and it seems that actually Apple lost some of them in the last year, I would track these news to get a better model of predicting the future than the ARM/x64 divide.
Use -fno-strict-aliasing if you do have such code.
Laser printers, at least in my experience, suck for photos. Not that people print photos any more but if you're using your printer for any kind of small framed photos or crafts than a laser printer really isn't a solution
It's not too late! Grab a ticket and come on in: https://www.eventbrite.com/e/roguelike-celebration-2021-tick...
With any luck, the younger generation will kill themselves of angst before.
The front page says "the research and education system for IAM" ... that reads like it's not for production use and would turn me off immediately.
Wait, your argument is that everyone would build a fracking gas plant if they could? What an odd thing to say.
They're probably trying to offset the guilt they feel from payola[0].

https://newsroom.spotify.com/2020-11-02/amplifying-artist-in...
Looking at the image in the article, the 'fast fire accellerator' looks suspiciously like a traditional waste gas flare common for the past 50 years in petroleum refining.

Its common to try and redefine these as the EPA cracks down on them and they are environmentally bad. The last major push in industry was to try calling them a steam flare.

Disclosure: I worked a few years in refineries as a mechanical maintenance contractor.
I write code 100 hours/week, here's why I probably won't stop
Agreed, the reaction to this idea blew me away.

The problem of hiring is accurately signaling fitness for a job. Job hunters should have a variety of ways to do this - interviewing, credible vouches (like this company), and hopefully more in the future.

Founder should've stuck to his guns imo
That’s what the very next section is about
How do you even handle this? You can't both be listening music at the same time. Are you sure the gringo doesn't stop paying because he keeps having his playback stopped?
Out in embedded land, where you will have C, assembler and a tiny library if you are lucky, the luxuries of Rust just aren't widely available yet. Its also a very valuable language to learn since the big 3 operating systems are made out of it. You can't wish that away.
I actually wish most networks had a rating system than up/down.

Including social media.
The Solar Gravitational Lens Will Map Exoplanets. Seriously.
The problem is finding interesting people to follow. Do you have any suggestions for Mastodon?
Hinckley Point does not need to be economic by far. It is more about nuclear weapons. UK as a country needs a new reactor to keep its nuclear arsenal. They made that clever deal to let the energy market subsidize the military.
> your whole premise (toxicity of pure oxygen)

My premise is that any amount of supplemental oxygen without the antidote for oxygen toxicity worsens outcomes. For example, I mentioned how doctors are realizing that COPD patients don't necessarily benefit from supplemental oxygen.

(Edit: editing my piece I understood what you meant. I have reworded that opening paragraph to say "Modern doctors sometimes decide their patient's tissues are low on oxygen and prescribe various amounts of supplemental oxygen.")

> modern medical practice!

Aggressive use of oxygenation has been studied and is consistently found to worsens patient outcomes [0]. There should be no controversy, but aggressive oxygenation is a common treatment in modern medical practice. Maybe you know why this is the case?

[0] Mortality/morbidity: acutely ill adults liberal vs. conservative Oxygen Tx(2018) (thelancet.com) - https://news.ycombinator.com/item?id=22993262
I downvoted your comment to demonstrate that I disagree with you.

I've heard some good arguments against allowing users to show dislikes/downvotes as well as likes, but I've not heard your argument before and it doesn't strike me as accurate. Less used than the positive direction, sure, but still significantly used when available.
In software development, nobody knows you're a dog.
Surely, dystopian or utopian depends on who you ask?

Brave New World, clearly shows a dystopia from the point of view of John, but Utopia for the Alpha-pluses having soma fuelled sex parties.

The meaning of dystopia is negative. Regardless of how you try to solve the problem.
Besides the privacy problems, this also means that they use your bundle to transmit data, it is a form of theft if one is not compensated. I wonder if that can be a narrative to sue them for it.
So basically they’re developing a product marketed to streaming platforms to identify what’s “more attractive” to consumers. The algorithms are still optimized for increasing sales and engagement, not improving recommendations (for the user).

It's possible that the recommendations are both good for users and good for corporate interests. They might not work for you, but for millions of Spotify users they seem to work. People listen to them a lot.

I listen to my recommended "Discover" playlists occasionally. They're decent. They include things I haven't heard and quite like. Maybe record labels are paying to be on them. Oh well.
Correlation does not imply causation, and neither does causation imply correlation.
Lots of these specific claims are correct, though I’m not really sure how you get

> Obama killed more people than all three of the names you cite

and indeed that’s sufficiently vague and open to quibbling that I’m not surprised you give a source (and the truth of this would likely be resolved on dubious definitional grounds rather than anything more generally meaningful).

I suppose the other question is this: what relation does this have to the parent comment? Of course Obama is I suppose a fairly good example of a liberal, but he’s not the only one, and it’s quite plausible that he did these things qua president of the American Empire (not a ‘liberal’ position) rather than qua a liberal; compare, say, Icelandic or Zambian liberalism, which, not being attached to great imperial apparatuses, don’t tend to do this sort of thing.
I agree with you. This is poorly written, random snark. It seems sort of plausible but it’s like looking at a pile of Lego and thinking “Yeah, maybe you could make a Millennium Falcon from this I think?”
Authentication is part of the "accounts" part. :)
There's a fair balance to having that many credits. Normally, when I see the same name in all of the roles, I get nervous. I would like to present as evidence marked #1: The Room
Yup, you weren't the only one who initially mistook the 'c' for a 't'.
They will rely on the Sabatier process to produce fuel on other celestial bodies. And the corresponding technology must be tested first - why not in Boca Chica?

I don't think that anyone is trying to make the claim that SpaceX will use the Sabatier process to fuel Starships here on Earth right now routinely. As you say, gas is cheaper to buy here on Earth. But they still must have the technology mastered before they fly away from the low Earth orbit.
Nick's article about BitGold shows 2005 in URL and 2008 in post
Crap like this is why, to this day, my collection is digital files, cds, vinyl and streaming only for radio - like pandora
Implementation of in-memory hash tables for Tcl
> Do you expect the guy laundering money to accept bitcoins without charging extra?

That's the entire purpose of using them.

Someone who has a million dollars in physical cash either needs to get someone local to launder it, which might be hard to find or require paying them a thick margin, or they have to find a way to ship a huge amount of physical cash to the place it's being laundered and risk it being seized at border crossings etc.

Someone who has a million dollars in Bitcoin can buy money laundering as a service over the internet from the lowest bidder who has a good reputation. The Bitcoin gets transferred to some place with favorable banking rules, gets liquidated there where it's either not illegal or the local authorities are corrupt, and it comes back as dollars. Since it's possible to do it over the internet, you have competition from all over the world including some favorable jurisdictions, so the margins get smaller than they would be if you had to find someone locally.
>>>one other consideration is disliking can usually be inferred from other activity. Skipping a song after less then 20 seconds for example can train a model

GOD NOOOOOO

that would be terrible, there are all kinds of time where I will skip a song because I do not want to Listen to it RIGHT NOW, not because I do not like it or never want to listen to it ever again...

Music is very emotional, some times you just do not want to listen to X at the moment, 30 mins later you might.
Utterly gutted? How do you figure?

The EPA headcount was 14,779 in 2016 and was 14,172 in 2020.

https://www.epa.gov/planandbudget/budget
This is not true at all. Doubly not true when your program is subsidized by Federal dollars and takes place adjacent to protected federal lands.

The FAA is subject to NEPA review, and hence any SpaceX activity in this area must go through the same process as every other industrial activity that impacts federal interests.
Carbon emissions are a problem caused by the rich, trying to cast the blame onto China is a red herring.

https://www.nature.com/articles/s41467-020-16941-y?fbclid=Iw...
No, that is specifically the core worldview of a century old strain of environmental activism that has been repeatedly dunked on by reality & technological progress at nearly every single turn.

“Sacrifice someone today to help reduce the overpopulation/famine/nuclear war/greenhouse problem in the future, or else doom!”
Lots of exclusively technical types don't understand why people are confused by heavily documented but awful interfaces. That's why HFE became a field and why UX practices should inform software development from the get-go.

Documenting a lousy interface is not a solution— it's a mitigation strategy and usually a lazy one. Most people find git's interface to be confusing, arbitrary, and frequently astonishing in destructive ways. Maybe you're exceptionally gifted in keeping a large bank of seemingly arbitrary commands in your head, or maybe you speak git frequently enough to have native proficiency. Unfortunately, you can't generalize that to all other users, and it doesn't invalidate their difficulty.

Since most folks new to git are likely new to CLIs— having a tutorial two levels deep in man pages makes it nearly useless. If you draw two barely touching circles on a page and label one "people confused by git enough to need a tutorial," and the other "people who know what man pages are, how to access and read them, and think to look there for tutorials,"— that's your usability Venn diagram for that documentation. Beyond that, many organizations require non-developers to use git now— copywriters, designers, project managers, etc. We're not talking about sendmail or clang here.

That lack of developer empathy for less technical end-users is why software projects, especially FOSS ones, marginalize UX input. Usability is the one thing commercially-sold software consistently does better than FOSS, and one of the reasons commercial offerings so frequently trounce FOSS equivalents in everything but developer and system/network tools used by people with bad UI Stockholm Syndrome. When monetary incentives and non-developer input inform product decisions, "it's in the docs" just doesn't cut it.

I've primarily worked in tech for the past 25 years, been a full-time developer for 10 (exclusively writing FOSS,) and have recently moved towards design because I see a lot of unmet needs there. So I understand the frustration in user needs precluding the most elegant/interesting/efficient technical solution to a problem. But, if you aren't actively working to meet end-user needs, frustration about end-user confusion isn't particularly justified.

As an aside, I believe Firefox's comparative success among end-user-visible FOSS projects stems from the Mozilla Foundation's commitment to product usability. Check out https://firefoxur.github.io
Ask HN: What kind of tools would you use to sell trading cards?
I got my hands on a few hundred Pokemon cards that I’m trying to sell efficiently as possible. I’m thinking I can hack together a photo booth and run text recognition on the images to make it easier to catalog and put up listings. It’s mostly for fun.

How would you do it if you had a weekend to put something together?
that would be great :-)
Multiple classes and professors I've had in college, and textbooks I've read. This is basic environmental science.

Here's a short slideshow about the carbon cycle from a meteorology course[1], under short-term carbon cycle you'll see wildfires, decomposition, cellular respiration etc.
Here's research from NASA[2]. Here's a paper that cites numerous references to these facts[3].

Here's what the state of CA says[4]:

> Fire is an important part of the carbon cycle. Fire consumes organic matter, releasing greenhouse gases including CO2, methane, carbon monoxide, and other materials. Trees and plants not immediately consumed in the fire may be killed and decompose rapidly, releasing CO2.

> Although fire produces carbon emissions, it is also a natural and necessary part of the ecosystem, especially in California where plants are adapted to fire. Rather than eliminate fire, the goal is to maintain historical fire regimes and thus avoid catastrophic fires that occur when fuels build up to unnatural levels.

[1] https://www.sjsu.edu/people/frank.freedman/courses/metr113/s...

[2] https://icp.giss.nasa.gov/research/ppa/2001/tpenafort/

[3] https://www.fs.fed.us/rm/pubs_other/rmrs_2014_loehman_r001.p...

[4] https://www.fire.ca.gov/programs/resource-management/resourc...
That article is going pretty heavy on the us vs them, absolutism, assuming bad intentions, etc.

Not always wrong, but also checking the boxes for propaganda and manipulation. Maybe ironically? I only got half way through.
The size of Thinkpad series T*s - 14". I had T460s, T470s, T490s and currently using T480s.

I picked the wrong CPU for T490s and it fried two keyboards: several keys on the right including enter and backspace stopped working after ~6 months.
Wouldn't it be racist ?
Yesterday I tried to book a plane ticket on eDreams and no matter which card/bank I used I got a bank authorization error.

So I tried to contact eDreams, which requires a trip reference number.

Since I couldn't pay them for a plane ticket, I didn't have a trip reference number. So all their ticketing and phone tree systems would hang up on me.

eDreams customers, evidently, don't want to contact them without having a trip reference number. And they know this for sure because they've never had a customer contact them without one.
Hmm, I had a similar situation with an ex-partner contaminating my recommendations. I emailed support and it was pretty easy to reset my recs to a blank slate.
> If I walked into my kids' daycare to see a reproduction of [0] on the wall, I'd definitely raise an eyebrow, and even [1] is probably enough to scare smaller children.

I'm not sure this is meaningful. You would also find any fine art unusual in the context of a daycare, regardless of whether or not it's offensive. Your mind is trained to expect bright colors, letters, shapes, etc. in that context.

A better question is, would you expect an art museum to have these paintings in a separate area that requires proof of age to see? And I think the answer to that is absolutely not. That would be weird.
https://www.bloomberg.com/news/articles/2021-09-13/u-k-power...
Somehow people will find a way to spin this as a positive thing and a rightful thing that lord Musk is doing for the future of humanity™.

But Zuck is the devil for giving you the option (but not the obligation) to watch pics of other people's vacations.

You know you study the game, you think you understand, you look at the logic which should be the strong point of HN and reddit type crowd...but in the end it always ends exactly where all the other "lesser" social phenomenons end up:

it's all about that "OMG he's so emotional and like deeply cares about it, I can see it in his eyes and his voice"

teenage girls, always looked down upon, understand their feelings better than most adult men.
> In fact, it’s impossible, since the treasury can always buy them.

Minor correction: The US Treasury issues bonds, the Federal Reserve Bank is the buyer.
No Scorsese, Woody Allen or Tarantino, but “The Avengers” is included? Yikes
imo this should exist alongside interviewing and a variety of other methods for proving your potential to an employer.

Also, if you make it two months, you double your money. It's not just a fee.
HATEOAS – An Alternative Explanation
I can’t find your quote in the article. Nice straw man.
The "congratulations" is a bit condescending. AWS clearly benefits from curl. But I guess that is FOSS in a nutshell.
Relative to revenue, carbon tax won't be that significant for SpaceX.

There aren't any exact numbers yet, but Starship will burn about 5000 metric tons of propellant in a single launch. Assuming a stoichiometric ratio of CH4 to O2, that'll emit about 2600 metric tons of CO2 (the rest is water). According to the ICAO emissions calculator, a roundtrip by plane between LA and London emits about 0.9 metric tons of CO2 per passenger. Thus, a Starship launch generates the same emissions as 2900 passengers making that trip.

At the $400 price I get for that trip on Google Flights, those 2900 passengers generate about $1.2 million in revenue for the airline. A single Starship launch will generate $100 million in revenue for SpaceX.
I've cited every single claim I've made. And no, I'm not a fan of Musk.

From a legal and technical standpoint, My work has been run through legal, environmental, and oil and gas engineers I've worked with over the years.
Since when is DevOps a junior position?

Who is going to let some one new to the game learn in their infra?
So far so good on the Toner. I _think_ I heard that the guts were the same as an IBM printer, but I might be wrong on that.
Python Beginner Mistakes