MurphyA/hacker-news huggingface dataset:
by const_cast | 2025-06-18 05:28:16+00:00
I think overall it's a niche feature, and I'm honestly not sure if XWayland allows X forwarding. I know it preserves pretty much all X behavior, including grabbing attention from other windows and such if you give it permission. I don't know how the implementation, specifically, works. Like if each application is under it's own X screen.

But, I think if you really rely on X forwarding you should keep using X. The last time I used X forwarding the performance was significantly worse than newer protocols like RDP. X is a very chatty protocol, which performs poorly on a lot of networks.
by darkstar_16 | 2025-06-18 05:30:39+00:00
others have articulated it much better but I think the difference isn't in what it can do. But working with existing docs - subtle things like font differences, formatting issues, working with the rest of the world that is MS dominated, keyboard shortcuts for excel warriers. LibreOffice is very capable on it's own, as a drop-in replacement is where it doesn't work most of the time. And the difference isn't even huge, but people being people give up fast.
by const_cast | 2025-06-18 05:31:53+00:00
GNOME and KDE are the most complete implementations, yes, but that's just a function of developer time. Keep in mind that's better than what we had with X - which had 1 implementation, that couldn't be touched with a ten foot pole because of how fragile said implementation was.

> "Here's a rich native toolkit so all the new software will look and work and theme consistently"-- a well-known and directly user-facing friction point, so how did they miss that?

The problem is that application toolkits are a step above window managers and compositors. That's really an application developers choice, not a desktop's choice. Developers want to use Electron, and there's nothing we can do about that.

We can get consistently themed apps... if everyone hops on Qt. Which they won't because C++ is evil. People want to shove HTML and CSS into their music player and theme it like they do a website, so here we are.

This isn't a solved problem on any platform, even really really locked down ones like iOS. Half my iOS apps are web views which don't follow the look and feel of iOS and have inconsistent behavior as compared to the system. And iOS is the best about this honestly - it's, like, way worse on Windows which has half a dozen competing toolkits from Microsoft alone.
by consumer451 | 2025-06-18 05:32:20+00:00
Ha. This is why the best lawyers in the world work for these people. Over drinks, when I brought up some of the blatant dark patterns in the ad market, someone who worked at one of the biggest companies in the world responded to me bluntly: "yeah, sure, but have we ever lost a case in court over click fraud? No, we have not."
by bawolff | 2025-06-18 05:32:43+00:00
> Plausibility and evidence, for which there's plenty in this case.

I don't know i agree. The article didn't cite any evidence, and Iran would have lots of motivation to lie here. E.g. it could be a face saving move, trying to shift blame for the war going badly from a failing military to being the fault of traitors who installed whatsapp. It could be a ploy to prevent citizens from having e2e encrypted comms, lest they plot a revolution (from what i understand Iran has blamed whatsapp for protests in the past). It might just be a desperate regime with a crumbling military that is out of options and willing to grasp at any straw no matter how slight.

Not to say that i think its impossible. Israel has certainly pulled off crazier things in the past, but right now we have zero evidence and lots of potential motives for Iran to make shit up.
by lmm | 2025-06-18 05:33:35+00:00
> Why do you think the “national electorate” should have any say in California state laws? Is it just a basic lack of understanding civics, or do you think states, cities and local communities should be abolished because people in Alabama should actually be in charge of people in Sacramento?

