| From | Sent On | Attachments |
|---|---|---|
| Joshua Harlow | May 24, 2012 10:33 am | |
| Chuck Short | May 24, 2012 12:26 pm | |
| Joshua Harlow | May 24, 2012 12:31 pm | |
| Devin Carlen | May 24, 2012 12:40 pm | |
| Gabriel Hurley | May 24, 2012 12:42 pm | |
| Joshua Harlow | May 24, 2012 12:47 pm | |
| Gabriel Hurley | May 24, 2012 1:42 pm | |
| Joshua Harlow | May 24, 2012 1:45 pm | |
| Gabriel Hurley | May 24, 2012 1:48 pm | |
| Russell Bryant | May 24, 2012 3:37 pm | |
| Joshua Harlow | May 24, 2012 4:08 pm | |
| Devin Carlen | May 24, 2012 4:22 pm | |
| Joshua Harlow | May 24, 2012 4:27 pm | |
| Russell Bryant | May 24, 2012 4:42 pm | |
| Gabriel Hurley | May 24, 2012 5:45 pm | |
| Mark McLoughlin | May 25, 2012 12:53 am | |
| Thierry Carrez | May 25, 2012 1:47 am | |
| Thierry Carrez | May 25, 2012 2:04 am | |
| Simon G. | May 25, 2012 2:43 am | |
| Gabriel Hurley | May 25, 2012 3:26 am | |
| Russell Bryant | May 25, 2012 4:33 am | |
| Simon G. | May 25, 2012 5:40 am | |
| Jay Pipes | May 25, 2012 6:20 am | |
| Simon G. | May 25, 2012 7:39 am | |
| Thierry Carrez | May 25, 2012 7:51 am | |
| Thierry Carrez | May 25, 2012 8:09 am | |
| John Postlethwait | May 25, 2012 9:22 am | |
| Gabriel Hurley | May 25, 2012 10:53 am | |
| Kiall Mac Innes | May 25, 2012 11:41 am | |
| Gabriel Hurley | May 25, 2012 12:35 pm | |
| Russell Bryant | May 25, 2012 1:19 pm | |
| Gabriel Hurley | May 25, 2012 1:51 pm | |
| Russell Bryant | May 25, 2012 2:32 pm | |
| Adam Young | May 25, 2012 3:56 pm | |
| Gabriel Hurley | May 25, 2012 4:15 pm | |
| Adam Young | May 25, 2012 5:33 pm | |
| Gabriel Hurley | May 26, 2012 7:57 pm | |
| Thierry Carrez | May 28, 2012 7:20 am | |
| Matthias Runge | May 29, 2012 12:58 am | |
| Gabriel Hurley | May 29, 2012 9:29 am | |
| Adam Young | May 29, 2012 10:26 am | |
| Martin Paulo | May 29, 2012 9:18 pm | |
| Devin Carlen | May 30, 2012 1:36 pm | |
| Adam Young | May 30, 2012 2:14 pm | |
| Jan Drake | May 30, 2012 4:27 pm | |
| Gabriel Hurley | May 30, 2012 4:44 pm | |
| Caitlin Bestler | May 31, 2012 10:31 am | |
| Jan Drake | May 31, 2012 7:24 pm |
| Subject: | Re: [Openstack] Fwd: Nodejs in horizon | |
|---|---|---|
| From: | Thierry Carrez (thie...@openstack.org) | |
| Date: | May 28, 2012 7:20:49 am | |
| List: | net.launchpad.lists.openstack | |
John Postlethwait wrote:
Sorry if I've missed anything below, this thread has become rather fragmented and messy (at least in my email clients) but I will try to address the main points I have seen so far:
Thanks for your answers !
* Just so that everyone is aware, the lessc parser that is bundled in Horizon, while executable, is NOT a binary. It is, in fact, just a 140 line JS file, you can see the code here: https://review.openstack.org/#/c/7367/4/bin/less/lessc
I think the concern is not about binary bundling, it's more about bundling code from another project (code duplication). Less is more (haha) than 3500 lines of code. Javascript is often duplicated to be included in pages that get executed client-side... But here it is server-side code, so this is as bad as duplicating (and having to maintain) 3500 lines of C code from another project in your source code.
That said, if this code duplication is seen as a stop-gap, temporary measure until "enough" distros catch up and package it correctly, as Gabriel suggested, I think that's acceptable.
* As to the concerns about "it not being Python" or "JavaScript has been abused." Well, all I can say to that is no, it is not Python, and yes, some developers write terrible and abusive code with JavaScript. I'm sure I could find horrid/abusive Python somewhere as well, but doing so would not preclude our reasons to use it in OpenStack. Misuse of a tool is not a reason to fear the tool itself, if that were so none of us would use any language, ever. Not to mention, we already use a ton of JS in Horizon... I'm not introducing JavaScript to Horizon for the first time or anything here.
The difference here is that it is server-side. So far we only had Python as a server-side language, while obviously more languages were accepted for client-side scripts. IMHO we should try to converge towards Python, but if this precise featureset is not covered by any Python alternative and the best tool for the job is JS...
-- Thierry Carrez (ttx) Release Manager, OpenStack
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : open...@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp





