luke

luke

0-day streak

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

image.png

I wrote a PR for hackagotchi

image.png

Organized my setup :partyparrot:

img_20200627_213318.jpg

added a bit of transparency to my VSCode and alacritty/vim configs :partyparrot:

image.png

made a shitty url shortener with doggo.ninja lmao

image.png

I got mario kart to run at 1440p 60fps on my phone lmao

img_0076.jpg

made a slackbot for eternum (#minecraft :) )

image.png

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 :)

image.png

Learned about structs, methods, and impl in rust! This language is so cool

image.png

Today, I learned about references and borrowing in :rust: 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. :partyparrot: I also added a custom URL to my scrapbook! 🔗 scrapbook.lukec.me

image.png

just started learning Rust :rustlang: ! 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 -

image.png

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

image.pngimage.png