MurphyA/hacker-news huggingface dataset:
by TeMPOraL | 2025-05-21 08:48:13+00:00
That's the other thing. Version control is tricky with image-based systems. I won't say impossible, I never looked deeply into what Smalltalk/Pharo folks are doing, but since between playing with Pharo and Glamorous Toolkit I saw Git being integrated first-class into one of them, I imagine someone has some idea how to deal with the problem.

What I meant though isn't collaborative/historical tracking, I meant day-to-day ergonomics; closer to "drastically different view on what 'undo' means", except it doesn't even have to be 'undo' - I don't need the ability to rollback every single thing; I just want to know whatever the hell I actually did an hour ago when I quickly SET-VALUE and IGNOREd my way through a few random condition popups and evaluated some code in between. Being careful and keeping track of this as I go slows me down and is kind of the opposite of REPL-driven interactive development ideas; nah, I should be able to go fast now, and later be able to review all the random surgery I did on a live image.

EDIT:

> undotree on neovim allows this because it offers a drastically different view on what "undo" means

As I understand it, this "different view" is treating undo history as a tree? If so, I know this from Emacs via similarly named `undo-tree' package. But honestly, the moment I saw this I thought this is brain-dead stupid most obvious way of treating undos. It's very unfortunate that almost no software embraces this approach, instead opting for a linear history that gets trimmed the moment you undo a few steps and make a change.

If you want to see a truly different view of undo, check out what Emacs does by default. I don't even understand it fully, but best I can tell after studying the explainer in undo-tree's documentation, is that Emacs is using a linear history like everyone else, but instead of moving back through the history and discarding "the future" when you branch out, `undo' itself is an undoable operation that gets appended to undo history, so when you type some things, undo it, type something else, and keep pressing undo, you'll erase the last text, then "undo the undo" and end up with the first thing you typed...
by jampekka | 2025-05-21 08:48:55+00:00
USD became the reserve currency in the Bretton Woods, when it was pegged to gold and major currencies were pegged to USD. This was pretty much demanded by US in the Bretton Woods conference.

In 1971 US unilaterally scrapped the Bretton Woods and essentially stole the gold reserves. Other countries protested heavily but could not really do much.

US then transitioned to the petrodollar system where demand for and value of the dollar is/was ensured by dollar monopoly in oil trade. This was done with deals with oil producing countries with varying levels of coercion.

Granted it is in a country's best interest not to piss off the world's largest military. Silver or lead is a decision too.
by not_your_vase | 2025-05-21 08:48:57+00:00
I am sure that you have read it, because you wouldn't comment without doing so. But let me repeat it: this happens with having these disabled. Actually it even asks during the first start if you want to enable it.

But you know what, don't believe me. Try it yourself. But please don't copy-paste the first sentence from their support page, especially when it is explicitly refuted. It feels kind of insulting.
by acatton | 2025-05-21 08:49:11+00:00
There was a study in France showing that for rent subsidies.[1]

In France, the state pays max(rate * rent, cap) for apartments for students, unemployed and poor workers. Usually people don't qualify for ratio of the rent, because it's way over the cap for the subsidy. To keep up with inflation, the state re-evaluate the cap of the subsidy almost every year.

A french economist showed that there was a correlation between the cap of the rent subsidy and the rental market prices for small apartments. Of course, correlation is not causation, it could just be that the rental market follows the inflation as much as the cap. But this correlation doesn't happen for bigger and more luxurious appartments. Her explanation is that your poor household is only ready to afford €100 per month, as an example, the subsidy cap is €500, so the rental market prices these apartments to €600 (= 100 + 500). When the state re-evaluate the cap to €550, the rental market goes up to €650. (= 100 + 150)

[1] https://www.insee.fr/fr/statistiques/fichier/1376573/es381-3...
by zabil | 2025-05-21 08:50:00+00:00
> You’ll find people in every hobby who are more into the gear than the actual activity

