HNHacker News
TopNewBestAskShowJobs

jacobian

4,122 karma · joined December 8, 2008

http://jacobian.org/
submissionscomments
jacobian··on What’s New In Python 3.3
> A "year or two" of the core Django team's time is easily several million bucks.

Ahhhahaha, ahhhahahahahahahahahaha! Good lord I wish this was true!

jacobian··on What’s New In Python 3.3
The general advice I give is: "Python 3 if you can, Python 2 if you must."

That is, if you can use Python 3, you should: it's the future of the language, and it feels it. I find Python 3 significantly more pleasant than Python 2; nearly all the bits that annoy me about Python are fixed in 3. Python 3 is cleaner, the standard library is de-crufted and easier to navigate, and (most important to me) handling unicode doesn't suck.

However, as others in this thread note, significant parts of the Python ecosystem haven't finished porting yet (Django, Twisted, yada yada yada). If you rely on one of those things, then stick with Python 2. If that code lives fo a long time you will have to face a porting effort later on, but that's improving somewhat as the community discovers new techniques and creates new tools.

jacobian··on What’s New In Python 3.3
I've written about this on HN before; see http://news.ycombinator.com/item?id=3600402.

The situation hasn't changed. If you want to work with Django on Python 3, go ahead; the code's right there for you. We need the help: it's going to take a lot of burn-in to make sure we get everything right.

If you're waiting for it to hit trunk, fair enough I guess (though it's a purely arbitrary decision on your part; the only difference between the branch and what'll hit trunk is the URL). That should happen shortly after 1.4 ships, so quite soon now.

jacobian··on Django 1.4 Beta 1 Release
It's available; see https://bitbucket.org/vinay.sajip/django/. This is in "ready to merge" status, i.e. it's technically ready to the point we want to merge it into Django proper. I hope to do so soon, possibly as soon as next month at the PyCon sprints.

However we decided not to merge this in for 1.4 for a couple of reasons:

1. As you might imagine, it's a big patch, and potentially destabilizing. Although it's in a good state now, it go there fairly late in the 1.4 cycle. If we'd merged it there wouldn't have been enough time to be sure we didn't break anything for 2.X users. So we held off the merge to make sure that 1.4 was as stable as possible.

