MurphyA/hacker-news huggingface dataset:
by jcul | 2025-06-06 19:23:50+00:00
Just shorten the intervals. It's not a big deal. When I did yoga training in the pramayama (breath work) they started with quite short intervals, and the retention without air in the lungs was skipped at first.

It's completely fine imo and I don't think there's a need to get hung up on details like hitting a prescribed 4-4-4-4. 3-3-0-3 would be ok too.
by socalgal2 | 2025-06-06 19:24:10+00:00
There is more here that is likely to cause problems in the future. One is the author's use of var instead of let or const. var continues to work but most JS devs have linters that ban the use of var. The issue is, var has function scope, not brace scope. Most non-JS devs coming from other languages will eventually run into this issue.

Another issue porting native apps is, native apps are compiled for a specific platform and hardcoded to that platform's conventions. A good example of this is hardcoding Ctrl-C (copy), Ctrl-V (paste) at compile time, which maybe works on Linux and Windows but doesn't work on Mac.

IIRC the way you're supposed to handle this on the web is listen for copy and paste events. AFAIK Unity has this issue. They hard coded Ctrl-C, Ctrl-P and so copy and paste don't work on Mac. Most games don't need copy and paste but once in a while someone does something that does need it, then exports to the web and runs into this issue.
by PaulHoule | 2025-06-06 19:24:17+00:00
The systems I work on at work use a Java based back end and we're not going to complicate our back end more by adding a node.js sever so we can SSR, I know a lot of those hooks have to do with that. I have a bunch of demos that do graphics-heavy stuff with three.js, AFrame and such and if I publish these to the web one big advantage is I can upload them to S3 and publish them to a CDN and be done except for paying the bills, so again, no SSR. [1]

It's not so clear to me if useTransition, useOptimistic are part of the problem or part of the solution. (e.g. "looking responsive" could be the enemy of "being responsive", right now I am fixing a ticket about an incorrect state that flashes for < 0.5 sec that drives some people crazy, if I wanted something different in my framework it would be "update the UI state once, it renders once and doesn't keep calling effects and setters for an indefinite time")

Funny I am advocating for a React 19 update because at least React 19 can tell the test framework when it is done running callbacks, it might have me writing tests for components again.

[1] ... and if I want to SSR I might just ditch React and build the kind of apps that I built in 1999 with maybe a little help from HTMX
by floundy | 2025-06-06 19:25:12+00:00
Many international companies are global, and have a lot of sales to the US. But I never see anybody using that as a justification for not investing in the US.

As to the Nikkei retort this seems to be hindsight bias and ignorance of historical context, the general consensus at the time (both inside and outside of Japan) was that the Japanese economy was going to take over the world.
by gh02t | 2025-06-06 19:26:22+00:00
Back in the days of phone line modems, there used to be a program that you could type in a number, the modem would emit the corresponding tones, and then you could pick up a phone and it'd already be connected. I can't remember what the one I saw was, but I'm sure there were multiple different ones, and I also vaguely recall there were dedicated physical machines that could before that.
by snowwrestler | 2025-06-06 19:26:37+00:00
In tax policy, every single change looks reasonable to one interest group, and like a cheat to a different interest group. That is just the nature of tax policy. Any change hurts some people, harms others.

Changes to Section 174 happen rarely and are not a “common tactic.” Changes to tax policy in general are common, especially in the reconciliation process. They can have unforeseen side effects. As well as side effects that are foreseen but considered more acceptable than other side effects.
by lokimedes | 2025-06-06 19:27:05+00:00
It is Adam Smith’s “rent seeking” in a modern hyper-scalable form. It should be shunned and criminalized on a basis of anti-social economics. Now the other extreme of free software is, arguably, also (economically) bad, as it fails to reward the effort of the creators proportionally to the value gained by the user.

Let us buy our software, and separately, offer us a service agreement that actually has to provide value in its own right. The bundling of these in SaaS is what makes this obscene.
by toastercat | 2025-06-06 19:27:12+00:00
I've only tried Cursor superficially for 10 minutes. I admit I've kept my head in the sand during this AI boom for the most part. I'm curious from people in this thread:

