wario (@ZVbytes) profile picture

Go | JS

Joined September 2015
Photo by wario (@ZVbytes)Photo by wario (@ZVbytes)Photo by wario (@ZVbytes)Photo by wario (@ZVbytes)Photo by wario (@ZVbytes)Photo by wario (@ZVbytes)Photo by wario (@ZVbytes)Photo by wario (@ZVbytes)
๐Ÿš€ Just launched my new @FrontendMasters course: Complete Go for Professional Developers - 8 hours of real-world content - Uses Postgres, psql, Postman, migration libraries + more - Actually write unit + integration tests Learn Go by building a real application from scratch! Create scalable APIs, connect to Postgres with Docker, implement authentication, and build a production-ready backend with Goโ€™s most powerful features. This is the most complete course i've ever created, and I truly think its the best way to start if you want to build with Go. ๐Ÿซก link below - I hope you all enjoy
34
46
5
941
73,224
wario retweeted
FFmpeg makes extensive use of hand-written assembly code for huge (10-50x) speed increases and so we are providing assembly lessons to teach a new generation of assembly language programmers. Learn more here: github.com/FFmpeg/asm-lessonโ€ฆ
91
1,142
113
8,528
461,733
Doom now runs in @typescript types. What a journey this one's been.
91
434
236
3,023
431,893
๐Ÿš€ useReducer > useState? When managing complex state logic in React, useReducer is your best friend! ๐Ÿ’ช โœ… Better for state transitions โœ… Helps with performance optimizations โœ… Keeps logic structured & scalable Use it when useState gets messy! ๐Ÿ”ฅ #React #useReducer
2
3
589
The next version of Claude Engineer will come as a VS Code extension, get ready! ๐Ÿ”ฅ It has replaced all other AI tools for me. It's sooo good. Came up with lots of new ideas to improve coding capabilities.
72
37
3
793
71,903
i have 10,000 hours building todo lists i think i am finally ready for this job market
70
45
4
1,363
54,585
wario retweeted
Ain't no way... #F1 #CanadianGP
126
976
251
15,701
910,735
Once upon a time.
21
89
5
2,365
39,192
๐Ÿ”ฅ Angular v18 is now available Excited to share the next milestone in the evolution of Angular: โ€ฃ Experimental zoneless โ€ฃ New home for developers on Angular.dev โ€ฃ Material 3, deferrable views, built-in control flow are now stable โ€ฃ More! blog.angular.io/angular-v18-โ€ฆ
41
334
56
944
155,600
Cookies vs sessions for managing user session Cookies and sessions are both used to carry user login credentials and permissions over HTTP requests. ๐Ÿ”น Cookies - Cookies typically have size limits of 4KB - Used to store user login credentials or permissions - Sent with each subsequent request by logged in user - Users can disable cookies in their browser, which may log them out ๐Ÿ”น Sessions - Created and stored on the server-side - Server generates a unique session ID - Session ID links to a specific user session - Session ID can be sent back to client in a cookie, URL parameters, or HTTP headers - Can hold more data than cookies - Offer more security than cookies because session data is not directly accessed by the client โ€“ Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/496keA7
132
3
561
27,274
๐—ง๐—ต๐—ฒ ๐——๐—ผ๐—บ๐—ฎ๐—ถ๐—ป ๐—น๐—ฎ๐˜†๐—ฒ๐—ฟ ๐—ณ๐—ผ๐—น๐—ฑ๐—ฒ๐—ฟ ๐˜€๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ ๐˜€๐—ต๐—ผ๐˜‚๐—น๐—ฑ ๐—ฒ๐˜…๐—ฝ๐—ฟ๐—ฒ๐˜€๐˜€ ๐—ถ๐—ป๐˜๐—ฒ๐—ป๐˜. This is one of the essential concepts of screaming architecture. The Domain sits at the core of Clean Architecture. It's where you define your entities and the most important business logic. A few weeks ago, I was looking at a project I built many moons ago. The folder structure in the Domain layer bothered me. It was grouping classes by technical concerns instead of features. The symptoms of this are folders like: - Entities - Enumerations - Exceptions - Repositories - ValueObjects I'm sure you've done (or seen) this at some point. What's the problem with grouping by technical concerns? This folder structure doesn't tell you anything about the Domain. So, I reorganized the folders by grouping them by feature (or vertical slice). When you do this, domain concepts start appearing in the folder structure. The benefits of the new approach are: - Better cohesion - High coupling for a single feature - Low coupling between unrelated features If you've heard of Vertical Slice Architecture, this idea is similar. ๐—ฃ.๐—ฆ. If you liked this, you will love The .NET Weekly newsletter. Join 49,000+ engineers to improve your .NET and software architecture skills. Subscribe here โ†’ milanjovanovic.tech/?utm_souโ€ฆ What do you think about this approach?
1
29
160
9,493
๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐—ฉ๐—ถ๐˜€๐˜‚๐—ฎ๐—น๐—ถ๐˜‡๐—ฒ ๐—ฆ๐—ผ๐—ณ๐˜๐˜„๐—ฎ๐—ฟ๐—ฒ ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ? When developing software, it is important to have a clear plan and understand how different system components will work together. Documentation and diagramming help us to achieve this by providing a ๐˜ƒ๐—ถ๐˜€๐˜‚๐—ฎ๐—น ๐—ฟ๐—ฒ๐—ฝ๐—ฟ๐—ฒ๐˜€๐—ฒ๐—ป๐˜๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ผ๐—ณ ๐˜๐—ต๐—ฒ ๐˜€๐—ผ๐—ณ๐˜๐˜„๐—ฎ๐—ฟ๐—ฒ ๐—ฎ๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ. This enables different stakeholders, like developers, testers, and clients, to have a common understanding of the software design. One of the preferred ways to visualize the software architecture is ๐˜๐—ต๐—ฒ ๐—–๐Ÿฐ ๐—บ๐—ผ๐—ฑ๐—ฒ๐—น, developed by @simonbrown, a software architect and author. The C4 model examines a software system's static structures, containers, components, and code. And individuals use the software programs we create. The C4 model consists of ๐—ณ๐—ผ๐˜‚๐—ฟ ๐—น๐—ฒ๐˜ƒ๐—ฒ๐—น๐˜€ ๐—ผ๐—ณ ๐—ฎ๐—ฏ๐˜€๐˜๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ผ๐—ป, which are represented by four different types of diagrams: ๐Ÿ”น ๐—–๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ (๐—Ÿ๐—ฒ๐˜ƒ๐—ฒ๐—น ๐Ÿญ): System Context diagram - This diagram shows the system in context, providing an overview of the system and its environment. The system here has the highest level of abstraction, and it shows the system under consideration as a box in the center, surrounded by its users and other systems that interact with it. These diagrams help provide a big-picture overview. ๐Ÿ”น ๐—–๐—ผ๐—ป๐˜๐—ฎ๐—ถ๐—ป๐—ฒ๐—ฟ๐˜€ (๐—Ÿ๐—ฒ๐˜ƒ๐—ฒ๐—น ๐Ÿฎ): Container diagram - This diagram shows the high-level components or services within the system and how they are connected. It shows each component as a box with its internal details abstracted away, separately deployable or executable. Containers can represent APIs, databases, file systems, etc. ๐Ÿ”น ๐—–๐—ผ๐—บ๐—ฝ๐—ผ๐—ป๐—ฒ๐—ป๐˜๐˜€ (๐—Ÿ๐—ฒ๐˜ƒ๐—ฒ๐—น ๐Ÿฏ): Component diagram - This diagram shows the internal components of a container and how they interact with each other. Here, we can visualize abstractions in our codebase. For example, C # is an implementation class behind some interface. ๐Ÿ”น ๐—–๐—ผ๐—ฑ๐—ฒ (๐—Ÿ๐—ฒ๐˜ƒ๐—ฒ๐—น ๐Ÿฐ): Code diagram - This diagram shows the detailed structure of a single component or module, including its classes and their relationships. Most teams should, at the very least, produce and keep up-to-date ๐—ฐ๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ ๐—ฎ๐—ป๐—ฑ ๐—ฐ๐—ผ๐—ป๐˜๐—ฎ๐—ถ๐—ป๐—ฒ๐—ฟ ๐—ฑ๐—ถ๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ๐˜€ for their software system. If they are helpful, component diagrams can be made, but you'll need to figure out how to automate changes to these diagrams for long-term documentation needs. Image source: c4model #softwarearchitecture
6
152
1
675
64,482
Do you want to learn Domain-Driven Design? Here are 21 free resources to fast-track your journey. ๐Ÿ”ฅ 1. What is an Entity - youtu.be/00tCda35Bvk 2. What is a Value Object - youtu.be/P5CRea21R2E 3. What is an Aggregate Root - youtu.be/0D3EB2jvQ44 4. Domain validation approaches - youtu.be/KgfzM0QWHrQ 5. Domain Events pattern - youtu.be/BimfDeDV4yU 6. The DDD Trilemma - youtu.be/eC7GMGIR4Gw 7. Repository pattern - youtu.be/h4KIngWVpfU 8. Specification pattern - youtu.be/rdY5ElleWKY 9. Unit of Work pattern - youtu.be/vN_j1Bs0ALU 10. Design a Rich Domain Model - youtu.be/1Lcr2c3MVF4 11. Smart Enums in C# - youtu.be/v6cYTcEfZ8A 12. Snapshot Pattern - youtu.be/HhZ4DtON404 13. Design a Rich Domain Model V2 - youtu.be/fO2T5tRu3DE 14. Strongly Typed IDs - youtu.be/LdrMdIabE1o 15. Fix Anemic Domain Model - youtu.be/6gwIDiUk2h4 16. Map DDD to Database - youtu.be/IlXnIe6p_Uk 17. Incomplete Aggregates? - youtu.be/cCnZJE0wEjY 18. Double Dispatch Pattern - youtu.be/wi_wsw5Gp6Q 19. Fix Broken Aggregates - youtu.be/BY8DHD6LitU 20. Organizing Domain Folders - youtu.be/R-XODYF2iBQ 21. DDD - Getting started - youtu.be/q74saF54w8I Hope these are helpful. Have an awesome day! --- P.S. Want to become a better software engineer? Each week, I send one piece of practical advice about .NET and software architecture. Join 49,000+ engineers: milanjovanovic.tech/?utm_souโ€ฆ
2
56
238
14,838
This is what caused the chaotic and anticlimactic end to the event in Nyahururu. @THEJERE rightly left the line but somehow Boss didnโ€™t. He then โ€˜demandedโ€™ an official re-run. How now when this was technically a loss?
24
53
25
206
97,623
Subaru boiz amejaribu kukimbisa vijana ya Golf akaua radiator, Wueh!
28
51
14
382
46,224
Karibu @Rupal_Racing waonyeshe BossTTRS bird of kangethe ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚ Subaru juu ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ With a difference of 0.04 seconds gaddemit ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ Send it if it dies it dies ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ Mc wa magari โ€“ at Nairobi, Kenya
20
71
9
359
34,942
Kamakosa kamefanyika.... Our very own Audi TT RS by aminzo takes it... Over and out.... Blessed week ahead Mc wa magari โ€“ at Nairobi, Kenya
69
121
122
482
185,867
๐Ÿ—ฃ๏ธ Lunin: โ€œWe had to take a risk with a player in the penalty shootout and we chose Bernardo Silva.โ€
318
4,275
414
103,602
6,592,117