MurphyA/hacker-news huggingface dataset:
by Tepix | 2026-01-09 18:13:35+00:00
Here is a minimal example for inline webassembly: A function a that adds two numbers. Can someone make the entire example shorter? (added linebreaks for readability)

<!DOCTYPE html>
<p id=r>
<script>
WebAssembly.instantiateStreaming(fetch(
'data:application/wasm;base64,AGFzbQEAAAABBwFgAn9/AX8DAgEABwUBAWEAAAoJAQcAIAAgAWoL'))
.then(x=>r.append(x.instance.exports.a(51,4)))
</script>

And here is the wat code that we can turn into wasm with wat2wasm and then into base64 for a data URL:

(module
(func (export "a") (param i32 i32) (result i32)
local.get 0
local.get 1
i32.add))
by santadays | 2026-01-09 18:14:08+00:00
Maybe one day our knee jerk reactionary outrage will be quelled not by any enlightenment but because we are forced to grow weary of falling prey to phishing attacks.

I'd feel pretty stupid getting worked up about something only to realize that getting worked up about it was used against me.

I'm writing this because for a moment I did get worked up and then had the slow realization it was a phishing attack, slightly before the article got to the point.

Anyways, I think the clickbait is kindof appropriate here because it rather poignantly captures what is going on.
by AstroBen | 2026-01-09 18:14:10+00:00
I'd say OpenCode > Codex > Claude Code in terms of the TUI interface UX. OpenCode feels a lot nicer to use. I haven't noticed a code quality difference, only a difference in the UX

I'm not sure about Zen, but OpenAI seems to be giving me $20 / week worth of tokens within the $20/month

Also for absolutely free models, MiniMax M2.1 has been impressive and useful to me (free through OpenCode). Don't judge the state of the art through the lens of that, though
by azakai | 2026-01-09 18:14:23+00:00
> What does "portable" mean?

In the context of the web, portability means that you can, ideally at least, use any browser on any platform to access any website. Of course that isn't always possible, as you say. But adding a big new restriction, "these websites only run on x86" was very unpopular in the web ecosystem - we should at least aim to increase portability, not reduce it.

> And was NPAPI not a part of the web, and a key part of its early success? Was ActiveX not a part of the web? I think they both were.

Historically, yes, and Flash as well. But the web ecosystem moved away from those things for a reason. They brought not only portability issues but also security risks.
Show HN: Scroll Wikipedia like TikTok
by sdan | 2026-01-09 18:15:16+00:00
Hey - I've been playing with LLMs since GPT-2 and recently experimented with fully generative UIs where the HTML/Canvas are generated just-in-time.

Every post on the feed( on slop/duck/storytime) you see is streamed and generated just-in-time with HTML and into a Canvas with Gemini 3 Flash.

Comments and DMs are bidirectionally linked with a Cloudflare Workers Durable Object which is why they feel so fast. Every generated post is saved into a DO SQLite which is then served into the "Following" feed so it can be served quicker.

This was inspired by Wikitok, a VSCode Extension I made around brainrot, and another fully generative UI site I made.
by martey | 2026-01-09 18:15:34+00:00
"The fundamental issue is that SendGrid’s business model depends on making it easy for legitimate businesses to send email at scale."

I disagree with this conclusion, if not only because other email service providers don't have this issue.

It wouldn't surprise me if something was broken with SendGrid's internal infrastructure. I used to be a SendGrid customer until my deliverability started being affected by this issue. SendGrid took weeks to reply to my customer service messages about resolving this, even though I was a paying customer and was renting private IP addresses from them to send mail.

I finally gave up and closed my SendGrid account in July 2021. Despite this, they continued to send me monthly invoices until May 2022. Multiple SendGrid representatives promised that they had resolved the issue, but it wasn't until one CSR added me to SendGrid's global suppression list that they finally stopped.
by blibble | 2026-01-09 18:15:52+00:00
USian tech-CEO posting petulant self-serving arguments about "FREEDOM" on twitter? what a cliche

cloudflare have deliberately designed their network so that every IP can serve up every cloudflare website

this means a court order can't block a single cloudflare site without blocking every cloudflare site, causing massive collateral damage

