skysight-inc/HackerNews huggingface dataset:
Great visual explanation, thanks.

"Old" gaming systems are so interesting in their architecture, and consequently tricks that game developers had to do to eke out the necessary performance out of the hardware! I feel like since PS3's Cell processor (regardless of what you think of it), game consoles have been increasingly following more classic (desktop-like) architecture in the entire hardware stack, which has been to be honest great for cross-platform game engines and applications.

That is why I love implementing emulators of older systems for fun. I recommend the classic CHIP-8 for starting, it's well documented and can be written to play practically any game ROM in a couple of days.

I personally then graduated to a Game Boy (Color) emulator, and in particular the PPU (graphics part) was really tricky to get right but I felt like the tile maps, as described in this video, were such a great solution for the time and it was a real joy to implement.

Subscribing to this channel, hope it will one day get into some details about the Audio Processing Unit which has so little resources (even in the reference Pan Docs [0]) that I fear I would need to straight up port code from reference open-source emulators (so probably C) to get it working with no major bugs.

[0] https://gbdev.io/pandocs/
I'm seconding bitwarden. I got my tech-illiterate partner set up with it no problem. We have a shared vault for things like utility website logins / shared credit cards etc. etc.
looks like ncpa (.cpl)
Ask HN: Why don't we have something like Syncthing for APIs?
Syncthing can sync files on devices that are behind NAT using public servers, which is a really useful feature. If we could implement something similar for APIs, it would allow devices to communicate with a common backend without handing data out to third parties.

I think this could be a really useful as it will let users maintain control over their data while still allowing them to use the service. What do you think?
This is a great point, but I think it goes towards the cost-benefit analysis. The relevant comparison isn’t a sophonically-suppressed humanity which is never inspired again, but rather Maciej’s new age of exploration— a humanity very much conquering local space and reaching to the stars, just not with their own fleshy pestilent mitts.

The open question I have is does a planetary colony help per se, once the technical problems have been solved on an emergency basis, and what’s left are social problems which are far too late to cure?
My last experience with AirBNB, it's customer support, and eventually an insurance claim, all went quite horrible. Made me realise how stark a difference there is on the spectrum of customer support by businesses. On one side we have companies like Amazon (with their customer obsession) that would go an extra mile to support their customers, and then on the opposite we have AirBnb like companies.

I would be switching to Booking.com for now and not going to use AirBnb anymore. But from what I am reading here, seems like they aren't that good with their customer care as well?
> Over time the former will be mitigated and the latter exploited.

Have we mitigated ways to kill and maim ourselves?

> Colonizing, as always, will be a game for those who are willing to accept a few decades being lopped off their average life expectancy in exchange for making way for a greater life for those to come.

I'm not sure that's an accurate description of colonist motivations.
We should be investing literally all of our money into artificial wombs so that we can churn out humans like a factory. The technology is extremely close, and we could likely manufacture more lives than we could ever save with any kind of safety measures, even if we sunk all of our GDP into keeping everyone living alive.
Show HN: Twitter Friends Challenge – Test how well you know your Twitter mutuals
There are Smart TRVs that can wirelessly trigger a contact closure that will turn on a zone for the boiler. You could also listen to the (usually Zigbee) protocol messages and close a relay yourself if you have a home automation setup (either directly from Zigbee, or by gatewaying the Zigbee to MQTT and then responding to the MQTT traffic).

The problem with running a call for heat to the boiler (nearly) full-time is that that will run the circulator pump for the zone and, if there's nowhere for that water to go (because all TRVs are closed and there's no "loopback" pipe), the circulator is going to draw a lot of power and eventually fail from being deadheaded.
> remove .Net Native Runtime, VCLIbs, the ability to login to guest WiFi, and Parental Controls at minimum. Who needs THAT stuff

