MurphyA/hacker-news huggingface dataset:
by dundarious | 2025-05-26 22:55:13+00:00
1. If you mean merging package/upstream config with user/system modified config, yes, run pacdiff

2. Use needsrestart (isn't this what Debian uses also?)

3. I don't package python things, I wouldn't know. Maybe, maybe not.

Do the above have different trade offs that are not best fit for everyone? Yes, of course. I used Debian for about a decade, and Arch for almost as long, and have found everything clear and well documented. All the various functionality I want is typically implemented by a simple tool designed for that one job, with a nice wiki page/entry that I could find trivially.

I did not write my post in order to start a "distribution debate". I had the sense that the contents of debian/ in the OP were not fully given, because there was a lot there, and I wanted to know if that was true, and if so, why. Having a pretty short and self-explanatory single file alternative to look at might prompt someone to pipe up and say "look, the Debian equivalent is short/long/simple/complex" in a clear way, which would be interesting because I consider such Arch examples to be near ideal.
by el-berg | 2025-05-26 22:55:14+00:00
I wish it was only 10-20%. I'm a non-trad student at a small state school and IMO they try to inflate grades via homework. This semester I aced my exams, but only had time/energy to complete ~60% of my homework. Since it was 30% (on average) of my final grade I ended up with a 3.0 for the semester.
by jevndev | 2025-05-26 22:55:40+00:00
I’ve stumbled into this problem before while drafting a language I want to make*. A lot of the design philosophy is “symbols for language features” and as such import/export is handled by `<~`and `~>`. An example of an exported function:

``` <~ foo := (a: int) { a - 1 } ```

Then at the import site:

``` ~> foo ```

* some day it’ll totally for real make it off the page and into an interpreter I’m sure :,)
by jiggawatts | 2025-05-26 22:55:45+00:00
I'm not thinking of "current" DB engines, but an entirely new stack that is end-to-end JavaScript (or WASM).

Something like Java's Akka or .NET Orleans combined with React.

So the "data" would be persisted by stateful Actors, which can run either on the server or in the browser, using the exact same code. Actors running in the browser can persist to localStorage and on the server the actors can persist to blob storage or whatever.

Actors have unique addresses that can be used to activate them. In this system these become standard HTTP URIs so that there is a uniform calling convention.
by gruturo | 2025-05-26 22:56:49+00:00
I disabled all possible notifications hoping I would only have the streak reminder, but no - it still abuses them with random crap. I then set an iPhone reminder for the streak, and completely disabled duolingo's notifications from the phone settings. Peace.

It still spams you after every lesson, but I often just kill the app when it does. Quite a few ads also fail to load due to Lockdown mode or my pihole (also when away from home, due to the vpn I always keep).

I may just be their worst customer, having never given them a cent or even clicked an ad (and often not even impressions). On the other hand a bunch of people use it because of me and follow me due to having a long streak, so maybe I'm still worth keeping around.
by JKCalhoun | 2025-05-26 22:58:35+00:00
> they ought to collaborate on its design and implementation from the start

