Browse Source

Squashed commit of the following:

commit 6dfbaf263d
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 18:52:43 2020 -0300

    Commented links for 2020-07-26

commit a096940bbc
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 15:37:00 2020 -0300

    Grace Hopper quote

commit d71f0c0c62
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 15:34:55 2020 -0300

    Nikolai Kingsley quote

commit 3dfc39800b
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 15:33:34 2020 -0300

    Mark Twain quote

commit 580268fd38
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 15:32:58 2020 -0300

    H L Mencken quote

commit f307076b3b
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 15:17:01 2020 -0300

    Whilhelm Reich quote

commit c64993d4ed
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 15:14:43 2020 -0300

    Ogden Nash quote

commit 8a0ec75f89
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 15:12:47 2020 -0300

    Woody Allen quote

commit f738f595a2
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 15:11:12 2020 -0300

    Random quote

commit d2d1693bdd
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 14:33:24 2020 -0300

    H H Williams quote

commit 4ddf311759
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 14:04:21 2020 -0300

    Random quote

commit 91837ab7ec
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 14:00:28 2020 -0300

    Thomas Edison quote

commit 4e5bf5c88d
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 13:47:50 2020 -0300

    Julius Lester quote

commit 8375dca14c
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 13:30:59 2020 -0300

    Carus quote

commit c86eab589b
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 13:14:27 2020 -0300

    Albert Einstein quote

commit c09f1a2053
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 12:38:54 2020 -0300

    Robert Benchley quote

commit 3e03c8f4b7
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 12:22:01 2020 -0300

    Hal Hickman quote

commit cd799c91b2
Author: Julio Biason <julio.biason@pm.me>
Date:   Sun Jul 26 11:52:15 2020 -0300

    Aldous Huxley quote
master
Julio Biason 4 years ago
parent
commit
95e9dff5d7
  1. 94
      content/links/20200726.md
  2. 98
      content/links/20200726.pt.md
  3. 6
      content/quotes/albert-einstein/index.md
  4. 6
      content/quotes/aldous-huxley/index.md
  5. 9
      content/quotes/george-wald/index.md
  6. 9
      content/quotes/grace-hopper/index.md
  7. 9
      content/quotes/h-h-williams/index.md
  8. 5
      content/quotes/h-l-mencken/index.md
  9. 11
      content/quotes/hal-hickman/index.md
  10. 11
      content/quotes/julius-lester/index.md
  11. 4
      content/quotes/mark-twain/index.md
  12. 11
      content/quotes/nikolai-kingsley/index.md
  13. 5
      content/quotes/ogden-nash/index.md
  14. 9
      content/quotes/random/index.md
  15. 11
      content/quotes/robert-benchley/index.md
  16. 10
      content/quotes/thomas-edison/index.md
  17. 9
      content/quotes/titus-lucretius-carus/index.md
  18. 11
      content/quotes/wilhelm-reich/index.md
  19. 10
      content/quotes/woody-allen/index.md

94
content/links/20200726.md