I'm perfectly fine with removing those things and many others from my computer.
Having to explain this to the local pedants is the most HN thing.
Yes, obviously. Why, were you born yesterday?
What's remarkable is how good machine translation (DeepL, Google Translate) has become at handling idiomatic expressions in recent years. Still not perfect, of course (there's still the odd clanger), but anyone trying to do the same task today would fare considerably better.
I recently had to coach a co-worker to do something more sane than store her passwords in a plain text file on her private Google Drive (seriously!). This is what real people do when you confront them with a lot of complex security. The reason I discovered this was that I had to talk her through setting up 2FA for our company's Google account because she lost her phone. And then I discovered that she was copy pasting passwords from this stupid text file. Which btw. really sucks on mobile.

She's now a Bitwarden user. Mind properly blown. Next she'll be using it to use generated passwords. Amazing. Bonus points if she starts using 2FA for her private accounts. From what I've seen she doesn't and she uses a small set of easily guessable passwords all over the place. But at least they now come from a password manager. But it's not really a scalable solution because I don't have the time or patience to coach all of our people. And yes, we do have a security policy that spells all of this out. I wrote it. It helps but people default to doing the wrong things.

Ultimately, that's why we need to get rid of passwords. There's a group of users for whom all this security stuff is just way too difficult. We need to make it simpler for them to stay secure, not harder. Forcing them to remember lots of different passwords backfired and necessitated password managers. Password less logins are now a thing with several companies. It takes a bit of ingenuity to make that work but it usually boils down to multi device/factor authentication with some ultimate fallback.
This is literally one of my favorite things I've seen on HN. Finally someone else gets it!
It has used an increasingly complex disk layout which has evolved through the last few major releases.

Here is an overview of macOS 13's layout.

https://eclecticlight.co/2022/10/25/ventura-volume-layout/
Sounds like what I've done: https://github.com/yihanwu1024/Cleanup-Wim.ps1
For finding local Linux communities, search on the net for "<your city name> linux users group". For example, here is one for London: http://gllug.org.uk

Search online for "software optimisation techniques" and you will get lot of tutorials on how to optimise software such as data structure packing, locality, cache optimization, loop unrolling etc.

For self-study, as others have mentioned, keep the manuals of CPU as well as network devices you are using handy. It will help you understand the low level code in the kernel as well as the related drivers.

For getting started with Linux kernel development, start at these places:

https://kernelnewbies.org

https://www.linuxfromscratch.org

https://lwn.net/Kernel/LDD3 (outdated but still helps build your frame of mind navigating the device driver code, in your case network drivers)

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

https://beej.us/guide/bgnet

https://man7.org/training/download/Linux_System_Programming_...

https://igm.univ-mlv.fr/~yahya/progsys/linux.pdf

https://users.cs.cf.ac.uk/Dave.Marshall/C

https://www.dpdk.org

For some fun way of understanding about computer architecture in general, have a look at:

https://www.coursera.org/learn/build-a-computer

https://www.coursera.org/learn/nand2tetris2
The recently released Terra Invicta grand strategy game captures this quite nicely - a credible alien invasion threat makes humans do some crazy things, like multiple Mars bases in 2028 & all the good spots on Ceres already occupied by outpost.

And there is even some alien technology salvage when Alien warships happen to have a human induced accident (read 240 converted naval anti-ship cruise missiles slam into them).
The House of Saud? They might have the clout to avoid even being mentioned.
We've probably made it easier for people to have "half a career" in music -- getting paid a modest amount of money on weekends, evenings, etc. to do what they love. In my own circle, I've got friends who earn $5,000 to $30,000 a year playing live music -- and then round out their earnings doing some amount of teaching, bookkeeping or whatever. Ditto for actors, writers, semi-pro athletes, etc.

The more I think about these tradeoffs, the harder it is to see them as unilaterally good or evil. It's a second-best solution for dealing with the gap between what people love to do, and what pays the bills.

