MurphyA/hacker-news huggingface dataset:
by EGreg | 2025-07-17 19:17:17+00:00
I wanted to share with HN what I've been building, especially from the point of view of productivity in 2025!

This is a branch of my main platform, that I've been working on for years. I've written and expanded the original database layer over the years, and kept tweaking and improving it with my developers:

https://qbix.com/platform/guide/database (Database Layer)

https://qbix.com/platform/guide/models (ORM Layer on top of it)

I've had it working with MySQL the entire time, and been putting off refactoring the actual code base so I can add adapters. There were a lot of nuances, including how to roll back transactions on uncaught exceptions, etc.

Lately with AI, I feel like a "100x developer", and I wanted to see if I could finally refactor the whole thing in a few hours and introduce adapters for Postgres and SQLite as well.

Well, it took me about 3 hours, but I did it, with the help of OpenAI's 4o model. I can share with you the techniques I used to refactor and ensure correctness, testing, etc. The refactor was pretty huge, as you can see. But it got done in 3 hours.

When the refactor was done, it was trivial to add adapters for Postgres and SQLite.

Takeaways:

1. knowing how things work under the hood, and having experience / good instincts for how to structure code, has become more important than ever. You can now do this kind of stuff alone without any junior devs, and become a "100x developer".

2. Hubris aside, you should always push to a branch so other developers (and their AIs) can produce good test coverage and put your code through the paces, to ensure there were no regressions from previous code.

3. Run your diffs through the model as well, here is an example: https://chatgpt.com/share/68794d8f-b200-800a-8a63-dde1d62ad5...
by jerf | 2025-07-17 19:17:30+00:00
I'd be intrigued to see that, at least if we're talking about the same New Math that was basically "Hey, let's teach kindergartners number theory and 'cardinality' and the soon-to-be-vital skill of doing math in octal so they can use computers". The name got tagged on to a lot of things over the years, and some of them have some merit, but I'd have a hard time believing the original New Math ever tested well in a fair analysis. It's a violation of basic developmental theory, expecting young children to handle levels of abstraction they won't be ready for for another 5-15 years to do basic concrete math.
by vsri | 2025-07-17 19:17:32+00:00
> If you can't judge that funding war criminals is a wrong action

Yandex does not equal Russia though.

The United States gov't has participated in what many consider illegal acts of aggression (i.e., war crimes) and do so using tools like PowerPoint. Is it moral to accept Microsoft as a client?

I'm not saying I know the right answer here, but the purity test you're proposing seems quite stringent.
by Dylan16807 | 2025-07-17 19:17:36+00:00
They weren't talking about general contractors, but trade-specific contractors with multiple tradesmen working together. A crew can supervise and train newer members, and the more senior tradesmen can make sure the output of the entire crew is high quality even though some of them have a lot to learn.

Even for the explicit goal of getting juniors trained, the crew that does the better job is probably doing more training than the worse crew.
by throw0101c | 2025-07-17 19:17:43+00:00
Two good books that intersect technology, hype, and economics/finance are Technological Revolutions and Financial Capital by Perez (going back to the 1700s):

* https://en.wikipedia.org/wiki/Technological_Revolutions_and_...

And The Rise and Fall of American Growth by Gordon:

* https://en.wikipedia.org/wiki/The_Rise_and_Fall_of_American_...

Most actually innovation (in the US?) occurred from about 1920-1950,† with mainstream acceptance from 1950-1980, with very little newness (leading to economic/productivity growth) occurring post 1980s: the main exception of course being computers and the Internet, but that seems to have maxed out in the '00s.

