MurphyA/hacker-news huggingface dataset:
by elktown | 2025-07-27 09:26:14+00:00
This sounds like it agrees with my point of going overboard with DRY? But this is true for pretty much all languages. When people go overboard with abstractions it usually ends up bad over time and changes, as in your example as well, starts becoming a dredge. But this is solved by experience and better practices, not throwing out the baby with the bath water. Tailwind seems strangely defeatist to me - going from one extreme to another.
by pydry | 2025-07-27 09:28:06+00:00
>That's a seductive narrative, but not backed up by data. The share of GDP that goes to labor is has held relatively stable in the past few decades

If you click that "max" button on your graph it does not show a stable share.

Appeal to status quo is seductive for those who are generally comfortable though, I get it.

>But inflation-adjusted wages isn't negative or even flat, it has grown?

Looks pretty flat to me:

https://www.statista.com/statistics/185369/median-hourly-ear...

If they weighted nondiscretionary housing, education and healthcare in the inflation basket properly and de-emphasized discretionary electronics and clothes I doubt it would even be flat.
by gmueckl | 2025-07-27 09:29:50+00:00
I'm not changing any story here. All this "use a library" advice to juniors isn't as universal amd fast as everybody makes it sound. I always find that it sounds too discouraging. There is no magic in these libraries and in their creation - just time and effort. And that's something that needs to be mentioned, too. You can roll your own if you're willing to justify the effort. Depending on the context, it may just not be a good use of your time.

That's why it's also important to point out that no significant piece of code is mature and stable from the start, but was brought into this state iteratively using tools and processes that are available to everybody else, too. The biggest difference between existing mature code and new code under any good development process is age.
by eulenteufel | 2025-07-27 09:29:52+00:00
NixOS does enables this to a degree, for example with nixos-mailserver[0)].

It would be nice if it could enable people with little sysadmin experience to self-host easily, but right now the bar for using NixOS and configuring these projects is still pretty high. Still, with enough work I imagine it could be possible.

[0] https://gitlab.com/simple-nixos-mailserver/nixos-mailserver
by dreamcompiler | 2025-07-27 09:29:58+00:00
Most of what you describe can be accomplished with diesel Jet-A engines. These used to be unthinkable for GA because they were too heavy, but clean-sheet designs are making it possible.

Much easier to fuel, no electrical system dependencies, no spark plugs to foul, liquid cooling to keep the temps more constant, and dual redundant FADECs. Plus much better range.

But they're still expensive.

https://www.flyingmag.com/inside-aviation-diesel-revolution/
by sgt101 | 2025-07-27 09:30:19+00:00
Interestingly it's been possible to make rubies for years, 150 years ago rubies were far more prized than diamonds, but then fell out of fashion, mostly because diamonds were in good supply and there was a big marketing campaign for them. Consequently lab grown rubies are pretty cheap - maybe $50 carat, but here's the thing.. natural rubies are still expensive because they are rare and contain impurities that give them a glow/fire that is prized.

But here's the fun thing. You can destroy the value of a natural ruby by cooking it. If you heat it in the right way the impurities will anneal out and you will be left with a near flawless stone that appears to be artificial! Bye bye value :)
by bjackman | 2025-07-27 09:35:29+00:00
Yeah but each only exists once. If you wanna clean up on ERR and also use that trap for debugging you need to implement some janky layer on top of the trap.

(FWIW my take away from issues like this is always: Bash is not a serious programming language. If you are running up against these limitations in real life it's time to switch language. The challenge is really in predicting when this will happen _before_ you write the big script!)
by Sesse__ | 2025-07-27 09:36:18+00:00
It depends on having two CPU teams, though. There are not that many teams in the world that can design a high-performance microprocessor; I would assume that AMD has two and Apple has only one (which is why you got all these fillers with just larger and larger M1s in a trenchcoat, while the team was busy trying to make M3 happen).
by BlackFly | 2025-07-27 09:36:48+00:00
No, rust forces you to use a mutex but nothing will prevent you from making the mutex too small and creating tearing in your own data structures by sequentially modifying things covered by mutexes so that in between acquisition of the locks you are violating invariants. The borrow checker certainly helps however, but not without cost that was finally minimized when the scoped threads api came along.

Java has a very specific memory model, so the behavior of variables across threads is quite well defined. Basic variables can tear however (a 64bit long on a 32bit architecture) without the volatile keyword and that is quite different than rust.
by ahaucnx | 2025-07-27 09:37:21+00:00
Hahah. Thanks for calling me!

We actually have a sample of the Bosch in our office but haven’t come along to test it yet. Maybe with this call, I will get our team onto it.

The form factor has pros and cons in my opinion. The size and lower energy consumption definitely opens new applications but the problem is that it needs a clear field of view to do the measurements.

This could in turn restrict the applicability, eg as a wearable sensor.

In general I think it’s great to see innovations in the PM sensor field but often minimizations go on costs of accuracy.

We saw that for example with the Sensirion photo acoustic CO2 SCD4x sensor that is tiny but needs more black box algorithms to compensate for certain environmental conditions that then limits the range of applications.
by nlitened | 2025-07-27 09:38:46+00:00
Plants stop being able to do photosynthesis efficiently at lower CO2 ppm values (plants need CO2), which lead to massive deforestation. Thanks to current 400+ ppm values, in many places of the world the greenery returned in the past decades. Values in 600—800 ppm range would be optimal for keeping our planet green and ecology.
by bob1029 | 2025-07-27 09:38:50+00:00
Combining n-grams and bitmap indexes can give you most of the magic in the space.

I've been working on an architecture for code search that relies on a repo-level trigram index and a per-repo FM-index (actual code). The trigram index is used to find the bitmaps of repos that contain each term. These are then ANDed together to produce the final list of repos to search via FM-index.
by ChrisMarshallNY | 2025-07-27 09:39:49+00:00
Friend of mine wrote this app[0]. It’s iOS-only (I’m not the target demographic, myself, but he works for a company that serves bikers, and is very much a fitness chap). It’s quite mature, and well-maintained. Personally, I know him as an outstanding engineer, so I’m sure it’s well-written. It’s been a labor of love for him, for over a decade.

[0] https://apps.apple.com/app/id605127860
by isaacremuant | 2025-07-27 09:40:01+00:00
Calling Norvig's insights garbage says a lot about you. How did you ever come with that strawman?

> If you want, put in four years at a college (or more at a graduate school). This will give you access to some jobs that require credentials, and it will give you a deeper understanding of the field, but if you don't enjoy school, you can (with some dedication) get similar experience on your own or on the job. In any case, book learning alone won't be enough

Where exactly does Norvig advocate not to have a career earlier?
by em-bee | 2025-07-27 09:40:06+00:00
here is a different voice-over: https://youtu.be/RK8cWY7MOtU

also not original, but an explanation in the description: The quality of the audio was poor in the copy of the film we obtained. Some audio restoration was attempted, but the results are less than ideal.

i guess the original audio will remain lost.

here is a related video with some original voice (first original is half a minute in): https://youtu.be/Zz0dadJoyzc?t=36
by grues-dinner | 2025-07-27 09:41:07+00:00
It depends what you use it for. Abrasives can use pretty much any horrible misshapen brown rock of roughly the right size.

But there are also applications for larger flawless crystals in things like diamond windows, semiconductor substrate and microtomes. Recently you can even buy a diamond 3D printer nozzle for extruding abrasive materials like carbon fibre. These require better processes than the ones that churn out abrasive diamonds.
by fuzztester | 2025-07-27 09:41:21+00:00
I used many text editors over the years.

At one time, I used PFE, the Programmer's File Editor, which was lightweight and fast, on Windows.

It had a feature of being able to open large files.

https://en.m.wikipedia.org/wiki/Programmer's_File_Editor

https://www.lancaster.ac.uk/people/steveb/cpaap/pfe/
by justlikereddit | 2025-07-27 09:41:36+00:00
A CAC scan is a non-contrast CT scan and a coronary angiography is a contrast CT scan.

They are both ECG gated scans of the heart otherwise so they're pretty much the same scan area and same scan duration, if you're hooked for a Coronary CT angiography you can easily get the CAC at the same time by doing a scan sweep before contrast administration (at the cost of 2 minutes of time and an extra dose of radiation)

Though the logistics surrounding contrast administration makes it a bit more fiddly with a slightly higher risk profile.
by mariusor | 2025-07-27 09:41:39+00:00
Basically the same things happened to my tuxedo also. With the addition of having to change batteries once a year, because it would drop to half it's factory charge, which wasn't really sufficient. I also gave up on them when they wanted so much money for a screen change (which died after about 3-4 years).

I've replaced it with the new framework 13 inch, which so far works well, but I've only had it for 4-5 months. ( well, but not perfect, because the new AMD AI CPU has issues with suspend on linux)
by MichaelRo | 2025-07-27 09:41:58+00:00
>> I made the very sensible choice to adopt luxon as the Date Parsing library for Eleventy.

Never heard of neither Luxon nor Eleventy but by the ridiculous gay names only I could have bet a million dollars this is yet another instance of the insanity that's Javascript. Honestly, noone outside of the sickening dysfunctional Javascript ecosystem does that, keep rewriting basic crap ad infinitum.
by dakiol | 2025-07-27 09:43:25+00:00
> Komoot, to them, was more than a job; it was a mission and purpose. Many had accepted below-average salaries and uprooted their lives to commit to the outdoor lifestyle and the dream job. Suddenly, they were left scrambling for new work and visa sponsors with just a few months’ pay as severance. The six bosses, meanwhile, pocketed an estimated 20 to 30 million euros each.

That’s why, and call me unethical, I never do more than necessary at work. Never help outside of business hours, never engage with rich bosses. Switch every 2-3 years to new places. Maximise my income (in real money, not imaginary stocks) while trying to work the minimum.

For dreams and craft, I have my side projects.
by pimeys | 2025-07-27 09:43:30+00:00
I've been running Linux on my laptop and on my workstation since the 90's. Still using it as my main driver. Fedora Kinoite is my distro of choice, and Lenovo AMD Thinkpad T14s the laptop. Everything works flawless, and it's still pretty fast even though it's two years old already.

And I do not miss at all the Microsoft bullsh*t on tracking and advertising. Or the general sluggishness of Windows.
by jart | 2025-07-27 09:43:49+00:00
NASA ended their space shuttle program in 2011 and hasn't been able to send things into space since. For the rest of that decade, the only way Americans could access ISS was by purchasing tickets on Russian spacecraft. NASA pivoted to partnering with private government contractors like ULA, which did 4 launches in 2024, probably spy satellites for the military, but their Atlas V rocket only has 14 launches remaining before retirement. That's it. Aside from the greatly maligned SpaceX of course, which did their first manned mission in 2020 and operated 134 launches in 2024.

There are still maybe one or two cool jobs left at NASA like controlling the Voyager software. But I imagine everyone else at NASA who respects themselves would have left for SpaceX a long time ago, rather than waiting for Trump to incentivize their retirement. Half of all revenue collected by the US federal government in 2024 (totaling $2565 billion) was given to retirees. Mostly middle class and government retirees. So this policy shift is very aligned with the US status quo, which is paying people to do nothing, rather than having them go through the motions of tilting at bureaucratic windmills trying to do something.

Even in this thread you see how pervasive the attitude is. I've seen several comments here so far talking about how the economic system isn't giving them enough money, but I've yet to see anyone here express a willingness to eat ramen, sleep in the trenches, get their hands dirty, and endure whatever pain and peril it takes if it grants the opportunity to help out getting things done with space exploration. Those are the kinds of people who create material abundance.
by pyman | 2025-07-27 09:44:11+00:00
I'm a teacher in a private high school which allows students to have smartphones. Kids have unlimited access to porn and they circulate it during school hours, and there's not much we can do about it.

AFAIK, the UK forced the big porn tech giants to hide explicit images and videos from the public unless users verify their age. Twitter, Telegram, WhatsApp, Reddit and other companies failed to do that. These US businesses turned a blind eye to porn just to make more money.

I think what the UK is doing is a step in the right direction. It's about holding the billionaires behind these apps accountable for what they show to kids. It won't fix everything, but it will force the big players to change their software. And that's the first step toward making things better.

In my opinion, this should be a universal law: want to gamble, watch porn, smoke or buy alcohol? Show your ID. Simple as that.

> I do not think that this current system will be effective at stopping much harm to consumers of pornography, but I do think it will lead to terrible privacy breaches.

You mean the system that verifies age could get hacked and expose all the IDs people uploaded? Yeah, that's the risk. But we already hand over ID for flights, banks, hotels, etc. The real issue isn't showing ID, it's trusting the people behind these porn sites, which we know cannot be trusted.
by Sirikon | 2025-07-27 09:45:42+00:00
The convenient part is having a public IP address to connect to from anywhere. You would need either exposing your home infrastructure to the internet or a cheap VPS.

Not that hard to solve, but it's an extra hurdle in the setup for something as critical as the networking to connect to your stuff from anywhere. I just think everyone is over-reliant on Tailscale when it's pretty obvious they'll rug-pull as soon as they run out of VC money to burn or get acquired.

So, it's convenient... for now. A future migration is inevitable when using Tailscale, and I prefer to solve problems once.
by JdeBP | 2025-07-27 09:46:09+00:00
It's doing it quite a lot, too, if the number of resubmissions are anything to go by. (-:

* https://news.ycombinator.com/item?id=44685879

* https://news.ycombinator.com/item?id=44679763

* https://news.ycombinator.com/item?id=44677535

* https://news.ycombinator.com/item?id=44674763

* https://news.ycombinator.com/item?id=44685342
by JimDabell | 2025-07-27 09:46:31+00:00
> why do so many websites try to push you into using the app

It you’re talking about the intrusive stuff that gets in the way of you using the website, then the answer to this is pretty simple: they don’t. The sites that do that are comparatively rare. They just appear more numerous than they really are because it’s the really big sites like Reddit that do it. The norm is either a page on the site that tells you about the app, or the banner that appears at the top of a page.
by Theodores | 2025-07-27 09:48:13+00:00
Very good. However, I wanted to know the rules regarding how big that border has to be and how some QR codes have a logo in the middle. We all want pretty QR codes!

Also, given the choice between optimising for 21 x 21 modules or something a lot larger, what is recommended in this day and age? Is blocky best?
by pimeys | 2025-07-27 09:49:13+00:00
The performance of Fratres, for violin & piano with Gidon Kremer and Keith Jarret from the 80's is one of the best classical performances in my collection. It's so amazing, and with good headphones, the timbre of the violin and Kremer's high notes are absolutely gorgeous.

I was lucky enough to see a performance by the Estonian Festival Orchestra in the Berlin Philharmonics a few years back. The whole full big room was dead quiet and listening, it was so good.
by riedel | 2025-07-27 09:50:01+00:00
Looked at Autotier before, but the development looked pretty stale (which is not too bad per se if it is stable). Is there any experience/ recommendations with putting bcachefs also on top of networked block storage such as CEPH ? As CEPH SSD caching seems pretty deprecated by default, at work we looked at a solution to marry our HDD and SSD pool for users that do want to put too much thoughts into tiering by mount points.
by joshvm | 2025-07-27 09:50:07+00:00
Unless I misread, the lens is integrated, but Bosch recommends an optical window to protect the device. The integration guide is pretty comprehensive. Many fan-based air sensors require some specific enclosure considerations to separate the in/outflow.

Sparkfun sell a module with a ground plane + thermal pad as heat sink. This is suggested as OK by Bosch, though adding a small heatsink is probably a good idea, or just mount the enclosure on a metal surface.

https://www.sparkfun.com/sparkfun-air-quality-pm1-pm2-5-pm10...

https://www.bosch-sensortec.com/media/boschsensortec/downloa...
by fuzztester | 2025-07-27 09:50:32+00:00
Ha ha.

Same here.

Also, in shell,

>file

can be used to delete a file, IIRC. Not at a Unix box right now, so can't check.

And:

echo *

is the poor man's ls command, as in, "poor man, his Unix OS is corrupted , and many commands are missing".

And similarly dd is that man's cat command. :)
by kindkang2024 | 2025-07-27 09:51:30+00:00
> I have created nanotimestamps which basically allow you to embed a lot of data into blockchain itself with basically 0 gas fees.

How is this possible? Is it something that EVM-based chains can support? Curious to hear more.

> Regarding zk human proves, there are some zkmail

Zkmail doesn’t prove that you’re a unique human. Worldcoin does, but it requires trusting a single company with everyone’s iris data, which is quite dangerous, and completely undermines the goal of building a decentralized, trustless system.

The future I hope for is one where our own devices handle this entirely. Imagine a VR headset or future phone using its iris scanner, combined with our social data, to generate a single, secure cryptographic proof. This proof would verify our uniqueness in the world without ever leaking iris data or any other sensitive information.
by jillesvangurp | 2025-07-27 09:52:29+00:00
Yahoo was structured wrong from day 1 to ever be great. At the core, it was a company with an unremarkable product that quickly became irrelevant as search engines took over. A directory of the internet was the naive kind of thing that required little skill or vision. That's what Jerry Wang built. That's what Yahoo was. Good idea at the time. Well executed. But not exactly rocket science. And it had a short shelf life and was soon forgotten.

But it had money courtesy of lots of pre-dot com bubble stupid money that investors were flinging around. So it bought things that others had built to grow. And for a while that worked.

It had more resources and toys than Google. But over time Google outperformed them on essentially everything it bothered doing. Better search engine, better mail, better news, better video (twice because Google Video was better than Yahoo Video before Youtube dethroned it), etc. These are all areas where Yahoo belatedly tried to gain ground through acquisitions and failed; over and over again. They always came in second or third with essentially anything they touched or tried.

By the time Marissa Mayer (ex Google) came in, Google had already won and Yahoo was this big stupid conglomerate of many things that were kind of alright individually but clearly never going to add up to Google. And the rest is history. Marissa Mayer flailed for a few years. There were more acquisitions and a few flopped projects ran by her personally. None of it mattered.

In the process, they ran Flickr into the ground. They ran Tumblr into the ground. Etc. They built a well deserved reputation of poor stewards of great stuff that landed in their laps. What they bought was quality. But they couldn't maintain that quality or nurture it.

Yahoo is a great story how all the money in the world can't make you a great company if you start out being a mediocre also-ran. If you are running blind, because you have no vision, deals like Google and Facebook will woosh right by you. That's what happened. And arguably, it wouldn't have mattered, because they'd likely have screwed those companies up as well.
Show HN: A Modular Phoenix SaaS Starter Kit
by bustylasercanon | 2025-07-27 09:52:38+00:00
Starting a new SaaS project with Phoenix is a genuinely fantastic experience, as anyone who's dived into it will tell you. The framework itself is robust, performant, and a joy to work with. However, as I've been building out my own SaaS ventures, I've noticed a recurring pattern: no matter how brilliant Phoenix is, you inevitably find yourself configuring the same fundamental aspects time and time again. Setting up authentication, user management, payment gateways, and all the essential plumbing feels like a familiar, if slightly tedious, ritual.

That's precisely why I developed the Phoenix SaaS Kit. It's designed to eliminate that repetitive setup, letting you hit the ground running with a solid foundation. The beauty of it is its modularity – you can cherry-pick the features you actually need for your specific project. So, while Phoenix gives you the incredible power to build amazing software, my kit offers a shortcut, freeing you from the boilerplate configuration and letting you focus on what truly differentiates your SaaS.

What's included: Phoenix LiveView with modern UI compon ents Comprehensive modular setup system User authentication system with registration/login oAuth with Google ready to use oAuth with Github ready to use Multi-tenancy with organizations and role-based access Payment processing integration (Stripe/LemonSqueezy/Polar) Blog system with admin interface via Backpex Error tracking and analytics integration AI/LLM integration capabilities via Langchain Rate limiting and security features Modern styling with Tailwind CSS and DaisyUI Design system admin page Background Job Processing Custom Haskoy font integration Legal pages (Privacy Policy, Terms of Service) Customisable, modular marketing components Development tooling and Claude AI integration Claude AI codereview Github Action Optimised Claude Code Sub-agents and commands

One time purchase for unlimited uses by a single developer