New top story on Hacker News: Show HN: Pointless but mostly-exact clone of Hacker News

Show HN: Pointless but mostly-exact clone of Hacker News
8 by sillysaurusx | 2 comments on Hacker News.
Source code: https://ift.tt/9tUrKM2 I had more things I wanted to do with this, but I should probably admit to myself I probably won't be. The original idea was for https://ift.tt/nKvZRg9 to be "Hacker News, but all the comments are AI." Right now it's "Hacker News, but all the comments are the same as the real HN." Hence, it's completely pointless. Special thanks to dang for collaborating -- he even suggested the name for the codebase, "sharc". Development time was about four months of near daily work: https://ift.tt/8QqSHpC... Some days I'd spend a solid 16 hours on this. What's the point? None, really. Just to test the limits of my abilities and prove to myself that I could do what pg did. It's an extremely efficient port of HN to Common Lisp. One of the project's goals was to be high performance. According to benchmarks, it can generate pages very slightly slower than real HN. (dang shared some timings on a particularly busy page, along with how many views it got over a certain time period, for benchmarking throughput. I never got around to verifying whether I can handle 24 million views a day, though, so I'd imagine something might break if you scale this up. On the other hand, I think it'll hold up.) If you're particularly offended that this is copying your comments, claim your account by going to your profile (for example, I would go to https://ift.tt/PUOD6KR ) and then click "claim" at the bottom. It'll ask you to put a 6 digit code into your real HN profile, at which point you'll be able to reset your cloned profile's password. Log in, go to your profile page, and set "redact" to "yes", the same way you'd set "showdead" to "yes" on HN. So, why make this? Eh, call it an art project. That's code for "It would've been a lot funnier with AI generated comments, but I seem to have stopped working on this for now." I'll post an update someday, if I can figure out how to do it without paying hundreds of dollars of API token prices. /ask and /show are missing. Those were the only two features left to clone. But pretty much everything else is there. It's been running for a couple months now, so I suppose it's stable enough for a public showing. Not that there's any reason to look. Shoo! Go find a more worthy project to devote your attention to. :) Kind of melancholy admitting that I spent four months with only something pointless to show for it. But then again, here's the punchline: go to any random comment on HN, then in the url change .com to .lol and you'll see an almost pixel perfect recreation. For example, https://ift.tt/1H7feJj Sadly you can't form a loop, because if you edit your original comment with a link to itself, you'd only be able to go from HN to .lol to HN. But you could list both and switch between them as much as you want. For example: https://ift.tt/o9sVapL https://ift.tt/6rKFNH8 This project was one of the most technically demanding things I've ever done. People look at HN and go oh, that? That looks easy. If you think so, I invite you to write it yourself -- it's an exercise that'll certainly make you a better programmer, and gain appreciation for how many subtle features we enjoy here on HN. Ha, and I just discovered a new one. I mixed up the "title" and "url" boxes just now. HN popped up a nice looking overlay that said "please enter a URL", pointing to the actual url box. https://ift.tt/emvZ6da The HN team is always adding something or another, even if it's not always visible. Normally I'd dive into this and find out how it works and clone it, but ... eh, I'll settle for a 95% exact clone.

New top story on Hacker News: Show HN: HN.watch – Videos of all Hacker News posts

Show HN: HN.watch – Videos of all Hacker News posts
30 by mrborgen | 8 comments on Hacker News.
Hi HN, I’m Per, founder of Scrimba (YC S20). We’ve spent the last decade teaching people how to code with an HTML-based video format. We’ve now plugged an LLM into it, so that people can create explainer videos about anything. It’s called “Scrimba Explain”. To demo this technology for Hacker News, we built HN.watch. It’s like HN, but with explainer videos instead of articles. We create them on-the-fly the first time someone clicks on a link. While there are obvious visual drawbacks of using HTML instead of diffusion models, there are three big benefits: - Speed: Much faster to generate than pixel-based videos (just a few seconds from click to playback) - Cost: Our cost per video is ~$0.04. (Excluding image generation, which some videos utilize. Quickly blows up the cost) - Easy editing: the above benefits also make AI-assisted editing cheap & fast Our hypothesis is that if video creation goes from “dollars and minutes” to “cents and seconds”, a bunch of new use cases will be unlocked. Here are some we see already: - A video explanation of every single Pull Request (we do this internally) - Give every page in your internal/extrernal docs a video - Turn a complex article into a video in ~4 seconds (via our Chrome extension) - Course creators can quickly draft lessons before recording the real thing - People also create a lot of personal stuff stories for their kids, wedding invitations, birthdays, etc The stack is based on an open-source programming language (Imba) created by our CTO, Sindre Aarsæther. It compiles to JavaScript, so it interoperates fully with the npm + node ecosystem. You can learn more here: https://imba.io/ We’ve also built our own sync engine (OP), and a context management system for agents (Q). We feared this would make the LLMs struggle when writing code for us, as neither is in their training data (there’s very little Imba in there too). However, we’ve been pleasantly surprised to see that LLMs actually are really good at our stack. This is probably because the stack is extremely dense. Imba is compact, and so is OP, where a single declaration sets storage, sync, permissions, UI, and what the AI sees. This means there’s no translations between frontend, API, db and JSON where the model can get confused and get things wrong. Simply said, instead of using React.js, Express, Supabase, and LangChain, we built it all from scratch. Definitely suffering from the “not invented here” syndrome, lol! As for the models, we use Gemini, GPTs, Inworld, ElevenLabs, and a few others. If you want to try it out, just take your pick: - The Web UI (scrimba.com/explain) - MCP (add it to your coding agent) - ChatGPT Plugin - Chrome Extension You can find a link to all of the above in our docs: https://ift.tt/0NXOIhF And finally, a real pixel-based video of the tool: https://www.youtube.com/watch?v=k6rbHmBxSEs Would love to hear your feedback and if anyone has ideas for other use cases. PS: I expect quite a bit of pushback from HN for this launch, given how fan of text the HN crowd is. This kind of tool is not for everyone. But there are a lot of people today who prefer videos over text, especially in the younger generations.

New top story on Hacker News: Show HN: Hntui – A TUI for Hacker News

Show HN: Hntui – A TUI for Hacker News
6 by ahmd-sh | 0 comments on Hacker News.
hi there! i'd like you to try out a tui i made for browsing hackernews. it's built using opentui and also effect (learning experiment). i really like it and i think you will too!

New top story on Hacker News: I built Cornhole News. A Hacker News inspired site for news across the Midwest

I built Cornhole News. A Hacker News inspired site for news across the Midwest 4 by cornholemedia | 1 comments on Hacker News.