† The (first?) Industrial Revolution is discussed, as well as early scientific discoveries that led to later engineering development that turned into usable products.
by southernplaces7 | 2025-07-17 19:17:53+00:00
But in all seriousness, who would you direct your anger at in this case? For one thing, being angry in a general sense implies that a fortuitous blend of circumstances is owed to you by the world in a broad sense so that your specific, completely accidental (of nature) misfortune can be remedied. Secondly, many people suffer from much more common conditions that also have no remedy so far (i'm an example of such), and this doesn't mean that it's the fault of any system or person in particular. It's more the case that there are so many multitudes of types of suffering that could be made better in our world, and only limited, incremental resources for going after any number of them over time. Given that, it's obvious that many causes of suffering, including illnesses, will be left wanting at any given time without it necessarily being something that you could fairly fault human agency for..

I mean, do you really believe that in some realistic alternative system of organizing society, your specific, extremely rare condition would have already been addressed, or have had more of a chance of being addressed than under what exists now in the world?

Sorry for elaborating so much in this comment, but the complaint you make is one i've frequently seen and for the reasons above it has never seemed entirely logical to me.
by steveklabnik | 2025-07-17 19:18:00+00:00
A language specification is not required to be qualified. The behavior of the compiler needs to be described.

https://rust-lang.github.io/fls/

This is effectively a fork of the Rust Reference, made by Ferrous, and laid out in a way that allowed the compiler to be qualified. It now lives at this URL, because it's being adopted by upstream as the spec.
by lumbroso | 2025-07-17 19:18:03+00:00
This is an awesome idea! And the multiple levels of abstraction enrich the concept.

What would be the pricing model?

I also want to give two shout-outs: - the Echoes Chrome Extension that makes it easy to search through conversations: https://echoes.r2bits.com/ - and Tana, of which the supertags reminds me a bit of your user-defined datatype: https://tana.inc/docs/supertags
Show HN: Chrome extension to optimize your site for ChatGPT search results
by futureisnow23 | 2025-07-17 19:19:01+00:00
ChatGPT is taking market share from traditional search engines. Therefore, it becomes more important to be mentioned in ChatGPT’s results.

We made this extension for marketers to find out which search terms ChatGPT uses to search the web.

Based on that, marketers can improve their ranking for these keywords to hopefully be mentioned by ChatGPT.

Hope this helps to improve your ranking in ChatGPT.
by Animats | 2025-07-17 19:19:06+00:00
They're little linkage parts, mostly flat.[1] Some of those holes are bearings. None of those parts are hard to make, but they need to be strong. They could be made by CNC machining, or in quantity by injection molding, or stamping. But tiny working parts in 3D printed PLA will be too flimsy for that hand to do much work.

Totally fixable problem. Then this hand can go to work.

If this thing catches on, someone might sell an upgrade kit with stronger parts. The designer is already considering a servo upgrade.

[1] https://github.com/pollen-robotics/AmazingHand/blob/main/ass...
by alemanek | 2025-07-17 19:19:11+00:00
Not OP, but of course they can’t be sure. No one can but if it doesn’t come along we will just be kind of screwed.

Better to be optimistic and make moves to position yourself for the “new thing that comes along” then to give in to despair. Then if it does come along they are ready to jump on that train.

In this case their is nothing lost with cautious optimism.
by 90ne1 | 2025-07-17 19:19:20+00:00
This realization was what finally allowed me to stop bouncing off exercise. The "no pain no gain" mindset of exercise was baked in and the result was years of smattering short burst of extreme exersion (1-2 weeks of running until my lungs hurt) between months of inactivity because being uncomfortable sucks and motivation is fleeting.

This time I started slow and consistent - run/walk three times per week without pushing myself until I was wheezing and hurting. Over time I got better and eventually I could just run for a while without feeling out of breath or painful.

At some point I actually started to enjoy it. Two years later, running is one of my main hobbies and I do it basically every day. I'll be running my second marathon in October.
by losvedir | 2025-07-17 19:19:24+00:00
Which is all you need a lot of the time. If you're a hotel, or restaurant, or selling a product, or have a blog to share information important to you, then all you need is for the LLM to share it with the user.

"Yes, there are a lot of great restaurants in Chicago that cater to vegans and people who enjoy musical theater. Dancing Dandelions in River North is one." or "One way to handle dogs defecating in your lawn is with Poop-Be-Gone, a non-toxic product that dissolves the poop."

It's not great for people who sell text online (journalists, I guess, who else?). But that's probably not the majority of content.
by ltbarcly3 | 2025-07-17 19:20:02+00:00
First of all, it's terrible that she was singled out for what is obviously political retribution and we should all be ashamed of our country for allowing what is very clearly an attempt to chill and shut down any form of criticism. It's extremely inappropriate and we need to reform the system to make abuses like this forbidden. We must have a rule of law that applies equally to every individual and actively resist arbitrary applications of government authority regardless of the context.

With that said, in almost every other country in the world this scenario wouldn't have been a result of individual retribution, but just a normal procedure. The US is unique in that it vaguely allows visitors to publicly engage in political speech and protest for things opposed to the government's theory of what is in our country's interests, even taking positions that are directly opposed to the government or supporting groups that actively seek to hurt or kill the citizens of that country. If she engaged in this behavior in Germany or France or Spain or Japan she would have been deported without any real debate, and potentially would have been guilty of a serious crime (because lots of speech is criminal in these countries, and there are political and historical claims are illegal to express at all).

The key distinction is that, for example, Germany makes these rules explicit in the terms of the visa and is not arbitrary in their application. The issue here is not that it's 'unconstitutional' or 'wrong' to restrict the activities of foreign visitors. The issue here is that this was arbitrary and politically motivated arrest and detention, which cannot ever be allowed in a free society.
by epistasis | 2025-07-17 19:20:08+00:00
I think that's confusing correlation and causation on childbirth there.

Other places in the world that do not require multiple exits for fires tend to have lower rates of fire death than we do in the US. The multiple exits thing is not actually for fire safety, it's to make multifamily housing harder to build and have less pleasant floor plans. Better fire suppression technology, having closer access to the stairs, are things that actually improve fire safety in practice.
by slybot | 2025-07-17 19:20:20+00:00
->Bradley-Terry and Elo scores are equivalent mathematical models! No, they are not equivalent mathematical models, they are equalivant in terms of calculation of score function(logistic) given equivalent scale factors. Such that, Bradley-terry: 1/(1 + e^(x(r_B - r_A))) and Elo rating: 1/(1 + 10^((r_B - r_A)/y)), then equivalance requires x = ln(10)/y. More importantly, Elo rating is online scoring system, meaning it takes into accoun the sequence of the events. From your blog post, I understand that you are not updating the scores after after each event. In other words, Elo rating can be interpreted as an incremental fitting of a Bradley-Terry (using similar logistic) model but not the same!

-> The fundamental presumption is the same Thurstone model The Thurstone model is similar, and as you said it assumes normal (as opposed to logistic) using probit link function. It predates both models and due to computational constraints, you can call Bradley-Terry and Elo rating computationally convenient approximation of the Thurstone model.

-> We did experiment with a Bradley-Terry loss function (https://hackmd.io/eOwlF7O_Q1K4hj7WZcYFiw) The math is correct. Thanks for sharing. Indeed, if you do it with incremental updating, you will lose the differentiability given the next winning probability is dependent on the previous updates. Call it what you want, but note that this is not truly and Elo rating which leads misunderstanding. It is Bradley-Terry given you do batch updates which you take extra steps to connect with Elo score, as shown in the link.

Lastly, normal and logistic distribution will lead to log(0) in evaluations which results inf in loss. As I can see from you upper comment, you try add uniform(0.02) as ad-hoc fix. An elegant fix to that is use heavy-tailed distribution such as Cauchy.
by FirmwareBurner | 2025-07-17 19:20:31+00:00
>What is one specific example?

Oh boy, I hope you're sitting down for this. Here's some people exposing this issue.

https://www.youtube.com/watch?v=2B4_wFOSsuE

https://www.youtube.com/watch?v=wnK8VVUMuVs

https://www.youtube.com/watch?v=9m653q-biPE
by datahack | 2025-07-17 19:20:33+00:00
Just want to point out that this was all possible because of the hard work of people at the icij. They do amazing work (same group that did the Panama papers and one of the last real independent investigative news organizations in the US) and deserve your support!

More info here: https://www.icij.org/

As an aside, I would also ask this question: why not democratize this and make billions using the same loopholes so that everyone gains access or they are forced to fix it? Surely it’s a good startup opportunity.
by const_cast | 2025-07-17 19:20:36+00:00
> People have the right to be greedy capricious dickheads with the property (physical, intellectual, and real) that they own and you are infringing on that right.

IMO they shouldn't - not for intellectual property.

Look, IP laws like Copyright make a lot of sense when we're encouraging innovative and rewarding companies for putting something unique and desirable on the market.

But if it's not on the market, there's nothing to incentivize or protect. Then it just becomes hoarding, or, more often - using IP as leverage to artificially inflate the value of it. Basically, you can not sell things, thereby making the thing more scarce on purpose, so later on you can maybe scrape more cash.

This sucks. It's bad for consumers, it's bad for markets. So, maybe we should consider disincentivizing this.

Proposal: if you do not sell copyrighted material, you forfeit the copyright. You keep all the protections and incentives of copyright. But! You essentially legalize pirating old shit or you force companies to put their money where their mouth is and distribute said old shit.

If this old shit is truly a harm to someone's bottom line, then uh, you need to be selling it. Otherwise there's no bottom line to harm.
by colechristensen | 2025-07-17 19:21:37+00:00
Solution: public funding of research which appropriately gives intellectual property ownership to the people preventing patents and driven by reasonable boards giving away grants to researchers and practitioners to find and practice new therapies

We're kind of going in the right direction forcing open access of publicly funded research, but there's a lot more to do. And a big step backward with the insanity of the current administration which we can only hope will end soon enough.
by RamblingCTO | 2025-07-17 19:21:45+00:00
I think now is a good time to see that privatizing essential services was a pretty dumb idea.

The only thing that could work is either have a natural public monopoly on the health sector (for essentials) with direct democratic control measures (otherwise the "beancounters" will corrupt it) or just pour public money on it and hope it sticks. It's pretty obvious by now that the market won't regulate itself and will not care if people die. If it's not profitable enough they won't care (and by they I mean the abstraction of individuals who would care but are on distance by capital/stakeholders or psychopaths).
by wizzwizz4 | 2025-07-17 19:21:52+00:00
If you're making that 12% exploitatively (which most ludicrously-high-interest "investments" are), that's a net harm for society. (A smaller-scale example, to aid with intuition: there once was a lung cancer charity which funded the promotion of cigarettes, to increase the dividends of cigarette stocks, so they had more resources with which to help lung cancer victims.)

Money isn't real: it's an abstraction. What it's an abstraction for, on the other hand, is very real. Don't confuse the map and the territory.
by SketchySeaBeast | 2025-07-17 19:22:09+00:00
I'm wondering what a market looks like where everyone is running an AI that makes the optimal purchases. The market needs bag holders.

I also don't know that it would change my behaviour. If my goal is long term investment success what's the downside of my continuing to invest in broad market funds? I don't need an AI making split second decisions if my investment horizon is still 30 years.
by 0_____0 | 2025-07-17 19:22:38+00:00
You can consolidate the outdoor units e.g. one outdoor unit can supply several apartments worth of air handlers (heads). There is an edge case wherein during the transition between heating and cooling season, all the heads associated with one power unit can either heat or cool collectively, not some combination of both.

Mini splits also allow a lot more flexibility of layout as you're only running linesets from the outdoor units/branch box to the the heads, i.e. you have to plumb a couple of small copper lines to each head instead of running a huge ducting tree.
by healthless | 2025-07-17 19:22:40+00:00
> What is your definition of processed food? Are potatoes processed because they are cleaned? Is chicken breast processed because the chicken is plucked? Is vinegar processed because it has undergone a chemical transformation via fermentation? Are potato chips processed because they are sliced potatoes fried in oil? Are fried plantains processed because they are sliced plantains fried in oil?

In practice, for the vast majority, it doesn't matter where the line is drawn.

Simply moving your diet as close as possible to unprocessed food (read: minimal steps between organism and ingestion) is the goal.
by dust42 | 2025-07-17 19:22:44+00:00
Actually Le Chat is french for the (male) cat. Also 'Le Chat' is a well known laundry detergent (of german origin - Henkel company). The headline 'Le Chat takes a deep dive' means 'the cat takes a deep dive'. As there is a cooperation with (german) Black Forest Labs, this is all pretty funny for a french speaking person. 'La Chatte' is the female cat. And also colloquial for female private parts.
by DoneWithAllThat | 2025-07-17 19:23:36+00:00
Can you explain what the benefit is of giving “people” more options (putting people in quotes because they could be current residents, it could be visitors, it could be hypothetical would-residents, it could be people in Alaska - I don’t know what you’re referring to).

Also while it may “give people more options” it inevitably would increase density in one of the most dense cities in the western world. Can you explain why that’s a good thing too?
by amluto | 2025-07-17 19:23:40+00:00
You’re right but you’re kind of missing my point. The iPhone 13 Mini started at $699. The normal iPhone 13 started at $799. The Pro started at $999. People were largely not looking at detailed specs — the Mini was obviously the smaller, cheaper version for if you couldn’t afford the standard model, and if you wanted the dramatically better camera, you would pay $999.

Per my suggestion, Apple should have scrapped the 13 Mini completely and instead offered a 13 Pro Compact for $999. Or maybe even $1049 if it had a bigger battery than the standard Pro model. The profit would have been much higher per unit than the 13 Mini, and I imagine they might have sold more units as well.

I’m typing this on a 13 Mini, and I would have paid an extra $400 for a better camera and more battery life. Before I had this phone, I bought a 15 Pro, used it for a week, and returned it because it was uncomfortably large.
by molticrystal | 2025-07-17 19:23:41+00:00
If an explicit keypress sequence becomes unavailable or changes, the script appears to call certificateErrorPageController.proceed(). So here is a bookmarklet that replicates this, add it to the URL field of a bookmark and click the bookmark to run it:

javascript:(function(){if(window.certificateErrorPageController)window.certificateErrorPageController.proceed();})();

It should work as long as the proceed command remains functional and certificateErrorPageController hasn’t been renamed in non-developer builds.
by 9rx | 2025-07-17 19:24:11+00:00
> if you assume that women compete against other women but not against men who apply for the same position

What is the fittingness of that assumption? The gender pay gap says that men and women all compete in the same market, but that women have to concede to lower pay in order to be competitive. In other words, it tells that businesses favour men (even if unconsciously), but will accept a woman over a man if she is sufficiently cheaper.

Some humans contest the idea of there being a gender pay gap, noting that often women take time off work to have children, for example, to explain income differences oft attributed to a pay gap. Maybe that is what you are, confusingly, trying to say? But ChatGPT does not share that understanding. Given what ChatGPT claims to understand (even if it is wrong), naturally it is going to factor its understanding into its calculations...

...just as any human with the same understanding would. Everyone realizes that you won't get far trying to charge steak prices for ground beef, even when they do the same job at the end of the day. You cannot charge more than the market will bear.
by ardit33 | 2025-07-17 19:24:17+00:00
Buying in NYC is just wild. A condo can have a 400$/mo tax, while the next door one is 1300/mo, and the other one down the street can be only 35$/mo for the first 20 years.

There is also a mortgage tax of 2.05% for a loan, which is batshit crazy as it favors rich 'cash only' people, instead of middle class / poor folks. Also, everything over 1m has a 'mansion' tax, where a 1m gets you one bedroom, without even a washer and dryer, and also there is a 'new building tax' which is another 1% or 2%.

For a 'not new' smallish 2bdr, 800sfq, in Greenpoint, the cost of purchase was 1.3m-1.35m and just the closing costs (taxes and all) was 55K! Just to buy a place (not talking about downpayment and all).

With a current rates, you'd end up paying 9k-10k for a basic (10 years old) 2 bedroom, which is insane at any levels.

Anways, end of my rant. The city needs to both build more, and lower taxes for residents, and raise them for anyone that is not a NY resident. Period. But the builders have resisted this, and Cuomo the coorporate stooge gorvenor we had vetoed/ended a initiative to have good taxation that favors residents.

Building more and giving tax breaks to anyone (even foreginers/non state residents), is just a hand out to developers, and 1/3rd to those apartment will be used a 'storage' for outside money. Locals loose on this.