Honestly, that’s part of the fun for some of us, even early on. I’ve been playing guitar for a while now, and while I enjoy it, the repetitive nature can sometimes get dull. Exploring new gear and chasing different tones has been my way of breaking through those ruts.

Yes, it’s expensive and it eats into practice time — no doubt. But some of us are just wired to enjoy the experimentation. I eventually found a setup I really like, but I don’t regret going through the gear phase. It kept things exciting and helped me stay connected to the hobby.
by inglor_cz | 2025-05-21 08:51:10+00:00
It is not just holes. I didn't want to analyze the entire problem in full, but FIY, this is how a concrete sleeper looks like:

https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.dayaen...

As you can see, the entire shape of the sleeper is adapted to the expected distance between rails.

In contrast, a wooden sleeper is just a straight log with no pre-made bumps for rails.
by navane | 2025-05-21 08:51:51+00:00
Usage tax is impopulaire because usage taxes are regressive.

Joe driving to work spends a larger fraction of his income on fuel and thus fuel tax than his rich counterpart.

This is true for all "let the consumer/poluter pay" taxes, they're all regressive. They say: it's fine to burn up the world as long as you're rich.
by reify | 2025-05-21 08:52:25+00:00
Not another vaccine! yet its not a vaccine

If i have the MenB-4C vaccine am I immune from gonorrhoea???

Simply no! It will clear up the gonorrhoea in a small number of cases and I can catch it again. its not a vaccine.

https://www.nhs.uk/conditions/gonorrhoea/

Treatment for gonorrhoea

Gonorrhoea is treated with a single dose of antibiotics, which can be an injection or tablets.

A systematic review and meta-analysis:

https://academic.oup.com/jid/article-abstract/231/1/61/77247...

Two doses of MenB-4C vaccine were 33% to 40% effective against gonorrhea, and 1 dose of MenB-4C vaccine was 26% effective.

Conclusions:

MenB-4C vaccine is moderately effective against gonorrhea in various populations. Prospective clinical trials that assess the efficacy of MenB-4C against gonorrhea,
by aa-jv | 2025-05-21 08:54:36+00:00
I have a minor interest in this subject as well, and after some thinking I realized that my personal solar interests are best served by electro-mechanical harvesting of solar energy, first and foremost .. since a full-blown EV solar rig would require the purchase of components I cannot myself personally make very easily.

This summer I'm building a solar oven to cook bread and veggies with .. and if this works well, I'll build a solar death ray to play with while I wait for lunch.

It seems to me that this is a potential route for the popularization of off-grid/local-energy-harvesting movements to gain more traction. Sure, its nice to have a whole roof full of PV panels and a battery bank to sip juice from now and then, but this still requires a heavy investment in foreign-originated parts and materials.

A solar oven/solar death ray, however, is a lot more feasible to produce locally.
by drusepth | 2025-05-21 08:54:38+00:00
People will always become lazy with new tools. But not all people.

It'll lower the barrier of entry (and therefore the quality floor before people feel comfortable sharing something "they made" if they can deflect with an easy "the AI made this" versus "I put XY0 hours into this"), but it'll also empower people who wouldn't otherwise even try to create new things and, presumably, follow their passion to learn and do more.
by dwattttt | 2025-05-21 08:56:45+00:00
As sibling notes, executable memory is not by default writable. If desired, you can also further disallow any executable memory to me allocated or modified by your process, even via the normal APIs, by calling SetProcessMitigationPolicy with ProcessDynamicCodePolicy.

https://learn.microsoft.com/en-us/windows/win32/api/processt...
by aa-jv | 2025-05-21 08:57:32+00:00
This is very fun - here's a small feature request: add the ability to define KFM airfoils.

https://en.wikipedia.org/wiki/Kline–Fogleman_airfoil

I experiment with these airfoil designs and it would be very nice to have a smooth way to see the various efficiencies/inefficiencies of various dimensions of KFM airfoil.
Modern Python Boilerplate – good package basic structure
by lambda-science | 2025-05-21 08:59:44+00:00
TL;DR: Python Boilerplate repo for fast package building with all best practices

