Lightning Talks | Closing Day 2
Transcript
By Speaker 1, Speaker 2, Speaker 3, Speaker 4, Speaker 5, Speaker 6. From DjangoCon Europe 2021. Published July 31, 2021.
Watch the video Markdown version 3,561 words · auto-generated · en
Transcript
Automatically transcribed, so expect mistakes in names and technical terms. Filler words are removed.
0:04 Conference Volunteering
Speaker 1
Hey, so now we have here with us Some of the volunteers that make this conference happen because it's not just a couple of folks that do it. This is a big team. And here with us you got Rin. Mariana and Andrew, that's going to talk a bit about what they did to help the conference. And yeah, so let's start with Rim.
Speaker 2
Hi, my name is Lynn and I'm a volunteer at Django Con Europe. Next slide, please. So like the teams for volunteers are you can see the teams for volunteers here It's like Team COC, it's the team that prepares the code of conduct. Team content is responsible for the website and other content. Team diversity Of course, responsible for diversity. Team Django Girls is like responsible for organizing a Django girls workshop for women, Team Financial Aid.
like for money things team public relations team social which helps you with gather town and team sponsors also like a very important team which helps like the call with gathering the money for the conference so my name is Rin. I'm a backend developer. I work with Django like for five years or a bit more now. And I have been attending Django Con since twenty seventeen, like at first the live ones, then like last year and this year the online ones. Like
so this year I wanted like I wanted to like finally give something back to the conference. And I filled the form for volunteering. And yeah, and I was invited to volunteer for the Django Con So when I followed the forum I was I had in mind to organize the Django girls which is usually organized together with Django Con or other Python conferences. So But there wasn't an option for Django Girls, so I just
Clicked one of the other options and I was added to the general volunteers team. Then I said that I would like to organize the Django Girls workshop. Also, there was on a volunteer's channel there was a post that they are looking for people for code of conduct team so I joined that one because I care a lot of about code of conduct and It also g helps other things like diversity inclusion.
so I won't care for that one. And with team social, it happened, it was like a bit like there's an interesting story. Well I complained that last year I lacked a bit of like interaction between participants attendees of the conference so then when the team social was created, well it was a matter of principle to join that team. So volunteering is
Well, I have been attending like a few of the conferences, but the volunteering gives a somewhat different perspective and like a different way of like I now I like this year I see this conference in a somewhat a different way like I'm a part of it and I'm responsible a bit even if like compared to the organizers my part is not like a very big part but still I feel like given back and like being like a part like more a part of
5:05 Sprints and Community Contributions
Speaker 2
Community than all unless an attendee So I also would like to talk about sprints, which is also a great way to be a part of community. Springs will be happening in on Saturday and Sunday. It's it's in for those who don't know what sprints are it's a way to contribute to the soft to the open source software like of Django or other related tools. It doesn't have to be programming. For example, I
I myself have participated in like helping with the documentation or even like with helping testing the documentation because I found it easier to like to join on that side especially when it's like one or two days but of course like You can join also programming. It's very good. I saw there are quite interesting, some of the projects are quite interesting that will like for this year. So it will ri be really nice experience I think and
great way to contribute to the to the community to the to Django. Also you can volunteer next year. As a volunteer you can do as much or as little as you want. So it's not it's not something hard to say it's not scary and it's nice like to feel a part of a team and to do something for the conference. So one of the things that I was organiz I'm was volunteering for was to organize a Django Girls workshop.
7:21 Django Girls
Speaker 2
So Django Girls is initiate to help women to get into programming if they want. So it's a one-day workshop where I think these can build like a website and what I particularly like it's not only the programming part, but they are introduced to also to deployment to editors also allowed to make like on purpose allowed to make mistakes and then
find solutions fix them so it's it's also Finally, they get to see their web their own website online. So it's it's also they are using git like a full cycle of programming basically. Which shows what the programming really is, and the it's important because women are often told that programming is not for them. So it's very important for them to see that it is, it is for everyone
And if you sorry if you want to be a member, you can go to Django girls. org and find their workshop near you or any online workshop and subscribe to b menanta No, hi
9:22 Giving Back to the Community
Speaker 3
So hi, I'm Mariana, I'm from Brazil. And well I've been attending DjangoCon Europe since 2018 you wonder like why someone from like a very far continent would be attending Django Con Europe. But yeah that's Pretty simple, I went once to the German version in Heidelberg. And yeah, I did fall in love with the community. It's it was like a great
great conference, met a lot of interesting people. And yeah, I and that's the best thing about conferences is that once you go and you meet people and you find interesting people to talk to you want to go back every year to meet those people again and meet new ones and like strength those ties with the community. I am myself very grateful for all of the Python community. I There's been
ten, eleven years since I've been going to events in the Python community in Brazil. way before I even thought about working with that. And it was through the Python community that I learned how to program. knew about my work perspectives. So I did make a living out of the Python community Like it's what pays my bills nowadays. And it's well it's time we give back to that community.
You see people coming here to those conferences, taking them time to prepare talks, taking time to organize, to put all of that together. We with very little effort can give something back to that community. So one of the things that struck me at the first JengaCon conference I came was the quality of the content it was amazing to see that every single talk was really, really good. So when I thought of volunteering
this year, I thought I could contribute to that, to helping look at the talk proposals and be part of making that content great. And a second thing that was like the best maybe the best thing about the my experience in Jenga Khan Europe was how welcoming everyone were like Coming you can imagine coming from Brazil to a conference in Europe, you imagine well maybe people won't be that open or that extroverts. In the old continent.
But it's was exactly the opposite. I felt welcome by the community everywhere. I it was just like walking around people would s stop and talk to me. And then last year we had this first online event and I really felt it we I really missed the interactions. So yeah another thing I thought I could contribute was to yeah bring that live experience and I hope it I hope you felt everyone here felt this warmth and welcoming too. I think I just think we did a great job this year
too make everyone feel welcome and less lonely as we're exil isolated at home. So that's it. Hope you see you next year and probably volunteering.
14:23 A First Conference Experience
Speaker 4
Okay, hello everyone. My name is Andrew Kenua. I'm teaching fellow at Strathmore University so normally I this is my first I will say conference for me to attend and I've I've been thrilled So the journey into which I came into being a volunteer, I think it was more or less more like a mistake. So I was just on Twitter and then I think there was some bit of a pop-up that that came in that you know if you'd like to kind of volunteer on
on a Django project then you can do it. So I just fill in the form and at first I thought it was like more of you know the overall Django conference. But then I think af after interacting in the first time I sent the you know I received the email the notification from Amigola that's when I realized oh the this is the Django conference for europe. However, I think There is the one that was, I think, scheduled for maybe for Africa because I'm currently in Kenya. Hopefully I will be able to maybe attend and also maybe work as a volunteer also
just to help the community in general. Basically my background in Django was more of just learning, trying to learn something new. Basically my background is not so much into our web development. So I've had some bit of hard what you can say like some bit of a hard curve or a steep learning curve for me to understand some of the concepts. Prior had been warned that maybe Django is I think like has a steep learning curve compared to other
currently existing Python web frameworks, but I think I was up to power, but I said let me just take the challenge and continue and maybe challenge myself on these So I think I felt that the community at so far on Django Kong euro has been has been fantastic and I've had an interesting if I may say experience just by learning new tools, sofa, and then getting to interact with
different people and having to, you know, most times as being as a volunteer looking at the talks has also given me some bit of a framework on how I should be able to basically work and help you know the Django framework. Maybe also as my future, if I may say as a as a future plan, I hope that I'll be, you know, in the future I will be able to contribute. More now not as a volunteer but also maybe as a speaker. Hopefully once again more confidence in that on that end. But I really hope I'll be able to attain at that.
specific level at that specific level. Then as part of this, we have the Gather Town conference. So you can be able to socialize and you know kind of break the legs. I will use the word like break the legs more since we can't have more of a physical meetup but I believe a us meeting up on Gather Town will going to basically help us interact more and give more ideas on how we can be able to improve the Django community all over everywhere. So after this meeting,
let us meet at Gathertown and let us interact and connect. Thank you.
Speaker 1
Hi everyone. So It was a great day with amazing content, great talks and workshops, and now we are gonna go to the lightning talks. Today we have two lightning talks. The first one is by Felix And the title is Strong Typing Package, What You Can Do with Type Annotations. And the second one is by Vibu. And the title is Django REST Framework equals RESTful APIs. Question mark. Enjoy.
19:43 Type Annotations and Strong Typing
Speaker 5
Hi guys, so this is my first lightning talk ever and I want to share with you my strong tag being project Some of my colleagues find this quite nice so that I want to share it here with you. And it mostly works with the type annotations in Python. But normally you have to violate the drive principles if it comes to type annotations because You have to write the annotation and to still check for the correct type inside of your function body. And with the decorator match typing, you get can get rid of this.
Besides the Only function-based decorator, I created also a class decorator, which assigned then the match typing to all of the functions which have a type annotations inside of it. It is also possible to enable or disable this whole process of this match typing. to have some differences when it comes to develop or for production level. And I created also a getter and setter so that the setter works like the same principles that the type that that you annotate
here get checked And also some useful decorators are the creation of doc strings from the type annotations. So that you don't have to violate there also the drive principles and don't have to check each time you change the type annotations to check your doc strings. And that came with as rest style or in the numpy style. You can see here I can give Different kinds of types and also the return type and I get this automatically output when I check the docs I can also add some additional informations
here. It's getting from one. So the first parameter, get these additional informations and the second this one. So that you will find the information here. And there's also some kind like a placeholder that you can say, okay, I want to have it here and make some more information downwards. Then I created also two own types which have where you can pass in a validation function then that you can achieve similar things like in Django with the models where you can say okay I have the chart hit here and I want or don't allow any longer char longer than maybe two
hundred characters or so and or only positive integers. This is can be achieved with this validator type and when it comes to containers then you can use the iter validation validator type which is more or less like the map function and will map each element inside of this iterable to this function here. That's it. That 's my first lightning talk. It's done here. Check it out if you want. It's available on Pype I. it's called strong typing and also i'm on github where it's it's felix the c like felix the cat
and yeah so have a good day
23:35 Django REST Framework and RESTful APIs
Speaker 6
Hi, I want to talk about the APIs. So in the internship I did last year, I had to develop a lot of APIs because most of the projects were based on front-end backend stack. and we also wanted to use Django. So the most obvious way to go was to use Django REST framework and so we did. Now there's this term known as RESTful APIs which go synonymous with Django REST framework a lot of times and because I'm a student I was asked to read about the RESTful design And so I did. I read this dissertation and learned a lot. But I also stumbled upon this strongly opinionated blog by Mr. Fielding in which he explains that what He considers he considers that shouldn't be called as restful design
and the API should be nearing HTS to be considered as rest restful APIs. And So this is just a fancy name for saying that the API should have hyperlinks to navigate through the whole set and the front developer shouldn't really be using the documentation to know how to use the APIs. So I began to think that why did Django Rust framework developers use the name as REST in their name? And I did get the answer in the documentation because the they say that the correct terminology that they are focusing is Web APIs. That's what they're using in most parts of the documentation. and aren't really implying that the APIs implemented would be termed as RESTful
APIs, but they do have a lot of links and are probably probable s support ideas in which you can implement fully RESTful APIs. I found this thing in tutorial 5 that is hyperlinked APIs through which you can embed the hyperlinks in your APIs. But most of the times w what we used was to just parse the ID of the object inside the one of our APIs and the front end developer would just look at the documentation and know how to parse the ID of the object. In one of the URLs and get the full object. And that's what we did. And the other issue was that I was reading about RPC and I thought that as our application is growing,
we're slipping towards the RPC design. and not really implementing the restful design as such. So these were the two issues that was really that were really bugging me and I talked about this to Momenta. And he said that it's really okay that our flex the API design should be flexible enough so that it could be able to accommodate the changes which are happening and also be efficient at the same time. And I also want to put this question to the audience that is it okay and how they are designing their APIs in the application. And the probable conclusion to this talk is that the DRF is great. But if we have to be really technically correct with the term which we are using to tag our APIs, we shouldn't really be using the RESTful
APIs as a term and we can use probably use web APIs as the correct term. Thank you. I hope you found it interesting.
Speaker 1
So that was it for today's Lightning Talks. I hope you enjoyed it. And if you want to submit your own lightning talk, you can also do that. I'm gonna put the link right now on Slack. So just fill it up the form with your name and your The title of the lightning talk and the URL for Lightning Talk, and it will show up tomorrow in the closing session.