Posts

Showing posts from January, 2025

23 essential features of C# 9 - C# 13

Do you still write C# the way you did 7 years ago?  Here's how you can easily get up to speed: C# 9 1. Records 2. Init-only setters 3. Top-level statements 4. Improved pattern matching 5. Target-type new C# 10 6. File scoped namespace 7. Global using directive 8. Constant interpolated strings C# 11 9. Raw literal strings 10. List patterns 11. File-scoped types 12. Required members C# 12 13. Primary constructors 14. Collection expressions 15. Inline collections with ranges and slices 16. Default values for lambda expressions C# 13 17. LINQ Index method 18. LINQ AggregateBy method 19. LINQ CountBy 20. Params collection 21. UUID version 7 22. Lock 23. Implicit index access In today's newsletter, you get those features explained in the "C# Upskill Checklist." For every feature you get: 1. Short explanation 2. Code example 3. Console output of the code snippet (where applicable)

GPUs are everywhere today. Let's explain to a 12-year-old why deep learning needs them and why they are so fast.

Image
  GPUs are everywhere today. Let's explain to a 12-year-old why deep learning needs them and why they are so fast. Imagine your computer's brain (the CPU) is good at solving one math problem at a time, like doing homework step by step. But sometimes, you must solve many issues simultaneously—like solving a whole page of math problems. This is where the GPU (Graphics Processing Unit) comes in. Now, inside a GPU, there are special helpers called "tensor cores." These are like super-fast math problem solvers. 🛵 𝗦𝗰𝗲𝗻𝗮𝗿𝗶𝗼 𝟭: 𝗚𝗣𝗨 𝘄𝗶𝘁𝗵𝗼𝘂𝘁 𝗧𝗲𝗻𝘀𝗼𝗿 𝗖𝗼𝗿𝗲𝘀 The robot looks at a picture and does the math step by step to determine whether it's a cat or a dog. This GPU can solve math problems quickly, but it does so in a regular way—solving one piece of the problem at a time. 🛵𝗦𝗰𝗲𝗻𝗮𝗿𝗶𝗼 𝟮: 𝗚𝗣𝗨 𝘄𝗶𝘁𝗵 𝗧𝗲𝗻𝘀𝗼𝗿 𝗖𝗼𝗿𝗲𝘀 The robot uses a GPU with tensor cores, which can solve many math problems at once in a special, more efficient...