Corey Alexander

28 posts

Corey Alexander banner
Corey Alexander

Corey Alexander

@coreyja_dev

Full-stack architect with two decades of web expertise I help coders level up their engineering careers

United States Katılım Eylül 2024
51 Takip Edilen5 Takipçiler
Corey Alexander
Corey Alexander@coreyja_dev·
Going Live on Twitch in ~10 minutes, at 12:15ish Eastern Time! twitch.tv/coreyja We are going to build a BlueSky post webhook tool, to send notifications any time someone makes a post!
English
0
0
0
26
Corey Alexander
Corey Alexander@coreyja_dev·
Caught this sleepy boy on the edge of the couch yesterday. He used to love this spot but been awhile since he took his afternoon nap there
Corey Alexander tweet media
English
0
0
1
13
Corey Alexander
Corey Alexander@coreyja_dev·
I think it might be time to learn #Kubernetes, so I can self host all my toy apps in one big cluster If I want to not do a managed service (just for learning) should I do something like k3s, or the full deal? Or any non-k8s thing I should try instead?
English
0
0
0
24
Corey Alexander
Corey Alexander@coreyja_dev·
🧪 #Rustlang Tip: Use #[test] with #[ignore] for long-running or resource-intensive tests. Run all tests: cargo test Run ignored tests: cargo test -- --ignored This helps keep your test suite fast while still allowing those long running tests when needed! #Rust30by30 #Day15
Corey Alexander tweet media
English
0
1
1
54
Corey Alexander
Corey Alexander@coreyja_dev·
🔍 #Rustlang Tip: Use cargo clippy to catch common mistakes and improve your code! It's also a great learning tool! It will show you best practices to follow, and by reading and understanding the suggestions you can improve your skills as a Rust developer! #Rust30by30 #Day14
Corey Alexander tweet media
English
0
0
0
12
Corey Alexander
Corey Alexander@coreyja_dev·
🎨 Rust Tip: Use cargo fmt to automatically format your code! 📝 You can even setup your editor to Auto-Format on save! VS Code Instructions: - Install the Rust Analyzer extension - Open settings - Search for "Format on Save" and enable it #RustTips #Rust30by30 #Day12
Corey Alexander tweet media
English
0
0
0
12
Corey Alexander
Corey Alexander@coreyja_dev·
Going live for a stream once I get myself all situated this morning! We are going to be working on JustAdios, my tool to end Zoom Meetings after a set amount of time. We've got the basic working, so today working on polish! Starting in ~20 minutes twitch.tv/coreyja
English
0
0
0
2
thomas
thomas@c00kingwithai·
05 10 2024 14:39
1
3
5
189
Corey Alexander
Corey Alexander@coreyja_dev·
🏗️ #Rustlang Hack: Use the ..Default::default() syntax to initialize structs with some default values while customizing others. This is also not limited to Default::default() it will work with any instance of your struct! #Rust30by30 #Day11
Corey Alexander tweet media
English
0
0
0
15
Corey Alexander
Corey Alexander@coreyja_dev·
🏗️ #Rustlang Tip: Use the #[derive(Default)] attribute for struct initialization if all your fields have a Default implementation. Be careful though, for Strings field, the default implementation will create an empty string! #RustTricks #Rust30by30 #Day10
Corey Alexander tweet media
English
0
0
0
11
Corey Alexander
Corey Alexander@coreyja_dev·
#Rustlang Tip: use Option<T> for values that might be absent. Rust doesn't have null values, but it does have Option<T> This lets the compiler help check for those pesky "null" cases for you, and make sure you handle the Option::None case! #RustTricks #Rust30by30 #Day9
Corey Alexander tweet media
English
0
0
0
7
Corey Alexander
Corey Alexander@coreyja_dev·
#Rustlang Tip: Speed up dev cycles by using cargo check instead of cargo build during development It skips building everything but still checks your code for any compilation errors! You can also use cargo watch to automatically run cargo check! #RustTricks #Rust30by30 #Day8
English
0
0
0
3
Corey Alexander
Corey Alexander@coreyja_dev·
💡 #RustLang Tip 7: ✅ DO: use match for pattern matching, especially when dealing with enums. ❌ DON'T: rely on if-else for enum handling, when a new variant is added nothing will remind you to update your branches! #RustLang #30by30 #Day7
Corey Alexander tweet media
English
0
0
0
2
Corey Alexander
Corey Alexander@coreyja_dev·
New Byte just dropped! This one is a small color blending CLI, and I like the bugs that are hidden in it! Feels like a more realistic bug than some of our other ideas! See if you can spot all three bugs hidden in this challenge! Check it out! coreyja.com/bytes/color-bl… #Rustlang
English
0
0
0
2
Corey Alexander
Corey Alexander@coreyja_dev·
🔧 #Rustlang Tip Use the #[derive(Debug, Clone)] attribute to automatically generate implementations for the Debug and Clone traits. 💡 Clone is useful when you need a copy of the struct 💡 Debug is useful for printing the struct for debugging, try with dbg! #Rust30by30 #Day6
Corey Alexander tweet media
English
0
1
1
80
Corey Alexander
Corey Alexander@coreyja_dev·
Today's Stream is up on Youtube if you missed it live! youtu.be/uSOS4GbxvGs Come along as I integrate Zoom Webhooks into our app that shuts down long meetings!
YouTube video
YouTube
Corey Alexander tweet media
English
0
0
1
7