@MikeHermani
iAccount based inUnited States
About this account
- Account based in
- United States
- Connected via
- United States App Store
Account-level information from X, not a live location or the device used for a specific post.
Engineer @MonitaurAI. Founder and author @TestDrivenio.
Denver, CO
Joined February 2012
- Tweets28.7K
- Following173
- Followers3.4K
- Likes15.2K
Michael Herman retweeted
best Guide for this topic i've found. thanks Mike! Dockerizing Django with Postgres, Gunicorn, and Nginx from @TestDrivenio by @mikeherman testdriven.io/blog/dockerizi…
Michael Herman retweeted
Great tips here by @MikeHerman
testdriven.io/blog/django-pe…
Michael Herman retweeted
I always felt that kids being homeschooled lose out on socialization and recess. What I’ve realized is socialization at school is a bug and not a feature - teenage yrs are spent playing zero sum status games. There are ways to build productive social programs.
Michael Herman retweeted
Dockerizing Django with Postgres, Gunicorn, and Nginx from @TestDrivenio by @mikeherman testdriven.io/blog/dockerizi…
Michael Herman retweeted
Asynchronous Tasks with Flask and Redis Queue from @TestDrivenio by @mikeherman testdriven.io/blog/asynchron…
Michael Herman retweeted
Developing a Single Page App with Flask and Vue.js from @TestDrivenio by @mikeherman testdriven.io/blog/developin…
Michael Herman retweeted
Coupling Flask with a front-end framework like #React, #Vue, or #Svelte?
Use session cookies for auth (even cross-domain).
Why?
1⃣It's easier
2⃣It's safer than using JWTs and localStorage
testdriven.io/blog/flask-spa…
by @amal_ytics
#Flask
Michael Herman retweeted
Deploying a Django App to Fly
testdriven.io/blog/django-fl…
Along with deploying the Django app, you'll-
1⃣Spin up PostgreSQL
2⃣Set up persistent storage via Fly Volumes
3⃣Link a domain name to your app
3⃣Obtain an SSL certificate with Let's Encrypt
#Django @flydotio
Michael Herman retweeted
Progress! ✨🚀
Long way to go but @FastAPI with @pydantic v2 is cooking. 👨🍳
Big kudos to @david_montague_ for a lot of work on this from the Pydantic side. 🙇
Michael Herman retweeted
Want to deploy your own Django app?
This blog post by @duplxey and @MikeHerman on @TestDrivenio explains how to do that with Elastic Beanstalk.
If you have more learning recommendations for beginners, please add them here: heyoctopus.com/content/cobie…
testdriven.io/blog/django-el…
Michael Herman retweeted
What a lovely tutorial @MikeHerman!
Deploying a Django App to Render from @TestDrivenio testdriven.io/blog/django-re…
Michael Herman retweeted
Python tip:
Any immutable type can serve as a dictionary key (it also must be hashable).
That means a tuple can be a dict key, but a list or a dictionary can't.
Using tuples as keys can be a great way to search through dictionaries based on multiple parameters.
Michael Herman retweeted
Docker Best Practices for Python Developers
testdriven.io/blog/docker-be…
Looks at several best practices to make your Dockerfiles and images cleaner, leaner, and more secure.
by @amal_ytics
#Docker #Python @Docker
Michael Herman retweeted
Asynchronous Tasks with Django and Celery from @TestDrivenio by @mikeherman
testdriven.io/blog/django-an…
#python #Python3 #pythonprogramming #django #celery #redis #devops #development
Michael Herman retweeted
I might have missed something because of vacation, but there are still some interesting articles and projects I found #ThisWeekInPython🐍
Happy weekend! 🥳
Michael Herman retweeted
Django vs. Flask in 2022: Which Framework to Choose from @TestDrivenio by @mikeherman testdriven.io/blog/django-vs…
"Django and Flask have mature communities, are widely supported and popular, and offer productive approaches to application development"
#Django #Flask #Python
Michael Herman retweeted
Python testable code tip:
Keep signatures of methods simple and implementation independent
Why?
- easier refactoring
- better encapsulation
- easy to use different implementations
- ability to use contract tests
👇
Michael Herman retweeted
Dockerizing Django with Postgres, Gunicorn, and Nginx from @TestDrivenio by @mikeherman testdriven.io/blog/dockerizi…
Michael Herman retweeted
Python 3.11: What's New
testdriven.io/blog/python311…
by @jangiacomelli
The most interesting new additions and improvements to the #Python language:
1⃣Faster CPython
2⃣Improved type hints
3⃣Better error messages
4⃣Exception notes
5⃣TOML library