@villares@ciberlandia.pt

ciberlandia.pt

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

⤋ 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

@zotero@zotero I noticed that some combinations of XFCE appearance (light) themes and Zotero made the menu “disappear” (black on black) as the window title was dark. Changing the Zotero to a dark theme or changing the XFCE theme worked (but then, I liked the dark window title on a light theme best…). Should I try to open an issue about this, or is it a XFCE issue? I don’t want to burden the maintainers but it was a bit disturbing not to find the menus…

⤋ Read More

https://li-ma.nl/

«Our online catalogue comprises the largest media art collection in the Netherlands. Search through more than 3,500 works of art, from video-art pioneers from the 1960s to up-and-coming talents and well-known contemporary artists working with the latest technologies. New works are continuously added. The works are available for screenings, exhibitions and research.»

Via @ranoya@ranoya

#NewMediaArt #CreativeCoding #DigitalPreservation

⤋ Read More

«… a #FAUUSP tem a satisfação de anunciar o início da disponibilização pública da coleção digital da revista #Habitat, com o lançamento das 15 primeiras edições, publicadas entre 1950 e 1954. Esta etapa marca mais um avanço no compromisso assumido com a difusão ampla e qualificada dessa revista fundamental para a história da arte, da arquitetura e do urbanismo no Brasil.

Desde o anúncio inicial, recebemos numerosos contatos de pesquisadoras e pesquisadores de diferentes regiões do país, demonstrando a enorme expectativa em torno do acesso digital à Habitat. Tal interesse reforça a relevância deste projeto, viabilizado pela generosidade dos herdeiros da Habitat Editora Ltda. e pelo trabalho dedicado de profissionais da FAU-USP envolvidos em sua organização, digitalização e curadoria.

As demais edições serão publicadas, de forma gradual, até completarmos a coleção integral — 84 números no total. Enquanto isso, convidamos o público a explorar as capas de todas as edições, que já estão disponíveis no portal​ dedicado à publicação, e​ que antecipam a riqueza gráfica e editorial da revista: ​

https://habitat.fau.usp.br/index
»

⤋ Read More

Me antecipando aqui, mas, salvo engano, sábado e domingo, dias 20 e 21 de dezembro, entre 15h e 18h de 2025 vai rolar oficina de solda no Garoa Hacker Clube em #SãoPaulo!

[assim que estiver na agenda do clube e na wiki eu ponho o link aqui]

Vamos ter uns kits simpáticos à venda pra quem quiser comprar, pode também levar alguma coisa de casa que queira soldar… eu vou no domingo 21. #hackerspace

⤋ Read More

#Processing & #py5 tip:
Remember the shapes you put on draw() will be redrawn over and over, and if they don’t move (leaving a trail) you might want to either clean each frame with background(...), or stop the draw loop (noLoop() in Processing or no_loop() in py5), otherwise you kill the anti-aliasing of the lines/strokes/edges!

I’m posting this tip because even using these tools for years and knowing this, today I briefly thought something was odd/broken because my lines were ugly with no “smoothing” :D

”`python
import py5

def setup():

py5.size(200, 200)
py5.stroke_weight(2)
# a line that will drawn once only
py5.line(10, 10, 190, 90)  

def draw():

# you could clean the frame here with background(200)
# this other line will be redrawn many times
py5.line(10, 110, 190, 190) 

def key_pressed():

py5.save('out.png')

py5.run_sketch()

”`

Image

⤋ Read More

#Processing & #py5 tip:
Remember the shapes you put on draw() will be redrawn over and over, and if they don’t move (leaving a trail) you might want to either clean each frame with background(...), or stop the draw loop (noLoop() in Processing or no_loop() in py5), otherwise you kill the anti-aliasing of the lines :D

”`python
import py5

def setup():

py5.size(200, 200)
py5.stroke_weight(2)
# a line that will drawn once only
py5.line(10, 10, 190, 90)  

def draw():

# you could clean the frame here with background(200)
# this other line will be redrawn many times
py5.line(10, 110, 190, 190) 

def key_pressed():

py5.save('out.png')

py5.run_sketch()

”`

