MurphyA/hacker-news huggingface dataset:
by dang | 2025-07-30 17:42:53+00:00
Please don't perpetuate political flamewars on HN, regardless of what politics you favor or disfavor.

Political topics can obviously be far more important than anything else on HN's frontpage, but that doesn't make the flamewar style of discussion ok on this site. It's repetitive and indignant, and those are the two qualities which most destroy what we're trying for, i.e. gratifying curiosity and facilitating curious exchange.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
by badc0ffee | 2025-07-30 17:42:56+00:00
A link to doc.go, for the lazy:

https://cs.opensource.google/go/x/exp/+/645b1fa8:slog/doc.go...

Basically it says to pass in objects, not prepared strings, so the formatted output is only computed if the message is actually logged. That object can be a struct implementing the LogValuer interface to do any required work/produce formatted output.
by dang | 2025-07-30 17:43:03+00:00
Please don't perpetuate political flamewars on HN, regardless of what politics you favor or disfavor.

Political topics can obviously be far more important than anything else on HN's frontpage, but that doesn't make the flamewar style of discussion ok on this site. It's repetitive and indignant, and those are the two qualities which most destroy what we're trying for, i.e. gratifying curiosity and facilitating curious exchange.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
by ccppurcell | 2025-07-30 17:43:15+00:00
It's not throwing the baby out with the bathwater. I don't know what the right metaphor is. Throwing the scrap of edible meat out with the ton of rotten flesh? YouTube has got really bad in recent years. There are channels deliberately trying to get through to kids with horrific content. And of course the tobacco, gambling and sugar industries trying to turn our kids into addicts. They are often only one or two clicks away from extremely inappropriate content.
by gishglish | 2025-07-30 17:43:21+00:00
> On steam you have to go out of your way for such games to be recommended for you.

Go on steam, not signed in and go to new releases. I promise you there are porn games right there on the first page of results. Often of a very degenerate nature. I don’t even need to be authenticated to see that. But I do need to go out of my way to verify my age, if I click on a call of duty game or something.
by lutusp | 2025-07-30 17:43:33+00:00
The problem with traditional Websites is that search engines don't index them in a way that attracts visitors. I know this because my archaic, out-of-date, 34-year-old static-page Website https://arachnoid.com/ has no advertising or other features that might cause it to be given priority by a search engine.

My occasional use of JavaScript only supports technical animations, specialized calculators and real-time LaTeX rendering, not dynamic page generation or dark patterns.

From a modern perspective, my Website is actually a museum. The proof? While I once directed Website visitors to my YouTube channel (https://www.youtube.com/@lutusp), I now find myself directing YouTube viewers to my Website.

Not our topic, but one reason is kids can't read: https://www.seattletimes.com/nation-world/american-childrens...

Apropos, here's one of my favorite jokes. I visit a bookstore. On the wall is a poster: "The tragedy of illiteracy -- now available as an audiobook."
by californical | 2025-07-30 17:44:21+00:00
I can hit that speed on a regular bike with a good wind, which is perfectly legal. Adding an extra licensing step could slow the adoption of people switching from cars to e-bikes for commutes (a very positive step in my opinion).

A coworker of mine has a medium-speed e-bike, maybe goes 25-30mph in the (mostly empty) bike lane of a 45mph road for a lot of the journey. Tries to take 35mph side roads for the rest. It’s a very suburban/stroad-y area.

His commute is about 4-5 miles, so he gets to work in ~10 minutes. This is a great solution for all - less cars, more efficient vehicle, less stressful for him not needing to drive.

Any impediment to that reduces the likelihood of other people catching on to what he does.

Maybe those medium-speed e-bikes should have a license in the same way as a fishing license. It’s trivial to obtain, but if you violate certain rules, the license acts as a means to revoke your privileges. I’d be perfectly ok with that.
by potato3732842 | 2025-07-30 17:44:29+00:00
Paying cops to run a checkpoint and dyno test bikes?!! That seems like a huge waste of government resources unless the goal is to save money on other enforcement areas by instilling a message of "don't you dare goose step an inch out of line, we're watching". I suspect it's more about pandering to police supporting demographics and looking busy than it is about enforcing anything.
by throwanem | 2025-07-30 17:44:54+00:00
Well, sure. That's Meta, the model for much of the industry, where that isn't the likewise and just as deservedly infamous Amazon. So when you say Oxide is better, I'm sure I can believe you that it is, but can you see why that still might not convince? It's like if I say I'd rather be beaten than stabbed. Obviously this is the sensible choice to make among the selection given, but still the question might reasonably be asked: can there really be no third option?
by BalinKing | 2025-07-30 17:45:11+00:00
To be fair, they could be entirely disjoint sets of people, but I’m surprised by the simultaneous 1) hate for JavaScript[0] and the “modern web” and 2) praise for all the Flash-based websites from the ‘90s–‘00s. To be fair, my first interactions with the web were largely after the “Flash for everything” era, so I might be out-of-the-loop: Did corporate Flash-based homepages get the same reaction then that SPAs do now?

