MurphyA/hacker-news huggingface dataset:
by snthpy | 2025-06-28 14:40:49+00:00
That's cool. Do you also take the keyboard layout into account?

A couple of years ago I was in my peak keyboard phase and was changing my layout weekly. At that time I really wanted something that would analyze which fingers were faster/slower and which big bigrams were slowing me down, especially SFBs.

My layout has been pretty stable now but I'd still love to do some analytics on it. What I would love is a tool that let's me upload my keyboard layout (including layers) and then gives me stats. For example in suspect my left pinky is a problem but that's QA' for me so you wouldn't know that without the layout.
by mistrial9 | 2025-06-28 14:42:14+00:00
or also there is an interpretation of State actions that says that a government serves itself first and foremost. Unfortunately this includes governments you like and also governments you do not like. Before rising to invective here, also consider that this is not new at all, since early Kingdoms were ruled by Kings and abuse of power was more common than not, so lots of present day politics around the entire world, do have alternates to simple depostic will.

So instead of splitting hairs about that description, lets highlight an idea that actually, millions of people doing millions of things per day consitutes its own system, despite what name you call it or who collects the taxes. Observing the actual behavior of that system ("data driven"?) has more benefits than hairsplitting of nomenclature for political studies.

Why bother writing this? because simplistic labels for government actions in international affairs is Step 2 of "brain-off" us versus them thinking.

Let's find ways to remove fuels from the fires of war. The stakes are too high. Third call to start thinking instead of invective here. Negotiation and trade are the tools. Name calling on those that work for "peace" is Step 2 again. IMHO
by TrackerFF | 2025-06-28 14:42:31+00:00
Makes me wonder, do the big social media companies store deleted data? Probably.

And if they do, will that be available to the boarder agents?

Image being denied entry, because you were 16 and made some edgy posts / memes about Trump 10 years ago. Long deleted, to the point you can't even remember them - but now unearthed by CBP agents, and that's that.
by notahacker | 2025-06-28 14:42:54+00:00
And? So does everyone else, because Transporter rideshares are cheap and incubating your own rocket programme isn't.

SpaceX relies on Europe and Taiwan for its semiconductors. Does the fact SpaceX can't be adequately served by domestic capacity and their in-house semiconductor programme is just getting started mean they don't execute?! Or is it just a little thing called trade that Americans used to believe in?
by elcritch | 2025-06-28 14:44:43+00:00
This bit is also important in my opinion:

> Once again, we are faced with the suggestion that not only are the IDF murderous maniacs, but they also have the worst aim on the planet. The monstrous IDF are such terrible shots that they fire heavy machine guns, mortars, and grenade launchers at crowds of tens of thousands, yet manage to wound no more than 1 to 5 Gazans at a time.

The following quote seems consistent with much of the journalism I’ve read about the conflict for years. It makes you become a bit cynical of the news outlets when you repeatedly see things like this https://x.com/washingtonpost/status/1929961283593367559 Peoples first impressions often last the longest.

> Later, Haaretz quotes an officer saying the intent behind the live fire was crowd control, not carnage. However, it buries this clarification so deeply that it becomes effectively irrelevant. The reader has already been presented with the moral horror headline, and that’s what will endure.

> The author admits they don’t know who is shooting at civilians near these aid distribution centres. Still, rather than consider the possibility that, for example, Hamas might be involved, the article shifts with the loaded line:
by ethbr1 | 2025-06-28 14:45:09+00:00
The problem with enunciating real positions to domestic audiences are that the extremists on both sides will literally murder anyone who compromises.

Let's not forget Israel's domestic orthodox/right-wing Jewish terrorism and Yitzhak Rabin's assassination.

Ergo, there's even more incentive for leaders to continually espouse positions they know will never happen, but which play well at home.

As a violence in poli sci professor of mine once quipped, this is a 'the only solution is killing the grandmothers' conflict. Because generational narratives of victimization are so ingrained in large parts of both societies that there is no room for compromise.

