Exactly. I've come to describe k8s as a distributed operating system for servers.
K8s tries to abstract away individual "servers" and gives you an API to interact with all the compute/storage in the cluster.
HN user
Exactly. I've come to describe k8s as a distributed operating system for servers.
K8s tries to abstract away individual "servers" and gives you an API to interact with all the compute/storage in the cluster.
+1 to this. Especially with go, most of the (non-integration) tests I end up writing are behaviour driven tests. I'm not really sure how one can write these sort of tests without interfaces and mocks.
Could you elaborate a little bit more? These days i write a lot of go code and i end up using mock objects for different interfaces to write unit tests. Is there another way to do this?
Care to explain the reasoning behind your "no"?
Ex machina
Thanks for making me chuckle. Good one :)
I'm no expert in crypto. But how would people know that your public key belongs to "you" ?
Do we have evidence that the virus has mutated into something more deadly? Such mutation is clearly not beneficial to the virus. My guess would be that the virus mutated into something with a higher R-0. Read more about the optimal virulence here: https://en.wikipedia.org/wiki/Optimal_virulence
I learned Go as my first statically typed language(Worked on ruby and some python before that). Although I missed the functional goodies from Ruby in Go, I thought that was the price I had to pay for performance and static checking guarantees.. Nevertheless, I enjoyed writing Go and its take on writing concurrent programs. As others have called it, I thought of Go as "modern C with garbage collection and first class concurrency primitives".
All this changed when I started learning Rust, man was I blown away by the language.. I never thought a statically typed language with manual memory management can feel so "scripting language" like.(Sure the borrow checker annoys you sometimes, nothing a `.clone()` can't fix when you are starting out). I truly enjoy writing Rust these days and never have I missed anything major from Ruby.
I'll be damned if I sit here and criticize Ken Thompson and Rob Pike, but I feel like in their quest to make Go "simple" they've perhaps held a little too hard on to their past.
tldr; Go feels a little too verbose and "dated" after learning rust.
Thank you so much. I don't see many of these courses listed on youtube in their official mit ocw website. I wonder why..
Couldn't agree more.. Reading CLRS cover to cover and reading SICP cover to cover are two different things.
I would think so. Can anyone eli5 why statically linking binaries is a big deal? Even light weight container oriented linux distributions like alpine ship with musl. In which scenario would it find it use cases?
So does that mean no statically linked binaries since glibc can't be statically linked?
Yes, but we already know about the rules which govern evolution, its the laws of physics.
Read the Blind Watchmaker and then The Selfish Gene. These books should help you understand the science behind life's existence.(For the uninitiated)
Now the programmer just waits till the stack blows up to get his free drink.
Please can you elaborate on the objective measures of code quality part? Do you mean to use static analysis tools like code climate? Also, if you don't mind can you share some good reads/books which cover these topics? Thanks
Happy new year to all the HNers, no place like this on the internet :) പുതുവത്സര ആശംസകൾ...
Neat! Definitely going to try this out.