[0] I do strongly dislike JavaScript myself, but specifically from the perspective of language design.
by OutOfHere | 2025-07-30 17:45:15+00:00
> high birth rates is caused by high mortality rates.

This has been true in some places, e.g. Africa, but it is by no means a generalization. It is in fact grossly misleading because various countries have seen their Muslim populations explode while the mortality rate going down. High birth rate is more associated with religiousness than with mortality.

> the Islamic conquest was how many millennia ago?

The Islamic conquest is very much ongoing, and will continue for the next few thousand years. It now works not by wars but by demographic displacement, although this can change for the worse once more Islamic countries obtain nukes. The conquest will carry on until all non-Islamic populations have been displaced. Just ask them honestly why they have so many babies even while in modern Western cities.
by ksec | 2025-07-30 17:45:29+00:00
I am wondering what they have on Roadmap and if Zen 6 will come. Their AMD EPYC™ 7713P is 4+ years old already. Or is Hardware performance not a main focus for Oxide but Software that came with it?

In 2027 - 2030, We will have 256 Core Zen 7 CPU with PCIe 6.0 or 7.0 SSD and Network. If Liquid Cooling ever come to Oxide we are looking at 5 - 10x the compute power of its current hardware.

Somewhere along the line a Single Oxide Rack would offer enough Compute and Storage for 95% of customers. And whenever I think about having Solaris in every rack just put a smile on my face.
by dang | 2025-07-30 17:46:10+00:00
We've banned this account for using HN primarily for political battle and repeatedly breaking the site guidelines.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.
by dang | 2025-07-30 17:46:15+00:00
We've banned this account for using HN primarily for political battle and repeatedly breaking the site guidelines.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.
by RankingMember | 2025-07-30 17:46:47+00:00
Besides content harmful to kids, there's a ton that's harmful to just about any human psyche from a social or personal perspective. I wasn't aware of how bad it was until I recently browsed Youtube.com from an incognito window and saw the default experience- it's rage bait, misinformation, and just straight mental junk food. My logged-in experience is nothing like that, thankfully, but I can't imagine throwing a kid into a fresh YouTube account and them needing to pare that down (or even having the critical thinking skills to do so).
Ask HN: Why do so many developers dislike C when I find it inspiring?
by silentpuck | 2025-07-30 17:46:55+00:00
I write in C, and I constantly see posts or comments calling it dangerous, outdated, or unnecessarily complex.

But for me, C feels like freedom.

I can build exactly what I want — small tools, secure utilities, no magic, no garbage collection, no telemetry.

Yes, I have to think harder about memory and safety. But that’s the point. I want to be close to the machine. I want to know what my code does, byte by byte.

Still, I find myself wondering:

Why do so many people seem to dislike C? Is it just because it doesn’t protect you from yourself? Or am I missing something that I’ll regret later?

I’d really appreciate honest thoughts — especially from those who moved away from C.

Thanks.
by robwwilliams | 2025-07-30 17:47:09+00:00
There will not be “sleep in a pill”. Even the happiest of mitochondria and cells have been entrained for eons to circadian rhythms. (Even benthic deep sea fish sleep; well cyclic rest behavior.)

