The source content for blog.juliobiason.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
3.2 KiB

Squashed commit of the following: commit 676598743fa25641504f60ac23f8896545172d68 Author: Julio Biason <julio.biason@pm.me> Date: Sun Jul 12 14:54:11 2020 -0300 Commented links for 2020-07-12 commit 3cd915cac7dc34f516f81d34592dad9214205e56 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 20:33:56 2020 -0300 Auric Goldfinger quote commit 7b1c00185fab1b5e57137a68648c9188f22cf4ed Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 20:31:46 2020 -0300 John Galsworthy quote commit d885174ce882776efa02e80dbf1c7a5adc40926a Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 20:18:59 2020 -0300 Random quote commit 417315c8020dc9cc7179e1094a464569dddb86c1 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 20:18:38 2020 -0300 Andrew S Tanenbaum quote commit e271cef538ca07fe310ae413d4e5b4e4e8ebf17a Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 20:10:28 2020 -0300 MLK quote commit e5fac5465e7ad5844f339bf6e83779b815f2e5e1 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 19:47:11 2020 -0300 Albert Einstein quote commit c11fbc187495f36fd0c2fb372fbc327826bf9058 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 19:40:52 2020 -0300 Clara Barton quote commit 4bd9de2ee1ac8a601bc6ee59094cb045e50fcd89 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 19:20:02 2020 -0300 Jerry Ogdin quote commit a01a2d81a62f20580ae3f177c23d100714a9a194 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 19:18:09 2020 -0300 Howard Zinn quote commit 6b621a35ba5de0d2e9afeb3735f4f24f8c35742f Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 19:16:51 2020 -0300 Mark Twain quote commit d5e220d30357c928b6f4aeaabdb2a1c651d7126f Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 19:13:00 2020 -0300 Carl Jung quote commit 08e98aaade093f4b93c92e395ceab8c0c36039c9 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 19:05:50 2020 -0300 Mike Smith quote commit cc3fe264ab8f4d77ea6739f84ebcd31067835af1 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 18:58:18 2020 -0300 Random quote commit 65381708546b55409a6435878af9cdf2e7f8419a Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 18:34:29 2020 -0300 Aristotle quote commit 426c82483b8b88c6ee6fb6495b23a5bef2430a27 Author: Julio Biason <julio.biason@pm.me> Date: Sat Jul 11 18:32:36 2020 -0300 Josh Billins quote
4 years ago
+++
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.
<!-- more -->
## [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".