Skip to content

Commit

Permalink
Update djangocon-us-2024-recap.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KatherineMichel authored Oct 6, 2024
1 parent 69ce800 commit f8e8723
Showing 1 changed file with 22 additions and 44 deletions.
66 changes: 22 additions & 44 deletions doc/djangocon-us-2024-recap.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ Table of Contents
- [Speaker and Organizer Dinner](#speaker-and-organizer-dinner)
- [The Boxcar Bar and Arcade](#the-boxcar-bar-and-arcade)
- [Wednesday](#wednesday)

- [Keynote - The Fellowship of the Pony](#keynote-the-fellowship-of-the-pony-by-natalia-bidart)
- [Hidden gems of Django 5.x](#hidden-gems-of-django-5-x-by-sarah-boyce)
- [Lightning Talk Cameo](#lightning-talk-cameo)
- [API Maybe: Bootstrapping a Web Application circa 2024](#keynote---how-to-be-a-developer-and-other-lies-we-tell-ourselves)

- [Panel Discussion: Open, friendly, and welcoming: on the history and future of mentoring in Django](#panel-discussion-open-friendly-and-welcoming-on-the-history-and-future-of-mentoring-in-django)
- [Queeny's](#queenys)
Expand Down Expand Up @@ -353,11 +355,12 @@ He then gave some general tips for troubleshooting
* Be like Frances Elizabeth Holberton- "break the execution- does the system work up to this point." Similarly, Python Debugger (PDB) can be used to create breakpoints to step through the code to find the issue.
* Avoid tunnel vision- seek broad pespectives and alternative approaches

"A problem well stated is a problem half solved." John Dewey

Troushooting often involves stating the problem and asking for help
* "A problem well stated is a problem half solved." John Dewey
* Rubber duck debugging
* Know when to seek assistance
* Asking for help is a strategy. Learn how to ask for help effectively
* Learn how to ask for help effectively
* Learn how to create a Minimum Reproducible Example (MRE) to increase your odds of getting help

How to effectively ask for help
Expand All @@ -381,7 +384,7 @@ Jack encouraged the audience to document your process.

### A Related Matter: Optimizing your webapp by using django-debug-toolbar, select_related(), and prefetch_related()

Because I am already familiar with diagnosing and fixing N+1 problems, I watched Christopher Adams's talk for new ideas.
Because I am already familiar with diagnosing and fixing N+1 problems, I watched Christopher Adams's to pick up new tips.

A few reminders
* Querysets are immutable
Expand Down Expand Up @@ -531,7 +534,9 @@ More useful to me resources
<sub>[**back to top**](#table-of-contents)</sub>


### Faster, leaner, greener: 10x lower website carbon emissions by Thibaud Colas
### Faster, leaner, greener: 10x lower website carbon emissions

Thibaud Colas

My points of interest
* Wagtail developer, DSF Board Member
Expand Down Expand Up @@ -587,14 +592,20 @@ Me standing in front of the bar at Boxcar

Wednesday was deep dive day.

### Keynote - The Fellowship of the Pony by Natalia Bidart


### Keynote - The Fellowship of the Pony

Natalia Bidart

My points of interest
*

<sub>[**back to top**](#table-of-contents)</sub>

### Hidden gems of Django 5.x by Sarah Boyce
### Hidden gems of Django 5.x

Sarah Boyce

My points of interest
*
Expand All @@ -614,43 +625,11 @@ Jon during his lightning talk

<sub>[**back to top**](#table-of-contents)</sub>

[API Maybe: Bootstrapping a Web Application circa 2024](https://2024.djangocon.us/talks/api-maybe-bootstrapping-a-web-application-circa-2024/) by Carlton Gibson

<!--
My points of interest
* Blog and DjangoChat
* Paths: monitoring, evaluation, and learning for development and sustainability projects
* A year and a half in, busy bootstrapping, this talk is about that
* 2018: API first, API only?
* Backend with a REST API to consume with the JavaScript client of the moment
* 2024: "HTML over the wire" (HTMX, Turbo, Unpoly, and co.)
* 2024: something else changed, where did all the money go?
* Inflation that followed the pandemic, global supply chain crisis, Russia/Ukraine war
* Tech layoffs, can't "pick up a big bag of cash to pay for a multidisciplinary team to build the app from day one."
* Limited budget, limited time, Carlton was the only worker on the tech side
* By leveraging Django, you can get as much done as teams using more complex stacks
* "Django really shines exactly when the money is tight"
* Django is the framework for perfectionists with deadlines... "When these deadlines are financial, all the more so."
* "Django is the perfect framework for our post zero interest rate world.
* Locality of behavior, a way of assessing code. Everything you need to understand that code is in one place. Makes code easier to reason about, easier to maintain, easier to iterate on.
* The idea came from Carson Gross and HTMX
* Tailwind CSS- you can embed in the HTML to control the styling rather than keeping that code in a CSS file
* Alpine.js- a rugged JavaScript-like framework that lets you define your component behaviors in your HTML rather than in a separate JavaScript file
* HTMX adds a small set of HTML traits that expand the power of HTMX, all again without leaving your HTML
* Neopolitan- his take on quick CRUD views
* django-template-partials
* Locality of behavior can help you go faster
* Locality of behavior is a starting point not a destination
* "Use your judgement as to when you sacrifice a bit of locality of behavior as your code scales to gain in maintainability.
* Locality of benavior is a tool. It doesn't mean we abandon the good engineering practices we've learned since we were juniors.
* "Holding the line on locality of behavior can really pay dividends."
* Dry, separation of concerns, "but for everyone of those, there's a write it twice and three times refactor."
* Luke Plant: [Programming Mantras are Proverbs](https://lukeplant.me.uk/blog/posts/programming-mantras-are-proverbs/)
* [Protected variations](https://www.martinfowler.com/ieeeSoftware/protectedVariation.pdf)
* Code that is likely to change, by focusing on locality of behavior
* Violation of protected variations
*
-->
### API Maybe: Bootstrapping a Web Application circa 2024

Carlton Gibson


<sub>[**back to top**](#table-of-contents)</sub>

Expand Down Expand Up @@ -707,7 +686,6 @@ Conversation with Carol
Noah and Jib- MongoDB
Tools list
Sarah's talk link
-->

<sub>[**back to top**](#table-of-contents)</sub>
Expand Down

0 comments on commit f8e8723

Please sign in to comment.