The best Hacker News stories from Show from the past day
Latest posts:
Show HN: Ezno, a type checker for JavaScript and optimiser for React
Show HN: Ezno, a type checker for JavaScript and optimiser for React
Show HN: The simplest drum pattern composing algorithm I could come up with
Hi there, my name is Jay. Making music and writing software have probably been the two biggest pleasures of my life -only after my family.
My team and I recently started a long journey of trying to completely change the way people create music, and as it usually happens with any long journey, it all starts with small steps. One of those small steps was to build https://drummy.io, or "Dummy Drums," a very simple yet useful drum machine that stores the entire drum pattern in the hashtag of the URL. There is no backend. Fully served by a CDN.
If you wanna learn how to build your own drum machine in Javascript using the WebAudioAPI, here's an amazing read: "A tale of Two Clocks." (https://web.dev/audio-scheduling/). Also, check Howler.js (https://howlerjs.com/), a rock-solid library with a great community.
Anyway, not long ago I noticed the dummy drums site hasn't been getting much traction, but I think I figured out why. Most of the new users are getting frustrated because it is very easy to get stuck trying to come up with a fresh drum pattern, and so https://twitter.com/DrummyBot was born! A function written in less than an hour that comes up with pretty decent rhythms. While not in any specific style, and no ability to choose settings or tune it, it may still be a great kickstarter for that new beat you just can't seem to find. It is like the opposite of a fancy AI that seems to be so hot these days.
If you think DrummyBot can help you get inspired, just follow it on Twitter. The bot publishes a new pattern every hour, and even tries to give it a name using PHP's Faker library. You can also simply go to https://drummy.io and use the magic wand button to get a fresh pattern with each click! The function is totally randomized, you will never get the same pattern twice, and customizing literally requires just a few seconds.
I hope you like it, and of course, all feedback is gladly welcome!
Show HN: Niche Community – Quickly create general-purpose online communities
Show HN: OpenZiti Python SDK
Show HN: Rocketry – Statement-based scheduling framework for Python
Show HN: Rocketry – Statement-based scheduling framework for Python
Show HN: Open Prompts – dataset of 10M Stable Diffusion generations
Open Prompts is the dataset used to build krea.ai. The data comes from the Stability AI Discord and includes around 10M images from 2M prompts. You can use it for creating semantic search engines of prompts, training LLMs, fine-tuning image-to-text models like BLIP, or extracting insights from the data—like the most common combinations of modifiers.
Show HN: Open Prompts – dataset of 10M Stable Diffusion generations
Open Prompts is the dataset used to build krea.ai. The data comes from the Stability AI Discord and includes around 10M images from 2M prompts. You can use it for creating semantic search engines of prompts, training LLMs, fine-tuning image-to-text models like BLIP, or extracting insights from the data—like the most common combinations of modifiers.
Show HN: Open Prompts – dataset of 10M Stable Diffusion generations
Open Prompts is the dataset used to build krea.ai. The data comes from the Stability AI Discord and includes around 10M images from 2M prompts. You can use it for creating semantic search engines of prompts, training LLMs, fine-tuning image-to-text models like BLIP, or extracting insights from the data—like the most common combinations of modifiers.
Show HN: Open Prompts – dataset of 10M Stable Diffusion generations
Open Prompts is the dataset used to build krea.ai. The data comes from the Stability AI Discord and includes around 10M images from 2M prompts. You can use it for creating semantic search engines of prompts, training LLMs, fine-tuning image-to-text models like BLIP, or extracting insights from the data—like the most common combinations of modifiers.
Show HN: Open Prompts – dataset of 10M Stable Diffusion generations
Open Prompts is the dataset used to build krea.ai. The data comes from the Stability AI Discord and includes around 10M images from 2M prompts. You can use it for creating semantic search engines of prompts, training LLMs, fine-tuning image-to-text models like BLIP, or extracting insights from the data—like the most common combinations of modifiers.
Show HN: I made an open-source Bitly alternative
Show HN: I made an open-source Bitly alternative
Show HN: Tigris – open-source developer data platform for your next app
Tigris is the first truly open source developer data platform with a simple yet powerful, unified API that spans search, event streaming, and transactional document store. It enables you to focus on building your applications and stop worrying about the data infrastructure.
Show HN: Each country as a Pokemon, using Stable Diffusion
Show HN: Send a GitHub webhook to a private URL
I work on the OpenZiti project and I have a CI server that accepts GitHub webhooks, but I don't want to expose my server to the internet with open ports. I used the Python SDK for OpenZiti (overlay networking platform) to create a GitHub Action that sends the webhook to my private server via overlay instead of via the open internet.<p>This GitHub repo is a template that I made to show you how it all works. You can use it right away to run the sample server (httpbin-go) and see the GitHub Action in...action. Relevant threads include <a href="https://news.ycombinator.com/item?id=32596212" rel="nofollow">https://news.ycombinator.com/item?id=32596212</a> .
Show HN: Send a GitHub webhook to a private URL
I work on the OpenZiti project and I have a CI server that accepts GitHub webhooks, but I don't want to expose my server to the internet with open ports. I used the Python SDK for OpenZiti (overlay networking platform) to create a GitHub Action that sends the webhook to my private server via overlay instead of via the open internet.<p>This GitHub repo is a template that I made to show you how it all works. You can use it right away to run the sample server (httpbin-go) and see the GitHub Action in...action. Relevant threads include <a href="https://news.ycombinator.com/item?id=32596212" rel="nofollow">https://news.ycombinator.com/item?id=32596212</a> .
Show HN: I made a site that easily lets you generate AI images using templates
Show HN: I made a site that easily lets you generate AI images using templates