Saturday, December 06

Geek

Dang

So, I'm moving my web development (both here at mee.nu and at my day job) over to uWSGI.  I've been using Green Unicorn, which is quite good, and CherryPy load-balanced by Nginx or Pound, which also works fine, but uWSGI has a lot of neat features, some of which I need, and doesn't work with Node.js, which is always a bonus.

uWSGI doesn't install on Windows, though really just due to some minor differences in the Python standard library, which could be fixed if someone cared enough to do so.  But no-one wants to actually run uWSGI on Windows, so no-one cares.

If you install Cygwin on Windows, which provides something very like a Linux environment, uWSGI does work.  Installation is really slow for no obvious reason, but it works.

But...  The reason I needed it installed locally is that I use PyCharm as my IDE, and PyCharm needs all the libraries installed so that it can check your code.  Turns out that PyCharm can't make head nor tail of Cygwin, so the entire exercise was pointless.

/images/Yuno.jpg?size=720x&q=95

PyCharm can use a remote environment to check your code - you can point it at a Linux box with everything installed to your specification and it will run the tests there.  This works, but is fiddly.

The other alternative is to just get a Mac.  I'm sure something I need doesn't work on Mac, but I don't know what it is yet, so right now that looks like a good idea.

Posted by: Pixy Misa at 09:08 PM | Comments (7) | Add Comment | Trackbacks (Suck)
Post contains 250 words, total size 2 kb.

1 With Homebrew and Perlbrew, the set of things I need that don't work on a Mac is quite small these days. Fink and Macports were always iffy (especially for several months after a major OS release), and Apple has a nasty habit of breaking the Perl they supply, as well as sticking to a particular release for a long, long time.

-j

Posted by: J Greely at Sunday, December 07 2014 05:18 AM (1CisS)

2 Yeah, there's a few things like TokuMX (which is becoming the main database used at my day job) that doesn't have a Mac version, but it can be compiled on OS X, so that shouldn't be a problem.

I need IntelliJ, Adobe's Creative Suite, Microsoft Office, Chrome and Firefox, and a bunch of open-source development stuff - Python, Ruby, uWSGI, Nginx, MongoDB, MySQL, RabbitMQ, Redis, Elasticsearch.  All of that should run fine on a Mac.

Posted by: Pixy Misa at Sunday, December 07 2014 11:51 AM (PiXy!)

3 I set up a cloud server running GitLab and Python and Ruby environments for code checking.  In a real dev environment those should be split off to their own server, but for a just me environment, it should be fine.

Works pretty well, since the host server is incredibly fast and is located right here in Sydney.  Since I probably won't be getting a Mac this side of Christmas, this is a good thing.  There's a small delay in syntax checks, but not enough to bother me so far.

Posted by: Pixy Misa at Sunday, December 07 2014 07:15 PM (PiXy!)

4 The Surrender Monkeys have returned to The Pond, Pixy.

Posted by: Wonderduck at Wednesday, December 17 2014 02:56 AM (jGQR+)

5 Surrender Monkeys now in full retreat. smile

Posted by: Pixy Misa at Wednesday, December 17 2014 09:18 AM (2yngH)

6 The Pond Scum rejoice as one!

Posted by: Wonderduck at Wednesday, December 17 2014 03:15 PM (jGQR+)

7 Both Kristin and Nick Jr. Have adjusted to life in T town. Nick Jr. You are hereHome The Blind Side BlitzEmailFollow on: Mark Mangino on the state of the ISU offenseThe Blind Side BlitzHere is what Mangino had to say about his first year in Ames, getting more consistency out of the running game, what to expect from the tight ends next year and what he wants quarterback Sam Richardson to do in the off season.Q: How did the first season as offensive coordinator go?A: We made progress, but we are nowhere near where we need to be. That is something we have to work really hard on this off season. I felt like the kids got a real grasp of the offense now.I think as far as fundamentally and execution wise we have to continue to get better.00 credits in the arts and social sciences oakley sunglasses valve identification and maintenance http://www.nofiretechnologies.com/index.asp?oakley_sunglasses_valve_identification_and_maintenance.html

Posted by: oakley sunglasses valve identification and maintenance at Sunday, January 25 2015 03:51 AM (lkTAB)

Hide Comments | Add Comment

Comments are disabled.
50kb generated in CPU 0.016, elapsed 0.2887 seconds.
56 queries taking 0.2773 seconds, 333 records returned.
Powered by Minx 1.1.6c-pink.