MurphyA/hacker-news huggingface dataset:
by 1718627440 | 2025-12-15 07:53:12+00:00
> Correct me I'm I'm wrong but I think were talking about using `git reset HEAD^` for splitting a commit.

I wasn't. I wanted to do the same as in the FAQ entry we are talking about, so I wanted to reset it to an older commit representing the same change (i.e. before an amend that we are now reverting). This is likely in a rebase, but we can always rebase later and only do the splitting now.

> With `--mixed`, it will also move the index back one step, so the index is empty (relative to HEAD)

Yes and this is the default (without any flag).

> That's what meant when I said "`git reset` by itself doesn't split a commit", because you need to do something like this:

That's what the `--soft` is for, then `git reset` does not touch the index.

> Just that additional steps are needed.

The only "additional" step required is specifying a commit message, which, as I said earlier, to me is a sensible default.

What I suggested applied on this case would be:

git commit -m tmp git checkout @~ git reset --soft previous-version # which you get from the reflog git commit -C @ git rebase @~ branch-you-were-on --onto=@ # not of much use, when you only have a single commit you are throwing away in the next step, but when you are editing something earlier, this is likely what you want. git reset @~

If you want to do it with rebase:

git commit -m tmp git rebase @~2 # break after first commit git reset --soft previous-version git commit -C @ git rebase --continue git reset @~

More idiomatic, due to using the global list of todo commits:

git rebase -i @~ --autostash # break after first commit git reset --soft previous-version git commit -C @ git rebase --continue

You can drop the rebase, when it is really the commit in HEAD you want to split.

Actually what you can also do, but this doesn't use reset, is this:

git rebase -i @~ --autostash # add as the first line: pick previous-version git rebase --continue

This will even do what you wanted and just reuse the same commit message without asking.

