skysight-inc/HackerNews huggingface dataset:
I had hoped for a little more insight and information density, but I did learn about Knuth's hash x(x+3) % P which was news to me.

However these are all techniques that I might have used in undergrad, but today I would hands down use Cuckoo hashing unless the application domain was insertion dominated.
The number one priority in a notes syncing app for me is E2E encryption[1]. Even with a private git repo, you're still most likely storing your plaintext notes on a third-party server. I wish there were more options satisfying this requirement.

[1] Even if you currently have no "out of line" ideas, it's very damaging to creativity to let a medium requiring self-censorship become a part of your thought process, as notes can be. The default for notes should be as private as possible.
Enum to string is a one-line expression in Circle:
https://godbolt.org/z/93f5o77zv

Circle has dozens of special traits for accessing useful stuff about types, packs, etc. Don't need to overengineer such a simple thing.
Never. But I have driven on their roads in costa rica. They know how to build them.
This is really neat. I've done similar things with jinja templates plus heavy use of c++ template magic - with the downside that there's a bit of disconnect between the two syntaxes. I'll have to keep an eye on this for the future.
I wonder if this is just what it feels like to get old.

I have no interest whatsoever in using a metaverse, and I hope I never have to. Mainly I'm just curious if this is the way much older people feel about the internet and computers. Personally, I think computers and networked computers solved clear problems that we had, and gave new ways of doing things. Is that true for VR as well? It could be, but I don't see it.
There is information missing here. Why are they leaving? What work are you giving them it takes that long to play even? What kind of juniors are you hiring to begin with?
Very nice. I think you need to decide what is the main point of your site. is it an alternative way to read HN? Is is a curated edition of HN? or is it going to be something on its own eventually, and HN is only a method to jump start it?
I use the Privacy Redirect [1] extension to redirect Twitter to nitter [2] which is a much better experience for someone without an account.

1 https://github.com/SimonBrazell/privacy-redirect
2 https://nitter.net/
In some countries something like this has been mandatory for a long time.

In Germany and its lapdog Austria there’s the mandatory impressum: fully doxxed whether you want it or not.

In Spain if you handle a database with personal information (like a forum or a blog where people can leave their email addresses along with comments) you also have to put all your data somewhere in the page so people can contact you to have themselves removed.

But hey we have cookie banners at least!
I don't know what he was referring to specifically but I this would be the first time that I hear of a country that actually has a protected title of _Software_ Engineer.

Plenty protect "Engineer" meaning "Software Engineer" is actually a title that you _can not_ hold.

