Coding and Cats retweeted
SOLID Interface Segregation Principle example
Keep interfaces highly focused.
In the hotel room example below because we have a few smaller interfaces the rooms have more granular control over what functionality they offer.
#dotnet
Coding and Cats retweeted
don't believe and panic whatever people say today , check twice
#AprilFoolsDay
Coding and Cats retweeted
dotNET blog: .NET 7 will reach End of Support on May 14, 2024 ift.tt/QHX3oYJ
Coding and Cats retweeted
Replying to @codingandcatss
C# 12 in a Nutshell - Joseph Albahari - Reference book
Programming C# 10 - Ian Griffiths -Reference book
Clean Code With C# - Jason Alls
Parallel Programming and Concurrency with C# 10 and .NET 6 - Alvin Ashcraft - Reference book for parallel programming
Pro .NET Memory Management - You can wait for the second edition. The under construction
Refactoring with C# - Matt Eland
ASP .NET Core In Action - Andrew Lock
Coding Clean, Reliable and Safe REST APIs with ASP.NET Core 8 - Anthony Giretti
ASP.NET 8 Best Practices - Jonathan R. Danylko
and all books of Mark J. Price.
I vouch for all the books I listed above. Language independent ones are the subject of another video.
Coding and Cats retweeted
How does Docker work?
The diagram below shows the architecture of Docker and how it works when we run “docker build”, “docker pull” and “docker run”.
There are 3 components in Docker architecture:
🔹 Docker client
The docker client talks to the Docker daemon.
🔹 Docker host
The Docker daemon listens for Docker API requests and manages Docker objects such as images, containers, networks, and volumes.
🔹 Docker registry
A Docker registry stores Docker images. Docker Hub is a public registry that anyone can use.
Let’s take the “docker run” command as an example.
1. Docker pulls the image from the registry.
2. Docker creates a new container.
3. Docker allocates a read-write filesystem to the container.
4. Docker creates a network interface to connect the container to the default network.
5. Docker starts the container.
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
Coding and Cats retweeted
Peeling back the layers of AI! This infographic unravels the complex world from Neural Networks to Deep Learning.
Dive deeper into AI with the insights from @ingliguori's 'The Digital Edge' 👉 bit.ly/3u4pILl
#ArtificialIntelligence #MachineLearning #DeepLearning"
Coding and Cats retweeted
Today I wanted to share something a lot of non-tech people don't understand.
This is a click and follower farm.
This one in particular is in Vietnam and as ugly as it looks, it has more tech and money invested than some start-ups in Silicon Valley.
It only takes one person to control large amounts of phones and do the work of hundreds or even thousands.
It’s solitary and crowded at the same time.
BTW, Tik Tok is one of the most popular platforms for farms like this one.
Coding and Cats retweeted
Encoding vs Encryption vs Tokenization.
Encoding, encryption, and tokenization are three distinct processes that handle data in different ways for various purposes, including data transmission, security, and compliance.
In system designs, we need to select the right approach for handling sensitive information.
🔹 Encoding
Encoding converts data into a different format using a scheme that can be easily reversed. Examples include Base64 encoding, which encodes binary data into ASCII characters, making it easier to transmit data over media that are designed to deal with textual data.
Encoding is not meant for securing data. The encoded data can be easily decoded using the same scheme without the need for a key.
🔹 Encryption
Encryption involves complex algorithms that use keys for transforming data. Encryption can be symmetric (using the same key for encryption and decryption) or asymmetric (using a public key for encryption and a private key for decryption).
Encryption is designed to protect data confidentiality by transforming readable data (plaintext) into an unreadable format (ciphertext) using an algorithm and a secret key. Only those with the correct key can decrypt and access the original data.
🔹 Tokenization
Tokenization is the process of substituting sensitive data with non-sensitive placeholders called tokens. The mapping between the original data and the token is stored securely in a token vault. These tokens can be used in various systems and processes without exposing the original data, reducing the risk of data breaches.
Tokenization is often used for protecting credit card information, personal identification numbers, and other sensitive data. Tokenization is highly secure, as the tokens do not contain any part of the original data and thus cannot be reverse-engineered to reveal the original data. It is particularly useful for compliance with regulations like PCI DSS.
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
Coding and Cats retweeted
AI can be interesting
Prompt : create an image of developer who stuck on bug for so long and still working on the same
#developer
Coding and Cats retweeted
A whole lot of developers don't know how to ask questions properly.
And then they're surprised they don't get help. Help others help you.
When asking a question:
1) Describe the problem
2) Add steps to reproduce (if applicable)
3) Mention what you tried already
4) Provide supporting material (screenshots/recordings/code/etc) for more context
5) Specify what you want to achieve
Here's an example:
"I struggle with this issue [describe issue]. Here're the steps to reproduce [add steps]. So far, I've tried these solutions [show solutions]. Here's a link to my code [introduce link] and a screen recording [add screen recording]. I want my code to do [say what]. Could you help me, please?"
Coding and Cats retweeted
#Angular 17.2 brought the new Signal Queries. They come with an optional required function, which gets rid of the undefined type.
Below, you see the viewChild method in action. It would be the same for viewChildren, contentChild, and contentChildren.
Coding and Cats retweeted
What's new in .NET 9 ⬇
Currently updated as of Preview 1 which was released a few days ago.
Bookmark this page as it will be continuously updated throughout the year with all the #dotnet 9 goodness.
learn.microsoft.com/en-us/do…
Coding and Cats retweeted
Albert Einstein defined insanity as doing the same thing over and over again and expecting different results.
To get better results - try new approaches. Improve your skills! Every day! 🚀
Coding and Cats retweeted
🅰️💥In Angular 17.2, the 'application' builder supports the 'define' option for declaring global identifiers:
@angular #angular #javascript #typescript #AngularAddicts





























