TL; DR:
Kind to others AND kind to ourselves
Stop comparing yourself to others
Take a step back to appreciate your progress
There will be an AMA live stream on Monday June 10th at 9:30 PM PDT.
EXCLUSIVE ARTICLE IS NOW ARCHIVED
This newsletter issue has an EXCLUSIVE article but it’s now archived on my website. You can read it here with a paid subscription:
https://www.devleader.ca/2024/06/08/stop-being-unkind-to-yourself-dev-leader-weekly-47/
What’s In This Issue
Against The MSFT Rules! – Refactor Large File Downloads in C#
A Letter To Junior Developers – Principal Software Engineering Manager AMA
Success From Software Engineering Failures – Interview With Alex Lau
Join me and other software engineers in the private Discord community!
All of my weekly vlogs are now on YouTube which are accessible via membership!
Remember to check out my courses, including this awesome discounted bundle for C# developers:
Weekly Recap
Downloading Files in C# – Live Coding in C#
This is a live stream where I walk through some of the nuances of the YouTube content that I’ll be prepping. You can see how the examples all come together and the different aspects I will be focusing on in the tutorial videos.
Against The MSFT Rules! – Refactor Large File Downloads in C#
You folks asked for it, and I delivered! When I put together content about challenges downloading large files in C#, you wanted to see how we could take this a bit further and make helper classes out of it.
The benefit of doing this is that we can encapsulate some of the challenging behavior with downloading large files. Namely:
We’re not getting a stream with a length
We don’t want to pull the whole file into memory
In this video, I walk you through my design decisions between two different APIs we could explore. If you want to see a more in-depth view of this, make sure to check out my livestreams where I explain how I am putting this content together for YouTube!
A Letter To Junior Developers – Principal Software Engineering Manager AMA
This was AMA live stream focused on tips for junior engineers to be more effective early in their careers. You can read more about this content in this newsletter:
https://weekly.devleader.ca/p/a-letter-to-junior-developers
Success From Software Engineering Failures – Interview With Alex Lau
In this video, I got to sit down with Alex Lau to discuss his book, his almost accidental success in public speaking, and how he continues to grow from his failures in software engineering.
On failures, most people shy away from them. We keep them secret. Failing is bad. Except… failing is one of the very best ways that we can learn and improve — and Alex has set out to help others know that they can learn from failures.
And on public speaking — you know I always say how important communication is in software engineering! Let Alex also remind you!
Thanks for the chat, Alex!
Coding Benchmarks For YouTube – Live Coding in C#
This live stream focused on prepping code and benchmarks for YouTube videos focused on downloading files.
ONLY 0.7% Of The Memory Allocations When Downloading In C#!
A 20MB file isn’t all that big — unless you’re stuck with dial-up internet. Remember that? But what IS big is the difference in memory allocation that we can have when we use a couple of helpful tips when downloading files in C#.
The default mechanism using the HttpClient in C# means that we’ll allocate the file to a memory stream. However, using the techniques from my previous videos on this topic we can scale that WAY back to less than 1% of the memory allocation to download the very same file.
As always, thanks so much for your support! I hope you enjoyed this issue, and I’ll see you next week.
Nick “Dev Leader” Cosentino
social@devleader.ca
Socials:
– Blog
– Dev Leader YouTube
– Follow on LinkedIn
– Dev Leader Instagram