Andrew

3K posts

Andrew banner
Andrew

Andrew

@aventer7

🇿🇦 | Senior #fullstackdev; Written stuff for 8+ years in Azure, Web, Desktop, Servers, IOT and Various Databases | ❤ #CSharp && Golang | Tweets are my own.

South Africa, Joburg Katılım Aralık 2019
1K Takip Edilen169 Takipçiler
Andrew
Andrew@aventer7·
@ChShersh MIT's open course material has been open for years.
English
0
0
1
89
Anton Martyniuk
Anton Martyniuk@AntonMartyniuk·
Most Senior devs tell you to create repositories for EF Core. But that's not the best way to code. As your .NET projects grow, handling data gets more and more complicated. Many teams start with the Repository Pattern, wrapping their EF Core queries inside. At first, this works fine. But as your project grows, your Repositories either don't do enough or try to do too much. Your code becomes harder to understand and modify as business requirements change. Each time you need a new filter or query, you add another method or even a new repository. Remember that EF Core's DbContext already implements the Repository and Unit of Work patterns This is clearly stated in the official Microsoft documentation on DbContext. You can also see this in the DbContext code summary in your IDE. When we create a repository over EF Core, we create an abstraction over an abstraction, leading to over-engineered solutions. How can you solve this issue? The answer is a 𝗦𝗽𝗲𝗰𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 pattern. The Specification Pattern is a way to describe what data you want from your database using small, reusable classes called "specifications". Each Specification represents a filter or a rule that can be applied to a query. This lets you build complex queries by combining simple, easy-to-understand classes. Recently, I shared with 𝟮𝟰,𝟬𝟬𝟬+ people: ➡️ Why Repositories Become a Bottleneck in Real Projects ➡️ What Is the Specification Pattern? ➡️ How to Implement Specifications in EF Core ➡️ Advanced Specifications Read the full article here: ↳ antondevtips.com/blog/specifica… 📌Subscribe to my weekly .NET newsletter, amazing content is coming in September — ♻️ Repost to help others learn about Specification Pattern ➕ Follow me ( @AntonMartyniuk ) for more
Anton Martyniuk tweet media
English
8
23
113
5.7K
War_Puppy🐶
War_Puppy🐶@SATechExplored·
@aventer7 I started when Linux had a boot and a root floppy and we used LILO as a boot loader ... 🤣🤣
English
1
0
1
20
Andrew
Andrew@aventer7·
@AntonMartyniuk This never made sense to me. Patterns are derived from refactoring exercises. It exists to abstract the hard-core implementation via the client database driver/api. Why abstract your abstraction? EFCore already supports persistence layer swapping.
English
1
0
0
161
Andrew retweetledi
TracketPacer
TracketPacer@TracketPacer·
as someone who has trouble reading jokes, i fucking hate april fools. & i hate it most when people send serious-sounding emails IN THE OFFICE to their subordinates about something that is definitely in the realm of possibility & would have massive implications for everyone’s work—then turns out it’s a joke. fuck you
English
38
14
417
11.5K
Andrew retweetledi
devleader
devleader@DevLeaderCa·
Software development can be brutal. Projects get scrapped. Features get misunderstood. Design docs can go in circles. Your best work? It might never ship. I spent a good chunk of my career prototyping things, and while many saw success, many were scrapped. Resilience isn’t about ignoring that uncomfortable feeling. It’s about building anyway and channeling our energy into how we can improve. - Got passed over for a promotion? Reflect, recalibrate, and request feedback. - Had your PR criticized unfairly? Breathe, respond calmly, and keep improving for next time - Lost motivation mid-project? Return to the “why” behind the work, not just how or what is being done. Not every project is going to be a home run, and not every day is going to be awesome -- but we have opportunity after opportunity to keep improving. What's YOUR way to get yourself motivated when you're running into a setback?
English
2
1
5
194
trish
trish@_trish_xD·
spent 3 years learning backend. now i know enough to realize how little i actually know. the confidence curve is backwards - beginners think they're experts, experts feel like beginners. kinda humbling. kinda motivating. mostly just... accurate.
English
8
8
143
3.4K
trish
trish@_trish_xD·
A good API doesn’t just return data. It handles rate-limiting, caching, auth, validation, logging, versioning, and graceful failure. If you only return JSON then you're not building an API, you're just exposing a database.
English
32
46
536
16.7K
Andrew
Andrew@aventer7·
@vibeonX69 Ideal world scenario is the "1 is none and 2 is one" approach. SSD as primary working drive with all data being backed up to HDD disk. over NAS or on the device itself.
English
0
0
0
23
Andrew
Andrew@aventer7·
@vibeonX69 SSD failures: - Limited writes to a NAND cell. - Drive can disappear instantly, with no warning signs. -Controller abstraction, even professionals may fail to recover data.
English
1
0
0
20
kritika
kritika@vibeonX69·
Do you prefer SSD or HDD for storage?
kritika tweet media
English
120
7
129
6.4K
Aryan
Aryan@justbyte_·
Developers, which database is beginner friendly?
Aryan tweet media
English
171
12
273
31.8K
Andrew
Andrew@aventer7·
@kmcnam1 Nah, just requires practice. I started practicing Regex in my find bar to select pieces of code.
English
0
0
0
10
sudox
sudox@kmcnam1·
sudox tweet media
ZXX
25
23
183
8.1K
Andrew retweetledi
DHH
DHH@dhh·
We now have a version of Omarchy where everything is working out-of-the-box with the new Dell XPS Panther Lake machine! Webcam, sound, display refresh. Huge thanks to @dell and @intel for this collaboration! Excited to get this released in time for first customer machines 🤘
DHH tweet media
English
138
132
3.3K
131.5K
Andrew retweetledi
trish
trish@_trish_xD·
Top resources for backend/systems learning: - OS Dev Wiki - Beej's Guides - Julia Evans' Blog - Low Level Programming University - Computer Science from the Bottom Up - Crafting Interpreters - The Linux Documentation Project - Writing an OS in Rust - Destroy All Software - Casey Muratori's courses - MIT OpenCourseWare - Compiler Explorer - Computer Systems: A Programmer's Perspective - Hacker News - Lobsters - /r/systems - ByteByteGo - High Scalability - Martin Kleppmann's Blog - Architecture Notes - The Morning Paper - Brendan Gregg's Blog - Dan Luu's Blog - Phil Eaton's Blog - Database Internals (book) - Designing Data-Intensive Applications - Systems We Love talks - Strange Loop conference videos - Papers We Love - CMU Database Group
English
5
70
723
20.9K
Andrew retweetledi
trish
trish@_trish_xD·
C + systems thinking = OS dev C + networking = you build servers from scratch C + memory management = you finally understand every language C++ + game loops = game engine dev Go + concurrency = backend that actually scales Rust + ownership model = no more segfaults, ever JS + DOM = frontend engineer JS + Node = full-stack in a weekend honestly, one language isn't the ceiling. the stack you combine is.
English
22
68
972
53.7K