The best Hacker News stories from Show from the past day
Latest posts:
Show HN: Modular Diffusion – A modular Python library for diffusion models
Hello everyone! I've been working on this project for a few months as part of my thesis in Machine Learning. It's meant to be a library that provides an easy-to-use but flexible API to design and train Diffusion Models. I decided to make it because I wanted to quickly prototype a Diffusion Model but there were no good tools to do it with. I think it really can help people prototype their own Diffusion Models a lot faster and only in a few lines of code.<p>The base idea is to have a Model class that takes different modules corresponding to the different aspects of the Diffusion Model process (noise schedule, noise type, denoising network, loss function, guidance, etc.) and allow the user to mix and match different modules to achieve different results. The library ships with a bunch of prebuilt modules and the plan is to add many more. I also made it super easy to implement your own modules, you just need to extend from one of the base classes available.<p>Contrary to HuggingFace Diffusers, this library is focused on designing and training your own Diffusion Models rather than finetuning pretrained ones (although this is possible).<p>I would really appreciate your feedback.
Show HN: Menu Bar Calendar on macOS
Show HN: Menu Bar Calendar on macOS
Show HN: XRss – RSS Reader and web stack demo
XRss is a simple RSS reader web app built to showcase xtemplate, a new web development tool based on Go's html/template and Caddy server.<p>The entire site UI for XRss comes from <i>a single HTML template file</i>. This index.html includes everything from SQL queries and route definitions and handlers to htmx state transition attributes and tailwindcss classes, and developing it requires <i>zero build steps</i> (amortized).<p>Check out the source which manages to be at once banal and gnarly: <a href="https://github.com/infogulch/xrss/blob/master/templates/index.html">https://github.com/infogulch/xrss/blob/master/templates/inde...</a><p>xtemplate preloads the whole template structure into memory and builds the router at startup, so responses to matching requests are rendered after a single lookup. Combined with direct queries to sqlite makes for a very snappy experience typically responding in less than 5ms. (Fingers crossed.)<p>There are various places where XRss could be improved (PRs welcome!), but it already delivers on its purpose of demonstrating the plausibility of xtemplate. See the xtemplate readme for an overview of what you can do with it. I think of it as 'PHP but the syntax looks like Go templates'.<p><a href="https://github.com/infogulch/caddy-xtemplate">https://github.com/infogulch/caddy-xtemplate</a><p>Let me know what you think! Does remaking PHP from scratch out of Go templates make me a lunatic? (yes) Is it a good idea anyway? (yes) What kind of web application do you think would be a good fit for a platform like this?
Show HN: XRss – RSS Reader and web stack demo
XRss is a simple RSS reader web app built to showcase xtemplate, a new web development tool based on Go's html/template and Caddy server.<p>The entire site UI for XRss comes from <i>a single HTML template file</i>. This index.html includes everything from SQL queries and route definitions and handlers to htmx state transition attributes and tailwindcss classes, and developing it requires <i>zero build steps</i> (amortized).<p>Check out the source which manages to be at once banal and gnarly: <a href="https://github.com/infogulch/xrss/blob/master/templates/index.html">https://github.com/infogulch/xrss/blob/master/templates/inde...</a><p>xtemplate preloads the whole template structure into memory and builds the router at startup, so responses to matching requests are rendered after a single lookup. Combined with direct queries to sqlite makes for a very snappy experience typically responding in less than 5ms. (Fingers crossed.)<p>There are various places where XRss could be improved (PRs welcome!), but it already delivers on its purpose of demonstrating the plausibility of xtemplate. See the xtemplate readme for an overview of what you can do with it. I think of it as 'PHP but the syntax looks like Go templates'.<p><a href="https://github.com/infogulch/caddy-xtemplate">https://github.com/infogulch/caddy-xtemplate</a><p>Let me know what you think! Does remaking PHP from scratch out of Go templates make me a lunatic? (yes) Is it a good idea anyway? (yes) What kind of web application do you think would be a good fit for a platform like this?
Show HN: XRss – RSS Reader and web stack demo
XRss is a simple RSS reader web app built to showcase xtemplate, a new web development tool based on Go's html/template and Caddy server.<p>The entire site UI for XRss comes from <i>a single HTML template file</i>. This index.html includes everything from SQL queries and route definitions and handlers to htmx state transition attributes and tailwindcss classes, and developing it requires <i>zero build steps</i> (amortized).<p>Check out the source which manages to be at once banal and gnarly: <a href="https://github.com/infogulch/xrss/blob/master/templates/index.html">https://github.com/infogulch/xrss/blob/master/templates/inde...</a><p>xtemplate preloads the whole template structure into memory and builds the router at startup, so responses to matching requests are rendered after a single lookup. Combined with direct queries to sqlite makes for a very snappy experience typically responding in less than 5ms. (Fingers crossed.)<p>There are various places where XRss could be improved (PRs welcome!), but it already delivers on its purpose of demonstrating the plausibility of xtemplate. See the xtemplate readme for an overview of what you can do with it. I think of it as 'PHP but the syntax looks like Go templates'.<p><a href="https://github.com/infogulch/caddy-xtemplate">https://github.com/infogulch/caddy-xtemplate</a><p>Let me know what you think! Does remaking PHP from scratch out of Go templates make me a lunatic? (yes) Is it a good idea anyway? (yes) What kind of web application do you think would be a good fit for a platform like this?
Show HN: XRss – RSS Reader and web stack demo
XRss is a simple RSS reader web app built to showcase xtemplate, a new web development tool based on Go's html/template and Caddy server.<p>The entire site UI for XRss comes from <i>a single HTML template file</i>. This index.html includes everything from SQL queries and route definitions and handlers to htmx state transition attributes and tailwindcss classes, and developing it requires <i>zero build steps</i> (amortized).<p>Check out the source which manages to be at once banal and gnarly: <a href="https://github.com/infogulch/xrss/blob/master/templates/index.html">https://github.com/infogulch/xrss/blob/master/templates/inde...</a><p>xtemplate preloads the whole template structure into memory and builds the router at startup, so responses to matching requests are rendered after a single lookup. Combined with direct queries to sqlite makes for a very snappy experience typically responding in less than 5ms. (Fingers crossed.)<p>There are various places where XRss could be improved (PRs welcome!), but it already delivers on its purpose of demonstrating the plausibility of xtemplate. See the xtemplate readme for an overview of what you can do with it. I think of it as 'PHP but the syntax looks like Go templates'.<p><a href="https://github.com/infogulch/caddy-xtemplate">https://github.com/infogulch/caddy-xtemplate</a><p>Let me know what you think! Does remaking PHP from scratch out of Go templates make me a lunatic? (yes) Is it a good idea anyway? (yes) What kind of web application do you think would be a good fit for a platform like this?
Show HN: Shaq, a CLI for Shazam
Show HN: Shaq, a CLI for Shazam
Show HN: Shaq, a CLI for Shazam
Show HN: Shaq, a CLI for Shazam
I mirrored all the code from PyPI to GitHub and analysed it
This is a side project I've been working on for the last few months. I built an automated system to continuously mirror all the code on PyPI to a series of Github repositories. Mirroring PyPI code to Github enables:<p>1. Scanning of all new Python packages for accidentally published credentials<p>2. A browsable/searchable index of published code with a nice UI<p>3. Large-scale analysis of <i>all</i> published code to see how the language is evolving<p>Using this project anyone is able to download the contents of PyPI to their personal machine and analyse every piece of code ever published in a matter of hours.<p>I hope it enables people to do things with the worlds largest and oldest corpus of Python code that wasn't possible before, and while this is likely totally useless to most people I think that is kind of cool and unique.
Show HN: Name Checker – check your project name accross many sites
Show HN: Name Checker – check your project name accross many sites
Show HN: Squabblr – A Twitter/Reddit hybrid platform
Hey guys, I made a post about this about a week ago and was told to create a Show HN post. So here we are!<p>Squabblr is a hybrid that takes Twitter style posting and combines it with Reddit style commenting. It came up from a personal want where I liked using Twitter to see what people I'm interested in are up to, but found that the reply system left a lot to be desired. It's very hard to have or follow conversations with their UI. While Reddit provided a great commenting system but didn't support following people very well (or had much usage of it at all).<p>So I decided to create Squabblr. You can "tweet" random blurbs or have in-depth conversations in a single unified platform. You can follow people, and you can also have Reddit style communities for whatever niche subject you find interest in.<p>If you find any interest in it, check it out here! <a href="https://squabblr.com" rel="nofollow noreferrer">https://squabblr.com</a><p>Tech stack:<p>- Laravel
- Vue.js
- MySQL
- DigitalOcean<p>Appreciate your time!
Show HN: Flake schemas – teaching Nix about your flake outputs
Show HN: Flake schemas – teaching Nix about your flake outputs
Show HN: Merge – Connect Google Wear OS to Apple iOS
TLDR: Wear OS app for Samsung Galaxy Watches and Google Pixel Watches to connect them with iPhones, after Samsung and Google ditched iOS support back in 2021.<p>Hi all!<p>I recently switched to an iPhone and became frustrated when my Galaxy Watch was rendered useless, due to Google's and Samsung's decision to cut off iPhones from Wear OS back in 2021. I then started a project to create an alternative integration.<p>I launched it 3 weeks ago as a Google Play app for Wear OS watches, most prominently for the Samsung Galaxy Watch and Google Pixel Watch. With this app, these watches can now connect to iPhones to control notifications and take phone calls.<p>The response has been fantastic so far, with nearly 1k downloads and a steady growth rate. Should the demand continue to rise, I intend to expand the integration with additional features.<p>I'd love to hear your thoughts and feedback, and answer any questions you might have. Thanks for your support!<p>--<p>Merge is also on ProductHunt today: <a href="https://www.producthunt.com/posts/merge-connecting-wear-os-to-ios" rel="nofollow noreferrer">https://www.producthunt.com/posts/merge-connecting-wear-os-t...</a>
Show HN: Merge – Connect Google Wear OS to Apple iOS
TLDR: Wear OS app for Samsung Galaxy Watches and Google Pixel Watches to connect them with iPhones, after Samsung and Google ditched iOS support back in 2021.<p>Hi all!<p>I recently switched to an iPhone and became frustrated when my Galaxy Watch was rendered useless, due to Google's and Samsung's decision to cut off iPhones from Wear OS back in 2021. I then started a project to create an alternative integration.<p>I launched it 3 weeks ago as a Google Play app for Wear OS watches, most prominently for the Samsung Galaxy Watch and Google Pixel Watch. With this app, these watches can now connect to iPhones to control notifications and take phone calls.<p>The response has been fantastic so far, with nearly 1k downloads and a steady growth rate. Should the demand continue to rise, I intend to expand the integration with additional features.<p>I'd love to hear your thoughts and feedback, and answer any questions you might have. Thanks for your support!<p>--<p>Merge is also on ProductHunt today: <a href="https://www.producthunt.com/posts/merge-connecting-wear-os-to-ios" rel="nofollow noreferrer">https://www.producthunt.com/posts/merge-connecting-wear-os-t...</a>
Show HN: Merge – Connect Google Wear OS to Apple iOS
TLDR: Wear OS app for Samsung Galaxy Watches and Google Pixel Watches to connect them with iPhones, after Samsung and Google ditched iOS support back in 2021.<p>Hi all!<p>I recently switched to an iPhone and became frustrated when my Galaxy Watch was rendered useless, due to Google's and Samsung's decision to cut off iPhones from Wear OS back in 2021. I then started a project to create an alternative integration.<p>I launched it 3 weeks ago as a Google Play app for Wear OS watches, most prominently for the Samsung Galaxy Watch and Google Pixel Watch. With this app, these watches can now connect to iPhones to control notifications and take phone calls.<p>The response has been fantastic so far, with nearly 1k downloads and a steady growth rate. Should the demand continue to rise, I intend to expand the integration with additional features.<p>I'd love to hear your thoughts and feedback, and answer any questions you might have. Thanks for your support!<p>--<p>Merge is also on ProductHunt today: <a href="https://www.producthunt.com/posts/merge-connecting-wear-os-to-ios" rel="nofollow noreferrer">https://www.producthunt.com/posts/merge-connecting-wear-os-t...</a>