MurphyA/hacker-news huggingface dataset:
by bcrosby95 | 2025-07-24 16:37:00+00:00
I think most complaints about checked exceptions in Java ultimately boil down to how verbose handling exceptions in Java is. Everytime the language forces you to handle an exception when you don't really need to makes you hate it a bit more.

First, the library author cannot reasonably define what is and isn't a checked exception in their public API. That really is up to the decision of the client. This wouldn't be such a big deal if it weren't so verbose to handle exceptions though: if you could trivially convert an exception to another type, or even declare it as runtime, maybe at the module or application level, you wouldn't be forced to handle them in these ways.

Second, to signature brittleness, standard advice is to create domain specific exceptions anyways. Your code probably shouldn't be throwing IOExceptions. But Java makes converting exceptions unnecessarily verbose... see above.

Ultimately, I love checked exceptions. I just hate the ergonomics around exceptions in Java. I wish designers focused more on fixing that than throwing the baby out with the bathwater.
by cjs_ac | 2025-07-24 16:37:30+00:00
I was a teacher, in both Australia and the UK.

The first thing I was told in an educational psychology lecture was to never cite any research more than ten years old. (If you break this rule, you'll see the same ideas being reinvented over and over again.) When I was teaching, half of all teachers left the profession within their first five years; I've heard anecdotally that it's 80% now. It's not the clever ones who stay. There's a strong push (often enforced by professional teaching standards) to constantly implement the latest research, which means every teacher has to do the new thing, and is discouraged from thinking about whether it's all bullshit.

One of the most enduring ideas in educational psychology is the stage-based theory of Jean Piaget[0]. Computer use belongs very much in 'formal operations', the last stage of the theory, because everything that happens in the computer is just an abstract representation of what happens in the physical world. Progress between stages varies from child to child, but from Piaget's observations, it usually happens around the age of 11, which is when children transition from primary school to secondary school in the Australian and British school systems. This is why children struggle to learn, say, algebra, in primary school. If you introduce these ideas before children are ready for them, they internalise them as social rules in the same way as 'raise your hand before speaking in the classroom'. So not only does introducing computing too early harm the development of other skills, it also teaches a suboptimal approach to computing.

[0] https://en.wikipedia.org/wiki/Piaget%27s_theory_of_cognitive...
by 0x500x79 | 2025-07-24 16:37:52+00:00
There is a great article floating around on the economics of AI and how parasitic the current market is between the Fab Five.

We are 27-ish months since the claim that all software engineers would be replaced within six months by some of these CEOs. It is their job to analyze the market and determine what the next big thing is, but they can be wrong - no one has a crystal ball here.

The difficulty for me is how disconnected a lot of the takes are (or even flat out manipulative) that are being pushed out. I am an early adopter of AI tools. I utilize them on a day-to-day basis, but there is no way that I see AI taking SW jobs right now.

You have others claiming that these tools will just get exponentially better now, time will tell, but as of right now there is still too much value in human coders any anyone that is actively pushing for replacing SWE with "Agents" is either betting big on the future (that is unproven) or attempting to entice/manipulate the larger market.
by ch_fr | 2025-07-24 16:37:52+00:00
I hope Ed Zitron will keep saying that the biggest AI companies in the world are not making any profit for as long as the biggest AI companies in the world are not making any profit.

I find that fact alone a bit alarming.

You don't need to be a technical expert to understand that it's worrying how the entire media industry is pushing for everyone, everywhere, all of the time, to lean on a tech where the biggest providers are not profitable.

You also don't need to be a technical expert to see how much of a failure it is for the entire media industry to interview Sam Altman, let him spew out utter gibberish, and not even question him on it.
Show HN: Lisora – quizzes/reflection prompts to YouTube to improve retention
by shaanprab | 2025-07-24 16:38:21+00:00
I’ve always struggled to retain information from long-form YouTube videos, especially when passively watching tutorials or explainers. I’d finish a 20-minute video and realize I couldn’t recall much of what I just saw.

So I built Lisora which is a minimal tool that takes a YouTube video and automatically inserts short quizzes and reflection prompts at regular intervals to encourage active learning. I also added scores and have future plans to make it competitive.

You don’t need to install anything or sign up just paste a YouTube link and hit go. It works best on educational or lecture-style content.

MVP: https://mvp.lisora.ai Vision: https://lisora.ai

It’s still in early MVP stage the quiz logic is simple, and the reflection model is rule-based for now. But I’m planning to:

Make the prompts more intelligent using semantic chunking

Introduce spaced repetition once accounts are enabled

Add retention analytics

Would love any feedback on:

UX flow / onboarding

Technical critiques

Ideas for making learning more interactive

Thanks in advance!
by furyofantares | 2025-07-24 16:38:35+00:00
Home advantage is interesting to me because of it existing in essentially every sport and it's almost always small enough to not matter a lot but large enough to notice. Lots of factors are attributed but I've never seen someone try to analyze those factors.

You could probably do some minor rules tweak to get rid of it or reduce it further - but I think it's actually a good thing to have a noticeable but small home advantage. You have the same number of home and away games so it evens out in the regular season. So a little nudge for the team that everyone bought tickets to watch seems alright.

I think it's desirable in the playoffs too, even if your goal is for the best team to win the tournament, not just from an entertainment perspective. We deliberately stack the playoffs for the teams that did best in the regular season, both by seeding and by who gets home advantage. There's lots of entertainment reasons this makes sense to me, but it also makes sense to me in terms of making the best team most likely to win. The playoffs are usually less data than the regular season. So this is a way of letting the regular season data have more of an influence on the outcome of the championship.
by PaulDavisThe1st | 2025-07-24 16:38:40+00:00
> you have [ ... ]. then you have [ ... ]

Those are groups defined by something other than actual LLM usage, which makes them both not particularly interesting. What is interesting:

You have people who've tried using LLMs to generate code and found it utterly useless.

Then you have people who've tried using LLMs to generate code and believe that it has worked very well for them.
by brudgers | 2025-07-24 16:38:46+00:00
Ok, it sucks. Your options are to leave or wait it out. Either way, the pressure does not seem blatently irrational.

a big step down from my US salary. The main reason for the move was to get a visa and work in Europe

If that’s common knowledge in the team, it is probably is not particularly good for morale. If you tell people you are slumming out of self interest, it is unlikely to win friends, but will influence them.

The part that feels off is that the "messy" code they're pointing to is a direct result of the constant pivots and the "move fast" culture we've all been working in.

That’s a reason, not an excuse. Being senior means there are no excuses.

My manager's own PRs have introduced critical bugs that I've had to stay late to fix.

So what? Everyone makes errors. This smells like an issue with your boss.

Any advice

The question suggests cultural fit issues. Or are you the kind of person the team wants to work with. Good luck.
by const_cast | 2025-07-24 16:38:57+00:00
I don't know exactly how they did it, but OF was/is unique in that the adult content is their entire business model.

When your company is at risk of being essentially forcefully dissolved, you're gonna be desperate. I was fully expecting them to tell Visa to fuck off and just switch to a different payment processor, because that's more economically viable than complying with Visa.

Maybe they threatened Visa with legal action and Visa felt that it was too risky, lest they lose their entire censorship operation. Just speculation.
by qcnguy | 2025-07-24 16:39:25+00:00
The point being made is sound, but I can never escape the feeling that most concurrency discussion in programming language theory is ignoring the elephant in the room. The concurrency bugs that matter in most apps are all happening inside the database due to lack of proper locking, transactions or transactional isolation. PL theory ignores this and so things like Rust's approach to race freedom ends up not mattering much outside of places like kernels. A Rust app can avoid use of unsafe entirely and still be riddled with race conditions because all the data that matters is in an RDBMS and someone forgot a FOR UPDATE in their SELECT clause.
by freeopinion | 2025-07-24 16:39:56+00:00
I guess I'm not smart enough to understand [edit: the hype around] this.

The license agreement doesn't change? But you don't get support unless you pay the maintenance fee? So if a user reports an exploit, Wix won't fix it unless the reporter pays the maintenance fee first?

Or if some corporate user has a great idea for a new feature, Wix will ignore it until a paying user requests it?

It seems obvious that this is nonsensical. OSS authors have always been able to pick and choose what PRs they accept or what issues get their attention. They have always been able to charge for support. How is this maintenance fee any kind of innovation?

I don't mean this as a criticism of Wix. I think it is awesome that they develop tools with open source licenses. And I think it is perfectly fine for them to charge support fees. Just like it always has been for all open source projects.

If a would-be contributor feels locked out, they can fork. This is not a new idea. Obviously, forking is a pretty big commitment that will require financial backing. So any rational party considering forking should also consider paying the author for their attention. Even if you have the pockets of an Amazon, it would probably be better all around to fund the original author than to set up a competing fork. Of course there will be the occasional LibreOffice, io.js, OpenTofu, neovim. If you can actually pull off a split like LibreCAD, more power to you. io.js made its point and made nodejs healthier.

This has always been a huge advantage to open source software. You can benefit from the community. You can contribute to the community (code, art, docs, money, ideas, whatever). Kudos to Wix for participating. Best wishes for their future.
by zer00eyz | 2025-07-24 16:40:03+00:00
There hasn't been enough real "UX" work since before 2008. Most companies arent running focus groups. They haven't put their designs in front of real users (real usability testing) and gotten feed back on them.

Yes online tools are great and all but you're only getting feedback from the people already in. "I can get through your poorly designed app for work" is not something an online tool will tell you.

As for design, there was this tool posted a few days ago: https://finddesignagency.com

Great effort by the person who made it. The product they are showing off made me think of the line from the song "and they are all made out of ticky tacky and they all look just the same"
by aerostable_slug | 2025-07-24 16:40:08+00:00
> the whole reason the West Oakland homeless encampment has such an enormous garbage pile problem

I lived in West Oakland for several years during the first .com bubble. People with houses there often didn't sign up for garbage service (or if they had, they didn't pay). I had to put a damned padlock on my garbage can just so I didn't have my own garbage dumped out and replaced by the freeloaders living next to me. They eventually notched my garbage cans with a saw so I couldn't lock them anymore. By the time I moved it was dueling piles of garbage, and it wasn't like I was the only one with the problem.

