MurphyA/hacker-news huggingface dataset:
Show HN: 1v1 coding game that LLMs struggle with
by levmiseri | 2026-03-06 06:47:29+00:00
1v1 strategy game I have been building for a while as a side project. It's purely a passion thing that has no aspirations for being anyhow monetized, though I hope to make it enjoyable to play.

I let LLMs play a mini-tournament. Here are all the replays and results of their games: https://yare.io/ai-arena

All are able to produce 'functioning' bots, but they are nowhere near even weak human-coded bots, yet
by locknitpicker | 2026-03-06 06:47:55+00:00
> Hard disagree. That database table was a waving red flag.

Exactly this.

This article is not about structs or Rust. This article is about poor design of the whole persistence layer. I mean, hundreds of columns? Almost all of them optional? This is the kind of design that gets candidates to junior engineer positions kicked off a hiring round.

Nobody gets fired for using a struct? If it's an organization that tolerates database tables with nearly 1k optional rows then that comes at no surprise.
by menaerus | 2026-03-06 06:47:57+00:00
It has different limitations but inefficiency doesn't seem likely to be one of them. Did you read the Experimental Results section?

> Figure 2 shows the experimental results, and GenDB outperforms all baselines on every query in both benchmarks. On TPC-H, GenDB achieves a total execution time of 214 ms across five representative queries.

> This result is 2.8× faster than DuckDB (594 ms) and Umbra (590 ms), which are the two fastest baselines, and 11.2× faster than ClickHouse.

> On SEC-EDGAR, GenDB achieves 328 ms, which is 5.0× faster than DuckDB and 3.9× faster than Umbra.

> The performance gap increases with query complexity. For example, on TPC-H Q9, which is a five-way join with a LIKE filter, GenDB completes in 38 ms, which is 6.1× faster than DuckDB. GenDB uses iterative optimization with early stopping criteria.

> On TPC-H, Q6 reaches a near-optimal time of 17 ms at iteration 0 with zone-map pruning and a branchless scan, and does not require further optimization. In contrast, Q18 starts at 12,147 ms and decreases to 74 ms by iteration 1, which is a 163× improvement. This gain comes from replacing a cache-thrashing hash aggregation with an index-aware sequential scan.

> On SEC-EDGAR, Q4 decreases from 1,410 ms to 106 ms over three iterations, which is a 13.3× improvement, and Q6 decreases from 1,121 ms to 88 ms over four iterations, which is a 12.7× improvement. In Q6, the optimizer gradually fuses scan, compact, and merge operations into a single OpenMP parallel region, which removes three thread-spawn overheads. By iteration 1, GenDB already outperforms all baselines
Show HN: A free personality test based on five elements
by YarkYao | 2026-03-06 06:48:08+00:00
I built a personality test based on the five elements (Wood, Fire, Earth, Metal, Water) combined with yin-yang energy, giving 10 possible types.

The test is free, 20 questions, takes about 3 minutes. No sign-up, no email gate.

Tech stack: Next.js (App Router + React Server Components), Cloudflare Pages + Workers, Supabase for purchase records. Heavily optimized for Core Web Vitals — LCP under 1s, minimal JS on the server-rendered pages.

A few decisions I made along the way:
- SSR for all content pages (SEO), client components only where interaction is needed
- Migrated from Vercel to Cloudflare for cost and edge performance
- Local fonts instead of Google Fonts to cut render-blocking requests
- Code-split below-fold components to reduce TBT

The free result gives you your core type. There's an optional paid report ($7.99) for deeper insights — that's the only monetization. No ads, no data selling.

Would appreciate any feedback on the experience or the tech choices.

https://fiveelementstest.com
by shevy-java | 2026-03-06 06:48:48+00:00
Everyone knows that the companies have to comply, so a company trying to convince the public that they can choose to not comply, is just telling a lie. I don't understand why Anthropic tries damage control here. Why not just admit that all the data given to them, is also used for war-purposes? We currently see the build-up of a much larger warfare. These things are inter-connected. Even more so when some of it is done for politics (e. g. re-election or simple election "boosters"; reminds me of the old movie Manufacturing Consent or the follow-up "brother" Wag the dog).
Knuth Test Using Claude Sonnet 4.6 problem 1.1.1
by daly | 2026-03-06 06:49:15+00:00
Knuth Art Of Computer Programming V1 p9:

[1] The values of variables m and n, can be interchanged using
t = m, then m = n, then n = t. Show how the values of four
variables (a,b,c,d) can be rearranged to (b,c,d,a) by a sequence
of replacements. In other words, the new value of a is to be the
original value of b, etc. Try to use the minimum number of replacements.

========================================================================
Claude Sonnet 4.6
========================================================================

We want to transform (a, b, c, d) → (b, c, d, a)
Using a temporary variable t, here is the sequence:

t = a
a = b
b = c
c = d
d = t

Trace through to verify:

Step.: a b c d t
Start: a b c d —
t = a: a b c d a
a = b: b b c d a
b = c: b c c d a
c = d: b c d d a
d = t: b c d a a

Result: (a, b, c, d) → (b, c, d, a)

This uses 5 replacements, which is the minimum needed — one to save
the displaced value of a into t, three to shift b→a, c→b, d→c, and one
final step to place the saved value into d.
by aurareturn | 2026-03-06 06:49:50+00:00
Who’s to blame for this ridiculous path they are taking? I’m so glad I am not a Chat user, because this adds so much unnecessary cognitive load.

Most people have it on auto select I'm assuming so this is a non issue. They keep older models active likely because some people prefer certain models until they try the new one or they can't completely switch all the compute to the new models at an instance.
by himata4113 | 2026-03-06 06:50:03+00:00
I don't really see a problem where there is a standard api (or even syscall!) to rethrieve a persons age bracket and for various apps being able to easily implement it. But please make it fucking optional.

Make it optional and assume an adult otherwise, it's a good idea if it's optional and doesn't have dumb fines, you could have fines for not enforcing it / not using the api [porn sites] that already exists [and it doesn't work since 1 button is not age verification].

I see this as a good way for parents and institutions to set up their phones, school laptops etc and would pretty much solve the large majority of these issues while having a fraction of the invasiveness.
by puppy_lips | 2026-03-06 06:50:27+00:00
Ha. I will try yours. You should try mine. It may not be your style but it's neat hearing from someone who's had similar feelings. I've been working on https://emmaemail.app/ - It sorta treats your inbox like a todo list. There are some interesting features, but it's mostly centered around having less stuff. You can read about it in the webpage there. It's iOS and gmail only (so your outlook requirement may write it off immediately), but it's been my baby for almost 2 years now. I made it to fill the Newton-shaped hole in my heart (email client that went out of business in July 2024). It's got a kind-of opinionated inbox situation. There's no delete. That's the biggest feedback I get. I'm against that. It's got a one-tap-unsubscribe feature to avoid the "sign in to adjust your prefs" (go find your credentials), "uncheck the box related to the email you received" (figure out which checkbox it is), "don't forget to hit save!", "please wait 48 hours while our system updates"... Mine's not open source and I intend to charge 2.99/mo for it. I just haven't had the heart to charge yet without a desktop client or supporting more hosts. I'm picky about my software. I've been working on it for a long time. Nice to find someone else invested enough to give making something new a shot. Excited to try neat mail. Thanks bud.
by shevy-java | 2026-03-06 06:50:30+00:00
This is why I still use the marquee tag. It catches people's attention right away! Much more so than grey text on grey background could.

I do use pink for it though, usually pink on red or yellow background.
It makes people feel more engaged and they write all sorts of happy
emails about how epic blinking pink on rainbow ponicorn background
wallpapers are. The 90s were a great time for the global internets ...
by panny | 2026-03-06 06:50:32+00:00
>We, collectively, only have ourselves to blame, and now it's too late.

No, "we" really don't. I wrote software. It's free. You're welcome to use it, or not. Nobody is forcing my software on you. You are not allowed to tell me that the software I wrote, for free, and gave to you, for free, needs to have features that I don't care about.

You have an LLM now. I'm obsolete now, right? Do it. Build your nerfed distro, and make it popular. Oh, yeah... there isn't a single solitary disto built by an LLM, is there? Not even one. Wow. I wonder why...
by abustamam | 2026-03-06 06:50:46+00:00
Oh good, I've always had respect for soldiers, but never the govt. I'm glad to hear that soldiers are not buying into this name BS.

