skysight-inc/HackerNews huggingface dataset:
When I hear a correlation expressed as causation, I try to turn it around to check whether it makes more sense that way.

"If you believe that ego depletion is real, you experience it." -- wow, sounds spooky, fascinating if true

"If you experience ego depletion, you believe that it is real." -- yes thank you, Captain Obvious

To me it seems like different people have different capacity for making decisions (that's kinda what ADHD is about). If you can make 10 different decisions a day, but you are required to make 20, you experience "ego depletion". If you can make 30 different decisions a day, but you are required to make 20, you laugh at the idea of "ego depletion", and you can even help to debunk it experimentally by increasing the required decisions to 25 which you can still do easily.

An analogy would be if you talked to people who have broken legs and found out that they are unable to run. So you come with a hypothesis "all people are unable to run". Then someone else tests the hypothesis using both people who have broken legs and people who are okay, and then conclude "actually, the only people unable to run are those who believe that they are unable to run", which is technically true, but misses the part where the people believing that they cannot run are the ones with broken legs.
Use the Language Level 20 (preview), or if even that doesn't cover what you need, use "Experimental".
Glimpse: Mnemonic key bindings for VSCode commands
My family is from Seattle for +100 years...

When I moved there from the bay area for college, it was super sunny and beautiful the week I was touring about....

I moved there - and then it rained for 90 days straight (1997) - PNW lures you in with beautiful, then once you commit - it laughs in your non-umbrella-having-face
> ...treating eczema in infancy is believed to stop the later development of other allergies and asthma as well.

This is a fascinating topic, and one which I think deserves a lot more attention, as it cross disciplines like 'dermatological', 'nutritional' and 'respiratory' medicine; it is related to many parts of the body and so could potentially explain not yet fully understood aspects of our biology.

In a limited fashion though, I think I know what caused my eczema, and what to remove to effectively cure it: stress! My eczema was nowhere near as bad as some people's, but for a while during childhood I saw the doctor about it; I used dermatological pastes daily for weeks and rubbed it off multiple time a day times with cotton wool. However, eventually I gave up as it seemed to make no difference. Since then, it has become apparent to me that it is almost directly correlated with mental stress, which ironically (but perhaps luckily!) means I'm not really bothered by it any longer.

I understand that 'relax' probably isn't going to work on its own if you have eczema badly, but it's interesting that what seems like purely mental stress about entirely non-physical things has such a strong effect on our physiology.
My personal take: Don't put it all in the same box.

Just have a api/v1/rest/ base path for modular well defined resources that can be used across your application, without breaking changes, or even shared to third parties.

Then have a api/v1/features for coupled endpoints that return non standard objects, and with a more flexible lifecycle.

Chances are you're better off having both instead of trying to cram all the use cases into one approach
(Lack of near field is related to the lack of physical distance units in OpenAL, according to the author in the two issues related to this feature. Games have always used whatever they wanted to use; if OpenAL-soft, a plug-and-play replacement library, added near-field, you might get Zombie ASMR breathing down your neck in L4D2 or something similarly unexpected. The same reason was given for not doing headtracking.)
> Only see comments doing that are on here.

Reddit comments went into tinfoil hat territory.

Discord comments went into calling for dtolnay's head.
Seems like an over correction. Yes trying to make your front end API be your public API is probably a bad idea, but making your front end API completely coupled to the structure of your app structure is probably a bad idea too. Best approach is probably in the middle somewhere.
This is what enshittification looks like. It's gotten to the point where I only play specific albums I like now. Spotify hates that, as evidenced by how difficult the UI makes it to do.
"bypassing" the screenlock is a selling point on the product page, thou
Did you mean Mgła?
The distro certainly has more longevity than the relationship that inspired its name.
In that case you can just parse the DOM clientside and insert it into the page.
I love Twitter, if you curate a good audience, it's fun. Not a fan of bunch of changes going on, removing blocking would be a huge mistake.
This is so weird. Is it another way of saying "being poor is expensive"? Or poor people get sick more? If so then this some next level captain obvious stuff. Or do the authors have such a nice societal experience that this seems very peculiar to them?

I mean, this is one if the top reasons people want money right? At least they have NHS in the UK, in most of the world and most of human history people either adapt or die.

The only problem I have with this is the name, it isn't shit life, it is poverty. It's not like rich people with alcoholism or depression maker the cut for this supposed syndrome. Not calling it poverty allows policy to be centered around anything but giving people cash.

Give the addicts, the hobos and and the mentally unstable cash and good information/guidance on their options.
I haven't read the article fully, but can anyone please explain why value types seem so much more complicated in the JVM than DotNet, where they have had it for a long time?
Some interesting stuff happening here [1] and here [2] too.

[1] https://github.com/stackotter/swift-cross-ui/tree/main
[2] https://github.com/TokamakUI/Tokamak
We Mixed AI and Music Sampling
Hey, I wanted to share this app that's innovating the world of music sampling.
https://twoshot.ai/ - where AI meets music sampling.

It has
AI-Driven Discovery: Navigate through 200,000+ samples effortlessly. From "guitar loops in E Minor" to "hyper-pop melodies", our natural langauge AI search has got you covered.
AI Sample Generation: Describe your ideal sound, and watch our AI craft it. Whether it's a "jungle-style drum loop" or "flutes inspired by nature", we bring your vision to life.
Reimagine Samples: Use our AI to extract elements from existing samples or generate an entirely new sound based on a reference.
Seamless DAW Integration: The TwoShot Audio Plugin integrates directly into your workspace. Plus, download raw audio samples within the plugin with a right-click.
Licensing Simplified: Navigate the complex world of music licensing with ease. Clear your samples in minutes with our automated system.

You can check it out at https://twoshot.ai/, I'd love to hear your feedback and thoughts.
For deeper dives and discussions, catch us on https://twoshot.app/discord
Similarly, a bath in a balcony in the mountains is one of the best experiences of my life.

There was a continuous flow of hot spring water into the large square bath, big enough for two or three people.

As you say, the contrast of the cold mountain air and the hot bath with amazing views is just fantastic.
Plus, if your doctor is very clued-up, they might even know of a scientific study to refer you to where your experiences can better the academic literature about your allergy. Sometimes, you even get paid for participating in such experiments.
Time to fight for human rights in your country ig?
this might be interesting
"The Music Industry’s Darkest Secret"
https://www.youtube.com/watch?v=Z_y_zeql7pc
"The following content may contain topics related to suicide or self-harm."
To quote a funny YouTuber:
Rust community doesn't report bugs, we complain about in GitHub issues for two years until project owner quits.
I still think it would be so much better if they have a version that uses ZigBee for data exchange.
Lower battery usage, and no need to worry that someone gets your WiFi password when they steal the device.
In the early 2000s, several things happened at around the same time.

* Red Hat Linux (previously the go-to desktop linux) was discontinued in favour of RHEL/Fedora in ~2003.

* Ubuntu was first released in 2004.

* Around 2000 a new release would come as a CD image and the normal way of upgrading was to wipe out everything except your home directory. This meant trying out a new distro was pretty much as easy as upgrading your existing one.

* As you say, although Yum was released in 2002, apt-get had been around since 1998, and so at that time was more mature.

* Wifi became increasingly common, and almost always needed proprietary binary blobs. Proprietary ATI and nvidia linux drivers became available. And of course MP3 was widespread.

Ubuntu arrived at an opportune moment - former Red Hat users looking for a new home, users used to wiping their system and installing a new distro, and clear benefits if wifi, graphics and MP3 all work out the box.
Your description of Blackpool is both eloquent and absolutely spot on!

I suggested to my friend that we go there for his stag do; and even for the debauchery of a stag do it felt a bit too grim! To the point that I felt guilty for suggesting it.
They are. They actively refuse to release the sources. And yeah they should be avoided.

https://en.m.wikipedia.org/wiki/Onyx_Boox#GPL_Compliance
There’s incognito mode for Spotify to avoid ruining your recommendations.
I had been expecting something in the spirit of the "Floppy RAID" [1], but something even more ridiculous on even older technology.

1: https://youtu.be/1hc52_PWeU8
> you can get higher results by cheesing a dumb strategy

I think that makes it much more fun for most people, so improving the scoring would actually make it worse.
Web Performance Auditing of an ECommerce Website
True, though you risk being told after years of diligent treatment that you were in the placebo group.
Yes exactly. Behavior drives success. Not merit. Behavior is social. No sarcasm here, just acceptance of what is obvious.
> hope Softbank buys you out soon :-)

The cynical thing is to say this is about monetisation and an exit, rather than about making an excellent tool more easily available to journalists.
ISTM a lot of book reviews by official reviewers, meaning those employed to write reviews, are often horribly gushing. Books have now unfortunately become just a product to be sold and the reviewers are part of the marketing. If I want an honest review I go and read a bunch of reviews off Amazon, accounting for the shills that are there as far as I can.

What really bothers me is I know there are some very good books out there that are well worth reading but aren't well known just because the authors aren't, and again, books now are being sold as a brand, just as much as soft drinks.

In the UK we have a radio 4 programme where people read and critique each other's recommendations. I can't bear it because they're so pretentious, but I also because the books they go for are almost always (AFAICT) from mainstream authors – these people want a nice, safe, conventional environment. They're just boring people.
Why do you think that? I'm sorry if I came across as rude or something but I genuinely disagree with your point, I don't think trying to explain why I think this is a bad idea makes me a troll. I'm not alone either so do you think everyone except you is a troll?
For anyone unaware, the Russian space agency were the first to land and operate remote rovers off world:

Lunokhod 1 (Russian: Луноход-1 ("Moonwalker 1"), also known as Аппарат 8ЕЛ № 203 ("Device 8EL No. 203") was the first of two robotic lunar rovers landed on the Moon by the Soviet Union as part of its Lunokhod program.

The Luna 17 spacecraft carried Lunokhod 1 to the Moon in 1970.

Lunokhod 1 was the first remote-controlled robot "rover" to freely move across the surface of an astronomical object beyond the Earth.

It was also the first wheeled craft on another celestial body.

Lunokhod 0 (No.201), the previous and first attempt to do so, launched in February 1969 but failed to reach orbit.

https://en.wikipedia.org/wiki/Lunokhod_1
The Pattern Language of Project Xanadu
Waitrose offers police free coffees to deter thieves
It sounds louder.

I figured, since hearing protection solves the problem, it's not a problem inside the head. Well it might be after all as I am apparently super sound sensitive.
General to Specific vs. Specific to General
Why China's Economy Is Collapsing [video]
The hopium and copium in HN is out of this world.
Most businesses fail. Most acquisitions get shitcanned, because statistically most of them are acquisitions of failing businesses. Then there’s the possibility they bought that company and killed it to stomp out completion and suppress the IP. Or it could have been because they needed to get funds moved, and that company was used to empty the bank, so they could ask VCs for another round, with the added bonus of that purchase raising the valuation. I’m sure there are a million other reasons but I know that every company eventually starts to gobble up other companies so it’s some “tie it up”, “use up the surplus”, or “dodge taxes” reason
They buy and build unpublished exploits and hide them so that they don't get patched - that's why the key software is tricky to get even for gov't agencies, some things for breaking fully-patched recent phones Cellebrite will only do in-house so that the customer can't leak and 'burn' the quite expensive exploit which was used.
What do you mean, how Groovy ended? It's still going strong with regular releases and continues to keep up with new Java features! It's a pretty nice language if you don't mind dynamic typing, which has its uses.
"Micro-Prolog" apparently. Strange kind of Prolog without parentheses and with an "if" operator:

X part-of bicycle if X part-of wheel

So not Edinburgh Prolog!

P.S. From Jtsummers' link, I realise Micro Prolog was the precursor of LPA Prolog, by the same company (LPA - Logic Programming Associates Ltd):

https://www.lpa.co.uk/win.htm
Hackers aren’t excited about AI (and other bits from CCCamp23)
You can still return html partials from your endpoints and use htmx to swap content without a full reload :)
RFC 9454: Update to OSPF Terminology, Changed Master/Slave to Leader/Follower
I used to work on this
https://www.newaudiotechnology.com/products/spatial-audio-de...
some years ago. You can drive the object positions using EMBER or ProTools consoles and then export audio plus 3D info as MPEG-H, which you can later render out into a variety of formats, including binaural.

Or combined with a DAW like Cubase/Reaper/Logic, you can record object paths as automation tracks with your mouse using this: https://www.newaudiotechnology.com/products/spatial-audio-de...
JS can update the DOM dynamically.

Nothing prevents the main response from being served as regular HTML and subsequent XHR request for some parts of a page being JSON or some such data format. In fact I bet that sending server-side rendered HTML is faster than sending a full structured page as JSON which has to be decoded, parsed, and then converted to HTML.
I don't understand how to play this. I tried clicking on all the colors and brushes but no matter what it only paints in the color black. Is there something I'm missing?
Try living under or near a flight path (I have) and tell me if it creature texture for you...

I could even identify the different types of jets from the weird reverberations around the house.
Show HN: Listicle Club – Convert Any Blog to an X Listicle
I have been working on this project for quite a while.
Here is what is happening in the background:

- Scraping the entire page content, run it with ChatGPT to test if it can be converted into a listicle.

- Send the job into the queue.

- Scrape the entire page again, and pass it to LangChain with ChatGPT to create a formatted JSON of name, description, features, and URL.

- Iterate over all the URL, take a screenshot with Puppeteer, and send it to Remotion to make a video.

- Craft the main post of the thread using all the other posts

- Save everything to a serverless Postgres and present it.

This works over serverless so that it can scale (I didn't want to work with scaling servers)

Here is an example
Original blog:
https://links.github20k.com/blog

Thread:
https://listicle.club/preview/U2FsdGVkX189pQBKMKMvQwOQSrvVRN...

I still need to work on the post size. Sometimes it passes 280 chars.
Thinking about waiting for gpt-4-32k; hopefully, the results will be much better.

Let me know what you think!
Yes my original comment was supportive (an HNer launching a saas like based on their Foss work - great !)

Honestly this is HN - if we don't sound a little bit like AI generated text anyhow something went wrong :-)
Thank you so much for the explanation and the valuable information! I really appreciate your help.
Cellebrite won't sell that thing to most police forces (they might sell the service to them, in a way where they don't get their hands on the actual exploits), so I'd assert that it is tricky for Apple to get this. This is also supported by the fact that Apple has systematically not been able to timely patch the vulnerabilities used by Cellebrite.
The problem with Debian is their insistence on "stability" by not updating the packages. In the modern world, when software development speed picked up steam quite a lot, releases of new software happen much more often than distribution life cycles.
In The Netherlands there were no foodbanks before the year 2000.

edit: looked it up, it is 2002 actually.
IIRC one of the developers was asked about this and said it would be about as much additional effort as the whole expansion feature so far. There is of course the user-level workaround of (roughly) `for file in *; do cp $file $file.new && mv $file.new $file && done`, but if I understand correctly you'd need to do this with no snapshots, otherwise the space from $file wouldn't be freed so you'd need an array that's at least half empty
What you say is true, but 'the 90s' is not really a good example, because biology evolves measurably over millennia rather than decades. It might be hundreds to millions of years between a certain bacteria evolving and then becoming extinct, but in the Anthropocene we have accelerated the evolution and extinction of species by multiple orders of magnitude.

For us to have killed a species of bacteria, discover that it's an important species for our health and then be trying to recreate it, all in less than a century, is too fast even for us. I am seriously concerned that we'll end up killing ourselves before our scientific, social and cultural knowledge starts to compensate for what can only be described as recklessness with just about everything we touch.

You and I are important as persons and want to do loads of things in our lifetimes, but maybe it is worth leaving some things to future generations so as not to overwhelm our own.
yes, but then it’s not one request per page
IBM study: 40% of workers will have to reskill in the next three years due to AI
This is real difficult for me to empathize with - I think I get what the issue is, and it’s just not an issue for me. How is it an issue for others??
This is good general advice. Sometimes you are building a general library or API, and sometimes there just happens to be a network partition between two components that make one module. My general rule of thumb is that it takes 3-5 times as long to build a library/generic API over regular code. It also requires a very different mindset.

Should you do that sometimes? Absolutely! In big companies you probably have entire teams doing this for API’s that are entirely internal. Just recognise that it is a huge cost and only do it when the benefits are likely to outweigh the costs.

That’s not to say that you should never think about generalisation when writing normal code, (one of my pet peeves is interfaces taking a single “something” when a collection could just as easily have been used), there are many ways code can evolve and some up-front thought can save a good deal of refactoring later. Just don’t write a generic library when domain specific code will do.
They don't use readings from the polygraph. It's more like a prop they use to try to get to your honest/embarrassing truth.

You can get false confessions on a polygraph interview but you can also get them in a normal police interview eg with the Reid Technique.
That's not a problem, that's a feature. If you're on Debian or Ubuntu LTS, you (generally) don't have to worry about something breaking by running `apt upgrade` to keep up with security fixes - only release upgrades can and will give you trouble, but eh, that's to be expected.
Was it confirmed anywhere that this space-inefficiency-until-rewrite issue was why it stagnated? I remember looking up the progress a few months ago and being perplexed by the radio silence, given there were celebrations that we were apparently on the home straight back in 2021
> Young people in the West who are unhappy are mostly mentally ill

Dude. Young people in the west have PLENTY to be very unhappy about, without being mentally ill. The completely fucked housing market for example (here in Western Europe at least), or the complete lack of drastic actions to reduce climate change.
And our infrastructure becomes a little bit less BDSM.
You not blinking.
The new Bing has failed to take any market share from Google after six months
I am right now sitting in a Pendolino train, not far from Prague :)

Pendolino is a nice technology, but expensive to maintain. And aircraft, unlike trains, is very sensitive to total weight; the actuators for the seats will be extra dead weight that you need to lift, and this extra weight may eat quite a bit of the fuel savings, if not all of them.
Do any ebooks offer full disk encryption?
Why not go for global type inference? Should be possible with the relatively simple type system
I understand it's in jest but I don't think Einsteins version "blew it". The simplified (and definitely catchier) aphorism misses to explain what the criterion for enough or not enough is.
Say what you want from Adobe's rent-seeking practices, but it's a company that created some of the first, most important real-world applications for personal computers. With Postscript and Photoshop, Adobe revolutionized, if not created, new industries.
The vast majority of defense work does not require a polygraph. It's really only a requirement for certain SCI/SAPs which are programs that have their own additional security requirements on top of Top Secret.
However RAIDZ2 can survive up to one of those stressed disks failing, while a 2-mirror has everything riding on that single survivor. It seems intuitive that mirrors would be safer, yeah, but if you run the binomial distribution numbers there are some realistic combinations of array size and individual drive failure probabilities where RAIDZ2 really does appear to be safer

Imagine a gambler telling you "you can either throw one k-faced die and you lose if it comes up on 1, or throw n k-faced dice and you lose if two come up on 1". Depending on k and n, the second really can be the better choice

Often people cite the faster rebuild of mirrors as a safety advantage, but the same amount of rebuild IO will occur regardless of how long it takes. Yes, there will be more non-rebuild IO in a larger time window, but unless that routine load was causing disks to fail weekly then I doubt it will change the numbers non-negligibly. It will of course affect array performance though, so mirrors for performance is a good argument
Is looking cool underrated in education?
Large Language Models As General Pattern Machines
I would like to see a hackernews for creatives, preferably done by completely different people. Just to clarify: Computer programmers can be creatives too, like writers, painters - anyone producing output.

I would keep the simplistic text based appeoach.