I find online commenters consistently underestimate the level of antisocial behavior that accompanies much of the squalor we see, and the fact that many people simply have no interest in playing by the rules of society regardless of how many handouts you give them.
by aezart | 2025-07-24 16:40:12+00:00
I think aside from any safety issues, another reason to prefer a deb or something over curl | bash is that it lets your package manager know what you're installing. It can warn you about unmet dependencies, it knows where all the individual components are installed, etc. When I see a deb I feel more confident that the software will play nicely with other stuff on the system.
by tester756 | 2025-07-24 16:40:28+00:00
How can you call it "Intel bailout" if it benefited many semico companies?

>The CHIPS Act primarily benefits semiconductor manufacturers and related industries by providing substantial funding for domestic chip production and research. Companies like Intel, TSMC, Samsung, and Micron have received significant grants and loans to expand or establish new manufacturing facilities in the United States.

>The act authorizes roughly $280 billion in new funding to boost domestic research and manufacturing of semiconductors in the United States, for which it appropriates $52.7 billion

>The act includes $39 billion in subsidies for chip manufacturing on U.S. soil along with 25% investment tax credits for costs of manufacturing equipment, and $13 billion for semiconductor research and workforce training, with the dual aim of strengthening American supply chain resilience and countering China
by MomsAVoxell | 2025-07-24 16:40:38+00:00
This worked wonders for me as a kid, learning computer programming. There was so much knowledge to be gained by typing in 1000’s of lines of other peoples code, published in magazines.