Edit: not sure if you're talking about the term warfighters or dept of war. Either way, warfighters just sounds silly, regardless of how long its been in use, and dept of war also sounds silly. It's like what my 5 year old nephew would call his fictitious military agency.
by gz09 | 2026-03-06 06:51:29+00:00
Feldera is an incremental query engine, you can think of it as a specialized database. If you have a set of question you can express in SQL it will ingest all your data and build many sophisticated indexes for it (these get stored on disk). Whenever new data arrives feldera can instantly update the answers to all your questions. This is mostly useful when the data is much larger than what fits in memory because then the questions will be especially expensive to answer with a regular (batch) database.

Feel free to try it out, it's open source: https://github.com/feldera/feldera/
by YZF | 2026-03-06 06:51:51+00:00
Palestine is only a state due to international recognition. It meets no definition of a state, it controls no land, has no currency, government, military, etc. It meets no criteria for statehood yet is recognized by most of the world as a state. Taiwan (and e.g. Somaliland) meet all the criteria for statehood and yet are not recognized as states. Venezuela, Iran and Cuba meet the criteria for statehood and ofcourse are actually recognized universally as states. State (pun intended) of the world.

I would like to believe there's no chance Xi would invade Taiwan but I also didn't think Putin would invade Ukraine. Those leaders are full of themselves. If we learnt much over the last few years is that anything can happen. China has both declared the intention and built the capabilities to invade Taiwan. As the saying goes if a loaded rifle is introduced in the first act of a play, it must be fired by the final act.
by ookblah | 2026-03-06 06:52:00+00:00
in enterprise none of this tends to hold true at all. you need to balance the optics of what people think they need vs what they actually need.

a lot of times people with "we MUST have features XYZ to buy" and then when they actually get set up you see they use only 50% or less of the features. was it useless to build them? they wouldn't even consider you in the first place if you didn't tick the boxes for some higher up decision maker.

probably applies more to people who are already bought in. you have that "luxury" at that point, buy in, cost to switch, etc.
by pjmlp | 2026-03-06 06:52:03+00:00
When the competition was the state of C and C++ compilers in 1996 for portable code, even across UNIX flavours, many improvements over that made it tolerable, people were already adopting it even with a plain interpreter, JIT only landed on version 1.3, 5 years later.

Note C creators didn't kept following up on ISO, Plan 9 and Inferno lacked C++ support, and they rather came up with their Java competitor in Inferno with Limbo, and Dis eventually also supported Java.
Show HN: EV range calculator – range circles and charger map (700 models)
by sthorat | 2026-03-06 06:53:16+00:00
I built EV Mapping to answer the question EV owners actually ask: "Can I get there and back without charging?"

You pick your car, drop a start pin, set your current charge %, and hit Compute Reach. You get two circles — outer for one-way range, inner for round-trip — plus all charging stations within reach as pins. Click any pin to open navigation in Google Maps.

Stack: vanilla JS + Leaflet, no build step, hosted on Vercel. Charger data merges OpenChargeMap and OpenStreetMap Overpass with deduplication. 700+ EV presets across 20+ markets (US, EU, India, China, AU, etc.) synced every 12h via a Python pipeline on GitHub Actions.

The catalog pipeline ingests fueleconomy.gov, afdc.energy.gov, cardekho.com, and greenvehicleguide.gov.au, plus region-native seed files. It has anti-regression guardrails and a canary→stable promotion workflow so bad syncs don't silently ship.

https://ev-mapping.vercel.app
Source: https://github.com/novelmartis/ev-mapping

Feedback welcome — especially on range accuracy and charger pin coverage in non-US markets.
by Earw0rm | 2026-03-06 06:53:58+00:00
Yep. I'm in a European city, most of the people driving Mercedes and BMW cars are, if not outright poor, low-status, low-education, low long-term wealth.

The old money drives beat-up cars (often Swedish made, US imports for enthusiasts, or old-style 4x4s for outdoor pursuits) and are more likely to take taxis. Young, highly-educated BoBo types walk, take transit or cycle.

Just-above-poor neighbourhoods have a much higher proportion of flash cars than rich ones.
by iJohnDoe | 2026-03-06 06:54:11+00:00
I was actually very impressed with their post. It’s a work of art for how carefully it was worded.

