peedy
peedy on Hacker News
Posted by
peedy on Monday April 02, 2018 @12:23PM
from the marc.info dept.
To upgrade to a new snapshot :)
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.
> to compile the Python lxml library.
If you have to do it very often, I've had good success with keeping compiled python wheels around.
Posted by
peedy on Sunday November 29, 2015 @03:19AM
from the ask-hn dept.
Hi,I want build VMs for an open source project (https://github.com/frappe/erpnext). This requires booting a vm and exporting its image. VPS services like DigitalOcean and Linode are superslow. I didn't have much success with Travis-CI as well.My current setup is ansible + packer + virutalbox and it builds quite fast on my local.Is there any vm build service that we should be looking at? $10/mo...
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".
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.
Isn't light years a unit of distance?
Posted by
peedy on Wednesday October 15, 2014 @05:36AM
from the blog.freenode.net dept.
I think you can setup nginx proxy with cache. Unfortunately, that's easy only for public files and authenticated requests won't save you much (for that you can also write a small script to authenticate yourself if there's a cache hit).
I just installed TST and it lost all my 4 pinned tabs but could pin them again with no issues.
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.
Posted by
peedy on Thursday June 26, 2014 @10:24AM
from the kushaldas.in dept.
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
> 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
The screen shots were leaked a few hours before the keynote started. So, they might have seen it coming.
Posted by
peedy on Friday May 23, 2014 @02:48PM
from the frappe.io dept.
Sheet music sounds like assembly.
Many people from Europe do that. It does sound cooler.
What are your thoughts on Neal Ford and Stu's Clojure from inside out series?
In my experience it is the other way round. I run Linux 3.13 on Macbook pro (Early 2011). OSX takes 2~4 seconds, linux takes ~1 second.
I think that's why when you buy a replacement adaptor in India, they give one with UK plug (which has the three prong). However, even with such an adaptor, I experience earth issues (if put my plugged in headphones around my neck, they shock like eletriculing leashes).