News for hackers. Stuff that matters.

lschneider

A bit more on the card data problem, since that took the majority of my time.

Each card needs, besides the title and year, a difficulty score, a popularity score, and a fun fact. Difficulty is just a measure how "obscure" the card is, most of the difficulty of a deck comes from how many cards + how close the years of the cards are. Popularity is used to create decks that are actually fun because no one enjoys just having super nieche titles they've never heard of.

Creating 2000+ cards was by hands was not possible so I used Claude to do it. After the initial card generation process, I created some skills to do quality assurance runs on the cards. Dividing cards into chunks that are manageable for Claude was the biggest difficulty here. Also, assigning difficulty/popularity scores was quite hard because Claude gave all of them 4-8 scores (out of 10). I solved this by coming up with specific rules for when to assign which score. For fun facts and year fact checking, I made Claude look up everyting manually on the internet.

Lastly, I had Claude create a scrappy QA dashboard with card stats and edit forms. I spent a lot of time playing the decks and manually adjusting things that caught my eye. This is still an ongoing process because when creating shareable decks for my friends, I still find that a lot of good cards are missing.

All in all it took me probably 10-15 hours to create all of the cards. This probably only saved me ~30-50% of the time it would take to create them manually. But now I have a repeatable process that's less error prone and will (hopefully) speed up creating more cards in the future.

Show HN: Deckades – Was Star Wars released before or after the first Email?

https://deckades.app/daily

Deckades is a daily timeline trivia game. It shows you a film, song, invention, historical event, etc. and you slot it on a growing timeline by the year it was released/happened. It gets harder with every card as the timeline gets crowded and you only get 3 lives to place all 10 cards. The daily puzzle is the same for everyone, with a share grid at the end so you can compare.Built solo over the...

( Read More... | 1 comment | 2 points | on HN )

Show HN: Open-source AI image/deepfake detection that actually works

https://www.nonescape.com/

Hi HN,YCW24 company here, we just open-sourced an AI image detection model that beats the SOTA commercial detectors. AI-generated images/videos have become incredibly good in the last few months and are flooding the internet; being able to detect them reliably gives some power back to consumers and companies that care about high-quality, genuine content.Detecting AI-generated images is a very...

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

Show HN: Generate docs for any GitHub repo (+ RAG chat)

https://www.givemedocs.com

Hi everyone, not having docs for a library / tool you want to use can be super annoying and while reading through the code can be fun, you don't always have the time.So, I made this tool where you can generate documentation for any GitHub repo. Since all files get embedded/summarized anyways, I'm storing this info in a database and you get a RAG-chat for the entire codebase for free!To try it...

( Read More... | no comments | on HN )
That's a great point, it would be better to keep the gradients separate from the Scalars.

However, I think PyTorch does it the same way (?), at least they say something like this in their docs.

"This function accumulates gradients in the leaves - you might need to zero .grad attributes or set them to None before calling it." - https://docs.pytorch.org/docs/stable/generated/torch.autogra...

The rust burn crate does it better, they store the backprop'd gradients in a separate container and return it: https://github.com/tracel-ai/burn/blob/af381ee18566fc27f5c98...

Show HN: Open-source sound effects and react library to spice up your website

https://www.reactsounds.com/

Hi all, I've been using sound effects in a few web-projects lately (mostly for notifications) and it's always a pain to find good sound effects and then handle them in the browser. So, I compiled my learnings into an easy-to-use React library. It currently has ~70 sound effects (MIT licensed) and I'm happy to add more if you have any requests.PS. the sound effects can of course be used without...

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

Show HN: Sayso – We Fixed AI Phone Calls

https://www.saysoapp.com

Hi HN,YC w24 company here. We just pivoted from drone delivery and on-demand GPU rental back to our original idea - using AI for language learning.The Sayso app uses interactive Stories, really good AI Phone Calls and immersive community posts to create a fantastic Spanish learning experience.Sayso lets you “shop around” for the lesson/story you want to do. Each story contains - well - a fun...

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

Show HN: Airbnb for GPUs

https://www.gpudeploy.com

Hi HN,We launched a bare-bones version of gpudeploy.com a few months back. Basically, it's a site for renting GPU-enabled servers and the traffic gets routed to idle compute resources (= great price + high availability). We aim for a smooth user experience by being very opinionated with configurations and software and sorting out bad machines immediately.Since then, we've thrown out the air...

( Read More... | no comments | on HN )
Github Copilot is the most useful tool I've found in a long time and having that in Jupyter Notebooks is just awesome. I've been missing that for quite some time. Great work guys!
Re:Show HN: gpudeploy.com – "Airbnb" for GPUs on Saturday May 04, 2024 @09:14PM (#40261591)
At the moment, we manually verify operators and are currently onboarding some tier-4 operators. Down the line, we'll have a 2-tier system where you can choose whether you want a verified machine or not. From the operator's perspective, everything runs inside Docker, configured with security best-practices.
Re:Show HN: gpudeploy.com – "Airbnb" for GPUs on Saturday May 04, 2024 @07:36PM (#40261170)
There's a post how to list your GPU here: https://blog.gpudeploy.com/earn-passive-income-renting-out-y...