Sunday, 1 January 2023

Show HN: Detecting collision between 500k circles below 5ms https://bit.ly/3GxfqHo

Show HN: Detecting collision between 500k circles below 5ms Heya. I created a flexible collision engine for broad detection in C that's also pretty fast. Personally that's my best, so I wanted to show it here. Although... still not as fast as DragonEnergy's one that supposedly handled millions of agents bouncing off each other every frame on an old i3, haha. I hope I get better at this! He set the bar pretty high for me. I was considering including some small function that tries finding the nearest entity, although I think it might be better to simply use query for that matter. Perhaps in the future I will get a good idea of how to do that more efficiently. This is not a clickbait. Although generally you also call other functions in a tick, a collision check between 500,000 circles ("circles", not "squares", because distance is checked and forces are applied based on the angle between) is done below 5ms on not really that demanding hardware. I achieve lower times than that on my budget laptop, slightly more on my PC (yeah, weird). The total time spent in a tick is 3-4 times that. https://bit.ly/3IiTPUI January 1, 2023 at 09:08PM

Show HN: Modreveal – Utility to find hidden Linux kernel modules https://bit.ly/3hZ97mQ

Show HN: Modreveal – Utility to find hidden Linux kernel modules https://bit.ly/3WX0vMd January 1, 2023 at 04:32PM

Show HN: Lama2 - Plain-Text Powered REST API Client for Teams https://bit.ly/3VSGZjb

Show HN: Lama2 - Plain-Text Powered REST API Client for Teams https://bit.ly/3IlxEgF January 1, 2023 at 03:06PM

Show HN: I created my AI clone based on 600.000 written words https://bit.ly/3QaWl0X

Show HN: I created my AI clone based on 600.000 written words https://twitter.com/louis030195/status/1609487185602023426 January 1, 2023 at 10:51AM

Saturday, 31 December 2022

Show HN: My programming language, building in public for 1 year https://bit.ly/3Q4j5jk

Show HN: My programming language, building in public for 1 year My weekly(ish) video logs tracking my progress of building a completely sound statically typed language and structural editor. The motivation is to make lots of invalid programs unrepresentable. https://bit.ly/3vB9jeR January 1, 2023 at 12:42AM

Show HN: I made a simple, open source, chromatic tuner mobile app https://bit.ly/3VGe2GO

Show HN: I made a simple, open source, chromatic tuner mobile app I'm a musician by night, software developer by day, and one of the minor frustrations I've always had was trying to find a simple tuner app for my phone. Looking at both the iOS and Android app stores, you'll find a lot of the top tuner apps are rather bloated with ads or subscription callouts. I thought I'd create a dead-simple minimalistic mobile chromatic tuner the way I would like it - open the app and tune my guitar. My work is in web with NodeJS and React, so I chose React Native since it was the easiest to understand coming from React. Flutter was also an option since the company I work for has a team working in that, but I thought it would be a bit too much effort to learn Dart. I learned a bit more about React rendering with this project as well. The main issue I had was trying to have a React state variable be constantly updated with any frequencies detected from the mic input, but that ended up causing substantial slowdown due to so many rerenders, so I opted to use a React ref to maintain any detections, and then only update the React state when there was an actual note. I feel like sometimes the UI has trouble updating occasionally when my iPhone is in battery saving mode, which I guess might be related to throttling the audio sample rate somehow, though I'm not entirely sure. Friends and family haven't noticed this, so it may be due to my old 2016 iPhone SE :P. The apps you can find on the both the iOs App Store and Google Play (free!). https://apple.co/3IbZSu4 https://bit.ly/3Qa9wiH... Would love any feedback! https://bit.ly/3Qa9wzd December 31, 2022 at 09:51PM

Show HN: Pole Clock, a single 24h clock with multiple timezones https://bit.ly/3WVjZ3P

Show HN: Pole Clock, a single 24h clock with multiple timezones Hi HN! I designed this Pole Clock to be a helpful tool for people like myself who often struggle with managing their sense of time. I found that analog clocks are generally easier to read and understand than digital ones, however I find the fact that every day is broken into two 12-hour rotations unintuitive. A single 24-hour rotation makes it easier to grasp where in the day you are, the bottom half representing night and the top half representing day. Additionally, because the clock displays 24 hours, you can add extra hour hands on the clock for other time zones. This is especially useful if you work remotely or have friends and colleagues in different time zones. At a single glance, see where they are in their days and energy levels! I hope you'll give the Pole Clock a try and find that it helps you better understand and manage your sense of time. https://bit.ly/3jJTY99 December 31, 2022 at 02:40PM

