frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Square Theory

https://aaronson.org/blog/square-theory
233•aaaronson•3h ago•44 comments

Pyrefly vs. Ty: Comparing Python's Two New Rust-Based Type Checkers

https://blog.edward-li.com/tech/comparing-pyrefly-vs-ty/
139•edwardjxli•4h ago•57 comments

Launch HN: Relace (YC W23) – Models for fast and reliable codegen

48•eborgnia•3h ago•23 comments

How a hawk learned to use traffic signals to hunt more successfully

https://www.frontiersin.org/news/2025/05/23/street-smarts-hawk-use-traffic-signals-hunting
253•layer8•7h ago•78 comments

In defense of shallow technical knowledge

https://www.seangoedecke.com/shallow-technical-knowledge/
40•swah•2d ago•15 comments

LumoSQL

https://lumosql.org/src/lumosql/doc/trunk/README.md
184•smartmic•8h ago•71 comments

BGP handling bug causes widespread internet routing instability

https://blog.benjojo.co.uk/post/bgp-attr-40-junos-arista-session-reset-incident
195•robin_reala•8h ago•89 comments

Show HN: Malai – securely share local TCP services (database/SSH) with others

https://malai.sh/hello-tcp/
64•amitu•4h ago•24 comments

Roundtable (YC S23) Is Hiring a Member of Technical Staff

https://www.ycombinator.com/companies/roundtable/jobs/ZTZHEbb-member-of-technical-staff
1•timshell•1h ago

CSS Minecraft

https://benjaminaster.com/css-minecraft/
1051•mudkipdev•1d ago•117 comments

The Art of Fugue – Contrapunctus I (2021)

https://www.ethanhein.com/wp/2021/the-art-of-fugue-contrapunctus-i/
67•xeonmc•5h ago•34 comments

DuckLake is an integrated data lake and catalog format

https://ducklake.select/
148•kermatt•5h ago•52 comments

Outcome-Based Reinforcement Learning to Predict the Future

https://arxiv.org/abs/2505.17989
52•bturtel•5h ago•7 comments

Running GPT-2 in WebGL: Rediscovering the Lost Art of GPU Shader Programming

https://nathan.rs/posts/gpu-shader-programming/
14•nathan-barry•1h ago•3 comments

Why Cline Doesn't Index Your Codebase (and Why That's a Good Thing)

https://cline.bot/blog/why-cline-doesnt-index-your-codebase-and-why-thats-a-good-thing
110•intrepidsoldier•5h ago•79 comments

Comparing Docusaurus and Starlight and why we made the switch

https://glasskube.dev/blog/distr-docs/
11•pmig•4d ago•2 comments

GitHub MCP exploited: Accessing private repositories via MCP

https://invariantlabs.ai/blog/mcp-github-vulnerability
384•andy99•1d ago•256 comments

The Hobby Computer Culture

https://technicshistory.com/2025/05/24/the-hobby-computer-culture/
50•cfmcdonald•3d ago•23 comments

Show HN: Free mammogram analysis tool combining deep learning and vision LLM

http://mammo.neuralrad.com:5300
7•coolwulf•4h ago•7 comments

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
6•rainmans•3d ago•1 comments

Worlds first petahertz transistor at ambient conditions

https://news.arizona.edu/news/u-researchers-developing-worlds-first-petahertz-speed-phototransistor-ambient-conditions
76•ChuckMcM•2d ago•48 comments

Just make it scale: An Aurora DSQL story

https://www.allthingsdistributed.com/2025/05/just-make-it-scale-an-aurora-dsql-story.html
67•cebert•7h ago•21 comments

Show HN: Lazy Tetris

https://lazytetris.com/
246•admtal•15h ago•105 comments

Revisiting the Algorithm That Changed Horse Race Betting (2023)

https://actamachina.com/posts/annotated-benter-paper
87•areoform•9h ago•35 comments

The Myth of Developer Obsolescence

https://alonso.network/the-recurring-cycle-of-developer-replacement-hype/
247•cat-whisperer•8h ago•278 comments

From OpenAPI spec to MCP: How we built Xata's MCP server

https://xata.io/blog/built-xata-mcp-server
20•tudorg•2d ago•11 comments

Trying to teach in the age of the AI homework machine

https://www.solarshades.club/p/dispatch-from-the-trenches-of-the
379•notarobot123•23h ago•535 comments

LiveStore: State management based on reactive SQLite and built-in sync engine

https://livestore.dev
113•akoenig•9h ago•28 comments

Highlights from the Claude 4 system prompt

https://simonwillison.net/2025/May/25/claude-4-system-prompt/
263•Anon84•21h ago•72 comments

Lossless video compression using Bloom filters

https://github.com/ross39/new_bloom_filter_repo/blob/main/README.md
321•rh3939•1d ago•109 comments
Open in hackernews

Show HN: Lazy Tetris

https://lazytetris.com/
245•admtal•15h ago
I made a tetris variant

Aims to remove all stress, and focus the game on what I like the best - stacking.

No timer, no score, no gravity. Move to the next piece when you are ready, and clear lines when you are ready.

Separate mobile + desktop controls

Comments

sherdil2022•15h ago
It is good but not intuitive. Also the line doesn’t clear when all tiles in the row are filled. It is good to show the shadow of the piece where it would fall - at least as an option.
admtal•14h ago
You gotta press “clear” to Clear the rows

And you can click the “ghost” icon to get the shadow piece.

You’re absolutely right, not intuitive

vunderba•14h ago
Nice job. Add in some Nintendo Wii lobby style music to give it that extra chill vibe.

FWIW, you can also do this on TETR.IO in Zen mode - just set the Gravity to 0 and turn Leveling off.

irjustin•13h ago
Still managed to kill myself trying to do a "full screen" tetris. Somehow I always end up finding ways to add the stress back in.
em-bee•8h ago
why is that stressful? i find a puzzle like figuring out how to fill the screen fun and relaxing.

i'd like to see a few improvements for that though:

don't end the game just because a piece touches the top row. allow to continue playing as long as there is room for more pieces to be placed. (i just noticed that doesn't happen all the time. maybe only when the next piece doesn't fit into the spot to be placed)

but even if there is no more room, don't end the game when there are rows that still can be cleared. the game should only end when no other action is possible. and ideally, don't automatically clear the field when the game ends. let me admire the result, and add a reset button to clear manually instead.

other features that could be nice: when starting over the hold should probably be cleared. a bigger hold would also be nice. and how about a score? relaxing doesn't mean it can't be competitive. i mean we all experience stress differently. i find being pressured for time to be stressful, but i don't mind a hard puzzle as long as i have time to solve it and am not losing progress when i make a mistake.

i managed to fill 17 rows without clearing any before the game ended. can anyone beat that? you'd have to be very lucky with the pieces you get at the end :-)

op00to•7h ago
Somehow this is an apt metaphor for life.
ggoo•13h ago
I would recommend renaming this project to not include the t word.
wvbdmp•13h ago
This is a great idea and I love it but somehow I’m randomly having issues hitting the Drop button, which make this unbearably stressful/frustrating. (iPhone SE)
admtal•12h ago
Does the two finger tap work?
geon•12h ago
Yes
sali0•12h ago
I love this, spent more time on it than i thought i would. You should make this into a native mobile game.
cube00•12h ago
This kind of simple game feels like it would be perfect to remain web/PWA based, what benefits do you foresee in a native mobile version?
sali0•12h ago
Would be nice to pop it up on the phone via an app. PWA would also be nice.

But main reason is so he can monetize. Would gladly pay a few dollars for this.

solumunus•11h ago
Monetisation.
johnisgood•9h ago
With screen blocking ads popping up every 5 seconds? :D
Ylpertnodi•8h ago
With 'several' X's on the ads....to make closing them a 'game'.
hansmayer•12h ago
Awesome stuff, but have you considered adding an MCP interface so that an AI can play it instead of us :) :)
falcor84•9h ago
I know you're being facetious, but you can use the Puppeteer/Playwright MCP.
hansmayer•9h ago
I wasn't actually aware there as Playwright MCP. Well then, maybe we should have a go at it :)
metayrnc•12h ago
Wow this is such a great idea. Also the controls on mobile were top notch. No issues with random zooming, text selection, weird scrolling etc. Felt like a downloaded app.
SaturateDK•12h ago
Seems to be down currently.
admtal•12h ago
Hoping the Netlify free tier holds up, wasn't expecting front page
bemmu•12h ago
This is like Tetris with creative mode.
alana314•12h ago
Fun! Can we get a keyboard shortcut for clear?
admtal•12h ago
That is such a good idea, I’ll prob add tomorrow
Obscurity4340•12h ago
What if you start at a reasonably easy gravity but progressively ease up on it so things get slower and theres a baseline to move down from rather than it always being free and easy
geon•12h ago
Cool.

The drag gesture is slightly broken though. If the piece collides with the wall, it sticks instead of sliding.

hnlmorg•12h ago
Played for a little while and didn’t get a single L piece. I’m guessing you’re picking pieces randomly?

If you wanted to further reduce the stress then you could use the single bag system (same link as below, bottom of the page).

[1] https://strategywiki.org/wiki/Tetris/Pieces#L_piece

admtal•12h ago
Fantastic idea, thank you for sharing, will add multi bag
yreg•8h ago
I had the same with an eye piece and I stubbornly continued building rows with single tile gap. It was so satisfying to get the I pieces in the end and finish it!
abcd_f•8h ago
That's how you get the "tetris" score - by completing 4 row at once.
keepamovin•12h ago
Your stuff is very fun. Look at this, this crazy little thing (by same person): https://passwordbasket.com :)
izietto•8h ago
I laughed so hard I'm worried I bothered my neighbours!!! This is terrific!!!
admtal•2h ago
Thank you so much, that is all I want to hear in the world
hoosieree•1h ago
I never before considered that a password generator could be fun. My mind has been changed. Now I believe they should be fun.
simlevesque•31m ago
That just put a smile on my face.
darkwater•11h ago
Cool idea!

Playing on desktop with a keyboard, I cannot move pieces up when they reached the floor, though. I moved one piece down too much thinking it was possible to move it up again and that caused me to stress a bit ;)

admtal•11h ago
On desktop you can click and drag
lynx97•11h ago
While we are at unconventional tetris implementations: I wrote a cosmopolitan libc based tetris clone for Braille display users. IOW, pieces "fall" horizontally, and blocks are rendered with (unicode) braille.

https://github.com/mlang/betris

Big thanks to @jart, cosmo is a godsent for cross-platform TUI stuff.

alnwlsn•6h ago
I made one once which was just like normal Tetris, but you could fight against gravity and move the pieces upwards. It actually doesn't change the gameplay that much, because eventually you progress far enough that you just can't push 'up' fast enough, and gravity wins.
bramvanleur•11h ago
It would be great if undo would make the piece appear at the spot I dropped it from. So I can correct mistakes by "undo", "left", "drop".

But what I am really looking for in Tetris is the game to train me. After observing me play for a few minutes it tells me: _"Hey, I notice you always deal with L pieces horizontally. Proffesional players usually prefer to X so they can achieve Y"_

Ylpertnodi•8h ago
AI Tetris?
PetitPrince•8h ago
Tetris the Grand Master 4 (that has been released recently on Steam) has a training mode that suggest to you where to place you pieces. You can even select different goal for the CPU (survival, make as much Tetris as possible, make as much T-spin as possible, ...). Of course when it gets fast your brain cannot process the suggest and it's kinda useless, but it's a good first step. Also the fundamentals of Tetris are simple to recite: maximize your piece placement possibilities / minimize your piece dependencies, avoid overstacking over holes, be mindful of your piece mobility; this can boils down to "play flat but not too much".
jorisboris•11h ago
This was quite fun!
aronhegedus•11h ago
I randomly got 4 line pieces at the start, thought this was going to be a line piece only Tetris variant :D
lorikmor•10h ago
I played it and thought it was dumb initially but then I loved the way it was not stressing me. Interesting concept
filt•10h ago
Nice! But a ghost piece would be helpful!
francislavoie•9h ago
There is one, there's a toggle for it on the right
xnickb•10h ago
As someone who tried to be good at tetris but has failed miserably, this has potential to be a good tool to practice lookahead. Of course for that one'd need to have an option to see next N pieces in the queue.

But it's indeed a nice and relaxed take on tetris.

Brajeshwar•9h ago
I laughed out like crazy for minutes on reading the title. I had to re-visit one of my regular saying and I thought that was cool but it ain't no more, “Business is Chess, and Life is Tetris.”

