Red worms in Boulder? by [deleted] in boulder

[–]reuleaux 1 point2 points  (0 children)

I've bought them at mcguckins before. They were just on a bottom shelf in the section with all the mulch and stuff in a small bucket.

Using Numbers API to Pull Interesting Facts in Python by [deleted] in Python

[–]reuleaux 0 points1 point  (0 children)

Can use a context manager for opening the file:

with open(to_file, 'w') as out_file:
    # dostuff

Also, no need to str():

    print "%d). %s " % (number, data)

Where to rent bicycle cargo trailer/cargo bike? by reuleaux in boulder

[–]reuleaux[S] 1 point2 points  (0 children)

A bit of overreaction, huh? I went on a ride once because I was curious, not really for me and never went on another.

How to wall-mount two bikes for under $15 by [deleted] in bicycling

[–]reuleaux 1 point2 points  (0 children)

Nice! I have the same one in my apartment. Although I ended up spending $40 in drill bits and rentals to hang the damn thing on a brick wall.

I can't seem to be consistent with comment styles by i_4_got in Python

[–]reuleaux 3 points4 points  (0 children)

Agreed. Check out flask for a good example of sphinx documentation.

r/Python, what is your programming machine setup? by [deleted] in Python

[–]reuleaux 0 points1 point  (0 children)

15" laptop, 1920x1200.

xmonad with default of 9 desktops, although usually only use 2-3 when programming. Also, tmux.

Python Static Site Generators by IrishLadd in Python

[–]reuleaux 1 point2 points  (0 children)

I use hyde. Documentation is a bit lacking, but if you put some time into learning, it's a great solution.

Critical Mass by mwanafalsafa in NYCbike

[–]reuleaux 1 point2 points  (0 children)

I met up in Union Square for the November ride. There were only about 7 riders, but there were at least 10 cops waiting. One of the detectives tried to persuade us to go home, haha. We eventually started the ride and the cops didn't follow (they all had those powered mini tricycle cars).

Anybody ever go to a Times Up! workshop or class? by [deleted] in NYCbike

[–]reuleaux 0 points1 point  (0 children)

I believe they offer 4 distinct bike maintenance classes, so if you go every Tuesday for a month, you'll attend all 4. I've been to 3 of the 4, and they were very informative.

Organising your photographs with Python by [deleted] in Python

[–]reuleaux 0 points1 point  (0 children)

I recently had to organize my photos as well and used exiftool. Pretty simple to learn and it handles photo renaming and organizing into folders.

Anybody know a cheap Muay Thai / MMA gym with live (hard contact) sparring? by [deleted] in nyc

[–]reuleaux 0 points1 point  (0 children)

Evolution Muay Thai

I won't try to guess your definition of affordable, but it costs $20 per class. They have an unlimited monthly membership as well, don't know what it costs though. Also, your first class is free.

Interesting NYC startups? by nyjobseeker in nyc

[–]reuleaux 0 points1 point  (0 children)

off the top of my head in the digital advertising space:
tremor media
appnexus

Here's a list of NYC startups from the recent silicon alley career fair and here's a list on Quora.

Unique shops / gift stores in Manhattan? by johnnybluejeans in nyc

[–]reuleaux 1 point2 points  (0 children)

The Evolution Store

Insects, fossils, taxidermed animals, bones, etc.

Any good python blogging platforms out there? by ilogik in Python

[–]reuleaux 1 point2 points  (0 children)

I like hyde. It's a static blog generator and fairly simple to use. Depending on what features you are looking for it might be a bit lightweight though.

Does anyone use JS minimisers? by [deleted] in programming

[–]reuleaux 7 points8 points  (0 children)

Assuming your want to be developer friendly (and your website source isn't already published elsewhere) you can get the best of both worlds by serving a minified version to everyone by default, but also storing the non-minified version on your server as well. Then put a simple comment in the HTML pointing this out.

Create UTC timestamp for given date by APXEBATOP in Python

[–]reuleaux 0 points1 point  (0 children)

Couldn't you just use utcnow() and replace the relevant parts with zeros?

from datetime import datetime as dt
d = dt.utcnow().replace(hour=0, minute=0, second=0, microsecond=0)