Hello,

I wanted to share a small repository I made named “Modern Python Boilerplate”. I created it because I saw in multiple projects including in professional environnement, the lack of good structure and practice, leading to ugly code or even non-functional, environnement mess…

The goal is to provide a python repository setup that provides all the best good-practices tool available and pre-configure them. It makes it easy to build and publish python package !

The link is here https://github.com/lambda-science/modern-python-boilerplate

It include (in a single Makefile !) modern python management (structure, packaging, version and deps w/ UV), modern CI (listing, formatting, type checking, testing, coverage, pre-commit hooks w/ Ruff/Ty), documentation (automatic API Reference building and publishing on Github/Gitlab w/ Mkdocs) and running (basic Dockerfile, Makefile, DevContainer tested on Pycharm, module running as a terminal command…)

Don’t hesitate to share feedback or comments on this, what could be improved.

I heard for example that some people hate pre-commit hooks, so I just kept it to the straight minimum of checking/re-formatting code.
by AnIrishDuck | 2025-05-21 09:00:24+00:00
> No one said that a commodity is a "true" measure of value. A commenter simply said that it is often a useful proxy. It is something that is useful to do to understand specific trade patterns.

Ok, if it helps replace "true measure" with "useful proxy". My argument remains the same.

Continue to accuse me of whatever you want, I still do not feel you are engaging with the substance of what I'm saying.
by thaumasiotes | 2025-05-21 09:03:16+00:00
Oddly, standard Mandarin does have tense, but it only shows up in negative sentences. You have to negate verbs differently in the past tense. An English speaker will feel right at home with which negation to use when.

Indo-European languages tend to have a subjunctive mood, and while it's nearly gone in English, we still have the robust distinction between real and unreal situations that mood reflects. This is much hazier in Chinese; it's hard (for an English speaker, and I assume any Indo-European speaker) not to notice that Chinese sentences often don't bother to make a distinction.
by otabdeveloper4 | 2025-05-21 09:03:18+00:00
Skill issue.

You can easily get x10 optimizations with some obvious changes.

You can run a small 100 person enterprise on a single 24 gb GPU right now. (And this is before economies of scale have started optimizing hardware.)

OpenAI needs the keep the illusion of an anthropomorphic AGI chatbot going to keep the invenstments flowing. This is expensive and stupid.

If you just want to solve the actual typical business problems ("check this picture for offensive content" and similar stuff) you don't need all that smoke and mirrors.
by KaiserPro | 2025-05-21 09:03:38+00:00
I have a solar system in my house in london. 5kw, 13kwhr battery. I am self sufficient from end of march to october.

I recently got a second hand electric car. I bought an EV plug (total fucking ripoff. its a fucking plug with a contactor, RCD and a CAN interface. no way is that worth fucking £600)