Silence extremist voices forcefully, wait a generation, and then there might be a path to peace. :(
by mjevans | 2025-06-28 14:45:24+00:00
I'm reminded of an episode of Saga of Tanya the Evil where a 'guerilla military unit' had 'taken over a captured city'. The progag's military unit had to go 'clear the city'. Their military commanders had given clear orders that all hostile forces were enemy soldiers who must be killed. They started by issuing a demand to release the hostages and allow them to exit the war zone. One of the few who didn't want to fight was shot while trying to escape. From that point it predictably went in a very bad direction.

As far as I'm aware, the citizens of Israel are free to leave that country* (free to enter another country is another issue, but they're also free to move about). It's terrorism and illegal military action to knowingly fire upon civilians. I agree with that for all sides of a conflict. The issue with the other side(s) in this conflict is that they do not present as a clearly identified military force. IMO the most proper solution is the same as evaporatively purifying water. Issue sufficient (<< heavy lifting here) warnings for civilians to leave an area, with an area for them to move to. Then any who remain in the military action area are combatants. Probably just like in the anime episode that showcases this circumstance. (war is hell, that's one of the hells.)
by d0100 | 2025-06-28 14:45:27+00:00
Since these seem like short prompts, you can send as context data that was correct on past prompts

You can create a test suite for your code that will compile correct results according to another prompt or dictionary verification

t.test( Symbol(['apple', 'banana', 'cherry', 'cat', 'dog']).map('convert all fruits to vegetables'), "list only has vegetable and cat,dog" )
by roenxi | 2025-06-28 14:45:48+00:00
> Stop trying to distill things down to a one-dimensional, teenage view of the world. It's much more complex and beautiful than that.

Are you thinking more of Narendra Modi or Donald Trump when you you say that? Democracy tends to be more of the one-dimensional teenage view of the world; ye olde voters do not do well when presented with complex ideas. They don't have the time or interest.
by hombre_fatal | 2025-06-28 14:45:53+00:00
Damn. My notes over the years are the only that gives me insight into who I was and what I cared about back then.

Every once in a while I boot up a 15 year old Evernote archive or scroll through my Notes.app to get a new glimpse into the things my younger me was up to. It's often endearing, and it also reminds me of how much I will forget about myself in another 10 years, yet these were the things that I spent my free time doing, and this person used to exist. I feel like an archaeologist into my own life.

Even my most technical notes are laced with the residue of my character that I can see myself in.

I'm super sentimental though. I could scroll back to an ancient journal entry and probably make myself tear up if I consider it long enough.
by cowpig | 2025-06-28 14:48:13+00:00
There's this belief system in San Francisco that I find borders on religion, which idolizes the corporation. It claims to be "libertarian" but when you think about it, it's the farthest thing.

The "invisible hand" effect is a powerful and just result of a free market. And so we should all fight to make markets more free, right?

A free market means perfect competition. No natural monopoly, minimal barriers to entry, etc.

The more a market is concentrated, the *worse it performs*. When you have a monopolist, they are effectively the same as a zero-representation government which sets fixed prices. The only difference is that instead of trying to accomplish whatever government objective, the price-fixing is optimized for extracting maximum surplus out of the system to benefit the singular corporate entity.

In aggregate, this minimizes economic activity.

The rhetoric coming out of SF around AI magically solving all of our problems (don't worry about climate change, the rising cost of housing, our crumbling government systems, our extractive healthcare system!) is like the stripped-down version of this perverse ideology: ignore all of the properties of the market system and say "because technology".
by nashashmi | 2025-06-28 14:48:52+00:00
I would put myself in the timeframe of the Holocaust era. Germans were next to the concentration camps and they did nothing. Germans were conditioned to support nationalism. And they trusted the nationalist party (known as nazionale Party). The Germans had convinced themselves that the Jews were different people. (And the Jews had earned much infamy during the time when Germany was suffering economically.)

Today, we see Israelis who are taught to perceive Palestinians as enemies. They see the Palestinian flag during birthrights and are taught by the IDF to hate it. And they are also taught that the west bank is dangerous and they are not to go there. Then we see IDF operations in West Bank and we see silence. We know Gaza is in a plight caused by Israel and we see silence and ignorance. Israel is bad. Israelis are bad too. And the polls have shown that 80% wish for Gaza to be cleansed, 56% support the forced expulsion of Arab citizens of Israel, 47% want the IDF to act according to the Biblical war against Jericho. That is effectively 47% want murder while 33% want expulsion (equivalent of the ghettos+concentration camps). The benefit of doubt is disappearing rapidly fast.

And the west has been supporting Israel for decades in this campaign. This is the second millenial crusade of Europe (aka the west).
by ben-schaaf | 2025-06-28 14:49:06+00:00
> II’d argue that a single unity blob with one compiler invocation isn’t a fair comparison and that when you made a token effort to configure the unity build you saw a 2x speed up.

Most certainly an unfair comparison; I did not know that "unity build" also referred to a hybrid setup. I've only seen people advocate for a single translation unit approach, and that's always just plain slow.

Personally I'll almost always prefer faster incremental compilation; thankfully my work's clean builds only take 30 seconds.

> I’d also love to see what raddbg would be like if we split it into even 4 compilation units

Should be a minimum of 32x faster just building in parallel with our hardware ;)

