MurphyA/hacker-news huggingface dataset:
by bytefish | 2025-07-23 06:08:12+00:00
A decade in software development taught me: it always depends. It’s never a good idea to speak in absolutes.

Your development workflow depends on your product, on your team, their skills, on your organization and so on.

As with everything you need to carefully evaluate, if Trunk-based development is a good fit for your product, your team and your organizational structure. Sometimes it fits well, sometimes it’s not a good fit.

I think a lot of people dismiss gitflow and its feature-branched model as too complicated. Yes, it feels so slow, right?

But it gives inexperienced teams a very clear and documented workflow, especially so, if you need to support multiple versions of your product in the wild. It clearly dictates how to do bugfixes and hotfixes, that need to be done in multiple releases of your product.

Could you achieve the same with Trunk-based development? Maybe? Could an inexperienced team come up with it on their own? I don’t think so.

See, it always depends.
by littlestymaar | 2025-07-23 06:08:26+00:00
> the vast majority of what I learn from ChatGPT/gemini/claude is correct

Roughly 90% according to benchmarks. Which means you're learning 10% bullshit.

> the benefits of quickly learning are so high for me that I thought someone else might appreciate it too

ChatGPT has been there for two and a half years already, of course everyone on this forum knows about it, you don't have to tell people how cool it is… Rather you can safely assume that if someone asks a question here, and not as a ChatGPT prompt, it means they doesn't want an answer from ChatGPT!
by bigthymer | 2025-07-23 06:08:27+00:00
Ukraine is the largest exporter of sunflower oil with Russia being #2. They are still #1 as of 2023 [1] so the war appears not to have completely interrupted supply but may have made it more expensive to distribute. WSJ reports that the war's effect on sunflower oil is causing a rise in price of all cooking oils.

[1] - https://oec.world/en/profile/hs/sunflower-seed-or-safflower-... [2] - https://www.youtube.com/watch?v=1rtWDmo0rKg
Show HN: I built a site to help new dog owners pick a boy dog name fast
by droidHZ | 2025-07-23 06:09:00+00:00
Hi HN,

I built https://boydognames.net/ to solve a tiny but real moment: new dog owners stuck on choosing a boy dog name.

*Why:* - I’m experimenting with “single-keyword micro sites” for SEO + fast product validation. - Friends kept asking for name ideas and I saw “boy dog names” trending.

*What it does:* - 40k+ names grouped by style (classic, funny, Japanese, etc.), searchable and filterable. - AI-assisted suggestions based on your dog’s story/photo (coming next). - Users can vote/favorite, so the list evolves.

*Tech stack:* - Next.js, Supabase (data), Replicate/OpenRouter (AI gen), simple server-side rendering for speed. - Deployed on Vercel. No heavy backend; mostly static + on-demand API.

*Ask / Feedback:* - Is this too niche or just niche enough? - Any UX you’d improve (mobile first)? - Ideas to make the generator smarter without being “AI-flavored spam”? - SEO/content pitfalls you see?

Happy to share traffic/SEO results as I go. Thanks for reading!
by pzo | 2025-07-23 06:09:18+00:00
does anyone understand pricing ? On OpenRouter (https://openrouter.ai/qwen/qwen3-coder) you have:

Alibaba Plus: input: $1 to $6 output: $5 to $60

Alibaba OpenSource: input: $1.50 to $4.50 output: $7.50 to $22.50

So it doesn't look that cheap comparing to Kimi k2 or their non coder version (Qwen3 235B A22B 2507).

What's more confusing this "up to" pricing that supposed to can reach $60 for output - with agents it's not that easy to control context.
by tsimionescu | 2025-07-23 06:09:34+00:00
Having literally no branches might work for tiny projects, but none of this is the case for any decently-sized software.

If you want to release a piece of software to a customer who will be using it as-is for some time (which is one possible business model), then you need a version of your software where all features that the customer sees are working well. To do that, you need to fix even minor bugs in those features without adding any (visible) new features to the product.

However, this doesn't scale. You can't pause all development of new features while someone is re-aligning a few UI elements and cleaning up error messages that were too confusing. So, you have to create a split in the software: one part is getting ready to ship, another is work in progress for future releases.

Now, you can create this split using git branches, or using feature flags. So yes, trunk based development can work, you can absolutely build up the new experimental features into the software you're about to ship, but you'll have to hide them behind a feature flag that is disabled - a runtime branch. Or, you can have a release branch where only bug fixes are allowed, and submit major new work on the main branch. There are pros and cons to either solution, but whatever you do, you need stable vs unstable branches somewhere.

And, of course, sometimes you'll have to release hotfixes, and there you won't get away without a true SCM branch, since you can't just give your customers your latest and greatest software just to patch a security issue in libcurl for a 2 year old release.
by energy123 | 2025-07-23 06:09:37+00:00
Self-interest and identity is more important than what the article touches on. People form beliefs based on what serves their self-interest, with made-up lies as a front.

This is why you can accurately predict people's political beliefs by simply knowing their demographics. It is downstream of self-interest.

You can't change people's minds if doing so undermines their identity or their self-interest.
by conception | 2025-07-23 06:12:00+00:00
There are lots of ways. Looking at ss specifically - https://www.crfb.org/socialsecurityreformer/

Social Security will be solvent over the next 75 years, but 16% of the gap between spending and revenue remains in the 75th year, meaning the program is not yet sustainable.

YOUR POLICY SELECTIONS % OF GAP CLOSED

Slow Benefit Growth for Top 20% Of Earners 11% Limit Spousal Benefits for High Earners 3% Create Minimum Benefit at 125% of Poverty -3% Means-Test Benefits for Higher Earners 16% Tax All Wages Above $400,000 67% Apply the Payroll Tax to "Cafeteria Plans" 10% TOTAL 104%

And I increased benefits.
by Disposal8433 | 2025-07-23 06:12:40+00:00
It definitely is. He's saying that "we uncover more problems sooner" which can only be done on systems such as web sites where the tests and their results are done very fast. Where I work we can have weeks of testing to make sure that every feature has not introduced a bug.

I'm not criticizing TBD which I like, I criticize his thoughts that it's related to TBD where in reality the whole article talks about his specific job and the organization of his team, which again is unrelated to any branching strategy.
by BrenBarn | 2025-07-23 06:12:50+00:00
Although the pole mentioned in the video is interesting, for me the more prominent visual signal of the motion is another pole right near the center of the view. It starts out visible within the frame of the arch, near its right side. When the quake hits, this pole moves so far to the right that it's almost totally obscured behind the wall of the arch, and it can be seen swaying back and forth.

Also, there is a pylon on the far right of the scene that seems to partially collapse.

It's cool that we have this video, but sobering to remember that thousands of people died in this quake.
by pbasista | 2025-07-23 06:12:53+00:00
It might not be hypocritical. People do not have the mental capacity to follow and react to every crisis everywhere with the same level of engagement. They typically react more to the topics which they can closely relate to because they are part of their daily lives.

People in the US drive cars. And they follow the US politics. So it is in my opinion only natural that their reaction to issues concerning cars and the US politics would be more on their radar when it comes to coming up with public and loud reactions.

Does that mean that they do not care about e.g. the war in Gaza? Absolutely not. If asked, they will probably give a very critical opinion about it. But they are not out protesting for it to stop every week because it does not concern them directly. It is not hypocrisy, in my opinion, it is just natural selection of what is more and what is less important in a daily life of an individual.
by fjfaase | 2025-07-23 06:13:28+00:00
After having worked four years with trunk based development and enjoying it very much, I worked on a project were it was required to have one branch per feature for review purposes. It caused lots of delays, temporary work arounds, merge conflicts, moving changes between branches, bugs being introduced, due to reviews being delayed. I got the impression it made development twice as slow and did not improve code quality.
by DangitBobby | 2025-07-23 06:14:49+00:00
It's not as simple as "companies who make their product in the US don't have to pay the tax". Companies that import to assemble here or import raw materials to manufacture here also pay tariffs.

And no, thinking "tax the rich" is a good idea is not the same thing as thinking it's a good idea to add taxes that are passed directly to consumers. You're doing this narrative slight of hand where you are placing taxes that would successfully target the wealthy in the same bucket as ones that are easily passed on to consumers. Don't do that if you want a constructive conversation.
by dmitryeu | 2025-07-23 06:14:59+00:00
Work around the issue by installing directly from GitHub using package.json overrides: ``` "overrides": { "stylus": "github:stylus/stylus#0.64.0" } ```

Maintainer @iChenLei reports they are negotiating with npm officials to restore access: https://github.com/stylus/stylus/issues/2938
by seec | 2025-07-23 06:15:01+00:00
Do you have any real study on this?

Considering they work by basically taking electrons from the material, they are guaranteed to get much less efficient and I doubt it's a linear effect. I think once you have destroyed the first layers, it becomes much more complicated to get meaningful power depending on variables.

Solar panel talk always focuses on the ideal conditions like California, but you have to account that plenty the energy transition is necessary in place where solar panels are not that efficient to begin with.
Ask HN: Is Tensorflow.js Dead?
by fouronnes3 | 2025-07-23 06:15:40+00:00
Looking at the commit activity it seems pretty much dead since late 2023, and new issues are largely ignored. Is it abandoned or just "mature"? There's still a lot of "future work" references in the doc, so I think it's just abandoned.

It's a shame because it's still the only library out there that provides a good implementation of:

* numerical N-dimensional tensors in the browser

* multiple backends (cpu, webgpu, wasm, webgl)

* autograd

Everyone doing LLM and other ML applications is doing inference only in the browser, and so they are happy with ONNX exports from other frameworks. But this doesn't cover the use case where you want to do optimization in the browser and create custom models in JS/TS. I don't even need all the layer and NN stuff. Just a clean tensor+autograd library with typescript support.
by beingfit | 2025-07-23 06:15:40+00:00
For my life workflow, I pay for these because they add a lot of value for me:

• Infuse, from Firecore (probably the best video player on Apple TV, iOS, iPadOS and macOS — you can throw almost any format at it)

• Owl, by Beonex (it’s a Mozilla Thunderbird extension that connects to MS Exchange and costs $10 a year)

• Bvckup 2 (Windows backup software) — this gets cheaper on renewals

On services:

• Apple Fitness+ (annual subscription is a lot cheaper than monthly), one of the best things that keeps me working out regularly

• Posteo.de for emails
by urban_winter | 2025-07-23 06:15:50+00:00
The idea that you can apply lower-quality engineering practices in some systems is totally wrong, I think. Good engineering practices will help you retain good developers, will allow you to maintain a sustainable development pace and will prevent you annoying your users so much that they stop using your system. I can't imagine any commercial project where this doesn't matter.

Isn't this just another representation of the fallacy that it's possible to deliver faster by cutting quality? That's the kind of thing I expect to hear from ignorant stakeholders who know nothing about developing software, not on HN.
by dmurray | 2025-07-23 06:16:27+00:00
One cigarette a day doesn't sound that bad for you. 40-a-day smokers exist and while they're unhealthy, they're not universally dying in their fifties, so one fortieth of that effect seems small.

The biggest risk of smoking one cigarette a day is not that it will give you cancer, it's that it will give you nicotine addiction which will lead to smoking twenty a day and getting cancer. Radon exposure doesn't have that effect.
by BuildTheRobots | 2025-07-23 06:16:28+00:00
I've found some of my interactions with Gemini Pro 2.5 to be extremely surreal.

I asked it to help me turn a 6 page wall of acronyms into a CV tailored to a specific job I'd seen and the response from Gemini was that I was over qualified, it was under paid and that really, I was letting myself down. It was surprisingly brutal about it.

I found a different job that although I really wanted, felt I was underqualified for. I only threw it at Gemini as a moment of 3am spite, thinking it'd give me another reality check, this time in the opposite direction. Instead it hyped me up, helped me write my CV to highlight how their wants overlapped with my experience, and I'm now employed in what's turning out to be the most interesting job of my career with exciting tech and lovely people.

I found the whole experience extremely odd. and never expected it to actually argue with or reality check me. Very glad it did though.
by kcrwfrd_ | 2025-07-23 06:16:45+00:00
I have had an advantage, advantage pro, advantage 2, and an advantage 360 pro.

The 360 comes close but it’s a miss for me. I really don’t like the omission of the function keys, and the switches feel muddied compared to the ones on the previous advantage keyboards.

If they fixed those two things and added another 1-2 keys to the thumb cluster, I think that would be the ultimate keyboard for me.
by protocolture | 2025-07-23 06:16:46+00:00
Not @ you in particular, but theres a rogue "computer guy" in my dads town who literally goes around "fixing" elderly peoples computers for a few hundred bucks, all he does is format them and install linux mint.

My dad, who is a little bit technical from a long time ago, spends a lot of time helping distraught users reinstall windows (to get some application going that the brains trust of the middle of nowhere australia cant get going on linux) or just helping people recover photos etc from cloud backups.

Guys like an old west linux bandit or something.
by nikolayasdf123 | 2025-07-23 06:16:49+00:00
true. doing pair programming with AI for last 10 months I got my skills from zero to sufficient profficiency (not expert yet) in totally new language — Swift. entry barrier is much lower now. research advanced topics is much faster. typing code (unit tests, etc.) is much faster. code review is automated. it is indeed makes barrier for new languages and tools lower.
by virgilp | 2025-07-23 06:17:00+00:00
As a cache, it is. All you need for a cache (if you're using it correctly, as a cache) is for the replica to be up, which it can be. Azure even gives you out-of-the-box multi-AZ replicated Redis with 99.99% promised uptime (and based on previous experience, I'd say they deliver on this promise).

> Adding an extra moving part

I specifically mentioned I considered those as good solutions for the problem at hand only if you already have them/ don't need to add them, that's their strength (lots of systems already use Redis or a SQL database, e.g. Postgres - but anything really would work just fine for the task at hand).
by riffraff | 2025-07-23 06:17:11+00:00
I'm curious how the system detects "unusual build patterns".

I.e. how would the xz backdoor be identified? Does the system have logic like "the build should not us binary bits already in the repo"? Or it's even more specific , like "all build files must come from a single directory? If it's more generic, how does it work?
by mk89 | 2025-07-23 06:18:06+00:00
We're talking about mainly 4 countries in the Mediterranean Sea.

The way I see it is that while it's true that there is an issue with the weather, they increased the prices in 2022 due to old high-demand/low-offer law (other cheaper oil not available, buy whatever is there: olive oil). The prices never decreased though, or if they did, it's unnoticeable. This pattern I have seen multiple times in my life: once companies realize people are going to pay for something for a certain price, why reduce it?
by jarekd | 2025-07-23 06:18:28+00:00
In ML there is usually used normalization by subtracting the mean and dividing by standard deviation - I haven't seen by CDF in ML (?, they are popular in finance for copulas: https://en.wikipedia.org/wiki/Copula_(statistics) ), which provides more uniform distributions, allowing for better description with smaller models, what seems beneficial for generalization (e.g. description with low degree polynomials in this arXiv).

For which tasks CDF/EDF normalization could be beneficial in ML? Any reasons it seems unknown in ML?

Any other interesting nonstandard normalizations?
by kqr | 2025-07-23 06:18:35+00:00
- FastMail for email, calendar, and contact book.

- Kagi for search and translation.

- rsync.net for backup (although I took their lifetime subscription offer so I no longer actively pay them).

- Self-hosting related costs (rented servers and domain names).

- Buttondown for sending out blog updates. (I was generously gifted a lifetime subscription, but had I not been I would likely have paid for it eventually anyway.)

- The Economist for moderately-biased news spanning the entire world.

I also pay for Spotify, though I increasingly doubt whether it is giving me more value than purchasing the music I want directly. I suppose I do it out of convenience rather than economic gain.

This feels like a very HN set of subscriptions...

-----

Things I don't pay for:

- Excalidraw: I didn't even know that was possible.

- Google Photos: it keeps bugging me to, and I keep intending to exchange it for Immich.

- YouTube: I'm not a heavy YouTube user, but NewPipe and adblocker goes a long way.

- LLMs: I find API credits to be better value.

- VPN: I run OpenVPN on the closet server. That said, I have moved and I don't trust the new home ISP as much so this might change.

- Password manager: KeePassXC and SyncThing is sufficient.

- Notes: Org and Orzly and SyncThing is sufficient.

- Cloud storage: SyncThing and a closet server is sufficient.
by mock-possum | 2025-07-23 06:19:43+00:00
My rule is if I’ve had a WIP branch for more than a day without making progress on it, I ask one of my coworkers if they’d like to tag in on it, or my boss to see if he feels like looking at it with me. It’s actually a really hard thing to do, there’s this inertia to reaching out that I hate feeling mired in - but every single time I’ve done it, it’s been okay. It’s really the times when I haven’t reached, in retrospect, when things have not gone okay.
by oefrha | 2025-07-23 06:20:07+00:00
> that means the entire file must be read/scanned to get to the metadata when the browser requests it which means a long delay depending on the size of the file.

Not really, unless your server doesn’t support range requests, browsers are smart enough to request the end of the file where a non-faststart moov atom typically lives. But yes, you should use faststart.

You’re right that this appears to be the work of someone who’s not very adept at ffmpeg. Which shouldn’t be surprising; as a power user, maybe even expert at ffmpeg, unless I need to write a complex filter graph, consulting an LLM will just slow me down—people like me have no need for this.
by ZenoArrow | 2025-07-23 06:22:08+00:00
> You're right. But the problem isn't understanding you, it's you understanding others.

The impression I've got from the conversation is that, for the most part, people have agreed with me (after I've clarified my thoughts), but they have disagreed with the way that I've said it (because they're under the impression that I'm seeking to undermine their intelligence). Have I understood what you're referring to?
by JimDabell | 2025-07-23 06:22:31+00:00
> It definitely is.