As for the "mandatory courses on algorithms" and such if you go to university, definitely Germany. If you go to university and study computer science, the first few courses which you will have to pass before ever getting to choose your own courses are going to be about modelling, data structures and algorithms. You will learn the theory of hashing, you will learn how to model problems you will learn various sorting algorithms etc. in the lecture. Labs will make you implement various of these things on an actual computer. An exam will probably ask you to write one or two of these algorithms in pseudo code. Been there, done that. And of course comparing all manner of algorithms in Big-O notation etc. Also "reducing" one algorithm onto another (dunno if that's the proper term in English). But basically taking an algorithm that you know the run time of and showing that a different algorithm you have has the same characteristics and thus Big-O complexity. You will also learn about P/NP and will implement bin packing and such.

Unrelated to hash tables but hashing always reminds me of substring search algorithms that we learned about. The naive way is to just do a "text" search, advancing one character at a time and comparing the whole thing to your substring. I don't remember what the algorithm is called or who invented it but we learned about an optimization for substring search, which hashes with a particular hash function and when advancing a character in the string to search through, you reverse the part of the function for the first character and only add the result of the function for the next character. Thus you save having to deal with the characters that haven't changed at all.

Just like hash tables or linked lists, I've never needed to code any of these ever again and I just use them, but it was definitely worth learning about all this stuff.
Nice! How I can I add my feed? My website is my username, without the last "m" and dot com!
That’s just the appeal to the majority fallacy. People may just use Spotify because it’s free with ads and they have the hook of personal libraries to keep you stuck on the service as a paying member.
Seems like the CEO told OP that they would provide her an archive download link upon request. I'm confused what the problem is?
I buy that the trial lockout thing is annoying, but... Are we supposed to be up in arms that a user has to email support for... support?

I'm annoyed primarily by OP's entitlement and vitriol, and secondarily by the CEO's typos and grammar.
Dumb anecdote not replicated in the real world.
Answer questionnaire, get SaaS startup financial model in Excel
It’s fascinating to hear this feedback on Spotify because I’ve never used it this way. I don’t let it guide anything. I just use it as a music repository and I pick the albums and make my own playlists.

Do others generally find that auto play (or whatever it’s called) works well? Or does it just feel like payola radio?
It'd be like giving it to your toaster.

https://www.youtube.com/watch?v=LRq_SAuQDec
Given such brute approach to microphones, I almost expected to see new pipe bomb design there.
I reckon some of the powerful distribution that can give you a centralized platform like Ghost, Medium, Substack or similar. But the long-term solution is to own your website.

At the very start the reach is not very enticing... but your home, your rules. (As long as you don't break the law, you'll be fine).
I’m guessing if you run the site through https://remove-js.com it’s okay on Safari too
Big discussion of this yesterday: https://news.ycombinator.com/item?id=28880782
Maybe I'm too tired, but wtf is this article even talking about.

You can lose your domain if your data is not accurate/real.

Registrars have also been offering proxy contact services for a long time now. Authorities, of course, can get the real info.
I would be surprised if a doctor's note along with a valid test wasn't good enough to get into a 2G venue. For example, people who can't get the vaccine are also allowed to get free tests while everyone else has to pay for them.
Also OP claimed that she never mistreated support staff and then posted emails of her being unnecessarily condescending to support staff.

EDIT: not extremely rude and condescending, just unnecessarily condescending
I recommend a book that discusses this topic in detail: Pedigree.

Basically discusses the mechanisms of how connections and wealth affect hiring.
It's not an "either/or" situation, apps compete on price and that's just not where they make their money, largely.
I always have trouble with reading Dan's blog, so I added some custom CSS here https://twitter.com/swyx/status/1449472712720601088 with some explainers
I've peripherally known Corretto is the Amazon distribution of Java (specifically, OpenJDK), but I never really looked up what the difference between, say, the releases from AdoptOpenJDK and Corretto are.

I looked it up, it looks like it's generally:

1. LTS support - adoptopenjdk doesn't do LTS

2. Patches that come from Amazon that are upstreamed to OpenJDK but appear in Corretto first since, you know, that's where Amazon develops them.

Did I miss anything?
https://en.wikipedia.org/wiki/Wirehead_(science_fiction)
Could someone provide a TL;DR on the major patches/benefits that Corretto has over Adopt or other community driven JDK implementations? It is unclear from the documentation but I am assume they have some secret sauce for faster boot for their Firecracker VM instances.
> The Joel Test is now considered to be obsolete because it awards points for things like "Do you have testers?", which aren't considered best practices by most devs today.

Is having dedicated testers really not a best practice? I mean if I compare my experience between projects where we had testers and projects where we didn't, I felt we had better results when we did, if only because it'd free up lot of time from the developpers, who don't have to run a lot of tests and the testers usually think of edge case that we overlook. One downside of having testers is that it kinda slowed down the process of test automation, but in that particular case, it's not the only cause.
well first you were saying there’s more outrage about trans people, and when presented with a contrary opinion you’re now singing a tune about the proportion of the outrage… come on, that’s not even what this is about
Disliking something is scary; if I press the dislike button am I going to be cut off from that whole artist/genre/etc?
>They aren’t in any way comparable in the eyes of the law.

That's true. But some jurisdictions report all un-serialized guns as "ghost guns" in their stats because that's how they want their stats to look.
Here's ImportC in action:

_Static_assert(square(2) == 4, "failed");

int square(int x) { return x * 2; }

1. there is no need for constexpr keyword. Anywhere a constant-expression in the C grammar appears, compile time function execution is involved.

2. `square` is forward referenced, but works fine.
I am speaking as if I have no idea about your work and what you do. I am speaking as if I am addressing the specific incredibly stupid thing you said, from a user point of view. You know who does not care about your music "industry" or your "work?" The users of spotify. They care about listening to music they want to listen to. My background is I listen to music using things that play it. Spotify is absolute crap because the people that make it do exactly how you said. The fact that you think you know better than the user is why I put that last paragraph in. You still don't get it, and you never will, and that's the whole point. People who think like you shouldn't be allowed to have any input on features or product, because you make inferior products, and destroy good ones. It happens a lot, with a lot of stuff. Because of you.
No, but controlling a state does a statesman make.

I suppose you could quibble over the formal definition of "statesman", but the fact of the matter is there are individuals in the United States who exert great power over the directions and policy of the country who lack integrity and are dishonest, and I think it's a shame they are the ones with the influence. If you're going to control a country, do it at the helm, not from the shadows.
Ask HN: What would you tell someone joining the workforce 20 years from now?
If you could tell anything to someone who would be joining the workforce 20 years from now, what would it be? Study computers? AI? Prepare to live in space?
When I was young and foolish, I also used to defend random CEOs on Hacker News. But now I'm older, and rationalizing their absurd and offensive rhetoric is too time consuming for my desired lifestyle.
https://i.imgur.com/k3doFqL.png

This is my relationship with Spotify.
I asked an adjacent question and am also curious, great that they have provided another option for the OpenJDK community but I can’t see anything compelling that would make me consider this over Adopt.
I know that these implicit signals affect how I use the app. I might force myself to listen to a song I like, but would rather listen to something else at the time because I don't want my choice to skip to impact my recommendations in opaque ways.
It's even more nuanced than you describe. Even within the hiring funnel, which school you go to often determines where you end up in the company. I will take my old employer (Intel) as an example. MIT, Stanford, etc. had a monopoly on "integration" engineers, which were the high visibility/high impact roles that coordinated all of the wafer fabrication steps among the engineers in process, yield, metrology, etc. The rank-and-file process, data analysis, etc. engineers were pulled from the next tier of schools. Finally, metrology, reliability, and QA came from all over, usually 2nd or 3rd rung state schools.
Obfuscated Python (2001)
Many people buy printers in stores, still. Point of sale rules apply there.

If even one person does this, then the parent's comment is valid.
You're right, since you grow your own vegetables the entire global economy doesn't make any sense and is stupid.
HN isn't just for news

Its a startup, business, and tech link aggregator

This covers the ramifications of poor customer treatment (business practices), and also acts as a warning to startups that might be looking at ghost as an option for their company's blog
The ‘lying flat’ movement standing in the way of China’s innovation drive
I read the emails. Didn't seem rude or condescending to me. Unless there are other emails you're referring to?

https://twitter.com/amyhoy/status/1449194810749845512/photo/...
> Is having dedicated testers really not a best practice?

It is still a best practice. A lot of companies are doing crazy things that Joel would not agree with -- for example, adopting open office layouts, dropping their QA department, and constantly rewriting code. Joel is not wrong that these are bad ideas, regardless of whether they are widely used or not.

Rather, I think it's just more evidence of the growing power of monopolies, that firms can adopt inefficient practices because they are so entrenched.
Looking at per capita is useless when those countries have a combined population of over 2 billion (~6x US population). Climate change and the Earth doesn’t care about per capita, it only cares about the total output of carbon. The reality is that American output has most likely peaked, while China and India will keep growing for decades to come.
Discover Weekly is remarkably good at suggesting new music. But I’m surprised at how few of my friends use it. It doesn’t seem to be promoted prominently now.

It’s a bit like how Steve Jobs proudly demoed Expose in Mac OS X 10.3, but then subsequent versions of the operating system progressively hid it - to the point almost no Mac user knows it exists.
Pornography is bigger than Facebook…
> People like a good narrative. One narrative people seem to like is that I'm a good problem solver, and that problem solving ability is generalizable. But reality is messy. Electrical engineering seemed like the most natural thing in the world, and I picked it up without trying very hard.

Narrative or not, my experience talking with people transitioning from other careers via bootcamps has been that people who came from scientific backgrounds have a very large advantage over those who do not.
This is not why the plant is being shut down. It is reaching end of life, which means that if it wants an renewal on its license, it needs to come into compliance with modern environmental laws.

The key violation for the current plant is its cooling system, which uses once through sea water. To limit the damage to the environment, a modern cooling system would need to be built. When PG&E took bids for new cooling systems, all designs had a construction cost of many billions.

Rather than pay for such an expensive upgrade, PG&E made the wise decision to spend that money on cheaper replacements. The problem is that despite having a decade to get things in order, they haven't yet done met the capacity needs for the rest of the state, much less for this capacity retirement.
Okay. What I'm gathering from this is that if one tries to sell artisan bread at prices competitive with Wonderbread, and overcharges for bottom-barrel pizza cheese, one might fall under the illusion that low margin items are high and vice versa.

Excuse my spiciness, but you did just hit me with that arithmetic quip.
My favorite use is putting user-defined attributes on data members, and using reflection to generate a UI to manipulate those values. I do it with these shadertoys:

https://github.com/seanbaxter/shaders#reflection-and-attribu...

Just mark your declarations up with custom attributes:

[[.imgui::range_float { .1, 5 }]] float Zoom = 1.5;
[[.imgui::range_float { 0, 1 }]] float Speed = .15;
[[.imgui::range_float { .1, 1 }]] float XScale = .3;
[[.imgui::range_float { 0, .5 }]] float YScale = .2;

Then loop over the members with a meta for, and emit widget code that's guided by the attribute kind and data. These attributes each define a scrollbar.

The kind of data you reflect over will likely come from within the program.
Slay the Spire is a bargain, awesome game!
I don't know. This is clearly not a HN kind of submission, but I actually agree with the CEO. OP sounds more like an activist looking for attention.
I think we're stretching the meaning of 'surprised' past the breaking point, but I get your point. Tangentially:

> What people "get" for SpaceX running that activity is a space capability that is superior to every other nation on the planet.

The US already has had that for 50 years, and SpaceX is nowhere near the pinnacle of space capability. NASA has a helicopter flying around Mars, will soon have a new telescope out at (L2?), is operating in interstellar space, put humans on the moon 50 years ago, etc. etc.

SpaceX is good at launches to orbit, but being a private business they can sell that to any country. The US public doesn't own that capability like they do for NASA, any more than they own the new Ford truck line.
5 + 5 common mistakes people make in Java — Part 2
Jack Dorsey says Square is ‘considering’ building a Bitcoin mining system
Have you never known someone who came back from a brief trip with a fake 'accent'? (Or even without the trip)

I can't imagine being so disconnected from how humans work as to not understand what's up here.

People enjoy the attention of other people- it's part of the drive to gain social position. Sometimes they develop pathological behaviour related to this drive. Particularly when self-awareness is low like in most teenagers and some non-neurotypical people.
Adopt OpenJDK did have the LTS releases. They rebranded last release - https://adoptium.net. The quarterly updates to Java 8, 11, and now 17 are all there, and up till then, been pulling 8/11 from Adopt OpenJDK's site.

All in all, not much different. The last release was a bit of a kerfuffle, as they migrated web sites.
The argument is that most people would do bad things (build a fracked well in the case of Elon, something smaller for the rest of us, like buying cheaper electronics from places where environmentalism doesn't even exist) to make money or save a penny, even when they do some "good" things when it's convenient to do so (driving electric cars in 2021). I keep forgetting people here on HN seem to need things to be written in a very obvious, literal manner otherwise they do what you're trying to do and interpret things too literally, without any kind of abilitiy to interpret when something is a metaphore, analogy or hyperbole. Sorry.
And I would rather not. Obviously plenty of music enthusiasts here are disappointed with the results the algorithms come up with!
There is no coordinated plan to phase out nuclear power, the plants are just reaching end of their licenses, ans nobody wants to deal with the expense of bringing nuclear into compliance with modern laws.
> Relative to revenue, carbon tax won't be that significant for SpaceX.

Are there any public statements on SpaceX's financials? The rumor from their last round is that it's a classic Elon money-burning enterprise - and profitability is always one quarter away. Revenue is of course pointless, since it's quite easy to have revenue when you're not profitable.
Yeah it's odd to me to see comments like this.

Why would you let a streaming service choose what you want to listen too or a premade playlist by someone else? Then you might as well just listen to the radio. All these on any service are always rubbish. I make my own playlists and I only listen to them, sometimes I search others for some inspiration to see what songs I forgot etc, but most of them include a lot of trash so I make my own.

The only 'auto' feature I use, is my release radar playlist which I check every Friday to find new songs from Artists I like and then add those to my playlist titled for the current year.
One of the interesting effect of BB divorce rates is to sharply increase the number of houses required due to more people living alone.
Presumably the same way find all of the people who maintain all of the critical software written in Fortran or COBOL or Ada or other languages that aren't really taught in schools anymore.

If a new hire is minimally competent at programming, I can bring them up to speed in whatever language it is we are using. Hell, even when people have notionally been taught a language in school, there's a decent chance I would still have to train them in that language as a new hire, because what they learned in school may be insufficient to cover the complexities that get involved in practice.

And to OP's point: C itself is a pretty poor language at covering what it actually covers. It has some missing features that just seem random (e.g., there are no 8- or 16-bit arithmetic operators in C). It has gratuitous undefined behavior (signed integer overflow and strict aliasing). As a language design, it's atrociously outdated (#include is a very poor substitute for modules, and generic programming might as well not exist in C). There are questionable features--null-terminated strings don't look like such a good idea in retrospect. Even if you want to avail yourself of its strengths--access to low-level hardware features--C's gratuitous undefined behavior (particularly strict aliasing) undercut it there, and languages like Rust and Zig give you the same power with none of C's warts.
Well they're based on Singapore (at least as far as it appears from the Contact page) so they're outside of any EU jurisdiction unless they have servers there.
Petroleum is generally transported using pipelines which are very efficient. Moreover, the centrifugal pumps used are powered by electricity.
Yep. The FANG I work at now mostly hires out of school. The schools generally tend to be the ones existing engineers came from(not your typical Ivy leagues or big names) but we do mix it up.

Previously I worked at a small but growing defense contractor and they also hired Jr's and recent grads.

It's a big world though, and I can't say my small sample of it is representative of the bigger whole.