Image

⤋ Read More

Using #Python’s #pathlib to compare two repos and get back some missing files from a “recovered” version of a repo (mostly stuff in .gitignore that is handy not to discard right now).

from pathlib import Path

a = Path('sketch-a-day')
b = Path('sketch-a-day_broken')

files_a =  {p.relative_to(a) for p in a.rglob('*')
    if '.git' not in str(p)
    if 'cache' not in str(p)
    if 'checkpoint' not in str(p)
}
files_b =  {p.relative_to(b) for p in b.rglob('*')
    if '.git' not in str(p)
    if 'cache' not in str(p)
    if 'checkpoint' not in str(p)
}
missing = files_b - files_a

for p in missing:
    (b / p).rename((a / p))

⤋ Read More

Como ficaria as sua #VidaDigital se você perdesse acesso à sua conta do #Google (gmail, drive, photos e etc.)? Isso pode acontecer e acontece.

Tento pensar nisso pelo menos uma vez por ano. De tempos em tempos uso google.com/takeout e fica cada vez mais difícil.

Impulsionei agora pouco um post sobre uma pessoa trancada pra fora da conta da #Apple, um desastre também.

⤋ Read More

What the fresh hell! “Glance” wants to take over my Android lock screen and won’t take NO for an answer, just “Not now — so I’ll ask again later!”

Updade: found the app and disabled it, I hope it won’t be able ta ask again anything.

⤋ Read More

#FediAjuda #AjudaMastodon meu irmão precisa comprar um computador, ele precisa navegar e rodar alguns programas de desenho, tipo inkscape. Ele sabe um pouco de SketchUp, e não sei se consigo tirar ele do Windows :((

Estamos no Brasil, alguma sugestão/dica perto de 2mil reais parcelados? Da Suponho que tela de 15”, i3 e SSD seja o mínimo?

⤋ Read More

It was though year. I finished my PhD, yay! Now, I’m on vacation from my main job, as educator at Sesc, and yesterday I wound down some last freelance work obligations. I really need a break.

I want to rest, make some “prints” of my drawings for friends, go to my local museums and have coffee/tea with friends, and that’s it!

Today we celebrate 18 years of our local #Python users group, #GruPySP, and I’m going to meet friends from #GaroaHackerClube, that’s a great start :)

⤋ Read More

Prof. Bigode mandou na outra rede:

“Lamento informar o falecimento do matemático catalão Claudi Alsina (1952-2025), foi dos maiores popularizadores da Matemática da España e do mundo. Alsina conhecido por seu humor refinado tinha uma vasta cultura, doutorou-se em Matemática pela Universidade de Barcelona e ao longo de sua vida acadêmica aproximou a Matemática de outras áreas do conhecimento, em especial a Arquitetura e o Design, fez parte da equipe que estudou os projetos de Gaudí para a reconstrução da Sagrada Família de Barcelona. Alsina era professor catedrático Universidade Politécnica da Catalunha, onde se aposentou, autor de mais de 50 livros sobre Matemática Recreativa, Cultura Matemática, Matemática para o Ensino Superior e para a Formação de Professores.
Sou “bi-neto acadêmico” de Alsina que foi orientador de meus orientadores (de doutorado) e desde que o conheci há cerca de 30 anos tenho me inspirado em seu trabalho.
Para quem sabe do que estou falando, Alsina tinha número de Erdős = 2.”

https://es.wikipedia.org/wiki/Claudi_Alsina_Catal%C3%A0

Image

⤋ Read More

The https://pyscript.com “platform” for hosting/serving and sharing #pyscript projects seems very cool… I wish they had a “download project” button to make it easy to move your project elsewhere. As they seem to be moving towards some “paid tier features”, making it easy to take everything out would be nice, would feel less like putting on a risk of being inadvertently locked in.

⤋ Read More