It has some basic control to allow me to charge from excess solar. What is not easy to do is charge at night without draining the house battery. Its fine for me, because I have Home Assistant, with enough fiddling I can get all the systems to talk to each other to play ball. (to add to the complication, I'm on a variable rate tariff, so price can be negative or £1 a kwhr)

I would really love a "house power API" that would allow a "controller" to locally control the power behavior of all the things in a house. Because at the moment, a "normal" person wouldn't be able to charge their car and have house batteries and have solar, and optimise for cost.
by TeMPOraL | 2025-05-21 09:03:42+00:00
> Do you use an ultra-wide? In that case, Jwno has no OOTB ultra-wide support

Actually no, I'm using two regular, 16:19, 2560x1440 screens. It's more that my understanding of readability does not agree with what designers think, and when I split the screen in half, many pages end up with text a little too small for my comfort, and if zoom in to compensate, the lines get slightly too short or horizontal scrollbar appears.

(I'd guess it's probably my somewhat strong myopia glasses that are getting me "out of alignment" from average user when it comes to text size and line length preferences.)

> but there's a section for adjusting it in the cookbook[1].

Lovely!

FWIW, I took it for a spin briefly (only briefly - had work to finish, but I plan on getting back to it) and I was pleasantly surprised by how good it is, and how well it handles Windows quirks. It feels nicer than StumpWM did back when I used it. The only thing that didn't work well was VLC - it does something weird with recreating its window when switching between videos, and in the process, it "breaks out of confinement" and ends up returning to original size and position it had before Jwno took custody of it.
by pydry | 2025-05-21 09:04:28+00:00
The promise to Ukraine was that they are going to be protected by their chosen gang rather than be cynically used to try and take down a rival gang.

The lie was laid bare once they were actually attacked. Article 5 protections - the only reason they are fighting this war - came off the table as soon as it became clear that the rival gang wasn't going to be taken down.

Quick essay for 30 points: write to a grieving mother campaigining against gangs explaining why even though her son joined the crips for protection and got murdered by a blood in the initiation phase, she needs to STFU about kids staying out of gangs. The reason is simple: she needs to STFU because several other 14 year olds who joined the crips for the promise of protection haven't yet had that promise tested.
by internet_points | 2025-05-21 09:04:59+00:00
This is great! Maybe some more tourist-related scenarios, like "ordering at restaurant", "resolving dispute about rental car crash" etc? :-)

The "next level" feature would be to get it to speak even simpler, with some hints about how to reply, for the beginners. I don't know how that would ideally look, but maybe a button to pop up some "key words" or phrases that one could use? (Even so, I found myself using the little I know, so it's obviously somehow working even though my knowledge is extremely basic.)

This is one of the places where I feel LLM's can do something good for the world, giving a safe playground for getting experience with speaking new languages without the anxiety of performing badly in front of other people – and hopefully make it easier to connect with real people in that language later.
by andai | 2025-05-21 09:05:28+00:00
I had a similar feeling when I finished my freelance projects, that I would be difficult to replace, or that it would be easier to start from scratch than to try and decipher the system.

That's partly because I was being "too creative" — I love making things from scratch, but that's suboptimal from a business perspective fot several reasons. And partly because I didn't document the decisions very well (except in random comments).

So I had the feeling like most of the value was in my head, and a lot of work would have to be repeated with the next guy.

Aside from just inexperience and lack of professionalism on my part, there seems to be some tension here between what's good / enjoyable for me as a developer (making everything myself) vs what's good for the business (probably WordPress / PHP).
Show HN: We Made an AI-Powered Study Tools
by examai | 2025-05-21 09:07:10+00:00
ExamAI.app — an AI-powered study assistant that helps students and educators turn documents, PDFs, YouTube videos, and more into quizzes, flashcards, and practice tests in minutes.

It supports:

PDF/Doc/Image/YouTube/Slide inputs

Automatic question generation (MCQs, fill-in-the-blank, flashcards)

Interactive practice mode

I’d love your thoughts on how useful this is, what’s missing, or any rough edges you spot. All feedback is welcome!
Show HN: CheepCode – Write tasks in Linear/Jira/etc. Get PRs in GitHub. $1 each
by max_on_hn | 2025-05-21 09:07:21+00:00
Hi HN, while I made a new account recently, I've been a member of the community for over a decade. In that time, I've learned an incredible amount from all of you. One of the most important lessons is that, if you're not (at least slightly) embarrassed of your first version, you waited too long to ship. Well, I realized yesterday that I had waited too long anyways!

My headless coding agent, CheepCode, went into private beta a few weeks ago. I was putting together some demo apps and the last few things I wanted to have ready before launch, when OpenAI dropped their coding agent last Friday. Then as GitHub, Anthropic, and Google launched on Monday, well, I knew what I had to do. I scrambled, scratched off the necessary to-do items, and have emergency-launched CheepCode to public release: https://app.cheepcode.com if you want to poke around (first 5 runs are free, no credit card required).