Not sure if there is a first-best solution. Some countries have created "artists' cartels," which provide subsidized higher incomes for people in the club. That does make it easier to make a living as an approved artist. But the jockeying about who gets into the club, who pays the subsidies and what it takes to stay in -- argh! it all gets really protracted and ugly.
Most US businesses don't have employees outside the US and you probably aren't catering to the ones that do.
That’s what Airbnb plus was - vetted properties, annual inspection. They utterly failed to market it properly.
Okay, any examples where said 'technological progress' wasn't literally spraying everything with deadly poison and giving everyone cancer?
Third of world economy to hit recession in 2023, IMF head warns
I have been using linux as my main desktop for more than 2 decades already but I think you are living in a parallel world.

The amount of users using windows on a mac is a negligible fraction of the customers. I personnally don't know a single person using a mac either for personnal or professionnal use that is firing up a windows OS on it. People loving the windows platform or who need to run some apps on it are choosing computers from other brands.

Booting windows on a mac appeal only to some developers who need both platform but they can easily remote connect to a windows if they need to.
I think the backend development is still simple it's the deployment that has grown overly complex with Kubernetes/Docker and CI/CD pipelines
Really enjoyed the talk from your engineer Heikki at Andy's CMU "Databases!" seminar series earlier this year, great stuff =)

https://www.youtube.com/watch?v=rES0yzeERns

Also, it's been neat to have mostly worked our replacing our old Heroku integration at Hasura with you folks.
The main problem with degrowth is that it's typically a losing strategy when there are competitors that choose growth.
I suspect these two problems are not as unrelated as they initially seem. My criticism is of modern western lifestyle where value is the unit dollar. I fully agree with your premise. But I’m not sure I feel good about the answer being “population regulation” (which has it’s own implementation issues). There has to be another way…
Rebuilding trillions LoC that are deployed on literally every computer architecture, dozens of toolchains and OS's is a high impact and high risk problem with arguable benefits. Although it is technically possible, I don't think it is a process which "just happens" but it is a process which probably take years to be implemented on each and every platform.

So, I don't think it's a "C++ mentality" but its rather a difficult problem to solve.

> Also C++ could easily introduced the "editions" concept form Rust. This would give you all form both worlds.

We'll see in about 20 years time if "editions" will solve this problem and if Rust becomes as widespread as C++ is. LoC deployed in Rust is currently a statistical error in comparison to C++. FWIW C++ also had similar proposal and it didn't went through AFAIK.
No. The listed software is not preinstalled by Microsoft. OP must have used an OEM version that includes it.
I would happily pay Microsoft just to have the minimal Windows without all the bloat. Windows does window management well. That's good. That is all I need. Stop trying to shove these half finished applications with bad UX/ads down my throat and let someone else figure this out.
I am fairly certain that those get installed as soon as you connect to the web. I have had similar experiences with isos downloaded from M$.
A fun "thought" experiment? Given the time of year (just after a fiscal quarter/year end) and given that I am a dual citizen (New Zealand and USA), I found the following demonstration particularly intriguing: a bank customer (friend) had some not insignificant funds in several personal accounts in their NZ banks as of December 31st. At 10 am on Sunday, January 1st (NZ time), it was "still" 3 pm Saturday, December 31st in the central time zone in the US. I watched as they withdrew a large amount of USD cash from multiple debit cards on their NZ accounts at some midwestern ATM machine(s), then turn around and deposit said cash into their US bank accounts.

Net effect: their net worth showed accumulated fiscal year-end bank balances of twice the "not insignificant amount of funds" (according to cash methods of GAAP).

They went on to hint at the fact there are 24 time zones on this planet (more actually). I asked about the legality of such antics. They said they were not sure other than any obvious fraud on using such financial statements for any fraudulent financial benefit. They explained how the daily batch processing of bank transactions hurt customers real time cash flow, and felt it was one way to rectify things to the customer advantage.

