skysight-inc/HackerNews huggingface dataset:
Speaking of NixOS test, I recently found this: https://numtide.com/blog/nix-vm-test-reproducible-integratio...

---

IMO the most annoying part with NixOS Test is, just like any other parts of Nix/NixOS, it's horribly documented. Either the documentation is out-of-date or just not there at all.

I tried to write and run Playwright tests using NixOS Test but I hit a dead end. I just confused by the lack of documentation and gave up. Also kinda hard to use as you'd need to know the location of each browser driver executables. There also this thread (https://discourse.nixos.org/t/running-playwright-tests/25655...) but it doesn't really help my case.

And if that's not already bad, I found this (https://nixos.org/manual/nixpkgs/stable/#ssec-package-tests-...) section of the docs recently and it said "This section has been moved to pkgs/README.md.", but when I read the README file, it doesn't have what the test package example I was looking for! This is... annoying

Nix is a very good piece of software, I will even say it's one of the best piece of software ever made. But, what's the point of making software if no one else can understand it? I hope this become a lesson
Without getting technical about it... my previous work laptop (2019 vintage) when suspended, would blink a light until unsuspended - hours or days later - with still usable battery capacity left.

The current one. Fold it shut, stick it in my backpack. No noticeable powering-up or overheating issues, but if it's more than a few hours, the thing has a drained battery and is fully shut down. Luckily Windows "fast startup" mitigates the pain - it doesn't take very long for it to unsuspend-from-disk and reach a usable state again, with apps still open etc. No idea what Linux would do here. I actually have Linux on my previous work laptop (Elitebook 840 G6) and "proper" suspend works just fine on it.
I enjoyed ᑖᓐᓂᐊ ᑕᒑᖅ's Maiden cover, but continued on to polka: https://www.youtube.com/watch?v=ui1bCBCLZZM
I think the 'authority' was referring to the Lady not the Voice.

I interpret as "You were in an amenable state (consciously and subconsciously) for her to rewrite your software".

Edit: I have a couple of questions, if you don't mind (thank you for sharing your story):

A) You seem fairly neutral / Stoic about this entire experience, and it was clearly huge and transformative at a deep level. Do you perceive this as having a net positive or negative impact on your life?

B) Do you feel you are able to empathise with 'prophets' through the ages better than most? Not to single out particular prophets, but in general those with the Voice of God that wholly leant into to it rather than managing it (and then preached/spread their words)
It would make sense if there was stuff attached to some USB port, but it's not. I would assume the laptop should know this, but again, it's not.
I have used this and really enjoy it.
Very valid points. We've controlled these issues by providing content which we created ourselves and running other pipelines to validate the tutor's answers
It’s not all bad. UK has a lot of onshore wind energy potential that was banned from development to placate the shires. That ban is no more.

UK is also a good place for nuclear power with an almost complete absence of risk factors, though with the price of renewables it’s too late to exploit it to the level France has done.
This is great! Thank you for sharing.

I have been running a 5x5 game that is more wordle like (i.e. no clues, guess entire words) at https://squareword.org for the past ~2.5 years. Interestingly, when you exclude proper nouns, there is a relatively limited amount of possible 5x5 squares with common words - I am having to add some uncommon words to make it work. I guess with nouns included this is less likely to happen, should be a much larger space of possible words.
2, I shutdown my personal laptop because I don't care having a blankslate when booting up.

But regarding the work laptop, Sometimes it's nice to have stuff ready when you're oncall.
I have my applications/windows pre-prepared so that I don't have to go trough a thousands hoops in the middle of the night to resolved that priority 1 incident.

I understand your point, but I also can see what's the fuzz about.
If the fuzz is legit is not for me to say.
I love minimalistic specs like this. I miss the 90s lightweight internet, that projects like gopher and Gemini try to resurrect.

But it's going against 2 trends :

- Every site needs to track and fingerprint you to death with JS bloatware for $

- LLMs break the social contract of the internet: hyperlinking is a two way exchange, LLM RAG is not. No attribution, no ads, basically theft. Walled gardens will never let this happen. And even a hobbyist like myself doesn't want to
I guess 99% of the population would not be qualified to tell if an open sluice gate is problematic under certain circumstances. If it were as easy as "Sluice gate open && water level > X" I am 100% sure there would already be an automation for it.
Yes, but presumably we all work at businesses that are trying to make money. Code quality and product quality are inextricably linked in the business world.
The UK seems to import around 10% of its electrity
https://en.wikipedia.org/wiki/Energy_in_the_United_Kingdom

"""
Demand for electricity in 2023 was 29.6 GW on average (259 TWh over the year), supplied through 235 TWh of UK-based generation and 24 TWh of energy imports.[4]
"""

Hopefully this is paired with reduced coal burning in the places Britain relies on for power, and improvements in efficiency. The wastefulness of British houses is something to behold...

Of course, there's also the energy used to build things that Britain imports that used to be made domestically, not accounted for here.

Britain seems to be doing reasonably well w.r.t. energy imports though - https://www.statista.com/statistics/550304/electricity-impor...

From
https://www.statista.com/topics/4938/energy-imports-in-the-u...

"""
Although historically relatively self-sufficient in covering domestic energy demand, the United Kingdom’s dependency on imports has increased in the past few decades. With oil and gas fields on the continental shelf depleting and the government phasing out coal, the country has grown increasingly reliant on supplies from other countries. Energy dependency reached its peak in 2013, at nearly 48 percent. Thanks in large part to growing capacity additions of wind power and a decline in primary energy consumption, the dependency rate had fallen to some 35 percent since. This is notably lower than the European Union average.
"""
We have high quality materials that the learner's can learn from, very similar to CS50.
The LLM is there to resolve doubts and help learners if stuck which is currently impossible to do with static resources like CS50.
Thoughts?
Same here... Chrome on macos
I read Permutation City some months back, and it was truly great. Loved it. I am going to read many more of his books.
America's New Climate Delusion
Would a ~30 cm increase cause that much problems? There's plenty of playroom in Amsterdam's canals, the water level is at least a meter, usually more below the canal sides.
I'm no expert in the UKs domestic energy, but at least looking at electricity mix charts it seems to me like growth of renewables after introduction (lets say 2005) from <5% to ~40% compensates the drop in electricity produced from coal (~33% to <2%) quite nicely. The huge drop in coal production starting ~2014 also doesn't seem to correspond to an increase in net electricity import, so I don't see what you're basing your claims on.

It's also news to me that the UK was ever self sufficient for energy in the last few decades. Most countries are at least roughly matching their electricity production, but almost all are huge energy importers for non-electric energy, so I don't quite see the issue (if e.g. most large oil producing countries were to suddenly stop exports, most of the world would be in huge trouble).

Why do you claim that this, which has been the reality for almost all countries over the last few decades, would be horrific?
Here in Brisbane we get wicked humidity, which means that even 27C can be disgusting. As a child I lived in the Wimmera, which is quite dry, and 35C was nice.
> What about if people are over-specifying their solar PV system to make use of net-energy-metering (or high feed in tariffs) to reduce their annual bill (for instance in California)?

Don’t just think about what happens when these systems are at 100% output. At 5% output that home is sucking power from the grid while the solar far is providing the grid with power. Which means even if every home and business adds panels a solar farm will still supply some electricity directly.
Cellebrite is built around that reason: USB/Thunderbolt stack vulnerabilities, etc., that allow the full-disk encryption key to be extracted out of the RAM of a running system.

I believe iOS is capable of flushing most cleartext data on suspend until the passcode is reentered, so suspend should be as good as shutdown; I don’t know if macOS can do it. On desktop Linux it’s theoretically possible with systemd-homed, but in practice that needs desktop-environment support that’s as far as I know does not exist, so shutting down is more secure. I can’t remember anything about Android either way except for some features for disabling the USB port in some alternative firmware.

On Windows with a typical TPM-only setup, powering off is probably just as bad as suspending, because just powering the machine back on is enough for it to helpfully unlock everything. If you do need to enter a BitLocker passphrase at boot, then you’re in the same situation as typical desktop Linux, so powering off is more secure.
How does it count if you import fuel and burn it locally? It's still "imported energy". Most of our energy is imported if you look at it that way.
> The quality of life has dropped dramatically in the original EU countries.

That doesn't reflect the reality that I see at all. The only area where quality of life is worse than previous generations is
in property ownership - particularly in bigger cities and suburbs. But that's reflected across many industrialised nations from UK, Canada,
NZ, Australia, so it's not a problem just limited to EU countries.

Otherwise the net price of "stuff" from electronics, cars, food, clothes, shoes and household accessories have fallen a lot in real terms and
people have lots more than ever before - maybe too much ?
We have provided LLMs with reference materials we created ourselves. Additionally we are running validators to check the output.
I agree that the LLM will still not be 100% accurate but it should work pretty well
I don't know for sure but I'm guessing a significant source of revenue for Ford is the supply of replacement parts for existing vehicles. They can likely survive on this source of income for at least the next 20 years.
Unless the topic is how TikTok can cause hemorrhoids from sitting too long on the can, I imagine the topic is specifically the effect of radio waves in the cellular bands on nervous tissue, not the general concept of mobile phones on general human health.

Radio waves has been studied since the 19th century - around the same time a doctor realized that maybe one should wash their hands after an autopsy before delivering a child, although no one really believed him for decades - and we have been exposed to them since the beginning of life itself. Peaks in history have happened as kilo- and megawatt transmitters for point-to-point and broadcast transmissions came and (almost) went. Lightning strikes and solar storms still bombard us though.

We have studied the effect on tissue within these frequencies extensively - all it can do is oscillate matter in various ways (in case of water, it causes the molecules to spin), depending on the power level and resonant frequencies - and every household is now comfortable having a kilowatt transmitter to cook food with despite leakage. Even with that transmitter right up against your food, the food only cooks at the standing wave anti-nodes - where constructive interference from reflections in the small closed space boosts the signal further (a necessary mechanism, as the food would otherwise only cook at the surface).

Cellphones transmitters usually operate in tens to hundreds of milliwatts as they will aggressively throttle output to save power when it is not needed (the closer you are to the tower, the lower your exposure!). The power at the surface of the phone is far too low to matter, and the power once it has gone through your skin, bones and cerebral fluid to get to your brain is much, much lower.

Phones even need to be certified for their maximum energy absorption, at their maximum transmit power across all bands of operation. Take an iPhone for example: https://regulatoryinfo.apple.com/rfexposure/iphone14,5/en
I sometimes pasted my code into llm to check if it can be simplified. sometimes it worked, sometimes not, sometimes it gave valid points.

Once it told me really nice beautiful soup optimization, I did not I could make cast soup to string, or something.

This is obviously done on my private code. Legality issues more often prohibits the use of AI
My ancient latency claims of at most ~200ms (in practice ~100ms) are based around this test:

https://humanbenchmark.com/tests/reactiontime

Yes. Me clicking the mouse, the software transmitting the mouse click to a datacenter, software rendering the web browser using AVX2, software encoding the stream, sending it to the local browser and decoding it on the screen, shining photons in my eyes, me clicking the button a second time (which also needs to be transmitted to the datacenter), gets me around ~400ms over WebRTC on the reaction time benchmark vs ~200ms on the local computer. I'm not even trying. It's a janky as hell solution that is about to fall apart the moment you look at it funny.

Also, I hate ffmpeg for streams that last longer than a day. The latency creep of streams lasting weeks is horrible.
Is this github only?
> presumably if you create an llms.txt you're not looking to manipulate anyone

I don't think the public sentiment around scrapers and LLMs is that friendly.

I personally think scraping is very important and it allows for smaller players to compete (as long as you're careful about the number of requests).
How do you hibernate with zram file? Is a seperate swap partition necessary for hibernating?

Even if I create 200% swap file, I get `Call to Hibernate failed: Not enough suitable swap space for hibernation available on compatible block devices and file systems` on fedora 40.
There must be a lot of edge cases that were discovered over the years.
Most burned things release Very Bad Chemicals(tm) only when they are incompletely burned.

It is possible to design burners that ensure a complete combustion, but they are much more expensive than simple burners.

Upon a complete combustion, some things may still release volatile acid oxides, e.g. oxides of nitrogen or of chlorine, but those can be captured.
Probably worth looking at a briefing that is a bit newer - a lot can change in 26 years
People insisting on subscribing to Spotify instead of being subjected to constant ads and propaganda may have significantly disrupted this business model already?
Exactly. The point of it was to encourage people to write
It's like the skill needed for calculator usage. You need to be able to quickly estimate what rough order of magnitude, first and last couple of digits, to check that the result "looks right". Using a calculator to do 100 quick sums is a different skillset to doing 10 by hand.
True - thank you for pointing out. I've modified the article, I think it's clearer now.
The Canary
> "...makes you put the book down, stare into the middle distance, and go “whoa”. The kinds of books that leave a lasting imprint on your mind."

100% solid agree. That's what makes a book worthwhile to read.

I saw The Man in the High Castle series when I had time for webseries, and while it was kinda mid, it had some great aspects.

Suggest more if you can. Need not be Sci Fi.
The Kernel Doc and outdated / deprecated / unsecured crypto algorighm
Why does docs.kernel.org/crypto/architecture.html provide non secured algorithm type like SHA-1 and continue to prompote non post-quantum proof algorithm like AES-192?
If you ever want to see what the grid is up to in real time, I highly recommend the venerable https://gridwatch.templar.co.uk - its a labour of love
Thanks, I will check them out. Any more recommendations?
The vast majority of imported energy comes from France and Norway, much cleaner energy than the UK.
Comparing Melbourne's weather to global patterns is a stretch. For non-Australians, Melbourne weather is the subject of the song "Four seasons in one day".
It’s a patchwork. The latest policy to allow undocumented immigrant children to stay is from 2012 and still in effect:

https://en.wikipedia.org/wiki/Deferred_Action_for_Childhood_...
I think it alludes to a lack of any purpose in life. A friend of mine was like that and she was really unhappy with that.

She had a job, but is was literally nust a way to get money. It wasn't a bad job, but it did not remotely excite her and if she was gone she would have been replaced within a week.

She had zero hobbies and nothing she persued with a passion. That didn't mean she did not have talents, e.g. she was a great singer. But it did not mean a lot to her.

Not sure if this is equivalent to Nicky here, but the tragedy isn't based on what we think about it, it is that these people feel homeless in their own lives. The relationship isn't causal in the sense of "people who have job X will feel like that" but more like "people who feel like that are likely to have a (to them) meaningless job".

The girl from my story got out of the whole thing by traveling and leaving her comfort zone, she got a dog that she wants to care for and that pushes her to do things when she normally wouldn't.
> Side-rant: It's nuts how hard it is to find a good laptop that has 64G RAM [...]

Like this one? Found it in ~30s

https://www.apple.com/shop/buy-mac/macbook-pro/16-inch-space...

> terrible build quality, broken speakers [...], badly working components [...]

There was a dark time in Apple's lineup (2015-2020) when they ran hot, the keyboard was widely considered terrible, battery time was unimpressive, and the lack of ports forced everyone to carry half a dozen dongles everywhere... These times are gone.

> The HP is a full 1000 euros cheaper

Oh true, Macbooks do seem expensive, until you consider actual value. If "an actual computer" is the primary tool of your trade, I'm 100% convinced it's good ROI to invest in your own comfort/productivity/peace of mind.
I'm no expert either but I do know that we have been importing significant amounts of energy from France for quite some time. This suggests to me that France has a huge surplus rather than just matching their own need.
I'm not sure why, but reading the article I got an urge to just apply for a job to help clean up the site. The coal plant served us (humanity), and now it's time to clean up after ourselves and return the land for other use. It seems like a fitting final chapter of the coal era
Just got a quick look, and found a gem: https://github.com/maaslalani/slides

Easy to use, neat and powerful!
They just won't advertise on Twitter. There are plenty of other ways for organizations to spend their advertising budget.
Hello HN,

I solo-built this application (thanks to continue and claude) in approximately a month. Which I don’t think would be possible at all a year ago. I have a database, cron-jobs, whitelabelability, user account management, and 2 nice looking main features.

I think with AI new coders run the risk of coding themselves into a deadhole. The most challenging tasks weren’t to build a feature, but to understand the concepts of dataflow to build an application that has the necessary UX for today’s market.

For me AI’s biggest impact wasn’t to build features to me, but as a challenging partner for my understanding. I think I grew from a junior to senior developer over the last 3 years.

This tool is supposed to help freelancers to find specific niches or jobs and utilizes AI in between to classify and filter the data.

I still have a lot of ideas to optimize it, but it works.

AMA
The biggest perf improvement in Valkey, will be RDMA for the version 8 release. See https://github.com/valkey-io/valkey/pull/477#issuecomment-21...
https://ukerc.ac.uk/news/britain-net-electricity-exporter/ "Britain is a Net Electricity Exporter for First Time in 44 years" (2023)

OK, so that was the brief period when half the French nuclear reactor fleet had to be taken offline at the same time for crack inspections, but the other half of that - importing for 44 years - implies this is not a new situation nor a disaster. It is not "horrific" to be a net energy importer, nor is is particularly environmentally unfriendly when the French nuclear reactors are working.

The second most important link is importing energy from Norway, which is 99% (!) renewable.

The main delaying factor was the Conservative moratorium on building onshore wind in England, which I believe is ending, and the general reluctance to build new power lines to import more renewables from Scotland, Orkney etc.

Since someone complained, direct quote from article:

"So what happened?

Over the past year, French nuclear power stations had many maintenance problems which led to significant reductions in their output. In August, 57% of the country’s generation capacity was not being used. Despite a modest recovery, as of January 2023, 15 of its 56 reactors were closed for repairs. All this meant nuclear-reliant France had to import electricity from neighbouring countries.

This led to more electricity being generated in Britain than would otherwise have been the case, to satisfy the additional demand from France. So while Britain’s renewable generation was at a record level, its fossil fuel generation was also higher than in the previous year. Without the problems in France, 2022 could have been the first year that Britain’s wind, solar and hydro combined generated more electricity than its fossil fuels – a milestone that will happen anyway over the next couple of years."
Dismantling fossil fuel infrastructure will free up enormous amounts of steel for recycling.

I wonder what they did or will do with all the ash, though.
The website has added a new feature of merging two images into one and creating an AI hug
> Actually, the regulatory language is easy. "You may not buy or sell user data."

I believe the easy workaround is to designate the other party a "data processor" or something of that sort.

"We're not selling data, we merely allow partners to access it to generate reports for us."
I've been running NixOS for almost a year and I agree, Nix is amazing and I love having all my config in a repo, easily reproducible. But god do I miss Arch's documentation so so much.
Nice! I recommend checking out mithril/stream [0], it's framework-agnostic and quite small but comes with your standard map/lift/etc. Does everything you need and with a standard, flexible interface.

I think the code itself is messy and outdated ES5, so I rewrote it in TypeScript and made some improvements to QOL, clarity and performance and use that package liberally across a lot of codebases. I'll post it here sometime whenever I push it to GitHub.

[0] https://mithril.js.org/stream.html
It's kind of like if the Boston marathon was suddenly sponsored by Uber and said "we're not saying drive instead of run, but it's ok to take a cab some of the way"

Who cares? It's just for fun right?
> The wastefulness of British houses is something to behold...

I'm reminded of how there was an "Insulate Britain" campaign group, using unpopular disruptive tactics; the outcome of that was the law changed and they got jailed for several years, and the British public could go back to not thinking about insulation again.
Boomers Are Becoming Criminals, and No One's Talking About It [video]