skysight-inc/HackerNews huggingface dataset:
Have a go at Logo - program a turtle. Make a Pythagoras tree with it, or any other fractal. Koch snowflake is also fun.

Make a game for guessing a number 0..100 - game gives you “Goldilocks feedback”.

Make a program that sorts numbers.

Make a pong game.

Make a Harry Potter “sorting hat”: ask a few questions and allocate to one of the houses on some silly rules.

Just off the top of my mind.
"I don't know what features the network of the future will have, but it will be called Ethernet."

Ethernet is absorbing all the features of other networking technology, and adding them to it's own perfection.
> You need to talk with deep queues or with multiple concurrent threads to the device in order to eat the entire IOPS buffet.

Completely agree. There is another angle you can play if you are willing to get your hands dirty at the lowest levels.

If you build a custom database engine that fundamentally stores everything as key-value, and then builds relational abstractions on top, you can leverage a lot more benefit on a per-transaction basis. For instance, if you are storing a KVP per column in a table and the table has 10 columns, you may wind up generating 10-20 KVP items per logical row insert/update/delete. And if you are careful, you can make sure this extra data structure expressiveness does not cause write amplification (single writer serializes and batches all transactions).
Wow, this looks amazing. There has been a lot of development in this area recently, but without expertise in various areas (functional analysis, statistical physics, manifold theory), reading the papers themselves is difficult if not impossible.

I'm glad someone is taking the time to summarize and integrate the results of these various approaches.
MAC address would work for this, no? Wouldn't solve the spoofing but solves the dynamic IP address issue.
> You see lots of failed science majors in English class, but no failed English majors in differential equations class.

I always find this funny to read, because that's more or less what happened to me. I was originally very interested in philosophy and the classics, but I just couldn't keep up with the reading and paper assignments. I'm not a bad writer in general, but I'm terrible at writing academic papers. I picked CS/math because I was tired of staring at a blank word document and slowly panicking for a week. with CS/math, I could just sit down and start making progress immediately on a problem set or coding project.

I see the point of what you're saying though. there's a limit to how rigorous an english class can practically be. the difference between bad and mediocre writing is mostly mechanics. but what's the difference between good and great writing? I doubt the "experts" could even agree, let alone come up with a rubric for grading papers.
Boom time: Will commercial jets break the sound barrier once again?
Like, as in something you signed binding on both parties? I don't think I've ever had such a thing.
The comparison is more appropriate than you maybe even intended. Cars are considered weapons (e.g. driving at someone is assault with a deadly weapon), and cars are very dangerous in general and kill lots of people (and not just the drivers!). Yet, we still want right-to-repair on cars.
> 3. Computers really start taking over (obviously accelerates in the 80s)

> This is akin to making the `pie` that is the economy greater. It does does not explain why the wealthy gained most of the new growth of said `pie`.

Sure it does. The productivity gains from any tool are a direct monetary benefit to those who implement it. The pie is only subsequently redistributed if other market effects coerce the original beneficiary into doing so.

Record-keepers, secretaries, etc, being laid off from their job obviously have no opportunity to negotiate for higher wages as a result of that productivity gain. The only people who were in a position to negotiate were the ones who could implement these new tools. And they did: tech jobs are well paid.
head explodes
On disk the backups are encrypted, that means no transparent compression.
Don’t try to avoid pedestrians, that’s impossible.
Instead, only try to realize the truth... there are no pedestrians.
Apple's greed means that instead of getting 30%, or 10% (probably a reasonable commission for them to voluntarily move to), they will be getting 0%.
I had a similar thing happen to me a little over a year a go. The offer wasn't rescinded, but I received a text message the day before my start date informing me that my start date was delayed (due to Covid). It was very frustrating because I had not only resigned from my previous position after receiving a signed offer, I also turned down a competing offer.

I immediately followed up with the competing offer, but that was no longer on the table (also due to Covid). So, I filed for unemployment. It took about 10 weeks to receive the weeks that I claimed (due to Covid). It also was not nearly as much I would have earned otherwise, but still appreciated.

The good news is that I did find a new job in a short amount of time. I'm still with that employer. In the end everything worked out for me. But it made me see how wrong things can truly go even when you do everything right (waiting for a signed offer before resigning, providing two weeks notice, etc).

It's common advice to tell someone to just find a new job if they aren't happy where they are. I mostly agree with that advice. However, there is a flip side to that coin and for some the risk is very real and can leave them in an untenable position if the worse happens. It was certainly a stressful and revealing experience for me.
The hardware is a hell of a lot cheaper than wasting a week of engineering time though isn't it?
I've heard the same[1], but that kind of thing seems trivially easy to track down, no?

[1]In fact I was involved on a project where some thieves took a sawzall to the equipment storage conex over the weekend and stole every bit of GPS equipment they could get their hands on. They were pretty quickly tracked down when they tried to offload it though.
In this discussion someone offers:

“I remember in one interview I was asked to write a function that returns true iff x is a power of two, so I wrote return 1 == __builtin_popcount(x). They liked that.”

I’m no longer a programmer, but I wondered why it wasn’t “return (__builtin_popcount(x) == 1)” - just out of interest.
Impressive. Grew up when “Going postal” was a popular expression due to how often postal workers went on shooting rampages.

I recall efforts to reduce stress as apparently managers were tired of being murdered.

Maybe new phrase will be “Going Amazon”
A couple of the Go authors did a lot of the initial coding and continue to code in Acme (rsc, r). The broader Go team use a wider variety: Vim, Emacs, Goland, and VSCode are the most popular from what I've seen.
> I think the article is saying that a web server (customers) should be stateless, because everything important should be in a database (data track) on another host. And that database probably has application level handling for duplicating writes to another disk or another host.

Correct.

> Hardware level redundancy like raid1 seems useful because it simplifies handling a common failure case when a single HDD or NVME fails on a database server

Nobody needs that if your database does replicate. Cassandra replicates data. MySQL in a replication setup replicates data. And so on. Individual nodes in such a setup are as expendable as individual disks in a RAID. More so, because you get not only protection against a disk failure, but depending on deployment strategy also against loss of a node, a Rack or a Rack Row. Or even loss of DC or AZ.
A) Ensuring the time-value of my labor is not eroded by the state through inflation.
Yes, there are day to day risks of fluctuations in value, but one just needs to compare the trend line of where BTC is going vs fiat currencies in the longer term. I’m not worried about 50% draw downs on an asset that appreciates > 100% pa.

B) ensuring that third parties like banks are unable to steal my funds. Through fees, charges, unauthorized transfers or just plain theft…

C) portability of funds around the globe, independent of foreign or domestic currency. Ever tried to wire funds globally on a weekend? Trade?

You are still looking at bitcoin like it’s a dollar bill. It’s not — it’s digital gold with more computational security than any system ever built by humanity.
If anyone wants to steal a done-tested-and-working userspace variant (for C, and with limitations C++) of this:

https://github.com/FRRouting/frr/pull/6766

It's pretty much the same thing, all occurences of "zlog_debug" and the like create an entry in a separate ELF section. The section can be accessed both at runtime by the program itself as well as offline by reading the appropriate ELF headers (there's an extraction tool in the codebase that does that, it even works cross-OS cross-CPU cross-endian).

disclaimer: it's my code ;)

disclaimer[2]: this will not work without major overhaul on OSX or Windows. It relies on the binary format being ELF.

disclaimer[3]: the PR linked above is only the "core" of it, you may have to fish out other pieces elsewhere.
> Alarm bells should have been raised among us developers when Apple asked everyone to shell out $99 for the "privilege" of making an app available on the "App Store". And later, more so, when Apple demanded a percentage cut too on every sale you make from your app.

I'm 100% against the way the app store works right now, but I don't have a problem with the idea of those two things if they were implemented in a better way.

If you compare $99 to the cost of a code signing certificate it's a good deal. The problem is that BOTH are bad value for developers. The value in signing is identity verification and none of the systems we have are doing a good job of that right now.

IMHO, Apple, Microsoft, and Google are purposely keeping code signing / trust systems awful because it benefits them. Imagine an ecosystem where apps were signed with domain validated certificates, which would be free (or very cheap), instant, and better than what we currently have, and it definitely feels like entrenched interests are working to keep things from improving.

Apple taking a 30% cut would be perfectly fine if there were competing app stores. If they're providing services worth a 30% cut, developers will be willing to pay that.

