Show filters Hide filters

Refine your search

Publication Year
1-29 out of 29 results
Change view
  • Sort by:
49:07 DjangoCon US English 2017

Keynote - Testing in Django

The Django documentation section on testing starts with this: “Automated testing is an extremely useful bug-killing tool for the modern Web developer.” Nobody can argue with that. Testing is an integral part of modern software development, and Ana’s talk will offer an in-depth overview of how the Django testing framework evolved; showcase some common techniques, tools, and best practices; talk about speed improvements; and guide you through a real-world example of testing a Django app. Testing is fun, isn’t it?
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
28:10 DjangoCon US English 2017

Live Long and Refactor

Refactoring major components of a live application with many users can be daunting. The stakes are even higher when the users are paying for your product. This talk covers how to approach building and incrementally deploying a complex refactor. Using a case study, I will walk through what makes major refactors so challenging, what you should avoid, and what can make them easier in the future.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
35:59 DjangoCon US English 2017

The Power and Responsibility of Unicode Adoption

Communication is difficult. Whether between humans, machines, or a combination of the two, trying to translate meaningful information is a lossy process. Converting programming languages to use the new Unicode standard is hard, but once it’s in place, you get this marvelous feature-add: emoji compatibility. No longer do we have to make faces with symbols or use platform-specific emoticons. Rejoice in the extended character set. Emoji have a rich history as a way to allow the communication of ideas in a reduced amount of data. They date back to a time where this was important: SMS communications in Japan. However, as social networks feverishly try to clamber onto this bandwagon, their implementations of the standard create issues with miscommunication that aren’t possible with a 12×12 pictograph. We’ll discuss the history of emoji, cross-platform adoption, the Unicode standard, and emoji accessibility in web applications.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
34:43 DjangoCon US English 2017

Serverless Django

You’ve probably heard the buzzword by now - “serverless”. It’s a new type of application architecture where traditional web servers are replaced by ephemeral cloud services. But what does it mean for the average Django user? Hint: lower costs, more scalability, more capabilities and less ops tasks to worry about! First, this talk will explain what “serverless” really means for you, and provide an overview the advantages and disadvantages of event-driven server-less architectures. Next, we’ll demonstrate how easy it is to migrate your existing Django CMS application to run on AWS Lambda by using the Zappa framework, including some real-world issues you might bump into. Then, we’ll show how to implement some of the most common Django patterns as part of a server-less architecture - uploaded avatar image processing, batch and timed sending of email, and long running tasks like statistical aggregation. Finally, we’ll show how to scale up your server-less application to trillions of events per year by distributing your app to dozens of data centers all around the globe, and do an ultimate cost analysis of your new system. You’ll leave with new ideas on how to save money and stress on your existing applications and cool new ways to implement features in your next app!
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
42:40 DjangoCon US English 2017

The CoC committee is here for you

Since a community-wide Code of Conduct was adopted in 2013, the Django Software Foundation has had a Code of Conduct committee. The committee deals with CoC violations on e.g. mailing lists, aggregates reports from conferences, can check speaker lists against CoC reports and provide general advice and support. Django events tend to have their own CoC with their own CoC team. Not everyone in the wider tech community is fond of Codes of Conduct. However, a lot of this reluctance is rooted in misunderstanding about what this actually entails, and what the committee and teams actually do in both their active and reactive roles. That’s why this talk will give a peek behind the scenes of the work of the CoC committee and CoC teams, how incidents are actually handled with various real life examples, and how this leads to a better community for everyone. Including you.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
42:39 DjangoCon US English 2017

GraphQL in the wild

Since being released by Facebook in 2015, GraphQL has gained a lot of hype for being the best thing since sliced bread and REST APIs. But what is all the hype about and how does GraphQL fare in the real world? As a Django developer who has been using GraphQL in production since September 2017, I will discuss how we have addressed real-world concerns like performance and security. I will also highlight some of the joys of using GraphQL and why we have stopped writing REST APIs for new features. If you have never heard of GraphQL or have never used the Graphene library, have no fear. There will be an overview of what GraphQL is, as well as a demo on how to incorporate it into a Django project using Graphene.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
39:28 DjangoCon US English 2017

