@villares@ciberlandia.pt

ciberlandia.pt

Publicações públicas de @villares@ciberlandia.pt

Olha não tenho 100% de certeza, mas acho que a Jadlog mentiu uma entrega no rastreio. Disseram que entregaram uma encomenda pra mim na quinta-feira e não houve entrega, entregaram na verdade hoje (segunda-feira).

Passei um tanto de nervoso, escrevi pra eles, eles responderam que eu tinha que ver com o remetente pra investigarem (a empresa que mandou não estava com atendimento disponível no final de semana…). Vou passar a evitar Jadlog sempre que possível.

O lado bom é que agora fiquei feliz que tenho #stickers #adesivos pra levar pra #PythonBrasil2026 :D

#Python #py5 #PythonIsForArtistsToo #PythonIsForEveryOne #PythonReadingClub #NumPy #Shapely #Trimesh

Image

⤋ Read More

Minha estratégia, pra ver se viro uns votos, é dizer:

“Não precisa achar o PT bom nem nada, mas precisa votar contra os piores bandidos milicianos que já mostraram do que são capazes!”

(Será que isso tem alguma chance de funcionar isso?)

⤋ Read More

PS: in the most recent #py5 versions you can skip the draw_mesh helper I made and just use py5.shape(mesh) , as it cleans coplanar edges by default. I kept the example on that page as is because it uses #numpy so it contributes to the fun of having the image made using the four libraries.

⤋ Read More

The Veritassium guy is one more example that we can be smart in some things and stupid in others.

He can’t get himself to understand that self-driving cars are (IMHO?) a stupid car-centric idea wrong in so many levels, like the narrative that it can be better/safer than human drivers is bogus, and most importantly, we should be investing in improving public transit and making walkable/cyclable cities…

Now, the main point of this all is, it always makes me think, I’m stupid in so many dimensions I don’t even know! Why should I ever open my mouth?

⤋ Read More

# Guto Lacaz e Flavio Motta - Carimbos

Curadoria de Gloria Motta e
Paula Motta, texto crítico de Nina Lacaz

De 12/09/26 até 15/10/26
Abertura dia 12/09, Sábado, das 11h às 17h

Local: Galeria MaPa - Rua Costa, 31 - São Paulo
(travessa da rua Bela Cintra, sentido Higienópolis)

Image

⤋ Read More

# Guto Lacaz e Flavio Motta - Carimbos

Curadoria de Gloria Motta e
Paula Motta
texto crítico de Nina Lacaz
Local: Galeria MaPa
Rua Costa, 31 - galeria
(travessa da rua Bela Cintra,
sentido Higienópolis)
estacionamento na rua Bela Cintra, 341
Abertura dia 12/09, Sábado, das 11h às 17h
de 12/09/26 até 15/10/26

Image

⤋ Read More

“If you only pay attention to how things work, you’ll be screwed when they fail” – Cory Doctorow

Um relato dos meus sentimentos misturados a respeito do #Manjaro e minha simultânea incompetência e competência:

Nas últimas semanas andei “bootando de um snapshot” no meu micro do dia a dia, e hoje finalmente quebrou tudo e não bootava mais. Aí, tome de bootar de um pendrive, e acessar anotações que eu tenho pra fazer o chroot… acho tudo muito difícil pq tenho que decriptar o hd, e montar partições diversas, não manjo exatamente o que estou fazendo, sigo a receita anotada, muitos passos.
Em seguida, reinstalei kernels com pamac -S linuxXX e mhwd-kernel, reinstalar o grub, e usei o mkinitcpio -P pra recriar as “imagens” dos kernels pro boot. Não sei o que resolveu exatamente o problema (tinha tentado esse mkinitcpio -P faz algumas semanas, sem ser bootando do pendrive, e não tinha funcionado)
De um lado sou grato por ter conseguido fazer as coisas funcionarem, grato pelo esforço de muitas pessoas voluntárias fazendo o Manjaro ser teoricamente “mais fácil” pra algumas pessoas, por outro lado acho tudo muito difícil e não consigo imaginar outras pessoas do meu convívio fazendo essas coisas, nem eu consigo entender o que estou fazendo!
Será que não teria como ser mais fácil? Será que um dia vou achar fácil?