I thought the app store would fail. My exact sentiment at the time was "there's no way developers are going to be dumb enough to give up control of distribution." Wow, was I ever wrong :-(
> if a patient and her doctor believe this is the best treatment, the FDA shouldn't prevent them from getting access to it.

I question whether a patient or her doctor is more qualified to make that call than a panel of experts. But we already allow drug trials - those are just measured. And if there are no other treatments, the FDA has had a compassionate use protocol for a long time to let people attempt anything over nothing.
There was a great puzzle in the MIT Mystery Hunt this year about calques between Latin and Greek, where words would be literally equivalent if you translated them morpheme-by-morpheme. While this is sometimes a source of etymology (because someone consciously translated a foreign word this way), in this case it was just a source of humor because the particular calques in the puzzle are not equivalents.

The example I most remember is "suppository" (from Latin) and "hypothesis" (from Greek), both literally meaning 'put under'. (The actual etymological calque would be "supposition".)

As https://devjoe.appspot.com/huntindex/ isn't updated with 2021 puzzles yet, I don't know how to find the specific puzzle I'm thinking of to show the other examples. :-)
Slack authentication works like many other web applications and once you've successfully authenticated you get a cookie which can be used to read/send messages on your behalf.

If someone managed to get some malware running on a machine where you have logged into slack it's fairly trivial for someone to get your cookie. Something like https://github.com/djhohnstein/SharpChromium is an example of a tool used to pull browser cookies off a compromised host.

I don't know the explicit details of this particular instance, but I imagine the user in question had some kind of malware installed on their phone or computer. ( I keep seeing mention of a browser extension in the comments, and I have seen some working examples of malicious chrome extensions recently that would let you steal cookies once installed.)
Multivitamins are a waste because they are generally low quality. Vitamin d and magnesium are both very common deficiencies and like the OP demonstrated, they give people a false sense of security.

Unless we are talking about some high quality stuff like athletic greens.
I can't get enough of this sentence: The FRACTALRABBIT stochastic mobility simulator creates realistic synthetic sporadic waypoint data sets.
Insulin is a FDA approved substance with therapeutic properties. How you label it is irrelevant.

You can't sell heroin with a "nutritional supplement"label either.

If a substance has no classification(neither controlled nor therapeutic) however, like water for example; you're free to sell it, to treat dehydration, or put a homeopathy label on it and sell it to cure cancer if you prefer.
"In some ways," perhaps... At least, the Italians do not insist that Latin 2000 years ago sounded like Italian does today.
There are "better" standards they are just way way way slower. Which sometimes is what you need.
I agree that it is an economic decision. In my understanding it didn’t cost them millions of dollars to do it zero-downtime. Maybe a $10k-$50k in development/admin/test hours to make it so.

Also engineers get better (and happier) when they do challenging tasks!
The argument about POW energy is overblown.

There's an exponential decay of rewards of mining BTC (50% every 4 years).

Do you think the price of BTC will increase exponentially, faster than the decay over the long term? I don't think so.

This implies that the energy consumption of bitcoin mining will eventually decay exponentially too.
Yeah, not surprising at all. When I interned there, there was a whole onboarding segment about network security that constantly made reference to a huge hack that had apparently happened and IIRC slowed their internal email system to a crawl with the sheer volume of phishing emails flying around. Everyone knew about it and was very embarrassed. And yet they would let us take our personal laptops in and out and connect to the network with no real oversight, because they didn't have the funds to give everyone their own machine.
Show HN: GitHub based, open-source Status Page in pure HTML/JS
That would be a step in the good direction. But the DID should be preferred as it will enable much more features.
Er, you bring the service down so you can do work on it. Somebody is doing that work.

I guarantee that you'll have trouble hiring qualified people for a role that includes core hours of "2AM-5AM Sunday mornings" (or whatever other oddball time you've decided). Updating systems is precisely when you may need to have all-hands-on-deck responses. Been there, multiple times.
Ok, hold up. Energy usage is a good thing and provides security, actually. You can’t ditch the energy and retain security. I’m sorry, but PoS is a bad and the wrong model for censorship resistant, non-state stores of value.
It's ridiculous they sell knives in supermarkets, where anyone could procure them and without background checks.
Whoops, I put this in the second-chance pool but it looks like this already had a discussion. Sorry!

Work from Home and Productivity - https://news.ycombinator.com/item?id=27154368 - May 2021 (131 comments)
I will keep this for reference. It is a good starting point that I can build on with my kids.
>it is a bad judgment call to parrot a line about experimental medical treatments

You do realize that medical science has been doing vaccines for a while now. Really, there's no reason to think that there are any long term side effects to the covid-19 vaccine. Medical scientists aren't reinventing the wheel with covid-19. They already have blue prints from other corona viruses to work off of. There's nothing experimental going on here.
We can create combinatorially many drugs. There are labs that can screen hundreds of thousands of molecules a day. So approving drugs that aren’t proven effective for a disease might reasonably lead to few or no drugs that are effective because it’s so easy and relatively cheap to stuff a development pipeline with promising drugs if you don’t need to worry about whether they work at the disease stage due to crowding out effective drugs.
Better Range Types in Postgres 14
Apple markets to non developers, by advertising to the masses, it forces us to join to partake with the masses.

I've been lucky enough to avoid the walled prison but a fortune 500 company cannot.

We can only educate the masses that better products exist or the psychology tricks Apple uses in their marketing.
Can anyone please explain to me, what the covered platform means? Will duckduckgo become covered platform? Microsoft?
> why should your insurance have to cover every FDA-approved drug, and regardless of cost?

If only there was some group of experts that decided that some drugs were safe and effective vs. not. We could even make it a nonprofit group to avoid conflicts. Heck, we could get the federal government to fund and and even pass a law that gave their recommendations teeth.
Absolutely when it comes to tech. It's fairly inconsequential sideloading something to your phone.

