Lightning Talks | Closing Day 2

This video is from DjangoCon Europe 2021 in Online.

Lightning Talks | Closing Day 2
0:27:25
Published June 27, 2021
120 views

Transcript

3,561 words · auto-generated Show

Automatically transcribed, so expect mistakes in names and technical terms.

0:04

Speaker 1: Hey, so now we have here with uh with us Some of the volunteers that make this conference happen because it's not uh just a couple of uh of folks that do it. This is a big team. And here with us you got uh Rin. Mariana and Andrew, that's going to talk a bit about what they did to help the conference. And uh yeah, so let's start with uh Rim.

0:30

Speaker 2: Hi, my name is Lynn and I'm a volunteer at Django Con Europe. Um Next slide, please. So like the the teams uh for volunteers are you can see the teams for volunteers here It's like Team COC, it's uh uh the team that prepares the uh code of conduct. Uh team content is responsible for the website and other other content. Um team diversity uh Of course, responsible for diversity. Team Django Girls is like responsible for uh organizing a Django girls workshop for women, uh Team Financial Aid. Um

1:16

Speaker 2: like for money things uh team public relations uh team social which helps you with uh gather town uh and team sponsors also like a very important team which helps like the the the uh uh call with gathering the money for for for the conference Uh so my name is Rin. Uh I'm a backend developer. I work with Django um like for five years uh or a bit more now. Um and I have been attending Django Con since uh twenty seventeen, like at first the live ones, then like last year and this year the the online ones. Um Like um

2:01

Speaker 2: so uh this year I I wanted like I wanted to uh to like finally give something back to the conference. And I filled the form for volunteering. And yeah, and I was invited to to volunteer for for the Django Con So uh when I followed the the forum I was I had uh in mind to to organize the Django girls which is usually uh organized uh together with uh Django Con or other Python Python conferences. So But there wasn't uh uh an option for Django Girls, so I just uh

2:48

Speaker 2: uh uh clicked one of the other options and I was uh uh was uh added to the general volunteers team. Then I um said that I would like to organize the Django Girls workshop. Also, um there was uh uh uh on on a volunteer's channel there was a post that they are looking for people for uh code of conduct team so I joined that one uh because I care a lot of uh uh about uh code of conduct and uh uh It also g helps other things like diversity inclusion. Um

3:34

Speaker 2: so so I won't care for that one. And with team social, it happened, it was like a bit um like there's an interesting story. Well I complained that last year I lacked a bit of like interaction between between um uh uh participants attendees of the conference Uh so uh then uh when the team social was created, well uh it was a matter of principle to join that team. Uh so uh volunteering is uh

4:20

Speaker 2: Well, I have been attending like a few of the conferences, but the uh volunteering gives a somewhat different perspective and uh um 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 uh compared to the organizers my part is is not uh like a very big part but but uh uh still I feel like given back and and like being uh um like a part like more more a part of

5:05

Speaker 2: uh community than than all uh unless uh an attendee So uh I also would like to talk about sprints, which is also a great way to to be a part of community. Uh springs will be happening in on Saturday and Sunday. It's uh it's uh uh in in for for those who don't know what sprints are uh it's a way to contribute to uh to the soft to the open source software uh uh like of Django or other related tools. Um it doesn't have to be uh programming. For example, I

5:50

Speaker 2: I myself uh um uh have participated in like helping with the documentation or even like with helping testing the documentation uh because I found it easier to like to join on that side especially when it's like uh one or two days uh but of course like uh uh um You can join also programming. It's very good. I saw there are quite interesting, some some of the projects are quite interesting that will uh like for for this year. So it it will ri be really uh nice experience I think and and uh

6:35

Speaker 2: great way to to uh 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. uh so it's not it's not something hard to say it's not scary uh and it's nice uh like uh uh to feel a part of a team and and to uh to to do something for for for the conference. Um so one one of the things that I um I was organiz I'm was volunteering for was to organize a Django Girls workshop.

7:21

Speaker 2: Um so Django Girls is uh initiate to uh to help women to get into programming if they want. So it's a one-day workshop where uh I think these can build uh like a website and what I particularly like it's not only the programming part, but they are introduced to also to deployment to um um editors uh uh also allowed to make like uh on purpose allowed to make mistakes and then uh

8:06

Speaker 2: find solutions fix them um so it's it's uh uh also uh Finally, they get to see their web their own website online. So it's it's uh also they are using git like a full cycle of programming basically. Uh which Which shows uh um what the programming really is, and uh uh the um it's important because 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

8:52

Speaker 2: Um and if you sorry if you want to be a a member, uh uh you can uh go to Django girls. org and uh uh find their workshop near uh near you or any online workshop and uh and uh subscribe to b menanta No, hi

9:22

Speaker 3: So hi, uh I'm Mariana, uh I'm from Brazil. Uh and well I've been attending DjangoCon Europe since uh 2018 you wonder like why uh someone from like a very far continent would be uh attending Django Con Europe. Uh but yeah that's Pretty simple, I went once uh to the German uh version in in Heidelberg. And yeah, I did fall fall in love with the community. It's uh it was like a great uh

10:09

Speaker 3: great conference, uh met a lot of interesting people. And yeah, I and and that's the best thing about uh conferences is that once you go and you meet people and you find uh interesting people to talk to you want to go back every year to meet those people again and uh meet new ones and like strength those um ties with the community. Uh I I am myself very grateful for all of the Python community. I There's been

10:55

Speaker 3: ten, eleven years since I've been going to uh events in the Python community in Brazil. way before I even thought about working with that. And it was through the the Python community that I learned how to program. knew about uh my work perspectives. Uh so I I did make a living out of uh the Python community Like it's what pays my bills uh nowadays. Uh and it's well it's time we give back to that community.

11:42

Speaker 3: 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 very very little effort can give something back to that community. So one of the things that uh struck me at the first uh JengaCon uh conference I came was the quality of the content Uh it was amazing to see that every single talk was really, really good. Uh so when I thought of volunteering

12:27

Speaker 3: this year, I thought I could contribute to that, uh to helping look at the talk proposals and and be part of making that content uh great. And a second thing that uh was like the best maybe the best thing about the my experience in in in Jenga Khan Europe was um how welcoming everyone were like uh Coming you you can imagine coming from Brazil uh to a conference in Europe, you imagine well maybe people won't be uh that open or uh or that extroverts. Um in the old continent.

13:13

Speaker 3: But it's was exactly the opposite. I I felt uh welcome by the community everywhere. I it was just like walking around people would s stop and talk to me. Uh and then last year we had this first um uh online uh event and I really felt uh uh it it we I really missed the 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 you felt everyone here felt this uh warmth and welcoming too. I think I just think we we did a great job this year

14:00

Speaker 3: too uh make everyone feel welcome and uh less lonely as we're exil isolated at home. Um So that's it. Hope you see you next year and probably volunteering.

14:23

Speaker 4: Okay, hello um everyone. Uh my name is Andrew Kenua. Um I'm uh teaching fellow uh at Strathmore University Uh so normally I this is my first uh I will say conference for me to attend um and uh 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 um a pop-up uh uh that that came in that you know if if if you'd like to kind of volunteer on

15:08

Speaker 4: on on on a Django project then uh you can do it. So I just fill in the form and at first I I thought it was like um more of you know the overall uh Django um conference. But then I I think af after after interacting in the first time I sent the the the you know I received the email uh the notification from Amigola that's when I realized oh uh the this is um the Django conference for um europe. However, uh I I think There is uh the one that was, I think, scheduled for um maybe for Africa because I'm currently in in Kenya. Uh hopefully I will be able to uh maybe attend and also maybe work as a volunteer also

15:53

Speaker 4: just uh to help um the community in general. Um basically my uh background um in Django was uh more of uh just um learning, uh trying to learn uh something new. Basically my my my my My background uh is not so much into our web development. Uh so I've had some bit of uh hard uh what you can say like uh some bit of a hard curve or uh a steep learning curve for me to understand some of the concepts. Um prior had been warned that uh maybe uh Django is uh I think like has a steep learning curve compared to other um

16:39

Speaker 4: currently existing Python um web frameworks, but I think I was up to power, but I said let me just take the challenge and uh continue and maybe challenge myself on on on on on on these So uh I think uh I felt that um the the the community at uh so far uh on on Django Kong uh euro has been has been fantastic and I've had an interesting uh if I may say uh experience just by learning uh new tools, um sofa, and then getting to interact with um

17:27

