Browse Source

Merge branch 'release/20200706'

master
Julio Biason 4 years ago
parent
commit
6cbc1e8376
  1. 84
      content/links/20200706.md
  2. 95
      content/links/20200706.pt.md
  3. 2
      content/quotes/anatole-france/index.md
  4. 10
      content/quotes/andre-gide/index.md
  5. 4
      content/quotes/benjamin-franklin/index.md
  6. 3
      content/quotes/george-bernard-shaw/index.md
  7. 9
      content/quotes/gerrit-blaauw/index.md
  8. 11
      content/quotes/helen-rowland/index.md
  9. 12
      content/quotes/joseph-heller/index.md
  10. 11
      content/quotes/ogden-nash/index.md
  11. 4
      content/quotes/random/index.md
  12. 9
      content/quotes/robert-heinlein/index.md
  13. 6
      content/quotes/winston-churchill/index.md

84
content/links/20200706.md

@ -0,0 +1,84 @@
+++
title = "Commented Links for 2020-07-06"
date = 2020-07-06
[taxonomies]
tags = ["links", "clipboard", "ios", "reddit", "linkedin", "cli", "python",
"library", "zola", "pascal", "bash", "tests", "c", "quirks"]
+++
Reddit and LinkedIn Apps Capturing iOS Clipboard, Python Library for Pretty
Terminal Apps, Zola Workflow, Modern Pascal, Bash Test Framework, Dependency
Manager for Python, C Quirks.
<!-- more -->
## [Reddit and Linkedin apps also caught copying and pasting clipboard contents](https://www.privateinternetaccess.com/blog/reddit-and-linkedin-apps-also-caught-copying-and-pasting-clipboard-contents/)
Recently, there was some news about [TikTok capturing clipboard
content](https://twitter.com/jeremyburge/status/1275896482433040386) in a
recent iOS update, which notifies the user on the desktop when something is
copied on the device or vice-versa -- the gist of it is that in the next iOS
version, when you do a copy in one device, it will notify you that something
was added to the clipboard, so you can paste the content in any other Apple
device.
And now the Reddit and LinkedIn apps running on the new iOS also seem to push
the notification.
Since it is the first version of iOS 14, it could be that something is wrong
with the API and it is notifying something that is actually normal, and it
wouldn't be the first time Apple broke something like this in new OS versions.
But, at the same time, we live in an era where every freaking app wants to
capture as much data as it can from the user and you can't deny that it
wouldn't be weird if Reddit (which is aggressively pushing towards using their
app in the mobile website) and LinkedIn wouldn't do something like this.
Honestly, I think the API isn't broken. Apple did that on purpose, to show bad
actors without claiming they are bad actors.
## [Rich is a Python library for rich text and beautiful formatting in the terminal.](https://github.com/willmcgugan/rich)
I'm finding curious how it seems there is a "renaissance" of terminal apps
these days; and, tied with that, the amount of libraries that help developers
build pretty terminal applications.
And here is another one, this time in Python.
## [My Zola Workflow](https://0xc45.com/blog/my-zola-workflow/)
I do use Zola on this blog too (and I'm currently abusing the tagging feature,
but that's a discussion for another time) and here is Jason set up to generate
the pages when pushing content to his github.
There is only one issue I have is that he's using Docker to keep Zola. But
Zola is a Rust application and will produce a single binary and I don't see
why Docker is necessary here (not counting access to Glib, that is). One could
just add the Zola binary to their source content and be happy with it -- I'm
inclined to go with this route, once I stop procrastinating and make an
automated deployment of this blog, which currently is a single shell script.
## [Modern Object Pascal Introduction for Programmers](http://newpascal.org/assets/modern_pascal_introduction.html)
Ah, Pascal. The language must of us, old farts, learnt in the UNI.
I have to admit that I forgot most of the stuff I used (due the lack of use)
and I'm always happy to find these gems talking about some of the languages I
lost contact over the years -- not to mention that I have this idea of writing
an application in Pascal, just for the giggles.
## [Bach Testing Framework](https://bach.sh/)
Bach is a testing framework for Bash scripts.
## [DepHell](https://dephell.readthedocs.io/)
A tool for managing dependencies with Python. Converts from one format to
another and even allow creating a dockerfile for strong isolation.
## [C, what the fuck??!](https://bowero.nl/blog/2019/12/15/c-what-the-fuck/)
I like C and I won't lie. Even with its quirks, it is a fun little language.
But the amount of quirks -- some quite obscure, as shown here -- is really a
pain.

95
content/links/20200706.pt.md

@ -0,0 +1,95 @@
+++
title = "Links Comentados de 2020-07-06"
date = 2020-07-06
[taxonomies]
tags = ["links", "clipboard", "área de transferência", "ios", "reddit",
"linkedin", "terminal", "cli", "python", "biblioteca", "zola", "pascal",
"bash", "testes", "c", "esquisitices"]
+++
Apps do Reddit e LinkedIn Capturando a Área de Transferência do iOS,
Biblioteca Python Para Aplicações no Terminal, Fluxo de Trabalho do Zola,
Pascal Moderno, Framework de Testes para Bash, Gerenciando Dependência com
Python, Esquisitices de C.
<!-- more -->
## [Reddit and Linkedin apps also caught copying and pasting clipboard contents](https://www.privateinternetaccess.com/blog/reddit-and-linkedin-apps-also-caught-copying-and-pasting-clipboard-contents/)
A um tempo atrás, começaram a aparecer notícias que o [TikTok estava
capturando a área de
transferência](https://twitter.com/jeremyburge/status/1275896482433040386)
numa atualização recente do iOS, que notifica o usuário no desktop quando
alguma coisa é copiada para a área de transferência em algum dispositivo e
vice-versa -- o resumo é que a próxima versão do iOS, quando você copia algo
em um dispositivo, o sistema notifica que algo foi adicionado na área de
transferência, e assim você pode colar o conteúdo em qualquer outro
dispositivo da Apple.
E agora as aplicaçòes do Reddit e do LinkedIn rodando nessa nova versão
começaram a mostrar essa notificação.
Já que é a primeira versão do iOS 14, pode ser que tenha alguma coisa errada
com a API e que o sistema está notificando algo que é completamente normal, e
não seria a primeira vez que a Apple cometeu esse tipo de erro em uma versão
nova do iOS. Mas, ao mesmo tempo, nós vivemos numa época onde qualquer
aplicativo quer capturar a maior quantidade de dados possíveis do usuário e
não dá pra negar que não seria estranho se o Reddit (que tem feito uma
campanha agressiva para usar o aplicativo no site mobile deles) e o LinkedIn
estivessem fazendo algo desse tipo.
Honestamente, eu não acho que a API esteja com problemas. A Apple fez isso de
propósito, para mostrar quem é que está abusando dos usuário sem ficar dizendo
que eles estão abusando.
## [Rich is a Python library for rich text and beautiful formatting in the terminal.](https://github.com/willmcgugan/rich)
Me parece curioso que está acontecendo uma certa "renascença" de aplicações
para terminal nesses dias; e, acompanhando, a quantidade de bibliotecas para
ajudar desenvolvedores a fazer aplicações que fiquem mais bonitas.
E aqui tem mais uma dessas bibliotecas, dessa vez em Python.
## [My Zola Workflow](https://0xc45.com/blog/my-zola-workflow/)
Eu uso Zola nesse blog também (e eu estou abusando da feature de tags, mas
essa é uma discussão para outra hora) e aqui Jason mostra a sua configuração
para gerar as páginas quando estiver enviando o conteúdo para o Github.
A única coisa que me incomoda é o uso do Docker para o Zola. Mas Zola é uma
aplicação Rust e usa um único binário e eu não vejo porque Docker seria
necessário aqui (tirando acesso as chamadas da Glib). Você poderia
simplesmente colocar o binário do Zola junto com o conteúdo e ser feliz -- eu
estou pensando em usar essa saída, quando eu parar de procrastinar e gerar o
deploy do meu blog, que hoje é um pequeno shell script.
## [Modern Object Pascal Introduction for Programmers](http://newpascal.org/assets/modern_pascal_introduction.html)
Ah, Pascal. A linguagem que nós, velha guarda, aprendemos na universidade.
Eu tenho que admitir que eu esqueci a maior parte das coisas sobre a linguagem
(por falta de uso) e eu sempre ficou feliz por encontrar essas dicas sobre
alguma das linguagens que eu perdi contato por anos -- sem mencionar que eu
quero escrever uma aplicação em Pascal, só por diversão.
## [Bach Testing Framework](https://bach.sh/)
Bach é um framework de testes para scripts Bash.
## [DepHell](https://dephell.readthedocs.io/)
Uma ferramenta para gerenciar dependências com Python. Converte de um formato
para outro e ainda permite criar dockerfiles para um isolamento maior.
## [C, what the fuck??!](https://bowero.nl/blog/2019/12/15/c-what-the-fuck/)
Eu gosto de C e não vou mentir. Mesmo com suas esquisitices, é uma
linguagenzinha divertida.
Mas a quantidade de esquisitices -- algumas meio obscuras, como mostrado aqui
-- é realmente uma dor.
<!--
vim:spelllang=pt:
-->

2
content/quotes/anatole-france/index.md

@ -7,3 +7,5 @@ tags = ["quotes", "anatole france", "god"]
+++ +++
> "The impotence of God is infinite." > "The impotence of God is infinite."
> "If the path be beautiful, let us not ask where it leads."

10
content/quotes/andre-gide/index.md

@ -0,0 +1,10 @@
+++
title = "André Gide"
weight = 97
[taxonomies]
tags = ["quotes", "andré gide", "hate", "love"]
+++
> "It is better to be hated for what you are than to be loved for what you are
> not."

4
content/quotes/benjamin-franklin/index.md

@ -3,7 +3,9 @@ title = "Benjamin Franklin"
weight = 98 weight = 98
[taxonomies] [taxonomies]
tags = ["quotes", "benjamin franklin", "franklin", "money"] tags = ["quotes", "benjamin franklin", "franklin", "money", "err"]
+++ +++
> "The use of money is all the advantage there is to having money." > "The use of money is all the advantage there is to having money."
> "To err is human, to repent, divine, to persist, devilish."

3
content/quotes/george-bernard-shaw/index.md

@ -4,7 +4,7 @@ weight = 103
[taxonomies] [taxonomies]
tags = ["quotes", "george bernard shaw", "history", "learning", "cliques", tags = ["quotes", "george bernard shaw", "history", "learning", "cliques",
"sex", "government"] "sex", "government", "life"]
+++ +++
> "We learn from history that we learn nothing from history." > "We learn from history that we learn nothing from history."
@ -16,3 +16,4 @@ tags = ["quotes", "george bernard shaw", "history", "learning", "cliques",
> "Democracy is a form of government that substitutes election by the > "Democracy is a form of government that substitutes election by the
> incompetent many for appointment by the corrupt few." > incompetent many for appointment by the corrupt few."
> "Life isn't about finding yourself. Life is about creating yourself."

9
content/quotes/gerrit-blaauw/index.md

@ -0,0 +1,9 @@
+++
title = "Gerrit Blaauw"
weight = 103
[taxonomies]
tags = ["quotes", "gerrit blaauw", "technology"]
+++
> "Established technology tends to persist in the face of new technology."

11
content/quotes/helen-rowland/index.md

@ -0,0 +1,11 @@
+++
title = "Helen Rowland"
weight = 104
[taxonomies]
tags = ["quotes", "helen rowland", "marriage"]
+++
> "Some men feel that the only thing they owe the woman who marries them
> is a grudge."

12
content/quotes/joseph-heller/index.md

@ -0,0 +1,12 @@
+++
title = "Joseph Heller"
weight = 106
[taxonomies]
tags = ["quotes", "joseph heller", "mediocrity"]
+++
> "Some men are born mediocre, some men achieve mediocrity, and some men
> have mediocrity thrust upon them."
-- "Catch-22"

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

@ -0,0 +1,11 @@
+++
title = "Ogden Nash"
weight = 111
[taxonomies]
tags = ["quotes", "ogden nash", "cats"]
+++
> "The trouble with a kitten is that
> When it grows up, it's always a cat"

4
content/quotes/random/index.md

@ -80,3 +80,7 @@ tags = ["quotes", "graffiti", "education", "misery", "distributed systems",
> "If you had better tools, you could more effectively demonstrate your > "If you had better tools, you could more effectively demonstrate your
> total incompetence." > total incompetence."
> "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."

9
content/quotes/robert-heinlein/index.md

@ -0,0 +1,9 @@
+++
title = "Robert Heinlein"
weight = 114
[taxonomies]
tags = ["quotes", "robert heinlein", "children"]
+++
> "Do not handicap your children by making their lives easy."

6
content/quotes/winston-churchill/index.md

@ -3,9 +3,13 @@ title = "Winston Churchill"
weight = 119 weight = 119
[taxonomies] [taxonomies]
tags = ["quotes", "winston churchill", "churchill", "administration"] tags = ["quotes", "winston churchill", "churchill", "administration",
"capitalism", "socialism"]
+++ +++
> "An efficient and a successful administration manifests itself equally in > "An efficient and a successful administration manifests itself equally in
> small as in great matters." > small as in great matters."
> "The inherent vice of capitalism is the unequal sharing of blessings;
> the inherent virtue of socialism is the equal sharing of misery."

Loading…
Cancel
Save