Python & Spreadsheets

Spreadsheets are OFTEN terrible. They’re also everywhere! As one of the default forms of data exchange, learning to work with spreadsheets directly via Python can save time and effort. We’ll look at Openpyxl, a library that lets you do just that. We’ll look at at least two different (beginner-friendly)example cases: transforming one spreadsheet into another spreadsheet and converting a spreadsheet into JSON. I’ll also use my experience as a former accountant to highlight some of the issues around reading from and writing to a spreadsheet file and how you might deal with them. You MAY even learn to make new friends and grow the Python community! True Story!
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
26:56 DjangoCon US English 2017

The Beauty of ViewSets in Django Rest Framework

ViewSets will make your code shorter, more robust, and save you time during your development, if you let them. I have spent a lot of time dealing with writing view code, and dealing with all the urls, only to finally learn ViewSets. It immediately saved development time as well as making my code more simple. Generally to make a new, basic, endpoint in DRF for a model it would take about 15 minutes. That includes creating a serializer, urls, views, and testing it the browser. Now that same endpoint is more easily understood and done, all the steps, in less than 5 minutes. Leaving you more time to worry about what your new app is supposed to actually do.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
27:02 DjangoCon US English 2017

Understanding JavaScript Libraries via React and the React Ecosystem

After an initial foray into JavaScript in 2011, I actively avoided learning or using JavaScript. Then, in early 2017, JamBon Software took on a project to build a bleeding-edge JavaScript web app in Facebook’s React. Suddenly, I did not have a choice and had to learn JavaScript—versions 5 and 6—as well as Facebook’s React library with the entire JavaScript and React ecosystems behind it. This talk will give developers a framework to analyze the overwhelming number of tools in the JavaScript world by categorizing the types of problems currently being solved. By the end, you’ll walk away with a mental framework of the solutions being built today. We will start by looking at a history of JavaScript. This will allow us to discuss problems that developers need to solve in browsers when interacting with APIs. With a full understanding of the problems, we’ll turn our attention to discussing the types of solutions available and quickly discuss how different libraries like Angular, Vue, Inferno, and Cycle implement these solutions. The talk will then explain how to use React in tandem with Redux to build a tiny website. We will demonstrate how to use tools like Webpack, fetch, Promises, and thunks to enhance React to solve the problems previously discussed. Finally, we’ll end with a review of the material, and consider some of the topics being looked at by Facebook, Google and Microsoft. Outline: Libraries as Systems to Concretize Abstract Thought Understanding the Problem Node, NPM, and Yarn DOM-Focused JavaScript Libraries Understanding React Enhancing React Converting ES6 with Babel or Bublé Aside: Handling types with Immutable.js, Typescript, and Tern Handling Modules with Webpack or Rollup Polyfills for Behavior Replacing XMLHttpRequest with fetch Using Promises and thunks for asynchronous actions React-Router for Single-Page Apps Redux-Forms for User Input Linting with ESLint Testing in 2 minutes React with Django Conclusion Review of Problems Review of Solution Types Break Down: Modules vs Syntax Transformations Performance with InfernoJS Future JS.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
37:14 DjangoCon US English 2017

Accessibility Matters: Creating a Better Web

