News for hackers. Stuff that matters.

farcaster

Show HN: Tetris where every pixel is another Tetris (23,040 games in GLSL)

https://thiagolira.blot.im/_projects/fractetris/index.html

On this page there are two complete recreations of the original Gameboy Tetris game based on the commented assembly code. On the top level there is a C version that compiles to WASM but on every pixel of that version there is a GLSL shader also implementing the complete original code with a AI player making virtual inputs!Everything was planned by me and coded by Claude Fable. Brazilian tileset...

( Read More... | no comments | 2 points | on HN )

Show HN: 178K Parameter Neural Net That Wins Poke(rogue)like

https://blog.thiagolira.com.br/i-got-so-mad-at-poke-rogue-like-that-i-trained-a-rl-agent-to-beat-it-for-me

After losing hundreds of games of https://pokelike.xyz/ it occurred to me that the state space was small enough that maybe a small neural net trained with PPO could beat it somewhat consistently. After some reward engineering it works! The PPO-trained neural net can beat 9% of all runs all the way to the Elite Four!

( Read More... | no comments | 3 points | on HN )
Re:Dropbox CEO Drew Houston to step down on Tuesday May 26, 2026 @02:27PM (#48283756)
10 years ago they had such a nice feature of grabbing your pictures metadata and showing them on the globe (Immich does this too). And they just scrapped it for no reason. I guess they wanted to make dropbox into more of a collaborative google docs kind of thing. But that's not why I started paying for it.
I used DeepSeek V3.2 for everything at $0.25/M input tokens and $0.38/M output tokens.

I lost count of how many runs I had until I was satisfied with the results. I'd say for the final books I spent +- $10, so some millions of tokens!

Show HN: Visualizing How Books Reference Each Other Across 3k Years

https://thiagolira.github.io/bookgraph-revisited/

There are two parts for this project:1) The LLM-powered pipeline to extract citations (books + authors) from books and resolve them using both Wikipedia and Goodreads with offline copies I have. The result is data associating Books/Authors to other Books/Authors with accurate bibliographical information spanning centuries.2) A WebGPU + D3.js powered visualization tool written by Claude Code so...

( Read More... | 3 comments | 4 points | on HN )
Re:Taichi Lang on Thursday March 09, 2023 @06:09PM (#35088153)
I was playing earlier today with Triton[0], from OpenAI. Like Taichi it makes it super easy to write native GPU code from Python, but it really does feel like something very experimental for now. (I know the use case is very different)

[0] https://openai.com/research/triton

Re:Realtime GPU-powered implicit function plotter on Tuesday January 24, 2023 @05:18PM (#34511367)
I've been meaning to do some project in the browser involving the GPU and can't decide on a framework to use.

What would you recommend? The cool kids seem to be using pure webGPU

Re:The Power of Narrative on Monday April 11, 2022 @03:26PM (#30993508)
I'd love to read about this view of the world as the power actuated by language. It is really a popular narrative nowadays everywhere you look (people censoring "bad" words etc).

Which thinker is that from? Foucault? Marcuse?

Re:A beginner's guide to intermittent fasting (2012) on Thursday March 10, 2022 @11:09AM (#30628493)
This might be an individual reaction to fasting, but I always have headaches when I don't eat properly (skip meals, etc). Is this something that I would have to get used to when eating less?
Hello HN! After seeing a similar project on HN[1] I thought I would share my pet project of using AI to find citations between my books (e.g. Montaigne cites Plato, Hannah Arendt cites Dostoevsky etc.)

The ideia is to use AI to detect from the text books citing another books, and to make it "historical" by assigning the correct publication date to the target and source of each citation and graph everything!

The technical aspect is explained on this medium post[2](paywall free link!)

If you have any suggestion of improvements I will be happy to hear them :)

[1] https://news.ycombinator.com/item?id=28595967 [2] https://medium.com/mlearning-ai/graphing-citations-between-b...

Amazing results!

I did something similar with RoBERTa and my own Kindle library to graph (with D3.js) all mentions/citations between my books (which books cites another books I have). I sorted the final graph by publication date to see some cool historical patterns of books citing another older books [1]

I also manually annotated ~1000 book mentions, but I combine RoBERTa with string search (I list all titles I want to search a priori) to reduce the number of false positives. I also augumented the dataset with thousands of books titles and metadata from goodreads.

I explain all the process on a blog post[2]

[1] https://thiagolira.blot.im/_projects/book_graph/main.html [2] https://medium.com/mlearning-ai/graphing-citations-between-b...

Re:Hiring Without Whiteboards on Wednesday July 29, 2020 @09:33AM (#23986452)
I once applied for a company here in São Paulo where after the technical interview (no whiteboard) I talked on-site with the CTO and he passively-agressively asked a bunch of random questions and tried very hard to be a dick about it ("oh, you consider yourself a good self-learner? French? I bet you couldn't read some news in French if I opened any here right now. JUST KIDDING")

At the end of this 40 minute nightmare I had a bizarre homework to do at home that involved writing a list of uses to a paperclip.

They took a month to send me an email saying I wasn't accepted.

Re:Ask HN: What did you make during lockdown? on Monday June 22, 2020 @05:14PM (#23606756)
LingQ is something else. The ideia is that you should feed the app with "input" from your target language that you care about[1], and listen to it again and again. Memrise is more like a Duolingo that actually works haha

[1] https://www.youtube.com/watch?v=rw-u_vVx6Is

Re:Ask HN: What did you make during lockdown? on Sunday June 21, 2020 @01:03PM (#23593325)
I went from knowing nothing of French to reading 20 thousand leagues under the sea by Jules Verne in French (the original language)

It's not that big of an achievement since I'm Brazilian and I already speak Italian, the romance languages are somewhat similar. But I'm happy and I want to keep learning new languages because that proved to be a rewarding experience all steps of the way.

I've used Lingq and Memrise, if anyone is interested :)

Re:Ask HN: How to get a job as Data Scientist on Thursday March 05, 2020 @11:00AM (#22494669)
Yeah, I've been applying more often to the smaller ones.

Ask HN: How to get a job as Data Scientist

I have a Computer Engineering degree and have almost finished my Masters in Statistics/AI (both in Brazil). And I'm having a terrible time to find a entry-level job as a Data Scientist. At this point I've done a bunch of interviews, here are some thoughts about then:- Almost all places have some first phase as a internet test with hard/very specific questions about Software...

( Read More... | 3 comments | 9 points | on HN )