* Are you using Cursor as your main editor?

* For more senior engineers -- is it really that much of a productivity boost?

* Is the primary use of an AI editor like Cursor to handle more tedious tasks? Ex: generate an array with all the months, write some unit tests for me for some simple component, write some boilerplate code for me, etc.
by prova_modena | 2025-06-06 19:27:15+00:00
I did several semesters' worth of biology fieldwork in college that involved handling many of these guys, under the guidance of a professor who was obsessed with them. Their toxicity was discussed more as a point of interest rather than an immediate danger. We always wore gloves when handling them, but the rationale was more for the newts' protection rather than our own. I never heard of there being a newt poisoning incident during the past decades of this professor overseeing similar fieldwork. Of course, eating them was out of the question.
by danadam | 2025-06-06 19:27:19+00:00
> trace it down to the select bitset having a hardcoded max of 4096

Did it change? Last time I checked it was 1024 (though it was long time ago).

> and no bounds checking!

_FORTIFY_SOURCE is not set? When I try to pass 1024 to FD_SET and FD_CLR on my (very old) machine I immediately get:

*** buffer overflow detected ***: ./a.out terminated Aborted

(ok, with -O1 and higher)
by stale2002 | 2025-06-06 19:27:35+00:00
> the concept of "common carrier"

So then, your actual opinion is Yes a "content neutral hosting platform." does exist?

Its seems very obvious here that people are saying that the laws that apply to common carriers could be changed so they apply to social media platforms.

Problem/confusion solved here, and the world doesn't fall apart. As we already have these laws, and the world didn't fall apart before.
by IshKebab | 2025-06-06 19:27:35+00:00
I would say C makes this sort of thing far more likely because it's usually a ton of effort to obtain suitable containers. In C++ or Rust they have plenty of things like `unordered_set`/`HashSet` built in, so people are much more likely to use it and not go "eh, I'll use a for loop".

In this case Git already had a string set, but it's still not standard so there's a good chance the original author just didn't know about it.
by mef51 | 2025-06-06 19:28:02+00:00
Plum Village (a Buddhist community founded by Thich Nhat Hanh) has a free app with hours and hours of different kinds of breathing and other types of meditation. They also upload meditations regularly on their youtube.

This web page also has some good resources and breathing meditations. https://plumvillage.org/mindfulness/mindfulness-practice

Highly recommend
by TheTaytay | 2025-06-06 19:28:31+00:00
My company was affected. The amount of money paid in taxes more than quadrupled from one year to the next.

It hurt small businesses that were slightly profitable. No one else. VC shops aren’t profitable anyway, so no taxes to pay. Microsoft took a 4 or 5 billion dollar write off, but they can literally write a 5 billion dollar check.

The issue is that the IRS wants you to pay them today on profits and cash that literally don’t exist. You make $1M in revenue and pay 5 developers 200k/year? You have no money left at the end of the year, but you pay taxes as if you profited about 900k.
by jmyeet | 2025-06-06 19:28:46+00:00
I reject this framing.

What really changed things was the end of ZIRP [1] and even then it was opportunistic. Labor costs are a massive cost for tech companies. They have continually tried to suppress wages. In the 2000s, it was the anti-poaching agreement between Steve Jobs, Eric Schmidt and others. In the 2010s, high growth ahnd zero interest meant labor costs continued to balloon.

But then Covid came along and was a massive opportunity. A few companies may have needed to do layoffs but that created the opportunity for everyone else. Big Tech just went full Corporate America with a page straight out of Jack Welch: fire the bottom 5-10% every year. Call it "layoffs". It's a direct pay decrease for those who remain (who get assigned the work). Those are still there won't be asking for raises because they're now afraid of their jobs.

Very little of this was ever necessary. None of the big tech companies ever came close to making a loss. They've remaining insanely profitable, in total and on a per-worker basis. At different times Google's per-worker profit has approached or exceeded $1 million.

The other factor is these companies eventually reached their size limits where antitrust stopped them making any more significant acquisitions.