Show HN: Integrate user auth more quickly https://bit.ly/3Guyje3

Show HN: Integrate user auth more quickly https://bit.ly/3IfHNvg December 31, 2022 at 11:53AM

Show HN: I Built Sailboat UI – Modern UI Framework for Tailwind CSS https://bit.ly/3WO85c8

Show HN: I Built Sailboat UI – Modern UI Framework for Tailwind CSS Get start with 150+ Tailwind CSS components , built your website quickly with Sailboat UI. https://bit.ly/3Z40GXK December 31, 2022 at 09:48AM

Friday, 30 December 2022

Show HN: Advent of Code 2022 (only first eight in different langs) https://bit.ly/3GdpEM2

Show HN: Advent of Code 2022 (only first eight in different langs) Tried/revisited/used: Elixir, Haskell, Python, Rust, JS, Rust-WASM, TypeScript, Java. With READMEs for each https://bit.ly/3G6TKAB December 30, 2022 at 11:36PM

Show HN: Graphic AI Art Assistant for WhatsApp https://bit.ly/3YV22nX

Show HN: Graphic AI Art Assistant for WhatsApp https://bit.ly/3Z1VXGk December 30, 2022 at 10:27PM

Show HN: Clerkie AI – A GPT-3 based CLI tool that debugs your code https://bit.ly/3vta3CX

Show HN: Clerkie AI – A GPT-3 based CLI tool that debugs your code We built ClerkieCLI - a GPT-3 based tool that: - automatically detects errors on your terminal, - identifies the programming language, - provides an explanation of the error and suggested fix right on your terminal. https://bit.ly/3Q20TH5 December 30, 2022 at 11:17AM

Show HN: Make your content SEO-firiendly with AI https://bit.ly/3CelQsq

Show HN: Make your content SEO-firiendly with AI https://bit.ly/3i78mb5 December 29, 2022 at 06:18PM

Show HN: Distilhn.com – Front-Page Articles Summarized with Machine Learning https://bit.ly/3QiHK3T

Show HN: Distilhn.com – Front-Page Articles Summarized with Machine Learning Hey HN, I've built a little website to show news articles with a summary so that I don't have to RTFA if I just want a rough sense of what it covers :) I also share the summaries in an RSS feed for those who'd prefer to use their own reader. Let me know what you think! https://bit.ly/3VAROWS December 30, 2022 at 01:58PM

Thursday, 29 December 2022

Show HN: A hypermedia-driven app based on htmx and Drogon C++ web framework https://bit.ly/3GpXcYm

Show HN: A hypermedia-driven app based on htmx and Drogon C++ web framework https://bit.ly/3GtJKCS December 29, 2022 at 11:10PM

Show HN: Simple weather for your zip code https://bit.ly/3jFI28o

Show HN: Simple weather for your zip code Weather applications are bloated. This is the simplest implementation I could make using data from the weather.gov API. This simple weather application will retrieve the current 7-day weather for any of more than 33,000 US zip codes. To customize weather for your zip code, change the URL. The current URL is set to the zip code 90210. If you want both news and weather, that is available here: https://bit.ly/3I7B2vr https://bit.ly/3I7B32t December 30, 2022 at 05:06AM

Show HN: Logos Created with AI https://bit.ly/3vnGJNY

Show HN: Logos Created with AI https://bit.ly/3hYlDmm December 30, 2022 at 12:20AM

Show HN: LiveTyper, a simple typing speed tester https://bit.ly/3WQreKd

Show HN: LiveTyper, a simple typing speed tester Phoenix/LiveView using Presence to show the other players online. My 2nd thing in a vague quest to make 12 things in 12 months. https://bit.ly/3i0b81T December 29, 2022 at 07:08PM

Show HN: Dumbo – A tiny ActivityPub server for building bots https://bit.ly/3IeCSe5

Show HN: Dumbo – A tiny ActivityPub server for building bots https://bit.ly/3jvbg9X December 29, 2022 at 03:52PM

Show HN: Pressn't, a site where you can only have a single post https://bit.ly/3I9z65r

Show HN: Pressn't, a site where you can only have a single post Today's internet is filled with dopamine wells of content. I wanted to steer away from that and foster meaningful writing. So I made a site where you can only have a single post. The intention is to encourage thoughtful posts like the blogs we all love here at HN (Paul Graham's, fasterthanlime, Bartosz Ciechanowski's, etc). For now posts are only markdown, but I intend to make some markdown extensions to make posts more dynamic. https://bit.ly/3WyevMx December 29, 2022 at 02:09PM