Medical devices I think should need a someone well versed to work on it.

With cars, the current model most states in the US have is a good middle ground. You can do whatever you want to your car, but it needs to pass a safety inspection every 2 years to drive it legally.

The inspections in my state are fairly comprehensive. Airbags, seat belts, headlight brightness, and structural stability of the frame to name a few.

It also helps the US has a strong car culture with tons of experienced DIY-ers, which I imagine helps.
I worked on a similar project. One of the heritable traits I had was a quantity of energy that would be passed on to a child. A mother and father organism contributed a random half of their stats to a new child and both parents deducted their caretaker energy and increased the child's energy by the same amount.

I had a lot of different graphs to show me stats as the simulation continued. One thing I noticed was that after a while of this simulation "average age" started to go way up.

At first, I was proud. I thought I had evolved creatures that could live indefinitely in my simulated environment. I kind of had - but it didn't work like I thought. At some point the creatures seemed to become immortal and all new creatures died off. I was monitoring "average age at death" which confirmed all the dying creatures were very young and "average generation count" which showed it stabilized midway through the simulation and then locked in place. They got to a place where new organisms died off and there were a bunch of immortal organisms running around.

I finally figured out what had gone wrong. The stats, including caretaker energy, could be randomly modified by a small random value up or down whenever a child was produced. Nothing prevented caretaker energy from going negative, and indeed, that's what would happen. The simulation would work for a while while only a small number of organisms had negative caretaker energy, but eventually these guys would take over and become the whole population. They could indefinitely sustain themselves by having children, but their children (spawned by two parents who passed on negative energy) would instantly die.
Are you confident that is the case today? I know it used to be the case like 30 years ago, but I thought that was fixed since. Or did the advent of GPS trackers allow them to go back to The One Key? :-)
It was also covered in: https://www.braintreepayments.com/blog/switching-datacenters...
You know that people with contracts can quit a job also, right?
I worked at a place where re-auth was required every twelve hours, which was a convenient reminder of when you'd been working way too long.
The watchdogs can't do anything because the sellers are essentially spam themselves. That is why Amazon has NNN thousand new "stores" opening everyday and why they have a billion variations of the exact same product. There is NO way that any sort of entity outside of Amazon can make heads or tails of that volume of data in order protect the consumer.

And Amazon is complicit in this just as much as Aliexpress and all the other platforms that are enabling product spam coming from China.
If you had to digest a million grains, which would you rather use?
Honest question - we have an old .Net web application that still uses Web Forms (I know, I know). Most of the team wants to move to better technology, but there are a few outspoken members who just love Web Forms and they don't want to migrate the site to use anything else. The business doesn't want to invest in an overhaul because of the expense and they point to these vocal team members who love Web Forms. I've been saying for some time that Microsoft will stop supporting Web Forms. Does the "retirement" of Windows 10 mean that's finally going to happen?
Apple had to cut the time to buy AppleCare+ in China down to 7 days simply due to the fact people were swapping parts in iPhone and return for exchanges.

And I am not entirely sure if it is a good idea Apple sell these parts for repairing. Which Apple will definitely do so with their hardware margin. i.e They will sell you the Display Screen with Glass for $300+. At this point you might as well go to Apple and fix it.

I had always wish the Services Strategy of Apple was to raise the price of iPhone and Mac by $100, move those to Services Revenue and included AppleCare+ by default. Also lowering any replacement and fixing price rather than try and gouge their customer at their Genius Bar. Which is increasingly a thing since 2015.

Getting third party fixing also have risk when your Data aren't fully backed up. Which is something likes to push for their iCloud Services.
What Fastly's Downtime Tells Us About Software and Production Deployment
Usually one-sided with the employer holding most of the advantage by restrictive NDAs that can last for a year or more.
> an average person having one username and password/authentication method that works across all services

It's a bug, not a feature. It's people throwing away their privacy for convenience. It's proverbial dancing piggies.

Problem with global-scale SSO is not corporations, that control shared identity. It's shared identity itself.

Distributed SSO is as good idea, as eco-friendly vegan huffing solvent.
Microsoft can not make any meaningful changes to windows 10 without pissing off all of their users. Here's what a new OS means for the average windows user: One day, they boot up Windows and all the low-level APIs they don't care about are still the same but it looks slightly different. Five minutes later, they need to adjust some setting and they can't find it.
How Bitcoin Has Fueled Ransomware Attacks
Elon Musk's Boring Loop is finally transporting passengers in Las Vegas
Oh 50/50. I know for a fact that the fleet of haul trucks on my current project all share the same key, and the bulldozers and excavators from the same manufacturer do as well.

I expect that equipment in rental fleets are keyed differently, though.
Show HN: LazyWeb – Conversational search engine that's ad-free and private