MurphyA/hacker-news huggingface dataset:
by adrian_b | 2026-03-04 13:02:05+00:00
You could coalesce multiple instructions per shader, but even with a single CPU instruction (which would be translated to a sequence of GPU instructions), you could reach orders of magnitude greater speed than in this neural network implementation, by using the arithmetic-logic execution units of the GPU.

Once translated, the shader programs would be reused. All this could be inserted in qemu, where a CPU is emulated by generating for each instruction a short program that is compiled and then the resulting executable functions are cached and executed during the interpretation of the program for the emulated CPU.

In qemu, one could replace the native CPU compiler with a GPU compiler, either for CUDA or for a graphic shader language, depending on the target GPU. Then the compiled shaders could be loaded in the GPU memory, where, if the GPU is recent enough to support this feature, they could launch each other in execution.

Eventually, one might be able to use a modified qemu running on the CPU to bootstrap a qemu + a shader compiler that have been translated to run on the GPU, so that the entire simulation of a CPU is done on the GPU.
by joshstrange | 2026-03-04 13:02:08+00:00
What are people’s general thoughts on Interac? As someone who just implemented support for it in a POS application I don’t have a high opinion of it.

You must be online [0] to process the transaction and you can’t refund/void unless the card is present. Which means if you call in later with an issue, we can’t refund you remotely, you have to come back into the store to do a refund.

[0] I know this may seem strange to some of you, but restaurants don’t always have stable internet. Most do, but there a long tail of locations with flakey or slow internet. And business owners are not always willing to pay for 5G backup.
by simgt | 2026-03-04 13:02:15+00:00
Thanks for sharing, it's indeed a great way to quickly see what a language has to offer.

From what I understand, the main innovation of Lobster here is that `class Foo` is a boxed type, while `struct Bar` will be inlined. I'm not sure I see how that's an improvement over using either `Foo` or `Box<Foo>` on instantiation. It also does reference counting by default, and tries to optimise it out at compile time by assigning a single owner and borrow.

We often see complains that Rust's ownership puts a lot of burden on the programmer, but there is really a point at which it clicks and we stop having to fight the borrow checker almost entirely.
by alephnerd | 2026-03-04 13:03:04+00:00
> Bahrain

Bahrain always had unrest issues due to it's laggard economy and communal issues - this was why KSA invaded it back during the Arab Spring. Something similar is always on the table for KSA.

> Jordan

Shia are nonexistent in Jordan, and Jordan was much more affected by the decade long Syrian Civil War right across the border and some of it's largest urban areas (especially the Irbid-Daraa area).

> Kurdish people

Kurds are not uniform. The Iraqi and Iranian Kurds tend to be much more socially conservative than their Syrian brethren (Turkish Kurds are somewhere in the middle).

Turkiye also supports the KRG and PJAK as they don't support Oclanism and act as a buffer against Iran.

> it's going to be really messy

No one wants to admit it but that's the whole point. I mentioned this before on HN [0] - no one wants to admit this because it is a bad look, but it aligns with our interests.

[0] - https://news.ycombinator.com/item?id=47092612
by jaen | 2026-03-04 13:03:08+00:00
At least for the main accomplishment, the Tietze extension theorem, the natural language statement and the Megalodon theorem looked quite easy to correspond, and the dependency chain seemed fairly easy as well. (the fact that the proof is 10k lines is irrelevant, this is just about the theorem statement itself)

This project did not deal with some cutting-edge, esoteric or puzzle-type maths for which the formalization can be tricky - just well-trodden topology.
by fagnerbrack | 2026-03-04 13:03:38+00:00
I've been experimenting with using Claude via GitHub Actions for automated code review, CI fixes, and conflict resolution — not just as a coding assistant but as part of the actual pipeline. Hutch is the project I used to develop and refine this workflow.

The whole thing is open source. The AI workflow lives in .github/workflows/.

I also read a lot (350k karma on Reddit, 14.5k here) and plan to release the reading automation system as a proper app next week — but wanted to share the engineering approach first.