@ -0,0 +1,94 @@
+++
title = "Commented Links for 2020-07-26"
date = 2020-07-26
[taxonomies]
tags = ["links", "datomic", "advice", "developer", "google", "racism",
"logging", "delete", "product manager", "syntax highlight", "highlight",
"rust", "modules"]
+++
Datomic Internals, Developer Advice, Racism@Google, Logging, Code To Delete,
Being a Product Manager, Syntax Highlight, Rust Module System.
<!-- more -->
## [Unofficial guide to Datomic internals](https://tonsky.me/blog/unofficial-guide-to-datomic-internals/)
Database internals are always curious, to say the least. And Datomic is also a
curious database, as everything is immutable.
But understating internals is always good to understand where the database
fits and how to take most of it.
## [Advice to Myself When Starting Out as a Software Developer](https://blog.pragmaticengineer.com/advice-to-myself-when-starting-as-a-software-developer/)
When you're working in the field for too long, it is easy to forget how it was
when you started.
I can't find anything wrong with the tips, but they feel a bit... bland. I
mean, honestly, the tips here are something that should be in every developers
list anyway, beginner or pro.
## [Google Ad Portal Equated “Black Girls” with Porn](https://themarkup.org/google-the-giant/2020/07/23/google-advertising-keywords-black-girls)
Oh, are you saying Google is racist? That's impossible! That's "the algorithm"
fault! Google is good, it gives me free email!
You see how "giving things for free" and "open source" (and then not listening
to users) is purely a marketing plot?
## [Good Logging](https://henrikwarne.com/2020/07/23/good-logging/)
Logging is always important -- personally, I think logging (and good logs) are
more important than debugging -- but knowing _how_ and _what_ to log is the
key for properly dealing with it.
Some of the points are quite common, like screaming logs, although the
solution is not using WARNING or INFO, but actually figuring out how to
properly set the log level for each modules -- and using modules -- feels more
correctly.
Personally, I leave a lot of `debug` messages in some places, as "scars" of a
battle. Maybe some future developer will see that sequence and think twice
before jumping in.
## [Write code that is easy to delete, not easy to extend.](https://programmingisterrible.com/post/139222674273/write-code-that-is-easy-to-delete-not-easy-to)
That's one thing I totally agree: it is better to write code that's easy to
delete than to reuse. But simply going into copying things over and over so
you can delete one thing without breaking the other is not actually the
solution.
I'd just adding abstractions, to the point functions are so simple they exist
without any business logic; these logic pieces are then put together in other
functions, describing _exactly_ what the business rule is:
get_info_from_server, change_info_in_some_way, and so on. If the rule change,
you just delete the abstraction in the middle of the larger function.
"But that still doesn't solve it!" Well, if the business rule changed, then
you can either delete the larger function and write a new one to follows the
new rule or simply drop -- or add -- any of the abstractions.
## [22 Principles for Great Product Managers](https://reeve.blog/blog/principles/)
I didn't even get to half of the list and I was "yup, I had a hard time with a
manager that didn't do that" and "I remember when they did that and it was
awesome".
## [Syntax highlighting is a waste of an information channel](https://buttondown.email/hillelwayne/archive/syntax-highlighting-is-a-waste-of-an-information/)
Once again, "I can get behind the sentiment, but not the implementation".
Surely, having information about types, or some parameter, in the syntax helps
a ton, but the fact is that it depends on situation. At some point, the type
may be more important than the parameter, or vice-versa, or worse, it may give
focus to something that is not important at that time. Putting all that
together, at the same time, would be a nightmare -- or a fruit salad
of colours that would make reading the code and finding what matters completely
impossible.
## [Clear explanation of Rust’s module system](http://www.sheshbabu.com/posts/rust-module-system/)
Rust module system is a bit different from everything else, and the
exploration I did gave me some insights about it -- mostly, exactly what the
post says.

98
content/links/20200726.pt.md

@ -0,0 +1,98 @@
+++
title = "Links Comentados de 2020-07-26"
date = 2020-07-26
[taxonomies]
tags = ["links", "datomic", "dicas", "desenvolvedores", "google", "racismo",
"logging", "logs", "deletar", "gerente de produtos", "syntax highlight",
"highlight", "rust", "módulos"]
+++
Internos do Datomic, Dicas para Desenvolvedores, Racismo@Google, Logs,
Programe Para Deletar, Sendo um Gerente de Produtos, Syntax Highlight, Módulos
em Rust.
<!-- more -->
## [Unofficial guide to Datomic internals](https://tonsky.me/blog/unofficial-guide-to-datomic-internals/)
As partes internas de um banco de dados são sempre curiosas, pra dizer o
mínimo. E Datomic é um banco de dados curioso, onde tudo é imutável.
Mas entender as partes internas é sempre bom para entender onde o banco de
dados se encaixa e como tirar o máximo disso.
## [Advice to Myself When Starting Out as a Software Developer](https://blog.pragmaticengineer.com/advice-to-myself-when-starting-as-a-software-developer/)
Quando se está na área por algum muito tempo, é fácil esquecer como as coisas
eram quando você começou.
E não consigo achar nada de errado com as dicas mostradas aqui, mas eles
parecem tão... basicas. E eu quero dizer que essas dicas são algo que deveria
estar nas listas de todos os desenvolvedores, iniciantes ou veteranos.
## [Google Ad Portal Equated “Black Girls” with Porn](https://themarkup.org/google-the-giant/2020/07/23/google-advertising-keywords-black-girls)
O que? Você está dizendo que o Google é racista? Mas isso é impossível! Isso é
culpa "do algoritmo"! Google é bom, eles me dão email de graça!
Vocês conseguem ver como "dar coisas de graça" e "open source" (e não ouvir os
usuários) não passa de uma jogada de marketing?
## [Good Logging](https://henrikwarne.com/2020/07/23/good-logging/)
Logs são sempre importantes -- pessoalmente, eu acho que logs (e bons logs)
são mais importantes que debugar -- mas saber _como_ e _o que_ logar é a chave
para fazer a coisa certa.
Alguns pontos são bem comuns, como os "logs gritantes", embora a solução não
seria usar `WARNING` e `INFO`, mas descobrir como definir corretamente o nível
de log de cada módulo -- e usar módulos -- parece ser o mais certo.
Pessoalmente, eu deixo uma pilha de mensagens de `debug` em alguns lugares,
como "cicatrizes" de uma batalha. Talvez algum outro desenvolvedor vai ver a
sequência de logs e pensar duas vezes antes de sair trabalhando.
## [Write code that is easy to delete, not easy to extend.](https://programmingisterrible.com/post/139222674273/write-code-that-is-easy-to-delete-not-easy-to)
Essa é uma coisa que eu consigo concordar: é melhor escrever um código que
seja fácil de ser apagado do que reusado. Mas simplesmente ir copiando
diversas partes várias vezes para que seja possível apagar uma sem afetar o
restado do código não parece ser a solução.
Eu simplesmente iria adicionar mais abstrações, ao ponto que as funções se
tornassem tão simples que elas existiriam sem qualquer lógica de negócio;
essas lógicas seriam colocadas juntas em outras funções, descrevendo
_exatamente_ o que a regra de negócio quer faz:
recuperar_informacao_do_servidor, alterar_informacao_de_alguma_forma, e assim
por diante. Se a regra muda, é só remover a abstração no meio da função maior.
"Mas isso ainda não resolve o problema!" Bom, se a regra de negócio mudou,
então você pode apagar a função maior e criar uma nova que segue a nova regra
ou simplesmente apagar -- ou adicionar -- alguma das abstrações.
## [22 Principles for Great Product Managers](https://reeve.blog/blog/principles/)
Eu nem tinha chego na metade da lista e eu já estava "É, eu tive um gerente
que fez minha vida um inferno" e "Eu lembro quando fizeram isso e foi ótimo".
## [Syntax highlighting is a waste of an information channel](https://buttondown.email/hillelwayne/archive/syntax-highlighting-is-a-waste-of-an-information/)
Mais uma vez, "eu concordo com o sentimento, mas não com a implementação". Não
que ter informação sobre tipos, ou de algum parâmetro, na sintaxe não ajude um
bocado, mas o fato é que essa informação varia conforme a situação. Em alguns
pontos, o tipo pode ser mais importante que o parâmetro, ou vice-versa, ou,
pior, pode dar foco em algo que não seja realmente importante no momento. E
tentar colocar tudo isso junto, em algum ponto, se tornaria um pesadelo -- ou
uma salada de frutas de cores que vai fazer a leitura do código e encontrar o
que importa completamente impossível.
## [Clear explanation of Rust’s module system](http://www.sheshbabu.com/posts/rust-module-system/)
O sistema de módulos do Rust é um pouco diferente dos demais, e algumas
explorações que eu fiz me deu algumas dicas sobre como esse sistema funciona
-- mais ou menos o que é dito no post.
<!--
vim:spelllang=pt:
-->