2. The approach Vinay took (and the one we're sticking with) is a single-source approach. That is, a single source tree to support both Py2 and Py3, no 2to3 translation needed. The difficulty of this approach is directly proportional to how far back in the 2.X line you want to go. We promised that Django 1.4 would support Python 2.5, but single-source including 2.5 is a lot harder (and makes MUCH uglier code) than single-source for 2.6+. So we made the call to make the Py3 support depend on dropping support for 2.5, which we'll do for Django 1.5.

So, all in all, time timing wasn't right for Py3 support in 1.4, but it is right for Django 1.5. Which is why I expect to see this branch merged shortly after the final 1.4 release.

jacobian··on Show HN: Hackershelf. Community curated collection of legally free books
okal, please turn DEBUG off. It exposes a number of things you don't want the public to be reading.
jacobian··on Thoughts on Python 3
That's awesome - write about what you do, please? The Python3 web world is still in its infancy, and I'm really interested to hear how it goes
jacobian··on Thoughts on Python 3
It is, however, a question of "when", not "if".
jacobian··on [Django] Python 3 port - all tests now pass on 2.7.2 and 3.2.2
Yes, although in the end Vinay moved in a different direction (single shared source instead of 2to3). I'm really interested in diving in and figuring out some of the pros and cons of that approach; I hadn't thought it as going to be possible on a codebase like Django.
jacobian··on [Django] Python 3 port - all tests now pass on 2.7.2 and 3.2.2
Yup, it was. PEP 3333 (http://www.python.org/dev/peps/pep-3333/) was accepted and finalized this summer.
jacobian··on [Django] Python 3 port - all tests now pass on 2.7.2 and 3.2.2
You can find the code here: https://bitbucket.org/vinay.sajip/django. I'm still trying this out myself, but one interesting thing to note is that Vinay chose to use a single-source strategy instead of running things through 2to3.
jacobian··on Preventing brute-force attacks with django
I'm not aware of any timing attacks against Django.

If there are attacks that we should be aware of please be a good open source citizen and report them to `security@djangoproject.com`. We take security reports very seriously, and want very much to fix any issues that're disclosed!

[edit to clarify: I'm one of the lead developers of Django, and one of the members of the security team that gets emails sent to the `security@` alias.]

jacobian··on I helped drive Adobe's acquisitions of Typekit and Nitobi. AMA
Jason Kottke writes:

When I heard the news, my immediate reaction was not positive. [...] No one I know is filled with joy when using Adobe products...mostly the opposite. Typekit is a great service; I hope Adobe keeps it that way.

(http://kottke.org/11/10/adobe-acquires-typekit)

This sums up my reaction, as well: I use Adobe products because I have to, not because I want to.

I assume you'd disagree with folks like Jason and I about the joylessness of Adobe products, but I'd guess that we'd all agree of the importance of keeping TypeKit simple and elegant.

So what safeguards, if any, have you been able to put in place to ensure that TypeKit maintains its je ne sais quoi as it becomes an Adobe product?

jacobian··on Python and Django on Heroku
> ...but what sets them apart now?

As a very happy user of some of Python PaaS services [1], there are a few reasons why I don't see myself switching to Heroku:

* These services are written by our community, for our community. The principles at most of these companies are people I've known for years. I've reviewed their code; they've reviewed mine. We'd argued, commiserated, and bought each other whiskey. They've helped shape the Python/WSGI/Django ecosystems. Their tools embody the best practices from our communities because they were there when those practices were debated and determined.

This is by no means a slight on Heroku's staff: I've met people from their team, as well, and they're wicked smart, very motivated, and highly focused on delivering an awesome product. Which it is! But as a company, Heroku is going to have to do some work to get to the same level of trust as the companies that have grown organically out of our community.

* Deploying a Python stack on Heroku is something of a small pain: there are few defaults, so you're left to do most of it by hand.

Take, for example, the bits from the Heroku/Django tutorial about configuring Celery. Not a lot of work, to be sure, but it is some work, and the result won't perform well at all (it uses a database for message transport instead of something that'll perform better). On mot Python-specific PaaS offerings, a single line in a config file (or checkbox in a web UI) gets you a fully-configured, optimized, ready-to-roll Celery setup.

I'm pretty damn good at deploying Python setups. I'm not going to use a PaaS offering unless it provides similar features to a hand-rolled setup for less work/money.

* On Heroku, I'm a small fish in a large pond. I'm the weird customer doing Python, but the bulk of their cash (presumably) comes in from their Ruby customers. Deploying Python on Heroku feels rough around the edges. A trivial example is the broken links in the Python documentation: it's no big deal, and easily fixed, but the many similar rough edges send the message that Python support is a hobby project, a sideline to the main business.

This will probably be fixed with time, I think, but again: it's going to be quite a while until I feel I'll get the same level of support on Heroku as on a tool that comes out of the Python community.

* Finally, Heroku really expensive compared to most of the Python-specific offerings. Maybe a typical Django site features more "pieces" than a typical Ruby one (???) -- a standard "smallish" site of mine will consist of Django, a task queue (Celery), a search server (Solr), a non-relational DB (Redis), and a relational database (PostgreSQL).

On Heroku, this will easily run me $100/mo. By comparison, I'm paying between $15/mo and $50/mo for sites of similar size on some of Heroku's competitors.

So all this to say: I welcome Heroku to this space; more competition is awesome. It'll really make life better for every Python web dev. But it's going to take some serious work to convince me to switch.

[1] I'm really sorry to be obtuse here, but I'm trying to be careful not to write anything that might be construed as an endorsement. As a Django core dev I don't feel comfortable playing favorites (just look at the drama that ensued when GvR had the temerity to say that he liked Django...)

jacobian··on Cornell Ergonomics Web finds standing desks present their own issues
Over the last couple of years I've been having a couple of problems at work: increasing lower back pain and decreasing attention span. I had no reason to assume either had anything to do with my desk: I, too, rock the Aeron and think it's comfy as heck. I've got my keyboard and monitor at the right height. I take breaks every 30-60 minutes and go walk around. Etc.

But as the back pain kept getting worse, I finally decided to give the standing desk thing a try about 3 weeks ago. I expected my back to start feeling better, and it did -- great! But the unexpected benefit has been vastly increased focus: I somehow feel much more motivated standing than sitting. There's something that feels incredibly silly about watching YouTube or reading Hacker News while standing, and so I just don't do it. I've been more productive these last 3 weeks than I've been in a long, long time.

Perhaps it's just the novelty of a new situation; who knows. But I'm going to stick with it, for now.

jacobian··on Fulcrum - Open Source Agile Project Management Tool
Please read what I wrote more carefully. I didn't say that the the Fulcrum developers were stealing. I said that I would feel like I was stealing from the Pivotal developers by using a free clone instead of paying for the original. Since Fulcrum os (or appears to be) so similar to Pivotal I'd feel as if I was choosing it simply to avoid paying, and that isn't a feeling I'd like to have.
jacobian··on Fulcrum - Open Source Agile Project Management Tool
I don't think I'd feel comfortable using such a direct clone of someone else's software. From a cursory glance it doesn't seem that Fulcrum brings anything new to the table, so using it would make me feel like I was stealing from Pivotal.

Hopefully over time Fulcrum can differentiate itself and compete on features, not on price.

jacobian··on Django Offline Docs
> I think Django should make this official.

Good call - I just did. There's a "download" link in the sidebar now.

jacobian··on Django Offline Docs
Also see http://readthedocs.org/projects/django/ for a couple of other formats: ePub and manpage (that's a long manpage...)
jacobian··on Google docs: Try out a new look and keyboard shortcuts for your documents list
Google seems to have decide that red equals "create" -- all the new designs have a red button for creating a new message / document / ...

My brain's having a lot of trouble with this. I'd be really interesting in the reasoning that went into re-mapping a color usually used for "stop" or "delete" or "danger" onto "create".

jacobian··on Open source needs designers
> Open source really doesn't want designers.

I'm certainly not going to speak on behalf of every open source project. But the ones I work on? This couldn't be farther from the truth.

If you're a designer and want to contribute to Django PLEASE hop on django-developers or get in touch. I would love to have you.

[I think there's a kernel of truth in iamcalledrob's comment. Designers and developers often speak different languages, and I think this can often make designers feel unwelcome. I've neither the space nor the time to expand on this thought, however.]

jacobian··on Django 1.3 vs Rails 3: A not so final showdown
We've had that implemented since... I dunno, about six months ago maybe? (screenshot: https://skitch.com/jacobian/fgjmc/django). Not sure why you didn't see it. I wouldn't be surprised if Trac somehow didn't show it to you; it's a bit of a mystery to me some times.
jacobian··on Django 1.3 vs Rails 3: A not so final showdown
Sorry about the spam filter. We get a shitton of spam (I think we're the largest Trac instance anywhere) and it makes the spam filter rather paranoid. If you're signed in it shouldn't get triggered.

Password reset is here: https://www.djangoproject.com/accounts/password/reset/

jacobian··on DotCloud Pricing Announced
I'm not sure what "piggyback" SSL means, or "unlimited" for that matter — but no matter; it's clear enough that you're not using SSL as a way of getting people to upgrade.

Thanks for clarifying; the pricing page made it seem like you'd need to upgrade to get SSL, hence my rant. I'll edit the parent a bit to make it less hostile. Sorry about the misunderstanding!

jacobian··on DotCloud Pricing Announced
The huge jump from $0/mo to $100/mo makes this a non-starter for me, and I suspect I'm not the only one. I think these pricing points are a mistake; as someone very interested in this market it'll be interested to see if I'm right or not.

I'll try to explain:

I'm a reasonably skilled ops guy, so for big stuff I'm still going to want the control that running my own stack gets me. I suspect most larger customers will be the same: the advantage of a hosted platform over one I design and build isn't proven yet.

But I also have a bunch of tiny one-offs that need homes, so a PaaS offering is super-attractive. I can pretty easily deploy a couple-three of those things on a EC2 or Rackspace instance, so once you factor in my time I'm probably looking at $5-10/mo per app being an attractive price point. So it's damned hard to argument with free!

But — and here's the big thing that'll keep me off Dotcloud — if those small apps get a bit bigger, then what? Well, on my hand-rolled VPS my cost'll double or maybe triple, so I'm looking at say $30/mo. On Dotcloud? I'd jump right to $100/mo.

I suspect this "jump" — and the unknown and likely huge jump that follows when I go from "pro" to "enterprise" — will keep most casual, smallish hobbyest or lifestyle businesses away.

So if large projects stay away, and small projects stay away... what's left?

My guess is over time we'll discover that utility-based billing is going to be the model that makes the most sense for PaaS and that artificial tiers will go the way of the dodo.

[Edit: the following "PS" was a bit hasty; I misread the pricing detail page. Leaving it here because otherwise the discussion below doesn't make sense, but I'M WRONG and THE FOLLOWING DOESN'T APPLY TO DOTCLOUD.]

PS: Oh yeah, one other thing:

Given all we know about web security, having SSL as a value-add makes you look irresponsible at best, and manipulative, opportunistic, unethical, and idiotic at worst. SSL isn't optional, people, and I won't give my patronage to anyone who doesn't get that.

jacobian··on Django 1.3 vs Rails 3: A not so final showdown
I completely agree -- as the docs have grown in size [] the organization has gotten worse. Originally I designed the structure to be similar to what you laid out, but things have gotten a bit out of control lately.

We're workin' on it, though, so if you'd like to help out I'd really appreciate it!

[] The length has nearly doubled in the last two years.

jacobian··on Getaround Wins TechCrunch Disrupt
Right now it looks like they're requiring Facebook accounts to rent cars, and so they can (presumably) use the Facebook social graph as a rough proxy for trustability. Personally I sorta hate that policy (I've not got a Facebook account...) but it's a fairly good idea, I think.

And, of course many, many said similar things about AirBnB -- "couldn't a thief just book a room for the night and then make off with the TV?" -- and that's proven not to be much of an issue in practice.

jacobian··on Getaround Wins TechCrunch Disrupt
Maybe TheSkeptic (brand new account) is a competitor?

Ugh, that's a shitty attitude. I think one of the good things about HN is that people here usually give each other the benefit of the doubt and assume good intentions. Lobbing accusations of bias around are a good way to kill that friendly tone. Unless you've got actual proof of bias perhaps you could keep your accusations to yourself next time?

jacobian··on I refuse to tolerate assholes
I was thinking of two specific instances (luckily this sort of crap is rare and it's only happened to me those two times).

In the first instance, the person in question was my direct boss and was responsible for reviewing my code. He'd routinely call me an idiot, a retard, etc., and during meetings he'd often say things like "no, we can't give that to Jacob - he'll just fuck it up." Now, in his defense I was a pretty shitty developer at the time, but I do believe there are more constructive ways of reviewing code than calling the author a retard. I dealt with it for a few months, and finally asked his boss to transfer one of us. When I explained the reasons, this person was fired.

In the second case, my coworker was showing up to work drunk, yelling and cursing at coworkers, and routinely threatened violence -- "I'm gonna beat your ass if you don't shut the fuck up" was, I believe, a common line. Once he threw a chair through a window halfway through a (technical) meeting. Again I was too much of a coward to call him on his behavior directly, but yes I spoke to first my boss, then his, then the owner of the company. Nothing changed, so ultimately I quit.

In retrospect I certainly didn't behave perfectly: I should have confronted the behavior directly, and I should have made clear what my expectations were with regard to a professional working environment. But I was young, and all in all I'm proud of myself for not tolerating abuse (even if I didn't go about it quite right).

jacobian··on I refuse to tolerate assholes
I think perhaps I haven't been clear enough, because most here seem to be missing what I intended to be my central argument; to quote:

I will call out antisocial behavior, enforce professionalism in the communities where I have the power to do, and leave the communities that cannot at least offer civility.

In other words, if someone's being a jerk, we should call them on it. I didn't mean to suggest dividing the world into "assholes" and "good people" — clearly there's a spectrum, and clearly even saints have bad days. And I certainly didn't mean we should ostracize people at the first sign of shitty behavior.

But if someone's abusive, and they refuse to moderate their behavior, then either they need to leave or I will. I just can't accept that allowing abusive behavior is the price we have to pay for good code.

jacobian··on I refuse to tolerate assholes
In the case I'm talking about, the gentleman in question threw a chair out a window halfway through a meeting. This after months of threatening violence against co-workers after showing up to work drunk.

You bet your ass I asked for him to be fired. He wasn't, so I quit.

I'm very sorry that my post rubbed you the wrong way. My intention is simply to suggest that we shouldn't tolerate antisocial behavior in our communities, and that we should ask those behaving badly to stop. Do you disagree?

← PreviousPage 6 of 10Next →