Unfortunately raddbg suffers from unity-build-syndrome: It has headers but they're missing definitions, and .c files are missing includes.
Show HN: I use OpenAIs structured outputs to generate bike workouts
by potofski | 2025-06-28 14:49:18+00:00
I built a cycling workout generator using a two-stage LLM architecture.

Stage 1: Draft generator takes user input and creates high-level workout structure with segments Stage 2: Specialist processors (warm-up expert, interval specialist, etc.) convert each segment into precise power targets and timings

Key insights: - LLMs excel at generating structured JSON when you use schemas - Breaking complex tasks into smaller, focused LLM calls works better than monolithic prompts - Each specialist has isolated context, forcing self-contained outputs

The result: "4x4min threshold intervals" becomes exact power zones and durations that sync directly to Wahoo element bike computers.

Anyone else finding structured outputs surprisingly reliable for complex data generation?
by kurikuri | 2025-06-28 14:49:30+00:00
The U2 album was odd, but not bad in the same league. Apple didn’t advertise for you to purchase U2’s music. As an end user, what made it annoying was how the U2 album was part of your library (thus, would show up in shuffle, etc.) and removing it was a whole ordeal.

This wallet notification was silly. Prior to this, I believed that their wallet app would give notifications much like how settings app would: rarely and without commercial intent.
by andrepd | 2025-06-28 14:49:36+00:00
I'm unsure what your point is, because that example supports my argument. There is no documented European presence but there is Native presence for millenia in those lands. Yet nobody would seriously argue that non-native Americans/Australians should be kicked out so the land is returned to their "original owners" as defined by "the vague descendents of the earliest known occupiers as defined in a muddy ethnoreligious way"... Yet when talking about this group in particular that claim holds?!
by veesy | 2025-06-28 14:50:08+00:00
Veesy helps businesses turn website visitors into customers with interactive and SEO optimized video widgets that are easy to set up and seamlessly integrate into any website. Instead of relying on static text or generic calls-to-action, Veesy adds a human touch by letting you engage users through short, targeted video messages.

With Veesy, you can greet visitors, explain your offer, answer common questions, and guide users through your funnel. Whether you're looking to boost conversions, build trust, or improve user experience, Veesy provides a flexible solution that works across landing pages, product sites, and online stores.

Veesy is designed for businesses who want to stand out in a crowded online space. You can customize your widget’s content, appearance, and behavior to match your goals.

If you're looking for a smarter, more personal way to increase engagement and drive action on your website, Veesy is the tool for you.
by joker99 | 2025-06-28 14:50:22+00:00
I‘m sorry, but you’re comparing apples to bedrooms. Israel vs. Iran is a war/conflict between two proper countries‘ militaries - which means that both belligerents stick to certain agreed upon rules and military traditions, such as trying to separate the civilian from the military world/infrastructure. In lack of another word (haven’t slept, please forgive me for the choice of word), there’s “honor“ and a notion of equality and respect (somewhat) between the foes, even if Iran has declared it wants to wipe Israel off the map.

