Sunday, November 26, 2023

Show HN: I built a guided Build your own DNS Server challenge https://ift.tt/v7YUgZX

Show HN: I built a guided Build your own DNS Server challenge Hey everyone. It's Sherub here, author of the Build your own DNS Server challenge on CodeCrafters. Currently it’s available in Rust, Go, and Python and is free while in beta. https://ift.tt/VPmd648 I've kept the challenge accessible but still challenging for an intermediate developer. This challenge, like others from CodeCrafters, is self-paced. You can use any tools you prefer (terminal, editor, etc.) to build the project. At the end of the challenge, you will have created a DNS forwarding server. The server can create and read DNS packets and respond to DNS queries. As you go, you'll learn about the DNS protocol, its format, servers, and A records. All while getting to hone your language skills. Some of the challenges and choices I had to make: * To make the stages easier, I had to break them up, such that each step builds on the previous one. This was especially challenging for the 2nd stage, where we write a DNS packet's header contents. Even though I’d have liked it to be easier, breaking it up further would have been weird. * Instead of implementing a recursive resolver, I've restricted to a forwarding server. We made this decision so that most developers can still use it. To add more complexity, we can use a challenge extension (noted below). * Deciding how much instruction and context the stages should provide. I’ve decided to keep them as thorough as possible for most of the stages. Developers can choose to have thorough details or just skim through them. I would love your feedback and questions on the challenge. You can try it out for free here: https://ift.tt/VPmd648 (no CC required). I also have challenge extensions planned. You can find them at https://ift.tt/q0NgSY3... . I'm also keen to hear what you think about the extension ideas. https://ift.tt/XSOqNwU November 27, 2023 at 12:06PM

Show HN: Upcoming – Explore what's coming next https://ift.tt/cFPsGXx

Show HN: Upcoming – Explore what's coming next Get a weekly preview of upcoming movies, TV shows, books, music, games, and events. Add them to your calendar and don't miss out on what's coming this week! https://www.upcm.app/ November 27, 2023 at 08:39AM

Show HN: Dreamachines.ai https://ift.tt/1AT24FL

Show HN: Dreamachines.ai AI image generation, management, and sharing platform. Built on top of a cloud OS. Provides a range of mechanisms for sharing. Free, no commercial tier. https://ift.tt/hBos4iv November 27, 2023 at 12:00AM

Show HN: LockDB now natively supports acting on multiple locks https://ift.tt/EqVhuO8

Show HN: LockDB now natively supports acting on multiple locks LockDB is a cross-platform tool you can use to handle process/event locking and avoid race conditions. It is sometimes also known as a semaphore. There are packages for Node.js / Browser / Bun / NPM, Deno, and you can also use it as a CLI. The new LockDB release supports a feature request common for complex locking necessities: The ability to lock, unlock, and check multiple locks. I understand new features aren't _generally_ accepted [1] here, but this one seemed "juicy" enough for it. Feel free to remove the post if I'm wrong, and I apologize in that case! [1]: https://ift.tt/ICbincj https://ift.tt/I9q2k6h November 26, 2023 at 02:12PM

Saturday, November 25, 2023

Friday, November 24, 2023

Show HN: I'm selling the ideal AI WebApp boilerplate, which doesn't exist https://ift.tt/3BVK0Nj

Show HN: I'm selling the ideal AI WebApp boilerplate, which doesn't exist https://ift.tt/vBfgaIJ November 25, 2023 at 02:55AM

Show HN: A game to memorize scale degrees on the guitar fretboard https://ift.tt/YJ0UT4l

Show HN: A game to memorize scale degrees on the guitar fretboard https://ift.tt/SlqIpCk November 25, 2023 at 01:48AM

Show HN: I Wrote a Book on PostgreSQL for Rails https://ift.tt/MZHbKuX

Show HN: I Wrote a Book on PostgreSQL for Rails Hi HN. As a backend developer using PostgreSQL and Ruby on Rails for more than 10 years, around 3 years ago, I caught a spark to learn as much as I could about how to operate high performance, scalable, and reliable PostgreSQL databases. As I reflected on my own career path, I realized there are other developers that may want to learn more about this. I saw an opportunity to help show backend developers how they could put advanced, powerful, PostgreSQL features to use, to help build and scale their Rails apps. I've been fortunate to give presentations in both the PostgreSQL and Rails communities over the last couple of years. In that time I've continued to work with these technologies every day. With that said, I'd love for you to check out my new book: "High Performance PostgreSQL for Rails". Currently in ebook/PDF Beta form. While it's only an ebook for now, there's an expected physical version coming in early 2024. Today you can pick up the PDF/ebook version for 40% off using code: turkeysale2023 There are free PDF excerpts you can check out, to see if this book is for you, or something you'd recommend to others. The book is currently on the weekly Best Seller list at Pragmatic Programmers, where it's appeared several times in the last couple of months. The book focuses exclusively on open source software like PostgreSQL and Ruby on Rails, adding more than 40 Ruby gems and PostgreSQL extensions into the stack of tools. The Rails application used throughout the book is available on GitHub. Whether you work with Rails or another similar MVC full-stack framework or ORM like Laravel, Django, or Prisma, I hope there’s something useful in the book for you or your colleagues. I love writing, learning, and sharing, and advocating for PostgreSQL and Ruby on Rails! Thanks for your support! https://ift.tt/F04d8xi November 25, 2023 at 01:29AM

Thursday, November 23, 2023

Show HN: Go bindings to SQLite using wazero https://ift.tt/SMW93dU

Show HN: Go bindings to SQLite using wazero https://ift.tt/Qe3ivLW November 24, 2023 at 05:36AM

Show HN: Play Vectoroids in the browser – a clone of the classic game Asteroids https://ift.tt/bdXJFgH

Show HN: Play Vectoroids in the browser – a clone of the classic game Asteroids src: https://ift.tt/F2d6bNM https://ift.tt/92AiDR7 November 23, 2023 at 08:45PM

Show HN: InsiderXTrade – Yahoo Finance-Influenced Site for SEC Insider Tradings https://ift.tt/Ze3Ywhj

Show HN: InsiderXTrade – Yahoo Finance-Influenced Site for SEC Insider Tradings https://ift.tt/WqQb03V November 23, 2023 at 07:23PM

Show HN: UI Library Creator https://ift.tt/Uf3deAH

Show HN: UI Library Creator Hey HN! The "Generative" trend is booming, and UI Library Creator is our original approach to it. In the last three years, we have added 60+ professional UI libraries to Shuffle's catalog (Shuffle = visual editor for web developers). Still, we know we need more than this to satisfy our growing user base! That's why we created the UI Library Creator. In this tool, you can combine elements and styles to create unique UI libraries that work seamlessly with the Shuffle Editor and all its capabilities (drag-and-drop, customizations, live preview, and more). We provide you with UX solutions (components) written in Tailwind CSS and presets so you can quickly combine them to create what you need. You don't need to talk to a "black box" AI with a chat interface. Possible combinations are in gazillions. We aim for original creations, but you have complete control over the final effect. How to use the UI Library Creator: * Visit: https://ift.tt/dW6Agyr * We recommend starting by selecting Assets and Copywriting for your target audience. * When these two options are locked, use the "Shuffle Styles" button to bootstrap your project with the first style. * If you like something, lock the category and then repeat shuffling. You can also change options manually, but with "Shuffle Styles," you can quickly see many creations. If you enjoy the final result, click "Publish now" and send your UI Library to Shuffle. Once processed, it will be available for use in your Dashboard. Let us know what you think! Video (2min) with product tour: https://www.youtube.com/watch?v=8ZFlWEDr7XM https://ift.tt/dW6Agyr November 22, 2023 at 07:21PM

Wednesday, November 22, 2023

