@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.

foone, to random
@foone@digipres.club avatar

My hobby? Disassembling and reassembling 3d printers.

Most people just call that "3D printing" but I want to be truthful to which part of the hobby I spend most of my time doing

villares,
@villares@ciberlandia.pt avatar
aparrish, to random
@aparrish@friend.camp avatar

!!Con has consistently been one of the weirdest and most fun tech(-adjacent) conferences out there for a while, and their call for talks is open for their 12th and final(!) gathering later this summer in Santa Cruz. consider submitting something! https://bangbangcon.com/give-a-talk.html (talks are ten minutes long, must have something to do with computing, should be about something you think is neat, and need to have an exclamation mark in the title)

villares,
@villares@ciberlandia.pt avatar

@aparrish very cool! PyCon US had everyone masked and that was nice. I met Jim in person for the first time, it was awesome :)

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

I wrote this to demo a quick conversion of an image to grayscale with a dialog to select the file... then applied it to a picture of me and @rennerocha
taken by John as we were flying back home after wonderful :)

from tkinter.filedialog import askopenfilename<br></br>from pathlib import Path<br></br><br></br>from PIL import Image<br></br><br></br># Open a select file dialog (a bit ugly on my OS)<br></br>file_path_str = askopenfilename() # '' if cancelled<br></br>if file_path_str:  # guards against a cancelled dialog<br></br>    file_path = Path(file_path_str) # a pathlib.Path object from the str<br></br>    new_name = file_path.stem + '_altered' + file_path.suffix # keep suffix<br></br>    # Make it output a PNG if you want LA mode to keep alpha<br></br>    # new_name = file_path.stem + '_altered.png' maybe I should check for PNGs?<br></br>    output_path = file_path.parent / new_name<br></br>    try:  # to handle any exceptions (runtime errors while converting/saving)<br></br>        with Image.open(file_path) as im:  # load image<br></br>            altered_im = im.convert('L')   # to grayscale (use 'LA' to keep alpha)<br></br>            altered_im.save(output_path)   # save image<br></br>            print(f'Saved {output_path.name}!')<br></br>    except Exception as err:  # ... treat exception<br></br>        print(err)<br></br>
villares, (edited ) to saopaulo
@villares@ciberlandia.pt avatar

Back to after a magical week in Pittsburgh...

villares,
@villares@ciberlandia.pt avatar

@snacktraces yeah, it was wonderfu! thanks!

villares,
@villares@ciberlandia.pt avatar

@ana é... tá seco e poluído mesmo :(

villares, to random
@villares@ciberlandia.pt avatar

Goodbye :)

villares,
@villares@ciberlandia.pt avatar

@jules yes, it was great seeing you! Also PyCon is kind of magic...

villares,
@villares@ciberlandia.pt avatar

@jrrickerson thank you JR, it was great meeting you. I'm safely back to Brazil now, plane just landed!

ranoya, to random
@ranoya@vis.social avatar

Doesn´t botter you the amount of advertising in the OS?

Has being extremely invasive become the new normal?

villares,
@villares@ciberlandia.pt avatar

@ranoya this is so crazy, ads in the OS are a nightmare.

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

Going to the closing keynote :)

villares,
@villares@ciberlandia.pt avatar

@SnoopJ yes! Please try to find me and Jim @hx2A I'm still watching the SC panel... the problem is I have no internet on my phone right now...

villares,
@villares@ciberlandia.pt avatar

@SnoopJ @hx2A I'm on the closed swag counter

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

If you missed my #PyConUS24 tutorial on #CreativeCoding, maybe you could watch my Domestika course:

https://www.domestika.org/pt/courses/4307-design-com-python-programacao-para-um-contexto-visual/a_b_a_villares

15% off with code A_B_A_VILLARES-PYCONUS up to June 19th #PyConUS (anyone can use this, you don't need to have been at PyCon!)

davidism, to random
@davidism@mas.to avatar
villares,
@villares@ciberlandia.pt avatar

@davidism how wonderful!

villares, to random
@villares@ciberlandia.pt avatar

Creative Coding with #py5 at #PyConUS24 room 301-305 in a few minutes!!!

villares,
@villares@ciberlandia.pt avatar

Sunday 11AM: #CreativeCoding #py5 open space at #PyConUS24 #PyCon room 315

daltux, to random Portuguese
@daltux@ayom.media avatar

📊 Após semanas, estou finalmente quase terminando minha primeira macro com Basic para automatizar parte de um caso de uso em planilha do Calc. Falta algum aprimoramento.

Quando há determinado tipo de evento financeiro, percorro uma planilha e adiciono uma linha após cada lançamento que se refere à ocorrência, com os dados da nova situação, algo bem trabalhoso e sujeito a erros ao fazer manualmente.

Há outras implicações que tinha conseguido resolver com fórmulas do Calc mesmo.

villares,
@villares@ciberlandia.pt avatar

@daltux que legal! o evento que dispara como é?

villares,
@villares@ciberlandia.pt avatar

@daltux muito massa! Dou aulas e outras atividades com Python queria estudar mais como fazer as macros no OpenOffice... Andei fazendo uns lances de ler e escrever arquivos de word e excel (ao mesmo tempo que fazendo propaganda pro pessoal experimentar o OpenOffice e tals!) hackmd.io/@sesc/estudos-em-python-7-maio

villares,
@villares@ciberlandia.pt avatar

@daltux a ideia é sempre "mover" as pessoas pro software livre!

O lance de usar Python para manipular arquivos de Excel e Word é meio que uma maneira de começar uma conversa com as pessoas onde elas estão (na gaiola da Microsoft) e já dizer, veja, você não precisa desses aplicativos aí para fazer certas coisas...

Então se pudermos fazer ainda por cima uma experiência legal de macros no LibreOffice na sequência, é a cereja no bolo :)

villares, to random
@villares@ciberlandia.pt avatar

Best picture so far, taken by @brass75 at

py5coding, to random
@py5coding@fosstodon.org avatar

Tomorrow (Saturday) at PyCon US 2024: Creative Coding with py5, the Python version of Processing, at 4:15 in Room 301-305

https://us.pycon.org/2024/schedule/presentation/167/

#pycon #pycon2024 #py5 #processing

villares,
@villares@ciberlandia.pt avatar

@py5coding today! don't miss it. And tomorrow a open space at , keep tuned for more info

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

today at my phone got swept by Tornado/High Wind warning alerts... hard to turn then off... hundreds and hundreds of message dialogs...

villares,
@villares@ciberlandia.pt avatar

@pait I've read your toot with a soundtrack in my head from Bernstein's West Side Story which I just love... "I like to live in America..."

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