MurphyA/hacker-news huggingface dataset:
by Y_Y | 2025-05-26 08:49:37+00:00
My original comment was meant to be tounge-in-cheek, but I would like to add the advantage of wet clay is really in its thermal conductivity[0] which is roughly two to four times higher than dry clay. It will also have higher thermal capacity, so that high frequency fluctuations (like day/night) will be smoothed out.

[0] https://www.mdpi.com/2571-8789/8/2/47

(I don't think my comment implied that the sunshine makes it hot in the tunnel, only that when it's hot above ground it's nice to be cool below, like in the poster. And I did include a figure of 25m for average depth, I've spent enough time on their endless stairs to know that the TfL delved to greedily and too deep. This spiral staircase has 320 steps, I shudder.)
by piva00 | 2025-05-26 08:51:17+00:00
That's how it works in Sweden though: part of your pension is your own private investments, they aren't taxed as normal investments since you can only withdraw after reaching retirement age, the other part of it is a state pension. Even with this scheme we still got our retirement age risen.

So it seems it doesn't matter if it's public or private, the benefits of improved productivity is not trickling down to workers, a lot more is produced, generating a lot more wealth, and even with private funds we still get shafted because the capital class wants more and more of the pie.
by imtringued | 2025-05-26 08:51:17+00:00
Working just means that you get paid to do something.

What you're rambling on about is some Ayn Randian technicality that has nothing to do with reality. The word "value" here means "non-measurable quantity in the neoclassical paradigm, approximated by indirect measure through unit of account", not anything meaningful.

A childcare worker raising children is "value". A mother raising her child is not "value". In other words, you're just measuring how much human activity conforms to a specific formalization.
by dhax_or | 2025-05-26 08:52:37+00:00
I built this as an improved version of the popular Mitt library. It keeps the tiny footprint (~400 bytes gzipped) while adding genuinely useful features that I found myself needing in real projects:

- once() for one-time listeners - hasListeners() and listenerCount() for introspection - clear() to reset everything - Safer emission that protects against handler modification during events - Full TypeScript support with generic types

Same familiar API as Node's EventEmitter and original Mitt, so it's a drop-in replacement. I've been using it in production and it's been solid.

GitHub: https://github.com/Dhaxor/better-mitt

NPM: npm install better-mitt

Would love feedback from the community - and if you find it useful, a GitHub star would be much appreciated!
by nlitened | 2025-05-26 08:54:09+00:00
> It's next level society. Like, immediately, I want it to order me some groceries based on what it sees in my fridge and what I cook. And to remind me to change my air filters. Or book my vacation for me, knowing I like a mediterranean vibe and Bistecco Florentine.

This thing already exists though, it’s called a personal assistant. And since you’re already not willing to spend $400 a month on getting one, likely reveals that this is not really a thing that you really need in your life. It’s a made-up preference, I am afraid.
by account42 | 2025-05-26 08:54:54+00:00
> First, Accept-Language is an ordered list, and most daily-multilingual people don't have an absolute order of preference, and more a topical list of preferences.

No, it's a partially ordered list.

> If I read an English news site that has a translated French version, it doesn't matter if I'm most proficient in French, I'll want the English version.

Then you should have both with the same priority.
by HelloNurse | 2025-05-26 08:54:57+00:00
On the contrary, loading everything from a database is the limit case of "partial parsing" with queries that read only a few pages of a few tables and indices.

From the point of view of the article, a SQLite file is similar to a chunked file format: the compact directory of what tables etc. it contains is more heavyweight than listing chunk names and lengths/offsets, but at least as fast, and loading only needed portions of the file is automatically managed.
Ask HN: Programmable inbox with natural language rules
by henrydiep | 2025-05-26 08:55:12+00:00
Hi hackers,

I’m building a tool that lets you tell your inbox what to do (once) and have it just work.

The idea is simple: instead of manually filtering, labeling, or replying to emails, you write a few natural language rules like:

### User - All emails from Cal.com with “Onboarding” in the title @read - All emails from a potential user inquiry @reply @doc("most-faq")

### Support - All emails from current users asking for help @reply @doc("support-guide")