I’m going to move the first piece down sometime soon.

albert_e•9h ago
I love this. Thanks.
jsheard•9h ago
Just a word of warning, the Tetris Company is pretty aggressive about protecting their trademarks. I'd at least pick a different name, but sometimes they even go after Tetris clones which don't use the name (e.g. Apotris).

https://github.com/github/dmca/blob/adcac3eddac2e5555d87942d...

franze•8h ago
Thats why I never mention the T word once on my variation https://ihopethisisfun.franzai.com/
rplnt•6h ago
What they go after is not just the name, but the shapes. But I think you are fine as long as you do not monetize or get popular.
GolDDranks•4h ago
Which is crazy, because the shapes are just an idea, and you can't copyright ideas. They also couldn't be a trademark infringement (IANAL, though) if you don't use them in your branding.
johnisgood•4h ago
Trying to copyright shapes or blocks of various shapes is wild to me.
rplnt•3h ago
They don't claim copyright on the mechanics. They pursue trademark violation. If it has falling tetrominos, it might be confused with Tetris, is the idea. You can use different shapes and be fine.
nashashmi•3h ago
It is the series of shapes in one project that makes it Tetris. So think of it as a series of copied ideas in one product that make it a legal challenge
silveira•1h ago
The shapes are called tetrominos, four squares connected orthogonally. Tetris the game, was created with pentominoes (5 squares) and scaled down to tetrominos. The game was inspired by physical puzzles where fill a rectangle with the shapes. So these shapes existed before Tetris.

Would they go after the shapes? Possibly. See "Tetris Holding, LLC v. Xio Interactive, Inc.".

rplnt•9m ago
One I remember is Blockles by OMGPop, which was a great multiplayer tetris-inspired game. There was legal threat, and they took it down in 2009.
ddtaylor•8h ago
The Tetris mark as a whole has an amazing history. It's a mark that was created from the ashes of a state that didn't allow trade and was involved in conflict and is kind of a marvel at the amount of cooperation that needs to happen for something like this. It's basically all edge cases.

Going after "clones" that have similar gameplay is wrong and they should (and likely do) know better. This has been resolved with Hasbro in the past as they were very litigious and went after clones of their games like Scrabble claiming their patent (and other parts) extended to the gameplay elements etc. IIRC the court rejected that argument and said that they can copyright or trademark the color combinations, names of points, etc. but they cannot patent the fundamental scrabble gameplay etc.