Immigration law isn't California state law, it's federal law, duly passed (and frankly any other approach would be crazy, unless you're proposing to introduce border checks between states). If the duly elected federal government felt it appropriate to leave the matter to the states, they would! If it was constitutionally inappropriate, the legislature would strike it down. States set their own laws on a lot of matters, but they don't get to opt out of federal laws they don't like.
by em-bee | 2025-06-18 05:34:21+00:00
that's not fair. window managers are not regular apps. wayland has a different architecture that changes how windows are managed. this also has to affect things like taking screenhots, screen sharing, recording, locking, screensavers, etc.

intercepting/sending keystrokes in particular had to be redesigned to make to make it more secure. without that there would not have been a point to wayland at all.

your actual apps that just display stuff on the screen and take your input all still work though.
by tcoff91 | 2025-06-18 05:37:31+00:00
Adding print statements sucks when you are working on native apps and you have to wait for the compiler and linker every time you add one. Debuggers hands down if you are working on something like C++ or Rust. You can add tracepoints in your debugger if you want to do print debugging in native code.

In scripting languages print debugging makes sense especially when debugging a distributed system.

Also logging works better than breaking when debugging multithreading issues imo.

I use both methods.
by renegat0x0 | 2025-06-18 05:40:08+00:00
The additional bad outcome is that all content can go behind logins, and paywalls. What then? You will have to provide data, email in every corner of the web to lo in.

There are also good crawlers that search for sites, like Google, or marginalia which gives your page recognizibility. If you lock everything from the web, we'll it disappears from the web.
by 29athrowaway | 2025-06-18 05:40:44+00:00
Try this

- XFCE

- Bluecurve theme for GTK, cursors, XFWM4: https://github.com/neeeeow/Bluecurve (scale the xpm files from the XFWM4 theme 2x: mogrify -resize 200% *.xpm)

- Default Bluecurve theme font: Luxi Sans Regular

- Tiled wallpaper from KDE 1: https://github.com/KDE/kde1-kdebase/blob/master/pics/wallpap... (scale it 2x using a external tool, and use it tiled)

- Icons: https://www.pling.com/p/1012233/

Once you are done you can listen to this to have a more immersive retro experience: https://modarchive.org/index.php?request=view_player&query=3...
by bawolff | 2025-06-18 05:40:50+00:00
I don't think anyone is suggesting invading with boots on the ground. It would be a blood bath, as you say, and nobody seems interested in that.

I suspect what Israel is hoping for is that if they disrupt Iranian internal security enough, Iran wont be able to put down protestors. In the past there have been protests that Iran had to put down violently, so its not crazy. At the same time, hard to imagine anyone going out to protest while bombs are falling, and external threats tend to increase support for incumbants. So probably a long shot.

What they will probably settle for is blowing up their nuke stuff and missles, hoping that the economic disruption of the war is enough that its too expensive for iran to rebuild it.

Of course, nobody really knows.
by jonhohle | 2025-06-18 05:43:18+00:00
I don't think it's fair to say they _never_ competed on graphics. The Super Nintendo was comparable and surpassed the Genesis in some graphics areas. The Nintendo 64 was a 3D monster compared to other consoles at the time. On paper, the GameCube out performs the PS2. It wasn't more powerful than the Xbox, but not a generation behind.

It wasn't until the Wii that Nintendo stepped out of the hardware race. Somehow this has been retconned into Nintendo never focusing on hardware.

If they thought it would sell more systems, they'd compete. The Switch 2 is evidence that it doesn't matter.
Show HN: I made a picturebook app for my nephew where he is in the pictures
by richkuo | 2025-06-18 05:43:29+00:00
Hi HN,

Went to the Luma ai hackathon.

Met a guy who vibe coded a legit app with 0 coding experience - I taught him shortcuts which was quite fun to see him 10x his Cursor productivity.

Anyway, this inspired me to vibe code something, so I made this short story generator for my nephew.

It takes a profile image, gpt-image-1's it into an avatar.

Yes I know what you are thinking, privacy! The profile image part is completely optional - you can upload pretty much any image you'd like, already avatar-ed images work great.

Then you can create stories with the avatar as the main character in all the story images.

Stories teach a lesson and moral, and are age appropriate.

Also threw in some great narration voices since I use Elevenlabs all the time.

Nephew's feedback is overwhelmingly positive, but he is 1.2 years old so...

Hoping to get feedback from folks here as well.

Stats for nerds: Built with: React Native Expo (first time using Expo - props to them for coming so far) Supabase (first time as well - love it) Elevenlabs gpt-image-1 (i tried over 5 different api's for i2i and this one is the best BY FAR)

Made with 80% Cursor, 20% by hand

Bare bones story generator MVP was done in an afternoon, more features added over 1.5 months like i2i, narration, auth, iap, etc.

First 2 stories are free (24 images), and I put 250 bucks into openai, so it should last a few days. Openai image rate limits are kinda low for my tier, so some images might not generate - if this happens, please let me know so I can add mo money to upgrade my tier.

If you encounter any issues or find a bug or have suggestions, please let me know.

Free to download in the app stores, https://www.onceupona.ai

Give a upvote on Product Hunt if you enjoyed: https://www.producthunt.com/products/once-upon-a

Thanks! Rich
by zimpenfish | 2025-06-18 05:43:44+00:00
> the Wii [.vs.] a powerful shader-capable CPU like the PS3 and Xbox 360

Outsold both the PS3 and XBOX360 by 15M units though. Given the lower hardware costs of the Wii (I've seen estimates of ~$160 compared to $840 for the PS3 and $525 for the Xbox 360 - both higher than launch price btw!), I'd suggest Nintendo made the right choice.
Show HN: DeepTeam – Open-Source Red-Teaming Framework for LLM Security
by sidmurali23 | 2025-06-18 05:45:39+00:00
Hi HN, I’m part of the Confident AI team and we’re excited to share DeepTeam, an open-source framework that makes it trivial to penetration-test your LLM applications for 40+ security and safety risks. It has gained 400 on GitHub over the last month, and we’d love your feedback!

Quick Introduction

- Detect vulnerabilities such as bias, misinformation, PII leakage, over-reliance on context, harmful content, and more - Simulate adversarial attacks with 10+ methods (jailbreaks, prompt injection, ROT13, automated evasion, data extraction, etc.) - Customize assessments to OWASP Top 10 for LLMs, NIST AI Risk Management, or your own security guidelines - Leverage DeepEval under the hood for robust metric evaluation, so you can run both regular and adversarial tests

Getting Started

# Install DeepTeam pip install -U deepteam # Clone the repo and run the example git clone https://github.com/confident-ai/deepteam.git cd deepteam python3 -m venv venv && source venv/bin/activate python examples/red_teaming_example.py

In seconds you’ll see a pass/fail breakdown for each vulnerability along with detailed test-case output. You can convert the results to a pandas DataFrame or save them for downstream analysis.

Why DeepTeam?

Most LLM safety tooling focuses on known benchmarks—DeepTeam dynamically simulates attacks at runtime, so you catch novel, real-world threats and can track improvements over time via reusable attack suites.

We’d love to hear:

- Which vulnerabilities you worry about most - How you integrate red-teaming into your CI/CD pipelines - Feature requests, contributions, and your toughest jailbreak stories

<https://github.com/confident-ai/deepteam>
by bluefirebrand | 2025-06-18 05:46:24+00:00
I gave this advice to an intermediate dev at my company a couple of years ago

Something along the lines of "Hey, you're a great developer, really smart, you really know your stuff. But you have to stop reaching for the most complicated answer to everything"

He took it to heart and got promoted at the start of this year. Was nice to see. :)
by bitpush | 2025-06-18 05:47:16+00:00
Great presentation. I admire folks who are articulate & thoughtful.

But .. at the end of the day, he's presenting a collaborative editor, with branching and merge. That's it.

The speaker also does this interesting slight of hand, which you'll miss if you dont pay attention. The issues he points out for Google Doc / Figma are equally applicable for the system he's presenting. Most people, in a professional setting, are not micromanaging. The VP of design is not sitting there thinking "gee, I wonder what Sarah is doodling right now. I wanna go and watch her work". If anything, they are thinking Sarah will let me know when I have to review. Same for a thesis advisor.
by octo888 | 2025-06-18 05:47:28+00:00
It's great at mocking up some HTML pages with eg Tailwind and static site generators. Give it some ideas, a bit of copy, a few colours and it'll create some pages filled with plausible sounding text. I can imagine using it in front of clients to give them an idea of what a new site could look like.

Easily adjusted with things like "the colour palette is a bit bright, use more pastels" or "make it more SEO friendly" and it often easily generates a large todo list/set of changes based on minimal input

My friend was mulling over a product concept and I used it to design a landing page and it helped her see how easily you can create a website to sell the product. It took ~15 minutes and I'm a web dev noob. (Obviously setting up a real ecommerce site is a little bit more work)

It makes sense it's good at HTML because of the huge body of public data available.
by PaulDavisThe1st | 2025-06-18 05:47:29+00:00
> Now you can't run 50k without a crew.

Thousands of people run 50k's without a crew every year, worldwide. Maybe even just within the US, even.

Also, Hummels did his traverse in February; TFA is about doing something in July. In Death Valley, that's a world of difference.
by FirmwareBurner | 2025-06-18 05:47:32+00:00
How much online shopping could you do from your PC in 1980? How many people had smartphones in 1980?

That's why sw devs salaries went up like crazy in our time and not in 1980.

But what new tech will we have, that will push the SW dev market demand up like internet connected PCs and smartphones did? All I see is stagnation in the near future, just maintaining or rewriting the existing shit that we have, not expanding into new markets.
by palmotea | 2025-06-18 05:48:16+00:00
> The people who believe this stuff don't have kids, so they lose out in the Darwinian race, and the people with pro-natalist beliefs continue the human existence and more often pass down those beliefs. So regardless of who thinks they're right, evolution wins in the end.

Not necessarily. Parents aren't the only source of beliefs: as an extreme example indoctrination in forced boarding schools for young children can nearly totally eliminate parental influence.

So if anti-natalists want to beat evolution, they've got a window right now to crank up the indoctrination to keep humanity on a glide path towards extinction. IMHO, procreation has historically driven by a desire for sex, but technology has decoupled those. It'll take some time for explicitly pro-natal psychology to get equivalently powerful.
by muzani | 2025-06-18 05:48:35+00:00
1) how to diagnose. do I need it? My mental state has been pretty good - relationships are great, kids pounce on my when I get home from work, overly motivated, etc. A lot of people who propose meditation come from a muddled default state to a clearer one. So it feels like someone shortsighted suggesting glasses to someone with good vision - most of the time nothing happens because we already spend our lives mindful.

2) how to treat