The AI reads your inbox, learns from your rules, and applies them to every new email.

You can think of it like a personal scriptable inbox. No need to dig through settings or click filters, you just describe what you want, and the system handles the rest.

Curious what do you think about this? Will it be something helpful and people would pay for?
by close04 | 2025-05-26 08:55:12+00:00
I think the whole thread is to show the Celsius scale in particular but temperature degrees have different impacts in different places in general, but especially in the range supporting human life. One degree can mean nothing or be the difference between being alive or dead, depending on where that degree is on the scale and maybe other compounding factors like humidity.

Talking about relative temperature differences without anchoring to an absolute reference is meaningless. Using percentages is even worse.
by Y_Y | 2025-05-26 08:56:13+00:00
The cement can negatively effect the water retenction of the clay, as does of course the temperature. The water needn't seep into the tunnel, just be moved away from it to adjacted areas.

There's a nice article here which goes into more detail: https://www.ianvisits.co.uk/articles/cooling-the-london-unde...
by unscaled | 2025-05-26 08:56:35+00:00
these "potential crypto attacks" resulted in multiple CVEs and several real life attacks. I think even the Storm-0558[1] could be traced to how hard it is verify a valid JWT, due to some of the over-engineering mistakes that have been involved in the standard's design. I don't know if PASETO would have solved that particular attacks, but the PASETO standard solves some of the most common CVEs we see with JWT libraries: alg=none, Algorithm Confusion attacks and invalid curves.

[1] https://www.microsoft.com/en-us/security/blog/2023/07/14/ana...
by dhamidi | 2025-05-26 08:58:30+00:00
More tools / toys / sandboxes to play with.

Growing a coding agent as a "game": https://github.com/dhamidi/smolcode. Started with https://ampcode.com/how-to-build-an-agent and then asked the agent to modify itself. It's so much fun and hard to stop!

Since coding is cheap now, I'm building a web framework for myself, using reasonable defaults: built around the transaction log, single binary deploys, sqlite3 for everything, runtime introspection tools to make ops easier.

I want the framework to "compile itself out of the project", so that projects don't have devtime dependencies and can be easily edited by Cursor et al. It should still stick around in the form of a high-level CLI that an AI agent can leverage to fulfill common tasks (e.g. add a new UI component, query, command, etc).
by creativenolo | 2025-05-26 08:58:34+00:00
Yes - totally agree on side note. Took me a while to realise that firebase is now a high-level hat sat on top of GCP that you can take off, and put back on, as you please. Very neat.

It’s insanely lean to get started. But at the end of the day, its GCP underneath with GCP billing (i.e. no spend caps). The easy mode UX, and the risk of real expenditure, sit in contradiction to each other. Of course, there a very generous free tier to placate that. But things like realtime need to be used with real cost considerations, and not frivolously once you need a feature only available on pay as you go.
by Y_Y | 2025-05-26 08:58:34+00:00
It was just a bit of a shower thought to be honest, but it looks like there are cleverer and more responsible people who've considered similar schemes.

As I posted in a cousin comment, I found this nice blog post examining some of the more serious ideas, including water-cooling: https://www.ianvisits.co.uk/articles/cooling-the-london-unde...
by bzzzt | 2025-05-26 08:58:56+00:00
Reading the video RAM directly to generate an HDMI signal gives you about the same image an emulator does. Loses a bit of the 'fuzzy retro' appeal imo ;)

The same approach is also used by the 'ZX HD' expansion for the ZX Spectrum which uses a Raspberry Pi for HDMI output instead of an FPGA and doesn't require soldering since the Spectrum has an expansion connector which can be used to read the video RAM.
by zelphirkalt | 2025-05-26 09:00:05+00:00
Seems like the more distanced we get from actual engineering methods, the more fucked up our software and systems become. Not really surprising to be honest. Just look at the web as an example. Almost everyone is just throwing massive frameworks and a hundred libraries as dependencies together and calls it a day. No wait, must apply the uglyfier! OK now call it a day.
by grewsome | 2025-05-26 09:01:08+00:00
I've read previously that certain parts of the software industry at one point was all in on move fast and break things, but then after a while the quality of their code was so bad that they took a different course. Maybe some people didn't get their fill the first time round. I can see that LLMs are going to be quick, I can't see how their code bases are going to do anything but turn into a very bad state, probably much more so this time round.
by vldszn | 2025-05-26 09:01:11+00:00
I’m building a free, open-source invoice generator with live PDF preview — all browser-based, no sign-in needed.

