HN user

IdreesInc

193 karma

https://idreesinc.com

Posts7
Comments16
View on HN

Thank you for sharing that! I had originally started this project with the intention of making an editor for the "mail" from Pokémon G/S/C before I decided to focus on Animal Crossing instead. It's cool to know that I'm not the only one interested in that sort of thing, but shame that they never added the mail from that game.

Hello all! I posted this last week and didn't realize it would stay in the moderation queue for so long, so imagine my surprise when I started getting notified for so many messages today! Thanks for all of the lovely messages thrown into the sea, I've parsed through today's batch and pushed through the moderated ones. Hope you all continue to enjoy the project!

I'm so glad you enjoyed it! And yes the messages are sent to me, no worries. Submitted messages are sent to an AWS API Gateway endpoint for rate limiting and then to me. I then manually commit the ones that are not rude and don't include identifying info/don't seem to have been submitted by mistake! I have a couple of reasons for manually committing them rather than using a simple DynamoDB database or something. First, since I have to moderate through the messages manually anyways, it's about the same amount of effort tbh. Second, I wanted the messages to be available forever and having them committed allows for people to save them in the future should they wish to!

Don't worry, it's completely open source! Miracode is a fork of my other font "Monocraft" which is under the GPL. As such, Miracode is also GPL, and the font files themselves are under the OFL. Since it's a fork, there are a few extra files that are not actually executed which may be why you aren't seeing the algorithm. Check miracode.py for the script that generates the font! No promises that it'd work on other fonts though, the "algorithm" was made over a weekend and as such could definitely use some optimization. On the bright side, I did include a unit testing system which might help others convert fonts in the future.

No promises that it is actually a good algorithm, I definitely had to handle a lot of edge cases and I am sure there are more out there! The best decision I made was to make a unit testing system for the font, so hopefully that'll make things easier for people in the future.

Thanks for the in-depth comment, it's definitely been a balancing act trying to determine how to handle things like the diagonals/curves. I originally made things more "curvy", but it made the font look similar to comic sans or other handwriting fonts for some reason. Perhaps a sharper curve algorithm would avoid this, though the "angular" look does make this font into something a bit more unique than the other programming fonts available.

Thanks! For the social media sites, I made custom parsers to read "posts" (or the equivalent) in particular. Otherwise you have the option of just scanning almost every element on the page, which works surprisingly well but is likely not efficient. The parsing rules don't adapt unless an update is pushed, and it only mutes the words/phrases you set it to.