I suspect this is a deliberate business decision: an attempt to raise the "cost" of blocking so high that courts won't attempt to do it at all

and then they make arguments about "it's not technically possible", when it is (farm the target of the orders off to a separate pool of IPs)

and for DNS they could apply a filter based on the source IP country of origin

Prince: please, please, please exercise your empty threat, and withdraw your shitty company's services from Italy

and then you'll watch as Italy then raises it at the EU level, and then you'll have to do the same there too
Show HN: We made a hiring challenge because Claude can 1-shot our interviews
by jgru | 2026-01-09 18:15:57+00:00
We're Tutor Intelligence, a robotics company building generally capable robot workers for American industry. We've been thinking about what technical evaluation should look like in a world where AI agents can 1-shot our hardest hour-long coding interviews, and this is one of our first experiments.

The challenge: command 5 robots in a 60x40 warehouse to fulfill 1000 orders. Your score is the number of timesteps to complete everything. Robots can move, pick items from pallets, dock to pallets (so they move together), and fulfill orders at the edge of the warehouse. Simple rules, but the optimization problem has surprising depth (it's NP-hard in about 10 different ways) with lots of room for strategy and creativity.

This is actually a simplified version of a real problem we work on. Warehouse coordination is one of those domains where the gap between a naive solution and a good one is enormous, and there are many valid approaches.

We built a web visualizer so you can see your solution play out, and a leaderboard if you want to submit. AI agent use is encouraged (probably necessary). So far only my cofounder and I have submitted, so we genuinely have no idea how good solutions can get.

Sharing this early because we'd love feedback on the problem design. And yes, we're hiring (that's why we made it): 70 people, Series A, based in Boston, founded out of MIT. But mostly just curious if others find this problem as interesting as we do.
by RickJWagner | 2026-01-09 18:16:25+00:00
Hi. That’s exactly one of the use cases I was thinking of.

Right now there are hundreds of people out protesting ICE, flooding social media, etc.

Where were these people when Obama was using ICE in exactly the same way as Trump?

Here’s an article from the ACLU, they compare Trump and Obama and call Obamas use monstrous.

https://www.aclu.org/news/immigrants-rights/border-patrol-wa...

Here are more articles from the ACLU:

https://www.aclu.org/news/immigrants-rights/speed-over-fairn...

https://www.aclu.org/news/smart-justice/violation-constituti...

Do you not agree it is hypocrisy to condemn Trump without condemning Obama?
Show HN: I built a simple Postgres client for Neovim
by h4kbas | 2026-01-09 18:17:19+00:00
Hi guys,

I was mad at all heavy slow loading postgres viewers, I ended up starting this. I don't really know much about neovim plugins but I wanted to take my changes. I have already started using it actively and there are a lot to do. Hope you will like it as well and waiting for your comments.
by jqpabc123 | 2026-01-09 18:18:24+00:00
The watch itself is certainly nothing anyone would kill me for <g>.

But yes, the entire microSD card is encrypted using BitLocker in case it happens to be lost or otherwise falls into the wrong hands. My will contains the decrypt password.

If you think about it, my data is as safe as I am --- if not safer. The authorities aren't going to spend any effort to recover a memory card --- but they will to recover a body with a memory card attached..

Since this is always with me, it serves as the off-site copy in my 3-2-1 backup plan.

https://www.backblaze.com/blog/the-3-2-1-backup-strategy/
by bombcar | 2026-01-09 18:18:33+00:00
Ah, my memory was off - it was PC manufacturers who kept adding more and weird keys (media keys, for example).

All I remember is having all sorts of fun trying to get those keys to work at all in Linux; they often were insanely setup and dependent on windows drivers (some would send a combination keystroke, some wouldn't work unless polled, etc).
by blibble | 2026-01-09 18:19:49+00:00
> One must be thankful to him for removing the illusion that Cloudflare is some benevolent, neutral US company fighting for a more secure internet.

yeah it's great isn't it

now all anyone has to do to discredit cloudflare is point to their CEO's pro-elon posts

the AI slop picture at the bottom really sells it too
by Kerrick | 2026-01-09 18:20:00+00:00
My wife used to be a professional streamer so I know how distracting it can be to try and entertain an audience. So when I attempted to become one of these 10x AI devs over my Christmas vacation I did not live stream. But I did make a bunch of atomic commits and push them up to soucrcehut. Perhaps you'll find that helpful?

Just Christmas Vacation (12-18h days): https://git.sr.ht/~kerrick/ratatui_ruby/log/v0.8.0

Lastest (slowed down by job & real life): https://git.sr.ht/~kerrick/ratatui_ruby/log/trunk and https://git.sr.ht/~kerrick/ratatui_ruby-wiki/log/wiki and https://git.sr.ht/~kerrick/ratatui_ruby-tea/log/trunk
by fwip | 2026-01-09 18:20:05+00:00
Ah, I see the disconnect. In this discussion, "disabling" is not the same as "detrimental." Disabling is when you are unable to do important activities that others can do. I'm not an expert here on the subject, but this is my understanding.

For a simplified example, imagine two government buildings, one with and one without an accessibility ramp. A person in a wheelchair is able to access the former, even if going up the ramp takes longer than the stairs. Not having the option to take the stairs is still detrimental to the person, but they're still able to access those services. The second disables the person, as they're no longer able to access important services because they are unable to take the stairs.

Accommodations help keep "detrimental" from meaning disabled. The voice at the street crossing that says "walk", curb cuts, and closed captioning all help people participate in daily normal life, despite having those sensory disabilities.

There are other designs that are more holistic as well - for example, if those same government services are accessible online, or the agent makes house calls, it naturally makes the services more accessible to more people. (Note: I'm not saying that this specific example is a good idea - just as an example of "how we design our society affects how people can participate in it.")
by fingerlocks | 2026-01-09 18:20:13+00:00
OP said something confusing about the Go compiler, so I was only added clarification for that one statement.

You walked by half listening to a conversation, stuck your head in the room and said something tangentially related but more confusing.

There are distribution and development certificates that can all be used for signing a binary. Different rules for each, and there's also auto-signed (com.apple.provenance). It's all documented on Apple's website if you want to read more about it. But I suspect you already know this and are just trying to pick a fight.
by margalabargala | 2026-01-09 18:20:26+00:00
> The lady in Minneapolis was using her car as a weapon to impede law enforcement operations.

A hysterical take like this isn't really credible. "Obstruction", sure, but calling a stopped vehicle a "weapon" because it's slightly in the way defies the English language to the point where you damage your own credibility.

It would be equivalent to call this comment a "weapon" I'm using to impede you announcing your opinion unopposed.

She's absolutely deserving of sympathy; she was killed unjustly. We don't have a law on the books allowing capital punishment for parking a vehicle somewhere law enforcement finds it inconvenient. Just because you happen not to agree with her actions at the time, illegal or no, doesn't imply "and therefore she deserved death". I suggest you consider the consequences to your own self of people applying your own logic to you, and how long you would last if this was the general state of affairs.
by igortullio | 2026-01-09 18:20:41+00:00
Location: Brazil

Remote: Yes

Willing to relocate: Yes

Technologies: Java, TypeScript, React

Résumé/CV: https://drive.google.com/file/d/1jocdZ2w1JLlAIBdAwTFLrkjQ1kb...

Email: igortullio@gmail.com

Profile: Nearly 10 years of experience designing and building backend systems using Java and Spring Boot. Strong background in microservices, event-driven architectures, and cloud-native solutions on AWS. Experienced in leading technical initiatives, improving delivery pipelines, and collaborating with cross-functional teams to deliver scalable, high-quality products.
by danielspace23 | 2026-01-09 18:21:45+00:00
I'm Italian, and as much as I think Piracy Shield shouldn't exist, I find hard to empathize with Cloudflare, especially after this tweet.

First off, the immediate appeal to Vance and Musk is embarrassing. I believe he knows he's technically in the wrong for not abiding to the law, so gathering the sympathy of the "freedom fighters" of the web is all he can do. But the funniest part about this tweet are the "threats" he makes towards Italy.

> In addition, we are considering the following actions:
> ...
> discontinuing Cloudflare’s Free cyber security services for any Italy-based users

He phrases it to be as if the free tier is a favor Cloudflare does to the world, as if it's not obviously a loss-leader designed to get more people into the Cloudflare ecosystem.

> Removing all servers from Italian cities

This is my favorite by far. Does he think that this will start a popular uprising? My take is that when Italian customers notice their ping going up by 10x because all their traffic is now routed through France, they will switch to BunnyCDN, Fastly or any of the dozens of CDNs that do have servers in Italy.

In this political climate, Cloudflare siding with the current administration's general line of "we're Americans, our economy is strong so we're above international law" sends a message I don't think they fully understand. I hope this ends up as being a push for independent European cloud.
by dpflan | 2026-01-09 18:22:04+00:00
"""

Claude Code with Opus 4.5 is a watershed moment, moving software creation from an artisanal, craftsman activity to a true industrial process.

It’s the Gutenberg press. The sewing machine. The photo camera.

"""

- Sergey Karayev

> https://x.com/sergeykarayev/status/2007899893483045321
Ask HN: What's your preferred digital payment method?
by vednig | 2026-01-09 18:22:06+00:00
i'm interested to know more about the international payment system but most of the data online is looking more and more biased so I'm here to do recon

i'd love to know what's your preferred payment method for digital payments and why, any story you share would be great too

ps: please start with your country like

"US: <response>", it'll help me categorise better

thank u, in advance
by BeetleB | 2026-01-09 18:22:34+00:00
Different folks use different conventions. When I was taught it, they called it the principle, not theorem. You can find similar comments on the Internet (e.g. math subreddit).

Here's one that acknowledges it:

https://math.stackexchange.com/questions/1837836/well-orderi...

> The "well-ordering principle" has (at least) two different meanings. The first meaning is just another name for the well-ordering theorem. The second meaning is the statement that the usual relation < on the set N is a well-ordering. This statement is equivalent to the statement that ordinary induction on the natural numbers works.
by catapart | 2026-01-09 18:22:39+00:00
Just a quick compatibility issue: for some reason, my midi board triggers a key input both when I press it down, and when I let it go. I'm assuming that it might just be something wrong with my board, but I did want to let you know in case there might be some nuance you haven't considered with respect to the midi commands. I know my first crack at it didn't distinguish between note-on and note-off commands, for instance.
by FloorEgg | 2026-01-09 18:23:02+00:00
As a well intentioned user (with no stake whatsoever in Grok or parties involved) who originally flagged this but then decided to remove my flag, here was my original reasoning...

In the HN guidelines there are two category definitions, on-topic and off-topic. I don't think there is an intellectually honest argument to make that this submission is not on-topic, but there is an argument to make that it is off-topic.

- it's related to a celebrity

- it's related to crime

- it's likely to appear on TV news

I'd also add that it's likely to spur strong emotions, political debate and any attempt by people to try and understand the actual legal nuances (e.g. how does each legal jurisdiction decide who is accountable, the platform, the user, how is the platform held accountable exactly, etc.) is likely to be labelled a sea lion and down voted by someone who just says "this is obviously illegal". In other words this topic is not conducive to intellectually curious discussion, which I think is the spirit of HN guidelines.

In other words there is a lot of noise between people who curiously engage in this topic, and the people who are offended by Grok and the people associated with it, and anyone who isn't also outraged and grabbing their pitchforks.

You are making an assumption that anyone who would label this as off topic is outright lying about why, and it may be that some people are, but I am not. I do think there is a benefit of the doubt interpretation to be made, which you may think is naive, but seems less naive for anyone who genuinely values HN as a sanctuary from the inflammatory dialog found in most other social media.

Further, when I attempted to converse with others about why this could be considered off-topic (another comment thread under this submission that you replied to), my character was repeatedly attacked, and many unfounded assumptions about my motives were made. These were clear signs to me that people were struggling to engage curiously.
by parliament32 | 2026-01-09 18:23:26+00:00
They remind me so much of that group of people who insist the scammy magnetic bracelets[1] "balance their molecules" or something making them more efficient/balanced/productive/energetic/whatever. They are also impossible to argue with, because "I feel more X" is damn near impossible to disprove.

[1] https://en.wikipedia.org/wiki/Power_Balance , https://en.wikipedia.org/wiki/Hologram_bracelet , https://en.wikipedia.org/wiki/Ionized_jewelry
by romanhn | 2026-01-09 18:23:41+00:00
Oof, Cloudflare has been one of the most interesting tech companies for me, and one I would have worked for in a heartbeat. But the MAGA pandering in this tweet is quite disappointing. I get it, running a large business in the US these days requires a certain amount of bootlicking, but still. And I say this while generally agreeing with Matthew's stance.
Show HN: Flickle–A daily puzzle based on cinematography,not trivia(PWA, Next.js)
by rgb1903 | 2026-01-09 18:23:54+00:00
Hi HN,

I built this because I got frustrated with movie trivia games that focus on actors' names or obscure facts. I wanted a game that rewards visual memory and cinematography knowledge.

It’s a Wordle-like mechanic: You get 6 frames.

Frame 1 is obscure (lighting, composition detail).

Frame 6 is the main scene.

Tech Stack: Next.js + Firebase. I spent the last week optimizing the performance. It currently hits 100 on Speed Insights and serves as a fully installable PWA.

No ads, no sign-up wall.

Would love to hear your feedback on the difficulty curve, especially the new TV Series mode.
by mindslight | 2026-01-09 18:24:58+00:00
That relies on absolving other animals of responsibility for their behaviors because they don't have higher order thought, no? Animals can be pretty violent to even their own species.

edit: Chewing on this a little more, this viewpoint almost feels like the dual of a common justification that people drunk on religion use to justify the killing of other human beings - "animals kill each other so it's natural, and God will sort us all out in the afterlife"
by frogperson | 2026-01-09 18:25:18+00:00
America is too stupid and greedy to think past the next quarter. Our culture is so toxic and broken, we deserve to fall behind.

Maga will eventually consume itself and it will end. We'll spend the next 20 years rebuilding. That generation, will have the first chance to set us on a better path, becuase the path we are on now is fixed for the time being, and its not progressive or forward thinging in any way.
by Fraterkes | 2026-01-09 18:25:31+00:00
Tried this, thought: "this seems kind of like an insubstantive thing to build, there's no attempt to actually teach you and it's all very generic. I wonder if this is just some ai stuff someone spit out in an hour and tossed on HN".

Sure enough, you go to their homepage and it's filled to the brim with genai stuff. Guess it's good I'm getting some intuition for these things.
by lostmsu | 2026-01-09 18:25:32+00:00
There's a frame in the YouTube video I linked where the officer is right in front of the car, the car wheel is still turned toward the driver window (so if no steering is done it would run over the officer, moreover it is directed to where the officer ends up in the end), and the front wheels with a skid start pulling the car forward in that direction. In fact, the car goes toward the officer for about 15 frames of the video and only visibly changes direction for 1 or 2 frames just before the shot (mind you that's less than 100ms at 30fps), after the gun is pulled out and pointed straight at the window.

I would refrain from making any judgment on that because I don't know the intricacies of the law, but it is certainly not "clear" as a lot of people here seem to claim. I suspect most never watched the video in detail or interpreted it with hindsight.
by Aerroon | 2026-01-09 18:25:33+00:00
Your mind and health are impacted by your physical body. If eating a certain way impacts your physical performance then it might also have effects on your health (and mind) in unexpected ways.

I'm not saying that ketosis has this kind of an effect, but rather that eating or not eating some other things might. Eg vitamin K2. The body is be able to make vitamin K2, but we might have stronger bones and teeth, and a healthier cardiovascular system, if we get extra K2 from an external source.
by gruez | 2026-01-09 18:25:48+00:00
>An unmodified iPhone SE (2022 model) with OS support until 2032

What makes you think it'll be supported for a decade? Looking at the past models, the support period is around 5-7 years. If you count security updates that might get you to 10 years, but at the 7-9 year mark apps will eventually refuse to update because you're not on the latest ios.

https://en.wikipedia.org/wiki/IPhone#Models
by bigyabai | 2026-01-09 18:25:49+00:00
You're being dramatic. This block doesn't replace building with Lego. Nobody is going to buy the block as a replacement for making blocky dinosaurs and racecars. We know this because Lego already shipped Technic and Mindstorm products that never broke the core value proposition.

Having grown up with Duplo, Lego and Mindstorm, I think this brick is awesome. I can't wait to see what Minecraft Redstone engineers build in real-life.