It supports multiple languages, currencies, European VAT deductions, and more.

Originally made it for myself, so it’s a bit of a personal tool — but I hope others find it useful too :)

https://easyinvoicepdf.com/en/app https://github.com/VladSez/easy-invoice-pdf
by KronisLV | 2025-05-26 09:01:13+00:00
Some that I've seen:

SeaweedFS: https://github.com/seaweedfs/seaweedfs (Apache 2.0)

Garage: https://git.deuxfleurs.fr/Deuxfleurs/garage (AGPL)

Zenko: https://github.com/scality/Zenko (Apache 2.0)
by dragandj | 2025-05-26 09:01:33+00:00
There are many more scenarios, though. One of them is that AI slop is impressive looking to outsiders, but can't produce anything great on itself, and, after the first wave of increased use based on faith, it just gets tossed in the pile of tools somewhere above UML and Web Services. Something that many people use because "it's the standard" but generally despise because it's crap.
by user070223 | 2025-05-26 09:02:38+00:00
Inspired by Steve Brunton(on YT) and his colleague, a platform that makes working on/with dynamical systems much easier in terms of sensing, modeling and controlling the dynamics. Eventually iterating quickly using SOTA techniques(compressed sensing, super-resolution(spatial-temporal tradeoff), RandNLA, ML) without the need to understand them deeply

Sensing effectively by optimal (re)positining of the sensors (both number of sensor and physical placement) Think spatial sensor/data fusion, perhaps using more cheap sensors rather than few expensive

Building a model of the dynamics (based on both reasonable assumption about the system based on grounded physics, and dynamical interpretation of the sensor's data (PySINDy, DMD)

And eventually controlling the dynamics

Love to get your feedback, ideas, if you know about such products/business etc, how could it help any business, real life application, if it interests you, anything :)
by OJFord | 2025-05-26 09:03:20+00:00
Yes? I didn't see any link in comment I replied to between 100% and 100deg besides it happening to be the same number - I already changed that to 1M, changing it to 50k no different either.

If the argument was saying there's something special about 100% being 100 quantity then.. no? I don't really know where to go from there, what I said still holds with a 100k target, but I'm not going to be able to give 'another' example where the 100 quantity is meaningful because it isn't for degrees either. It's the freezing point at 0 that makes it work better for centigrade than Fahrenheit, imo.
by this15testingg | 2025-05-26 09:04:21+00:00
right; the "ancap" mentality in computing could only last for so long. Eventually, and especially with the refusal of incorporating any ethics or humanity into it, it's now an established industry affecting all walks of life just like every other that has preceded it, and the belief that its technological superiority/uniqueness was a good reason to essentially exempt it from regulation (TV broadcasts for children are required to have "bumper" sections that would clearly define the show vs the advertisement; Why was computing/the internet treated differently? A high-horse mentality that stemmed from "complexity olympics"? no child could ever use or comprehend a sophisticated machine like this!!) has really fucked us. The labor is decentralized at such a scale that I also have a hard time believing anything could be rectified; open source software is mostly just corporate welfare, putting anything at all on the internet has become corporate welfare, and there is no real purpose or goal for building all of this. The computer was supposed to allow us to do less work, right?
by valenterry | 2025-05-26 09:04:24+00:00
> Should you start with a domain model from the get-go? Maybe, but it's risky because you may end up with domain objects that don't actually do a better job of representing the domain than whatever you have in your SQL tables.

You absolutely should go with a domain model from the get-go. You can take some shortcuts if absolutely necessary, such as simply using a typealias like `type User = PostgresUser`. But you should definitely NOT use postgres-types inside all the rest of your code - that just asks for a terrible refactoring later.

> It also feels awkward (and is hard to justify in a team) to map back and forth between domain model, sql SELECT row and JSON response body if they're pretty much the same, at least initially.

