Profile

Cover photo
John Mitchell
Works at John Tells All
Attended University of Maryland Baltimore County
Lives in Venice, CA
121 followers|91,028 views
AboutPostsPhotosYouTube

Stream

John Mitchell

Shared publicly  - 
 
networking with the Ant-ernet
Harvester ants and the Internet protocol TCP both have the same goal: maximize transfer of bits/food in as efficient a manner as possible. It turns out they use the same protocol! http://priceonomics.com/the-independent-discovery-of-tcpip-by-ants/
1
Robert Banz's profile photo
 
Except that harvester ants don't have to deal with buffer bloat.
Add a comment...

John Mitchell

Shared publicly  - 
 
<3
1
Add a comment...

John Mitchell

Shared publicly  - 
 
Docker/Fig tip: easily watch cluster logs
When using Fig to run a cluster of Docker containers, it's handy to have a console, and also a separate terminal with information so you can see what's going on.  That is, an interactive console, plus all the logs from all the containers. Use Fig to start y...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
OSX Docker Tip: set datetime
OSX doesn't directly support the awesomeness that is Docker containers. It uses an intermediate Linux virtual machine, and that runs containers for you, on your behalf. I started getting weird Amazon S3 errors. My project would work locally (in OSX), and wo...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
awful, but useful, Python
Have you ever wanted to open and decompress all log files, streaming each line to the caller? In Python, this is: import bz2, sys from itertools import chain # set 'lines' to all lines of all files after they've been decompressed lines = chain(*(bz2.BZ2File...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
speeding up tests with Postgres
Dear Lazyweb, I'm developing a site using Django and Postgres. How can I get my tests to run a lot faster? Answer: tell Postgres to use a tablespace in RAM. Selects, updates, and inserts will run at fast RAM speed vs slow disk speed. Caveat: this doesn't wo...
1
Add a comment...
Have him in circles
121 people
Tyler Bischel's profile photo
Wook Wook's profile photo
aswathy divakaran's profile photo
Victor Bonacci's profile photo
claudiu Bulgariu's profile photo
Chuck Wigginton's profile photo
Stella Louise's profile photo
An-Lon Chen's profile photo
Grig Gheorghiu's profile photo

John Mitchell

Shared publicly  - 
 
Testing Patterns
Testing code is hard. As a developer, I want to write cool code to solve interesting, real-world problems. I don't want to be "smart" and write "smart tests" that are inscrutable, rather than spending time on writing more (feature) code. Here an article tha...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
Docker/Nginx Tip: run standalone
Instead of using Docker to tweak your Nginx config, it's possible to run Nginx directly so it won't become a daemon and make your container exit.  To wit: nginx -g 'daemon off;'
1
Add a comment...

John Mitchell

Shared publicly  - 
 
extra Docker networking goodies
I work a great deal with Docker, connecting webservers and databases together, hiding everything behind a caching proxy like Nginx.  Docker is a wonderful tool, providing isolation and semi-magical capabilities like hiding an entire "cluster" of machines be...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
tiny "Hello World" webserver
I'm writing a Nginx configuration that will wrap password protection on top of a bunch of dependent web servers. For testing, I want a few "hello world" type web servers, each of one gives a different message, but is really tiny. The following is what I cam...
1
Add a comment...

John Mitchell

Shared publicly  - 
 
"Networking Tricks with the Linux Kernel" talk is TOMORROW!
In Los Angeles, Near Howard Hughes. Come drop by!  http://www.meetup.com/UUASC26/events/208257162/
1
Add a comment...

John Mitchell

Shared publicly  - 
 
talk Thursday: Networking Tricks with the Linux Kernel
If you're in LA, come see me Thursday at the Unix Users meeting! Everyone knows about networking. The Linux kernel provides a wide range of networking and other services, most of which are not generally known. In fact, a lot of what "everyone knows" is wron...
1
Add a comment...
People
Have him in circles
121 people
Tyler Bischel's profile photo
Wook Wook's profile photo
aswathy divakaran's profile photo
Victor Bonacci's profile photo
claudiu Bulgariu's profile photo
Chuck Wigginton's profile photo
Stella Louise's profile photo
An-Lon Chen's profile photo
Grig Gheorghiu's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Venice, CA
Previously
Baltimore,MD - Dallas,TX - San Antonio,TX
Links
Other profiles
Contributor to
Work
Occupation
Trainer and Consultant
Skills
Asynchronous programming, Django, Python, DevOps
Employment
  • John Tells All
    2014 - present
  • Enventum
    Senior Programmer, 2012 - 2013
  • SendGrid
    Senior Programmer, 4 - 2013
  • Enventum
    Chief Technical Officer, 2013 - 2014
Education
  • University of Maryland Baltimore County
    Computer Science
Basic Information
Gender
Male