jsheard•8h ago
AIUI it's some weird legal sleight of hand where they don't (and can't) actually own the Tetris gameplay mechanics, but they have successfully argued in court that the appearance of the game constitutes their trade dress, and in practice you can't really implement the Tetris mechanics without the result looking like Tetris.

TTC is the gaming version of Oracle in that one meme[1], 90% of their raison d'etre is just to scare people away from making Tetris clones or variants without their permission so they can keep collecting rent on it forever.

[1] https://www.globalnerdy.com/2011/07/03/org-charts-of-the-big...

IggleSniggle•7h ago
I've always loved this image set. I have a feeling it's very different in 2025 though; would love to hear what current or very recent employees at these companies think
teddyh•7h ago
> TTC is the gaming version of Oracle in that one meme

Link to the original artist instead of blogspam: <https://bonkersworld.net/organizational-charts>

jsheard•6h ago
Thanks, I thought the source had link-rotted but their server is just misconfigured (it looks like they switched from the www subdomain to a naked domain, but didn't set up a redirect, so old www links just throw an error).
wgjordan•2h ago
Not just 'Tetris' (and *-'tris') trademark and Lanham Act trade dress, but they have also successfully argued in court [1] that the 'look and feel' of Tetris constitutes its copyrighted expression. In that case, Tetris Holding argued (and the judge agreed) that even the use of the seven one-sided tetromino playing pieces was part of their copyright.

Here's the description of the only Tetris gameplay mechanics the judge in this case conceded cannot be protected:

> Tetris is a puzzle game where a user manipulates pieces composed of square blocks, each made into a different geometric shape, that fall from the top of the game board to the bottom where the pieces accumulate. The user is given a new piece after the current one reaches the bottom of the available game space. While a piece is falling, the user rotates it in order to fit it in with the accumulated pieces. The object of the puzzle is to fill all spaces along a horizontal line. If that is accomplished, the line is erased, points are earned, and more of the game board is available for play. But if the pieces accumulate and reach the top of the screen, then the game is over. These then are the general, abstract ideas underlying Tetris and cannot be protected by copyright nor can expressive elements that are inseparable from them.

[1] Tetris Holding, LLC v. Xio Interactive, Inc. (2012) https://scholar.google.com/scholar_case?case=180648822600252...

jwrallie•5h ago
That’s sad to hear about, I understand why they did it, but I’m sure everyone that cared will be hesitant to ever spend anything on their trademark.
Charon77•9h ago
There's a bug where the ghost doesn't update its position after clearing.
stevage•9h ago
"lazy" doesn't feel like the right name. More like low stress. I really enjoyed it.
didSspin•9h ago
After fiddling around for 3 minutes, I managed to do an illegal L spin.
anArbitraryOne•8h ago
I still suck at it
Arcorann•8h ago
Neat. However, I noticed that the page description reads "No stress, memory-optimized 3D Tetris variant.", but I can't figure out what's supposed to be 3D about it.
admtal•7h ago
Ha, I missed that. The AI prob wrote that. It thinks it’s 3D because it’s using the three JS library and I was asking for performance optimization ideas
leansh•8h ago
Thanks for this, another feature I generally like is showing a shadow where the piece will end up
op00to•7h ago
This is awesome! Love the idea. Great work.
mihaaly•7h ago
Lazy Tetris is definitely my game! : )
the_af•7h ago
Was this vibe coded with AI? Based on one of your replies here, and your post history, I think it is.

I also think some of your comments here are also AI-generated, e.g. this one where you both posted a submission and asked yourself to "stop posting AI generated garbage":

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

admtal•6h ago
Yup, vibe coded with rosebud ai from my phone, and some ChatGPT

I swear I can code for real, I was just having fun

the_af•3h ago
Can you explain this comment you posted a while back, on your own HN submission (you talking to yourself?):

> "Adam, congrats on your book, but please stop spamming this message board with your AI Generated garbage"

Note if the above sounds aggressive, I didn't write it. You did... in reply to yourself! To be honest it seems as if you're writing comments using an LLM, and the LLM got confused.

ilker2495•7h ago
Great idea, played until I got a fullscreen clear, I really like it but the single rotation key is annoying, I suggest having separate clockwise/counter-clockwise keys. Also single bag randomization algorithm please (look up 7-bag, 7BR), bag makes even NES Tetris super chill since you never get overwhelmed or left waiting for a long piece. Another suggestion is to add a "ghost piece". Basically a display for where the piece is going to end up if you hit drop. Others in this thread are right. You should avoid the "-tris". My favourite Tetris clone calls itself "Shiromino" for example. Maybe "Slo'mino" to emphasize the slowness of it, or something like that, I'm sure you can come up with a way better name. I don't mean to be overbearing this is a very fun idea and I enjoyed my time with it!
heisenbit•7h ago
I prefered moving the piece down into the right place. I found it a bit annoying and also not intuitive to have to press ‚drop‘ for a piece which was down already and which i released. Would be nice if it auto-dropped on drag release when at the bottom.

Last but not least: Fun and relaxing.

tantalor•7h ago
Feature request: to make it even lazier show a preview of where the piece is going to end up when it lands, like a ghost image
fellowniusmonk•1h ago
There is a ghost toggle on the right side.
tianqi•6h ago
Me tried the first minute: this guy missed everything about game design.

Me after 1.5 hours and wondered why hadn't stopped: I know nothing about game design.

admtal•2h ago
This made my wife and I laugh
admtal•6h ago
Thank you all for playing and leaving such great suggestions and comments!!

I will likely add many of these suggestions over the weekend.

- Multi bag instead of fully random

- No auto clear on game end

- Clear hold on game reset

- Rename to LAZY PUBLIC DOMAIN BLOCK GAME

also, I need better UX or something, because some of the suggestions are already implemented but it’s prob not initiative/ hard to find.

Clicking on the ghost enables the ghost piece. I personally hate ghost pieces, and I always disable them, so because it’s my game, I have it off by default.

Tapping left side and right side rotate left and right.

Keyboard Up and Shift rotate left and right.

Delete key does UNDO

Enter does HOLD

You can touch drag or click drag to move your piece, even dragging up.

Oh, also you can drag from anywhere, you don’t have to actually click the piece.

You can two-finger tap to DROP (that’s how I play, it’s so satisfying)

Three-finger-tap is HOLD

You can save to home screen on iOS and it should play as a full screen app.

If you get a “Tetris” (four line clear at once) a secret gift button appears, but it’s just a link to my book, because everything I do is soulless cash grab.

I’m lazy, and built this game sitting on the couch on my phone using a mix of rosebud.ai and ChatGPT. I also had to get in my laptop to do performance optimizations manually, that part sucked, it was like real work. But otherwise, vibe-coding is fun.

This game is made specifically for me and how I like to play, and I’m glad others enjoyed it!

jedberg•55m ago
> Clicking on the ghost enables the ghost piece. I personally hate ghost pieces, and I always disable them, so because it’s my game, I have it off by default.

I love this. You made a game for you, if others like it, great!

> Enter does HOLD

When I got to my first hold I had to go back to the Home Screen to see this, because I'd forgotten. And clicking "hold" with the mouse didn't do anything. Maybe have a list of the keys on the side? Or under where it says "hold"?

> If you get a “Tetris” (four line clear at once) a secret gift button appears, but it’s just a link to my book, because everything I do is soulless cash grab.

I might actually get the book! Looking at the sample it looks fun. Could be a card game too.

> This game is made specifically for me and how I like to play, and I’m glad others enjoyed it!

I did! It's great for people with kids, because you can just stop in the middle.

layer8•6h ago
I wouldn’t call it “lazy”, because all the manual dragging is actually quite tedious work. ;)
osm3000•6h ago
Gosh this awesome! Thank you! That put a huge smile on my face ♥
maplant•5h ago
If you happen to find the opposite of this fun, check out Tetris the Grand Master 4 which just released on Steam.
eternauta3k•2h ago
I thought the opposite would be https://qntm.org/files/hatetris/hatetris.html
maplant•1h ago
Apparently this tetris clone has a relatively unforgiving piece generator, so I'd say the opposite would something on the other end of the speed spectrum
__s•5h ago
UNDO doesn't clear HOLD
tiberius_p•5h ago
I still suck at this game, even with all the help.
acjohnson55•4h ago
This is really cool! My kids like watching me play Tetris, but they don't like playing themselves because of the speed of the game, even when it first starts.
lastcoyotes•4h ago
Why does the yellow button link to an amazon listing?
admtal•3h ago
It’s for the authors book, it’s a cheeky calling card
onehair•3h ago
The Joy of Ctrl-U view source and actually finding the SOURCE available to read directly in the browser!
kristopolous•3h ago
I wanted to drag them after they're dropped. That'd be great: "no you're going over there."
carlsverre•2h ago
I think this is the first time I really enjoyed playing tetris. Terrific idea!
cshimmin•1h ago
There's a board-game version of Tetris that I've been playing with my toddler, and is pretty much the same low-stress approach. It's also multiplayer (the next piece everyone must use is decided by drawing cards from a deck). The only shortcoming is that you can't do the maneuver where you slide a piece sideways just as it hits the bottom to slot it into place under another piece. Highly recommend!
freedomben•1h ago
Really neat! Would love an "auto clear" setting though. Is it open source? This seems like a fun project to hack on
admtal•43m ago
I’ll Prob open it up this weekend
RRRA•31m ago
Needs to be able to rotate in place or certain moves usually possible are now unattainable, but great otherwise
enahs-sf•8m ago
i had some interesting thoughts while playing about how this aligns with the work of startups.

Even with the constraints of time and gravity removed and with undo, it's still quite easy to make choices that keep the structure up but leave gaps which are hard to fill in. These end up leading to cruft that's hard to get rid of.

With some degree of ability to look ahead, it's hard to break away from the human psychology of aligning the structure to your expectations for a certain piece, that may or may not be coming in the near future. somewhat analogous to building for an audience that may not be there or may never come.

Despite having all advantages, it's still quite possible to paint yourself into a corner and fail.

One can learn a lot from this game if they take the time to observe it.