CheepCode connects to your project management app (we support Linear today) and picks up unassigned tasks. It will move the task to "In Progress" and start working on it, then submit a PR in GitHub when it's done.

Using CheepCode, I "code" on my phone, creating Linear tasks and checking the PRs when they roll in minutes later (or hours later when I'm available).

CheepCode works in a fully-integrated Linux development environment. It can browse the web, use Docker, install packages, and recursively problem-solve to work around issues. It is incredibly resilient and submits quality code changes, often exactly what I would have written myself (with ~15 years of professional software development experience). While I'm still working on quantifying the output quality, I find that in practice it doesn't fall prey to the common problem of "doing too much" that people report with other tools.

CheepCode also uses a journal to help you understand its process. It's entirely headless, so you can't interact with the agent while it's working, but you can still see how its thoughts and intermediate progress for debugging/optimization.

With all that said, please keep in mind it is still incredibly early for CheepCode! There are tons of features I'm eager to build, like responding to pull requests (this one should be done in the next week or so!), notifications, and more integrations (GitLab, Jira, Asana, Monday, etc).

If you read this far, thank you so much! It's a huge honor to be launching on HN today. I'll be around to answer any questions.

- Max
by aleph_minus_one | 2025-05-21 09:08:05+00:00
> until very recently, it was basically impossible to sound articulate while being incompetent. We have to adjust.

My observation differs: for very likely centuries, we had/have these people who by their articulateness could "bullshit" in a lot of topics where their knowledge is very shallow. Only experts could recognize the difference (but "nobody" listened/listens to those); the mass of people (including a lot of those in power) fell/falls for these articulate pseudo-"experts".

By the existence of LLMs, a lot of people simply became aware of this centuries-old phenomenon (or to put it more colloquially: LLMs brought "articulate bullshit as a service" to the masses :-) ).
by kubanczyk | 2025-05-21 09:08:25+00:00
Spot on. It seems that OP is considering (1) a rewrite that can entirely fit into the mind of an engineerXYZ, and also (2) will be led by the same engineerXYZ, through executive empowerment.

I guess that in your case probably (1) did not hold. Or maybe (2) did not hold, or both.

OP's experiment doesn't prove at all, that an entire org can rewrite a complex app where 1&2 do not hold. Every indication we have is that org's executive functions perform abysmally for code writing (and rewriting). So exactly the point you are making. It would obviously mean that there is value in code, along the value in the org, once we get above the level of the value that conceptually fits into 1 head.
by BLKNSLVR | 2025-05-21 09:09:27+00:00
I need to rewatch it now that I've got a bit more context as to what it's about.

I didn't "get it" the first go round.

It's seems to be a "slice of life" type movie, in that it depicts a particularly interesting and eventful time in the characters lives, as opposed to having any kind of narrative or story.

My favourite movies in that category is Fear and Loathing in Las Vegas. Just fucking madness bounded by opening a closing credits.

Just a bunch of stuff that happened.
by gilleain | 2025-05-21 09:09:59+00:00
The film is set (but not actually entirely filmed) in my home town of Camden. It still is a bit like that here - there's a guy I see occasionally walking around in a suit with a cat lying across his shoulders. Walking past, for example, the Dublin Castle which does feel like the type of place where someone might call you a 'perfumed ponce'. Also the final scene where they sit on a bench in the Regents Park is just by the old -lion- (edit wolf!) enclosure.

"Throw yourself into the road, darling, you haven't got a chance!"
by venamresm__ | 2025-05-21 09:10:37+00:00
We also setup our own off-grid solar system, almost 4 years ago now. The cost was much lower due to lower import fees and lack of regulations where I live, it was altogether somewhere between $3-4k total, for 16 panels, mounting rack, inverter (with backup inverter), mptt, 12 acid-lead batteries, etc.. We saved so much money, and fewer headaches, since state electricity only came around 5-6h a day and people relied on scammy-mafia generator providers that ask for insane prices.