Happy to go deep on the GitHub Actions + Claude integration.
by lstevens14 | 2026-03-04 13:03:38+00:00
Hi! I think that the idea is certainly a fun one. There is a long history of trying to make a good parallel operating system. I do not think that any of the projects succeeded though. This article is a good read if you are interested in that. I am not sure why the economics of parallel computer operating systems have not worked out so far. I think it most likely has to do with the operating systems that we have being good enough and familiar.
[0] https://news.ycombinator.com/item?id=43440174
by sdiupIGPWEfh | 2026-03-04 13:03:42+00:00
I was anticipating that having AI write code to pass tests (human and/or AI written tests) would be worthwhile, but in practice, I've found that even models such as Opus 4.6 Thinking, High Effort simply "cheats", or rather, fails to generalize much too often. It's occurred to me that perhaps I need some amount of randomness in the tests to keep the models honest, but it feels wrong. We'll see.
by mrweasel | 2026-03-04 13:04:02+00:00
We failed a bid for a project because of simplicity. We were to migrate a service running on an on-prem Kubernetes installation and a three, or five, node Apache Cassandra cluster to Azure.

The service saw maybe a few hundred transaction per day, total database size: 2 - 3GB. The systems would hold data about each transaction, until processed and then age it out over three months, making the database size fairly stable.

Talking to a developer advocate for Azure we learned that CosmosDB would get a Cassandra API and we got access to the preview. The client was presented with a solution were the service would run as a single container in Azure Websites and using CosmosDB as the database backend. The whole thing could run within the free tier at that point. Massive saving, much easier to manage. We got rejected because the solution didn't feel serious and to simplistic for an organisation of their scale.

On the other hand I also once replaced a BizzTalk server with 50 lines of C# and that was well received by the client, less so of my boss who now couldn't keep sending the bill for a "BizzTalk support contract" (which we honestly couldn't honour anyway).
by niam | 2026-03-04 13:04:44+00:00
That relates more to the public rhetoric surrounding Graphene than with how the OS itself operates imo. It's pretty practical and enables (or allows you to enable) everything that a typical Android does, except where Google Play Integrity checks fail, which is not in Graphene's control (e.g Google Wallet payments).

People bill it as making a ton of usability compromises in the name of security, but that doesn't match my experience. The only redeeming observation is that your phone _does_ lean towards secure-er and ungoogled defaults, which _does_ break functionality that a lot of people expect to "just work" OOTB. But it's trivial to restore it, and the upfront effort getting things to work is amortized over the lifetime of the device. It's maybe an hour's worth of work.

The counterfactual world where users need to forumcrawl how to get to secure/private defaults seems worse to me. By contrast, it's pretty easy to recognize when an app isn't working.
by jidoka | 2026-03-04 13:04:53+00:00
Title: KTH student hacked a popular children’s smartwatch, found 17 vulnerabilities and full remote access

A former student at KTH Royal Institute of Technology has demonstrated how a popular children’s smartwatch can be fully compromised over the internet. In his thesis, “Ethical Hacking of a Smartwatch for Kids: A Hacker’s Playground,” Gustaf Blomqvist conducted an ethical security assessment of a widely sold kids’ smartwatch and found what he describes as severe security flaws.

The device, identified in Swedish media as the MyFirst Fone R1s by MyFirst, exposed an insecure network service directly to the internet. By scanning for devices, an attacker could identify watches and take complete control of them remotely.

According to the findings, an attacker could access the camera and microphone, eavesdrop on surroundings, read and manipulate text messages, send arbitrary messages, and potentially use the device in denial-of-service attacks. In total, 17 vulnerabilities were discovered.

Blomqvist also found preinstalled malicious code on the watch. The device reportedly connected periodically to a remote server and transmitted detailed information about its contents. The update mechanism for that code was itself vulnerable, making it possible to install additional malicious software.

Children’s smartwatches are marketed primarily as safety devices so that parents can stay in contact with their children. However, the research suggests these products may introduce serious privacy and security risks instead.

Blomqvist says he reported the vulnerabilities to the manufacturer and initially received instructions on where to submit the details, but after that communication stopped. Pontus Johnson, professor of cybersecurity at KTH, commented that many software-based systems remain highly vulnerable and that smaller manufacturers may lack the resources to properly address security issues.