I think I probably learned so much more in between the lines during that period, than if I’d just read the user manuals.

And the same is true even today - spending a few hours code-reading some wonderful open source project will enlighten you immensely.

Code is a social construct - just like music. It prospers in the space between minds, in my opinion.
by afdbcreid | 2025-07-24 16:40:45+00:00
It should be possible to construct an exploit for such programs. But even for truly unsafe languages, vulnerabilities just from data races are very rare, because they are much harder to exploit.

You could argue Go is safe from memory vulnerabilities, and that'll be 99% correct (we can't know what will happen if some very strong organization (e.g. a nation-state actor) will heavily invest in exploiting some Go program), but it still isn't memory safe, as per the definition in Wikipedia:

> Memory safety is the state of being protected from various software bugs and security vulnerabilities when dealing with memory access, such as buffer overflows and dangling pointers.
by sofixa | 2025-07-24 16:40:58+00:00
> But, not having a car is a tradeoff YOU are willing to make so your are ok with pushing it on others.

Nobody is trying to take your car away, you scared person who cannot fathom not being attached to a car.

I'm merely saying there must be alternatives to driving. I don't care what they are, they will be location dependent. If you want to drive, as long as you pay your externalities, nobody cares. But it's fundamentally wrong to gatekeep all of society behind a fundamentally inefficient manner of transport (individual cars). It's wrong socially (no social mobility), it's wrong ecologically (cars are still the most polluting way of transportation, even EVs), it's wrong economically (very inefficient), it's wrong from the amount of people dying from cars, it's wrong on every possible measurable metric.