⤋ Read More

“If you only pay attention to how things work, you’ll be screwed when they fail” – Cory Doctorow

Um relato dos meus sentimentos misturados a respeito do #Manjaro e minha simultânea incompetência e competência:

Nas últimas semanas andei “bootando de um snapshot” no meu micro do dia a dia, e hoje finalmente quebrou tudo e bootava mais. Aí, tome de bootar de um pendrive, e acessar anotações que eu tenho pra fazer o chroot… acho tudo muito difícil pq tenho que decriptar o hd, e montar partições diversas, não manjo exatamente o que estou fazendo, sigo a receita anotada, muitos passos.
Em seguida, reinstalei kernels com pamac -S linuxXX e mhwd-kernel, reinstalar o grub, e usei o mkinitcpio -P pra recriar as “imagens” dos kernels pro boot. Não sei o que resolveu exatamente o problema (tinha tentado esse mkinitcpio -P faz algumas semanas, sem ser bootando do pendrive, e não tinha funcionado)
De um lado sou grato por ter conseguido fazer as coisas funcionarem, grato pelo esforço de muitas pessoas voluntárias fazendo o Manjaro ser teoricamente “mais fácil” pra algumas pessoas, por outro lado acho tudo muito difícil e não consigo imaginar outras pessoas do meu convívio fazendo essas coisas, nem eu consigo entender o que estou fazendo!
Será que não teria como ser mais fácil? Será que um dia vou achar fácil?

⤋ Read More

“If you only pay attention to how things work, you’ll be screwed when they fail” – Cory Doctorow

Um relato dos meus sentimentos muito misturados a respeito do #Manjaro e minha simultânea incompetência e competência:

Nas últimas semanas tava tendo que “bootar de um snapshot” no meu micro do dia a dia, hoje finalmente quebrou tudo e não conseguia mais bootar. Aí, tome de bootar de um pendrive, e acessar umas anotações que eu tenho pra fazer o chroot… acho tudo muito difícil pq tenho que decriptar o hd, e montar partições diversas, não manjo exatamente o que estou fazendo, sigo a receita anotada, muitos passos.
Em seguida, reinstalar kernels com pamac -S linuxXX e mhwd-kernel, reinstalar o grub, e usar o mkinitcpio -P pra recriar as “imagens” dos kernels usadas no boot. Não sei o que resolveu exatamente o problema (tinha tentado esse mkinitcpio -P faz algumas semanas, sem ser bootando do pendrive, e não tinha funcionado)
De um lado sou grato por ter conseguido fazer as coisas funcionarem, grato pelo esforço de muitas pessoas voluntárias fazendo o Manjaro ser teoricamente “mais fácil” pra algumas pessoas, por outro lado acho tudo muito difícil e não consigo imaginar outras pessoas do meu convívio fazendo essas coisas, nem eu consigo entender o que estou fazendo!
Será que não teria como ser mais fácil?

⤋ Read More

Me sinto muito burro toda vez que tenho que tomar remédios de 8 em 8 horas, tentando fazer as contas pra ver os horários.

Acabo chegando em geral em 8h, 16h e meia-noite ou 6h, 14h e 22h mas sempre me atrapalho muito.

⤋ Read More

Para conseguir pagar a minha viagem pra #PythonBrasil este ano (sendo que eu mal tou conseguindo pagar as minhas contas 😭 ) eu vou tentar vender mais canecas dessas aqui: https://umapenca.com/villares/caneca/l-system-arbusto-286376.html

Fazendo aqui perto de casa eu consigo um preço bem melhor, dá pra vender a caneca por R$80 e ainda ter uma boa margem.

