From 426c82483b8b88c6ee6fb6495b23a5bef2430a27 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 18:32:36 -0300 Subject: [PATCH 01/16] Josh Billins quote --- content/quotes/josh-billings/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/quotes/josh-billings/index.md b/content/quotes/josh-billings/index.md index 11125ae..7737aef 100644 --- a/content/quotes/josh-billings/index.md +++ b/content/quotes/josh-billings/index.md @@ -9,3 +9,6 @@ tags = ["quotes", "josh billings", "forgiveness", "religion"] > "Confess your sins to the Lord and you will be forgiven; confess them to man > and you will be laughed at." +> "Consider the postage stamp: its usefulness consists in the ability to +> stick to one thing till it gets there." + From 65381708546b55409a6435878af9cdf2e7f8419a Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 18:34:29 -0300 Subject: [PATCH 02/16] Aristotle quote --- content/quotes/aristotle/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/quotes/aristotle/index.md b/content/quotes/aristotle/index.md index 8db4fbb..9b1c5ee 100644 --- a/content/quotes/aristotle/index.md +++ b/content/quotes/aristotle/index.md @@ -3,7 +3,11 @@ title = "Aristotle" weight = 97 [taxonomies] -tags = ["quotes", "aristotle", "madness", "crazyness"] +tags = ["quotes", "aristotle", "madness", "crazyness", "philosophy"] +++ > "No excellent soul is exempt from a mixture of madness." + +> "I have gained this by philosophy: +> that I do without being commanded what others do only from fear of the law." + From cc3fe264ab8f4d77ea6739f84ebcd31067835af1 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 18:58:18 -0300 Subject: [PATCH 03/16] Random quote --- content/quotes/random/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/quotes/random/index.md b/content/quotes/random/index.md index 5d08be1..410a451 100644 --- a/content/quotes/random/index.md +++ b/content/quotes/random/index.md @@ -84,3 +84,5 @@ tags = ["quotes", "graffiti", "education", "misery", "distributed systems", > "Seeing is believing. You wouldn't have seen it if you hadn't believed it." > "The world is an 8000 mile in diameter spherical pile of shit." + +> "Ah say, son, you're about as sharp as a bowlin' ball." From 08e98aaade093f4b93c92e395ceab8c0c36039c9 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 19:05:50 -0300 Subject: [PATCH 04/16] Mike Smith quote --- content/quotes/mike-smith/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 content/quotes/mike-smith/index.md diff --git a/content/quotes/mike-smith/index.md b/content/quotes/mike-smith/index.md new file mode 100644 index 0000000..7568a81 --- /dev/null +++ b/content/quotes/mike-smith/index.md @@ -0,0 +1,10 @@ ++++ +title = "Mike Smith" +weight = 109 + +[taxonomies] +tags = ["quotes", "mike smith", "problems"] ++++ + +> "The problem that we thought was a problem was, indeed, a problem, but +> not the problem we thought was the problem." From d5e220d30357c928b6f4aeaabdb2a1c651d7126f Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 19:13:00 -0300 Subject: [PATCH 05/16] Carl Jung quote --- content/quotes/carl-jung/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/quotes/carl-jung/index.md b/content/quotes/carl-jung/index.md index 99329b0..e4bfb08 100644 --- a/content/quotes/carl-jung/index.md +++ b/content/quotes/carl-jung/index.md @@ -3,9 +3,10 @@ title = "Carl Jung" weight = 99 [taxonomies] -tags = ["quotes", "carl jung", "personalities"] +tags = ["quotes", "carl jung", "personalities", "sanity"] +++ > "The meeting of two personalities is like the contact of two > chemical substances: if there is any reaction, both are transformed." +> "Show me a sane man and I will cure him for you." From 6b621a35ba5de0d2e9afeb3735f4f24f8c35742f Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 19:16:51 -0300 Subject: [PATCH 06/16] Mark Twain quote --- content/quotes/mark-twain/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/quotes/mark-twain/index.md b/content/quotes/mark-twain/index.md index c87e9be..80246b3 100644 --- a/content/quotes/mark-twain/index.md +++ b/content/quotes/mark-twain/index.md @@ -4,7 +4,7 @@ weight = 109 [taxonomies] tags = ["quotes", "mark twain", "annoyance", "examples", "fame", "writing", -"right", "speeches"] +"right", "speeches", "heaven", "hell"] +++ > "Few things are harder to put up with than the annoyance of a good example." @@ -22,3 +22,6 @@ tags = ["quotes", "mark twain", "annoyance", "examples", "fame", "writing", > proof is necessary." > "It usually takes more than three weeks to prepare a good impromptu speech." + +> "Go to Heaven for the climate, Hell for the company." + From a01a2d81a62f20580ae3f177c23d100714a9a194 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 19:18:09 -0300 Subject: [PATCH 07/16] Howard Zinn quote --- content/quotes/howard-zinn/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 content/quotes/howard-zinn/index.md diff --git a/content/quotes/howard-zinn/index.md b/content/quotes/howard-zinn/index.md new file mode 100644 index 0000000..c1b3cd4 --- /dev/null +++ b/content/quotes/howard-zinn/index.md @@ -0,0 +1,10 @@ ++++ +title = "Howard Zinn" +weight = 104 + +[taxonomies] +tags = ["quotes", "howard zinn", "disobedience"] ++++ + +> "Historically, the most terrible things -- war, genocide, and slavery -- +> have resulted not from disobedience, but from obedience." From 4bd9de2ee1ac8a601bc6ee59094cb045e50fcd89 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 19:20:02 -0300 Subject: [PATCH 08/16] Jerry Ogdin quote --- content/quotes/jerry-ogdin/index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 content/quotes/jerry-ogdin/index.md diff --git a/content/quotes/jerry-ogdin/index.md b/content/quotes/jerry-ogdin/index.md new file mode 100644 index 0000000..56ffba1 --- /dev/null +++ b/content/quotes/jerry-ogdin/index.md @@ -0,0 +1,11 @@ ++++ +title = "Jerry Ogdin" +weight = 106 + +[taxonomies] +tags = ["quotes", "jerry ogdin", "coding", "debug"] ++++ + +> "A debugged program is one for which you have not yet found the conditions +> that make it fail." + From c11fbc187495f36fd0c2fb372fbc327826bf9058 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 19:40:52 -0300 Subject: [PATCH 09/16] Clara Barton quote --- content/quotes/clara-barton/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 content/quotes/clara-barton/index.md diff --git a/content/quotes/clara-barton/index.md b/content/quotes/clara-barton/index.md new file mode 100644 index 0000000..a754d89 --- /dev/null +++ b/content/quotes/clara-barton/index.md @@ -0,0 +1,9 @@ ++++ +title = "Clara Barton" +weight = 99 + +[taxonomies] +tags = ["quotes", "clara barton", "memories"] ++++ + +> "I distinctly remember forgetting that." From e5fac5465e7ad5844f339bf6e83779b815f2e5e1 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 19:47:11 -0300 Subject: [PATCH 10/16] Albert Einstein quote --- content/quotes/albert-einstein/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/quotes/albert-einstein/index.md b/content/quotes/albert-einstein/index.md index 08c23e5..4972681 100644 --- a/content/quotes/albert-einstein/index.md +++ b/content/quotes/albert-einstein/index.md @@ -13,3 +13,6 @@ tags = ["quotes", "albert einstein", "einstein", "cleverness", "theory", > "If the facts don't fit the theory, change the facts." > "Imagination is more important than knowledge." + +> "Life is like riding a bicycle. Too keep your balance, you must keep +> moving." From e271cef538ca07fe310ae413d4e5b4e4e8ebf17a Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 20:10:28 -0300 Subject: [PATCH 11/16] MLK quote --- content/quotes/martin-luther-king-jr/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/quotes/martin-luther-king-jr/index.md b/content/quotes/martin-luther-king-jr/index.md index 1610e0e..4349ea3 100644 --- a/content/quotes/martin-luther-king-jr/index.md +++ b/content/quotes/martin-luther-king-jr/index.md @@ -8,3 +8,6 @@ tags = ["quotes", "martin luther king jr", "freedom", "oppression"] > "Freedom is never voluntarily given by the oppressor; it must be demanded by > the oppressed". + +> "The Hottest place in hell is reserved for those who remain neutral in times +> of great moral conflict." From 417315c8020dc9cc7179e1094a464569dddb86c1 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 20:18:38 -0300 Subject: [PATCH 12/16] Andrew S Tanenbaum quote --- content/quotes/andrew-s-tanenbaum/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 content/quotes/andrew-s-tanenbaum/index.md diff --git a/content/quotes/andrew-s-tanenbaum/index.md b/content/quotes/andrew-s-tanenbaum/index.md new file mode 100644 index 0000000..f28e84a --- /dev/null +++ b/content/quotes/andrew-s-tanenbaum/index.md @@ -0,0 +1,9 @@ ++++ +title = "Andrew S. Tanenbaum" +weight = 97 + +[taxonomies] +tags = ["quotes", "andrew s tanenbaum", "standards"] ++++ + +> "The good thing about standards is that there are so many to choose from." From d885174ce882776efa02e80dbf1c7a5adc40926a Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 20:18:59 -0300 Subject: [PATCH 13/16] Random quote --- content/quotes/random/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/quotes/random/index.md b/content/quotes/random/index.md index 410a451..b3a7b62 100644 --- a/content/quotes/random/index.md +++ b/content/quotes/random/index.md @@ -86,3 +86,5 @@ tags = ["quotes", "graffiti", "education", "misery", "distributed systems", > "The world is an 8000 mile in diameter spherical pile of shit." > "Ah say, son, you're about as sharp as a bowlin' ball." + +> "Blame Saint Andreas -- it's all his fault." From 7b1c00185fab1b5e57137a68648c9188f22cf4ed Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 20:31:46 -0300 Subject: [PATCH 14/16] John Galsworthy quote --- content/quotes/john-galsworthy/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 content/quotes/john-galsworthy/index.md diff --git a/content/quotes/john-galsworthy/index.md b/content/quotes/john-galsworthy/index.md new file mode 100644 index 0000000..a259d8b --- /dev/null +++ b/content/quotes/john-galsworthy/index.md @@ -0,0 +1,9 @@ ++++ +title = "John Galsworthy" +weight = 106 + +[taxonomies] +tags = ["quotes", "john galsworthy", "future"] ++++ + +> "If you do not think about the future, you cannot have one." From 3cd915cac7dc34f516f81d34592dad9214205e56 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sat, 11 Jul 2020 20:33:56 -0300 Subject: [PATCH 15/16] Auric Goldfinger quote --- content/quotes/auric-goldfinger/index.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 content/quotes/auric-goldfinger/index.md diff --git a/content/quotes/auric-goldfinger/index.md b/content/quotes/auric-goldfinger/index.md new file mode 100644 index 0000000..f633160 --- /dev/null +++ b/content/quotes/auric-goldfinger/index.md @@ -0,0 +1,14 @@ ++++ +title = "Auric Goldfinger" +weight = 97 + +[taxonomies] +tags = ["quotes", "auric goldfinger"] ++++ + +> "Once is happenstance, +> +> Twice is coincidence, +> +> Three times is enemy action." + From 676598743fa25641504f60ac23f8896545172d68 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sun, 12 Jul 2020 14:54:11 -0300 Subject: [PATCH 16/16] Commented links for 2020-07-12 --- content/links/20200712.md | 69 ++++++++++++++++++++++++++++++++ content/links/20200712.pt.md | 76 ++++++++++++++++++++++++++++++++++++ 2 files changed, 145 insertions(+) create mode 100644 content/links/20200712.md create mode 100644 content/links/20200712.pt.md diff --git a/content/links/20200712.md b/content/links/20200712.md new file mode 100644 index 0000000..4ebfa05 --- /dev/null +++ b/content/links/20200712.md @@ -0,0 +1,69 @@ ++++ +title = "Commented Links for 2020-07-12" +date = 2020-07-12 + +[taxonomies] +tags = ["links", "erlang", "accessibility", "stackoverflow", "tests", +"flexbox", "http", "server", "c"] ++++ + +Erlang by Example, Accessibility, Good StackOverflow Answers, Testing, +Flexbox, HTTP Server in C, Icecream Affecting Cars. + + + +## [Erlang/OTP by Example](http://erlangbyexample.org/) + +Erlang is one of the languages in my "to learn" list and having a "by example" +site really helps -- at least, it helps me a lot with Rust. + +## [The 6 Most Common Accessibility Problems (and How to Fix Them)](https://blog.scottlogic.com/2020/07/02/6-most-common-accessibility-problems.html) + +Accessibility is always import. And knowing that there is something akin to +OWASP (common web application insecurities) that puts a list of common +problems is always good. And, on top of that, having a list of easy to fix +problems is even better. + +## [Parsing city of origin / destination city from a string](https://stackoverflow.com/questions/59956670/parsing-city-of-origin-destination-city-from-a-string) + +Although the answer is quite long and not "Just use X", this is the kind of +answer StackOverflow should aim for: Even if the question seems absurd, there +is a long explanation on how to do it, every step and problems on every step, +till the point of "it's not that simple". + +## [against testing](https://flak.tedunangst.com/post/against-testing) + +Someone took my words about testing and took it waaaay too far. + +Sure, testing everything feels wrong, but you can see things are wrong when +someone says "Tests are very brittle, breaking due to entirely innocuous +changes in the code". Here is the problem: You're a fucking moron if that +happens; you're testing the _implementation_ not the _behavior_. So sure, it +will be brittle 'cause you wrote the whole thing wrong. + +That is one of the points I really don't like the so called "unit test" -- as +in "testing every function". Behaviour is not contained in a function, but it +appears when functions interact. That's why integration tests feel more +"right" to me: We ignore how things were implemented and focus on how the +system should behave. + +So yeah, testing is wrong and you may dislike it, specially when you writing +it wrong in the first place. + +## [Coping with flexbox](https://kgrz.io/coping-with-flexbox.html) + +Flexbox is in all rage these days in web development, mostly 'cause it fix the +damn "Center this vertically and horizontally". And this kind of explanation, +going through the basics, is always welcome. + +## [httpserver.h: Single header library for writing non-blocking HTTP servers in C](https://github.com/jeremycw/httpserver.h) + +One of the weird things about C is that there is a lot you can do with it, +including a single file for building a whole HTTP server. + +## ["My Car does not start when I buy Vanilla Ice Cream", said a Man to General Motors.](https://www.digitalrepublik.com/digital-marketing-newsletter/2015/05/10/my-car-does-not-start-when-i-buy-vanilla-ice-cream-said-a-man-to-general-motors/) + +I'm a sucked for this kind of story: Things don't work because some weird +random, seemingly unrelated event. + +It reminds me of the story "My password doesn't work when I'm standing up". diff --git a/content/links/20200712.pt.md b/content/links/20200712.pt.md new file mode 100644 index 0000000..c6b1021 --- /dev/null +++ b/content/links/20200712.pt.md @@ -0,0 +1,76 @@ ++++ +title = "Links Comentados de 2020-07-12" +date = 2020-07-12 + +[taxonomies] +tags = ["links", "erlang", "acessibilidade", "stackoverflow", "testes", +"flexbox", "c", "http", "servidor"] ++++ + +Erlang por Exemplos, Acessibilidade, Boas Respostas no StackOverflow, Testes, +Flexbox, Servidor HTTP in C, Sorvete Afetando Carros. + + + +## [Erlang/OTP by Example](http://erlangbyexample.org/) + +Erlang esta na minha lista de linguagens que eu quero aprender e ter um "Por +Exemplos" sempre ajuda -- pelo menos, me ajudou um monte com Rust. + +## [The 6 Most Common Accessibility Problems (and How to Fix Them)](https://blog.scottlogic.com/2020/07/02/6-most-common-accessibility-problems.html) + +Acessibilidade é sempre importante. E saber que tem algo parecido com o OWASP +(que mantém uma lista de falhas de segurança de aplicações web) que tem uma +lista de problemas comuns sempre ajuda. E, ainda por cima, tendo uma lista de +problemas simples e fáceis de serem resolvidos é sempre melhor. + +## [Parsing city of origin / destination city from a string](https://stackoverflow.com/questions/59956670/parsing-city-of-origin-destination-city-from-a-string) + +Embora a resposta seja bem longa e não um simples "Use X", esse é o tipo de +resposta que o StackOverflow deveria ter: Mesmo que a pergunta pareça absurda, +tem uma longa explicação de como fazer, cada passo e cada problema com cada +passo até o ponto de "não é assim tão simples". + +## [against testing](https://flak.tedunangst.com/post/against-testing) + +Alguém levou o que eu falei sobre testes muuuito a sério. + +Ok, testar tudo parece errado, mas você pode ver que as coisas estão erradas +quando alguém diz que "Os testes são frágeis, quebrando devido a alterações +completamente inócuas no código". Aqui é onde está o problema: Você é um +idiota se isso acontece; você deveria estar testando _comportamentos_, não +implementações. É óbvio que o teste vai ser frágil porque você está testando a +coisa de forma errada. + +Isso é um dos pontos que eu realmente não gosto dos chamados "testes de +unitários" -- no sentido de "testar cada função". Comportamento não está +contido em apenas uma função, mas surge quando as funções interagem. É por +isso que testes de integração parecem mais "corretos" pra mim: Nós ignoramos +como as coisas foram implementadas e focamos em como o sistema deve se +comportar. + +Então sim, testar está errado e você não gosta disso, especialmente quando +você está escrevendo os testes da forma errada pra inicio de conversa. + +## [Coping with flexbox](https://kgrz.io/coping-with-flexbox.html) + +Flexbox é a nova coisa legal em desenvolvimento web atualmente, principalmente +porque corrige o maldito problema de "centralizar o conteúdo verticalmente e +horizontalmente". E esse tipo de explicação, que começa no básico, sempre +ajuda. + +## [httpserver.h: Single header library for writing non-blocking HTTP servers in C](https://github.com/jeremycw/httpserver.h) + +Uma coisas coisas estranhas de C é que você pode fazer basicamente tudo, +incluindo escrever um servidor HTTP não blocando em apenas um arquivo. + +## ["My Car does not start when I buy Vanilla Ice Cream", said a Man to General Motors.](https://www.digitalrepublik.com/digital-marketing-newsletter/2015/05/10/my-car-does-not-start-when-i-buy-vanilla-ice-cream-said-a-man-to-general-motors/) + +Eu adoro esse tipo de história: Coisas que não funcionam porque algo +completamente randômico e aparentemente não relacionado aconteceu. + +Me lembra da história de "Minha senha não funciona quando eu fico em pé". + +