MurphyA/hacker-news huggingface dataset:
by fzaninotto | 2025-07-20 18:41:06+00:00
This looks similar to React application frameworks like react-admin [1] or Refine [2]:

const App = () => ( <Admin dataProvider={dataProvider}> <Resource name="posts" list={PostList} /> </Admin> ) const PostList = () => ( <List> <DataTable> <DataTable.Col source="date" /> <DataTable.Col source="title /> <DataTable.Col source="author" /> </DataTable> </List> );

The article mentions XML, but the true revolution is JSX itself, which lets you describe any piece of logic as a React element. This opens the possibility to create DSL for everything, just like in Python.

[1]: https://github.com/marmelab/react-admin [2]: https://github.com/refinedev/refine
by npteljes | 2025-07-20 18:41:47+00:00
Agriculture is very risky, and needs large investments, and has low margins, so it's a good candidate for subsidies and other such government measures, like insurance. And the people need to eat, so it's essential as well.

Leveling is much needed, I agree on that. But in case of agriculture, we can only get there by adjusting the field on a government level, in the shape of the support the industry receives.
by hedora | 2025-07-20 18:41:59+00:00
Concretely, don’t buy anything made by Samsung. Here’s a $3000 washer / dryer with a 90 day [x] warranty:

https://www.samsung.com/us/home-appliances/all-in-one-washer...

[x] I got tired of following footnote disclaimers. Note the headline 20-year warranty and $2,200 price tags are blatant lies. The two year warranty below that claim has footnotes that references more off page disclaimers. When we had a samsung appliance die, we found the actual warranty was only 90 days.

Even worse, there are zero repair companies willing to touch samsung garbage in our area because it’s impossible to debug issues. So, even with their samsung care package, you’re still throwing this thing out in a few years.

I’ve also attempted to call their customer support. It makes the IRS call center seem prompt.
by gist | 2025-07-20 18:42:09+00:00
Thank you for that idea. I've experimented with that trying this to start then asking how do I 'tell you' to use this (which it replied to).

"This is where I would keep track of things that I always want included in any bash or other routine I write that is executed on the command line. I will add to it as I think of new items:

When listing database items in a list across the terminal screen, always take into account both the size of the screen as well as the line elements using a width that can consistenly show (if possible) all of the data across the screen (but truncate if necessary All scripts should in the code show the version number as well as time and date of the latest version."
by 20k | 2025-07-20 18:42:11+00:00
+1, I use exclusively free tools for this exact reason. I've been using the same tools for 15 years now (GCC + IDE), and they work great

There is a 0% chance that I'm going to subscribe to being able to program, because its actively a terrible idea. You have to be very naïve to think that any of these companies are still going to be around and supporting your tools in 10-20 years time, so if you get proficient with them you're absolutely screwed

I've seen people say that AI agents are great because instead of using git directly, they can ask their AI agent to do it. Which would be fine if it was a free tool, but you're subscribing to the ability to even start and maintain projects

A lot of people are about to learn an extremely blunt lesson about capitalism
by debarshri | 2025-07-20 18:42:25+00:00
Adblockers can be very tricky.

They have access to everything you are doing. If you have installed a random adblocker it might have your very private information and could probably be selling it.

I think there is a opportunity out there where in adblocker also acts like a subscription management platform similar to spotify that allows users to monetize their content and subscription revenue is shared with thr content providers.
by leptons | 2025-07-20 18:42:28+00:00
>so you should assume a less combative tone

You should stop assuming someone's tone from a single internet comment, especially when you're making up the tone in your own head. It completely derails the comment thread, because now we have to talk about how you're misreading things and trying to scold someone based on your own assumptions. But maybe your whole intention with your comment was to troll me?

Nothing in your comment is really changing any minds.

Have a nice day!
by rconti | 2025-07-20 18:42:41+00:00
Is it possibly a quirk of your country of origin? I'm assuming you're an EU citizen, and I'm not sure how EU rules work, but perhaps your country has overriding rules that prohibit deposits from being required? Or perhaps paying "via bank" has some implicit damage deposit mechanism going on? Can we ask for you to steal a bathrobe next time to see what happens, in the name of science? :D

I do most of my bookings from US soil with a credit card for guarantee or pre-pay (I do a mix of both), but never direct bank account. So one could imagine the rules for my bookings are different than yours. However I do sometimes make bookings mid-trip, and have not noticed a different damage policy, and, in Europe, I check in with an EU passport so I'd probably be subjected to the same rules/policies as any other European.
by benrutter | 2025-07-20 18:43:00+00:00
No I haven't - has anyone? It sounds like you have, so I won't argue. I am no expert on what the actual consumer impact of the Phoebus Cartel was, maybe it wasn't a great choie of example. Wikipedia doesn't make it sound positive for consumers overall:

> Regulators in the UK and some independent engineers have noted that there are benefits to shorter bulb lifespans, as shorter-life bulbs can be brighter for the same wattage. Nevertheless, both internal comments from cartel executives and later findings by a US court suggest that the cartel's direct motivation for the change was to increase profits by forcing customers to buy bulbs more frequently.
by johnfn | 2025-07-20 18:43:02+00:00
> This is more or less a completely imagined issue. The most dangerous form of transportation is personal vehicles, and its not even close.

Sure, you can make that argument. I can even agree with you. But you're not going to convince my girlfriend, or most women for that matter, that they're "actually more safe" in a car than BART. Especially if she has to dodge people yelling or cat-calling her to get on the station. You or I can be totally fine with that. But I can't find it within me to fault her for not being OK with that, and wanting to call an Uber instead.
by maxlin | 2025-07-20 18:43:08+00:00
Fragmentation of results removing instead of increasing ambiguity doesn't pass the smell check, neither isn't it not something exactly against the leading FSD engineers have commented on the issue while they were removing other non-uniform sensors, even disabling existing ones entirely in cars.

Trying to claim some entirely different stack in some third party LIDAR tower's own processing is somehow "beneficial" sounds like a project manager who thinks adding engineers equates to linearly faster progress.

Just no. On a slight tangent though, I recommend reading about Tesla's vertical integration. It's not something any other company has managed to get implemented so deep in automotive, which makes it quite incomparable in some aspects where others can't adapt even if they wanted to.
by const_cast | 2025-07-20 18:43:11+00:00
> Make-work is the stupidest idea.

I don't know, it got the US out of the Great Depression.

Work programs can be great, if you're doing valuable work that helps the public and strengthens your nation. The US, to this day, has the largest public work program - the military. If you think about what the military actually is, it's a work program.
by ethin | 2025-07-20 18:43:12+00:00
All I'll say in response to this: good. These adtech companies deserve it. Let the adblockers thwart them every single time they try to do anything. Maybe they [the adtech companies] will learn (eventually) that malicious, privacy invading, and outright dangerous ads are not, in fact, okay at all. Or pigs could fly, too...
by radley | 2025-07-20 18:43:38+00:00
I feel like this is the result of the major streaming services cutting back on original content due to production costs, the 2023 strikes, and winning the broadcast fight.

Initially, streaming had to compete with broadcasting's long seasons by producing the equivalent amount of content, spread between more shows, with higher-quality production but much shorter seasons. Now streamers are providing fewer shows and only semi-annual seasons. It ends up leaving a lot of open viewing time with nothing fresh to watch.

YouTube also has the advantage of people making highlight reels of the most popular movies and series. We get out-takes, behind the scenes, bloopers, best quotes etc. Streaming services haven't figured this out (yet). I've never watched The Late Show with Stephen Colbert on TV, but I watched almost every monologue on YouTube.
by bwfan123 | 2025-07-20 18:43:57+00:00
generally, these class of constraint satisfaction problems fall under the "zebra puzzle" (or einstein puzzle) umbrella [1]. They are interesting because they posit a world with some axioms, and inference procedures, and ask if a certain statement result from them. LLMs as-is (without provers or tool usage) would have a difficult time with these constraint-satisfaction puzzles. 3-sat is a corner-case of these puzzles, and if LLMs could solve them in P time, then we have found a constructive proof of P=NP lol !

[1] https://en.wikipedia.org/wiki/Zebra_Puzzle
by johnfn | 2025-07-20 18:44:24+00:00
My point is that we've had 50+ years of "trying to do it well" in the US. For all the claims that "it has been done better in other countries", how come not a single city in the US has been able to extract the je ne sai quoi of what makes it work over there when it doesn't work here? What exactly is the time horizon for fixing all our issues? 50 years wasn't long enough to make a dent - if anything, things have gotten worse in that time.
by MomsAVoxell | 2025-07-20 18:45:03+00:00
I have switched to JUCE as a total cross-platform GUI/high-performance general application development environment, having used it for 7 years in the audio realm I have attained that state, whatever it is, where I realize I can just use it for everything and it’ll be perfectly fine.

Doesn’t take too much CMake wrangling either, and once you’ve got at least one half-decent, clonable JUCE -> CI pipeline working, the horizon gets wider and wider ..

That said, I have to admit that I think more and more about how fun it’d be to just put all JUCE GUI code in a Lazarus’ish front-end, using LUA for that part, and having a decent half Lua/half C++ monstrosity for doing things ..
by rconti | 2025-07-20 18:45:14+00:00
FYI, chatgpt gave me an unsatisfying answer that, basically, "European guests MIGHT not be asked for a deposit, sometimes, because they're local and therefore slightly more trusted", but it certainly doesn't sound like you should be escaping deposits 100% of the time. So perhaps there's another reason out there we've still not discovered.

https://chatgpt.com/share/687d38d1-101c-8004-8119-6c433dd32c...
by steveBK123 | 2025-07-20 18:45:30+00:00
I think it's not an either-or problem, but a mix. Most of the effect does appear to be job choice, which is driven by degree choice, which is driven by earlier education / coaching by teachers, parents, etc.

However, In my experience my female colleagues doing similar things are generally under-compensated BUT, and this is a big BUT.. they also are less aggressive in asking for money. I have had this discussion with my wife, and every few years she does work up the energy to have the "give me more money" discussion with her boss, which is almost always followed by a best-in-years % raise at next compensation cycle.

I coach some of my former junior colleagues too and the women are generally paid a little bit less than their peer male coworkers, but also their reaction to this injustice is a lot less "I'm marching into my bosses office Monday morning and demanding a raise" than a male in the same seat would have.

And then yeah there's also some lingering biases.

If I had to make up some % allocation for pay differentials that I've seen, it's probably - 50% job choice / 40% career management / 10% bias. But who knows.
by supriyo-biswas | 2025-07-20 18:46:15+00:00
> But some men, with the societal incentive to get ahead, continues aiming higher at other organizations with the same playbook, and enough of them find the organization that is indexing for that attitude.

At a previous employer, I had skip levels who apparently only made disparaging statements in public settings (and only in public settings, they’d dismiss it lightly if you tried to discuss said feedback in private settings) involving their indirect reports; this was their apparent way of ruling with an iron fist so that they come across as effective managers and have more projects directed towards them by the leadership.

Even as a man, it was everything I never wanted to become; I can completely see why women, who generally pursue (or at least try to maintain the impression of) collaborative relationships often want to do nothing with it.
by raffraffraff | 2025-07-20 18:46:39+00:00
As a long time Linux + bash user I switched to zsh three months ago when I was forced to use a Mac at a new job. In every previous job I was able to insist on Linux, but this one is very corporate. I decided not to fight it, except to install AltTab, Karabiner, Rectangle and a script that detects which screen my mouse is on so I can alt-tab through ALL the stuff on that screen (sane XFCE / KDE behaviour).

I can't get used to the atrocious keyboard shortcuts but I have gotten used to the "non-UK UK keyboard layout".

And zsh. I honestly don't know why I didn't just brew install bash right from the start. Without even realising I was doing it, I fought with this bloated bastard for 2 months before finally asking what the fuck I was doing.

I sped up my shell by switching back to bash.
by alephnerd | 2025-07-20 18:46:55+00:00
> Using East-Asian made hardware.

Most DCs are already using "Asian made" hardware such as Korean memory chips, Taiwanese power supplies and fabricated chips, and Japanese designed storage.

Unless you mean Chinese-made hardware, which would put much of Europe in the exact same position, with the added downside of supporting a nation that is cooperating with Russia, and is strongly in support of a Russian victory [0] in Ukraine. China has also begun leveraging export controls on tech transfers and outbound FDI as well, so dependency on an external nation would remain.

The reality is there is no choice other than America+ or Chinese made hardware for EU member states, and as long as Russia continues to leverage Chinese dual-use technology, it will be a no-go. And the European (in reality German+Dutch) ecosystem has largely been stagnant since the 2000s, and critical technology like EUV is nominally owned by EU companies but developed and manufactured by autonomous JVs within the US.

Either the EU supports Ukraine, in which case there is no choice but to deal with America+ or the EU leverages China, in which case support for Ukraine would have to stop.

[0] - https://www.scmp.com/news/china/diplomacy/article/3316875/ch...
by jfyi | 2025-07-20 18:47:41+00:00
Says the guy that demanded that I cite sources for something someone else said.

You're too funny.

Edit:

The very first one on the now locked comment said he misidentified the mushroom in question.

I'll assume from there you read none of it.

Edit:

Now he edited the post to remove the first cited paper, omg.

Let's do this:

The 4th one is the one you already admitted had bad data.

At least one of the other two clearly states that the mushroom was unidentified. You will have to read or delete both.
by delusional | 2025-07-20 18:47:44+00:00
I like contextualizing that question using a tool Matt Levine wrote about to understand the problem of doing fundamental analysis for a short sale. Winning a short position requires two things. The obvious one is that it requires something to be overvalued. If we posit that women are paid less, which is what your argument does, we have covered the first condition. The second thing required is a way for the market to become aware of this discrepancy. That would be the missing piece. Companies/Managers/Founders are the ones valuing the work. If they value the work less when a woman does it, then something has to change that valuation. It won't correct by itself.
by microtonal | 2025-07-20 18:47:45+00:00
Dyson only has the appearance of quality. Both Dysons that we had had broken accessories (though they happily replaced them). The first Dyson broke down in three years or so.

We also have a Miele vacuum cleaner. It's less glamorous, but it is, as Germans say, unkaputtbar (and also a very pleasant device to work with).
by sampl3username | 2025-07-20 18:47:45+00:00
I also had an encounter with government software...

I think the long-lasting solution will be to move to a web-based application system, instead of depending on Desktop applications made for Windows or Linux. Using a web app system, the government only has to concern itself with proper development and maintenance of servers and web apps, and the public workers can use any operating system with a web browser.
by const_cast | 2025-07-20 18:48:08+00:00
Yes, nothing is worse than being forced to say "hi, how are you". I mean, that's, like, 5 seconds out of my 24 hour day. That's unacceptable.

For a long time I thought less socialization is better, because I can get things done faster. Turns out, no I can't, because actually I suck at most things. A teenager is faster at bagging than me. I suck at bagging, and that job pays 15 dollars an hour.

And also, walking around everywhere with headphones on is no fun. It's just kind of... isolating and cold. All those tiny interactions add up to making you feel like a real person living a real life.
by hombre_fatal | 2025-07-20 18:48:20+00:00
It takes more work to build a janky site than just no frills html/css unless you vibecoded it or copy and pasted a crappy template.

I think we should be allowed to push back against sloppy work (which is different from beginner work) instead of ingratiating it with a smile.

We have the rest of you to baby them over adding the worst css transitions I’ve ever seen, something they deliberately swerved into.

They are accused of vibe coding it only through charity because it’s hard to imagine they did it themselves and went “yup that’s exactly what I wanted after spending that extra time adding it.” Whether it’s vibe coded or not isn’t really the point.
by e1g | 2025-07-20 18:48:47+00:00
As an immigrant, I understand the deal (for a working visa): I must bring valuable and scarce skills that this economy lacks (as demonstrated by the premium it is willing to pay). "Total Compensation" is an imperfect-but-good-enough proxy for how valuable and scarce my skills are. This does nothing to address other issues in immigration or labour forces, but if your goal is to attract global professionals with valuable and scarce skills, you need a working visa based on the total compensation this economy offers for those skills (i.e., Total Compensation).
by steveBK123 | 2025-07-20 18:49:05+00:00
Yes I have this conversation with women sometimes where it's like "but if I am assertive and ask for money, my boss will judge me" type of societal norm compliance.

And look, maybe they will, but are they going to fire you or cut your pay? No.

You don't ask, you don't get.. that is the way of the world. If you constantly try to play it safe, you get less.

If you clip your own wings you can't point vaguely at "society" for it.
Show HN: The missing link of a bookstore's tech stack
by greenie_beans | 2025-07-20 18:49:07+00:00
Hi HN!

I built Bookhead because I used to work as a bookseller and I wasn't happy with the software options when I decided to sell my own collection online (with the hopes of one day growing so I can open my own brick & mortar). So I decided to make my own bookselling app...a classic hacker distraction.

Bookhead has two main parts: 1. an inventory management app that allows a bookseller to list their books anywhere they want to sell books (like Squarespace, Biblio, eBay, Shopify (coming soon!), etc) 2. an e-commerce platform with a CMS for selling books and letting a store control their online brand

I have a very exciting roadmap that I'm not ready to fully reveal, but it's all based on books. I'm building a sorta Zapier-like platform for independent booksellers. Everything is so fragmented and disconnected, which makes it hard for booksellers to do their work. I'm hoping to change that. I have a blog post that lays out my vision here: https://bookhead.net/blog/fragmented/

The current iteration is like "data engineering as a service for books." A book is a powerful thing. I'm hoping to give a bookstore everything they need to sell books online. Inventory, e-commerce, marketing, etc. It's a crowded market but I've had fun making the bookselling app that I believe should exist.

If you know any booksellers, please let them know about this! I'm onboarding my first customer right now and the biggest bottleneck is the other bookselling software providers, despite my intention to collaborate instead of compete. It's frustrating to wait for two weeks for a point of sale provider to setup an integration. It's almost like they don't care about their customers. Some providers even require ethernet cables for their software...still partying like it's 1999. Perfect for early-adopter booksellers frustrated with current tech who understand the power of automation.

I'm currently looking for funding so I can focus on this full-time. My biggest problem right now is time (aka money) because I have to sell my time to make rent etc, and can't focus on this project like I need to. I've gotten good validation from booksellers and other technically savvy folks in the industry (I've heard from two different companies that they've considered building something like this), so I believe I have something valuable. I'm not interested in funding from somebody who doesn't share my love for books or doesn't support my mission: help people use technology to promote literature. I believe that literature is one of humanity’s most prized creations, and we can use technology as a tool to keep this gift alive.

Please email me at sam@bookhead.net if you know of booksellers who might want to be an early adopter, or know of any funding opportunities that might be a good fit.
by slacktivism123 | 2025-07-20 18:49:28+00:00
>it seems like ZSH tries to update on every shell spawn

Learn your tools first, not bloated frameworks. There's a gulf of difference between vanilla zsh and this:

>Community-driven (with 2,400+ contributors) framework for managing your zsh configuration

>Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc)

>140+ themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community
by trod1234 | 2025-07-20 18:49:35+00:00
You are talking in circles while missing the point, and ignoring quite a lot of established literature on economics.

I'd suggest if you are limited on time that you read Hazlitt. Economics in One Lesson. You seem to conflate need for demand in your examples. The two are not the same.

Need includes anyone who could benefit/find valuable from the use of something, the value being derived from productive human action.

Demand in reality includes only the people who would make an actual exchange at a specific price point. The former is a superset of the latter.

You end up misleading others, and going into delusional territory when you ignore this nuance.