3) how to fit this into your schedule, esp. as a founder, mom, etc
by bluefirebrand | 2025-06-18 05:48:36+00:00
> To modulate DRY, I try to emphasize the “rule of three”: up to three duplicates of some copy/paste code is fine, and after that we should think about abstracting

Just for fun, this more or less already exists as another acronym: WET. Write Everything Twice

It basically just means exactly what you said. Don't bother DRYing your code until you find yourself writing it for the third time.
by paulddraper | 2025-06-18 05:50:02+00:00
These words convey unpleasant/distasteful/crude meanings.

I’m not sure why you think it’s the sound itself rather than the word/meaning.

“Fag” the British slang vs “fag” the American one.

—

I should also note — I fear the pedantry is warranted — that words have not only literal meanings but equally important connotation.

For example, racial slurs refer literally to the race, but also connotate a certain emotion/perspective.
by Kiro | 2025-06-18 05:53:51+00:00
> I see claims from one side that “I used $LLM_SERVICE_PROVIDER to make a small throwaway tool, so all programmers will be unemployed in $ARBITRARY_TIME_WINDOW”, and from the other side flat-out rejections of the idea that this type of tool can have any utility.

No, the one side is saying that all their code is written by LLMs already and that's why they think that. In fact, I would say the other side is the former ("it works for throwaway code but that's it") and that no-one is flat-out rejecting it.
by gnabgib | 2025-06-18 05:54:06+00:00
Original source (AFP which Fox mentions and phys.org reprints): https://phys.org/news/2025-05-ancient-bread-turkey-recreates... (https://news.ycombinator.com/item?id=44151339)

