HN user

peedy

211 karma
Posts8
Comments43
View on HN

South bay from? My summer gig is in downtown Mountain View and I stay really close to San Jose Diridon station. Looking at the schedule, the train ride can be as short as 15 minutes (SJ to MTV) and the rents here are ~$3K/mo for a 2 bedroom apartment.

One case where HTML won't work as a TeX replacement is when you have to think in terms on a page. For example, if you're making a resume and don't want it go over one page, it becomes a tedious process to "change CCS, Print preview, repeat".

[dead] 11 years ago

Yeah, says that at the bottom of the page.

I was talking about local dev install where you can activate postactivate script is run after you source activate or call workon. In prod, you will not be activating the env but running executables directly from the env.

ie, your process manager will call /path/to/env/bin/gunicorn and in this case, you'll have to configure the env variables here (in the process manager (supervisor)) config.

If you're on a django project, most probably you're using virtualenv. I had a habit of just putting environment variables in the postactivate script.

[dead] 12 years ago

Seems like their background workers were down too. My colleague sent a pull request before the went down and got the notification just a few minutes ago.

Has anybody been able to make a priority queue (with a single worker) in celery?

Eg, execute other tasks only if there are no pending important tasks.

As making a policy involves no communication with Amazon, I used to just create a policy on the fly for every upload request that said "allow upload to this specific key(path)". The key would be unique to every upload request. Once the upload is done, I'd just start processing the upload and move it where it belongs.

Thus, in plaintext you'd have to put only your AccessID and a policy which would expire after a few minutes.

EDIT: typo

OS X Yosemite 12 years ago

At least my Mac recognizes and uses a second monitor when I plug it in, unlike the bloody Fedora 19 box that I use at work. And don't get me started on that second graphics card that the system can't figure out how to use! And the wifi Just Works(tm), unlike the Ubuntu laptop that I had before that.

You can write a udev rule for that

These days you just have compile it with --with-http_spdy_module in configure step. (for the current 1.4.6-stable). We were about to go into production but will hold it off.

Also the current mainline 1.5 version has implementation of spdy/3.