Growing India News, world news, nation news, our news, people's news, grow news, entertainment, fashion, movies, tech, automobile and many more..
Saturday, May 17, 2025
Show HN: I vibe coded an open-source Go app to back up DBs using Docker labels https://ift.tt/BaYL1us
Show HN: I vibe coded an open-source Go app to back up DBs using Docker labels Hey HN, I'm excited to share Label Backup, an open-source project I developed. This tool, written in Go, automates backups for databases running in your Docker containers using simple container labels. I built this with vibe coding. How it Works: - You add a few descriptive labels to your containers that run databases you want to back up (e.g., backup.enabled=true, backup.type=postgres, backup.cron="0 2 * * *", backup.conn=..., or backup.type=volume, backup.path=/my/data). - Label Backup, running as a separate container, automatically discovers these, then schedules and performs backups for: - PostgreSQL databases - MySQL databases - MongoDB databases - Redis data - Backups can be streamed to local storage or any S3-compatible service (such as AWS S3, MinIO, or Cloudflare R2). - Key features include on-the-fly Gzip compression, configurable retention policies, and webhook notifications for backup status. My main goal was to build something lightweight, easy to configure, and reliable, aiming for a tool that (I hope!) feels smooth and intuitive to use. You can find the source code, a detailed README, and a docker-compose.yml for a complete test environment on GitHub: https://ift.tt/mkRtHd4 The Docker Hub image is available at: resulgg/label-backup I'd love to hear your thoughts and feedback. https://ift.tt/mkRtHd4 May 16, 2025 at 07:53PM
Friday, May 16, 2025
Show HN: Easel – Code multiplayer games like singleplayer https://ift.tt/c3zLYgD
Show HN: Easel – Code multiplayer games like singleplayer For the past 3 years, I've been creating a new 2D game programming language where the multiplayer is completely automatic. The idea is that someone who doesn't even know what a "remote procedure call" is can make a multiplayer game by just setting `maxHumanPlayers=5` and it "just works". The trick is the whole game simulation, including all the concurrent threads, can be executed deterministically and snapshotted for rollback netcode. Normally when coding multiplayer you have to worry about following "the rules of multiplayer" like avoiding non-determinism, or not modifying entities your client has no authority over, but all that is just way too hard for someone who just wants to get straight into making games. So my idea was that if we put multiplayer into the fabric of the programming language, below all of your code, we can make the entire language multiplayer-safe. In Easel the entire world is hermetically sealed - there is nothing you can do to break multiplayer, which means it suits someone who just wants to make games and not learn all about networking. I've had people make multiplayer games on their first day of coding with Easel because you basically cannot go wrong. There were so many other interesting things that went into this project. It's written in Rust and compiled to WebAssembly because I think that the zero-download nature of the web is a better way of getting many people together into multiplayer games. The networking is done by relaying peer-to-peer connections through Cloudflare Calls, which means Cloudflare collates the messages and reduces the bandwidth requirements for the clients so games can have more players. I also took inspiration from my experience React when creating this language, here's how you would make a ship change color from green to red as it loses health: `with Health { ImageSprite(@ship.svg, color=(Health / MaxHealth).BlendHue(#ff6600, #66ff00)) }` There is a lot of hidden magic that makes the code snippet above work - it creates a async coroutine that loops each time Health sends a signal, and the ImageSprite has an implicit ID assigned by the compiler so it knows which one to update each time around the loop. All of this lets you work at a higher level of abstraction and, in my opinion, make code that is easier to understand. Speaking of async coroutines, my belief is that they don't get used enough in other game engines because their lifetimes are not tied to anything - you have this danger where they can outlive their entities and crash your game. In Easel each async task lives and dies with its entity, which is why we call them behaviors. Clear lifetime semantics makes it safe to use async tasks everywhere in Easel, which is why Easel games often consist of thousands of concurrently-executing behaviors. In my opinion, this untangles your code and makes it easier to understand. That's just the beginning, there is even more to talk about, it has been a long journey these past 3 years, but I will stop there for now! I hope that, even for those people who don't care about the multiplayer capabilities of Easel, they just find it an interesting proposal of how a next-generation game programming language could work. The Editor runs in your web browser and is free to play around with, so I would love to see more people try out making some games! Click the "Try it out" button to open the Sample Project and see if you can change the code to achieve the suggested tasks listed in the README. https://ift.tt/OU4rpTg May 14, 2025 at 04:01PM
Show HN: Convert JSON Schema to SQL DDL https://ift.tt/eECrLUc
Show HN: Convert JSON Schema to SQL DDL While doing research for an architectural change at work, I couldn’t find a nice npm library that let’s you create SQL tables from a JSON Schema. That’s how I decided to create one myself. https://ift.tt/e3X2LdU May 16, 2025 at 02:49AM
Show HN: AsianMOM – WebGPU Vision-LLM app that roasts you like ur mom in-browser https://ift.tt/t0ZqEgk
Show HN: AsianMOM – WebGPU Vision-LLM app that roasts you like ur mom in-browser Randomly got inspired yesterday seeing SmolVLM working on WebGPU and had the silly idea for this project. it's not perfect and super limited because of the current limitations of WebML (and admittedly, because I suck at prompting, but that's why it's Open Source haha) but it is 1.5B WORTH OF AI (SmolVLM 500M and LLama 3.2 1B) working RIGHT IN YOUR BROWSER with you not having to install anything! In fact, the whole thing is actually just an index.html that you can install and even use directly! It might be a little bit slow on first try (takes about 3 mins) when it installs models, but it caches it so it's way faster the second time (also, it's available offline after it's cached haha) Works on any modern web browser It may be a funny little project, but it's genuinely taught me so much about WebML and Vision models, and the technologies we're getting with WebML will 100% democratize AI access and make it way simpler and easier to be used everywhere :p GH Repo in case you're interested: https://ift.tt/LbtlVM8 https://ift.tt/hUnMYAB May 16, 2025 at 12:50AM
Show HN: Turn OpenAPI documents to LLM friendly Markdown https://ift.tt/XcCk3Op
Show HN: Turn OpenAPI documents to LLM friendly Markdown https://ift.tt/CWEJaB0 May 15, 2025 at 11:14PM
Thursday, May 15, 2025
Show HN: Muscle-Mem, a JIT engine for Agent behaviors https://ift.tt/qFrC3aY
Show HN: Muscle-Mem, a JIT engine for Agent behaviors Hi HN! Erik here from Pig.dev, and today I'd like to share a new project we've just open sourced: Muscle Mem is an SDK that records your agent's tool-calling patterns as it solves tasks, and will deterministically replay those learned trajectories whenever the task is encountered again, falling back to agent mode if edge cases are detected. Like a JIT compiler, for behaviors. At Pig, we built computer-use agents for automating legacy Windows applications (healthcare, lending, manufacturing, etc). A recurring theme we ran into was that businesses already had RPA (pure-software scripts), and it worked for them in most cases. The pull to agents as an RPA alternative was not to have an infinitely flexible "AI Employees" as tech Twitter/X may want you to think, but simply because their RPA breaks under occasional edge-cases and agents can gracefully handle those cases. Using a pure-agent approach proved to be highly wasteful. Window's accessibility APIs are poor, so you're generally stuck using pure-vision agents, which can run around $40/hr in token costs and take 5x longer than a human to perform a workflow. At this point, you're better off hiring a human. The goal of Muscle-Mem is to get LLMs out of the hot path of repetitive automations, intelligently swapping between script-based execution for repeat cases, and agent-based automations for discovery and self-healing. While inspired by computer-use environments, Muscle Mem is designed to generalize to any automation performing discrete tasks in dynamic environments. It took a great deal of thought to figure out an API that generalizes, which I cover more deeply in this blog: https://ift.tt/lAUBVZu Check out the repo, consider giving it a star, or dive deeper into the above blog. I look forward to your feedback! https://ift.tt/hK24I6g May 15, 2025 at 01:08AM
Show HN: Family Folder – Help your family remember everything, organise anything https://ift.tt/bQZIgo4
Show HN: Family Folder – Help your family remember everything, organise anything Hi Show HN, I’m both nervous and excited to share what I’ve been working on in the early mornings and late evenings over the past few months: Family Folder – a tool to help you and your loved ones stay connected, simplify planning, and never miss a moment. This is mostly a solo project—though I’ve leaned on ChatGPT and Upwork when I hit the limits of my technical skills. I love learning, and this has been a crash course in programming, DevOps, design, UX, and everything in between. The idea came directly from my own experience: trying to keep on top of family life, from newborns to supporting my mum’s memory, birthdays, childcare logistics, and where the insurance documents are stored. Existing tools felt too generic, too corporate, or too messy. I wanted something built for families. Stack: • Ruby on Rails 7 (via Jumpstart Pro) • PostgreSQL • Hosted on Heroku (EU region) • S3 (EU) for file uploads • (Coming soon: iOS app & AI assistant) Family Folder is private by design—you only see what you’re invited to. It’s meant to be simple enough for parents or siblings to actually use, but structured enough to avoid chaos. If this sounds useful—or if you’ve ever tried to manage a family using group chats or shared docs—I’d love your feedback. What would make something like this truly work for your family? Thanks for taking a look! – Tony https://ift.tt/3gMISwX https://ift.tt/3gMISwX May 15, 2025 at 12:27AM
Subscribe to:
Posts (Atom)
Show HN: Do You Know RGB? https://ift.tt/t8kUpbO
Show HN: Do You Know RGB? https://ift.tt/OWhvmMT June 24, 2025 at 01:49PM
-
Show HN: An AI logo generator that can also generate SVG logos Hey everyone, I've spent the past 2 weeks building an AI logo generator, ...
-
Show HN: Snap Scope – Visualize Lens Focal Length Distribution from EXIF Data https://ift.tt/yrqHZtDShow HN: Snap Scope – Visualize Lens Focal Length Distribution from EXIF Data Hey HN, I built this tool because I wanted to understand which...
-
Show HN: Federated IndieAuth Server implemented as a notebook https://ift.tt/32IC633 April 27, 2021 at 04:37PM