Overview This talk will go through accessibility concerns on the web through example sites and code with both good and bad accessibility to experience what some users have to struggle with daily. We will cover well-known concerns such as low vision/color blindness and deafness, as well as attention issues and autism, and discuss the limitations and abilities of various alternative input devices that people with motor control issues rely on. Short and long-term fixes will be demonstrated and taught, with the overall goal being that the participants leave knowing how to find and solve accessibility problems. Why Bother With Accessibility Not only should you want everyone to be able to easily use your site, but having an accessible website comes with a variety of benefits. According to the U.S. Census Bureau, around 19% of Americans have a disability, which is a large potential audience for any site. Many companies also fall under accessibility laws they might not even be aware cover their products, with lawsuits becoming more prevalent in recent years, and showing a good faith effort to improve your products’ accessibility can help keep your company out of hot water. Accessible web development also tends to lead to better UX and a happier user base. And, another plus: It will save devs time and frustration when they’re working with the code, since good HTML is enforced. Who This Talk Is For Anyone who wishes to learn more about accessibility. While we won’t be going over the absolute basics of accessibility in detail, the examples and resources will be easy to understand for people with very basic knowledge of web development.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
40:49 DjangoCon US English 2017

DjangoCon US 2017: Lightning Talks Day 2

  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
42:19 DjangoCon US English 2017

Alexa...