Absolutely not. This is the most normal thing in the world. And, in fact, they won't be the same anyways. Don't you want to use at least decent calendar/datetime types and speaking names? Don't you want to at least structure things a bit? And you should really really use proper types for IDs.

User(name: string, posts: string[]) is terrible.

User(name: UserName, posts: PostId[]) is acceptable. So you will have to do some kind of mapping even in the vast majority of trivial cases.
by askonomm | 2025-05-26 09:04:24+00:00
Yes, you also know this in modern PHP. https://www.php.net/manual/en/language.types.declarations.ph.... You add type declarations just like any other statically typed language, and you can get your static analysis by your editor out of the box. But in addition to that, you ALSO get runtime type validation, something that most languages won't give you, and something that to me at least is amazing since code correctness is one thing, but data correctness is even more important in my opinion, and runtime type validation gives you data correctness, built in, no need to mess around with external libraries.
by kaycey2022 | 2025-05-26 09:05:13+00:00
It is just foolish to think that electing a new figurehead will change everything. USA always has been and is at least for now, a nation of laws and institutions. Trump could only have managed to do all that he has done, with deep political and self institutional support. And the discourse is America has been growing increasingly selfish. Look at the way American exceptionalism has evolved so quickly under Trump. I always took the American exceptionalism talk to be internally focused and meant to motivate Americans to do better. That now sounds like every other country is robbing us, we are being exploited, and we will make drug prices, for example, shoot up everywhere so that they can be lowered in the US. Even if you are not a nationalist for your own country, that has to sound to you at some level as exceptionally repulsive. USA has not shied away from promoting their own interests over others, but now thankfully the actions match the rhetoric.
by rybosworld | 2025-05-26 09:05:26+00:00
Hard to feel bad for any dev that agrees to work at Amazon.

They’ve opted into shitty working conditions for years and played a pretty big part in spreading those conditions to other places.

I have found that former Amazon employees can get jobs at other FAANG companies. But smaller/medium companies that compete on culture rather than pay, don’t tend to want to hire those folks.
by Dathuil | 2025-05-26 09:06:59+00:00
Continuing my return to GameDev. I'm making my own copies of subsets of games or recreating games that already exist. Currently making FlappyBoo (FlappyBird with the ghost from Super Mario). Nearly at parity with the original game and will add a few "upgrades".

End goal is to have many reference examples when I start to make the game I want to make.
by TeMPOraL | 2025-05-26 09:07:49+00:00
VC knew this for just as long. Similar ideas brewed in the business model of TripAdvisor, and eventually crystalized in the form of GrubHub and Uber Eats.

I remember a growing amount of articles and on-line discussions about restaurants being extorted this way; then the pandemic came and removed the need for extortion by making delivery necessary for restaurants' survival. It's probably why the whole thing isn't talked about anymore these days.
by yoz-y | 2025-05-26 09:07:55+00:00
Multiple reasons:

- first I wanted to always compare my current workout to the previous one (to know what weight to use, how did I do my warmups etc). This I originally did by flipping pages (on paper) or scrolling up.

To solve this I have the history scrolling on top of the current workouts input field.

- I still want to see my progression.

The app does allow tapping on individual lines which shows the details for the lift performed and expands to history of all workouts of the same exercise.

- I want to see which muscle groups I might be neglecting.

The app calculates all the usual statistics like muscle group workload for the last 7 day period and recommends exercises based on what is needed.

To sum it up, it has all the convenience of a notepad (backing up is a copy paste, anything not parseable is a comment) but most of the features of a full workout app with statistics, periodization and so on.

Eventually I want to add some sharing or coaching features.
by troupo | 2025-05-26 09:08:38+00:00
> How is the modern JS control of DOM elements styled with CSS not the same as ActionScript and Flash sprites.

Because DOM is not sprites. Because everything in DOM is laid out with relation to each other, and as you as much as look at it funny, it will cause a full re-paint and re-flow of the entire page. Because animations are bolted on to CSS/DOM after the fact, and the vast majority them are insanely resource-intensive
by tootyskooty | 2025-05-26 09:09:47+00:00
The first prototype was done in a weekend for an Anthropic contest a while ago, but by now I've been working on it on & off for the better part of a year!

