Your Coding Teacher
372 subscribers
10 links
Coding, software engineering & #bitcoin technologies. I'll make you a better thinker, not just a better developer | Ex
Amazon, Senior DevOps @eBay
Download Telegram
If there's a QA team in your company, set yourself the goal that they will not find any issues in your code.
"Sometimes it is the people no one can imagine anything of who do the things no one can imagine." - Alan Turing
"It makes no sense to try to do what we can. We must do what is necessary." - Winston Churchill
3 main replication methods a Single-leader - Write to leader which replicates them to the rest - Read from any node b Multi-leader c Leaderless: Quorum from nodes for reads (k nodes return same values) & writes (k nodes ack the write) Simplicity vs robustness
Some of the best coders I've met were Being a strong mathematician or a general relativity physicist really helps.
Python was designed by Guido van Rossum in 1991, named after Monty Python It is an interpreted, high-level and general-purpose language that emphasizes code readability. Used in: - Backend - Data science - Machine learning - Scripts print "Hello, world!"
In 1972, Donald Chamberlin and Raymond Boyce developed SQL at IBM SQL stands for Structured Query Language, and it was designed around querying databases SQL is widely used in database management today
The 8 fallacies of distributed computing: - The network is reliable - Latency is zero - Bandwidth is infinite - The network is secure - Topology doesn't change - There is one administrator - Transport cost is zero - The network is homogeneous
Design patterns in 1 tweet Visitor: adds new operations to a class without changing it Ex: Extending functionality of framework X, without touching its code. Framework X is a visitor of your extended framework, where it no longer is in control.
Practicality beats purity - The Zen of Python
Look around you, what problem you can solve and help somebody?
Be the catalyst for change
"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it." - Alan J. Perlis
"The competent programmer is fully aware of the limited size of his own skull. He therefore approaches his task with full humility, and avoids clever tricks like the plague." - Edsger Dijkstra
In C++11 unordered_map provides hash tables for keys and values of any type (including custom classes).
GCP vs AWS billing structure - Multiple billing accounts per project VS 1 billing account per aws account - Billing per project VS per sub-account - Policies at account, org, folder or project level VS org and account level
Big O complexities, from worst to best: - N! - c^N - N^c - NlogN - N - sqrt(N) - log^2(N) - logN - logN/log(log(N)) - log(log(N)) - Hyperloglog - Inverse of the Ackermann function - 1
Parameters for client-server architectures: - Blocking vs non-blocking I/o: (1 vs multiple connections per thread) - Single or batch requests - Timeouts: How much to wait? - Retries with exponential backoff & jitter - Circuit breakers: to stop operations likely to fail
Many eyes make all bugs shallow.
Distributed system: collection of independent computers that appears as one to its end users Characteristics: - They operater concurrently - They can fail independently - They do not share a global clock
I'd rather answer 1000 "silly" questions than be blocked for weeks for fear of asking