So are you saying I just imagined using this for non-web projects?

> He's saying that "we uncover more problems sooner" which can only be done on systems such as web sites where the tests and their results are done very fast.

I don’t understand why you think this. Uncovering problems quickly is one of the major points of continuous integration and it’s in no way limited to the web.

> Where I work we can have weeks of testing to make sure that every feature has not introduced a bug.

This does not mean that branchless TBD is limited to the web, it means that it’s not suitable for your project.
by rramadass | 2025-07-23 06:22:36+00:00
But this is expected behaviour. The Linker cannot know about your intent but is "dumb" in that it only follows some simple rules. Both libfoo and libbar have their own copy of the .o from libshared containing the "Foo foo" instance. Thus the .init/.fini sections in libfoo and libbar make calls to the ctor/dtor of their own "Foo foo" instances resulting in the observed two calls in the app.

The way people generally solve this problem is by using a helper class in the library header file which does reference counting for proper initialization/destruction of a single global instance. For an example see std::ios_base::Init in the standard C++ library - https://en.cppreference.com/w/cpp/io/ios_base/Init

To understand the basics of how linking (both static and dynamic) works see;

1) Hongjiu Lu's ELF: From the Programmer's Perspective - https://ftp.math.utah.edu/u/ma/hohn/linux/misc/elf/elf.html

