Your Coding Teacher
371 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
Some important root subdirectories in a tweet - /media: mount removable media - /mnt: user temp mounting - /sys: contains device & system info - /sbin: system executables - /tmp: temporary files - /usr: the bulk of the Linux system - /var: programs save runtime info here
What happens when you run ls in your terminal? The shell calls fork() to create a copy of the shell process This copy calls exec(ls) to run ls This is how new processes are created fork and exec are system calls - ways for your programs to interact with the kernel
90% of programming is saying WTF!!!
To be a developer you have to be able to endure long and intense periods of feeling stupid on a consistent basis.
"In my experience, one of the most significant problems in software development is assuming. If you assume a method will passed the right parameter value, the method will fail." - Paul M. Duvall
"Good" today is usually better than "perfect" tomorrow
3 JavaScript interview questions What's the difference between == and ===? How to evaluate multiple expressions in one line? What is Functional Programming and what are the features of JavaScript that makes it a candidate as a functional language?
"How do we convince people that in programming simplicity and clarity β€”in short: what mathematicians call "elegance"β€” are not a dispensable luxury, but a crucial matter that decides between success and failure?" - Edsger W. Dijkstra
Tip for interviews in Python: To iterate over a list and also know the index of the current item, use enumerate for idx, val in enumerate(my_array): do_something(idx) ... You can supply a second parameter to enumerate to specify the number from (defaults to zero)
Lines of code are only worth counting when you're deleting them
GCP vs AWS terminology - Both use Region as a group of data centers close to one another - Zone vs Availability Zone: individual data centers. Several per region - Points Of Presence: Both use them to provide CDN services in a similar way
Even "simple" things, like synchronizing clocks in different nodes in a distributed system, is more complex that it seems. Distributed systems are the quantum mechanics of software design.
Science is a differential equation Religion is a boundary condition - Alan Turing
I know a joke about UDP but I don't know if you would get it
"The code you write makes you a programmer. The code you delete makes you a good one. The code you don't have to write makes you a great one." - Mario Fusco
"Great things are not done by impulse, but by a series of small things brought together." - Vincent van Gogh
JavaScript has a single type for numbers, represented as 64-bit floating point Integers are also represented using this same type
Without putting the things you read into action in a real project, you will forget soon.
Storage Transfer Service (STS), a service that imports data to a GCS bucket from: - An AWS S3 bucket - A resource that can be accessed through HTTP(S) - Another GCS bucket For huge amounts of data consider Data Transfer Appliance: ship your data to a Google facility.
Binary search trees (height h, N nodes): - Insert and contains operations are O(h) - Elements in order: find min/max in O(h) - Efficient range queries Sorted inputs make them look like a linked list o(h) -> O(N) Balanced BST: AVL, red-black,... o(h) -> log(N)