Long-distance drivers and pilots on long missions have their drugs of choice (e.g., Modafinil), but they are crutches, not replacements.

There is good evidence that fur seals, rays, and some sharks have brain asymmetry in sleep, with half the brain sleeping while the other half keeps an eye open.

Unihemispheric sleep! Convenient.

https://www.science.org/doi/10.1126/science.adf0566
by irusensei | 2025-07-30 17:47:15+00:00
No it doesn't. You clicked something for those to appear. Go ahead and open https://store.steampowered.com with a private browser window. I don't see any porn game unless you categorize games like Umamusume as porn. In that case you have a problem not Steam.

BTW your use of "degenerate" word suggests you have a bias.
by throwanem | 2025-07-30 17:47:20+00:00
I see why people resent it; I'm saying they're foolish to do so. Why should I not seek involvement in staff work that determines so much of my future? Why should I not make myself responsible for the conduct of the business within the scope of my role, rather than just the parts which I happen to like and enjoy?

And since you can't seriously mean me to believe performance is not evaluated at Oxide, I really can't see how I'm meant to take any of what you're saying at face value. Instead it seems something much akin to "don't worry your clever little head about the boring ol' money stuff, darlin'! Don't you trust me to take good care of you?"
by shkkmo | 2025-07-30 17:47:29+00:00
You've misunderstood that law.

> By law, an electric bicycle is a bicycle that (1) has operable foot pedals and an electric motor of less than 750 watts and (2) qualifies as a class 1, class 2, or class 3 bicycle

https://www.cga.ct.gov/2024/rpt/pdf/2024-R-0154.pdf
by miguel_martin | 2025-07-30 17:47:43+00:00
>“… Note that I'm not an expert, in anything, so take everything I write about with a grain of salt I guess :).”

>”I’m by far an expert and I could be wrong in some specifications”

You’re missing a “not” on that 2nd sentence ;)

In all seriousness, you don’t need this disclaimer, you’re selling yourself short.

There’s nothing wrong with your post to make the disclaimer.

And if there is something wrong with the post, let the comments flood in and tell you that rather than yourself.
Show HN: JavaScript algorithm prep that teaches language-specific patterns
by elduderino05 | 2025-07-30 17:48:06+00:00
I'm a Senior SWE at Microsoft and a few years ago I failed an Uber interview on an async concurrency control problem. The question was implementing asyncMapLimit - process an array with a maximum number of concurrent async operations while preserving result order.

I understood the algorithmic challenge: queue management, concurrency limiting, result ordering. But I struggled with JavaScript-specific patterns: how closure capture affects callback timing, when the event loop can cause race conditions and why naive Promise-based solutions create memory pressure.

That failure stuck with me. After conducting JavaScript interviews myself, I realized this pattern is everywhere. Brilliant developers hitting invisible walls not because they lack algorithmic thinking, but because they don't understand how JavaScript's runtime changes implementation strategies.

