Profile

Cover photo
Brett Slatkin
Works at haxor
Lives in San Francisco, CA
AboutPosts

Stream

Brett Slatkin

Shared publicly  - 
 
Here's the video of my #PyCon  2015 talk from yesterday! Amazingly it's already uploaded and has closed captioning.
15
3
Matt Dragon's profile photoThomas Schranz's profile photo
Add a comment...

Brett Slatkin

Shared publicly  - 
 
This item is my favorite part of the book. Hope you like it!
5
1
Brett Slatkin's profile photoJoseph Smarr's profile photoDan Sanderson's profile photo
5 comments
 
BTW, my biggest "oh whoa, yeah makes sense in retrospect, but man that woulda confused the heck out of me before i read your book" moment so far has been default={} on Item 20 being shared among all callers of the method :) i can just picture some serious wtf?!1 moments in the lives of programmers past...
Add a comment...

Brett Slatkin

Shared publicly  - 
 
First hard copy of Effective Python I've seen! Bizarre but awesome to have a year of work in your hand.
89
2
Dan Sanderson's profile photoBrett Slatkin's profile photoSamuel Tom's profile photoFelix Crux's profile photo
7 comments
Add a comment...

Brett Slatkin

Shared publicly  - 
 
Digital editions of Effective Python are now available!

This weekend you can get 35% off by using the discount code PRESIDENT after following this URL: http://goo.gl/cUgGCn

You can also get the Kindle Edition here: http://amzn.to/1AFwumA
17
3
Dan Sanderson's profile photoThiago Santos's profile photo
Add a comment...

Brett Slatkin

Shared publicly  - 
6
2
István Maczkó's profile photoAlexandre Vivien's profile photo
Add a comment...

Brett Slatkin

Shared publicly  - 
 
Instead of more words about philosophy and architecture, I decided to understand the debate between client-side and server-side rendering by running an experiment. Here are my results.
Is PPK from QuirksMode correct in saying that "client-side templating is wrong"?
44
23
Nicolas Grilly's profile photoKurt Hoell's profile photoAlex Schleber's profile photoChris Timberlake's profile photo
10 comments
 
If I required support for no JavaScript I wouldn't bother doing client side binding like angular on top of that, people really do that?
Add a comment...

Brett Slatkin

Shared publicly  - 
 
Today only to celebrate  #pycon ! Get 50% off the digital edition of Effective Python by following the link below:
4
Thomas Flaherty's profile photo
 
U s treahsury
Add a comment...

Brett Slatkin

Shared publicly  - 
 
Some thoughts on writing code to solve a problem for the first time.
The purpose of founder code is to demonstrate the intended outcome of design choices.
13
2
Dan Pupius's profile photoBrett Slatkin's profile photoEric Casteleijn's profile photoMatt Dragon's profile photo
3 comments
 
+Dan Pupius Totally agree. That's an important point! Thanks for clarifying.
Add a comment...

Brett Slatkin

Shared publicly  - 
 
Reconsidering a paper from 2003 that praises the benefits of coroutines.
Looking back on a paper called: "Why Events Are A Bad Idea (for high-concurrency servers)".
8
Kelly Norton's profile photo
 
That's cool. I was not even aware of this paper. I took my personal journey through this space, which started with me bemoaning Java's design wrt to IO & concurrency. Trying to write a high performance server that is immune to slowly connected clients is so tricky. When node was released, I embraced the model and even wanted to build a replacement for java.io. I started working on it as a hobby and later dropped it when I was trying out Go and realizing the immense practical benefits of not dealing with events directly. I'm still very fascinated that runtimes are often evaluated purely on their ability to run straight-line code quickly and those that attempted user-space threading in the past have been strongly nudged to kernel threads. Java went through this and now rust seems to also be working its way through this as well. Go and Erlang seem to have put their stake so firmly on the other side of the river by having the user-space thread decision prevalent in the libraries that the debate isn't really possible.
Add a comment...

Brett Slatkin

Shared publicly  - 
 
Some thoughts on the purpose of Python's new asyncio module.
Such a unified asynchronous programming model has been a secret weapon for our team.
7
1
george oloo's profile photo
Add a comment...

Brett Slatkin

Shared publicly  - 
 
Virtual environments in Python (aka virtualenv) can be really confusing! Here's my explanation of how to use them and why you should.
8
2
Elazar Leibovich's profile photoIstván Maczkó's profile photoDan Sanderson's profile photo
 
This is the best way I know to deploy python programs. A few modifications to the script and you can make it relocatable. A few more lines and you can get a portable app working on all relevant platforms. 
Add a comment...

Brett Slatkin

Shared publicly  - 
 
If you haven't been hit by this Python gotcha with iterators, there's no doubt you will.
8
Antonio D'souza's profile photo
 
Unless you refrain from using Python ;-p
Add a comment...
Story
Introduction
Engineering lead and co-founder of Google Consumer Surveys. Formerly worked on App Engine. Co-creator of PubSubHubbub. Author in progress of Effective Python.
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
San Francisco, CA
Work
Employment
  • haxor
    present