As the universe of IoT continues to grow at a rapid pace, our abilities to interact with these devices can be useful. As an added bonus, developing these skills can be fun too! I’ll take you through my journey of developing my first Alexa skill in Python for Amazon Echo devices aptly named Happy Days. It is a random quote generator that delivers positive quotes. I’ll go over the skills of how to get Python to talk to Alexa and how to dump that code into Lambda for a seamless delivery between Amazon Web Services and the Alexa Skills Kit in just a little over 200 lines! Never developed an Alexa skill before? Don’t worry, I hadn’t either. I’ll provide plenty of resources to help get you started on a path you’ll never want to leave as an Alexa developer. Building an Alexa skill helps: Further develop your own skills in Python. Gain familiarity with Amazon Web Services’ Lambda service which allows you to run code without provisioning or managing servers. BYOC - Bring your own code! (Python, Node.js, Java, and C#). Gain familiarity with Amazon Web Services CloudWatch service which helps monitor and log activities with your Amazon Web Services resources which is helpful for troubleshooting. Gain familiarity with the Alexa Skills Kit which is the platform behind Alexa development. Learn about tools and resources you can take advantage of to ensure you have a meaningful development experience. Learn how to “talk” to the Alexa Skills Kit through your Python code. Helpful reminder that user experience is key!
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
34:16 DjangoCon US English 2017

DjangoCon US 2017: Lightning Talks Day 1

  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
28:00 DjangoCon US English 2017

Preventing headaches with linters and automated checks

While it’s very common to enforce PEP8 code style with tools like flake8, it’s rare for Django projects to use any other types of tools for automated checks. However, linters and automated checks are a good way to enforce code quality beyond code style. Human-based code reviews are great, but if an experienced programmer leaves the organization, all quality-related knowledge they have will be gone. One way to prevent this is to make developers consolidate their knowledge as custom check tools. Instead of repeating to every junior programmer how they should code, experienced developers should write tools to do that for them. Having this kind of “executable knowledge” is great to ensure long-lasting good practices in organizations. Thankfully, Python already has a number of extensible linters and check tools that can be used to consolidate knowledge. Also, Django has the System check framework, which can be used to write custom static validations to Django projects. In this talk, we’ll discuss existing linters and tools, what benefit they bring to Django projects, how to extend them and how to build custom ones. Combined with IDEs, pre-commit hooks, and CI tools, linters can validate code at programming time, commit time, or CI time, thereby ensuring good practices in all development workflow.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
40:23 DjangoCon US English 2017

Taking Django Distributed

While some code happily lives on a single server forever, most big projects will have to cross the boundary into running both their application and storing their data across multiple systems. The basic strategies are well-known, but we’ll take a look at what to do as you cross the painful threshold where you can’t run your app as a monolith or store everything on a single database server. Among other things, we’ll look at how to split up business logic and application code to run on different servers, how to scale to handle different kinds of web traffic (read-heavy, write-heavy, and long-connections/WebSockets), when and how to make parts of your code not run inline with HTTP processing, strategies for storing data across multiple machines, and how to structure your engineering team to best cope with all these changes. We’ll also look at a few apparently innocuous decisions and the spiral of bad performance they lead to, and how to recognise some of these common problems so you can avoid them yourself in future.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
43:33 DjangoCon US English 2017

DjangoCon US 2017: Lightning Talks Day 3

  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
27:44 DjangoCon US English 2017

Saved you a click (or three): Supercharging the Django admin with actions and views

  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
40:53 DjangoCon US English 2017

Opening Keynote - Is it too late to learn how to program?

Alicia will discuss the challenges she faced as an African American woman in becoming an iOS developer at the age of 51. As a self-taught developer, she created a mobile app dedicated to helping victims escape domestic violence and abuse. She has seen the best and worst of the tech community. As demonstrated by her app, she believes that the tech industry can improve and change lives if we open our arms, embrace change, and think about how women can change the way we see and create apps.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
42:54 DjangoCon US English 2017

The 10 Commandments of Community Organizing

Welcome to the advanced class on community organizing. You’ve got a decent amount of members in your Meetup.com group, you hold events fairly routinely, maybe you’ve pulled in some legit speakers at your last conference or event … and you want to do more. This talk will focus on community organizing for growth and longevity by building out teams, improving communications, implementing processes, and most importantly will discuss how to maintain sanity in your work-life-volunteer balance. If you’ve ever had to answer the question “Oh, this ISN’T your full time job???” - this talk is definitely for you. If you’re just starting out organizing and don’t want to fall flat on your face, this talk will be very pragmatic for you.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
37:36 DjangoCon US English 2017

End-to-End Django on Kubernetes

Not only is Kubernetes a great way to deploy Django and all of its dependencies, it’s actually the easiest way! Really! Deploying multi-layer applications with multiple dependencies is exactly what Kubernetes is designed to do. You can replace pages of Django and PostgreSQL configuration templates with a simple Kubernetes config, OpenShift template or Helm chart, and then stand up the entire stack for your application in a single command. In this presentation, we will walk you through the setup required to deploy and scale Django, including: Replicated PostgreSQL with persistent storage and automated failover Scalable Django application servers Front-ends and DNS routing The templates covered in this presentation should be applicable to developing your own Kubernetes deployments, and the concepts will apply to anyone looking at any container orchestration platform.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
24:15 DjangoCon US English 2017

Django vs Flask

When it comes to web development in Python, Django isn’t the only game in town. Flask is a scrappy young framework that takes a very different approach – whereas Django ships with tons of features ready and eager to be used, Flask provides a bare minimum feature-set with rock-solid extensibility and incredible flexibility. This talk, given by a web developer who has experience with both frameworks, takes a good look at the pros and cons for both Flask and Django. If you’ve ever felt that Django is too hard to learn, or too inflexible, this is the talk for you! Outline What is Flask? Historical background Django vs Flask Ideological differences Example “hello, world” websites Database support Django ORM vs SQLAlchemy, Peewee, etc… Non-relational databases User model django.contrib.auth vs Flask-Login, Flask-Principle Django Admin vs Flask-Admin Django apps vs Flask Blueprints Django REST Framework & comparisons to Flask Which is better? Depends on your use-case.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
31:05 DjangoCon US English 2017

Hunter2: A Symphony of Password Horror

The year is 2017. We have hoverboards, jetpacks, solar-powered cars, and also so many awful passwords that it’s become trivial for pretty much anyone to have their accounts compromised. We’ve got passwords for our passwords. Eight-year-olds with a dictionary and a set of dice can generate mathematically stronger passwords than most corporations that have your credit card details. We spend our days wandering through endless forests of requirements to come up with something that contains no more than twelve letters, a special character, the eye of a newt, and at least one uppercase letter, only to be emailed it back in plaintext if you forget it. And then it goes on a Post-It note on a monitor. Do not despair - this talk is here to help! From beginners to experts, all technical folk have the power to build a post-password future. Lilly, an engineer and historian, will guide you through the history of how we got ourselves into this state, and explain why major companies still think that the best way to keep your stuff secure is to poke their heads out of the tree-house and ask you for the secret word. She will then hand you strong technical tools to help your clients and colleagues understand why there are better things out there than “Welcome1!”, and help you work together to bring a small ray of sunshine into our password-saturated world.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
24:51 DjangoCon US English 2017

DjangoCon Closing Remarks

  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
19:49 DjangoCon US English 2017

Going Rogue: How Code.org Created a Curriculum Development Platform Without their Engineers All

As a Middle School computer science teacher, I know enough to be dangerous, but not enough to consider myself a “real” developer. As a member of the curriculum team at Code.org (a nonprofit dedicated to providing all students with access to CS education), I knew that our combination of rendered markdown files and Google docs was far from the most effective way to write and deliver curriculum. If only we could schematize our curriculum writing, I thought, we’d be able to write more consistent lessons with better support for teachers to see which lessons are aligned to which standards, or where a given concept was first taught. When I brought this proposal to our engineering team everyone was excited about the idea, but there was no way we had the bandwidth to actually create it. Our small team of engineers are booked solid building tools for students to learn programming and for teachers to manage their classes. When it comes to the needs of our curriculum writers, we obviously need to come after the students and teachers. But wait, I know how to program. I did the “Two Scoops” tutorial. Why couldn’t I make the tool I had dreamed of? Using Django and Mezzanine as a base, I gradually built a system that allows Code.org curriculum writers to write faster, more consistent, and better supported lessons at a massive scale. Along the way, I also dealt with the very real concerns of my engineering team. How can we be sure this will scale to our 10’s of thousands of teachers? What about our millions of students? How can we be certain that this doesn’t introduce new security vulnerabilities to our site? Are you sure you know what you’re doing here? The answer to all of these problems was surprising simple, and has allowed me to address the needs of our curriculum team without taking the engineering team’s focus away from the customers that really matter - teachers and students. After many months of development, CurriculumBuilder has become an essential internal tool for curriculum writing at Code.org, and continues to find new ways to solve problems that would otherwise go unaddressed. Not bad for a Middle School CS teacher who had never before written software used by others.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
23:43 DjangoCon US English 2017

Getting the most out of Django’s User Model

Django’s User model is nice, but the fields it provides out of the box are minimal. We frequently need to associate our own custom data with a user, and luckily Django provides ways for us to add to its built-in User model. This talk will help novice Django developers understand which options are best when it comes to getting the most out of the Django User model. I’ll start by talking about the built-in Django User model and what it has to offer. Then I will identify scenarios when the User model might not be enough for a project, and why someone might want something with more flexibility. Then we’ll look at the different ways to get the most out of the Django User model. There are two main methods I’ll cover: Extending the User model Creating a custom User model Extending the User model: Extending the User model is handy when you only need to add a few extra fields. There are two main ways to do this: using a proxy model, and using a OneToOneField. I will cover the pros and cons of each, and give examples for implementing each. Creating a custom User model: With this method, you can substitute Django’s default User model with your own. Though more complex, a custom User model is particularly useful when you need to uniquely identify users by email address instead of by username. I’ll go into a couple more scenarios where a custom User model would be helpful, and show examples of implementation. Lastly, I will show how each method works with the default Django admin, and how they can be managed there.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
23:47 DjangoCon US English 2017

Get a Jumpstart on Collaboration and Code Review in GitHub

Even though open-source collaborators and code reviewers are needed more than ever, the few git learning resources that focus on these subjects are not beginner friendly. This is a missed opportunity! As the DjangoCon US Website Chair, I review pull requests submitted to the website repo. This has given me the opportunity to develop a beginner-friendly, best practice GitHub workflow. I can jumpstart your collaboration and code review skills by sharing what I’ve learned with you. This talk is for anyone, but one of my goals in giving it is to encourage other women to take leadership roles.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
27:14 DjangoCon US English 2017

Overcoming the Challenges of Mentoring

​There is an ongoing mantra within the developer community: that there are far more jobs available then programmers to fill them. Which should be an indication as to the wonderful potential for both business and those learning to code. Yet what often follows such statements are not words of joy but rather a list of frustrations related to the difficulty in finding and retaining enough skilled developers to fill these positions. The challenge is not in the number of newbies entering the field but the number who leave because they are not able to bridge the divide between bootcamps, online tutorials, books, videos, etc. to an employable developer who is able to contribute to the team. Kim has years of experience working with learners of various ages in helping them develop the skills they needed to be successful at whatever their chosen goal. She understands that for businesses to be successful, they must develop more effective and efficient ways of recruiting and retaining developers in order to meet organizational benchmarks. The developer community is a overwhelmingly generous one and a well designed mentoring or apprenticeship program could be one answer that business leaders and newbies are looking for. The business costs associated with corporate hiring managers inability to recruit and retain skilled workers to fill current and future entry-level positions are increasing (Queen, 2014). 89 percent of organizational leaders stated that they are having difficulties filling open positions, which is causing them to either turn down orders, miss key deliverable deadlines or hire individuals from outside of the United States (Aho, 2015). Aho, K. (2015). The robotics industry: creating jobs, closing the skills gap. Techniques, (7), 22.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
28:36 DjangoCon US English 2017

Programming Post-Progeny: A New Parent's Perspective

When my daughter appeared on the scene in October 2017, my life was turned upside down. As I was returning to work, I found that previous strategies for managing my time weren’t up to snuff and I needed to create new ones if I was to be effective at my craft. No longer did I have 15 minutes to “get in the zone” - I needed to get things done in any time available. I learned to carve milestones out of minutes (sometimes) and will share what did (and didn’t) work for me. I also share stories about my general journey of becoming a parent that may be helpful to anyone thinking about becoming a parent (or just wondering what it might be like!). Or you could just come to the talk for the cute baby pictures - they make everyone smile!
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
26:46 DjangoCon US English 2017

The Monster on the Project

Abusive behavior can have profound effects on personal relationships but it can also make open source contributing and office life miserable. For those stuck in a team with co workers who exhibit toxic behavior, going to work every day can feel like going to a battlefield. Knowing how to identify and how to respond to unreasonable behavior is vital. In this talk we will look at the ways we can improve our office and FOSS communities by recognizing, managing and gracefully removing this toxic behavior. Take away: What abuse looks like How it affects those around it Steps to take if you are the target of abusive behavior How to manage toxic people in your project.
  • Published: 2017
  • Publisher: DjangoCon US
  • Language: English
out of 1 pages
Loading...
Feedback

Timings

  167 ms - page object
  140 ms - search
    6 ms - highlighting
    1 ms - highlighting/33213
    2 ms - highlighting/33174
    1 ms - highlighting/33215
    2 ms - highlighting/33196
    2 ms - highlighting/33209
    3 ms - highlighting/33207
    2 ms - highlighting/33214
    2 ms - highlighting/33199
    3 ms - highlighting/33195
    1 ms - highlighting/33197
    3 ms - highlighting/33192
    2 ms - highlighting/33198
    2 ms - highlighting/33178
    2 ms - highlighting/33205
    2 ms - highlighting/33182
    2 ms - highlighting/33201
    2 ms - highlighting/33183
    2 ms - highlighting/33185
    0 ms - highlighting/33191
    2 ms - highlighting/33211
    1 ms - highlighting/33188
    1 ms - highlighting/33193
    1 ms - highlighting/33208
    1 ms - highlighting/33218
    1 ms - highlighting/33217
    0 ms - highlighting/33206
    3 ms - highlighting/33203
    1 ms - highlighting/33190
    2 ms - highlighting/33184

Version

AV-Portal 3.8.0 (dec2fe8b0ce2e718d55d6f23ab68f0b2424a1f3f)