const processNext = () => { if (currentIndex < collection.length) { const index = currentIndex++; // Shared state mutation inProgress++; eachItemFn(collection[index], itemResult => { result[index] = itemResult; inProgress--; // When exactly does this callback execute? // What happens if callbacks finish out of order? if (currentIndex === collection.length && inProgress === 0) { allDone(result); } else processNext(); }); } }

The edge cases around callback timing, closure capture and memory management require deep JavaScript knowledge that generic algorithm prep doesn't cover. So I built Memoized to help developers avoid the same trap I fell into.

Memoized teaches algorithms through JavaScript's lens rather than as translations from Python/Java. Built with Next.js, TypeScript and Prisma, it covers 450+ problems focusing on JavaScript-specific patterns: when Map vs {} vs WeakMap matters for performance, prototype chain gotchas in hash table implementations, call stack optimization for recursive algorithms, async-aware algorithm implementations…

Uses MDX for interactive lessons and provides JavaScript-specific feedback. Links to LeetCode problems but adds the missing "why JavaScript developers struggle with this" layer.

Try it: https://www.memoized.io (entire first sections are free)

Students or those facing financial difficulties get free access, just reach out.

What JavaScript async patterns have surprised you in algorithmic contexts? Would this have helped you in interviews?
by cpard | 2025-07-30 17:48:06+00:00
User behavior analytics have created some interesting specialized data systems.

It's interesting that the authors chose to use Redis but how does it scale with a lot of events?

A few other interesting projects from the past that either have to do with user behavior analytics or using bitmaps.

TrailDB: https://github.com/traildb/traildb old but still a fascinating project in my opinion. Not related to bitmaps but they've done some very clever things on the storage level to compress and query the events in a way that fits well this particular workload.

FeatureBase: https://github.com/FeatureBaseDB/featurebase this one was built on top of bitmaps but they didn't market it as a solution specifically for behavioral analytics, although I'm sure it was used for that.

Of course there are the Mixpanels and Amplitudes of the work too that they had to build specialized storage and query engines for this particular workload.

Regardless of how fascinating I find these systems though as specialized compute engines for a specific workload, it seems that the use case itself is not lucrative enough to sustain companies built around them. I'm not sure why is that but it's interesting to see companies building infrastructure for this particular case on top of Spark for example which ends up being so painful in the mid-long run.

(edit: apparently they answered my question already while I was writing this!)
by reactordev | 2025-07-30 17:48:42+00:00
I like this. I remember my first website. A collection of all the punk rock websites I could find. Then I started designing sites. That lead to a software career. But, even though I don’t do web sites anymore (way better qualified people for that), I have maintained a personal website for the last 20 years.

Right now it’s just a thing I did for fun. I’m always messing around with JavaScript. No frameworks, just fun.

https://gabereiser.com
by matheusmoreira | 2025-07-30 17:48:48+00:00
The very same! They have been relentlessly grabbing power since at least 2019.

https://news.ycombinator.com/item?id=39966382

https://news.ycombinator.com/item?id=36543423

Every thread about this subject I go out of my way to recount what I saw and reference similar comments.

https://news.ycombinator.com/item?id=44619572

I waited years for today's news. My only complaint is they sanctioned a single judge rather than the entire supreme court.
by baruz | 2025-07-30 17:48:49+00:00
That was not Gen X saying that—we don’t say anything, like our Silent parents—we just sulk in our rooms playing grunge to relieve the overwhelming dread and to root out whatever ear-worms Clear Channel has been feeding us. Baby Boomers were the ones who put out the narrative of the avocado-toast eating Millenial, to which we just said, “Whatever.”

In case it was not made abundantly clear, that was stereotypical GenX sarcasm, but as a Gen Xer I cannot figure out how to write a sarcasm tag into this stupid machine.
by sillyfluke | 2025-07-30 17:48:52+00:00
>Given the numbers who voted for Hamas

You mean of course, 20 years ago in 2006 when the last election was held in Gaza. In which they didn't even manage to break 50% I might add and with the Israeli government's blessing as Netanyahu was fond of boasting before Oct 7th --- a far lower number than the number of Israelis that still support the IDF's current military actions.
by nemothekid | 2025-07-30 17:49:23+00:00
Focusing on the raw dollar amount is a red-herring that always comes up in these conversations. 200k is plenty! is a sleight of hand. If I am building something with 10s of millions of value and you give me 200k and expect me to shut up cause it's plenty, you are deceiving me, full stop.

The "we all get paid the same" is a dishonest by omission. They don't all get paid the same, and while the peanut gallery may think so, I sure as hell don't think the IRS thinks the same way.

I personally don't really care what they pay their engineers, but to pretend to have this egalitarian approach to compensation and then hide the equity numbers is dishonest.
by johnthedebs | 2025-07-30 17:49:33+00:00
I changed the video link to an updated version where he goes into much more detail. You don't need any lure (I didn't use any), but you can see in the updated link that he places the fans around where his dog sleeps and also uses a bottle of soda with the cap slightly unscrewed to slowly leak CO2.

In general though, if there are enough mosquitos around they will get caught in it without any additional effort.
by geuis | 2025-07-30 17:50:16+00:00
Be very careful when stating this kind of thing. It's extremely easy for people that already have a hard time understanding science and medicine to take this as evidence to support their anti science and anti vaccine/medicine.

Different antibiotics target different cellular mechanisms depending on what the microorganism is. And almost none of them target the mitochondria at all.

Yes the common hypothesis is that mitochondria were originally a symbiotic separate organism that joined the cells that eventually became the origin of most complex life.

Remember that if that's what happened, it was over 3 billion years ago. After that immense amount of time, mitochondria aren't really separate organisms anymore. They're deeply entwined into every complex organism in the world. Very unlikely for common antibiotics to have any effect on them at all.
by throw0101c | 2025-07-30 17:50:23+00:00
The current-gen Miata is 135 kW (181 hp; 184 PS):

* https://en.wikipedia.org/wiki/Mazda_MX-5_(ND)

It's about ~third of the weight of the RAV4. Which one do you think accelerates from zero faster (not even reaching "high speeds")?
by DiogenesKynikos | 2025-07-30 17:50:26+00:00
> A huge part of the Exodus was the Arab league telling Arabs to leave their homes in 1948

That's a myth. It simply isn't true. Israeli historians have gone through the reasons why Palestinians left every town, and almost all of them were either expelled at gunpoint or fled in the face of advancing Zionist / Israeli forces. Only the wealthiest Palestinian families had the means to leave in advance, as they saw the war coming.

> ben gurion asked Arabs to stay and peacefully join the new country which is why Israel is 20% Arab.

This is such an absurd claim to anyone who is even remotely familiar with Ben Gurion's life and politics. Ben Gurion was one of the most important supporters of the idea of expelling Palestinians.

> The other thing you’ve omitted is the greater number of Jews that were expelled from Arab states.

They were expelled in the decades afterwards, as a consequence of the bad blood Israel created throughout the Arab world with the expulsion of the Palestinians. In any case, two wrongs do not make a right, and the treatment of Jews in the Arab world after Israel's establishment does not justify Israel's ethnic cleansing of the Palestinians in 1947-48.

> you haven’t asked for them to be able to return either

If they want to, they should be able to. But they don't want to, so this is a moot point.

> they would be killed, as is typical for anybody who doesn’t follow or has left Islam in Arabic countries

This is a historically ignorant claim. Muslim countries were historically more religiously tolerant than Christian countries. That changed for the Jews in the Arab world for two reasons: the foundation of Israel and imported antisemitic ideas from Europe.

Palestine is actually a major counterexample to your claim about Muslim countries. There are many Christian Palestinians, and they have been very prominent in the Palestinian national movement (Edward Said was Christian, for example). If you've followed the news, you'll know that Israel has repeatedly bombed Christian churches in Gaza, which is why the Israeli government got into a row with the Pope recently.

> UNRWA staff are members of hamas

This is like saying that McDonald's staff are murderers. A tiny number of UNWRA staff (you can literally count them on two hands) were alleged to be Hamas members, out of 30k employees.

> UNRWA schools teach children to desire to be martyrs

The idea that Palestinians have to be taught by the UN to hate Israel is absurd. They hate Israel for the same reason Jews in the Warsaw Ghetto hated Germany. The UN does a remarkable job of instituting neutral education in that environment, and is constantly bending over backwards to appease Israel, including allowing Israel to review their educational materials and list of employees.

> The very obvious solution is UNRWA should be disbanded.

It's the obvious solution if you want to starve and immiserate the Palestinians.
by fruitworks | 2025-07-30 17:50:43+00:00
There are techniques for anonyminity in cryptocurrency such as zero-knowedge proofs implemented in cryptocurrencies like monero and zcash (and many others)

These techniques vary in their effectiveness and efficiency. If you look at a monero transaction for example it uses something like 10x the bandwidth and CPU power to verify vs Bitcoin (which is already an inefficient network)

Some banknotes do have identifying markers, but I think you are right. Cash-like privacy should be the goal with all crypto
by giantg2 | 2025-07-30 17:50:55+00:00
Hey Dan,

I am familiar with the site. My approach was intended to be from a non-partisan intellectual standpoint showing how examples from one party can have similar examples in the other party. I can see how looking at my comment alone, it could appear that it was partisan, but I had hoped that the context and the last section would have controlled for that. Thanks for moderating these!