@villares@ciberlandia.pt

ciberlandia.pt

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

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

Fancy a 15% discount on my #Domestika #Python + #CreativeCoding course?

A_B_A_VILLARES-2026
Valid up to March 13th

https://www.domestika.org/en/courses/4307-designing-with-python-programming-for-a-visual-context/a_b_a_villares

(Beware Domestika also uses dark patterns like a very low priced offering that will trigger a “yearly subscription” after a month if you don’t read the small print and cancel… not nice)

⤋ Read More

Cheers to all #Python #CreativeCoding people here using #Linux…

Would you like to test a script by our friend and co-maintainer of thonny-py5mode GoToLoop that installs #ThonnyIDE and #py5 on your machine to see how it goes and help improve it?

https://Gist.GitHubUserContent.com/GoToLoop/246a31d437aaa8c6eadb7f7186544e0f/raw/thonny-installer.bash

I wonder if it would be bad form to ask students to run something like this:

curl -fsSL https://Gist.GitHubUserContent.com/GoToLoop/246a31d437aaa8c6eadb7f7186544e0f/raw/thonny-installer.bash -o thonny-installer.bash && chmod +x thonny-installer.bash && ./thonny-installer.bash

(because, you know, it trains them to run potentially dangerous stuff in other occasions)

⤋ Read More

# Ateliê aberto de desenho com programação

Quintas-feiras 14:30 às 16:30 no #SescAvPaulista - 12 participantes, a partir de 16 anos. Distribuição gratuita de senhas 30 minutos antes.

Nesta atividade aberta, o público pode interagir com código de maneira lúdica e criativa, gerando desenhos a partir da modificação de programas em Python.

A cada encontro vamos explorar diferentes temas da chamada “#programaçãoCriativa”, estudando obras, exemplos visuais, e ideias da computação que inspiraram inúmeros artistas e programadores ao longo das décadas.

Fevereiro

5 de fevereiro - Módulos geométricos

12 de fevereiro - Animações em loop

19 de fevereiro - Imagens reticuladas

26 de fevereiro - Texturas algorítmicas

Março

5 de março - Recortes e colagens digitais

12 de março - Explorações combinatórias

19 de março - Malhas tridimensionais

26 de março - Tipografia experimental

Abril

2 de abril - Simulações físicas

9 de abril - Plantas e fractais

16 de abril - Autômatos celulares

23 de abril - Desenhos interativos

⤋ Read More

# Ateliê aberto de desenho com programação

Quintas-feiras 14:30 às 17:00 no #SescAvPaulista - 12 participantes, a partir de 16 anos. Distribuição gratuita de senhas 30 minutos antes.

Nesta atividade aberta, o público pode interagir com código de maneira lúdica e criativa, gerando desenhos a partir da modificação de programas em Python.

A cada encontro vamos explorar diferentes temas da chamada “#programaçãoCriativa”, estudando obras, exemplos visuais, e ideias da computação que inspiraram inúmeros artistas e programadores ao longo das décadas.

Fevereiro

5 de fevereiro - Módulos geométricos

12 de fevereiro - Animações em loop

19 de fevereiro - Imagens reticuladas

26 de fevereiro - Texturas algorítmicas

Março

5 de março - Recortes e colagens digitais

12 de março - Explorações combinatórias

19 de março - Malhas tridimensionais

26 de março - Tipografia experimental

Abril

2 de abril - Simulações físicas

9 de abril - Plantas e fractais

16 de abril - Autômatos celulares

23 de abril - Desenhos interativos

⤋ Read More

Every single year I complain we should have an independent survey of Python users, not of “Python developers”, as many people who use Python do not identify as professional software developers (https://ciberlandia.pt/@villares/109885982178235703) and the questions in the survey make no sense for them. We should have someone doing serious research designing an unbiased survey, not a software firm like Jetbrains doing market research.
Every year I fail to do something effective about this.

[Reposted publicly with some tweaks]

⤋ Read More
⤋ Read More

“A fotógrafa alemã Alice Brill, que desde o ano 2000 tem sua coleção de 14 mil negativos sob a guarda do IMS, trouxe a fotografia na bagagem quando veio da Alemanha para o Brasil, fugindo do nazismo. Alice tinha 14 anos quando a família aqui desembarcou em 1934 para encontrar a mãe, que viera na frente, e trazia na bagagem “uma minicâmera Agfa, tipo caixão”, que fazia fotos 3 x 4 e com a qual registrou suas impressões da viagem pela Espanha e Itália, que precedeu a aprovação dos papéis de imigração. A câmera era presente do pai, Erich Brill, um pintor viajante e artista plástico que, dois anos depois, não tendo se firmado em São Paulo, voltou à Alemanha e morreu em 1942, num campo de concentração. Alice seguiu seus passos profissionais com firmeza, fazendo-se artista plástica, gravadora e ensaísta, além de fotógrafa.”

https://ims.com.br/titular-colecao/alice-brill/

#SãoPaulo #Fotografia

⤋ Read More

Hey folks! We have recently had a wonderful new release of #py5, read about the new 3D trimesh integration feature and the matplotlib TextPath integration.
That release was quickly followed by a release to fix some small issues that surfaced this last week. Please check out py5 0.10.9a1 and join us at https://github.com/py5coding/py5generator/discussions to share your experiences!

#CreativeCoding #Processing #Python #genuary (sorry for the hashtag spamming, I couldn’t resist!)

⤋ Read More
⤋ Read More

There is a #Processing survey going on at:

https://docs.google.com/forms/d/e/1FAIpQLSduTT2cWlXzr7QG_g4LJ-Op6LwVTI7dtXHCGVH_FdI0BK00qg/viewform

I’m happy it mentions #py5 at some point.

At the end there is this invitation for the Processing Discord server. I find it unfortunate that the Processing Foundation is moving the community towards a closed, opaque platform controlled by a corporation, when they have the open and searchable forum powered by Discourse. I wish I understood the reasoning. I know Discord can be “convenient” but IMHO the downsides are much bigger.

#CreativeCoding #Discourse

⤋ Read More