Consider the timing: this change came in 2017. Where were the mass layoffs in 2018? 2019?

Also, the 2017 tax cuts contained a massive tax holiday for the repatriation of foreign profits.

Mass layoffs are simply wage suppression. It's the end state for any company that can't keep growing the way the market demands: eventually it comes down to cutting costs to make those quarterly profit targets. And in that, they sow the seeds of their own demise.

[1]: https://en.wikipedia.org/wiki/Zero_interest-rate_policy
by PaulHoule | 2025-06-06 19:29:03+00:00
Not just America: see https://archive.ph/9684B which says Japan hasn't made an excellent JRPG since the 2016 Persona 5... Instead we keep getting remakes of Final Fantasy and Dragon Quest games (so cringe to turn a 2-d isometric game to a 3-d game!)

As for music I blame autotune. If there is autotune music on at the gas station... there is autotune music at the gas station. If I hear autotune on the radio I turn the knob, hear it on the phone, hit the thumbs down. People in the industry don't want to hear that message so for me "new music" is all the Neil Young (often post-1990) that I never heard on the radio, Super Furry Animals, Yellow Magic Orchestra, Jay-Z, etc.
by threatvector | 2025-06-06 19:29:24+00:00
In a world where digital threats evolve faster than ever, having the right cybersecurity partner is critical. ThreatVector.tech is a forward-thinking cybersecurity startup built to help modern organizations defend what matters most — their data, systems, and reputation.

Our mission is simple: combine expert knowledge, intelligent tooling, and a sharp focus on threat mitigation to deliver security that’s both effective and agile. From real-time threat detection to incident response and vulnerability analysis, we bring enterprise-grade security to businesses of all sizes.

At ThreatVector.tech, we’re not just reacting to threats — we’re anticipating them.

Learn more at: https://threatvector.tech
by TiredOfLife | 2025-06-06 19:29:31+00:00
Why would Mozilla ship a hidden adware addon with system privileges to advertise a TV show?

Why would Mozilla integrate a random 3rd party service without asking?

Why would Mozilla send your browsing history to Cliqz?

Why would Mozilla integrate Google tracking without ability to block?

Why would Mozilla sell your data?

Why would Mozilla install a telemetry service that gets reenabled after update even if you disabled it?

Why would Mozilla lie like this?

Because it's Mozilla.
by smadge | 2025-06-06 19:29:36+00:00
I have experience with token bucket and leaky bucket (or at least a variation where a request leaves the bucket when the server is done processing it) to prevent overload of backend servers. I switched from token bucket to leaky bucket. Token bucket is “the server can serve X requests per second,” while leaky bucket is the “the server can process N requests concurrently.” I found the direct limit on concurrency much more responsive to overload and better controlled delay from contention of shared resources. This kind of makes sense because imagine if your server goes from processing 10 QPS to 5 QPS. If the server has a 10 QPS token bucket limit it keeps accepting requests and the request queue and response time goes to infinity.
by pstuart | 2025-06-06 19:30:23+00:00
Those are valid problems, however, they are not insurmountable.

There's plenty of people who would be fine doing unexciting dead end work if they were compensated well enough (pay, work-life balance, acknowledgement of value, etc).

This is ye olde Creative Destruction dilemma. There's too much inertia and politics internally to make these projects succeed in house. But if a startup was owned by the org and they mapped out a path of how to absorb it after it takes off they then reap the rewards rather than watch yet another competitor eat their lunch.
by dragonwriter | 2025-06-06 19:30:28+00:00
> we should most definitely progressively tax these systems based on a percentage of the difference between the least efficient model and the most efficient human. (Assuming, of course, that the least efficient model is more efficient than the most efficient human.) Use those funds to retrain people who lost their jobs for the mythical jobs every manager/CEO keeps talking about.

