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
The assembly programming language was created in 1949. It was widely used in the EDSAC calculator, invented by Maurice Wilkes at University of Cambridge. This calculator could solve differential equations and discovered a 79 digit prime number (the largest known the time)
Better to become a programmer today, maybe a bad one, than staying in tutorial hell. Change your mindset from learner to programmer. Being a programmer implies being a learner.
In UNIX, a zombie is a process whose execution is completed but it still has an entry in the process table. This usually happens for child processes. Zombies can exhaust all available PIDs on the system preventing new process from being forked.
"If we wish to count lines of code, we should not regard them as lines produced but as lines spent." - Edsger Dijkstra
In the last month: What's the ratio between hours spend watching tutorials and reading articles and hours spend writing code?
Some JavaScript testing tools - Frameworks-> Mocha, Jest, Jasmine - Assertion-> Chai - Code coverage-> Istanbul - Spies, mocks, stubs-> Sinon, testdouble - BBD-> cucumber
Agile processes promote sustainable development The sponsors, developers, and users should be able to maintain a constant pace indefinitely agilemanifesto .org
Confidence comes from experience. Experience comes from doing. If you do, you'll make mistakes and sometimes "fail". Now you see mistakes and failures from what they are: part of the process. If you're making mistakes, it's a sign you're moving.
Some people, when confronted with a problem, think "I know, I'll use floating point." Now they have 1.99999999995 problems.
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
Threads All threads within a process share the same address space, file descriptors, and process-related attributes, but each executes in its own stack Since they can access the same memory, they need synchronization mechanisms, like mutexes or semaphores
An operating system is a program that controls the hardware of a computer and provides an environment for programs to run. Ex: Linux is the kernel used by the GNU operating system.
3 Random coding tips Learn programming foundations Learn when to ask for help Clarify requirements before starting
What's the difference between ++a and a++? - a++ evaluates to a and then increases a by 1 - ++a increases a by 1 and then evaluates to a Which is more efficient? a++ creates a temporary object to store the "old" value before increasing it Therefore, ++a
"Humans are destined to be party animals, and technology will follow." - Linus Torvalds
There are no "simple" bugs.
+[-[<<[+[--->]-[<<<]]]>>>-]>-.---.>..>.<<<<-.<+.>>>>>.>.<<.<-. That's hello world. In brainfuck.
There is nothing as permanent as a quick fix
Will we see the day where software is legistated? Politicians deciding: - What coding languages we can use - What platforms to write on - What courses we have to take - What books to read
You: "I just coded a real masterpiece! Only I and God two know how it works." Also you, 3 months later: "Now only God knows."