Hmmmm
Ask HN: Serverless SQLite or Closest DX to Cloudflare D1?
I want to spin up a simple api. I plan to eventually monetize it. The backend data is 1m rows with 3 columns. That will grow by about one order of magnitude.

api consumers are likely to be bursty, requesting 10s of thousands of requests.

I tried D1 but it's not quite there and I couldn't find a reliable way to import this many rows. I did like how fast it was to develop with workers.

Any recs?
Reduces harm from those bullying.
> On my systems that includes VCLibs, .Net frameworks. I would not do this.

Edit: There was a long paragraph here, but I've decided to simplify. The AppX .NET Framework, AppX .NET Native, and VCLibs are all UWP support packages and Win32-inside-Microsoft-Store support packages. If you run this script, fully knowing that the Microsoft Store is being removed, you won't have any packages that need them, and their loss is almost certainly irrelevant.
Theoretical best-case for RAM offloading is 5.5 sec/token, for SSD offloading - 22 sec/token. Implementations we've tested are not faster than 10 sec/token though. See details in our paper: https://arxiv.org/pdf/2209.01188.pdf
There are a lot of things within (2) that are still reasonable.

For instance, the contracting officer may have to fill out one form for a $500,000 project that they can approve, but approving any kind of different payment terms requires more levels of approval. Sure, it doesn't make sense in this instance, but maybe the rule makes a lot of sense with a far bigger contractor. As the OP said, they are a blip. Making rules that work well for 95% of the time and end up doubling the cost of the 5% is rational.

More options:

3) There are tax advantages to higher costs of services and lower costs of debt servicing that make it advantageous to pay more for a good with better terms.

4) It's literally not worth the time to optimize. They planned for this cost and it's a blip so who cares if it's double the cost. I mean, someone should care, but who actually gets the benefit. Think about it like not cancelling a subscription or not renegotiating every time a contract is up in personal life.
A slight caricature of your take:

It took us 20 years and immense complexity to start displaying loading indicators on buttons.
But you can install it back again if you need it, right?
The basic idea is to lay down repetitions of the 'perfect' pattern to the point that you are no longer thinking about it and any mistake will mar that process, so it is better to slow down to the point where you are no longer making mistakes (or at least, very few, initially, and hopefully after practice so few that they no longer happen at all).

For me, depending on the complexity of a given piece that can be anywhere from 5% to 20% or so of indicated tempo for the first times that I practice a piece. One of the hardest things to take into account when practicing slow is that you should still use the exact same fingerings as you would when playing fast because otherwise all of your practice is for nothing!
Women are increasingly uninterested in child-bearing as it comes with significant opportunity cost and decrease in the status quo quality of life. This is an unavoidable fact. Trying to make it more palatable is not going to work.
In my town, stays of less than 30 days are illegal, and there's a 10% tax. And yet, AirBnb and VRBO show dozens of listings. So if the rental contract itself violates city code, surely no tax is being paid either.

This puts me off the idea of ever renting out my own place, because I would then have to choose between feeling like a sucker, or being a criminal.
It allows export and there’s also a windows app.
The Kindle Fire Toolbox on XDA[1] is a good example (IMO) of doing this right - it shows a bunch of stuff that you can remove with no impact, and with everything else it tells you what the thing you're removing is used for, so you can decide if the thing you want to remove is important to you.

That said, it's community driven so I have no idea how technically correct it is. But it is a good attempt at a "debloating" tool that informs the user of the consequences of what they're doing.

[1] https://forum.xda-developers.com/t/windows-tool-fire-toolbox...
There is no one type of musician. Many do it to carry on a tradition, while others do it to blaze their own path, for the next generation to carry on. I myself see the first as natural luddites, even with the younger generations, possibly more so.
NPM is the Instagram for developers. They produce mostly wrapper packages around standard APIs in order to get some fame. It would be much better if they teach people how to achieve basic stuff without already-baked-in APIs.

