skysight-inc/HackerNews huggingface dataset:
GCC has many really good extensions to the C language. Why have they not been adopted? Has nobody submitted them as proposals?
> "I suppose this could also be a function of people trying to "break into" programming from a field that is completely unrelated expecting easy money and a comfortable job."

That's pretty much what's going on.
We have people coming to HN and literally asking how to do that: https://news.ycombinator.com/item?id=28889090
The problem: you don't want to be DJ-ing at work, where your time is better spent on more important things than what music you will listen to.
Financial market prediction is where my mind went too.
That's a problem - but its one that is common to all kinds of framework which make use of cooperative multitasking - whether they are in Python, Java (Netty, NIO, etc), C (Nginx, libevent, ...), C# or Rust.

All those frameworks trade off high performance if everything is well behaved against easy of use and potential of very bad performance if some regression is introduced.

Whether that tradeoff ia a good one to take will depend on the application.
> RAII is mostly already there

>> Releasing resources silently (other than the memory of automatic variables) is very un-C-like

The "R" is literally "resource", right? Sounds like instead of RAII you just meant unique_ptr.

Though I beg to differ on whether releasing memory automatically is any different from releasing other resources as far as being C-like is concerned!
For nursing homes, it's 1% for ages 65-74, 3% for 75-84 and 9% for persons age 85 and over. Half of all those in nursing homes are older than 85.

For general expenses, there are reverse mortgages for this. But again, I'm not sure what difference it makes to sell the house before rather than after you die -- especially for really old people. It will go on the market either way. Even if you give the home to a child, they will either sell it, or move into it and sell their existing home.

Either way, when someone dies, the demand for housing decreases by 1. So declining populations do lead to cheaper housing (which is a good thing in places where housing is expensive).
what a concise and excellent explanation (seriously); thanks
I get mostly small bands in Spotify and I worry that Spotify is actually bias towards them. I assume the royalties are cheaper for smaller bands and that may factor into recommendations.
This. ( Not a baker but used to work in commodity trading and Food sector )

Which is in response to the first comment. You cant compete on commodity. And you really shouldn't be. Doesn't matter which market it is you are always going to lose to economy of scale, i.e Grocery Store. You have to compete on specialty. I believe high end French patisserie is a market of massive growth. Unfortunately these type of business are unattractive to VC.
>You want to be as far south as possible, for efficiency reasons

It is absolutely true that a rocket launched at the equator gets the biggest boost from the Earth's rotation, but stuff isn't put into orbit just for fun, it's often because you want it pass over a specified part of the Earth's surface. To pass over CONUS you need some inclination, and the more inclined an orbit is the less assist you get from the planet's rotation. A polar orbit (inclination 90 degrees) has no assist, and a sun-synchronous orbit is slightly retrograde, where you then want to launch as far north as possible, so you don't have to cancel out as much rotation velocity!

The Soviets put their launch site at 45.9 degrees north not because they're bizarrely stupid, but because they'd like their orbits to pass over Russia. Similarly, no Starlink satellite has had an inclination lower than 42 degrees: https://en.wikipedia.org/wiki/Starlink#Constellation_design_...

Going forward, depending on how much interplanetary traffic there will be, you can imagine Guiana Space Centre (Which is currently hosting JWST, destined for a Lagrange point) will see more traffic, but right now almost everything has some amount of inclination.
I think the remark is meant to address internet comments' tendency to jump from "this product doesn't meet my needs", to "consequently it is a bad / mismanaged product".
I'm just trying it out now based on the recommendations in this thread. When you start it asks you to pick some favorite artists. The first few rows were clearly based on artists that I've watched recently on YouTube, so it's pulling in history (I mean...no surprise).

Then I scrolled down a bit b/c I wanted to give it a strong signal of what I liked. I found an artist, clicked it, and noticed the recommendations below changed immediately afterwards.

So then I scrolled some more (because there were still 95% misses), found one I liked, scrolled to see the next row then clicked on the artist I liked above to see if it indeed changed.

It did. But not only that. I love every artist on the following row. Then it quickly diffuses back to noise, but holy cow that was a bit of a spine tingler lol.
You could "fix" hiring juniors if there were a school that taught real world professional software engineering by immersion. Colleges don't do it, boot camps don't do it.

I want every junior dev to work on a fake team building a fake product for 24 months, with a senior (not a "professor", but a real senior dev) shadowing and pointing out common pitfalls and how to avoid them. I know they wouldn't write amazing code, but I could trust they would do everything else right. (My dream would be that CompSci was taught more like a trade school)
“More important” :P
That's almost exactly what I think. Sucks for the low wage earners who can't relocate but its a fairly predictable outcome of lots of well paid immigrants (inter and intra-national) arriving. At the urban scale this is called gentrification.
I misread and thought it was about lego
Exactly. Where I live a base Taycan is 115K, a base 911 is 195K, and the Taycan seats 4 in comfort. If they stuck a Taycan drivetrain into a 911 lookalike they'd never sell another 911.
Electricity markets have been exhaustively researched for ~2 decades (the type we have in the US) and even longer for economic power systems in general.

