secondary-smiles

secondary-smiles

0-day streak
https://scrapbook-into-the-redwoods.s3.amazonaws.com/fc59d8b7-4190-4f33-962d-e967b0902faa-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/5c86f0bf4a798b118b42ce9fa564080707e01777e85b9022fdb5c3893db2669c/3a8ac2ec-c868-4682-9514-a9f7935f2314.png
spring-of-making emoji
github emoji
Last minute ship for #hack-hour! I thought it would be fun to make a small diary cli where you add daily notes kind of like a twitter thread. It's already a quite powerful small tool, I've added a lot of configuration options for templating and such. github.com/secondary-smiles/Diary
https://scrapbook-into-the-redwoods.s3.amazonaws.com/70e4e792-d95f-4cf9-8d3e-feef2135033a-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/ad5d28325d3cb275a66ca2fc26ac26b04fb96c92b13b730490e9328c59906631/8559fd97-e06c-4388-abca-7d54c4ccd868.png
Workin' on a code editor for a project, codemirror is a really useful tool!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/b982106f-a428-43e3-b6e2-a4f65b17321c-image.png
spring-of-making emoji
goose-honk-technologist emoji
https://scrapbook-into-the-redwoods.s3.amazonaws.com/7e28800e-ca7b-4a81-8498-9b1d1b3849b3-image.png
This is my main project for #hack-hour! I wanted to learn more about Elixir as a programming language because it has really interesting features focusing on concurrency and distributed systems. So, for my first Elixir project I wrote a little program to watch a folder for new files and sync them between two different computers! The code is really awful and it barely works but I am super proud of the fact that I managed to get it to the point it's at. This was my first time with functional programming and with Elixir so I'm happy it ended up being able to work in the first place. You can check it out at the github repo, but I strongly advise against trying to use it productively. github.com/secondary-smiles/filesync
https://imgutil.s3.us-east-2.amazonaws.com/e60d3c0da9a589756dad4bcee779902c041484999cbca1fe180d23b5f4e60dfb/3855dac4-9528-45a1-9a52-a3d7fa66f127.png
Ok, we can now scan all the files across two nodes and find different ones! Next up, I have to implement some sort of rsync-like system to resolve differences and BAM we've got a file synchronization service made in Elixir for #hack-hour github.com/secondary-smiles/filesync
https://scrapbook-into-the-redwoods.s3.amazonaws.com/8eda1094-6eb3-4cd3-88cc-a3fa37940ddb-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/d73a4e57d8fda2a944b29b424d12c02ffdf8b77f589ec99b4fdb4465c1633289/222f5a04-8705-457c-b642-37798a26f673.png
goose-honk-technologist emoji
spring-of-making emoji
github emoji
With elixir, I can send messages between processes on two different computers with basically no problem at all! This language is honestly one of the coolest things I've used. All for a filesync service I'm building for #hack-hour! github.com/secondary-smiles/filesync
https://imgutil.s3.us-east-2.amazonaws.com/c92b9cfcea34f525750213f301bab295b3b7edbbf93c2ff23727d3d44769a73d/c25f5392-722b-4e49-8fbc-9cb28b74f98d.png
spring-of-making emoji
github emoji
goose-honk-technologist emoji
https://imgutil.s3.us-east-2.amazonaws.com/df3d11c12eb672a2973f964385d77e857ac17ad4a03c16fe252c073ba6037efd/0e996273-71b1-4dc9-886f-c8c60c9c90bd.png
spring-of-making emoji
goose-honk-technologist emoji
github emoji
Going deeper into Elixir, this stuff is seriously blowing my mind! The fact that I can casually create a process, monitor it, crash it, and have a report sent to the current process is crazy! First class message streaming and process management is something I wish I got to experience sooner.
https://scrapbook-into-the-redwoods.s3.amazonaws.com/86314319-3d41-450f-8273-4e2afafab290-image.png
spring-of-making emoji
https://scrapbook-into-the-redwoods.s3.amazonaws.com/c9bc5ca3-508f-476f-9ccf-59cb34d14920-image.png
spring-of-making emoji
goose-honk-technologist emoji
I'm usually one to stick with procedural programming with stuff like Rust or C, but now that I'm taking a look at Elixir I can feel myself being pulled over... Working my way through the Elixir docs for #hack-hour!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/3a07fe99-c231-4f08-855f-ad17bcb73da8-image.png
spring-of-making emoji
goose-honk-technologist emoji
rustlang emoji
c emoji
Fun little #blot ship! I've been a huge fan of Doctor Who since forever, so I finally got around to making a Gallifreyan script generator! (with a little bit of motivation from #hack-hour). [check it out]( blot.hackclub.com/editor?shareId=151329f1-ac96-488e-a260-3476ca85fcea ) As an example, the attached image is the word blot ready to be plotted! See here for an explanation of the Gallifreyan language.
https://scrapbook-into-the-redwoods.s3.amazonaws.com/3bed0961-f944-48a0-95df-c1644c1749bf-snapshot1.pnghttps://imgutil.s3.us-east-2.amazonaws.com/3548f65faedf573a617d447111d0ec757780471e49fdb18d7af96f911ffb1800/9f49fa21-4a5d-4bd0-bb02-14b297eb04f6.png
Chela update! I've fixed a ton of bugs and added some fun features and now Chela is at version 1.0.0! If you missed the previous ship, Chela is minimal selfhostable URL shortener written in Rust. It runs in a 14Mb Docker container! I have an instance hosted at trkt.in, you can try it out by going to trkt.in/create with the user hackclub and password 4YtC3qWKBZAYmD. github.com/secondary-smiles/chela
https://imgutil.s3.us-east-2.amazonaws.com/c4d348d64025501eb2473c598df0950a8f1eb3b693343bb64051bf4b9585ba3c/a6785e6c-3f18-4013-908d-8df8208394b8.png
Announcing Chela! I took a few hours to try and make a nice little self hosted URL shortener like bit.ly. I wrote it in Rust and tried to keep it small. I'm currently hosting it at trkt.in. I used sqids to generate ID's which leads to super awesome short URL's like trkt.in/GM! The source is available here.
https://imgutil.s3.us-east-2.amazonaws.com/3014016b036f4d185020529deb0572244c617033c427c46c06fce0da17805dc7/eea64dcc-9a5b-4110-84bf-e64128e2befd.png
Somewhat of a WIP, but I've been working on the Molerat protocol for the last few months and it's coming along really well! I've implemented a server for it Moleserv in Python, and I'm working on an Ncurses client for it in C currently. It's been a huge and fun project for a while now. It's not 100% ready to use since the client isn't done yet, but it's at a point where I want to start showing it to people. Here's the client I'm working on by the way: git.trinket.icu/molehole.git In the end, this is less of a code/software ship, more of an announcement for the protocol which is ready to be shared. We even have a lovely mascot, Potat the naked mole-rat!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/c1a627f8-1b79-49e9-9d9d-41f399177d9e-potat.png