So, alternatives should be present, so that those that wish to do so, or for whom it's better/faster/more efficient/can't use anything else because of mobility issues/can't afford anything else, they can take them. Bike lanes, trains, buses, whatever, doesn't matter.
by ARandumGuy | 2025-07-24 16:40:58+00:00
That's because the regenerative braking is applied on the brake pedal, not by lifting up the accelerator. My '14 Prius has a dashboard option to show how much of the regenerative breaking capacity is being used, and it's very easy to stay well below that limit by just gradually slowing down. The friction brakes are only really used when you suddenly stop, which is something you want to avoid anyway.
by IncandescentGas | 2025-07-24 16:41:11+00:00
The payment processors have been held criminally and civilly liable in court for processing payments for pornhub. I don't see how we can expect Visa/MC to not censor their customers, if we also intend to hold them criminally liable for the actions of their customers in such cases.

If Visa spends years in criminal court because a book store accepted a credit card payment for an illegal book, then yes, expect Visa to start placing limits on card processing for bookstores.
by bo1024 | 2025-07-24 16:41:15+00:00
(Different commenter, same experience)

Firefox, VPN, UBlock Origin, Privacy Badger, and UMatrix plugin to block cookies and javascript by default. (You can easily whitelist first and/or third-party cookies and/or JS on sites of your choice.)

Actually, usually librewolf instead of firefox, but not a big difference I suspect.
by dgb23 | 2025-07-24 16:41:16+00:00
I think the example is just not very useful, because it illustrates a domain separation instead of a computational one, which is almost always the wrong approach.

It is however useful to return a UUID type, instead of a [16]byte, or a HTMLNode instead of a string etc. These discriminate real, computational differences. For example the method that gives you a string representation of an UUID doesn't care about the surrounding domain it is used in.

Distinguishing a UUID from an AccountID, or UserID is contextual, so I rather communicate that in the aggregate. Same for Celsius and Fahrenheit. We also wouldn't use a specialized type for date times in every time zone.
by WillAdams | 2025-07-24 16:41:20+00:00
Article on one possible effect of this:

https://www.nytimes.com/2019/05/30/well/live/surgeons-hobbie...

This sort of thing is one argument for why northern European countries still have Sloyd woodworking in schools:

https://rainfordrestorations.com/category/woodworking-techni...

>Students may never pick up a tool again, but they will forever have the knowledge of how to make and evaluate things with your hand and your eye and appreciate the labor of others.

Similarly, Maria Montessori's instruction method still seems valid --- interestingly, the blocks were described by one woodworker I knew as quite challenging to make because of the solid/density requirement and the overall size of the largest block.

