@villares@ciberlandia.pt
@villares@ciberlandia.pt avatar

villares

@villares@ciberlandia.pt

PT: Educador de tec. e artes, pesquisa práticas artísticas que se valem de meios computacionais e ensino de programação em contextos visuais. Co-organizador da Noite de Processing. Doutorando na FECFAU-Unicamp.

EN: Tech and art educator, researcher of artistic work that makes use of computational means and how to teach programming in a visual context. Co-organizer of Noite de Processing. PhD candidate at FECFAU-Unicamp.

#SãoPaulo #Processing #Python #py5 #ForaBluetooth #CreativeCoding #FLOSS

This profile is from a federated server and may be incomplete. Browse more on the original instance.

masonegger, to random
@masonegger@fosstodon.org avatar

Where’s everyone hanging out tonight?

villares,
@villares@ciberlandia.pt avatar

@masonegger there were some people at the Standard Market & Pint House... (I left early because I'm tired, but there were quite some PyCon people there still)

mitten, to random
@mitten@social.lol avatar

Well, I guess I’m here! I’ll be in the Creative Coding tutorial with @villares this afternoon.

villares,
@villares@ciberlandia.pt avatar

@mitten thank you Laura, it was great meeting you!

dgar, to random
@dgar@aus.social avatar

When was the last time
you did something
for the first time?

villares,
@villares@ciberlandia.pt avatar

@dgar I'm going to do many things for the first time this week :)
(first time at PyCon US)

jimi, to random Portuguese
@jimi@burnthis.town avatar

O serasa tem uma ferramente extremamente inútil que fala que dados xyz seus vazaram mas não tem data, origem do vazamento nem nada. Suponho que não identifiquem pq senão seriam obrigados a identificar o vazamento que veio deles mesmos

villares,
@villares@ciberlandia.pt avatar

@ricardo @jimi eles são gangsters

villares, to python Portuguese
@villares@ciberlandia.pt avatar
villares, (edited ) to python Portuguese
@villares@ciberlandia.pt avatar

Mais um trabalho bacana de uma pessoa participante do meu curso na Domestika :D

https://www.domestika.org/pt/projects/1743432-patrones-recursivos?ttag=a_b_a_villares

mike, to random
@mike@sauropods.win avatar

Minor programming-in-2024 irritant #3,456: remember which of the many many git repos I interact with daily have a master branch and which have main.

villares,
@villares@ciberlandia.pt avatar

@mike any chances of having the master folks renamed? too much trouble?

FelipeSMBarros, to random Spanish
@FelipeSMBarros@mastodon.social avatar

Muito tempo sem usar #rstats ... desaprendi tudo e fiquei mal acostumando com python. Quanta burocracia para fazer coisas simples. credo... que delicia :) hahaha

villares,
@villares@ciberlandia.pt avatar

@FelipeSMBarros fiquei na dúvida, mais burocracia no R ou no Python?

villares, (edited )
@villares@ciberlandia.pt avatar

@FelipeSMBarros falando nesse lance de manipular paths você usa pathlib.Path da biblioteca padrão do Python? é maravilhosa, os objetos Path tem .parent .name .stem .suffix e tem concatenação de diretórios com o operador /

https://docs.python.org/3/library/pathlib.html

https://www.freecodecamp.org/news/how-to-use-pathlib-module-in-python/

villares,
@villares@ciberlandia.pt avatar
villares,
@villares@ciberlandia.pt avatar

@FelipeSMBarros @ludovia

não rola um coleção[len(coleção)-1] ?

villares,
@villares@ciberlandia.pt avatar

@FelipeSMBarros @ludovia Ah... R é com índices começando em 1 ? eu já soube isso mas esqueci....

rzeta0, to random
@rzeta0@mastodon.social avatar

my brain is officially blown! 🤯

#julialang is so fast ! 🚀

(compared to python when it is forced to apply arbitrary functions with loops inside, element-wise to an array - that is, can't benefit from vectorised numpy functions)

this #maths experiment took about an hour in python and about 1 second in julia lang

sure my python isn't professional, but today was my first time with julia lang so that will be far from optimal either

villares,
@villares@ciberlandia.pt avatar

@rzeta0 very cool!

For the Python version, you could perhaps see the Numba @nb.jit magic thing... or maybe annotate it and try Cython ...

villares, (edited ) to random
@villares@ciberlandia.pt avatar

tava fazendo um lance que curti ano passado (uma ideia de controle de versão de código+desenhos) mas não anotei direito não sei mais como eram :blob_clown:

torcendo pra conseguir reconstruir

update: 😂​​ dá pra melhorar, preciso testar, na real, mas acho que encontrei o que eu tava fazendo...

def save_snapshot_and_code():<br></br>    import shutil<br></br>    import datetime<br></br>    p = sketch_path()<br></br>    stamp = str(datetime.datetime.now()).replace(' ', '').replace(':', '').replace('.', '')    <br></br>    save(p / stamp / (stamp + '.png')) <br></br>    shutil.copyfile(__file__, p / stamp / (stamp + '.py'))<br></br><br></br>

eu sei que isso subverte as boas práticas de controle de versão tradicional com git, mas para exploração em programação criativa é bem útil, e tb pq tenho uma ferramenta pra me.mostrar uns diffs do código junto com as imagens produzidas :)

villares, to python Portuguese
@villares@ciberlandia.pt avatar
villares,
@villares@ciberlandia.pt avatar

@py5coding hmmm I remember seeing it but I never tried it... I wonder what the code used is...

pyOpenSci, to opensource
@pyOpenSci@fosstodon.org avatar

What are all of our friends working on this weekend?

We're prepping for PyCon, and can't wait to see you there :allthethings:

villares,
@villares@ciberlandia.pt avatar

@pyOpenSci @rzeta0 I once heard about Vega and some data-viz abstractions language across several viz libraries but I couldn't grok any of it. I find matplotlib hard too...

villares,
@villares@ciberlandia.pt avatar

@pyOpenSci I'm working, as usual, on my main free and open-source introductory Python teaching materials in a visual context: https://github.com/villares/material-aulas :)
They are initially in Portuguese, but if I can get enough support I'd like to make them available in English. I might also work a bit on my experimental Parsons Problems tool: https://abav.lugaralgum.com/faded-parsons-visual

I hope I can meet pyOpenSci people at PyCon, I'm flying Tuesday :)

villares,
@villares@ciberlandia.pt avatar

@pyOpenSci 😊​

sbisson, to random
@sbisson@mastodon.social avatar

There's a really odd-looking plant in the garden this morning.

villares,
@villares@ciberlandia.pt avatar

@sbisson a day of the triffids vibe?

cfarivar, to random
@cfarivar@journa.host avatar
villares,
@villares@ciberlandia.pt avatar

@cfarivar "what could possibly to wrong?" 🃏

ericof, to sketch Portuguese
@ericof@pynews.com.br avatar
villares,
@villares@ciberlandia.pt avatar

@ericof massa!

villares,
@villares@ciberlandia.pt avatar

@ericof um outro código que eu acho muito útil é o clip_with_mask() pra pegar um trecho de uma imagem maior... https://hackmd.io/@villares/prog-ilustra-e3

concretedog, to linux
@concretedog@mastodon.social avatar

Thinking of swapping distro, moving away from Arch and back towards Debian.. anyone got any recomendations? Deffo want to avoid snap and not use flatpak.

villares,
@villares@ciberlandia.pt avatar

@yorik @concretedog @beatnikqueen @FreeCAD that would be a bit harder to make happen, but we could try some "concurrent FreeCAD events"

villares,
@villares@ciberlandia.pt avatar

@concretedog @yorik @beatnikqueen @FreeCAD wasn't a vessel the whole point of making a formal FreeCAD org? ;-)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • InstantRegret
  • everett
  • Youngstown
  • ngwrru68w68
  • slotface
  • rosin
  • GTA5RPClips
  • tester
  • PowerRangers
  • anitta
  • thenastyranch
  • mdbf
  • ethstaker
  • cisconetworking
  • Durango
  • vwfavf
  • normalnudes
  • tacticalgear
  • khanakhh
  • modclub
  • cubers
  • Leos
  • megavids
  • All magazines