News for hackers. Stuff that matters.
Re:From Python to Lua: Why We Switched by ynezz on Tuesday January 26, 2016 @03:12PM (#10975657)
> packaging and deployment in python remains such an amazing mess, even after 20 years.

I'm Lua fanboy, but I've to admit, that I'm missing clean deployments and upgrades with virtualenv and pypi available in Pyhton. I've never had any issue so far, am I being just lucky bastard? It has been like that for many years already.

> Ruby has better tooling libraries

On the other hand, I've honest to maintain one Redmine instance (which is written in Ruby) and this is real nightmare for me. Each time I've to upgrade, I've to drink a lot day or two in advance :-)

Re:From Python to Lua: Why We Switched by SeanDav on Tuesday January 26, 2016 @03:19PM (#10975713)
> "....Redmine instance (which is written in Ruby) and this is real nightmare for me. Each time I've to upgrade, I've to drink a lot day or two in advance...."

Well that is your problem right there - don't drink in advance, drink afterwards to try delete the traumatic experience from your memory!

Re:From Python to Lua: Why We Switched by x0x0 on Tuesday January 26, 2016 @03:25PM (#10975747)
those handle python deps ok, but not lib dependencies, at least last time I was forced to use it. If your company has a mix of older and newer projects, you'll end up with eg conflicting dependencies on libxml.

My solution was to docker all the things. It made my life so much better; you could simultaneously run multiple services on the same box without awful fragile hacks.

Re:From Python to Lua: Why We Switched by brimworks on Tuesday January 26, 2016 @05:10PM (#10976559)
Docker is a great tool, but not all customers will have that available to them, and the docker experience isn't great for customers on Windows/Mac since they have to run Linux in a VM, which means the agent would have the footprint of an entire OS on those platforms.
Re:From Python to Lua: Why We Switched by icebraining on Tuesday January 26, 2016 @06:30PM (#10977081)
You can bundle libxml.so and such and load it from your directory. Docker is certainly an option, but it's like using a sledgehammer to crack a nut.
Re:From Python to Lua: Why We Switched by tetha on Tuesday January 26, 2016 @03:25PM (#10975751)
> I'm Lua fanboy, but I've to admit, that I'm missing clean deployments and upgrades with virtualenv and pypi available in Pyhton. I've never had any issue so far, am I being just lucky bastard? It has been like that for many years already.

There's a few python libraries out there which just crash the entire stack, like Python-Mysql (or was it PyMysql, or one of the other very similarly named libraries?). And I might be biased, but talking to a mysql-db shouldn't be hard.

>On the other hand, I've honest to maintain one Redmine instance (which is written in Ruby) and this is real nightmare for me. Each time I've to upgrade, I've to drink a lot day or two in advance :-)

I rather mean tools like rake as a task-runner, guard, rubocop, thor as a templating system, rspec, chef as config management, kitchen, food-critic, sinatra for easy web services. It's a whole bunch of stable tools and tooling libraries (and they are integrating with each other).