The best Hacker News stories from Show from the past week
Latest posts:
Show HN: A Dalle-3 and GPT4-Vision feedback loop
I used to enjoy Translation Party, and over the weekend I realized that we can build the same feedback loop with DALLE-3 and GPT4-Vision. Start with a text prompt, let DALLE-3 generate an image, then GPT-4 Vision turns that image back into a text prompt, DALLE-3 creates another image, and so on.<p>You need to bring your own OpenAI API key (costs about $0.10/run)<p>Some prompts are very stable, others go wild. If you bias GPT4's prompting by telling it to "make it weird" you can get crazy results.<p>Here's a few of my favorites:<p>- Gnomes: <a href="https://dalle.party/?party=k4eeMQ6I" rel="nofollow noreferrer">https://dalle.party/?party=k4eeMQ6I</a><p>- Start with a sailboat but bias GPT4V to "replace everything with cats": <a href="https://dalle.party/?party=0uKfJjQn" rel="nofollow noreferrer">https://dalle.party/?party=0uKfJjQn</a><p>- A more stable one (but everyone is always an actor): <a href="https://dalle.party/?party=oxpeZKh5" rel="nofollow noreferrer">https://dalle.party/?party=oxpeZKh5</a>
Show HN: Trains.fyi – a live map of passenger trains in the US and Canada
Hey all! My train the other day was delayed and I got curious where they all were at any given time, so I built a map and figured I'd share it.
Show HN: Trains.fyi – a live map of passenger trains in the US and Canada
Hey all! My train the other day was delayed and I got curious where they all were at any given time, so I built a map and figured I'd share it.
Sopwith – a classic bi-plane shoot 'em up from 1984 in the browser
src: <a href="https://github.com/midzer/sdl-sopwith">https://github.com/midzer/sdl-sopwith</a><p>via: <a href="https://fragglet.github.io/sdl-sopwith/" rel="nofollow noreferrer">https://fragglet.github.io/sdl-sopwith/</a>
Show HN: I saw this mind-blowing experiment, so I made a simple version of it
Two browser windows (acting as socket clients) communicate their:<p>- Screen dimensions - (screen.width, screen.height)<p>- Window dimensions - (window.innerWidth, window.innerHeight)<p>- Window X/Y position - (window.screenX, window.screenY)<p>...or whichever calculation works best for you.<p>The original work by Bjorn Staal <a href="https://twitter.com/_nonfigurativ_/status/172732259457002734" rel="nofollow noreferrer">https://twitter.com/_nonfigurativ_/status/172732259457002734</a> used localStorage, but I found sockets more fun, because if tweaked a bit, this can be shared with friends.<p>Here's a demo of how it works and the codebase: <a href="https://github.com/Momciloo/fun-with-sockets/">https://github.com/Momciloo/fun-with-sockets/</a>
Show HN: I saw this mind-blowing experiment, so I made a simple version of it
Two browser windows (acting as socket clients) communicate their:<p>- Screen dimensions - (screen.width, screen.height)<p>- Window dimensions - (window.innerWidth, window.innerHeight)<p>- Window X/Y position - (window.screenX, window.screenY)<p>...or whichever calculation works best for you.<p>The original work by Bjorn Staal <a href="https://twitter.com/_nonfigurativ_/status/172732259457002734" rel="nofollow noreferrer">https://twitter.com/_nonfigurativ_/status/172732259457002734</a> used localStorage, but I found sockets more fun, because if tweaked a bit, this can be shared with friends.<p>Here's a demo of how it works and the codebase: <a href="https://github.com/Momciloo/fun-with-sockets/">https://github.com/Momciloo/fun-with-sockets/</a>
Show HN: I saw this mind-blowing experiment, so I made a simple version of it
Two browser windows (acting as socket clients) communicate their:<p>- Screen dimensions - (screen.width, screen.height)<p>- Window dimensions - (window.innerWidth, window.innerHeight)<p>- Window X/Y position - (window.screenX, window.screenY)<p>...or whichever calculation works best for you.<p>The original work by Bjorn Staal <a href="https://twitter.com/_nonfigurativ_/status/172732259457002734" rel="nofollow noreferrer">https://twitter.com/_nonfigurativ_/status/172732259457002734</a> used localStorage, but I found sockets more fun, because if tweaked a bit, this can be shared with friends.<p>Here's a demo of how it works and the codebase: <a href="https://github.com/Momciloo/fun-with-sockets/">https://github.com/Momciloo/fun-with-sockets/</a>
Show HN: Lua Carousel, create little programs on desktop or mobile devices
Show HN: AI Generated SVG's
Show HN: Perfect Pitch Puzzle – a musical Wordle daily ear training game
Hi all! Thanks for checking out the side project my family and I have been working on (on and off) for the past year. We were playing wordle when we thought: wouldn't it be fun if you had to guess musical notes (ABCDEFG) instead of words? And what if the notes you had to guess were actually the first six notes of a familiar melody?<p>My brother and I both have perfect pitch, which has been really helpful when we want to cover a song that we like, or improvise in a jazz or blue grass setting. We don’t promise that this game will help you gain perfect pitch, but it <i>is</i> possible to train your ear to more accurately gauge sounds, and our hope is that this game will help with that.<p>So far we’ve gotten feedback from consistent players that the game <i>has</i> helped non-musicians more easily identify notes based on relative pitches, and helped even musicians improve their ability to remember tunes better, which is good to hear.<p>The game has evolved with different instruments and difficulty modes (easy, normal, hard), but the essence has remained the same:
- One new musical puzzle a day
- The octave moves with the melody, so you don’t need to worry about the octave; you just need to guess the pitch<p>There are a few things we want to improve as well, like:
- improved mobile support (especially Android)
- a “practice mode” - allow users to play more than one game per day, or multiple variations of notes, with visual feedback on how close they were to guessing the note
- making it easier to add new songs to the database (currently it takes 5-10 minutes to code in a new song)
any other feedback that we get here or in our Discord. :)<p>PS. If you already have perfect pitch or want to challenge yourself to the impossible, I'd recommend playing the "bird_tweet" instrument in "hard" mode!
Show HN: Perfect Pitch Puzzle – a musical Wordle daily ear training game
Hi all! Thanks for checking out the side project my family and I have been working on (on and off) for the past year. We were playing wordle when we thought: wouldn't it be fun if you had to guess musical notes (ABCDEFG) instead of words? And what if the notes you had to guess were actually the first six notes of a familiar melody?<p>My brother and I both have perfect pitch, which has been really helpful when we want to cover a song that we like, or improvise in a jazz or blue grass setting. We don’t promise that this game will help you gain perfect pitch, but it <i>is</i> possible to train your ear to more accurately gauge sounds, and our hope is that this game will help with that.<p>So far we’ve gotten feedback from consistent players that the game <i>has</i> helped non-musicians more easily identify notes based on relative pitches, and helped even musicians improve their ability to remember tunes better, which is good to hear.<p>The game has evolved with different instruments and difficulty modes (easy, normal, hard), but the essence has remained the same:
- One new musical puzzle a day
- The octave moves with the melody, so you don’t need to worry about the octave; you just need to guess the pitch<p>There are a few things we want to improve as well, like:
- improved mobile support (especially Android)
- a “practice mode” - allow users to play more than one game per day, or multiple variations of notes, with visual feedback on how close they were to guessing the note
- making it easier to add new songs to the database (currently it takes 5-10 minutes to code in a new song)
any other feedback that we get here or in our Discord. :)<p>PS. If you already have perfect pitch or want to challenge yourself to the impossible, I'd recommend playing the "bird_tweet" instrument in "hard" mode!
Show HN: IP Guide – Info on IP addresses, Networks, and ASNs
Hey all, wanted to share my recent weekend hack project. I wanted to improve upon the existing space for looking up information about IP addresses and ASNs.<p>The backend is written in Rust and pulls BGP data every 8 hours from the RIPE RIS project to build up a routing table and also adds geolocation information. The frontend is using React and Tailwind.<p>Would love any feedback or suggestions on what to improve.
Show HN: IP Guide – Info on IP addresses, Networks, and ASNs
Hey all, wanted to share my recent weekend hack project. I wanted to improve upon the existing space for looking up information about IP addresses and ASNs.<p>The backend is written in Rust and pulls BGP data every 8 hours from the RIPE RIS project to build up a routing table and also adds geolocation information. The frontend is using React and Tailwind.<p>Would love any feedback or suggestions on what to improve.
Show HN: IP Guide – Info on IP addresses, Networks, and ASNs
Hey all, wanted to share my recent weekend hack project. I wanted to improve upon the existing space for looking up information about IP addresses and ASNs.<p>The backend is written in Rust and pulls BGP data every 8 hours from the RIPE RIS project to build up a routing table and also adds geolocation information. The frontend is using React and Tailwind.<p>Would love any feedback or suggestions on what to improve.
Show HN: React Spreadsheet 2
Show HN: React Spreadsheet 2
Show HN: New visual language for teaching kids to code
Pickcode is a new language and editor for getting kids started with coding. The code editing experience is totally structured, where you select choices from menus rather than typing.
I made Pickcode after experiences teaching kids both block coding (Scratch, App Inventor) and Python. To me, block coding is too far removed from regular coding for kids to make the connection. Pickcode provides a much clearer transition path for students to Python/JS/Java. Our target market is middle/early high school kids, and that’s who we’ve tested the product with during development.<p>On the site, you can do tutorials to make chatbots, animated drawings, and 2D games. We have a full Intro to Pickcode course, as well as an Intro to Python course where you make regular console programs with a regular text editor. There are 30 or so free lessons accessible with an account, and the rest are paywalled for $5/month.<p>For professional programmers, the editor is probably pretty frustrating to use (no vim keybindings!), but I hope it’s at least interesting to play with from a UI perspective. If you have kids aged 10-14, I’d love any feedback you have from trying it out with them. I love talking to users, reach out at charlie@pickcode.io!
Show HN: New visual language for teaching kids to code
Pickcode is a new language and editor for getting kids started with coding. The code editing experience is totally structured, where you select choices from menus rather than typing.
I made Pickcode after experiences teaching kids both block coding (Scratch, App Inventor) and Python. To me, block coding is too far removed from regular coding for kids to make the connection. Pickcode provides a much clearer transition path for students to Python/JS/Java. Our target market is middle/early high school kids, and that’s who we’ve tested the product with during development.<p>On the site, you can do tutorials to make chatbots, animated drawings, and 2D games. We have a full Intro to Pickcode course, as well as an Intro to Python course where you make regular console programs with a regular text editor. There are 30 or so free lessons accessible with an account, and the rest are paywalled for $5/month.<p>For professional programmers, the editor is probably pretty frustrating to use (no vim keybindings!), but I hope it’s at least interesting to play with from a UI perspective. If you have kids aged 10-14, I’d love any feedback you have from trying it out with them. I love talking to users, reach out at charlie@pickcode.io!
Awesome Engineering Games
I've spent way too much time both playing and finding engineering-focused games, and haven't been able to find very detailed or comprehensive lists online. So I made one :)<p>These games are both fun and often quite educational, presenting gamified versions of real-world challenges and professions.<p>There's a lot of different sub-genres of "engineering game", such as:<p>* Factory automation (Factorio, Dyson Sphere Program)<p>* City builders (Cities: Skylines, Anno series)<p>* Route-builders (Mini Motorways, Railway Empire)<p>* Comp sci (TIS-100, Bitburner)<p>All games on the list are very highly reviewed. I've played most (but not all) of them, and provided personal recommendations alongside the reviews. Many of them are also playable on GeForce Now (if you don't have a gaming PC).<p>Please contribute if you know of more, or have any comments/suggestions!
Show HN: YouTube banned adblockers so I built an extension to skip their ads
Hi HN!<p>Since Youtube no longer allows AdBlockers, I built my own extension to get around their video ads. If there is an ad it temporarily manipulates the video; Mutes the volume, sets speed to 10x, and skips it if there is a button.<p>Chrome Webstore link: <a href="https://chromewebstore.google.com/detail/ad-accelerator/gpboiedfklodfhngobidfjecdpmccehg?hl=en" rel="nofollow noreferrer">https://chromewebstore.google.com/detail/ad-accelerator/gpbo...</a><p>Code: <a href="https://github.com/rkk3/ad-accelerator">https://github.com/rkk3/ad-accelerator</a>