The best Hacker News stories from Show from the past day
Latest posts:
Show HN: Query SQLite files stored in S3
Show HN: Query SQLite files stored in S3
Show HN: Query SQLite files stored in S3
Show HN: Mini Metroidvania in 13KB of JavaScript
As part of the annual JS13K games challenge, I've put together a pretty large (but small-in-code) Metroidvania game that fits in just 13KB of compressed Javascript.<p>The source is available here: <a href="https://github.com/arikwex/infernal-sigil" rel="nofollow">https://github.com/arikwex/infernal-sigil</a><p>NOTE: the current head of the main branch is at 13.6KB due to quality of life patches. The legit 13KB version is tagged in github.<p>Useful hacks:
- Using Roadroller (<a href="https://github.com/lifthrasiir/roadroller" rel="nofollow">https://github.com/lifthrasiir/roadroller</a>) for compression
- Compressing the map data as grayscale PNG paired with some code generation.
- Using procedural animation for all characters.
- Replacing string enum with numeric enums for compression.
- Built a small game engine for object lifecycle and rendering.
- Single function to generate unique procedural songs for different regions.
Show HN: Mini Metroidvania in 13KB of JavaScript
As part of the annual JS13K games challenge, I've put together a pretty large (but small-in-code) Metroidvania game that fits in just 13KB of compressed Javascript.<p>The source is available here: <a href="https://github.com/arikwex/infernal-sigil" rel="nofollow">https://github.com/arikwex/infernal-sigil</a><p>NOTE: the current head of the main branch is at 13.6KB due to quality of life patches. The legit 13KB version is tagged in github.<p>Useful hacks:
- Using Roadroller (<a href="https://github.com/lifthrasiir/roadroller" rel="nofollow">https://github.com/lifthrasiir/roadroller</a>) for compression
- Compressing the map data as grayscale PNG paired with some code generation.
- Using procedural animation for all characters.
- Replacing string enum with numeric enums for compression.
- Built a small game engine for object lifecycle and rendering.
- Single function to generate unique procedural songs for different regions.
Show HN: Mini Metroidvania in 13KB of JavaScript
As part of the annual JS13K games challenge, I've put together a pretty large (but small-in-code) Metroidvania game that fits in just 13KB of compressed Javascript.<p>The source is available here: <a href="https://github.com/arikwex/infernal-sigil" rel="nofollow">https://github.com/arikwex/infernal-sigil</a><p>NOTE: the current head of the main branch is at 13.6KB due to quality of life patches. The legit 13KB version is tagged in github.<p>Useful hacks:
- Using Roadroller (<a href="https://github.com/lifthrasiir/roadroller" rel="nofollow">https://github.com/lifthrasiir/roadroller</a>) for compression
- Compressing the map data as grayscale PNG paired with some code generation.
- Using procedural animation for all characters.
- Replacing string enum with numeric enums for compression.
- Built a small game engine for object lifecycle and rendering.
- Single function to generate unique procedural songs for different regions.
Show HN: Mini Metroidvania in 13KB of JavaScript
As part of the annual JS13K games challenge, I've put together a pretty large (but small-in-code) Metroidvania game that fits in just 13KB of compressed Javascript.<p>The source is available here: <a href="https://github.com/arikwex/infernal-sigil" rel="nofollow">https://github.com/arikwex/infernal-sigil</a><p>NOTE: the current head of the main branch is at 13.6KB due to quality of life patches. The legit 13KB version is tagged in github.<p>Useful hacks:
- Using Roadroller (<a href="https://github.com/lifthrasiir/roadroller" rel="nofollow">https://github.com/lifthrasiir/roadroller</a>) for compression
- Compressing the map data as grayscale PNG paired with some code generation.
- Using procedural animation for all characters.
- Replacing string enum with numeric enums for compression.
- Built a small game engine for object lifecycle and rendering.
- Single function to generate unique procedural songs for different regions.
Show HN: Weejur – micro-blog from your email account
Show HN: I built a language learning quiz app
Show HN: Stripe-quality API client libraries with a single button click
TL;DR- Libninja will generate world-class client libraries for you, without you needing to fiddle with openapi-generator, maintain build pipelines, and so forth.<p>If you just want Rust, reach out, and I'll create your client library at no cost, because I want to help Rust's ecosystem grow.<p>--<p>Hi HN,<p>I got into Rust in a big way about 9 months ago.<p>While the language is quickly maturing, one large gap in the ecosystem is immature or non-existent client libraries for common API services like Plaid, Stripe, Twilio, Github, Slack, and so on.<p>The existing openapi-generator templates create Rust libraries that don't even compile out of the box, so I started down the rabbit hole of creating a Rust-based toolchain to generate Rust client libraries based on an OpenAPI spec.<p>Rust is an incredible language to build codegen tools in, because of algebraic data types, Rust macro system, and Rust's incredibly powerful libraries for AST transformation (quote, syn, and more - almost solely due to dtolnay - thank you!)<p>Before long, I realized it's a common painpoint for API companies to maintain build pipelines, tweak openapi-generator templates, and so forth, to get client library generation working.<p>I added support for more languages, and soon after, Libninja was born.<p>If you're an API company, Libninja will generate world-class client libraries for you.<p>Client libraries:
- help your users integrate faster (meaning you get revenue faster)
- reduce the number of bug reports and support requests (because there's no ambiguity about using your API)
- Give your users a phenomenal developer experience (editor autocomplete, API documentation in docstrings, and more)<p>PS- If you just want a Rust client, reach out, and I'll create your client library at no cost, because I want to help Rust's ecosystem grow.
Show HN: Twofer Goofer, rhyming word game built with Midjourney/Stable Diffusion
Show HN: eInk Android Phone, I’m using it as a shipping label
Show HN: Chard – simple async/await background tasks for Django
Show HN: Chard – simple async/await background tasks for Django
Show HN: Hacker News bot that automated archive finding and commenting
Hi everyone,<p>I build this bot to automate the process of going to wayback machine (or archive.ph) to find the archive link for posts with articles that have subscription blocks<p>The idea was to have this run on a server and then I wouldn’t have this daily annoyance, the bot was banned, so its not currently active, but I still wanted to show it off and get some feedback<p>Disclaimer : HN doesn't allow bots, so please don’t use this to run your own HN bot.
Show HN: Hacker News bot that automated archive finding and commenting
Hi everyone,<p>I build this bot to automate the process of going to wayback machine (or archive.ph) to find the archive link for posts with articles that have subscription blocks<p>The idea was to have this run on a server and then I wouldn’t have this daily annoyance, the bot was banned, so its not currently active, but I still wanted to show it off and get some feedback<p>Disclaimer : HN doesn't allow bots, so please don’t use this to run your own HN bot.
Show HN: Hacker News bot that automated archive finding and commenting
Hi everyone,<p>I build this bot to automate the process of going to wayback machine (or archive.ph) to find the archive link for posts with articles that have subscription blocks<p>The idea was to have this run on a server and then I wouldn’t have this daily annoyance, the bot was banned, so its not currently active, but I still wanted to show it off and get some feedback<p>Disclaimer : HN doesn't allow bots, so please don’t use this to run your own HN bot.
A script to allow installing unsigned extensions on Firefox
Show HN: I built an extension for analyzing rental properties in Zillow
Hey everyone, I build a Chrome Extension for real estate investors to be able to easily calculate the cash flow of a rental property right within Zillow.<p>As an aspiring real estate investor, I found spreadsheets and proprietary online calculators like Bigger Pockets to be complicated or slow. With Homescope, you can bring this within your workflow and estimate your operating expenses instantly.
Show HN: I built an extension for analyzing rental properties in Zillow
Hey everyone, I build a Chrome Extension for real estate investors to be able to easily calculate the cash flow of a rental property right within Zillow.<p>As an aspiring real estate investor, I found spreadsheets and proprietary online calculators like Bigger Pockets to be complicated or slow. With Homescope, you can bring this within your workflow and estimate your operating expenses instantly.