That said, why not extend touchscreens into the real world as was done with early versions of Logo?

https://el.media.mit.edu/logo-foundation/what_is_logo/histor...
by okokwhatever | 2025-07-24 16:41:36+00:00
I´m doing the work of 3 dudes alone (dev, qa, devops). My delivery is 100% faster and my development practice allows me to reduce the bugs dramatically.

Maybe my stack is easier or the product is not too complex but if I take my own experience as a truth, my truth, (we) Engineers are going to suffer for a long time.

Everybody will have different experiences but my guess not all developers are working in frontier projects so their jobs will be the first to suffer the change. At least for me this is going to happen.
by 0x737368 | 2025-07-24 16:42:08+00:00
Doesn't matter how you look, if you can play those kind of minutes and perform like they do you're in athletic shape. Luka and Jokic don't need to be super slim like Edwards, Morant and Westbrook because they don't rely on supernatural athleticism - they rely on other facets of their game where having a bit more mass is advantageous or at the very least not detrimental.

In any case, Doncic got bullied and embarrassed by Mavs FO's comments about his weight and work ethic(complete lies to try and save face for their terrible and shady trade) so you can look forward to a slimmer Luka next season.
by avinassh | 2025-07-24 16:42:42+00:00
> Aight, I'll bite: continue or stop... and do what? As others have pointed out, the only safe option to get back to a consistent state is to roll back to a safe point.

Attempt to recover! Again, not all checksum errors are impossible to recover. I hold the view that even if there is a 1% chance of recovery, we should attempt it. This may be done by SQLite, an external tool, or even manually. Since WAL corruption issues are silent, we cannot do that now.

There is a smoll demo in the post. In it, I corrupt an old frame that is not needed by the database at all. Now, one approach would be to continue the recovery and then present both states: one where the WAL is dropped, and another showing whatever we have recovered. If I had such an option, I would almost always pick the latter.
by 0x500x79 | 2025-07-24 16:42:44+00:00
I think this is an easy thing to wrap my mind around (since I have been in both camps):

AI can generate lots of code very quickly.

AI does not generate code that follows taste and or best practices.

So in cases where the task is small, easily plannable, within the training corpus, or for a project that doesn't have high stakes it can produce something workable quickly.

In larger projects or something that needs maintainability for the future code generation can fall apart or produce subpar results.
by klabb3 | 2025-07-24 16:42:56+00:00
I don’t know the details about Solid, but I think one interpretation is:

One of your personal devices is a server. The (only meaningful) difference of the server node is that it is always online, and it’s reachable. This unlocks a lot of use cases - one of them is to be able to receive messages from other people when you’re offline. Another one is to run sync infra for your own apps. Think eg note taking- and calendar apps which you want to have sync with your laptop & phone. This currently requires the vendor to distribute their apps as services, even if it’s only your own data. If you control the server, these things can happen without relying on vendor services (you only need their software).

In this context, your criticism is similar to that of hardware vendors like Apple. Can they snoop on your phone? Privacy is not binary: you could run a Solid instance on a device you control (your own hardware), or self hosted on eg Hetzner, or (for the majority), by a managed hosting company. The latter is how consumer products like Google Photos or iCloud already works – except now you separate the vendor from the operator to change the incentive structure.
by Sohcahtoa82 | 2025-07-24 16:43:02+00:00
Either you're lying about your driving habits, or there's something wrong with your car.

I've got a Model 3 Performance which came with the Michelin Pilot Sport 4 tires which are only warrantied for 30,000 miles. I had them for 5 years and 35,000 miles and they STILL had plenty of tread left. I had to replace them anyways because I hit a nasty pothole that caused the tread to separate.
by ameliaquining | 2025-07-24 16:43:07+00:00
I think it's also worth noting that Rust's maintainers acknowledge its various soundness holes as bugs that need to be fixed. It's just that some of them, like https://github.com/rust-lang/rust/issues/25860 (which I assume you're referring to), need major refactors of certain parts of the compiler in order to fix, so it's taking a while.