All that to say the way things are done are not perfect, but they have had a lot of brilliant people looking into them for a long time. There is a lot of economic theory out there on the usage of short run marginal costs for offers and renewables are insanely cheap in comparison to most other technologies.

When you talk about paying for a nuke plant, but not consuming 100% of it's output, that's not exactly what I'm talking about. I would guess that many nukes simply have to run and can't be committed/decommitted like many other conventional technologies. They essentially become a price taker at that point and whatever they are making is likely not enough to cover what they need to stay in business. I hope that's more clear.

Also, zero or negative prices are indeed becoming increasingly common in certain parts of the US.

Edit: the capacity factors I saw posted publicly for nukes in 2020 weren't near as bad as I thought. Regardless, there are still a lot of planned retirements as I understand it, in the next few years. With Southern Company's Vogtle way over budget and behind schedule, I can't imagine another nuke being built in the US of that kind anytime soon either.
Disagree with the premise - you don’t have to sacrifice productivity to put time into finding good music. For one, you don’t have to do your music research during working hours. But even if you do, it doesn’t mean you’re trading off productivity in order to do it.
I was half-expecting it to turn into the colour of a manatee.
I don't see where the GP poster wrote anything like "I guess its ok. Might as well pack it up and let them carry on with manipulation, lying and profiting." - could you quote the relevant passage? Did they edit their comment?
> I've just moved away from the Apple product ecosystem, because Apple did one too many obnoxious things, and I'll also be pointing friends who ask to alternative solutions

Good to hear I have more companions on the same boat.
I don't know. I used to want to be able to draw like Egon Schiele. Back when I was in art school they had an assignment where you drew a self portrait in the style of another artist so I did Egon. Didn't do the full nude but you know. The guy could draw. Still wish I could draw like that but wishes aren't paychecks.

People taking the subway to work might not want to see all that.
How do I help fund an iOS app?
We're in complete agreement then. The data-driven approach need not be applied to everything. My point was subjectivity trying to chalk itself up as rigorous using scientific sounding terms simply rubs me the wrong way.
Add me to the want 4:3 club. Still looking for an economical way to replace the two 25" CRTs in my side by side arcade game. Vertically mounting a wider monitor doesn't work in this case, because it's a sit down cabinet and there's no extra vertical space like there can be in standups, super ultra wide isn't wide enough to do 8:3. Putting the biggest monitor that fits into the horizontal space leaves a lot of vertical space :(
Then you can simply find a song that matches what you're exactly wanting to listen to and start the "song radio" from there. For me the problem is exactly the contrary, I can't find enough diversity in the daily mixes, it's mostly all songs I've either explicitly "liked" or heard a couple times before.
And how does CS degree where your learning just the Math Heavy theory do that? if you did an EE, Mech or Civil Degree maybe those are more appropriate.
A key result of the SipHash paper is that the SipHash authors broke common hash functions so completely that they can generate seed-independent multicollisions.

That means that certain inputs will collide regardless of what the seed is. Seeding the hash function is no defense against such an attack.
Ask HN: Process to estimate career prospects of various tech?
I learned that basic Salesforce jobs pay comparable to years of programming experience. MuleSoft jobs pay very well, simply because of shortage of people.

Everything else being equal, what is your process in deciding what to learn? Obviously personal choices matter, but for this discussion, lets ignore them.
Facts don't matter only feelings do - One of the California politicians.

When people say X must be treated and utility and politicians must control it, I show them PG&E as a glorious example of California's corruption and overall incompetence.
Erm Space X is in the aerospace industry, not the auto industry. I mean, the name is a bit of a giveaway.
> The % operation is quite efficient (although it’s usually two times more expensive than multiplication);

I though it was much more than two times slower? Division and modulus are the slowest integer operation.
Unless I'm mistaken, this doesn't fulfill the requirement:

> I want the ability to rate music across multiple user-configurable dimensions. Add tags. Create smart playlists that interpolate between these.

I'd actually pay for a 3rd party metadata service that doesn't actually provide the music at all, but just let's me tag and rate some across all music streaming services. I've even thought about building that (simply for myself to begin with). I want ratings, instrument tags, mood tags etc. Let me search for songs with 'piano + synth + dreamy + weird' instead of throwing some stupid recommendation my way. And use those tags to find similar tracks across genres and decades of time, instead of just saying "Nirvana and Pearl Jam must be the same because they're early 90s Seattle bands".
Anything that can be exploited by the user for self-exploration and discovery is being removed - for the purpose of serving content that generates more revenue, I assume.. At first it was subtle, but the gloves came off with the recent UI overhaul.