Também tou querendo fazer bottons, que daria pra vender mais baratinho, tipo R$10. Mas tou muito em dúvida sobre quais desenhos as pessoas vão querer…

⤋ Read More

Finalmente entendi o que era uma misteriosa e enorme linha vermelha luminosa na paisagem noturna da cidade, vista da minha janela!

Nesta foto tosca abaixo não fica visível o alto contraste e intensidade da linha, que na realidade, me lembra um sabre de luz vermelho, muito marcado.

A linha distante e imensa que não parecia “encaixar” nas fachadas dos prédios próximos… mas descobri: É um guindaste de obra gigantesco!

Vi esses dias um guindaste com uma linha vermelha iluminada perto da Av. Paulista e aí que caiu a ficha.

#SãoPaulo #PaisagemNoturna

Image

⤋ Read More

For me, the two most “magical” things about np.arrays are:

  • Vectorized/broadcast operations, like multiplying a matrix and a scalar value & adding or subtracting two vectors or two matrices - but also any vectorized function;
  • Masking & array indexing, being able to use arrays to select positions on other arrays;
  • Bonus-third-thing: multi-dimensional arrays in general are quite magical too, if you add slicing to it, good lord, it can be quite daunting.

#Python #npArrays #NumPy

⤋ Read More

The #py5 #LiveCoding feature can be briefly described as a tool that runs your module mode sketch and keeps an eye on changes at the source file, updating the running sketch with changes you save from your editor/IDE.

You can use it with any coding editor, invoking it from the command line, or, if you use #Thonny IDE you could help me test this experimental version of the thonny-py5mode plug-in that adds a Live Coding mode!

https://discourse.processing.org/t/using-py5s-live-coding-feature-on-thonny-ide/48967

#CreativeCoding #Processing #Python #ComputingEducation

⤋ Read More

The #py5 #LiveCoding feature can be briefly described as a tool that runs your module mode sketch and keeps an eye on changes at the source file, updating the running sketch with changes you save from your editor/IDE.

You can use with any coding editor from the command line, or, if you use #Thonny IDE you could help me test this experimental version of the thonny-py5mode plug-in!

https://discourse.processing.org/t/using-py5s-live-coding-feature-on-thonny-ide/48967

#CreativeCoding #Processing #Python #ComputingEducation

⤋ Read More

“Arguably the highest-profile contract cancellation for Flock came when the Los Angeles Police Department decided to non-renew its years-long contract with the company, a decision motivated by a searing internal audit of the company’s technology. The internal report found that, in just two months, Flock’s ALPRs contributed to 161 false stolen-vehicle alerts, resulting in a false-positive rate of 32.3 percent.”

https://futurism.com/future-society/lapd-abandons-flock-contract-false-alarm

⤋ Read More

I think it is safe to argue that a lot of #Python’s success is derived from it being adopted early by end-user programmers, both in and out of the broad scientific community. We got the numeric computation infrastructure, then astronomers, computational linguistics folks, computer vision buffs, pioneering data journalists, the type design crew (Guido’s brother, wink wink), the list goes on and on.

If I were a retired person with time and money to spare I would start a “Python scientific and end-user programmers association” to advocate for the interests of people who use Python not as professional developers. We could fund a well designed “Python census” that would probably show we are more numerous than the professional developers (instead of the stupid JetBrains survey). Also, I hope we wouldn’t be funded by big corps and would be able to criticize them freely.

⤋ Read More

I don’t like using Instagram and I was happy that maybe I could automate posting my daily sketches there using a #python script with the #instagrapi library.
I tried posting a single image as a test yesterday and it worked great in the first attempt, yay! :)
Today my account was blocked as Meta figured my account might have been invaded! :(
So there goes my excitement about automated posting on Instagram…

⤋ Read More

I don’t believe in hell, but if the software you made or that you deploy sends emails to addresses not “validated” to belong to your clients, and then I get relentlessly spammed by messages to your clients wrongly coming to me. I hope that somehow something makes you find out you are a bad person.

⤋ Read More