Hacker Newsnew | past | comments | ask | show | jobs | submit | peedy's commentslogin

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.


Is there a reason for recursive queries not being the first choice?

I had versioning problem to solve recently, and recursive CTE was my first choice (did take some time to wrap my head around but was also performant enough), https://github.com/recipehub/recipehub-service/blob/master/d...


Hey, author here. I'm surprised this got posted to HN. Anecdotally, when I first looked into ways to handle this, we tested recursive CTEs, and they didn't perform as well for our workload.

The indexed arrays work well for doing lots of queries of descendants, though are harder to manage.

One nice thing is that this approach worked well with ActiveRecord, while at the time CTE support was a bit awkward.

I'd love to see some people benchmark other approaches.



Yes they are the parse app keys, they are meant to be public.


> 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.


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".


What is the comparable workflow in TeX? Change document, generate pdf, get compile error because the page overflows, repeat?


Yeah, says that at the bottom of the page.


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.


E.g. I build a new virtualenv from scratch for each deploy, so that would mean that the postactivate script would need to be accessed from somewhere by the build process.


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.


Isn't light years a unit of distance?


Yes distance from my Laptop to Kitchen. More it takes time to load Emulator more I stay in kitchen to eat stuff.


The only thing Genymotion basically does is use a host-native image x86 based android image, rather than the actual emulated device image, typically ARM as the android emulator would do by default (for some reason).

If you use the android emulator with the x86 android image (on a HAXM capable CPU), then it runs fine. iOS has always used a simulator.


People even write their dotemacs in Org mode and use babel in their init.el to run it

https://github.com/thomanil/dot-emacs/blob/master/thomanil.o...


Even an "Emacs configuration template" (a la Prelude or emacs-starter-kit) that makes use of it (and `el-get` to retrieve and initialize packages):

https://github.com/xiaohanyu/oh-my-emacs

Nifty.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: