skysight-inc/HackerNews huggingface dataset:
> Theres billions of people. Why aren't their countries desirable as well?

Because whenever they have political systems that promote stability or justice, those leaders are overthrown in favor of those who will obey diktaks of the IMF/World Bank/WTO which generally promote privatization and wealth concentration.

So other countries are desirable but have low social/economic mobility.
ofc, microsoft, its owner, has _nothing_ to do with all that.

...
Our military budget is only so high because we're making up for the rest of the NATO countries' military budgets being too low.
> the car actually turns up in a timely manner

Here in Australia this is becoming a real problem with Uber - drivers seem to apparently have unlimited "cancels" and just cancel rides continuously to drive up demand especially at the airport where they know passengers have no other choice. They'll also almost always refuse rides that are too far, or don't finish in or near a high-demand area (like a CBD or airport). Other ride share apps are worse (DiDi really sucks), but Uber is the most expensive by far and the experience is pretty bad.

Our taxis on the other hand mostly seem to have uber-like apps and you can reliably get picked up just about anywhere even if you live in the middle of nowhere (within reason, of course). They're about the same price as Uber, with no surge pricing as well.
Not everyone is cut out to be an entertainer. That quickly becomes apparent when scrolling through TikTok, but it's good at pushing endless encouragement, tips, and other hype that keeps people believing they can be famous for sharing their personal life details. If I was a parent, this would worry me terribly, because children are so impressionable.... But even grown adults overshare on the app frequently...

Not everyone is meant to be an entertainer, but now pretty much everyone invested in social media operates as if a camera is constantly on them.. This ego-centric self-esteem-influenced social media "influencer model" drives even terrible things now too, like school shootings and personal harm.
> Because more and more things are being built as SPAs on frontend with JavaScript

Regarding not making the back button do anything in certain cases, I think part of the problem is the shitty infinite-scroll, endless toilet-paper UX that many modern apps use for pagination. It makes a lot of UX choices awkward.

Say you're building some Instagram or Pinterest type of App and you just have some kind of endless scroll to view content continuously. The user scrolls for 10 minutes seeing 100 pages worth of content on one root URL, and then clicks on another page and then goes back. What then? Do you put them at the bottom of the 100 pages on the original page after they hit that back button?

It's not super difficult to save say the last item you scrolled to and go back there when you reload the page from a back button press, but that specific UX just makes it awkward to know where you even are within a specific page. Maybe if people get lost when going backwards and that's the UX choice, it's not even worth bothering.
This affected two of my sites (https://librevideo.org and https://amd-now.com). I discovered the problem after scanning my logs and finding this entry:

PHP Fatal error: Uncaught Error: Failed opening required '/home/amdnowcom/amd-now.com/wp-content/plugins/wp-crontrol/vendor/autoload.php'

Searching the plugin's name lead me to the support forum I linked above. Once I discovered that, I just deleted the plugin's files and it resolved the issue for me for now. Not sure if I want to reinstall it until I hear the postmortem. Seems the deployment to WordPress.org's plugin site missed a step (including the /vendors directory).

The plugin maintainer is aware of the issue and is working on it from what I could see in multiple posts. I can only imagine how stressed he must be, so he has my sympathies, but at the same time, it's a pretty major error, so hopefully in the future WordPress can provide some better guardrails against an error plugin breaking so catastrophically like this after an update.
I run wireguard on an even lower end Linksys router, and it seems to work just fine. I suppose my internet connection isn't the fastest, though.

It's interesting to see someone using a single board computer as their main computer, and preferring a Linux distro that compiles everything from source.

Why bother with docker for a home server other than for the fun of it?

I've been embracing systemd recently, and using it to manage processes in an embedded system. Once you wrap your head around how services work, it seems pretty convenient compared to init scripts. Notably, systemd works with legacy init scripts, so you could still go that route if you wanted to. Maybe throwing docker into the mix makes it clunkier, though?
If you finance the car and invest your money in something with a rate of return higher than the interest rate, you'd end up with more money than paying cash.

...though of course many who finance cars aren't choosing to do that. The car you drive is both a status symbol and a personal luxury. I think many people would rather take on debt than get a vehicle they could only pay cash for.
Is it possible to build all the combinations of notes computationally, upload it to YT, and then cry of copyright violation when someone accidentally creates a match?
Obviously it's because they don't have the up-front down payment money, and maybe they get a new job that requires commuting by car.
If you have good credit (>760) you can get 0% interest or close to it loans pretty regularly if you wait. At that point there is no reason for me not to take on the loan and just setup autopay.
I don't see how you can store an atom with 1 bit. Under most models the position of an atom takes an infinite amount of bits.
I'm not talking about CD-ROMs or immediate availability in any form.
How would you encode a petabyte (for a starter) with LDPC/Turbo? Not available right away but accumulated over months with no predefined upper limit? Computational cost remains an important factor but other requirements take over.
I wrote a different program called SAM - Simulated Artificial Mentality.

It looked for common strings inside a sentence and responded with one of 5 random choose sentences. It had the ability to add new sentences as it was used so over time it got better and better.

What got me was that it was less than 100 lines of BASIC code, yet I had people spending over an hour typing with it. And one girl was in tears as she was busy with it talking about her breakup with her boy friend.

Note the database of answers was over 2000 questions, I think I still have the paper tape with the original program even.
there was too much hand-waving going in with CS50.
I’d support anyone who broke the sf taxi cartel. For all the high minded rhetoric folks spew about how the regulations protected the consumer - it was a clear cartel - racist, poor service, insultingly bad in fact. The fact that govt agencies and departments bent over backwards to support this garbage is all you need to know about the peoples representatives
L3Harris tried to buy NSO Group, the creator of Pegasus
this is so fun!
We (as an industry) went through this bad batch madness with the IBM DeskStar 75GXP hard drives, which were affectionately referred to as "IBM Deathstar"[1].

It's rare, but it's not _that_ rare. You have to make the effort to understand why it failed.

I had a situation where I deployed Toshiba SLC SSDs (that were purchased over the course of several months) and a piece of software that synchronized to disk frequently, resulting in about 1GB of writes per hour.

After ~11 months in service, most of the drives died in the same 4 week period. We were astounded that everything failed so close to each other, including instances where both drives in a RAID 1 set were toast.

We did extensive troubleshooting between the failed servers and the remaining servers and figured out that write volume (by proxy of in-service date) was the one predictor of failure. Shortly thereafter, wear leveling and TRIM became things we sought out mentions of when spec'ing out hardware.

1: https://en.wikipedia.org/wiki/Deskstar
Car financing is a good way to build credit before buying a home. I regret that my credit score actually went down when I paid off my car loan early. The rules are really weird here. Using some credit is better than using no credit if you think you might need credit in the future (mostly to buy a house).

Also, buying a new car is much less of a hassle than buying a used one. The price difference between used and new ATM isn't so much to cover the extra hassle for many buyers. You want the car to be something that doesn't cause stress in your life, like many want a spouse/partner who isn't a constant drain on their emotions.

And then there are the many conveniences that are nice if you can afford it, but only if you can. It is purely a lifestyle upgrade, and not important to everyone, but it definitely makes some people happier, especially if they drive a lot.
This is related, if not exactly on point: https://en.wikipedia.org/wiki/Waffle_House_Index.
Why would someone extend a loan to people based on one-time or limited time stimulus payments?
Thanks for telling me, will look into that!
Might not be a good suggestion but posting online could help. When I see followers on a project grow, gives me motivation to do more. But can also "sell out" going down this route eg. doing it for the likes.

Recently I have been wondering what will be my lifelong thing that I work on.
Lets take this silly example.

Lets say apple engineers all have kids who use tiktok and some of the kids or engineers do something shady and someone gets blackmailed. As a consequence apple launches 3months later and in the meantime someone from china launches a killer phone with the same or almost as good tech specs. Sure the apple fans may wait it out but that could be a billion dollars of sales to china that would have went to USA

That's one of the point of espionage. To get a competitive or monetary advantage. If facebook did this to other companies within the states, at least the country isn't losing money

The other would be things used to jail innocent people but for the most part I don't think thats how tiktok is being used
i dont think writing a recursive function is that hard; it takes an hur of instruction to be able to do this.
Sorry to rain on your parade, but Kolmogorov Complexity goes to various code paths. Even representing the jump instructions requires multiple bits to be useful…

I digress. Assume a bit for every “if” statement (branch) that is taken within a function (less those that are deeply nested and don’t affect each other). That’s the Kolomogrov complexity.
I don't know what's worse about this response, the backwards causation logic or the bad math.
We've spent what the last 50-100 years affecting the climate significantly...and we think we can stop/reverse it in how long? Just because we wish it, does not mean we can materially affect it in a relatively short horizon.

Beyond the idea that we can somehow reduce our current impact, the human population will continue to increase to what, up to 11-13 billion by 2100. Those people will need food, water, goods and services. I won't be around to see year 2100, but I venture to say it's going to be warmer than it is today and there's not a damn thing we can realistically do about it.
Prediction: San Francisco's robotaxis (Waymo, Cruise) with their fragile, expensive and unprotected hardware, will be a major target of vandalism.
you are right, CS50 is just a mish-mash without a clear focus and a timeline and action-plan for "what's next".
> Perl is really nice when you are passing a lot of data around compared to bash

I know some might consider this heretical, but have you considered Powershell for these type of scripts?
Ask HN: How do you guard against ransomeware? (offsite backups not possible)
I know the best mitigation for ransomware is to maintain off-site backups. I cannot do this. It is a design requirement not to have offline storage.

What are some ways you have prepared for ransomware?

I've thought about:

1) udev rules that blacklist drives until the infrequent moments I do full backups