I'd assume that 80% of the available packages are completely unnecessary, i.e. "I need to set a cookie ... let's download this NPM package" or "I need to make two AJAX requests in order to fetch some JSON ... there are two more NPM packages"

I'm writing happily spaghetti code, use PHP, SQLite, Vanilla JS, HTML5, server-send-events, cron jobs and bash scripts to create fast and useful web applications.

Last note from today:
I saw a tutorial on YouTube how to auto-generate a .m3u playlist for a folder containing hundreds of MP3. It involved of course downloading NPM packages, create a NodeJS cli script etc.

My 3-second solution was this (built in tools coming with almost every OS)

#!/bin/bash
ls -1 *.mp3 > playlist.m3u
Or a robot crowd? Or a robot watching the game at a robot bar? Or a robot talking about the good old days of human umpires in the comment section of a tech blog for robots?
If it's broken because the designer assumed any two devices would have a sub-second time difference, it's still broken.
2nd person to ask this in these comments.

Here is an overview:

https://eclecticlight.co/2022/10/25/ventura-volume-layout/
Thanks. It would be insane.
Ouch, that's rough.
Pipes and pattern matching have been proposed to JS.

https://github.com/tc39/proposal-pipeline-operator
https://github.com/tc39/proposal-pattern-matching
It depends - I think some of the early explorers would welcome just gathering the resources and going back instead of fighting hostile wildlife and local residents.
So then say John owns a business in Illinois and Joe who lives down the street from John's shop uses his cell phone serviced by a provider based in California to place an order with John, the order is later picked up in person by Joe who pays with cash.

Is that interstate?
> And yet it's never been easier for a musician to share their music on Soundcloud, use Bandcamp for album sales, put their music on Spotify/Beatport/etc and collect streaming royalties, and set up a Patreon to get recurring revenue from fans.

People love to say stuff like this, but having gone through that grind myself, it's not nearly as easy or accessible as you describe. These platforms also make it easier than ever for artists to face things like copyright strikes and takedowns, which people are more than happy to abuse.

Additionally, streaming royalties pay peanuts for the vast, vast majority of artists and they get to determine how artists are paid based on calculations they determine. For example, Spotify pays artists by calculating their "stream-share", not a fixed amount per stream.[0]

Sure, it's easier to platform your music, but that doesn't necessarily make it any easier to generate meaningful income, particularly when you need the service to be priced as cheaply as possible in order to get reach. In the long run, I think this is going to further incentivize entertainment that is created passively and augmented by things like AI, which I'm personally not that excited about.

0: https://www.usatoday.com/story/life/2022/10/22/how-much-per-...
Degrowth doesn't work. We take a huge hit in our standard of living if we decrease the number of people on the planet.
The article actually specifies that they are known statically, and not actually dynamic values. They are not coming from databases or other external sources and that's a large part of why it's a code smell. From the article, near the top but below where many people in this thread stopped reading:

> its value is always known at compile time. We’re not receiving it as an parameter from an HTTP request or a value from the database.
itd be a decent point if it wasnt still missing stuff that's existed as long as windows
I don’t think this does much to solve the problem - “we investigated ourselves and found we did nothing wrong”.
I don't know Rails Active Record. But if the ORM is anything like others I am more familiar with (Django / Python or Linq / C#) can't you do a join and just have a single query? Or use raw SQL if performance is an issue?
I used to work in restaurants and have enormous respect and sympathy for anyone that tries to make a go of it. But the featured protagonist didn’t even have enough cash to last more than 30 days when even the article says that Cloud Kitchen promotes the idea that they could be profitable in 6 months.

Said person then went to the press and tried to start a class action suit. I think they need to look in the mirror and recognize how woefully unprepared and likely unqualified they were to run a restaurant.

And no, Cloud Kitchen doesn’t want to have people fail out that quick so they can “get the deposit.”
That’s a terrible LTV to CAC ratio, and like the article says, they can’t even fill the place as it is.