Honestly, what I do most of the time to split commits (when there isn't an older version I want to split it to) is to just amend and then unselect the changes I don't want with the cursor.
by theshrike79 | 2025-12-15 07:53:22+00:00
> The reality is that software license costs is a tiny fraction of total business costs

Yes and no. If someone is controlling the SaaS selection, then this is true.

But I've seen startup phase companies with multiple slightly overlapping SaaS subscriptions (Linear + Trello + Asana for example), just because one PM prefers one over the other.

Then people have bought full-ass SaaS costing 50-100€/month for a single task it does.

I'd describe the "Use AI to make bespoke software" as the solution you use to round out the sharp edges in software (and licensing).

The survey SaaS wants extra money to connect to service Y, but their API is free? Fire up Claude and write the connector ourselves. We don't want to build and support a full survey tool, but API glue is fine.

Or someone is doing manual work because vendor A wants their data in format X and vendor B only accepts format Y. Out comes Claude and we create a tool that provides both outputs at the same time. (This was actually written by a copywriter on their spare time, just because they got annoyed with extra busywork. Now it's used by a half-dozen people)
by blagie | 2025-12-15 07:53:57+00:00
I, respectfully, disagree with this analysis.

Prototyping platforms have tiny markets, but lead to downstream sales. Many a company were brought down by more developer-friendly platforms ignoring the "tiny" userbase of people who want to do unconventional things.

Most IC vendors provide free samples and support because of this. That's a market size of close to zero -- electronic engineers -- but leads to a market size of "massive." I can get an application engineer to visit my office for free to help me develop if I want.

Arguably, iPhone and Android won by supporting the tiny market of developers, who went on to build an ecosystem of applications, some long-tail, and some unexpected successes.

And arguably, x86 won for the same reason.

Atmel had shipped 500 million AVR flash microcontrollers, due in large part to the ecosystem created by Arduino.

Balmer said "Developers! developers! developers!" Visual Studio was not a major revenue driver for Microsoft; what was developed in it was.
by discoinverno | 2025-12-15 07:54:03+00:00
I am working for a while on a command line game about spacepirates playing basketball across the galaxy. The game is a basketball managerial game with some pirate-y stuff. It's a P2P game with no central server, built on top of libp2p.

It runs as a terminal application, meaning that you just need to run it from your terminal, but you can try the game over ssh without installing: `ssh frittura.org -p 3788`

downloads: https://rebels.frittura.org/ repo: https://github.com/ricott1/rebels-in-the-sky
by marcus_holmes | 2025-12-15 07:54:28+00:00
I have worked for fintech companies that mandate VPN use as a security measure.

It's going to be interesting when the majority of the UK accesses the internet via VPN because of the increasingly ridiculous hoops that the UK makes them go through, and the government tries to stop them while also allowing VPNs to be used by the tech sector.

I agree, these are two separate legal processes powered by the same technology. But the internet doesn't have any awareness of legality (thankfully) so we're stuck with only the technical meaning.
by anonymous908213 | 2025-12-15 07:55:05+00:00
Funny, that was around the point in the article where I was beginning to get irritated reading it because it felt like reading LLM output. LLMs love melodramatic headers ("THE CHILDHOOD TRAUMA"), outlandish and not particularly coherent metaphors ("hostage negotiator"), the overly terse arrow constructions that I've never seen a human write in my life ("something that feels less like “open app → consume lesson” and more like “tap creature → it looks at you → you do a small thing together”"), the segue into a redundant list of bullet points, the pointless not x but y ("The blob wasn’t a mascot here, it was the interface") which poorly establishes a contrast where it doesn't make sense to.

The funniest part to me is that I suspect the LLM generated the line about the 4th of July, and the suspected prompter being British, felt the need to insert an explanation for why "they" would reference it, in a voice/cadence that doesn't really match the rest of the article:

> "Confetti, fireworks, the whole 4th of July experience (I've seen it only in movies though, not sure why but it's not celebrated in the UK)"

I can't definitively say this is LLM-generated, but it resembled it enough so that I still came away annoyed for having read it.
by deivid | 2025-12-15 07:55:16+00:00
I'm not sure it'll be a serious project, but the main goal is to use it in CI or dev, where setting up postgres is kind of a pain.

I got it to work already by setting up the global context in single-user mode (like postgres --single) and exposing bindings for SPI operations.

Yesterday night I got extensions working, but as this project builds as a static archive, the extensions also have to be part of the build. Both plpgsql and pgvector worked fine.

The bigger challenge is dealing with global state -- comparing the pre-start and post-shutdown state of the process memory, about 200 globals change state. Been slowly making progress to get restarts working
by tarsinge | 2025-12-15 07:56:01+00:00
To me AI might have tilted the economic on doing in house a bit but it has been at least a decade or more that I find most enterprise SaaS, in the way they are used 80% of the time, could be recreated with a few developers in house. Instead of 10-20 developers maybe you only need 2-5 with AI, so for most big companies that doesn’t change much. A company that wants to build in house still has to hire a team. And in most non tech industries even if more expensive usually a service is preferred. SaaS was never (only) about costs, developers were already wondering why people would pay for an expensive CRM 10 years ago when it was only basic CRUD.
by throwaway81523 | 2025-12-15 07:56:51+00:00
Article is lame in multiple ways, and also eForth was written by Bill Muench. Dr Ting adopted Muench's version to use assembly language bootstrapping instead of metacompilation. Bootstrapping is possibly easier for beginners to understand, but metacompilation is part of Forth's fiendish cleverness and it's a shame for an aficionado to miss out on it.
by amluto | 2025-12-15 07:58:03+00:00
> There’s also Rubio Monocoat and other two-component hardwax oils where the base component is usually a solvent-free blend of drying oils and waxes, and the accelerator component is Hexamethylene diisocyanate or HDI. The base component can cure on its own in about 3 weeks and the accelerator shortens the curing time to less than a day.

I find it bizarre that these finishes market the HDI component as an “accelerator”. It seems quite clearly to be a crosslinking agent — it’s a longish molecule with a rather reactive isocyanate group at either end. If you mix it with things it can react with, which likely includes both some waxes (those with hydroxyl groups) and some of the modified oils in “hardwax” oil, it will turn them into something akin to polyurethane.

Rubio Monocoat will cure into a different substance with the “accelerator” added than without it. In either case, it cures quite slowly and IMO has a nasty, penetrating chemical smell for weeks. I like how it looks, but the finish is not as stain resistant as many other options are, with or without the HDI.

P.S. the SDSes and some common sense suggest that this stuff is actually HDI oligomers, not plain HDI. The oligomers are rather less nasty.

P.P.S. Isocyanates are, AIUI, not persistently nasty, as they are too reactive. They react with water to form amines, and unreacted isocyanates will react with the amines to form polyurea, which is reasonably inert.

P.P.P.S. The “molecular bonding” stuff that Rubio talks about seems to be nonsense. The part A + part B mix will cure into a fairly hard and tough plasticky substance even if it’s a millimeter or two thick. Don’t do that — it’s not so easy to get the resulting mess off of whatever surface it cured on!
by 0ckpuppet | 2025-12-15 07:58:57+00:00
It doesn't have to work for everybody, just a critical mass that it doesn't rot the whole country. I can buy enough cigarettes,booze, and weed to run a party 24/7/365, so what are these "limits" you speak of? I don't party like that for the same reasons I quit eating taco kfc mcd's etc. They're still in business, but there will always be a few junkies.
by kakacik | 2025-12-15 07:59:39+00:00
There is often no replacement work for those made redundant by increasing automation. US solution to let them just fall through non-existent social net without care in the world and starve on sidewalks is rather unacceptable here, also its a dumb proposition long term on par with medieval societies.

What's your solution on that? (this itself is stupid populist move but underlying issue is a major one)
by seec | 2025-12-15 08:00:46+00:00
Germany shows how trying to rely solely on renewables is a fool's errand.

They can go from having over 50% of their electricity generated from renewables, but then suddenly it falls to barely over 20% in a single day. But the low production can last multiple days (for reference, look at the 3rd, 4th, and 5th of December 2025).

For reference, to store a single day of Germany's electricity at the current battery storage price ($66/kwh) you would need over a hundred billion dollars. Even if battery storage is to be divided by 3 in the coming years, we are still talking tens of billions of dollars for something that isn't even reliable and has a hard limit (go over the 3 days of storage capacity, too bad, you're fucked).

Even considering how nuclear construction is stupidly expensive nowadays, that would still be cheaper and more reliable (in large part thanks to German bureaucracy, fuck you by the way for the sabotage at Flamanville).

Renewable is the German superiority complex applied at scale. They can't help themselves from overengineering cars, so that makes sense.
by nofreethoghts | 2025-12-15 08:01:09+00:00
Best comment for this topic. Every point is true and should concern the whole world. And this lightcontrolled behaviour is not new and im pretty sure, already in use. Source? Could post a lot science papers on this topic in general now, that this tech exists, but thats not my point. Expirienced it,was not really a fun. And i know it sounds like a psychosis, but its not. Happend 2019, right before covid. Crap brought chaos to the world, people are not, or bareley aware of. Hate it to sound like a lunatic conspiracy theorist, but its on the topic it self. Who would believe you? Is there a rise in attacks, where the attacker heard voices? Or was somehow conected? Voices from Police, military, any alleged officials? Lazy way for induced voice, is pretending to be god... I bet the officials were more common recently. Sometimes people are aware of whats happening, when it happens.

Greetings from a ti with special interrests.
by Earw0rm | 2025-12-15 08:01:42+00:00
A robot capable of preparing meals also has a similar hazard matrix to a car.

Absolutely no way I'm having something cloud-connected - with human-body level degrees of freedom and the actuator strength to pick up a knife and chop a carrot - or anything else it might want to chop - in the house.

Plus, anything that smart is connected by definition. It doesn't need wi-fi, it's got eyes. Open-source-ness is somewhat moot when we're talking about intelligence models at the scale needed to make something like that viable, at least on current tech.

A better solution to laundry? That I would buy. Not even putting it away, if you could throw stuff in at the top and have a drawer at the bottom where it emerges, ironed, folded and sorted, that would be 95% of the problem solved.
by helterskelter | 2025-12-15 08:01:50+00:00
Just a heads up, rags used with raw linseed oil will ignite if you aren't careful with them. People say that only the rags used with boiled linseed oil will start fires, but I've seen rags used with raw oil ignite on two occasions.

Also...most linseed coatings will mold if they're not kept dry. If you'd like to avoid that, look for purified linseed oil -- it's regular linseed oil, but the proteins that mold feeds on have been removed. If you really want to go crazy, look for the stuff made from food grade oil.
by spoiler | 2025-12-15 08:02:42+00:00
Technically there's still a build step happening under the hood! But another benefit of shifting TS into JSDoc comments is that it also works in browsers. That being said, while I understand the aversion to unnecessary complexity, I'm personally fine with a build step to remove TS. It's a much nicer syntax IMO. And with tools like `swc` for type stripping, it's pretty snappy too.
by sejje | 2025-12-15 08:03:22+00:00
In my second ever job, lawn care, a client wanted to give me a Christmas gift of some cash. I had a personal connection--I worked closely with their son in my first job.

I hadn't been offered a gift yet at work, and it felt wrong for some reason--I was young and naive. He insisted many times, and I refused.

When it was over, he seemed hurt, and he treated me in a less friendly way afterwards.

So that was how I learned the lesson. When someone wants to give you a gift, you accept it graciously. It's your duty.

My problem is, I feel bad if I don't put the gift to good use.
by Stratoscope | 2025-12-15 08:03:24+00:00
> did this future also eliminate being straight?

Of course not. No one was forced or expected to have a Change.

It was just an option available to anyone with the curiosity to wonder what it would be like to be the opposite sex - and experience that fully - and then switch back again if they preferred where they started.

But you raise an interesting point. In the stories I read, all of the characters were "straight" in the way we think of that word today. This may be my poor memory, but I don't recall stories involving men who enjoy sex with men, or women who enjoy sex with women.

When a man had his brain transplanted into a woman's body made just for him, then she was attracted to men.

When a woman had her brain transplanted into a man's body made just for her, then he was attracted to women.

The characters were straight, from the point of view of their current body. It's just that they could change that body whenever they wanted.
by jack_tripper | 2025-12-15 08:04:08+00:00
>It has dual core if you need it, and the fun little IO coprocessors

I think you're missing the point of what made arduino so popular. It's not the HW itself, it's that you can plug in whatever display, sensor or motor driver out there, and there's ready made templates in the IDE that gets you running immediately, without you having to know anything about how the HW or SW works under the hood.

The lack of dual cores or "fun IO coprocessor" whatever fun is in that context, was never an issue for the arduino.

There's a virtually unlimited number microcontrollers and boards out there for tinkering or production, that are more powerful and have more features, but they all have a higher technical barrier to entry than the standard Arduino out of the box.

I don't wanna have to read datasheets and erratas just to learn how to use a second core, deal with shared memory between cores, or how to configure the GPIO of the "fun IO coprocessor" just to get a LED blinking to work. That's not what fun is to a lot of people. Fun is getting the motor spinning until my coffee finishes brewing and that's where the Arduino ecosystem USP was versus other more powerful platforms.
by akiro__ | 2025-12-15 08:04:10+00:00
Working on an iOS/Android app that lets gamers of all flavors connect with each other.

The main selling point of this app is that I do everything to let you continue do what you're doing while the algorithm search for other players. You receive a notification when a group is found or when a player is found.

Its not out yet ! The beta will be released in less than two weeks !

We have a website https://jynx.app/ If you want to leave feedback there is a form for that
by subset | 2025-12-15 08:05:10+00:00
I'm writing a toy eigenvalue solver in Rust using the QR algorithm. I didn't intend to, but I recently discovered the Gershgorin Circle Theorem and thought it'd be neat to create an interactive visualisation for my [blog](https://abstractnonsense.xyz).

I don't like JavaScript, and I've been meaning to learn Rust for a while, so I'm compiling the Rust algorithm to WebAssembly to run in the browser natively! It's been a fun trip back into the arcane world of numerical algorithms and linear algebra!
by n2d4 | 2025-12-15 08:05:14+00:00
To be honest, I find Ryan Cavanaugh's argument against this quite convincing. It's weird to have something documented if you import the .ts file, but not if you import a .d.ts generated from it. If you want to show the value of the default argument of a function, you should probably just add it to the doc comment — not the type.
by mmooss | 2025-12-15 08:05:24+00:00
The parent repeats precisely the disinformation of a political party. That shows reading comprehension and some communication skills. If this was an English class, it might get a B if the assignment was about disinformation techniques.

But this is social science and we need to apply other cognitive skills, such as understanding empirical evidence, controls, and causal inference. Using those we could generate other hypotheses from factors more strongly correlated than the leading political party, such as funding, generations of systemic discrimination, government violence, or other causes.

Regarding political party, generally the better educated someone is, the more likely they are to be in the Blue party. The most highly educated institutions, including those of science, education, arts, etc., tend to be overwhelmingly Blue.
by lelanthran | 2025-12-15 08:05:49+00:00
> It was so dispiriting to read, even enjoy, the assignment and then get dinged because you couldn’t remember whether the protagonist put on an otherwise irrelevant blue sweater or red jacket.

Maybe things have really changed a lot since I was in school, but that was certainly not the type of questions that were asked of set works.

The questions were asked such that, the more the student got into the book, the higher the mark they were able to get.

Easy questions (everyone gets this correct if they read the book): Did his friends and family consider $protagonist to be miserly or generous.

Hard questions (only those slightly interested got these correct): Examine the tone of the conversation between $A and $B in $chapter, first from the PoV of $A and then from the PoV of $B. List the differences, if any, in the tone that $A intended his instructions to be received and the tone that $B actually understood it as.

Very hard questions (for those who got +90% on their English grades): In the story arc for $A it can be claimed that the author intended to mirror the arc for Cordelia from King Lear. Make an argument for or against this claim.

That last one is the real deal; answerable only by students who like to read and have read a lot - it involves having read similar characters from similar stories, then knowing about the role of Cordelia, and at least a basic analysis of her character/integrity, maybe having read more works by this same author (they'll know if the mirroring is accidental or intentional), etc.

We were never asked "what color shirt did $A wear to the outing" types of questions (unless, of course, that was integral to the plot - $A was a double-agent, and a red shirt meant one thing to his handler while a blue shirt meant something else).

Did I like the set works? Mostly not, but I had enough fiction under my belt in my final two years of high-school that I could sail through the very difficult questions, pulling in analogies and character arcs, tone, etc from a multitude of Shakespeare plays, social issue fictional books ("Cry, The Beloved Country", "To Kill a Man's Pride", "To Kill a Mockingbird", etc), thrillers (Frederick Forsythe, et al), SciFi (Frederick Pohl, Isaac Asimov, Philip K. Dick), Horror-ish (Stephen Kind, Dean R Koontz) and more.

With my teenager now, second-final year of high-school, I keep repeating the mantra of "To get high English marks, you need to demonstrate critical thinking, not usage of fancy words", but alas, he never reads anything that can be considered a book, so his marks never get anywhere near the 90% grade that I regularly averaged :-(

The only books he's ever read are those he's been forced to read in school.
by mjanx123 | 2025-12-15 08:05:55+00:00
On the plus pole of the circuit the government prints the tokens and spends it on the things it wants done. On the minus pole it pulls the tokens via taxes. This is a means to compel the population to do work (pay taxes with tokens else jail, only way to get tokens is to do work). The idea to tax work is an economical oxymoron.
by okaleniuk | 2025-12-15 08:06:57+00:00
I'm working on a collection of stackable interactive slides for teaching numerical methods and operational research.

https://okaleniuk.codeberg.page/blackboard/

The idea here is, one can pick the slides they want and arrange them into a sequence right in the URL. This way, there is no registration, no user data collection, no persistent state even. You just pick the slides, teach your material, and move on.

It's very raw, I still want to add a convenient sequence constructor, a "blank" slide so you could display your own content in it, and a similar quiz page. But I already used some of the slides for teaching, students seem to like them.

Hopefully, I'll have the rest done by the beginning of the spring semester.