“A ZIP file containing 9 of Strangethink’s games, which were removed from their creator’s online pages in 2019.[…] The games included in this collection are -

Abstract Ritual
Art Machine
Error City
Glowing Bodies
Joy Exhibition
Mystery Tapes
Secret Habitat
The Pyramid Gate
These Monsters

I hope you enjoy these fascinating experiences!”

https://archive.org/details/strangethink-software via @Introscopia@Introscopia

⤋ Read More

The last few days I’ve been converting some charts to grayscale and adding letters to them in order to improve accessibility. Inskscape’s “Replace Colour” extension made things much easier.

I wonder if I could one day try my hand at making an improved variation of that extension that could save and reload a dictionary of replacements to help apply them to multiple files…
Another idea would be to allow replacement color fills with patterns and vice versa!

Let me save this on vault of ideas for the future :)

#a11y #Inkscape #FLOSS

⤋ Read More

I’m still looking for people, podcasts, events, talking about #Python without assuming everyone is a software developer or a “data scientist”.

Why are data journalists, type designers (Guido’s brother!), Blender wizards, FreeCAD hackers, hobbyist game makers, casual automation buffs, robot tweakers, MicroPython enthusiasts, creative coders, educators, biologists, astronomers and other scientists, consistently ignored?

Are we invisible? One of Python Brasil keynoters kind of just did that. My heart sank. Other talks, like the Art&FLOSS one, by Jim Schmitz, lessened my pain.

Where is the follow up for that 2017 keynote by Jake VanderPlas?

⤋ Read More

I’m still looking for people, podcasts, events talking about #Python without assuming everyone is a software developer or a “data scientist”.

Why are data journalists, type designers (Guido’s brother!), Blender wizards, FreeCAD hackers, hobbyist game makers, casual automation buffs, robot tweakers, MicroPython enthusiasts, creative coders, educators, biologists, astronomers and other scientists, consistently ignored?

Are we f*ing invisible? One of Python Brasil keynoters kind of just did that. My heart sank. Other talks, like the Art&FLOSS one, by Jim Schmitz, lessened my pain.

Where is the follow up for that 2017 keynote by Jake VanderPlas?

⤋ Read More

:blobcatcry: Zen browser changed the position of the controls of the “temporary overlapping tab thing”. I just hate the new position on the left, far from my mouse hovering over the vertical tabs on the right.

⤋ Read More

Se vocês quiserem presentear alguém com uma coisa diferente… Andei fazendo umas camisetas e canecas com uns desenhos meus:

https://villares-shop.fourthwall.com/ (internacional)
https://umapenca.com/villares/ (Brasil)

Tem coisa sobre as bibliotecas de #Python para computação científica e geometria que eu uso na #ProgramaçãoCriativa e tem também aviãozinho colorido, plantas fractais e uns outros desenhos abstratos, tudo feito usando programação. #shapely #trimesh #numpy #py5 #processing

⤋ Read More

“Em 2025, o Brasil lembra os 50 anos da morte do jornalista Vladimir Herzog, brutalmente assassinado em 25 de outubro de 1975 nas dependências do DOI-CODI, em São Paulo. Para marcar a data, a Comissão Arns e o Instituto Vladimir Herzog realizam a recriação do ato inter-religioso na Catedral da Sé, mesmo local em que ocorreu a histórica cerimônia de 1975, que desafiou o regime militar e se consolidou como divisor de águas na luta pela redemocratização do Brasil.”

Ato interreligioso 25 de outubro na Sé.

https://vladimirherzog.org/ato-interreligioso-na-catedral-da-se-relembra-resistencia-por-vlado-e-todas-as-vitimas-da-ditadura/

⤋ Read More

@madcap duas perguntas:

1 você anda vendo um aviso de “demasiados pedidos” ou algo assim? Tenho visto isso no cliente Moshidon. Uma amiga minha na instância pynews.com.br também teve esse problema um tempo atrás…

2 de tempos em tempos eu esqueço como põe na interface aquela opção de posts só para a nossa instância… como faz mesmo?

