This isn't really #ship -worthy so I'll post it here - I made a slackbot for third-party-client users that makes zoom usable again. If you react with a 🔗 to a broken zoom message, it'll send you a link to the meeting ephemerally
I wrote a PR for hackagotchi
Organized my setup
added a bit of transparency to my VSCode and alacritty/vim configs
made a shitty url shortener with doggo.ninja lmao
I got mario kart to run at 1440p 60fps on my phone lmao
made a slackbot for eternum (#minecraft :) )
Finished up banker's express API, and started writing the slack bot bit! Includes a fun little HTTP response that's not used very often :)
Learned about structs, methods, and impl in rust! This language is so cool
Today, I learned about references and borrowing in Rust - And I never want to touch a garbage collector again. Rust uses a cool concept called "ownership" that lets you make safe, efficient code with no GC and no manual allocation of memory - in the code snippet attached it can "transfer" ownership (I think) to the new function, and then back to the main function.
I also added a custom URL to my scrapbook!
just started learning Rust ! It's pretty awesome - very unique compared to the other languages I know. Here's an example of something cool about rust - if you don't use the return keyword, they implicitly assume the final value of the expression is what you want to return, so you can make code that looks pretty and works well. Here's an example of a super simple function that returns the number passed in plus one -
Today I worked on improving the code for @banker! New code vs old code (hope this supports 2 photos). I'm writing it with express and slack-events rather than the previous botkit format.
edit: the link to the old code is i.imgur.com/H35MEaB.png