2) a "USB condom" of sorts that I can remotely disconnect (sever the 5V line), to make a USB spinning HD available as needed with an authentication scheme

3) running a program that tries to detect ransomware execution (antivirus or excessive cpu usage/encryption/etc)

4) mirror it to the cloud (unworkable, considering it's 16TB)

I don't think there's a solution as good as offsite backups. Most of these are ideas that add indirection or complexity that common ransomware wouldn't be coded for.

How do you disconnect a drive without disconnecting it? Especially nvme rather than a USB enclosure?

What is your creative solution?
Non US, non China citizen: the pool is from 2013, China and Russia got much worst with time

Trust me, Russia and especially China is a much bigger threat to democracy nowadays
programming is not computer science--but it is the language of computer science.
I don't mean it as a slur, really but Christianity started as a cult, though it can no longer be construed as one for the most part - aside for certain sects (though I'm unsure about Catholocism and their fealty to the Pope above almost anything... it seems almost antithetical to pure New Testiment teaching, but I'm non religious and wasn't raised Catholic, so much of it is a mystery to me). This religious group they're describing in the article, however seems very out of bounds for the term "cult" and they seem to use the term in merely a pejorative sense.

As far as the legal definitions of cults go (under US law), well there it gets "squishy" and kind of comes down to a popularity contest, almost. "Are you of a certain age", "Are you of a certain size", "Have you a certain amount of influence", type of thing.

http://jur.byu.edu/?p=4386
No need for an upvote — a fancy handshake should do.
Oh it was resolved? Great news. That's the only reason I had chromium on my laptop.
Ya, I think the use of exploding here is in a confusing form. Most people will get the meaning, but a lot of people will think of other meaning at least for a moment.
Yea presently a new technology benefits consumers because essentially it makes something previously more expensive now cheaper, but just like Netflix once the contracts all expire the artists and labels will say, we want more money — so suddenly Spotify premium will cost more money and the spotify non premium will have even more ads.
Same. Answer this though, how is your caps lock key on the right side?
> Yes, if an atom was compressible to a bit

Isn't it when an atom is compressible to a kilobyte? If a kilobyte were the data, not the alphabet, it would only contain... 8096 atoms.
They are all portrait mode videos though, not very versatile and useful in the long term... Actually, portrait content was dying off before TikTok...

It's bewildering how they warehouse so much content that will really not endure, at some point they're likely going to need to archive a lot of TikTok user posts, because the content is very low quality overall, and a lot of the content generated is limited by it's context.

It probably be a huge sticker shock to see the monthly cloud hosting bill for any one of these apps.
I'm confused by your use of "fractal", could you expand a little bit on how your using that word in context here?
AFAIK under the current quantum model (QFT) specifying a precision finer than the Planck length will not make your predictions more accurate. So you only need a finite number of bits to describe a field over a finite volume using a 3-d matrix for each lattice point's amplitude.
They use the size of the alphabet (256^1024 different characters) to argue how much data a single character (1 KiB) contains. A single character still can only encode 8096 atoms.

There are 2^8 things you can do with a byte. But you can't do them all at once with a single byte.
That's great! I'm glad you never had to experience it.
Well, you can get more shoddy VPNs for like 2 euros a month.
this whole "low-level" thing and C-elitism is very off-putting to the smart folks like us--who are not stuck in the past and want to get on with the future. You don't need low level details to program well--you need a good language like APL, to truly learn how to program.
> Judges overwhelmingly side with police officers over defendants as a default stance.

Definitely not true here in King County Washington, but Arizona is probably very different.
https://www.smartmontools.org/
Bang on!

https://news.ycombinator.com/item?id=32048148
From my reading, it's checking the maximum index into the circular buffer. That is, when it hits the end of the circular buffer, there's an assertion to check that they're properly wrapping the index back to the start of the buffer, but the assertion has an off-by-one error.

I presume you find a lot of circular buffers in SSD firmware, for wear-leveling reasons. Samsung's NILFS and NILFS2 are structured as circular buffer append-only logs, at least partly to avoid trusting the firmware wear-leveling.
Hah, very interesting! Nope never did meet any of those guys or rly run in those circles.. I did a little Amiga BBSing but honestly don’t remember any of them.. I did go to one meetup thingy but also barely remember it in some mall…

I do remember though spending a lot of time at All Books and Records on Sunrise Blvd (I think) next to the Sears. Coolest book and record store around except for maybe Robert A Hittel’s bookstore on Federal Hwy..

Also spent a lot of time going to Sunshine Software on Cypress Creek Rd.. kind of a magical place run by two rly cool computer dudes..
Do you think a manual "save" button would solve this? I ask because am in the midst of creating a SaaS with no autosave. Was worried this would be a turn off. But some users prefer manual save! Would love your opinion. Note: there is a "crash-protect" feature, in case of crashes before saving.
In 2007 I had to drop my car off to get some work done. The plan was to take a taxi ~3 miles down a major road to my office, then taxi back up there at the end of the day.

Well it took three calls and about 90 minutes, but eventually someone showed up to drive me six minutes down the street in blistering 98F. It was more like 2 hours of standing outside baking in the sun to get someone to drive me to the shop at the end of the day. Turns out in my city (Dallas) taxis really only exist to drive to and from the airport. Worst case with ride-share companies, you're looking at ~30 min wait for an uber to arrive, with real-time updates if the driver feels like canceling, and auto-orders you another one.

Taxis work nothing like uber. If you are not traveling to/from a major sporting event, convention center or airport, the taxi does not want your business and will actively avoid/ignore you. For small, one-off trips like a coffee date, going to a concert, dropping your car off for service etc uber is great. Taxis absolutely do not want to be in that business. What this fight is about, is who is allowed to pick up/drop off at places like the airport, metallica concerts, apple wwdc etc.
This is going to turn our country backwards. We're the richest country in the world. We should be training our citizens to be PhDs and exporting innovation and culture. The standard for "skilled trade" should be world-class skills (Hyperbaric Welding, Robotics, Civil Engineering; ie. "skills an advanced society would export") and not work that can be exported to the developing world. These, "advanced skills" require a level of critical thinking that requires college education. We're beginning to forget that we can't have an advanced society without a well-educated and informed voting populace.

Relevant:

https://en.wikipedia.org/wiki/Wolfsburg
NixOS uses systemd to manage containers. Works great and is hassle free IMO.
You can’t. It’s absurd. That’s my point.

Even if you had a perfect 3D coordinate system and atoms worked on float64 boundaries, you’d still have 64 bits to represent one atom. So you could fit, at best, 128 atoms. These are the competing scales.

Unless you knew ahead of time the exact state of an entire universe, then the kilobyte would be your key into that value, as it were.

(Ninja edit again: you’d need 3 float64s! So 128/3 atoms in a kilobyte. Not much. Point stands)
What are some advantages of Gentoo Linux? I've never tried it or heard much about it. (I'm familiar with many others though: Ubuntu, Debian, CentOS, Fedora, Arch, NixOS, etc.)
Did you read the whole article? Smith doesn’t just rely on “GDP per capita.” He walks through several measures, including disposable income after adjusting for government services.

And those quotes are from the article. Noah Smith does a lot of economic journalism so I’m not sure why you think he’s cherry picking statistics.

Frankly, this is the kind of willful blindness that cripples the American left. You’re fighting against the facts you want to be true, not the facts as they are. And I say that as someone who is supportive of a broader safety net. You can’t effectively advocate for that if you are mistaken about what’s actually driving voter behavior.
Baozi is unlikely to have come from the Ottomans via the Mongols.

The Song dynasty chinese were already eating baozi and writing about it in their books and documents in the early 11th century, before the Ottomans were established or Genghis Khan was born.

And Baozi is just another name for Mantou in ancient China which is a name for the food which is even older stretching back to the Han dynasty over two millenia ago.
Vim Vixen
Or sometimes the lower bits, as at least used to be the case for integers in v8. (Also OCaml, but that's not dynamically typed. It simplifies the garbage collector to at least some times not require a pointer map for each type, just a flag in the object header to indicate if it contains any pointers, and then everything that isn't ints or pointers needs to be boxed.)
I did not intend to suggest CS50 required coding experience. My comment was more that the goal of CS50 seems to be about making the student a better coder by the end (including the case where the student has no coding experience). That does not seem to be the goal of Stanford’s CS101.
I use Notion as an extended markdown editor whose pages can be shared easily. Public documents that needs to be shared quickly among a group of people like one-time guides, etc.

I don't like Google Docs because it's not markdown and formatting and stuff takes mouse clicks or weird keyboard "shortcuts".

I haven't found anything as convenient as Notion for the same but if I was looking for alternatives, it would be because (i) Notion is slow and (ii) the generated URLs are long and annoying.

I wonder if I can self-host a `hugo server` for the same task.
NixOS seems to make needless complexity a point of pride.
Set up a Raspberry Pi or something, with the SSH server running in a container (to prevent exploiting privileged processes through Unix domain sockets), under an unprivileged user, and with PR_SET_NO_NEW_PRIVS enabled. Do not have any ports exposed to the outer host, not even an SSH server on the outer host or any other means of administering it over the network. Rsync your backups to the container, and have a cron job run as root on the host that takes Btrfs snapshots of the backup drive every day. Even knowing the root password wouldn't let a remote attacker modify or delete your old backups. The only way they could is if they exploited a vulnerability in the Linux kernel itself (and an information disclosure one wouldn't be sufficient).
Wow. I happened to go to the College of St. Joseph [1] for my first semester of college, so you can imagine my surprise at this link. Apparently the college I went to closed in 2019. That's sad, it was very good to me. I guess that's why this new org added "the worker" to their name.

https://en.m.wikipedia.org/wiki/College_of_St._Joseph
This is a false statement