My takeaway is that they are bending a knee to smooth things over. It’s business and it’s human behavior. They are actually furious and would love to tell Trump to crawl up his own ass, but that doesn’t help anyone in the long run. It’s in everyone’s best interest to get back to work and hope for the best tomorrow. It’s the adult thing to do. However, it's exactly why humanity is the shitshow it is right now. One side is trying to keep the world going by adulting while the other side keeps acting like complete fucking idiots.
Show HN: Openboard – Live public metrics page for open startups
by ardakaan | 2026-03-06 06:54:57+00:00
We run an open startup and believe in sharing numbers publicly. But our setup was a mess: metrics lived in Stripe and PostHog, we'd pull them manually, paste into our CMS, and embed that on the site. Every update was a chore. Every number was stale.
Openboard connects directly to your data sources and generates a live public metrics page. No CMS middleman, no manual updates.
Currently supports Stripe (MRR, churn, active subscribers) and PostHog (visitors, signups, retention). Adding more integrations based on what people actually need.
The base version is free — sharing should be frictionless. Paid plans unlock more integrations and custom domains.
Would love feedback, especially from founders who already run an open page and know how annoying this problem is.
openboard.fyi
Show HN: CardRooms, a Competitive Cardgame Platform
by kinskrig | 2026-03-06 06:55:33+00:00
Hey HN,

I want to introduce you to Cardrooms.app : a free, guest-friendly, competitive platform for shithead (with plans to expand into other card games).

I based the main game on shithead because it is the best game that combines strategy, memorization, luck, and complexity. If you're not familiar with the rules there is a play through tutorial as well as documentation on how to play on the app,

It's still a really new project (1.5 weeks old at the time of writing) so I suggest trying it out with friends as its really hard to get an open room. It's great to play with your card game buddies especially when you're separated by distance or have no physical cards on you.

If you decide to make an account, there is a robust ELO system to help you track your performance against other players, with a global ranking system and some ingame cosmetics to reflect your progress through the ranks.

Any feedback is much appreciated. I'd also love to hear any ideas you have for promoting it - Discord servers, Facebook groups etc. Not really sure where the big online communities hang out (apart from here).

If you enjoy it, tell your friends!
by onion2k | 2026-03-06 06:56:11+00:00
A/B tests are a statistical tool, and outliers will mess with any statistical measure. If your data is especially prone to that you should be using something that accounts for them, and your prompt to Opus should tell it to account for that.

A good way to use AI is to treat it like a brilliant junior. It knows a lot about how things work in general but very little about your specific domain. If your data has a particular shape (e.g lots of orders with a few large orders as outliers) you have to tell it that to improve the results you get back.
by alexchantavy | 2026-03-06 06:56:46+00:00
Data point of 1: Having hired juniors as a startup founder, I need more generalists than AI/ML specialists. AI application work right now is basically standard software engineering - you’re finding clever ways to supply the right context to a model within certain constraints.

No one knows what’s going to happen in the future. Yes there already are fewer SWE jobs than before because of AI, and yes the days of companies hiring new grads in droves at $300k+ packages are likely over. IMO all you can really do is study what you’re interested in, learn it deeply, and do good work with cool people. If unsure, it’s possible to go back to what you were doing before if the new path doesn’t work out.
by heavyset_go | 2026-03-06 06:57:33+00:00
> if we don't do something, the trajectory is that ~every website and app is going to either voluntarily or compulsorily do face scans, AI behavior analysis, and ID checks for their users

You're going to get that, anyway. Platforms want to sell their userbases as real monetizable humans. Governments want to know who says and reads what online. AI companies want your face to train their systems they sell to the government, and they want to the be the gatekeepers that rank internet content for age appropriateness and use that content as free training material.

Age verification across platforms is already implemented as AI face and ID scans. This is where we're already at.
Knuth Test Using Claude Sonnet 4.6 Problem 1.1.2
by daly | 2026-03-06 06:58:33+00:00
Knuth Tests using Claude Sonnet 4.6 problem 1.1.2