API costs are roughly == subscription costs for power users (slightly more) since it uses Sonnet in most places, but I have credits to burn right now :)

> fact checking the contents of a flash card with perplexity

Will see what I can do! Main issue is that search grounding can be a bit expensive...
by babyent | 2025-05-26 09:09:47+00:00
To tell you the truth I only ever see poor people (immigrants, mostly) that carry around like 3-4 kids in cities (I am in SF) while everyone else either has 1 or no kids.

They don’t speak English and I’m not sure if they will assimilate well. I already see street vendors, trash everywhere, and other 3rd world behavior in some parts of SF.

I’m an immigrant from 3rd world. It’s pretty sad to see here.
by ayrtondesozzla | 2025-05-26 09:11:41+00:00
There's a lot of ignoring your question and telling an anecdote - some nice anecdotes, though.

I'd guess the answer is yes. If someone (somehow) gets into a junior dev role, has no to little experience, and hunts and pecks 20 words a minute, they'll have to get that up to 50/60 surely before they can be a more normally functioning member of a team, right? I think in some bad cases it could be priority number one.

If your job is producing text in files, you tend to need basic proficiency in typing.

I guess you're rather imagining a really solid developer, types 70/80 wpm but never put any effort in to typing per se, uses whatever system or IDE is the norm and isn't bothered. Learns a few keyboard shortcuts here and there maybe, but again, who cares.

Imagine a counter to your question - if that last developer could click their fingers and get to an effortless, consistent 100 wpm, would they? Should they? I think the answer is yes, and yes. They can still spend as much time as they want staring at the ceiling thinking, with the notepad out sketching, etc.

Now, not everyone wants to think about it, and that's fine, other things matter more in the end. How pleasant of a colleague you are matters more in many cases. But surely the notion itself of typing faster being preferable is easily understandable - programmers are text file producers.
by sid_casuyan | 2025-05-26 09:14:53+00:00
Fair point - "the only way to" is probably too strong a framing. But I think the core argument stands: while model-level safety improvements are valuable, they're not sufficient for securing real applications. Claude is clearly the safest model available right now, but it's still highly susceptible to indirect prompt injection attacks and remains practically unaligned when it comes to tool use. The safety work at the model level helps with direct adversarial prompts, but doesn't solve the fundamental architectural vulnerabilities that emerge when you connect these models to external data sources and tools - for now.
by immibis | 2025-05-26 09:15:08+00:00
> What are you working on?

Nothing useful, like always. A non-computer project for the next week or so.

> Any new ideas that you're thinking about?

A few, but I'll never do them. It would be cool to offer free hosting services to projects (in lieu of places like Github and Fandom, and in the spirit of Miraheze) but in the current legal environment, feels like I'd be risking my life.
by kanishkalinux | 2025-05-26 09:15:17+00:00
Inquisitive - self-hosted knowledge-base with a touch of LLM/RAG.

Link: https://github.com/kanishka-linux/inquisitive

I've been working on this on and off since last couple of months to consolidate all of my digital knowledge-base like notes/links/pdf etc with the help of LLM/RAG. It is fully self-hosted with very minimal setup instructions - which should be easily installable by anyone on their local machine.

UI is very bare minimal. It still has some rough edges when it comes to the UI part, but usable. I've been regularly using it since sometime, and it works well (atleast for my use case) when it comes to searching and organizing personal knowledge-base.

Feel free to try it!
by DidYaWipe | 2025-05-26 09:15:46+00:00
"Following its 1980 release, Zork I became a bestseller from 1983 through 1985. By 1986, the game had sold 380,000 copies, with 680,000 sales for the trilogy overall, comprising one-third of Infocom's two million game sales"

https://en.wikipedia.org/wiki/Infocom
by immibis | 2025-05-26 09:17:19+00:00
It's only mispricing if you take market dynamics, and making the most money possible, as paramount. If your goal is to actually bring fans to your show, you might want a different system.

One music festival issues ID-linked tickets using a lottery 8 months in advance. If only the richest people attended, it would actually destroy the festival. And no, they can't hold it more than once each year so that prices drop.