We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

EuroPython 2023 - Lightning Talks Thursday

00:00

Formal Metadata

Title
EuroPython 2023 - Lightning Talks Thursday
Title of Series
Number of Parts
141
Author
Contributors
License
CC Attribution - NonCommercial - ShareAlike 4.0 International:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Enjoy Thursday's lightning talks, hosted by Omotola Omotayo: 00:00 *Welcome to Thursday's Lightning Talks* 00:28 *Being Nice* — Daniele Procida 07:41 *I am Biased* — Filipa Andrade 11:46 *What APL Taught Me about Python* — Rodrigo Girão Serrão 16:54 *All You Need to Know About Federated Learning in 2 Minutes* — Sarah Diot-Girard 21:43 *A Different (Travel) Program* — Riccardo Polli 23:40 *fstring.help Or: How I Bought Yet Another Domain* — Florian Bruhin 28:57 *Community Conference / Events Announcements & Celebration!* 35:49 *Pick a Side: Planet or Profit?* — Chiin-Rui Tan 41:18 *Isolated Python Functions* — Meder Kamalov 45:12 *Gambatte Terminal* — Vincent Michel Signing up is on a first-come-first-served basis. The queue is reset every day in the morning. The presenter may talk about / present (almost) everything with certain boundaries. And each presentation is not longer than five minutes and full of fun!
114
131
Coma BerenicesAmsterdam Ordnance DatumExact sequenceMusical ensembleComputer virusUniform resource nameSocial classWhiteboardData managementWord1 (number)CausalityTask (computing)Rule of inferenceCommitment schemeMultiplication signOnline helpCompass (drafting)Arithmetic meanStandard deviationDecision theoryComputer animationLecture/ConferenceUMLXML
ASCII2 (number)MereologyWebsiteLecture/ConferenceComputer animation
Food energySystem programmingComa BerenicesGoodness of fitPiLecture/ConferenceMeeting/Interview
Group actionGame theoryPosition operatorProcess (computing)Computer animation
Device driverInformation engineeringProgrammer (hardware)PlastikkarteType theoryGenderCharacteristic polynomialGraph coloringVisualization (computer graphics)1 (number)Computer animation
Control flowHydraulic jumpProjective planeComputer animation
Computer-generated imageryComa BerenicesFood energyMedical imagingPhysical lawRight angleTouch typingLecture/ConferenceComputer animationMeeting/Interview
Game theoryWebsiteDifferent (Kate Ryan album)Formal languageSymmetry (physics)Connected spaceComputer programmingWeightComputer scienceTouchscreenPoint (geometry)Process (computing)Transformation (genetics)SummierbarkeitCodeRight angleLine (geometry)ExpressionFunctional (mathematics)Endliche ModelltheorieRoundness (object)Loop (music)Installable File SystemPositional notationInternetworkingCondition numberPattern languageMathematicsProgramming languageBoolean algebraExterior algebraVector spaceIntegerNeuroinformatikWritingSeries (mathematics)
Coma BerenicesRight angleLecture/ConferenceMeeting/Interview
Food energyInheritance (object-oriented programming)Endliche ModelltheorieMachine learningSampling (statistics)BitDemo (music)Virtual machineInformation privacyMereologySpacetimeEndliche ModelltheorieRoundness (object)Context awarenessWave packetUniform resource locatorProduct (business)SimulationOpen sourceLibrary (computing)Field (computer science)Data centerEncryptionDifferential (mechanical device)Different (Kate Ryan album)Representation (politics)Meromorphe FunktionGradientMachine learningComputer animationLecture/Conference
SineInformation privacyClassical physicsComputer animationLecture/ConferenceMeeting/Interview
Wide area networkComa BerenicesFood energyMusical ensembleMultiplication signMeeting/InterviewLecture/Conference
Wave packetEvolutionarily stable strategyBinary fileState transition systemComputer programmingDifferent (Kate Ryan album)Square numberComputer animationLecture/Conference
SineVotingWave packetFlow separationArrow of timePiComputer animationLecture/Conference
State transition systemComa BerenicesSystem programmingFood energyPiRepetitionObject-oriented programmingMultiplication signString (computer science)Online helpRight angleDomain nameLecture/Conference
SoftwareTime domainWebsiteSelf-organizationDomain nameString (computer science)Projective planeFile formatRevision controlInternetworkingElectronic mailing listComputer-assisted translationLevel (video gaming)Right anglePiInformationContext awarenessComputer animation
Online helpFood energyPulse (signal processing)Web browserKeyboard shortcutExtension (kinesiology)CodeString (computer science)Online helpVariable (mathematics)Web 2.0CodeWeb browserVideo gameResultantWeb pageExpressionCheat <Computerspiel>Limit (category theory)LaptopFunction (mathematics)Validity (statistics)Form (programming)Software maintenance2 (number)Musical ensembleExtension (kinesiology)Revision controlMultiplication signComputer animation
Coma BerenicesLevel (video gaming)Lecture/ConferenceMeeting/InterviewComputer animation
Speech synthesisTrailMultiplication signMeeting/InterviewComputer animation
TrailOrientation (vector space)TrailComputer animationMeeting/Interview
Coma BerenicesLink (knot theory)PiGeometryMultiplication signBitComputer programmingAdditionComputer animationLecture/ConferenceMeeting/Interview
PressureMaizeMultiplication signMeeting/InterviewComputer animationLecture/Conference
Coma BerenicesTwitterAreaRight angleSlide rule2 (number)Particle systemLecture/ConferenceComputer animationMeeting/Interview
Goodness of fitComputer animationPanel paintingMeeting/Interview
UsabilityRoundness (object)Computer animationLecture/Conference
Product (business)Computer animationMeeting/Interview
Meta elementComa BerenicesRight angleLevel (video gaming)Group actionMusical ensembleOpen sourceMultiplication signComputer programmingComputer hardwareMaterialization (paranormal)Expected valueComputer animationMeeting/InterviewLecture/Conference
Event horizonSoftwareOpen sourceIntegrated development environmentCodeOpen setLibrary catalogLocal ringInternetworkingRouter (computing)Green's functionInformationOnline helpCore dumpRange (statistics)FreewareComputer programmingGroup actionProjective planeTerm (mathematics)Point (geometry)FreewareOpen sourceCASE <Informatik>Level (video gaming)Web 2.0Web pageIntegrated development environmentGoodness of fitCodeNumberPlanningComputer animation
Disk read-and-write headDifferent (Kate Ryan album)State of matterCASE <Informatik>Content (media)Multiplication signOffice suiteDialectComputer animation
Sparse matrixMusical ensembleFeedbackFood energyMathematicsOpen sourceTouch typingSoftwareGoodness of fitDialectWhiteboardLevel (video gaming)Food energyPoint (geometry)Vector potentialFeedbackMultiplication signProjective planeWordComputer animation
Coma BerenicesHypermediaRight angleGoodness of fitMultiplication signLecture/ConferenceMeeting/Interview
Integrated development environmentZeitdilatationPoint (geometry)Set (mathematics)Data modelComputer-generated imagerySource codeServer (computing)Coma BerenicesDifferent (Kate Ryan album)Integrated development environmentBus (computing)Front and back endsLink (knot theory)Open sourceVirtualizationCartesian coordinate systemQR codeRepository (publishing)Connected spaceInferenceFunctional (mathematics)Inclusion mapVirtual machineType theoryProjective planeDebuggerQuantumGame controllerComputer fileNeuroinformatikComputing platformAuditory maskingRight angleMobile appProduct (business)CodeWeightObject (grammar)Computer animation
Coma BerenicesRight angleMultiplication signLecture/ConferenceComputer animation
Radical (chemistry)Pattern languageGraph coloringBlock (periodic table)String (computer science)UnicodeWord1 (number)WhiteboardServer (computing)EmulatorGame theoryMusical ensembleCodeComputer chessComputer animationLecture/Conference
Coma BerenicesRadiology information systemEmulatorRepository (publishing)Game theoryLink (knot theory)Projective planeData miningEvent horizonDebuggerLibrary (computing)EmulatorGraph coloringRadical (chemistry)Repository (publishing)Server (computing)Programmable read-only memoryComputer animationDiagramLecture/Conference
Food energyComa BerenicesEvent horizonLecture/ConferenceMeeting/InterviewComputer animation
Transcript: English(auto-generated)
Hi everyone Hello Okay, awesome. Awesome attention everyone So we're going to be starting the lightning sessions now and I'm going to call our first speaker to come on board Let's welcome him with our class of urns
Hi everyone. Thank you. Some of you have seen this already, but I was asked to do it I want to tell you about Being nice. I do a lot of hiring at canonical where I work and one question I'm often asked by candidates that I'm interviewing is is this a nice place to work and
Interesting question now you've probably heard this advice That it costs you absolutely nothing to be nice and it's correct. It's true. Do you know why it's true? It's true because being nice
Costs nothing because it's worthless. It's a gift without value and it's time that we stopped aspiring to be nice It's a word that's come on a very long journey from quite different meanings to the ones you might associate with it today It has origins in
Concepts around ignorance or stupidity, but now it's just become this kind of blah Word that carries and says and commits and implies pretty much nothing at all It's like an ineffectual Ruler that's everywhere that we can't get rid of and it rules us still
Only sadists actively want to hurt people, but we all must sometimes do things That can't be done nicely because they're going to hurt people sometimes we have to say things that we know will cause pain and distress if you're a doctor a teacher a colleague or a partner
Sometimes you're going to have to say things that have no nice way to be said and What we tend to do is put them off for the fear of hurting the other and then we do them badly our reluctance further deepens The harm to the person that we didn't want to hurt and it deprives them also of the opportunity to do something about it
sometimes so never hurting people Being nice is actually Impossible but we can be kind and Kindness is what those people who asked me in those interviews are actually asking about not whether it's a nice place But whether it's a kind place and being kind is completely different from being nice
The good doctor the good teacher the manager has to deliver bad news tough to sit make tough decisions and Do it
Or the fear that they are know they're going to bring about by maybe saying something so being nice Costs us nothing, but being kind can actually cost us a lot. It hurts us to see somebody else's Pain and it's worse when we're the ones who are bringing it about it takes courage to look at somebody else's pain and
Saving people from all pain is simply an impossible Task being nice doesn't help them but being kind can help them because they get at least some truth some comfort and the kindness in itself is an affirmation of some kind of humanity between Us and them and it's not that it's bad to be nice
It's but the risk of trying to be nice is that you'll be a bad doctor teacher manager or partner or bad person to be in a relationship with and Those people who want to try to be nice and avoid it all costs the harm
can do more harm because they wanted to avoid bringing pain and Perhaps the horror avoiding somebody else's pain so much that you don't do the right thing by them is not actually quite so admirable So I think the the word nice it's kind of decayed into this blast sound
I hope it might be swallowed up by Something like the nice guy concept and we can get rid of it altogether because it's a pretty horrible word I'd like to maybe we could take it back to meaning precise or subtle But I think it's had its day as a word of approval in the meantime I do my best to avoid being or saying nice
Because it's no gift at all To tell someone that they are nice. There's no commitment in it There's nothing in there for them to live up to you haven't given them something to hold on to But if you tell them that you were kind you were generous you were warm friendly encouraging. Those are commitments you're putting something on them a
label that they then have to live up to You had to dig deeper for those words and they will have to dig deeper to respond. You've given them a standard so when you're tempted to be nice Ask yourself if you're just flinching from the cost of somebody else's pain consider paying the price of being kind because when I'm asked if it's a nice place to work I can say
no it's Something that means a lot more And I'm back again for for a few moments because we're talking about some of the forthcoming
Conferences and so on so I've got a few seconds more I want to tell you about Django con Africa, which is going to take place in Zanzibar in Tanzania in November this year Website is Django con Africa if you love Python and Django and you love traveling this will be a chance to be part of something absolutely amazing. So come and talk to me
Thank you very much everyone. All right. Thank you so much. Please don't forget it It's good and it's not bad to be nice see you in Africa Dango con Africa Okay, so our next speaker is Phillipa from PyLadies and after this session, we are going to be having Sarah
Please come to the front here. So you're ready for your session. Thank you
It's there Hello, everyone
I'm seeing all kind of other things in my in my desktop Yeah, I know but I don't Okay, where is my mouse?
Okay, so My name is Phillipa. I'm going to tell you why I'm biased It's an unconscious bias lightning talk. This topic has been Already talked about in this conference, which is great. So let's go So unconscious bias, I asked chat TPT to help me to put a nice sentence
So these are biases that we have without being conscious about and they affect our thoughts about other people How we interact with other people and they can lead to unintentional discrimination from our side So, why am I I'm biased why did I chose this this title? So this is me my friend
We are talking about jobs and we both work in tech and she was very frustrated about her job And after a while, I just told her you know, what if in my company they have a junior position I will let you know and then there was this awkward silence and she told me of Philip
I'm not a junior and this is when I felt really bad that my bias just affects like the relationship with my friend what I said and I'm actually grateful that she felt safe to tell me that so but it could be another person that would not feel safe to Tell me that So, are you biased so I have a little game for you
There are PL pictures of people and you will think about you don't need to say anything But you can think about who do you think is what? so who is a doctor a nurse Electrician or secretary Who is a teacher
the president a driver a grenade and who is Smart we hear this a lot here sensitive Who is a data engineer? Last one who is a programmer?
So I hope it triggered some some thoughts in you So types of biases that we have just from visuals just by looking at people There are three more or less. So ageism where you we judge people by their age the perceived age of the person And we judge what they can do for that
Appearance this includes everything from how tall you are your skin color your face characteristics Everything your clothes And there is the gender bias which is one of the most famous ones like the perceived Gender of the person might make you think something about what they can do
Okay, takeaways and conscious bias is real and it might hurt people How you can control that be aware of your biases so you can stop them and avoid you from saying things you really didn't want to Our harvard has this project implicit online. You can go there and make some tests and check your biases
One thing I really like that also was mentioned here is slow thinking don't jump into conclusions. Don't make assumptions Just slow thinking take a step back and don't think what people can do without knowing the people Okay, be respectful be kind to each other I had the wrong one
Yeah All images were generated with me journey. I didn't Break any gdpr laws here. So if you are curious about the prompts I used for those images, let me know Stay in touch. I'm in pilates bertislava. Those are my contacts. Yeah, see you around. Thank you so much
All right After which we are going to answer Thank you
Nope, thank you Hello everyone. My name is rodrigo and i'm here to share with you. What's apl taught me about python Now by a round of applause who knows python here Pretty good pretty good and who knows apl
weaker, which is good So let's start with a quote by ellen pearlies that says that a language that doesn't affect the way you think about programming Is not worth knowing and ellen j pearlies is not some random dude from the internet It's the guy that won the first quote unquote nobel prize of computer science, which is called the turinga worth
And so i'm here to share with you how apl changed the way I think about programming Because there's two things to programming there's knowing how to think about programming and then there's the syntax of whatever language you're about to use and apl impacted Apologies apl impacted the way I think about solving problems and about writing programs
So what's apl? apl stands for a programming language Which is a terrible name. I agree However, it's important to realize that when apl was inventive it was not a programming language It was an alternative mathematical notation. And that's why apl is so infamous for its weird looks
Now dismissing this language just because it looks weird And not the same thing as biases against humans, but the same line of reasoning applies. It makes no sense It's as reasonable as dismissing chinese just because it looks weird quote unquote because the characters are different, right?
So this is a very interesting language and I got to program with it for a couple of years and at some point I realized wait I was writing python code and I realized wait I'm doing something different and then I thought about it a lot and I understood it had been my experience with apl that actually
Changed the way I write python code and I thought that was interesting and I want to share a very concrete example now the main takeaway for this talk should be Explore other languages play around with them and the more different they are from python The more likely they are to have an impact and then it's up to you to filter out the good and the bad impact
And try to learn from the good things So very specific example, this is apl code if ages is a vector of ages of different people This is me counting how many people are 18 or over And the straightforward basic simpler way of doing this in python is with a loop like this, right?
And what i'm about to show you is a couple of transformations That step by step should make a lot of sense But that will lead to something that may look surprising and it looks surprising to me when I wrote it And then I realized that I just I did that whole process in my mind because of my exposure to apl
so first things first i'll try to Create some symmetry here and i'm either adding one or i'm adding zero so that I have some symmetry I know that adding zero is the same as doing nothing But having it up on the screen makes the next step much easier which is to realize that you're always adding something What changes is the amount you have one or zero? That's fine
But now what you can do is if you can if you know that booleans and integers are tied together You can get rid of the ifs and you just have the condition. I'm not saying this is excellent python code I'm just saying this works and then well You can take it one step further and you can do a sum over a generator expression
Now again, i'm not saying this is excellent python code. I'm not saying it's going to pass the code review I'm, just saying that for some reason I wrote this down And I realized it was because of the connection with the apl code which stands one to one I'm, just I don't care about the for loop in apl but the remainder of the things they're one to one And my exposure exposure to apl made me actually very comfortable with least comprehensions because suddenly
I understood what to me least comprehensions are about or the way I interpret them my mental model of how they work And so this is summing And just one other thing sum and apl now there's a bunch of built-ins
And their apl counterparts and if you see the pattern on the right, this showed me that the functions on the left They're all related and i've talked about this in the past They're all reduced and I think I need to go. Yeah, so thank you very much Thank you so much Thank you for that. Okay, let's have sarah why we are um
Hi, you're welcome Um, we're going to um alvaro alvaro, okay Um Ricardo, are you there? Yeah Okay Alvaro, are you there? Sorry if I didn't pronounce that well
Um, are you in the okay, we skip um, then the next one will be tuned Florian, okay. Uh, Florian, are you? Okay. All right. Are you? So hello everyone. I'm sarah. Oh is this
Yes, uh, so i'm going to talk to you very quickly about what is federated learning Um, so that's going to be like a two minute introduction First a little bit of context. What do everyone want? Well, we want to have like these really great machine learning models Either because we are data scientists or because we are using them
But the problem is that all of this data, uh, all of these machine learning models that requires data Quite a lot of it and not just any data that requires high quality data and uh You want to have data that is representative of what you are going to do. So you want to have like varied data
and Um, it brings a lot of problems It can bring some technical issues some legal issues depending on the kind of data you're working with But the most important part for me, it's bringing a privacy issue Because as a data scientist, I want to have a lot of data, but as an individual I want my privacy to be protected
So how can you like solve this conundrum? So there is a bunch of so-called privacy enhancing technique Which includes you might have heard about it some different Differential privacy or meomorphic encryption these kind of things and federated learning is one solution to um, like
One solution on what part of the solution on how you can solve this that high privacy issue um What's happening? On the typical machine learning pipeline is what's on the left side Uh, it is like you are taking data from a bit of everywhere and you are putting it in a centralized location
And then you're training your model on it What's federating learning is proposing to do is roughly the opposite You say okay The data is going to say what's generated and then you are going to make your model or part of your model travel to the data And uh do rounds like that Until you get an aggregated model, which is generating on all of the data
Um So as I said The field is growing a lot right now So especially for federated learning Uh, there are a lot of uh open source libraries which are getting quite mature and ready to be used
um Federated learning obviously, it's quite vast And so depending if you need some things to iterate for simulation very quickly or if you need something which is more industry Great, because you want to deploy it in production Depending if you're doing federated learning with A lot of mobile phones for example, or if you're doing federated learning in the most industrial context
Where you only have like a few data centers Um, you're gonna have like different libraries fitting more or less your needs Uh, so i'm the mentioner of uh, one of the mention of substra so I can talk to you a bit more about that Uh, we've got a hugging face space if you want to to play out of it and have a
Demo to see how federation learning might be working Um, also, you know classical github we've got the slack and all of that And more importantly i'm really looking forward to meet with other people who are working on this data privacy issue I I know that there was some like, um data
anonymization talk early on uh, that's really like please say hi if you're interested in these topics and Yeah, thank you. Nice Thank you so much that was really fun Next we have ricardo, um less appreciated
Are you ready? Yes
Your time starts already, okay, you got this
Hi Hi a different travel program
I'm ricardo and i'm 11 and I play football and piano I'm learning python. For example, this program makes a square I came by train with my father. We want to save the planet
This is the several stops latina roma balsano monghan and praga Children love aro python, uh, so bring them. Thank you for your time. Awesome
Awesome. Thank you so much You did so well, thank you. Thank you Do we have um the pie the pie community
Florian first then we have the pie community next um, the pie community rep. Are you there? Okay. All right Um, yes time starts now. Thank you
Okay, almost
There we go. So f string dot help or how I bought yet another domain Could you raise your hand if you know about pie format info That's like half of you or so So it's a website which shows you When dot format was new new style string formatting
how to Do formatting with like person formatting and then with string format Well, it would make sense to have f strings there, right? That's what someone thought in 2015 Then someone seemed to agree in 2017
And the same thing happened again in 2019 I also looked kind of into that like maybe opening a pull request, but there were some discussions around Whether how the examples will really fit in And it looked like the project was pretty bad unfortunately
with lost activity dying around 2017 I took a look at the commit list and History and saw oh there's a version two Okay, let's check the version two Well looks like that was that as well, unfortunately So I thought okay, why not take matters into my own hands and start f string dot def
Cool little domain, right I didn't do it for three years Until one day before the picon germany lightning talks because hey, you could tell people about this at the lightning talks. Let's do it Well Apparently the domain was gone by then
Just a few days after I came up with the project idea and the domain was still free when I did Gone to context pricing customer 7151 something if you're here in the audience. I'd love to talk to you Because the f string dot def is like very well used apparently
Well, then I had to come up with a new idea for a domain so what about f3 inc well Kind of cool, but 100 euro for like a small side project just isn't quite worth it But hey Let's see. Like maybe there are some promotions going on for for cool new top-level domains
f string dot cat why not five euro cool Well, apparently to get a cat domain, which is a actually a country domain of catalan You need to belong to the catalan linguistic and cultural community on the internet
You know, obviously like nyan cat for example So yeah in the end I came up with f string dot help And it's exactly what it says. It's a Small overview of how f string syntax works with maybe some things you didn't know about f strings
And a nice overview of the rest Sadly not quite mobile ready. If someone knows how to make a nice mobile ready website out of a jupiter notebook Let's talk about it at the sprints maybe
I Also teamed up with trey hunter who had this nice Even more compact cheat sheets of f strings which you can now reach with the cheat sheet button on the page I want to close with some news python 37 was end of life, which means all currently supported python versions now support self-documenting expressions
where you can use a Formative variable inside an f string with an equal sign and in the output you get both variable name or expression It can be any expression here
and the result also with upcoming python 312 Any python expression syntax is valid syntax inside f strings So despite my syntax highlighting here really not liking it yet You can do things like comments inside python code inside f strings if that's something you find useful
Last few seconds with another shameless plug i'm the maintainer of cute browser a vim like browser basically like vimium but without all the web extension limitations I might do some stuff on it at the sprints and if you want a sticker or a pytest sticker
Feel free to talk to me. Thank you Thank you so much that was right on time All right, so let's have alex from the pi community and we also have some other communities joining You're welcome on stage
Is it on? Yeah, that's on. Okay We need your full attention. You're going to be confronted with at least 15 questions. You have to basically answer immediately
And let's start with the first question Who likes waffles Okay Okay, so pi data is coming in september from 14 to 16
Who likes basil? speaking of basil Um, uh, usi pi will be in basil, uh, august 14 to 18. This time didn't work so much. That's why Um conference, it's like two days of tutorials two days of talks one day maintain the sprint tracks. Um, take some online Please come So, please join us at picon season in september in prague. We have a beautiful venue, which is an old monastery
So it's going to be beautiful as you can see the tickets are on sale. So I hope that you can all join us Uh, also one of the tracks is pi data oriented. So, uh, I think it will be really interesting for all of you
So please come in september Who have tried potatoes called mocha pecan? We are in the picones and canary island is the best place in europe, you know
and We want to join us in october 6 7 8 This year is online and also in person so That's what we expect you on canary island
Who likes basil not together? with mountains of chocolates Okay, geo pies in 2024 will be in may 27 to 29 in parcel, switzerland link is there Okay, thank you we won't have chocolate for usipi by the way who likes ketchup
Uh Yeah, so python us is in pittsburgh, which is apparently the home of heinz ketchup In addition to also hosting a picon us for the next two years
Uh, we would love to see you there. I know it's really far from here to get to picon us So we have a travel grant program Which you should contact us about but uh, you know, give us a little bit more time because it's all the way in may next year
This may be a weird question, but who like homemade food Attention attention first time pile ladies corn when december Were online what are we gonna have keynotes talk panel a much more 24 hours conference
more info soon Who knows what this is? Brinzawa halouski the national food of slovakia and you're all invited to picon slovakia, which will be in march next year Who likes barbecue?
Okay, you know, there's a big by data barbecue coming up. Where is pi data barbecue happening? Because pi data is not focused and focuses all in austin. So it should be happening in austin texas, right? No, it's happening actually here in this beautiful place. This is heidelberg germany. It's in southwest germany And i'm happy to announce the fifth pi data barbecue with keynote speakers you probably heard of uh, and yeah, thank you
Who likes pastries? So we're gonna have pike on portugal from the seventh through the ninth of september it's the second edition, uh, yeah show up
and uh just just today for Euro python participants you have a 25 percent off Bosher it's just this slide. So if you want it's now or it's gone forever three two one five fish and chips
I thought we don't have good food, but uh, patina london 2024 in june, and there will be a father's day bring your kids as Well, we will have coding things for kids. Yes Who likes muscle? No
Next year junk con will happen in spain vigo join us Who likes donut kebab? Okay, so pi data python is coming back to belen. Yes, it was invented there
Uh, so in april from 22 to 24 who loves barbie soup So Come taste it in willas lithania in april 2024. Yeah
I love communities. Please a round of applause for them. Um, thank you so much I promise who likes pizza. Come on Pike on us has been announced already. See this cannot be pike on us This is general italian pizza, by the way, and this is a less general italian play than peter
We don't have it, uh, so we have pike in italy 2024 already Uh, we forgot to update the slides. But anyway, uh, it will be may next year in florence It's essentially the very same venue where this t-shirt europeiten 2011 was collected and This is a reaction if you ask pineapple pizza in italy, so please don't do it and who likes spam
No, nobody does nobody Please let's clap for them. Thank you so much. Actually, you can come up. I love community and I love um, The action and the morale that it brought on stage Uh, please come up
So after chill we have medal from Yeah, the next person oh, okay. All right. This is are you there? Tell me when does my time are we starting? Yes. Oh
Okay, can I start now Okay. Sorry. All right. Hi everyone. I'm chin. Okay. So this is a quick heads up about two things This isn't really quite as fun as our food. I'm, really sorry, but i've managed our expectations Okay, so the first thing is that there is an open source educational resource, uh with free material
You don't need that sorry technical problems This is when I say i'm a data scientist not a hardware specialist
Okay Yeah, yeah, yeah, okay great so, um, anyway there's this program thing which uh, I uh, oh no that's still not working Yes, great. Okay Oh crap. Um Uh, so this is sports python, which uh, oh no this way which I
Authored with a seeded by a grant from the euro python society. This is basically an outreach program Um teaching python and data science to especially people who are from marginalized groups So this is me teaching these are people i've taught that's a github Okay, number two if you're a pythonista who cares about sustainability I am working on a new open source project to democratize python for environmental advocacy and it's called pick a side plan or profit
What is it? So currently it's a not very good github page because I am a data scientist not a web dev You can obviously contribute to that At some point, so what is this actually? About it's about developing free code that anyone can use for data journalism citizen science investigations
So This is not a new concept, you know putting stuff on a map so people can sort of see what's happening to the planet and it's dying and burning but I think what is more useful or interesting about this is that My this project it will basically have reproducible data science workflows so people can
Basically try and analyze things themselves. So for example, this is the college Colleges in the us well in boston in this particular case who have power plants which are excessive carbon emitters. So polluters Anyway, so that's what it is. You can look that up Why?
So why do we need environmental advocacy? And hence why do I think this project is necessary? Uh to democratize data journalism citizen science and education that is because there is a ton of denial and disinformation There's a lot of interested parties like big oil who are basically making a lot of money in the short term by effectively exploiting the planet
Ai generated junk is not helping nor is the free press under attack. So where does the idea come from? So I don't know what people think about me But actually I actually used to be the first head of data science at the foreign office And I actually investigated environmental issues when I was supporting uh uk foreign policy so
uh Because enough time has passed. I did a tutorial at python us. Oops this year. You can look that up as well No, go away. Um Uh, so the kind of content which was in there was so this for example is deforestation in the amazon basin This is actually really interesting This is uh, the border between bolivia and in this case the ron hondonia state in brazil
Which tells you a lot about different governments governance in different regions Anyway, the point was there was a lot of ways of showing how python open source software was great for democratizing Effectively, you know citizens individual access to exploring topical issues. Uh, it had really good interest and feedback. Um,
So by these kind of people and if you're from the geospatial community The fact that esby was there at my tutorial was really interesting. Um, so anyway, uh, can you help the pick a side project by collaborating contributing? Stuff doesn't have to be technical. It can be design stuff anything Uh spreading the word potential users really easy one all those people who just came off the stage
Invite me invite me to speak to your meetup And also remember the us tutorials you have to pay 150 bucks to get to that So not on top of your travel costs. So this is going to be you know, a good bang for your buck Um sourcing ethical funding So so for example, I say ethical because for example if you're from the uk and you're over energy
Um, they are kind of um greenwashing. So and so I don't really want money from them This is not to say that I want dollars um, it's actually because uh the Funding which for example this washing post journalist who's actually someone in involved in the psf used to be a board member Um, a lot of those funding are us centric so they're only for investigating us issues and unfortunately, uh environmental issues are not us only
um Or and or you could help by building a community environmentalist tech folk And these are some of my contact details, please get in touch or you know, find me at the social Um, i'll try not to be too drunk. Thank you very much. And that was right on time, please
Thank you. Okay, unless we have mida Mida you can come on stage and after which we have our last talk for this year Um visit and get time start now. All right, can you hear me? Okay, so at our team we ran into uh,
A ticket where uh, we had to run python environments in an isolated environment Python run. Sorry, we had to run python in isolated environments. Okay So environments have to be programmable So python has to be able to define the environment define the machine type and run it
Uh the way the way we want it And uh, we need to be able to choose different backends to to run those environments and the backends should include Um virtual and condom mamba pi and everything Okay, so we naturally built it. We were happy with it and we made an open source project out of it And uh, yeah, this is the link to it and we have the qr code
Okay, so how does it look? The isolate we call it isolate isolate works with the backends. So here we have a backend Which is a virtual python environment backend and all you have to do is you have to create the environment you pass it some requirements uh, you you create it and then you
Uh, you know open a connection to it and you send a function to it and we'll run it in the environment that you defined this works so well actually that we Built the product around it. So now we have a product called false serverless and uh from you know, where we wrapped the isolated around it and uh We have an isolated decorator where you define requirements you define a machine type and you define a function
And so now when you call this function, it does not run on your computer. It runs on false serverless Uh, you don't have to think about infrastructure anything like that and uh, how far can you take it? You can take it pretty dang far we have a open source repository here called edit anything app
It's a full stack application that has python as a backend So here you see we have a simple flask application that has this isolated decorator with a machine Requirements and we define a bunch of different Endpoints and each endpoint is calling a python function and in the function. We're doing some ml inference
Um Yeah, so and the repository also has some front-end code that interacts with the deployed application So now you have an end-to-end full stack python application. So this is the front end of the application And as you can see, we have a simple ui. It's also open source. So the qr code there is the
Link to the github repository here. We're calling one endpoint to create a mask of the of the bus So it's recreated I I click on the on the desired mask I write a prompt for the replacing This is another endpoint that replaces an object inside the picture This is using control net
And so we run it this is starting up a machine running the inference killing the machine and here we have the picture so in summary isolate for running your Isolated environments and edit anything is the app that we built on top of our platform and our platform called file This is our team. I'm very happy to be here. Thank you everyone and see ya. That was awesome
Thank you so much Okay, so let's have our last Speaker for today. We said you're welcome your time All right
one more
Oh great So I wanted to talk to you guys about terminals because we like them Uh, especially modern ones for one thing they support, uh unicode
and Specifically I wanted to show you two Unicode characters upper half block and lower half block If you print them you get you get this nice cross pattern And if you print more of them
You get a chessboard And Now you can bring colors into it by using nc code so that would look like this
Um, but we can do more we can draw stuff so Let's draw a bird So that's a bird It's a huge string, but uh, it's a bird if you print it You get a bird It's the bird from celeste
um But it's only a string right so if it reaches your terminal Then it gets printed which means a server an SSH server could send it to you. So if you are to SSH into Send me a bird. Maybe the SSH server would send it to you and it would get displayed But I think we can do better than that. So what would happen if you were to SSH into
A server which runs a gamebook gameboy color emulator would look like this So, do you know what game that is? Yeah, you you don't get sound over SSH. That's too sad
Uh, it's the legend of zelda links awakening dx Yeah, thank you. Thank you You can actually play that
So what you just saw is a project of mine It's called gambata terminal and it's a terminal front end for an existing gameboy color emulator Which is called gambata It's written in python. It's optimized with syton and it's uh powered by two amazing libraries called
SSH and prom toolkit You can try it out You can either SSH into the server or you can install it locally using using pip and Run it directly with your own very legit rom Um, oops, sorry
And that's it you can check out the repository and uh I'll see you at the social event Delightening talk for this for today For those that are going for the social
Events later this evening see you there and if you are not going to see you tomorrow Thank you so much everyone and special. Thanks to the speakers. Thank you