Knuth Art Of Computer Programming V1 p9
-----------------------------------------------------------------------
Algorithm E (Euclid's algorithm). Given two positive integers m and n,
find their greatest common divisor, that is, the largest positive integer
that evenly divides both m and n.

E1 [Find remained] Divide m by n and r be the remainder. (We will
know that 0 <= r < n)

E2 [Is it zero?] If r = 0, the algorithm terminates, n is the answer

E3 [Reduce] Set m = n, then n = r, then go back to step E1
-----------------------------------------------------------------------

Prove that m is always greater than n at the beginning of step E1,
except possibly the first time this step occurs.

========================================================================
Claude Sonnet 4.6
========================================================================

Proof

We want to show that m > n at the start of E1, for every iteration
except possibly the first.

First Execution of E1

When E1 is executed the first time, m and n are simply whatever
positive integers were given as input. There is no guarantee that
m > n, which is why the exception exists. For example, with m = 2166
and n = 6099, we have m < n on the first call.

All Subsequent Executions of E1

After the first execution of E1, we reach E3 only if r ≠ 0 (checked at
E2). At E3, the replacements are:

m = n
n = r

Then we return to E1. So at the start of the next E1, the new values
are:

m_new = n_old and n_new = r_old

From E1, we know r is the remainder when m is divided by n, so by
definition:

0 ≤ r < n

Since E3 is only reached when r ≠ 0 (E2 would have terminated
otherwise), we tighten this to:

0 < r < n

Therefore:

n_new = r_old < n_old = m_new

Which gives us:

m_new > n_new

Conclusion

After the first iteration, the new m is always the old n, and the new
n is always the remainder r, which is strictly less than the old n.
Therefore m > n holds at the beginning of every execution of E1 except
possibly the first, which is what we wanted to prove. □
by throwaw12 | 2026-03-06 06:59:59+00:00
> It feels very much like leading a team of junior engineers or even interns who are very fast but have no idea about why we're doing anything

Yes, yes!

And this is problem for me, because of the pace, my brain muscles are not developing enough compared to when I was doing those things myself.

before, I was changing my mind while implementing the code, because I see more things while typing, and digging deeper, but now, because juniors are doing things they don't offer me a refactoring or improvements while typing the code quickly, because they obey my command instead of having "aha" moment to suggest better ways
by colinb | 2026-03-06 07:00:09+00:00
I’d upvote this a hundred times (which seems very in keeping with modern democratic (small ‘d’. Put away that axe Eugene) norms) not because I love the solution, which is necessarily janky, and not because I like the author’s prose style, though I do, but because it ought to be a cause of embarrassment to Apple that this sort of folderol is needed.
by onion2k | 2026-03-06 07:00:45+00:00
Every business that's taking AI seriously is giving their team enterprise accounts to AI services. Otherwise you have no control over where your code, data, company info, etc is going.

Someone deciding to drop a spreadsheet of customer data into their personal AI account to increase their productivity would be catastrophic for business, so you need rules. And rules means paying for enterprise AI tooling.
by hoopyKt | 2026-03-06 07:00:48+00:00
Further, while the copyright of the original code and its derivatives are still owned by the original author does that hold true to the rights to the name and package namespace? Supposing this were indisputably a clean room implementation instead of an unclear one, would the maintainers then have a right to relicense under the same name? I would imagine that yes, they do have the right to relicense in that case because the copyright only applies to the code, not the project itself
Show HN: Reelforge – AI tool for generating TikTok and Reels ad scripts
by Milkoo | 2026-03-06 07:01:02+00:00
Show HN: Reelforge – AI tool for generating TikTok & Reels ad scripts

Text

I built a small AI tool that generates short-form ad scripts for TikTok, Instagram Reels, and YouTube Shorts.

You simply enter a product name, choose the platform, and select a tone.

The system generates a hook, main script, and call-to-action.

Demo
https://reelforge-ai1.vercel.app/

Built with Next.js and OpenAI.

Would love feedback from the community.
by Guestmodinfo | 2026-03-06 07:01:21+00:00
12 is the magic number when things start going to shit. I'm sorry for what happened to you but maybe you should start a counselling service for clueless parents and tell them what should they do and what they shouldn't to correctly shelter the children. Because sheltering is an art. I think about it all the time. I always wish some one would take a bit of money but tell me how to guide or not guide my child to be independent in the rough world and to take decisions independently