6
content/quotes/albert-einstein/index.md

@ -4,7 +4,7 @@ weight = 97
[taxonomies]
tags = ["quotes", "albert einstein", "einstein", "cleverness", "theory",
"facts", "imagination"]
"facts", "imagination", "stupidity"]
+++
> "Man usually avoids attributing cleverness to somebody else -- unless it
@ -16,3 +16,7 @@ tags = ["quotes", "albert einstein", "einstein", "cleverness", "theory",
> "Life is like riding a bicycle. Too keep your balance, you must keep
> moving."
> "The difference between genius and stupidity is that genius has it's
> limits."

6
content/quotes/aldous-huxley/index.md

@ -3,7 +3,7 @@ title = "Aldous Huxley"
weight = 97
[taxonomies]
tags = ["quotes", "aldous huxley", "dictatorship"]
tags = ["quotes", "aldous huxley", "dictatorship", "experience"]
+++
> "The perfect dictatorship would have the appeareance of a democracy, but
@ -11,3 +11,7 @@ tags = ["quotes", "aldous huxley", "dictatorship"]
> even dream of escaping. It would essentially be a system of slavery where,
> thought consumption and entertainment, the slaves would love their
> servitudes."
> "Experience is not what happens to you; it is what you do with what happens
> to you."

9
content/quotes/george-wald/index.md

@ -0,0 +1,9 @@
+++
title = "George Wald"
weight = 103
[taxonomies]
tags = ["quotes", "george wald", "atoms", "physics"]
+++
> "A physicist is an atom's way of knowing about atoms."

9
content/quotes/grace-hopper/index.md

@ -0,0 +1,9 @@
+++
title = "Grace Hopper"
weight = 103
[taxonomies]
tags = ["quotes", "grace hopper"]
+++
> "The most dangerous phrase in the language is, 'We've always done it this way.'"

9
content/quotes/h-h-williams/index.md

@ -0,0 +1,9 @@
+++
title = "H. H. Williams"
weight = 104
[taxonomies]
tags = ["quotes", "h h williams"]
+++
> "Furious activity is no substitute for understanding."

5
content/quotes/h-l-mencken/index.md

@ -3,7 +3,10 @@ title = "H. L. Mencken"
weight = 104
[taxonomies]
tags = ["quotes", "h l mencken", "conscience"]
tags = ["quotes", "h l mencken", "conscience", "politics"]
+++
> "Conscience is a mother-in-law whose visit never ends."
> "Going into politics is as fatal to a gentleman as going into a bordello
> is fatal to a virgin."

11
content/quotes/hal-hickman/index.md

@ -0,0 +1,11 @@
+++
title = "Hal Hickman"
weight = 104
[taxonomies]
tags = ["quotes", "hal hickman", "opinions"]
+++
> "Opinions are like assholes -- everyone's got one, but nobody wants to look
> at the other guy's."

11
content/quotes/julius-lester/index.md

@ -0,0 +1,11 @@
+++
title = "Julius Lester"
weight = 106
[taxonomies]
tags = ["quotes", "julius lester", "riots"]
+++
> "Black people have never rioted. A riot is what white people think blacks
> are involved in when they burn stores."

4
content/quotes/mark-twain/index.md

@ -4,7 +4,7 @@ weight = 109
[taxonomies]
tags = ["quotes", "mark twain", "annoyance", "examples", "fame", "writing",
"right", "speeches", "heaven", "hell"]
"right", "speeches", "heaven", "hell", "generalizations"]
+++
> "Few things are harder to put up with than the annoyance of a good example."
@ -26,3 +26,5 @@ tags = ["quotes", "mark twain", "annoyance", "examples", "fame", "writing",
> "Go to Heaven for the climate, Hell for the company."
> "Water, taken in moderation cannot hurt anybody."
> "All generalizations are false, including this one."

11
content/quotes/nikolai-kingsley/index.md

@ -0,0 +1,11 @@
+++
title = "Nikolai Kingsley"
weight = 110
[taxonomies]
tags = ["quotes", "nikolai kingsley"]
+++
> "Don't fear the darkness.
> Fear the things that hide in the darkness.
> Then become one of those things, and let them feat you."

5
content/quotes/ogden-nash/index.md

@ -3,9 +3,12 @@ title = "Ogden Nash"
weight = 111
[taxonomies]
tags = ["quotes", "ogden nash", "cats"]
tags = ["quotes", "ogden nash", "cats", "goods"]
+++
> "The trouble with a kitten is that
> When it grows up, it's always a cat"
> "People who have what they want are very fond of telling people who haven't
> what they want that they don't want it."

9
content/quotes/random/index.md

@ -7,7 +7,7 @@ tags = ["quotes", "graffiti", "education", "misery", "distributed systems",
"the day the earth stood still", "atheism", "religion", "following",
"regrets", "money", "perfection", "practice", "nerds", "totalitarianism",
"materialism", "god", "time", "privacy", "guests", "proverbs", "russian",
"incompetence", "insanity", "instagram"]
"incompetence", "insanity", "instagram", "leadership"]
+++
> If you took all the students that felt asleep in class and laid them end to
@ -104,3 +104,10 @@ tags = ["quotes", "graffiti", "education", "misery", "distributed systems",
> "Don’t say condemn it because it can happen to you one day. Condemn it
> because it is wrong."
-- mysticashi@mastodon.social
> "He that would govern others, first should be the master of himself."
> "To err is human.
> To blame someone else for your mistakes is even more human."

11
content/quotes/robert-benchley/index.md

@ -0,0 +1,11 @@
+++
title = "Robert Benchley"
weight = 114
[taxonomies]
tags = ["quotes", "robert benchley", "work"]
+++
> "Anyone can do any amount of work provided it isn't the work he is supposed
> to be doing at the moment."

10
content/quotes/thomas-edison/index.md

@ -0,0 +1,10 @@
+++
title = "Thomas Edison"
weight = 116
[taxonomies]
tags = ["quotes", "thomas edison", "religion"]
+++
> "All Bibles are man-made."

9
content/quotes/titus-lucretius-carus/index.md

@ -0,0 +1,9 @@
+++
title = "Titus Lucretius Carus"
weight = 116
[taxonomies]
tags = ["quotes", "titus lucretius carus", "life"]
+++
> "Life is one long struggle in the dark."

11
content/quotes/wilhelm-reich/index.md

@ -0,0 +1,11 @@
+++
title = "Wilhelm Reich"
weight = 119
[taxonomies]
tags = ["quotes", "whilhelm reich", "hitler", "politics", "politicians"]
+++
> "The fact that Hitler was a political genius unmasks the nature of politics
> in general as no other can."

10
content/quotes/woody-allen/index.md

@ -0,0 +1,10 @@
+++
title = "Woody Allen"
weight = 119
[taxonomies]
tags = ["quotes", "woody allen"]
+++
> "The lion and the calf shall lie down together but the calf won't get much
> sleep."
Loading…
Cancel
Save