diff --git a/content/links/20200706.md b/content/links/20200706.md new file mode 100644 index 0000000..6a8b105 --- /dev/null +++ b/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. + + + +## [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. diff --git a/content/links/20200706.pt.md b/content/links/20200706.pt.md new file mode 100644 index 0000000..c7c9533 --- /dev/null +++ b/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. + + + +## [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. + + diff --git a/content/quotes/anatole-france/index.md b/content/quotes/anatole-france/index.md index 77e367a..efd278d 100644 --- a/content/quotes/anatole-france/index.md +++ b/content/quotes/anatole-france/index.md @@ -7,3 +7,5 @@ tags = ["quotes", "anatole france", "god"] +++ > "The impotence of God is infinite." + +> "If the path be beautiful, let us not ask where it leads." diff --git a/content/quotes/andre-gide/index.md b/content/quotes/andre-gide/index.md new file mode 100644 index 0000000..a6bb43b --- /dev/null +++ b/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." diff --git a/content/quotes/benjamin-franklin/index.md b/content/quotes/benjamin-franklin/index.md index 253d61b..ae4094f 100644 --- a/content/quotes/benjamin-franklin/index.md +++ b/content/quotes/benjamin-franklin/index.md @@ -3,7 +3,9 @@ title = "Benjamin Franklin" weight = 98 [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." + +> "To err is human, to repent, divine, to persist, devilish." diff --git a/content/quotes/george-bernard-shaw/index.md b/content/quotes/george-bernard-shaw/index.md index c3facd1..699e884 100644 --- a/content/quotes/george-bernard-shaw/index.md +++ b/content/quotes/george-bernard-shaw/index.md @@ -4,7 +4,7 @@ weight = 103 [taxonomies] tags = ["quotes", "george bernard shaw", "history", "learning", "cliques", -"sex", "government"] +"sex", "government", "life"] +++ > "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 > incompetent many for appointment by the corrupt few." +> "Life isn't about finding yourself. Life is about creating yourself." diff --git a/content/quotes/gerrit-blaauw/index.md b/content/quotes/gerrit-blaauw/index.md new file mode 100644 index 0000000..46731e4 --- /dev/null +++ b/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." diff --git a/content/quotes/helen-rowland/index.md b/content/quotes/helen-rowland/index.md new file mode 100644 index 0000000..9b9a6e9 --- /dev/null +++ b/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." + diff --git a/content/quotes/joseph-heller/index.md b/content/quotes/joseph-heller/index.md new file mode 100644 index 0000000..257afdf --- /dev/null +++ b/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" + diff --git a/content/quotes/ogden-nash/index.md b/content/quotes/ogden-nash/index.md new file mode 100644 index 0000000..c943b86 --- /dev/null +++ b/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" + diff --git a/content/quotes/random/index.md b/content/quotes/random/index.md index 5326195..5d08be1 100644 --- a/content/quotes/random/index.md +++ b/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 > 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." diff --git a/content/quotes/robert-heinlein/index.md b/content/quotes/robert-heinlein/index.md new file mode 100644 index 0000000..5137bcb --- /dev/null +++ b/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." diff --git a/content/quotes/winston-churchill/index.md b/content/quotes/winston-churchill/index.md index a77f5ae..a881b2e 100644 --- a/content/quotes/winston-churchill/index.md +++ b/content/quotes/winston-churchill/index.md @@ -3,9 +3,13 @@ title = "Winston Churchill" weight = 119 [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 > 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." +