The interesting part of the story is they've baked a replica (May 2025).. not discovered it (Sept 2024)
by throwaway2037 | 2025-06-18 05:55:26+00:00
> elegant language

Are there any languages that would qualify and are in common use in industry? I'm not interested in some PL fantasy language that no one outside of academia uses. JavaScript, Python, Ruby, PHP (see double-ended hammer!), C, C++, C#, Java, Go, Rust all have numerous warts, but are heavily used in industry. None of them are particularly elegant in 2025. In the modern era, it is impossible to separate the language itself from the standard library. Even if the language is elegant, I am sure the standard library will have all kinds of awful warts (probably date/time) -- or vice versa.
by notpushkin | 2025-06-18 05:55:49+00:00
Just for clarification: they are required to refund customers in some jurisdictions (apparently Australia was the reason, indeed), so they might have decided to do this for everybody

a) out of the kindness of their heart (i.e. good public image), or

b) just not to deal with complexity of introducing different refund schemas per region.

Probably a mixture of both.
by seabrookmx | 2025-06-18 05:56:22+00:00
I checked this out. It's kind of neat. It's barebones from a programming perspective though.. it didn't seem to have syntax highlighting out of the box for example.

If you want a TUI text editor with CTRL-C/V and mouse support, I'd recommend looking at micro: https://github.com/zyedidia/micro
by skavi | 2025-06-18 05:56:32+00:00
My bad. My comment then should be seen as directed to the authors of the paper rather than the user I replied to.