Too much gameable measurement on the tax end, and too much unnecessary bureaucracy both to support that on the tax end and the retraining end; simplify by just taxing capital accumulation more heavily than it currently is (which includes, but isn't limited to, capital accumulation due to implementing and reaping the returns of automation) and use the resulting revenue to fund a UBI; peopel for whom retraining has positive expected returns will have an incentive to do it, and those for whom that is not a good use of the money will make use of it otherwise.

You don't need to create an elaborate system to incentivize companies to keep investing in more efficient and capable systems, as long as you aren't taxing them at 100% or more, the fact that there are more returns to be had by having more efficient systems does that already.
Show HN: AI game animation sprite generator
by lyogavin | 2025-06-06 19:30:29+00:00
I tried to build AI game animation generator last year ( https://news.ycombinator.com/item?id=40395221), a lot of people were interested, but it failed, mainly because the technology was not good enough.

1 year passed, there were a lot of developments in video/image generation. I tried it again, I think it works super well now. Actually beyond my expectation.

You can generate all kinds of game character animation sprites with only 1 image.

1, upload your image of your character 2, choose the action you want 3, generate!

Support basic actions like Run, Jump, Punch and complicated ones like: Shoryuken, Spinning kick, etc.

High quality sprite sheet will be directly generated to use in Unity and any game engine.

If you are an indie game developer, you don't need to high an artist or animator to develop you game.

For studios, it's 10x cost saving and 10x efficiency as no more creating animations for 100 NPCs 100 times.

Please check it out, looking forward to your feedback!
by jorangreef | 2025-06-06 19:31:17+00:00
Joran from TigerBeetle here! Thanks! Really happy to see the report published too.

The typical pattern in integrating TigerBeetle is to differentiate between control plane (Postgres for general purpose or OLGP) and data plane (TigerBeetle for transaction processing or OLTP).

All your users (names, addresses, passwords etc.) and products (descriptions, prices etc.) then go into OLGP as your "filing cabinet".

And then all the Black Friday transactions these users (or entities) make, to move products from inventory accounts to shopping cart accounts, and from there to checkout and delivery accounts—all these go into OLTP as your "bank vault". TigerBeetle lets you store up to 3 user data identifiers per account or transfer to link events (between entitites) back to your OLGP database which describes these entities.

This architecture [1] gives you a clean "separation of concerns", allowing you to scale and manage the different workloads independently. For example, if you're a bank, it's probably a good idea not to keep all your cash in the filing cabinet with the customer records, but rather to keep the cash in the bank vault, since the information has different performance/compliance/retention characteristics.

This pattern makes sense because users change their name or email address (OLGP) far less frequently than they transact (OLTP).

Finally, to preserve consistency, on the write path, you treat TigerBeetle as the OLTP data plane as your "system of record". When a "move to shopping cart" or "checkout" transaction comes in, you first write all your data dependencies to OLGP if any (and say S3 if you have related blob data) and then finally you commit your transaction by writing to TigerBeetle. On the read path, you query your system of record first, preserving strict serializability.

Does that make sense? Let me know if there's anything here we can drill into further!

[1] https://docs.tigerbeetle.com/coding/system-architecture/
by bombela | 2025-06-06 19:31:24+00:00
Nah I truly do it the wrong way around. Syncthing on the git repos. And one of my device in the Syncthing cluster does btrfs snapshots minutely for recovery and further backups.

Because it's at a personal scale, the only time I can corrupt a git repo is if I work on the same repo (and it's workdir) from more than one device in the time it takes for Syncthing to replicate the changes.

But even then it's not a big deal because git fsck is quick. And I have my snapshots, and the syncthing versioning, and git defaults to two weeks before pruning. And because of how git works, using hash to identify contents, files are not easily overwritten either.

In 10y I only had one git corruption (I ran a command on the same repo on a different machine via ssh, yielding a synctning conflict). Syncthing kept copies of the conflict file. One commit disappeared from the history but not from the database. It was easy to rebase the changes. I think I used git fsck to deleted the syncthing versioned files.
by IshKebab | 2025-06-06 19:31:55+00:00
I strongly recommend not using this. Instead use pprof - it has a MUCH better interactive flamegraph, plus other nice performance visualisations (e.g. a call graph):

https://github.com/google/pprof

go install github.com/google/pprof@latest pprof -http=: prof.out

I normally collect the profiles with gperftools (https://github.com/gperftools/gperftools) and then just

LD_PRELOAD=/usr/lib/libtcmalloc_and_profiler.so CPUPROFILE=prof.out <your command>

I've been meaning to try Samply though. Not sure if it works with pprof.
by southernplaces7 | 2025-06-06 19:32:05+00:00
Unsurprising. Many, many people claim their ethnicity is X third this or that based on some half-checked thing some older relative told them a while back, and then base their claims on that, despite having all kinds of different possible ancestry combos.

I myself, being from the Balkans, don't even pretend to have a clue of what my genetic ancestry might be, and don't feel like finding out through some Find Your DNA ancestry (parasitic data harvesting) startup.
by nickff | 2025-06-06 19:32:11+00:00
I agree that your assessment of the legal state-of-play is likely accurate. That said it is one thing for data to be cached in the short-term, and entirely different for it to be permanently stored and then sent out to parties which the user has only a distant and likely adversarial relationship with.

There are many situations in which the deletion/destruction of ‘worthless’ data is treated as a security protection. The one that comes to mind is how some countries destroy fingerprint data after it has been used for the creation of a biometric passport. Do you really think this is a futile act?

>”The courts pay far more attention to that stuff than profit maximizing entities like OpenAI.”

I would be interested to see evidence of this. The courts claim to value data security, but I have never seen an audit of discovery-related data storage, and I suspect there are substantial vulnerabilities in the legal system, including the law firms. Can a user hold the court or opposing law firm financially accountable if they fail to safeguard this data? I’ve never seen this happen.
by altairprime | 2025-06-06 19:32:44+00:00
It makes sense when you consider that there is no minimum tax rate on businesses.

Given the choice, Amazon would rather spend 100% of its profits on itself than allow any of its profits to be paid out in taxes. Section 174 was implemented without a minimum tax on corporate profits before voluntary deductions such as research. Therefore, it’s exploitable and all companies ought to hire and fire staff to ensure their profits show as 0%.

This tax code defect is now closed by accident, but could have been done much more intelligently than it was. Oh well.

(EDIT: My first sentence is potentially confusing when I reread it later. To restate: section 174 was defective as implemented due to the uncapped 100% deduction, but the concept of a significant research exemption is still excellent. Just need to close the effective 0% corporate tax rate loophole.)
by dragonwriter | 2025-06-06 19:32:48+00:00
> The kicker is that if you select "American Indian or Native Alaskan" they start asking for tribal documentation.

No, for most purposes they never did (in fact, for many purposes where this is used, it is immediately separated from anything that would associate it with the submitter, so it would be hard for them to come back and ask you for anything), and the 2024 revisions to the definitions of the minimum categories removes the language about maintaining an ongoing affiliation ("who maintains tribal affiliation or community attachment") from the definition of that category. [0]

[0] https://www.federalregister.gov/documents/2024/03/29/2024-06...
by tokyoseb | 2025-06-06 19:34:18+00:00
The Nikkei 225 may be below its 1989 peak in price terms but you can’t ignore the dividends which an actual investment in the index would have paid during that period. On a total return basis (if you had reinvested the dividends into the index as you received them) the Nikkei passed its 1989 peak in 2021.
by demosthanos | 2025-06-06 19:34:40+00:00
The reason that we require you to deduct an expense over years for some things is because they have a resale value that needs to be accounted for. It's not a pure expense because you have an asset with real value that came out of the purchase. Employee time has no resale value. Once used it's gone, so employee salaries are expenses, not investments.

The only possible justification for the Section 174 R&D changes is that employees working in R&D theoretically are producing something which does have a resale value, so there's a small tax dodge enabled by direct-expensing your R&D costs but then ending up with an infinitely-copyable asset that came out of it.

If that's what you're saying, then I'd reply to that argument by saying that paying humans to design new things has historically been a business strategy that the government has wanted to incentivize in a way that buying and holding physical assets has not been. I've seen no justification for the government deciding that from 2022 on we should actively discourage R&D, it just seems to be a mistake.