The EU Cyber Resilience Act introduces mandatory cybersecurity requirements for connected products, but full enforcement will not take effect until 2027.

Sources: kth.se, expressen.se
by newswasboring | 2026-03-04 13:05:09+00:00
> The prompt is unique but the tokens aren't.

The tokens aren't unique, but the sequence is. Every input this model sees in unique. Even tokens are not as simple as they seem

If you type "ejst os th xspitsl of fermaby?" in ChatGPT it responds with

> It looks like you typed “ejst os th xspitsl of fermaby?”, which seems like a garbled version of:

> "What is the capital of Germany?”

> The capital of Germany is Berlin.

> If you meant to ask something else, feel free to clarify!"

edit: formatting
by masfuerte | 2026-03-04 13:05:28+00:00
This is very impressive.

> how does RE# find the leftmost-longest match efficiently? remember the bidirectional scanning we mentioned earlier - run the DFA right to left to find all possible match starts, then run a reversed DFA left to right to find the ends. the leftmost start paired with the rightmost end gives you leftmost-longest. two linear DFA scans, no backtracking, no ambiguity.

I'm pretty sure that should say "the leftmost start paired with the leftmost end".

This also implies that the algorithm has to scan the entire input to find the first match, and the article goes on to confirm this. So the algorithm is a poor choice if you just want the first match in a very long text. But if you want all matches it is very good.
by aengelke | 2026-03-04 13:05:55+00:00
> It's very difficult to do low-latency queries if you cannot cache the compiled code

This is not too difficult, it just requires a different execution style. Salesforce's Hyper for example very heavily relies on JIT compilation, as does Umbra [1], which some people regard as one of the fastest databases right now. Umbra doesn't cache any IR or compiled code and still has an extremely low start-up latency; an interpreter exists but is practically never used.

Postgres is very robust and very powerful, but simply not designed for fast execution of queries.

Disclosure: I work in the group that develops Umbra.

[1]: https://umbra-db.com/
by chasd00 | 2026-03-04 13:06:26+00:00
Why would the US and Israel resort to unguided cheap bombing? That’s how you end up with wide scale civilian deaths. They’ll use more and more jdams vs stand off weapons as air superiority has been mostly established. There’s also been a significant drop in missile attacks as more and more launchers are destroyed.

https://understandingwar.org/research/middle-east/iran-updat...
by crediblejhj | 2026-03-04 13:07:24+00:00
I ran an experiment to evolve what I call “transparent intelligence” using fewer than 100 neural network weights.
Using a genetic algorithm over 3000+ generations, survival improved from 0% to around 50%.
However, true discrimination behavior — distinguishing food from poison in the environment — never emerged.
After extensive parameter tuning and repeated trials, I concluded that the limitation was likely not hyperparameter tuning, but the representation and the structure of the search space itself.
I’ve documented the full process, including the failed attempts and analysis.
by vibecoder21 | 2026-03-04 13:07:28+00:00
One thing I’ve noticed talking to early-stage founders is how many people get stuck before they even start building. The “idea phase” turns into weeks of overthinking markets, trends, and whether something is original enough.

Recently I came across a different approach while searching on Google, instead of brainstorming from scratch, some founders are starting with curated collections of startup ideas and real-world problems.

One example I found was a database called StartupIdeasDB that compiles thousands of startup concepts gathered from places like Reddit discussions, industry trends, and product launches.

What stood out to me is that it treats ideas almost like a dataset you can analyze rather than random inspiration. Instead of staring at a blank page, you start by studying patterns of problems people repeatedly mention.

It seems to help people move from “thinking about ideas” to actually picking one and testing it. Obviously execution still matters far more than the idea itself, but reducing that initial paralysis seems useful.

Curious if others here have tried a similar approach or still prefer starting from a completely blank slate.
by jtakahashi64 | 2026-03-04 13:08:42+00:00
Meet Polymo - Build single-page HTML web apps with AI.

In the AI era, making products is much easier.

I wanted a tool to help you take the first step.
With Polymo, you can create apps as easily as taking photos in a photo booth.

It allows you to create web app prototypes quickly.

Polymo is designed to build prototypes using simple and stable templates and clear rules.