⤋ Read More

Not shown here but, this Shape class used on the linked sketch helps eliminate (by adding them to a set) not only Polygons that are visually the same but also shape rotations using a custom .hash() method :)

(A caveat to the reader: The code can be is messy because it sometimes retains remnants of abandoned ideas and lateral explorations. This is creative coding not software engineering)

Image

⤋ Read More

Not shown here but, this Shape class used on the linked sketch helps eliminate (by adding them to a set) not only Polygons that are visually the same but also shape rotations using a custom .__hash__() method :)

(A caveat to the reader: The code is messy because it sometimes retains remnants of abandoned ideas and lateral explorations, also, this is creative coding not software engineering)

Image

⤋ Read More

Random musing from a #Python creative coder:

I have this naïve cumbersome thing for dealing with collinear vertices in a polygon (like a vertex in the middle of an edge that doesn’t change the shape of the polygon, and I tried to replace it with some clever #shapely method such as .simplify(…) or .buffer(0) and failed miserably. So I’ll have to keep my home made check-area-every-three-vertices thing for now…

I’m kind of proud of my idea of representing polygons as a set of frozensets of edge vertex pairs because it eliminates all visually equivalent rotations and reverse ordered rotations (that is, if you don’t have pesky collinear vertices).

https://pynews.com.br/@villares/115325020477872857/

⤋ Read More

I know good people who work at Microsoft (like Guido van Rossum and Pamela Fox) but I don’t trust MS a iota. Making Processing work on VS Code… I don’t know if I like it. It leads people to a tool too much under MS control. I guess VS Code is too big to fail now?
I know about VS Codium… also, I’m struggling to move my stuff out of GitHub.

⤋ Read More

Amanhã no #SescAvPaulista rola o último encontro do semestre do Grupo de Estudos em #Python (https://hackmd.io/@sesc-av-paulista/estudos-em-python), se quiser participar é só chegar 14h para pegar uma senha grátis. A atividade é das 14h30 às 16h30.

Em outubro vou dar este curso quintas à tarde com 4 encontros:

https://www.sescsp.org.br/programacao/ilustracoes-vetoriais-para-grandes-formatos-com-programacao/

#SescSP #TecnologiasEArtes

Image

⤋ Read More

As pessoas ciclistas, em princípio, combatem a ideologia da carrocracia (a colonização mental pelo automóvel).
No entanto, muitos nutrem uma tóxica noção de superioridade em relação aos pedestres: furam a sinalização, cruzam de qualquer jeito a faixa de pedestre, assustam a gente e tiram finas. É detestável isso.
Não seja ciclista com a mente carrocrata.

⤋ Read More

Confesso que tenho uma certa inveja dos amigos que não olham as mensagens no celular, são pessoas mais evoluídas que vivem uma vida com menos ansiedade, com mais momentos “desconectados”. Queria conseguir ser um pouco mais assim.

⤋ Read More

[This happened already and was recorded. Description from the YT recording]

«This year at PyCon UK, you’re warmly invited to a world premiere: Ada, a brand-new play inspired by Ada Lovelace, written by Emily Holyoake, and staged as a rehearsed reading by Nottingham-based theatre company Chronic Insanity

‘You may turn the handle, and I will whirr and calculate without error!’

Decades before the first computers are built, Ada imagines machines that can do anything, even compose beautiful pieces of music. Far beyond Ada’s future, a learning machine called Ginny breaks free of her routine and tests the boundaries of what ought to be possible.

Ada is an intricate re-telling of the life and legacy of Ada Lovelace, pioneer of computing, paralleling her history with a contemporary story about the potential of artificial intelligence.

Cast and Crew:

Ada: Ruth Page
Babbage: Jamie Richard-Stewart
Lady Byron/Anna: Lynne Payne
Ginny: Natalie Patuzzo
Jasper: Ben Gilbert»

https://www.youtube.com/watch?v=CtrsssksCNU

#AdaLovelace #PyConUK #Theater

⤋ Read More