All of this does not apply to the conflict with Hamas. With them muddling the lines, it’s extremely hard to fight a “clean“ war. You’re between a rock and a hard place - either you lose but with your head held high and your moral compass intact, or you stoop to their level thereby slowly losing your values but win in the end. If that win is worth it or not, is heavily debated in the rest of the world, but only debated in the fringes of Israeli society. But no military expert is able to suggest a real alternative of fighting Hamas without inflicting heavy losses on one’s own army.

I find the committed war crimes abhorrent and wish they’d be heavily prosecuted at least.
by Nevermark | 2025-06-28 14:50:37+00:00
Exactly.

Given Facebook is about as voracious an actor of surveillance as has ever existed, their track record of respecting few red lines until they have been caught crossing them egregiously, and the bright spotlight Zuckerberg is currently shining on their AI ambitions, it defies reality to imagine them forgoing any data they can get there hands on.

You just know there is a dashboard that summarizes all potential data sources, and engineers wake up with the shakes and sweats, after dreaming that Zuck was standing behind them, with furrowed brow, and pointing to a stat that shows 2% of someone’s most private information still hasn’t been plundered.

Ok, a little hyperbolic. But he & Meta are relentless.
by dghlsakjg | 2025-06-28 14:51:16+00:00
> I'm German and I really see a lot of the blame for this on our states as well - the US and the EU states (especially Germany, sadly).

I understand that you are talking about the recent era, but I wonder if you could speak to the history of the creation of Israel, and the German perception of that. Is there any discussion about the European role in the creation of Israel? After the end of the war, it isn’t as if there was a movement to return property and homes to European Jews. If anything, the powers in Europe after the war (and, in the case of Eichmann, pre war as well) saw Zionism as a solution for what to do with the Jews.

Is there any sympathy or responsibility felt in European communities for essentially using Zionism as a solution?
by xyzzy123 | 2025-06-28 14:51:56+00:00
What I have noticed in Australia is that this kind of enforcement seems to happen in 2 situations:

A) A foreign company is not doing something the government wants. This might be taking down certain information from the Internet (facebook, X, in particular) or not being sufficiently helpful in providing access to information, etc. These big consumer cases seem to mainly hit companies that are not perceived as sufficiently "pliable".

B) A foreign company is competing with local interests that are powerful enough to get in politician's ears. This is often re-sold to the public as some grass-roots "fairness" thing that will benefit all of us. To be fair, sometimes it is.

Which is to say, I don't see these enforcement actions as a "reversal of gravity" so much as a re-branding of its immutable laws.
by stiray | 2025-06-28 14:52:22+00:00
Sure you are not interested in my complaints and I am not interested in arguing with another fanboy (there is wealth of knowledge on the internet and I am sure you are able to google a bit - but then there is no arguing with me, so no point in doing that, right?), had one IlikeKitties enough for a year. If you are interested, install GrapheneOS and compare it, and in worse case, argue with yourself.
by WD-42 | 2025-06-28 14:52:24+00:00
For what it’s worth, the Rust driver pointed to in the article doesn’t have a single unsafe block, raw pointer, pointer arithmetic, or any of those other things you mentioned.

It’s a simple driver. But it’s also possible that rust code doesn’t necessarily have to copy the C code line for line - the C way of doing things with pointer arithmetic may just not be necessary with the abstractions rust provides.
by keysdev | 2025-06-28 14:52:25+00:00
> It's really, really difficult to recognize out original logic here. Among other things, whereas our original C code only has 2 local variables, this version has 29, not counting module-level globals.

Isnt that quite common now with machine generated code. Look at nim clientside js, I dear any js dev to try to navigate that.

The point is should we just trust the machine generated as it is and hope that the compiler/bundler just did a correct job, or just write clean and simple code
by paulryanrogers | 2025-06-28 14:52:26+00:00
He can sign unconstitutional EOs, and the only folks who can get relief are those who have a lawyer on call, or a class action, or can pull enough strings to get their case appealed to the court which he clearly has in his back pocket.

(In addition to other fun things like immunity from criminal prosecution forever, cannot even be investigated in most cases, and cannot be disqualified from office after inciting a riot to stop the transfer of power.)
by blindriver | 2025-06-28 14:53:14+00:00
First you impose a blockade against people.