I am less concerned with the “stolen valor” than I am with the metaphor being somewhat nonsensical due to its reference to the i5 line. “Recent Intel processors” would have been perfectly fine.

Given this paper was only posted here because it makes that connection to heterogeneous processor architectures, I think it’s fair to comment on.
by timewizard | 2025-06-18 05:58:30+00:00
> I don’t recall anyone ranting about “DEI” 12 years ago.

Do you typically read the types of publications where that was likely to occur?

> I do recall the same rants about 3 or 4 other terms that ultimately resolve to “people that aren’t me are allowed to do things”, though.

Or perhaps you've just read second hand accounts of the phenomenon without actually confronting it directly? Which is what I presume given that you've come to such a self serving conclusion about it.
by em-bee | 2025-06-18 06:01:17+00:00
apples calendar only shows you a dot on a day with events. if you have events every day that's pretty useless.

e/OS/ has a calendar app that allows seamless scrolling so that you can easily get a view with the current week at the top. and it shows events in a way that you can actually tell whats going on. it's not fossify, but way better than apples...
by mcv | 2025-06-18 06:03:08+00:00
Good leds are extremely durable and should last far longer than anything else, but it seems like there are also a lot of crappy leds on the market.

But it's also important that leds receive the right amount of power. If they receive too much, they'll burn out. We've had this issue with a system where you clip little lights on a rail. It uses GU10 spots which exist in led, so thinking that was compatible, I used leds of course. But our spots kept burning out at an alarming rate. Turns out we need a different transformer for leds. I'm using halogen now, and it works fine.
by shrimp-chimp | 2025-06-18 06:04:34+00:00
I live in a mostly rural part of Norway, and I have had a very similar experience with a volunteer group I cared deeply about. I created a Facebook account solely to access two groups they used to coordinate events. Initially it worked, but over time, Facebook’s algorithms stopped showing me new posts at the top. Since I was not an active user, I missed important messages and caused real frustration, both for others and for myself. Trying to explain why I was not seeing the content was more awkward than simply saying, “Sorry, I am not on Facebook.”

Eventually, I decided to step away. This was partly because I was not willing to engage more deeply just to make the platform work properly, and partly because of personal circumstances, such as having twins. After deleting my account, I noticed a significant reduction in stress.

These days, my children’s kindergarten uses a dedicated app to communicate with parents, and their sports club uses another (Spond, which seems fairly common in Norway). However, when I try to connect more informally with other parents, the conversation almost always leads back to Facebook, Messenger, or "insta". Even when people express understanding or sympathy for my choice to avoid those platforms, exchanging phone numbers or using alternatives rarely leads to real communication. It feels as if, socially, I cease to exist if I am not part of those groups.

So no, I would not suggest trying to push others onto Signal or similar platforms. I relate to your experience completely. Although we may have made different choices, the underlying challenge is the same: wanting to participate meaningfully, but finding that the tools we're expected to use often come with a cost we are not willing to pay.
by imtringued | 2025-06-18 06:07:09+00:00
Starship has exactly the opposite development strategy to what made the Falcon 9 so successful. Calling a complete change in process and philosophy "boring" appears to be hubris.

Falcon 9 didn't have three versions of which two were obsolete. Falcon 9 didn't put optional goals on the critical path, which are now delaying and preventing commercial launches.
by nardi | 2025-06-18 06:07:41+00:00
Having worked in many languages and debuggers across many kinds of backend and front end systems, I think what some folks miss here is that some debuggers are great and fast, and some suck and are extremely slow. For example, using LLDB with Swift is hot garbage. It lies to you and frequently takes 30 seconds or more to evaluate statements or show you local variable values. But e.g. JavaScript debuggers tend to be fantastic and very fast. In addition, some kinds of systems are very easy to exercise in a debugger, and some are very difficult. Some bugs resist debugging, and must be printf’d.

In short, which is better? It depends, and varies wildly by domain.