2) Ian Lance Taylor's 20-part linker essay on his blog; ToC here - https://lwn.net/Articles/276782/
by mturmon | 2025-07-23 06:23:22+00:00
I was also pleased to see large deviations, although the lecture notes don’t actually define what a large deviation is.

They do give an example of a Chernoff (exponential) bound for a sum of iid random variables. The bound of course has an exponential form - they just don’t call it a large deviation. So it’s a bit of a missed opportunity, oven that the name is in the chapter title.

These bounds come up all over the place in CS, but especially lately in learning theory.
by beingfit | 2025-07-23 06:24:16+00:00
> The disadvantage of feature branching is that it's very easy for management to cut costs on testing.

Have to agree with this. In a large (lower than 2/3rd in the Fortune 500 list) company with cost cutting as a constant mantra, our ever shrinking team hasn’t had a testing/QA team for several years. We never got to automating a lot of tests either. The developers create something and test it manually as per their limited knowledge. Then it’s the end users who do the bulk of the testing.
by delusional | 2025-07-23 06:25:13+00:00
Advocating that people use either Quarkus or Spring is like advocating they build their stuff in COBOL.

Java is an alright language by itself, but the "EE" frameworks and the ecosystem that surrounds them are corrosive to good software. You are actively harming your brain by learning JavaEE. If you do that to new developers you deserve to have your beans turn undiscoverable on Christmas Eve.