Then they run out of food and their families are starving.

Then you distribute a limited amount of food that will run out long before most get any food.

If your family is starving to death, you can't leave the area and someone is dangling food in front of your face, are you saying you wouldn't risk it for your family and try to get SOME food regardless of the threat of death?
by ethbr1 | 2025-06-28 14:53:30+00:00
It's been widely reported that the IDF substantially loosened their acceptable civilian collateral casualty rules after Oct 7th.

>> In each strike, the order said, officers had the authority to risk killing up to 20 civilians. https://www.nytimes.com/2024/12/26/world/middleeast/israel-h...

The very existence of guidance change on civilian casualties should constitute a war crime, because to put it another way, the IDF decided that Palestinian civilian lives were worth less after the terror attacks.

In other metrics, the October attacks killed 1,200 Israelis, plus 1,700 killed in the war. Versus 50,000+ Palestinian fatalities.

So we're at ~1:17 Israeli: Palestinian killed.

I feel like any human can agree there should be an ethical ceiling to that number. Maybe it's lower or higher than the current number, but it being unlimited is genocide.
by matt_kantor | 2025-06-28 14:53:59+00:00
Many moons ago[1] I wrote this, which seems appropriate to share here:

fn main() { println!(r#"{:X?}{}"#, __=(|&__@_:&'_ _,|->_{[(|(..,_,__,_,):(_,_,((),),)|__..__)(__)]})({&(!(({"\"__'\\\\\ \'";(||{('\"');()})();}>=*&())|(|__|__||__|__)((()<())&(()>()))),&[..=..],({0__.%-// 0.;(|_:[();0],|{})([[],[],][0]);},),)}),_={(|_0_:[_;0],_:&[()]|{;_0_})({{[0;0]}},&[[ ]][(0..)][{..}][0],);""},); }

[1]: https://www.reddit.com/r/rust/comments/8p013f/comment/e094qj...
by ryuhhnn | 2025-06-28 14:54:01+00:00
Sure there is, but we’re not talking about firing “warning shots” at armed combatants, we’re talking about unarmed civilians, most of whom are minors. If you are sympathetic to the idea that these aid sites need to be heavily guarded, then you need to ask yourself why this level of force is necessary, because the explanation the IDF and Israeli officials are giving makes no sense. Can you imagine if we fired “warning shots” towards the homeless for lining up too early for the food bank?
by patcon | 2025-06-28 14:54:28+00:00
I do agree, both approaches are valid to seek. Setting expectations with disclaimers would be helpful so people can enter willingly instead of perpetually critiquing via comment. I don't like a culture of bashing/minimising one approach, which I admittedly have just participated in.

But in my defence, I'm in a "punching up" mode here, in the minority sense. I'd probably argue for valorising data more in an arts space.

But something about the current tech world-builders not having respect for narrative makes me frustrated and afraid. How can we ever build things that account for parts of minds and life that we don't respect. (I sense a lack of respect for why and how narrative has been the vehicle of so much human progress and growth)
by IshKebab | 2025-06-28 14:55:03+00:00
I would say no. Anything you can do in OCaml you could just as well do in Rust and Rust has many many advantages over OCaml. Vastly bigger ecosystem, Windows support that isn't an afterthought, much better documentation, the syntax is quite a lot friendlier, etc.

Really the only reason I can think to use OCaml over Rust is the compile time, which is quite impressive and significantly better than Rust's. But I don't think that's enough to put up with the other downsides.

I don't think the borrow checker is a factor. OCaml has aspects that are equally painful to learn.

Also if you know Rust you won't really learn much by learning OCaml except "oh that's where that Rust feature came from". Rust stole all the good features from OCaml.
by kaashif | 2025-06-28 14:55:08+00:00
Personally, I don't "get myself" to do anything, I just do it for fun.

The usual cycle is that I start hacking on some fun thing like an implementation of rules for a board game or trying to work out how some library I use works. Eventually I write down where I am then stop, maybe because I got bored or it was too hard.

Then I forget that the project was hard, become convinced that it was easy, then spend an evening hacking away again.

It's just leisure. Like putting a bookmark in a novel.