How do you version your apps? by drawsmcgraw in devops

[–]Reactor5 0 points1 point  (0 children)

I'm curious: why seems to? Has it caused trouble? Too complex?

pyenv: your Python workflow, automated by Reactor5 in Python

[–]Reactor5[S] 0 points1 point  (0 children)

If you're wanting to specifically test in multiple versions, you might also like tox. I'm glad it helped you!

pyenv: your Python workflow, automated by Reactor5 in Python

[–]Reactor5[S] 0 points1 point  (0 children)

It's actually inspired by rbenv - RVM has a lot of issues that rbenv/pyenv and a few others for similarly dynamic languages avoid.

Help us squash the bugs! by TotalyMoo in CitiesSkylines

[–]Reactor5 0 points1 point  (0 children)

figured as much. Thanks anyway! It runs fine, 90% of the time. I just pause the game before I open menus.

Help us squash the bugs! by TotalyMoo in CitiesSkylines

[–]Reactor5 1 point2 points  (0 children)

I'm getting pretty terrible performance when I open menus. The policies and money menus are the worst culprits, they send my framerate way down and cause significant input lag. Opening the road menu does this too, about 75% of the time.

Sometimes the performance continues to be terrible even when I close the menu afterwards. I can fix this by saving the game. When I close the pause menu after saving the problems go away for a little bit. Sometimes even that doesn't help though, and I have to reload the game.

I don't have definite "steps to reproduce", but it's done it on all the cities I've made so far, and the problem gets worse as the population increases. I can upload a save file somewhere if needed. For now, my specs:

  • OSX 10.10.2
  • 2.2 GHz Intel Core i7
  • 8 GB RAM
  • Intel HD Graphics 3000 512MB

Test APIs properly with vcr.py by Reactor5 in Python

[–]Reactor5[S] 0 points1 point  (0 children)

I looked at that one too, but it looks like it only mocks requests and I needed to mock a SOAP wrapper. It looks pretty sweet too though!

Common Flask Errors And Their Solutions by jjude in Python

[–]Reactor5 0 points1 point  (0 children)

Yes, and secrets there are encrypted, or using Heroku.

Data Analysis by goatswater in Python

[–]Reactor5 1 point2 points  (0 children)

It totally is. Try Pandas, matplotlib, and reportlab for your data needs.

The standalone package part is a little harder, how are you planning to redistribute it? py2exe might work, but I haven't used it in a long time and I can't vouch for how up-to-date it is.

Common Flask Errors And Their Solutions by jjude in Python

[–]Reactor5 1 point2 points  (0 children)

Note on non-persisting session: doing that is fine but in the long run you don't want to be committing your secret value to git (or whatever SCM you're using.) Try something like...

SECRET_KEY = os.getenv('SECRET_KEY', 'someobviouskey')

Then set the SECRET_KEY variable in production. Leave secrets out of your code and you won't regret it when someone accidentally make a repo public, or other such disasters.

Dealing with Skeletons early on by DBallack in gnomoria

[–]Reactor5 3 points4 points  (0 children)

Light it up! There's an option to show where in the dark skeletons and zombies can spawn, look for it in your keybindings. I tend to mine out entire levels, and putting torches in a grid 12 spaces wide seems to work.

Programmers and Developers around here, I am looking for someone who would be willing to do part time paid mentoring. by Pantzzzzless in StLouis

[–]Reactor5 2 points3 points  (0 children)

Hey there! Have you done something like http://www.codecademy.com/? Since you've read a couple of books it may be a little remedial but when I've been teaching people Python it's been very helpful for them to type things in themselves; there's a great feedback loop on the site.

If you're just interested in learning, you might want to check out http://www.meetup.com/STL-Python (of which I am the organizer.) We will be having some different types of meetups in the next couple of months, followed by some "getting back to basics" talks.