Show HN: Cyberkitty – an experimental hybrid-GPT+Human long-form fiction editor https://ift.tt/mi0nfWk

Show HN: Cyberkitty – an experimental hybrid-GPT+Human long-form fiction editor NOTE: If you're one of the first people to see this, you can also access a running installation at https://cyberkitty.ai It'll run until I hit my GPT-4 budget limit, then stop working. Be warned that it's in single user, so nothing is private! ---- Last week I came down with a fever and decided to run some experiments on whether the new GPT could generate long-form fiction. Around the same time, I saw a HN comment about how technology gains have lead SWEs to work at higher levels of abstraction—and I thought “huh, why not writers?” Anyway so I was locked indoors for a week and a half and I spent it coding an answer that question. Most of the magic sauce here is just in making it feel really snappy and good to edit—making it easy for the human to collaborate with the objectively faster LLM. The underlying prompt engineering is cool, but it’s the feeling that you can do more than just shoot a prompt at ChatGPT and hope for a good result, or start writing and hope for a good autocomplete. Definitely gave me some ideas for future LLM experiences I want to try out, let me know what you think! https://ift.tt/CSliaJk November 23, 2023 at 03:41AM

Show HN: GJP-4-GPT, a Gradual JSON Parser for GPT's https://ift.tt/U3HRaXY

Show HN: GJP-4-GPT, a Gradual JSON Parser for GPT's Often it's easiest to have an LLM output the results you need in JSON form, but streaming those outputs into an actual viewport is nontrivial. Thus I made this package, a streaming JSON parser that handles all the work of decoding your JSON so you can focus on displaying your UIs. https://ift.tt/vILfkcG November 23, 2023 at 02:23AM

Show HN: Plantarium – Create 3D Plant Models with Blender-Style Nodes https://ift.tt/AvESUHN

Show HN: Plantarium – Create 3D Plant Models with Blender-Style Nodes Plantarium is my open source side project that allows you to created procedural 3D plants in your browser using blender style nodes. Recently I added a public gallery so you can share your plant designs and download others. https://ift.tt/5iMa8yl https://ift.tt/rVTDXwA November 22, 2023 at 05:32PM

Tuesday, November 21, 2023

Show HN: The open source Serverless webhook publisher we built and use https://ift.tt/FE3pTVY

Show HN: The open source Serverless webhook publisher we built and use https://ift.tt/QbJEVup November 22, 2023 at 02:56AM

Show HN: I made a catalog of useful GPTs https://ift.tt/lLXQxDj

Show HN: I made a catalog of useful GPTs https://coolgpts.ai/ November 22, 2023 at 02:41AM

Show HN: Gaming Gaiden: A lightweight gaming time tracker in PowerShell https://ift.tt/v8XVnUz

Show HN: Gaming Gaiden: A lightweight gaming time tracker in PowerShell Hi Everyone, I made a Powershell application to track time spent playing pc / emulated games. It provides many other interesting statistics as well over long term that can add value to someone's gaming hobby imo. I used to use a closed source program called Gameplay Time Tracker for time tracking focused on gaming, but overtime it started failing and throwing exceptions everywhere. I tried reaching to its Developer to ask if they can open source it and i can fix the problems. I couldn't raise them. It had been truly abandoned. After a while i just decided to build a replacement. Few choices that may seem strange, using Powershell for a GUI application, building the GUI with HTML, CSS and JS instead of native windows forms. All of these were made because i am not a windows app dev / GUI dev. I am infra engineer and have strong scripting skills. Instead of getting bogged down in learning a whole programming language like C# and .Net., decided to go with Powershell. DataTables and ChartJs made it trivial to create the UI. Pragmatic choices over conventional wisdom basically. It turned out well in my opinion. Got some attention on reddit and in a youtube channel. Thought it would be good to share here as well. https://ift.tt/yAsv82l November 21, 2023 at 11:10PM

Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions https://ift.tt/wgSBiJP

Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions https://ift.tt/WpBoNzV May 7, 2026 at 01:58AM