If you want to develop your project further,
you can use it with other AI coding tools later.

It is made for testing quick ideas, not for long-term product dev and ops.
by bm3719 | 2026-03-04 13:08:50+00:00
Setting aside any considerations on our side: for this war (or really any war), it's worth turning the chessboard around to look at things from your adversary's perspective as much as possible.

If you're the Iranian regime, the world is a hostile place. You're surrounded by enemies and potential enemies. In your time of crisis, the friends you thought you had are acting like they don't know you. The situation is one of existential threat. A future reality with your head on a pike is a very real possibility. You don't exactly have many options here, so maybe you play the only move you can make. It's a risky one, but it's at least bold and will be effectuating.

Interestingly, this move also attacks your real enemy: the globalized market. Iran would do well for itself in a world of 1926; in 2026, there's going to be friction.

In a sense, they're not fighting the US/Israel. They're fighting our datacenters. I'm sure the strategy for this conflict was vibe-planned to a large extent. A hyper-conservative regime like this will probably fare (at least in the long run) about as well as you would if you decide to nope out of society and go live in a Hobbesian state of nature in your local park. That might work for awhile, but eventually, the system will come for you. And that's just neutrality. Pick a fight with capital, and you'll always lose.
by lerugray | 2026-03-04 13:10:32+00:00
ZERO PAGE — A 6502 Assembly Puzzle Game

Greetings all, this is my first post here and my first digital game, I've designed a bunch of board wargames with my small company Conflict Simulations LLC, but 6502 development has always been a passion of mine.

WHAT IT IS
----------
ZERO PAGE is a 6502 assembly language puzzle game that runs entirely in the browser. You play as a contractor writing low-level code for an unnamed government program. The puzzles teach real 6502 instructions progressively while an understated narrative builds through bureaucratic debrief text between missions.

Think TIS-100 meets moral complicity. The mechanics are the hook; the narrative is the point.

FEATURES
--------
- 15 main puzzles across 4 thematic clusters, escalating in both technical complexity and narrative tone
- 3 hidden puzzles discoverable through attentive play — no hints here, but they're there for those who look
- Full sandbox mode with a 16x8 framebuffer display, keyboard input register, random number generator, and direct memory editing
- A working Snake game ships as a sandbox demo to show what's possible
- Integrated debugger with step-through execution and live CPU state
- Real-time syntax highlighting in the editor

TECHNICAL DETAILS
-----------------
The entire game — assembler, simulator, UI, puzzle definitions, narrative — lives in a single HTML file with zero dependencies. No frameworks, no build step, no server. Open it in a browser and it runs.

The 6502 assembler is custom-built: a two-pass assembler supporting 45 instructions and 8 addressing modes with label resolution. The simulator executes with full CPU state (A, X, Y, SP, PC, status flags), 256-byte zero-page memory, a 256-byte stack, and memory-mapped I/O for keyboard and RNG.

Everything was written from scratch — about 4,000 lines of HTML, CSS, and JavaScript in one file.

PUZZLE DESIGN
-------------
Each puzzle introduces exactly one new 6502 concept and uses it meaningfully. Early puzzles are solvable in 5-8 lines of assembly. Later puzzles require subroutines, stack manipulation, and multi-pass logic. Every puzzle runs 10 randomized test cases to validate your solution and tracks your best cycle count.

Instructions covered include loads/stores, arithmetic, bitwise logic, shifts and rotates, branching, comparisons, subroutines (JSR/RTS), stack operations (PHA/PLA), and indexed/indirect addressing modes.

NARRATIVE
---------
The game's narrative is told entirely through mission briefings and post-puzzle debriefs. Early debriefs are verbose and bureaucratic. As you progress, the tone shifts — explanations drop away, language becomes terse, and what you're actually building starts to come into focus. The game never names what your code is being used for. It doesn't have to.

The hidden puzzles, if you find them, recontextualize everything.

STATUS
------
The game is fully playable right now as a web page. Sound design, save persistence, and desktop packaging (Electron) are planned for a future release on itch.io and potentially Steam.