Playlist search result page is just an endless grid of images and truncated names. For the playlist duration, description, number of songs, follower count, etc. you have to actually open each individual playlist. Good luck finding what you were looking for.

More and more Spotify-fabricated content is being pushed. Most of which contains the same limited selection of songs that Spotify keeps feeding you over and over anyway.

Podcasts aren't my thing, Spotify wants me to listen to them really badly though. Majority of the ones they're suggesting I'm not at all interested in, and sometimes some of the podcasts they're advertising seem to contain some pretty disturbing content. On a sidenote: I don't know who he is, or what he does, but I hate Joe Rogan and Spotify is to blame for it.

There is a setting hidden under advanced that is supposed to make Spotify stop messing with the shuffle functionality. It is labeled "Allow smooth transitions between songs in a playlist" vague huh, it's also placed directly underneath the song crossfade slider. I'm fully convinced that this was done on purpose. Also this setting seems to do precisely nothing at all, so I'm not sure why they even went through all the effort.

Shuffle is not random. If this is so on purpose, that purpose does not involve happy users. Else perhaps their devs are afraid of touching some jank script that might be holding it together.

Edit:

Almost forgot about the new artist's pages! They used to consist of a long list of all songs grouped by album. This was far too convenient for us users, so with the redesign they simply removed the lists of songs leaving only a grid of albums, forcing you to go into each individual album to find a specific song and play it play it.

After many complaints they implemented something vaguely resembling what we had before, but with such odd UX that it must be sabotaged on purpose again. But of course, adding this overview back to the artist page was out of the question. Instead what they implemented as the only way to access this, and I kid you not, is a plain text link in the most random place ever.

No one is going to use this feature if they don't know it exists. All this just to get a reason for removing it that is spinnable. Machiavelli would have been proud.
I think spotify should just hire DJs and run live radio shows.

Its been a long time since the algorithmic playlists provided anything useful for me. I find most new music by listening to different online radio streams these days.
So do I, of course remembering that this is a completely fictionalised version of events.

There's no reason to believe that Æthelflæd was captured by vikings and impregnated by Erik Thurgilson before marrying Æthelred. Or that Æthelred was any more a misogynist than any other 10 century christian king. However, we can be pretty sure that Uhtred the bold wasn't even born at this point, never mind Æthelflæd's lover.
Anecdotes without any data
Gutenberg making the movable type popular[1] is one of primary reasons Statute of Anne(1710) and copyright was created. It shouldn't be surprising that you are seeing the effects of that.

With movable type printing, the market for books could be widened, suddenly writing and printing presses could go professional, before that it was largely academic. Printers and distributors and writers both became professional and needed their rights balanced and became economically influential enough to get legislature to enact laws to protect both groups.

