zulgan
Joined 8 years ago
Joined 8 years ago
TLDR:
* test your core, make sure your core is strong
* don't test your http api
* don't mock
* don't test writing and reading from the database
* don't complicate your code to make it testable
* ... unless you deem fit Briefly stated, the Gell-Mann Amnesia effect is as follows. You open
the newspaper to an article on some subject you know well. In Murray’s
case, physics. In mine, show business. You read the article and see
the journalist has absolutely no understanding of either the facts or
the issues. Often, the article is so wrong it actually presents the
story backward—reversing cause and effect. I call these the “wet
streets cause rain” stories. Paper’s full of them.
In any case, you read with exasperation or amusement the multiple
errors in a story, and then turn the page to national or international
affairs, and read as if the rest of the newspaper was somehow more
accurate about Palestine than the baloney you just read. You turn the
page, and forget what you know.
It is horrible to think the same thing probably exists in politics, and I cant even imagine what goes through in fields I don't understand.I feel this is common in the west, because people externalize internal conflicts, and they have to project their "righteousness" and "judgement" to justify their existence, as there is nothing left in ourselves besides atoms.
* cant find people for it and if you do they come because of the tech not because of the real world problems we are trying to solve.
* the no types thing makes people write tests that test for typos and make refactoring incredibly difficult because you have to fix gazillion pattern matching tests
* the tooling is just horrible, cant jump, because of pattern matching that makes it much more annoying
* phoenix was complete misfit for us as well, so i ended up hating it for no reason
so because of no-tooling and on-refactoring, accidental complexity only grows, and we ended up with much more fragile system with infinite failure domain.
i wrote briefly about why it was chosen at https://eng.rekki.com/kitchen/kitchen.txt and why we moved to go.
that being said, i am sad that this was my first real world experience with elixir, in a project where it was not a good fit, so now i am totally biased against it. when i tried it briefly for few hobby projects it seemed like a quite cool language.
-b
this makes me reflect that almost everything online functions only because of ads, which is quite sad
either ads, or selling PII to companies that do ads
i made my comment more as a joke, shit happens everywhere, and as i said maybe not to this extend.
Maybe not to this extend, but if X (where X is whatever you are thinking about) had similar amount of people using it (especially junior people) this would happen there as well.
googlevideo.com
ytimg.com
youtube.com
youtube-ui.l.google.com
ytimg.l.google.com
ytstatic.l.google.com
googleapis.com
and it works fineespecially now during covid19 lockdown, the garbage produced is intense. and of course our screen time is higher than ever.
For example, if my mother is in a hospital dying from corona, and the system forbids me to see her (despite me taking precautions that I deem fit), I must revolt.
This of course sounds like nonsense, and I am also conflicted, but this is my intuition.