Speaker 4: different people and having to, you know, uh 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 uh basically work and um help um you know the the the the Django um framework. Maybe also as as 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. uh more now not as a volunteer but also maybe as a speaker. Hopefully once again more confidence uh in that on that end. But uh I really hope I'll be able to attain at that. uh

18:13

Speaker 4: specific um uh level at that specific uh level. Um Then as part of this, we have um the Gather Town uh conference. So you can be able to uh socialize and uh you know kind of uh break the legs. I will use the word like break the legs more since we can't have more of um a physical uh meetup but I believe um a us meeting up on Gather Town will going to basically help us um uh interact more and give more ideas on how we can be able to improve the Django community all over everywhere. So after this meeting,

18:59

Speaker 4: let us meet at Gathertown and let us interact and connect. Thank you.

19:11

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

Speaker 5: Hi guys, so this is my first lightning talk ever and um I want to share with you my um strong tag being project um Some of my colleagues find this quite nice so that I want to share it here with you. And um it mostly works with the type annotations in Python. Um but uh 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 um function body. And with the decorator match typing, you get can get rid of this.

20:29

Speaker 5: Um 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. Um it is also possible to enable or disable this whole um process of this uh match typing. to um have some differences when it comes to develop or for production level. And um I created also um a getter and setter so that the setter uh works like the same principles um that the type that that you annotate

21:15

Speaker 5: here uh get checked And um 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 um that came with uh as rest um style or in the numpy style. Um you can see here I can give um 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

22:00

Speaker 5: 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 uh own types which have uh where you can pass in a validation function then that you can achieve similar things like in Django with the models um where you can say okay I have the chart hit here and I um want or don't allow any uh longer uh char longer than maybe two

22:45

Speaker 5: 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 um function here. That's it. That 's my my my my first lightning talk. It's done here. Um check it out if you want. It's uh available on Pype I. it's called strong typing and um also i'm on github um where it's it's felix the c like felix the cat

23:31

Speaker 5: and yeah so have a good day

23:35

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 uh strongly opinionated blog by Mr. Fielding in which he explains that what He considers he considers that shouldn't be called as restful design

24:25

Speaker 6: 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 through the whole set and the front developer shouldn't really be using the documentation to know how to use the 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

25:14

Speaker 6: APIs, but they do have a lot of links and are probably probable uh 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. uh 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,

26:00

Speaker 6: 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 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

26:45

Speaker 6: APIs as a term and we can use probably use web APIs as the correct term. Thank you. I hope you found it interesting.

26:57

Speaker 1: So that was it for today's Lightning Talks. I hope you enjoyed it. And uh if you want to submit your own lightning talk, you can also do that. I'm gonna put the link right now on uh on Slack. So just fill it up the form with your name and your um The title of the lightning talk and the URL for Lightning Talk, and uh it will show up tomorrow in the closing session.

Questions this talk answers

What do Django conference volunteers do, and what teams can they join?

Volunteer teams cover areas such as the code of conduct, content, diversity, Django Girls, financial aid, public relations, social activities, and sponsorship. Volunteers can choose to contribute as much or as little as they want.

Discussed at 0:30

What are Django sprints, and do you have to write code to take part?

Sprints are a way to contribute to Django and related open-source projects. You can help with documentation or testing, so programming is not required.

Discussed at 5:05

What is a Django Girls workshop, and what do participants learn?

It is a one-day workshop intended to help women get into programming. Participants build and deploy a website, use tools such as Git and code editors, and practice fixing mistakes along the way.

Discussed at 7:21

What does the Python package strong typing do with type annotations?

It can check annotated types with decorators, including on class methods, and offers controls to enable or disable checking. It can also generate docstrings from annotations and support validation for values and iterable elements.

Discussed at 19:43

Are Django REST Framework APIs necessarily RESTful APIs?

Not necessarily: Django REST Framework describes its focus as Web APIs, and using DRF does not by itself mean an API meets the stricter REST constraints. Hyperlinked APIs can support REST-style navigation, but the speaker notes that many applications use documented object IDs instead.

Discussed at 24:25

Note: We understand that names change, people change, and bodies change. We respect each individual's journey and privacy. If you have any concerns about a video or need us to remove content, please don't hesitate to contact us. We will handle your request with care and promptly address any issues.

More videos from DjangoCon Europe