[1] He was the first in Europe, he didn't invent it first in the world.
The article is trying really hard to push an inter-generational conflict narrative, but it's missing a very important detail: are boomers adding/subtracting from the housing supply, on net? They are "more active in the housing market" and are responsible for more of the housing purchases, but that itself isn't really an indication of anything. If they're just upsizing/downsizing, then they're not "snatching houses" from the overall housing supply. If anything, boomers selling houses in urban centers for suburban/rural houses (I suspect boomers aren't dying to get a house in SF for the nightlife) should be a good thing for millennials. The linked zillow report hints at this, because they also mention boomers using their equity for all-cash offers. If they were buying a second house, that would indeed be bad, but I doubt this is the case. I don't think banks would give a $500k mortgage to 60 year olds.
This is the worst answer I have read in a year. You should be gratefull someone taught you to wipe your butt. I think what you really meant to say was "I have no idea how email works either but I'm going to make you think you shouldn't try to figure it out because then you might become better than me."
Get a CD player. It's what I did when I got fed up with Spotify.
On today's Lucy launch stream a huge torch was visible nearby. First stage was kerosene-powered, second was using hydrogen. I wonder if this torch is to burn hydrogen byproducts?
I mean, I have a paid account... the biggest win for them is when I forget to turn the tunes on when I sit down to my desk.
Like Epsom printers that come with just enough ink to prime the print head, dump the rest and print two colour pages. It is a terrible purchasing experience.
From the original comment: "The algorithms are still optimized for increasing sales and engagement, not improving recommendations (for the user)." That is an opinion about 'product strategy'. The answers, in this context, are confirming that 'not for the user' part. I find relevant to highlight that HN may not be the most representative crowd in this situation.

I do not use Spotify, nor I had for years. And I do not like the level of influence that all those algorithms have on the population decisions. So, it's not about protecting Spotify but an observation to try to add another point of view to the discussion.
Article has no content. It just complains that Evil Corps are using Nice Looking images as marketing.
> 'Their own gain', the police work for the public interest. If that isn't the case, something is wrong with your police force.

I agree. Something is very wrong with our police force. Also, it might not be allowed anywhere in the world but it absolutely happens in most of not all places (police getting away with tampering with evidence).
I think there code would have been regardless of what drugs they take. Ritalin just let’s you spit it out faster
The O(n) behavior is not even really that 'pathological', lots of normal cases get that behavior. If SwissTable operates as you say, then it sounds like it is prone to bad performance for lots of normal data with a dumb hash, i.e. as a "Set" on numbers where the hash is the identity function (a valid hash for a closed bucket hash table), and many of the numbers are next to each other.

Therefore, much like the situation I described in my parent post, SwissTable would benefit from being used with a decent pseudo-random hash. Which is no trouble, there are a number of good, fast ones.
Where it would make sense, I am interested in consulting with companies on this problem. I'd be pairing with your junior developer full-time to help them onboard more comfortably. Please reach out if that sounds interesting.
Without access to the questions I don't know exactly who would have a tendency to respond. But would you answer a poll about how a service is affecting you if you didn't use it? And if not, that's my point -- that both the article's title and contents seem to speak for Canadians en masse but is likely not to, because it likely only sampled the 60% who use Facebook.
typedef int w;

This also refers to something that exists only at compile time. Where's the inconsistency?

constexpr makes a lot more sense as a storage class than typedef.
I was at a conference the other week and Spotify had a Keynote. They talked about the tradeoff between playing "diverse songs" and "consistent songs". It is a hard problem to solve.

When you start your listening session they try and predict how long you are going going listen (based on your past history and time of day). If you are probably going to listen for a while, they are more risky and might play something "different". Playing different stuff is risky (short term) because you MIGHT not like it. Playing the same stuff is safe (short term) because they know you will like it - BUT people will eventually go searching for something new, so they have to risk diversity eventually.
I imagine they’re pushing podcasts because they aren’t paying royalties on most or any of them.
That high when playing a new, difficult roguelike for the first time, not knowing what works and what doesn't, is survival horror porn. It's the brief few days I truly feel like a child again.
What about scanning?
Shutting an existing plant without having an alternative in sight is just plain stupid even if it was coal powered power plant. Higher energy prices and lack of energy also kills people and damages environment. Do you really want people to run diesel generators in their backyard when power goes off ? Do you really prefer people to buy gas powered gadgets or cars because they don't trust electric grid ? In the absence of reliably grid electricity, people might opt for alternatives that are much more damaging.

My local solar company advertises itself as "alternative to unreliable PG&E", it is expensive and not many can afford it but I can see why some people might spend their healthcare or education budget on buying those expensive solar panels.
If the product is free, you're the product. And if the product is paid, you're also the product.
Declassified docs reveal truth about FBI’s contribution to Hemingway’s demise
Privacy activists oppose EU plans for a GDPR-compliant Whois v2
It’s so frustrating that our political institutions, who are supposed to act for our collective benefit, are so incredibly useless.

We’ve known unambiguously about the impact big business had had on our climate, yet it took decades for governments to act decisively - mine still hasn’t.

We knew about the hazards of smoking for decades before government acted decisively, despite the enormous costs to society. In many cases these companies continue to be allowed to sell their shit, despite knowing that it’s not just addictive, but also toxic.

Asbestos, leaded fuel, road safety, and many other large problems were left unregulated for decades, and in all cases a small number of corporations profited - often marginally - at the expense of thousands or even millions of individuals.

And now we see the same with Facebook. We’ve known for more than a decade that Facebook is a toxic waste pit of information.

There is much that could be done, and much more quickly, but our politicians sit on their fat arses and do Jack shit.

Without effective democracy we have no way to resolve these problems because the whole reason we have a democracy in the first place is to ensure these powerful bastards work in the best interest of everyone.

If King Zuckerberg is more powerful than his parliament of lapdogs, then democracy is dead.

/rant
I hope this article ranks high when people Google canon review.
Awesome! Thanks for sharing that.
And what age range?
No, we can’t. Because C is a necessary evil. If you stop teaching people to program in C, who is going to maintain virtually every software this world is running on?
It makes a significant difference in profiling, versus i.e. a bitwise mask to find a modulus for a power-of-two size.
I'm thinking of going the other way, I just dislike how YT Music doesn't have some small feature like saving my queue to a playlist. But perhaps I should hold out.
I haven't noticed that Spotify would do anything like that. Instead they're pushing their podcasts and curated playlists. To be honest, I've thought that they're more like banner ads on websites rather an attempt at custom recommendation.
I wish this article was more opinionated.

One of my pet peeves about hash tables is that most of the resources about it describe how there are dozens of different ways to do it (different hash functions, different collision management, etc), but they often don't tell you which one you should choose.