LINKS
-----
https://github.com/lerugray/ZERO-PAGE
https://lerugray.github.io/ZERO-PAGE/
by chrisaycock | 2026-03-04 13:10:50+00:00
> I think it would be the best to start interpreting the query and start compilation in another thread

This technique is known as a "tiered JIT". It's how production virtual machines operate for high-level languages like JavaScript.

There can be many tiers, like an interpreter, baseline compiler, optimizing compiler, etc. The runtime switches into the faster tier once it becomes ready.

More info for the interested:

https://ieeexplore.ieee.org/document/10444855
by II2II | 2026-03-04 13:11:22+00:00
> GrapheneOS always strikes me as "perfect is the enemy of good".

GrapheneOS, as it ships, is rather bleak but you also need to consider that it is addressing the concerns of a very broad audience. That ranges from people who want to completely get rid of data leaking apps to those who want the apps but expect them to be sandboxed. Shipping two different versions won't really help them. It would only make more work on their end, with the results only reflecting two extremes. You are going to have some people willing to put up with some apps, but not others. You are going to have some people wanting some of those apps feeding fake data, but not others.

It's probably best to think of GrapheneOS as a base system that you build up to serve your personal needs, rather than thinking of them shipping it in a "perfect" state. While a handful of people will be happy with it in its default state, many will install something like F-Droid along with a collection of privacy preserving apps. Many others will install the Google Play Store along with a personally curated list of apps that reflect their needs, providing or denying access to their data as they see fit.

I believe the "build up" approach is the only viable way to handle this situation since we are talking about a group of users who are actively seeking out a third-party OS since they are particular about their needs. This isn't the typical consumer who will (gleefully or begrudgingly) put up with whatever the device vendor feeds them.
by hasbot | 2026-03-04 13:11:25+00:00
I interviewed at a company that used a simple project to screen candidates. It was implementing a cash register checkout system. The task was soo simple that I couldn't figure out what they were looking for. So I implemented the simplest thing possible. I got the job partially because they were impressed by my utterly simple solution. I helped evaluate other candidates given the exact same problem and it's amazing how some people dialed up the complexity to 11. None of them passed the screening.
by xXSLAYERXx | 2026-03-04 13:11:35+00:00
> This is such a strange take. Your words remind me of past crypto hype cycles, where people pushed web3.0 and NFT FOMO hysteria.

Thats a little harsh. I think most everyone would agree we're in a transformative time for engineering. Sure theres hype, but the adoption in our profession (assuming you're an engineer) isn't waning.
by markus_zhang | 2026-03-04 13:11:43+00:00
Thanks. For Jordan I'm mostly thinking about their past history with Palestinian. Yeah I agree Kurds are not uniform. I'm not exactly sure about the differences but there was a piece of news from CNN: https://www.cnn.com/2026/03/03/politics/cia-arming-kurds-ira...

What do you think the possibility of Kurds getting a piece of land from Iran?
by doubled112 | 2026-03-04 13:12:05+00:00
Lucky. Working in repairs I was only seeing the ones that didn’t work, and I’ve seen failures of just about everything. It probably skews my experience.

One time upgrading workstations, 4 of the 20 Corsair kits were sent for RMA. Those aren’t great odds.

I would guess that soldering them to the board reduces the points of failure, the slots can and do fail. However, I’ve also seen soldered components coming off as the cause of failures, but it is usually a part that gets hot combined with a design flaw.
by roxolotl | 2026-03-04 13:12:13+00:00
We don’t need agi or superintelligence for these things to be dangerous. We just need to be willing to hand over our decision making to a machine.

And of course a human can make a wrong call too. In this scenario that’s what is happening. And of course we should bring all of our tools to bear when it comes to evaluating nuclear threats.

But that doesn’t make it less concerning that we’ve now got machines capable of linguistic persuasion in that toolset.
by ForHackernews | 2026-03-04 13:12:49+00:00
I linked you a paper from one of the leading AI shops in the world demonstrating that the "Chain of Thought" reported doesn't match up with the actual activation inside the model, and you replied that you're an expert on some human psych stuff that may or may not even be real[0].

Forgive me if I don't immediately bow to your expertise.

[0] https://pmc.ncbi.nlm.nih.gov/articles/PMC11293289/