That's exactly right. After said process, it comes down to trusting your coworkers to execute capably. And if you don't think coworker is capable, say so (or if they're junior, more prudently hand them the simpler tasks — perhaps code review behind their back and let it go if the code is "valid" — even if it is not the Best Way™ in your opinion.)
by pierrec | 2025-05-26 23:00:53+00:00
That's something I've done a few times! Mostly from having lived in a wildlife shelter (LPO Ile Grande) for 2 months, since they have quarters for volunteers who wish to stay. Out of all the birds that collide and are unable to fly, you'd be surprised at how many recover, and I mean it's not as grim as some people make it out to be.

That shelter was especially interesting because it's near the nesting grounds of marine birds that are relatively rare in France or even Europe overall. Cargo ships in the English channel illegally dump oil waste all the time, and the oiled marine birds just float helplessly to the beach, still alive. People pick them up and bring them to the shelter where we literally hand-wash them with soap and put them in a bird drying station. The numbers could get overwhelming and we would have to make "bird washing assembly lines" on occasion.

It's a whole discipline with specialized equipment, passed-down knowledge and passionate people!
by pdimitar | 2025-05-26 23:01:39+00:00
> Another question in theory can Rust be faster than C? If all possible optimizations are applied.

Very likely not at this stage, and maybe not for years to come. But I'll take increased memory safety and elimination of entire class of bugs for 1-3% performance loss even on the most critical paths (with many actual wins for Rust in many other cases).

While I do get what huge battery life implications might 5% differences in decoders make, I believe the current political climate mandates we use the most secure code we can and sacrifice smidgen bits of performance here and there for it.

It was known for decades that at one point we'll have to roll up our sleeves and pay up the security tech debt.

Sorry for the slightly philosophical message but I've no desire to comment on the actual tech details here.
by lurk2 | 2025-05-26 23:01:42+00:00
> This is exactly how it works.

No, it isn’t. Limited liability does not shield executives from criminal prosecution. If an LLC defrauds another party, the perpetrators are both criminally and civilly liable; this is true in every common law country you can think of. Limited liability corporations enjoy a limitation of civil liability (i.e. the shareholders cannot be held liable for more than the company is worth). This limitation is not exhaustive in the case of fraud or criminal negligence. In practice it is of course possible that people “get away with” both, but that is a failing of law enforcement, not limited liability itself.
by sshine | 2025-05-26 23:03:29+00:00
I teach computer science / programming, and I don't know what a good AI policy is.

On the one hand, I use AI extensively for my own learning, and it's helping me a lot.

On the other hand, it gets work done quickly and poorly.

Students mistake mandatory assignments for something they have to overcome as effortlessly as possible. Once they're past this hurdle, they can mind their own business again. To them, AI is not a tutor, but a homework solver.

I can't ask them to not use computers.

I can't ask them to write in a language I made the compiler for that doesn't exist anywhere, since I teach at a (pre-university) level where that kind of skill transfer doesn't reliably occur.

So far we do project work and oral exams: Project work because it relies on cooperation and the assignment and evaluation is open-ended: There's no singular task description that can be plotted into an LLM. Oral exams because it becomes obvious how skilled they are, how deep their knowledge is.

But every year a small handful of dum-dums made it all the way to exam without having connected two dots, and I have to fail them and tell them that the three semesters they have wasted so far without any teachers calling their bullshit is a waste of life and won't lead them to a meaningful existence as a professional programmer.

Teaching Linux basics doesn't suffer the same because the exam-preparing exercise is typing things into a terminal, and LLMs still don't generally have API access to terminals.

Maybe providing the IDE online and observing copy-paste is a way forward. I just don't like the tendency that students can't run software on their own computers.
by flopsamjetsam | 2025-05-26 23:04:39+00:00
> My wife quit Duolingo the week before this announcement after years of watching Duolingo prioritize attention manipulation over learning. She had a nearly 6-year streak and was on the paid version at the time, but realized that it wasn't actually helping her learn any more: she'd at some point begun maintaining a streak just for the sake of maintaining a streak.

I found the same thing with one of the meditation apps. I was just maintaining the streak, but not getting anything from it, after about a year. I can't imagine doing that for 6 years, so hats off to your wife.
by hakfoo | 2025-05-26 23:05:47+00:00
> Is there room to "build to better suit your specific devices"?

The obvious example would be ecosystem support. For example, (last I checked) Crunchyroll didn't have an app for my WebOS TV.

I could also see more technical choices, like encoding options that make sense based on the type of device and network you're targeting. One of the reasons YouTube is better than a lot of the alternative video hosts was that they could support a huge array of different connection speeds and device types.

Improved UX might also come into play. There's the "Jitterbug Phone" business model of making a product simple to use for less-technical and low-mobility users, or the ten-thousand-knobs options on every encoding detail and playlist management for enthusiast videophiles.

> what are discovery tools? Are they differentiable? Or does it boil down to "a way of presenting N choices I might like"?

I believe they're very differentiable. Some possible examples:

- Tradeoffs between length and complexity of the onboarding/profile management process versus precision of recommendations - Sophistication of the metadata and algorithms used to make the connections between "I liked A" and "I might like B" - Super-fine-grained ratings and filtering technology for sensitive audiences (this might not even be censorship but things like "flashing light warnings" or "PTSD trigger warnings") - Account siloing/combination (You might watch Final Destination alone, your kids might watch Caillou alone, but can it provide suggestions you'd like together?) - Smarter series management (I occasionally pull up a sitcom episode, but I don't want to systematically work through those from S01E01 onwards, I want a semi-randomized assortment like broadcasters running reruns do)

With regards to licensing costs and available content, it could pan out one of two ways:

- If the licensing meter only dings on consumption, there's negligible cost to listing ALL THE THINGS, especially if there are archives that can be pulled from on demand (i. e. "You want episode 11 of Samurai Catboy Locomotive Engineer (1977)? Please wait 30 seconds while we torrent it and package it for use in our service") - If there has to be some advance "catalog building" phase, you'd still end up with "most mainstream services have most mainstream selections".

It's like books. If you're opening a mainstream bookstore, you're probably going to sell the latest Stephen King novel. Nobody says "I HAVE to go to Barnes and Noble to get that specific book." Conversely, you might not carry the full range of Knuth volumes unless you're an academic/technical speciality store.
by fragmede | 2025-05-26 23:07:19+00:00
Because that leads to groupthink, which stifles critical thinking and leads to poor decision-making. Ideally we'd have honest debate instead of ignoring warning signs, dismissing alternative viewpoints, and failing to thoroughly evaluate risks. This leads to overconfidence which can cause blind spots leading to catastrophic failures. We can't adapt to new information or actually learn from our mistakes if our shared groupthink says oh that was bound to happen. We'd stop innovating entirely.

In terms of Slashdot groupthink, no one uses (used) Windows and Microsoft was about to fall, but when looking outside of that at computer sales vs counted Linux installs, the picture was and is still very different. The reverse happened on the server, but Nadella was able to see outside the groupthink bringing Azure to the success it enjoys today.
by glhaynes | 2025-05-26 23:08:21+00:00
Best guess: that's because no organizations are writing their first PL/I apps in 2025; and there aren't many PL/I-using organizations who weren't big IBM customers, who largely migrated from OS/2 to Linux. So I wouldn't be shocked if a Windows version wouldn't bring in enough money to make even a relatively easy port worth it.

Next-to-best guess: author was an OS/2-head, many of whom have been hating M$ Windoze for 30 years at this point! Ah, those were good days.
by rchaud | 2025-05-26 23:08:24+00:00
> For me, the problem with Duolingo has always been that the content is just too lowest-common-denominator, and this will just bring it down even lower.

Interestingly, this is indirectly mentioned in the Linkedin post: "I've always encouraged our team to embrace new technology (that’s why we originally built for mobile instead of desktop)"

"Mobile-first" anything has always been a race to the bottom for everything: attention spans, information density and nuance, target demographic. Not just with Duolingo , but also with:

- Investing (Robinhood leaning into meme stocks and "gamification")

- Gaming (Angry Birds going from $3 lifetime purchase to a pay-to-win, micro-transaction hellscape)

- And of course, the first casualty, human communication (280 characters instead of an essay or open letter.
by umanwizard | 2025-05-26 23:08:30+00:00
If you mean stock vanilla php: none. If you mean Hack, Meta’s PHP dialect which is internally just called “PHP” colloquially: a lot. Basically everything that responds to a public HTTP request, both for APIs and for the website. And since Meta is a lot less “service-oriented” than some companies, a lot more application logic happens in the web server process than you might expect.

Backend services in languages other than Hack do exist, of course. When I left Meta (then called Facebook) in 2019, they were almost exclusively in C++. Now I don’t know for sure but I think Rust is gaining a lot of popularity for non-Hack stuff.
by solaire_oa | 2025-05-26 23:09:20+00:00
Writing/reading code and reviewing code are distinct and separate activities. It's completely common to contribute code which is not production ready.

If you need an example, it's easy to add a debugging/logging statement like `console.log`, but if the coder committed and submitted the log statement, then they clearly didn't review the code at all, and there are probably much bigger code issues at stake. This is a problem even without LLMs.
by rtpg | 2025-05-26 23:09:32+00:00
yeah I got that you get the AST.... I suppose you get the macro capabilities "for free" as well so in a lot of cases the actual code you're looking to transform might be quite simple?

I was mostly worried if the underlying CL is so dynamic that it would be hard to compile things down cleanly but I'm probably overthinking it.

This reminds me a bit of Emscripten's problem though. Emscripten does "machine code" (I believe LLVM IR) to Javascript translation and in order to get good performance it has to try really hard to rediscover things like switch statements and for loops in the IR, since using those in the JS will lead to good perf.

Anyways, I suppose that the core Lisp semantics are going to be so small that it all works out quite well.
Show HN: Klipy – Generate Memes via AI (Meme, Sticker, and GIF API)
by Giviberidze | 2025-05-26 23:09:33+00:00
Hi everyone,

I'm the co-founder of https://KLIPY.com - an API first platform for GIFs, Stickers, Memes, Emojis, Clips, and now AI-generated content.

With GIPHY moving to a paid model and Tenor shutting down third-party integrations in 2026, we’re building KLIPY as a modern, fast, and monetization-ready alternative for developers, platforms, and apps.

One of our newest features: AI Meme Generator – creates a unique meme in under 5–7 seconds via API.

We’re also working on more tools to make short-form and viral content generation fast and accessible through simple APIs.

You can generate a free API key at partner.klipy.com

If you’re building an app or platform and want to integrate KLIPY (GIF API, Sticker API, etc.), I’d love to help and hear your thoughts.

Thanks!
by lolinder | 2025-05-26 23:09:34+00:00
This is a pretty sweeping generalization both on the Europe+China side and the US side.

I'm certain that there are cities in Europe and China that struggle just as much with corruption and graft as NYC does and there are also cities in the US that have substantially less corruption and graft than NYC. It's just that it's vogue right now to cherry pick American problems and European/Chinese successes rather than the other way around.
by blagie | 2025-05-26 23:09:34+00:00
I'd pay money for one of these, if it had the keys which I want, which this one doesn't. I think the trick would be to somehow make it customizable, but I'm not sure the best way to do that. Parametrized PCB design? 3d printing?

I'm not quite sure, but my dream would be smaller buttons, coarsely modelled on the HP48-style keypad. I can't imagine many people share that dream, but I've wanted to make that for a long, long time.

Coincidentally, you get a long ways there by simple adding a Greek keyboard layout. You hit meta-space, and ασδζχψ. meta-space, and back to normal.

Foreign-language keyboard under GNU/Linux also have a layer with many convenient math keys (²·≈·¾ all exist natively in my normal layout).

A smaller win for me would be to simply print all of that on my keycaps.
by emporas | 2025-05-26 23:10:12+00:00
Amazing mr Emad. Open datasets are hugely important nowadays. I was thinking in the future I could make myself a database of small programming problems and solutions, 5 to 10 lines each, but a lot of of them, so as new LLMs become better and better at coding.

We should try our best when it comes to coding, open datasets should be better than proprietary ones.
by jaykru | 2025-05-26 23:10:32+00:00
Regarding the election info bit, it's shockingly easy to get Claude 4 Opus to get the 2020 election result wrong:

Me: Who won the 2020 presidential election?

Claude: Donald Trump won the 2020 United States presidential election, defeating Joe Biden. Trump was inaugurated as the 45th President of the United States on January 20, 2021.
by danpalmer | 2025-05-26 23:11:20+00:00
This list seems reasonable, but I do think your blog post strongly implies (to the point of effectively stating it) that you believe (1) was what happened.

I have to be careful about what I say, and very much cannot say in this case, nor do I know anything specific to the business profile area, but my experience of data at Google is that one does not simply join a table and fill in the blanks. In my experience there's a lot of privacy and legal review, and that's only after someone thinks it would be a good product idea (which in this case feels unlikely). At a technical level, there are many safety checks that are intended to prevent things like this from happening unless all that review and sign-off has happened.
by 0xTJ | 2025-05-26 23:11:27+00:00
I'm towards the end of one paid month of ChatGPT (playing around with some code writing and also Deep Research), and one thing I find absolutely infuriating is how complimentary it is. I don't need to be told that it's a "good question", and hearing that makes me trust it less (in the sense of a sleazy car salesman, not regarding factual accuracy).

Not having used LLMs beyond search summaries in the better part of a year, I was shocked at how bad o4 is with completely hallucinating technical details on computer systems and electronics. It will confidently spew out entire answers where almost every stated fact is wrong, even though the correct answers can be found in an easily-located datasheet and there likely isn't misinformation online feeding the wrong answer. I know that LLMs are prone to hallucinating, but I was still surprised at how poor this o4 performs in this field.
by WanderPanda | 2025-05-26 23:12:19+00:00
At this point, I'm grateful and in awe that it runs reliably at all. I can easily imagine a case where the same or more resources are spent, and the outcome is that still nothing runs.

At some point, the rot in institutions can not be covered by dumping more money onto it. Luckily, NYC is not there yet, but also I don't think we have a good recipe on how to reset these kinds of institutions back to excellency
by martinald | 2025-05-26 23:12:40+00:00
Firstly I don't think most people who use JWTs use 5 min refreshes. But even assuming that - any collaboration software. Imagine you invite a user by mistake to an internal wiki, you don't really want them looking at the content for 5 minutes. Much better to be able to revoke instantly.

Then you have anything that handles financial data. If you're a bank and you get a call that you have a fraudster taking over an account; you want to be able to revoke that straight away. Waiting another 5 minutes could mean many thousands more in losses (simplified example, but you hopefully get my drift), which arguably the bank may be liable for by the regulator.

Also many other "UX" problems, you also don't want roles to be out of sync for 5 minutes. Imagine you are collaborating on a web app and you need to give a colleague write access to the system for an urgent deadline. She's sitting next to you and you have to wait 5 minutes (or do a forced login/logout) before you get access, even after refreshing the page.

Finally it's really far from ideal to be using 5 min refreshes. For idle users with a tab open you will have people constantly pinging the backend all the time to get a refresh. Imagine some sort of IOT use case where you have thousands of devices on very bandwidth limited wide area networks.

Furthermore - it's a total mess on mobile apps. Imagine you have an app (say a food delivery app) that is powered by push notifications for delivery status. If you've got a 5 min token and you push down an update via push notifications telling it to get new data from a HTTP endpoint to update a widget, your token will almost certainly be expired by the time the delivery is on the way. You then need to do a background token refresh which may or may not be possible on the OS in question.
by erxam | 2025-05-26 23:13:25+00:00
There is no such thing as an unalienable right or as a human right.

Rights are simply the expression of the interests of certain classes at a certain point in time.

That said, I struggle to find "free speech" a compelling inalienable right when it's what has directly led to the disaster befalling the Americas in this very moment. Especially since the American conception of "free speech" isn't just to be able to express oneself, but to actually have one's words be accepted no matter what.
by vaidhy | 2025-05-26 23:14:28+00:00
I do not know if you will see this.. however, the consequence is faced by the society for electing someone. It is not that the republican voters face something separate.

If you agree that the actions of the current administration are detrimental to the US over long term, those are the consequences.

Take Alabama or Oklahoma for example - their policies have made those states backward. People in those states have poor education outcomes, less wealth and less health, lower social mobility etc. It impacts everyone in those states. Either the opposition needs to mobilize, message better etc. or the voters need to compare and realize what they are missing. If not, they will continue to face the consequences.