Skip to content

Instantly share code, notes, and snippets.

@edubkendo
Created August 4, 2012 08:36
Show Gist options
  • Save edubkendo/3256039 to your computer and use it in GitHub Desktop.
Save edubkendo/3256039 to your computer and use it in GitHub Desktop.
irc logs for #towerjs from 13/APR to 07/JUL
**** BEGIN LOGGING AT Fri Apr 13 23:39:19 2012
Apr 13 23:39:19 * Now talking on #towerjs
Apr 13 23:39:19 * hitchcock.freenode.net sets mode +n #towerjs
Apr 13 23:39:19 * hitchcock.freenode.net sets mode +s #towerjs
Apr 13 23:39:20 * services. removes channel operator status from e_dub
Apr 13 23:39:20 * *** Notice -- TS for #towerjs changed from 1334378341 to 1330755347
Apr 13 23:39:20 * services. sets mode +c #towerjs
Apr 13 23:39:20 * services. sets mode +t #towerjs
Apr 13 23:39:20 * services. sets mode -s #towerjs
Apr 13 23:39:20 * ChanServ (ChanServ@services.) has joined #towerjs
Apr 13 23:39:20 * services. gives channel operator status to ChanServ
Apr 13 23:39:20 * ChanServ (ChanServ@services.) has left #towerjs
**** BEGIN LOGGING AT Mon Apr 16 03:33:02 2012
Apr 16 03:33:02 * Now talking on #towerjs
Apr 16 03:33:03 * asimov.freenode.net sets mode +n #towerjs
Apr 16 03:33:03 * asimov.freenode.net sets mode +s #towerjs
Apr 16 03:33:03 * services. removes channel operator status from e_dub
Apr 16 03:33:03 * *** Notice -- TS for #towerjs changed from 1334565182 to 1330755347
Apr 16 03:33:03 * services. sets mode +c #towerjs
Apr 16 03:33:03 * services. sets mode +t #towerjs
Apr 16 03:33:03 * services. sets mode -s #towerjs
Apr 16 03:33:03 * ChanServ (ChanServ@services.) has joined #towerjs
Apr 16 03:33:03 * services. gives channel operator status to ChanServ
Apr 16 03:33:03 * ChanServ (ChanServ@services.) has left #towerjs
Apr 16 12:08:24 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 16 13:50:34 * viatropos has quit (Quit: viatropos)
Apr 16 13:51:24 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 16 14:11:19 * viatropos has quit (Quit: viatropos)
Apr 16 14:41:32 * sectionme (~shift@lithium.rwvhp.com) has joined #towerjs
Apr 16 14:42:52 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 16 15:30:09 * sectionme has quit (Ping timeout: 260 seconds)
**** ENDING LOGGING AT Mon Apr 16 15:42:14 2012
**** BEGIN LOGGING AT Tue Apr 17 15:37:46 2012
Apr 17 15:37:46 * Now talking on #towerjs
Apr 17 15:37:47 * asimov.freenode.net sets mode +n #towerjs
Apr 17 15:37:47 * asimov.freenode.net sets mode +s #towerjs
Apr 17 15:37:47 * [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp
Apr 17 15:37:47 * services. removes channel operator status from e_dub
Apr 17 15:37:47 * *** Notice -- TS for #towerjs changed from 1334695063 to 1330755347
Apr 17 15:37:47 * services. sets mode +c #towerjs
Apr 17 15:37:47 * services. sets mode +t #towerjs
Apr 17 15:37:47 * services. sets mode -s #towerjs
Apr 17 15:37:47 * ChanServ (ChanServ@services.) has joined #towerjs
Apr 17 15:37:47 * services. gives channel operator status to ChanServ
Apr 17 15:37:47 * ChanServ (ChanServ@services.) has left #towerjs
Apr 17 16:29:27 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 17 17:42:07 <viatropos> hey you there?
Apr 17 17:45:32 <e_dub> hello
Apr 17 21:42:22 * viatropos has quit (Quit: viatropos)
**** ENDING LOGGING AT Wed Apr 18 01:23:45 2012
**** BEGIN LOGGING AT Wed Apr 18 01:34:51 2012
Apr 18 01:34:51 * Now talking on #towerjs
Apr 18 01:34:51 * verne.freenode.net sets mode +n #towerjs
Apr 18 01:34:51 * verne.freenode.net sets mode +s #towerjs
Apr 18 01:34:51 * services. removes channel operator status from e_dub
Apr 18 01:34:51 * *** Notice -- TS for #towerjs changed from 1334730890 to 1330755347
Apr 18 01:34:51 * services. sets mode +c #towerjs
Apr 18 01:34:51 * services. sets mode +t #towerjs
Apr 18 01:34:51 * services. sets mode -s #towerjs
Apr 18 01:34:51 * ChanServ (ChanServ@services.) has joined #towerjs
Apr 18 01:34:51 * services. gives channel operator status to ChanServ
Apr 18 01:34:51 * ChanServ (ChanServ@services.) has left #towerjs
Apr 18 13:30:11 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
Apr 18 13:31:50 <LessSeen> wow
Apr 18 13:31:56 <LessSeen> lots of action in here ;D
Apr 18 15:19:12 * LessSeen is now known as ipitytehbar
Apr 18 15:21:18 * ipitytehbar is now known as LessSeen
Apr 18 15:22:46 * LessSeen has quit (Quit: Connection obliterated by peer)
**** ENDING LOGGING AT Wed Apr 18 19:09:27 2012
**** BEGIN LOGGING AT Wed Apr 18 19:11:34 2012
Apr 18 19:11:34 * Now talking on #towerjs
Apr 18 19:11:34 * leguin.freenode.net sets mode +n #towerjs
Apr 18 19:11:34 * leguin.freenode.net sets mode +s #towerjs
Apr 18 19:11:34 * [freenode-info] help freenode weed out clonebots -- please register your IRC nick and auto-identify: http://freenode.net/faq.shtml#nicksetup
Apr 18 19:11:34 * services. removes channel operator status from e_dub
Apr 18 19:11:34 * *** Notice -- TS for #towerjs changed from 1334794294 to 1330755347
Apr 18 19:11:34 * services. sets mode +c #towerjs
Apr 18 19:11:34 * services. sets mode +t #towerjs
Apr 18 19:11:34 * services. sets mode -s #towerjs
Apr 18 19:11:34 * ChanServ (ChanServ@services.) has joined #towerjs
Apr 18 19:11:34 * services. gives channel operator status to ChanServ
Apr 18 19:11:34 * ChanServ (ChanServ@services.) has left #towerjs
Apr 19 05:51:00 * Killix (~Killix@197.31.199.86) has joined #towerjs
Apr 19 05:51:17 <Killix> hi
Apr 19 05:56:45 <Killix> e_dub: ?
Apr 19 06:13:37 <e_dub> hello
Apr 19 06:27:38 <e_dub> Killix
**** ENDING LOGGING AT Thu Apr 19 08:40:34 2012
**** BEGIN LOGGING AT Thu Apr 19 08:47:01 2012
Apr 19 08:47:01 * Now talking on #towerjs
Apr 19 11:03:18 <Killix> sorry
Apr 19 11:03:21 <Killix> hello :)
Apr 19 11:21:11 <e_dub> how you doing?
Apr 19 11:34:49 <Killix> i code with towerjs now and debug the relation belongsTo :/
Apr 19 13:10:47 * Killix has quit (Read error: Connection reset by peer)
Apr 19 14:16:41 * orngchkn (~Adium@96-40-160-118.dhcp.mtpk.ca.charter.com) has joined #towerjs
Apr 19 14:16:46 <orngchkn> e_dub?
Apr 19 14:56:39 <e_dub> hello
Apr 19 14:59:28 <e_dub> orngchkn, whats up? sorry was afk
Apr 19 15:01:11 <orngchkn> No problem
Apr 19 15:01:15 <orngchkn> Is this Lance?
Apr 19 15:02:19 <e_dub> oh no not at all, I just started lurking in here a day or two ago because it was mentioned somewhere and i added it to my channel list and then kind of forgot about it
Apr 19 15:03:28 <orngchkn> Hehe, same
Apr 19 15:03:35 <e_dub> i dont think he is actually in here often. your best bet for getting in touch with him is email or if its a SO kind of question, post it there
Apr 19 15:03:39 <orngchkn> Lance said he'd be in more often, but I haven't seen him yet
Apr 19 15:04:23 <orngchkn> Have you used the getter/setter style of accessors for attributes? I can't get them to work (at least in a test)
Apr 19 15:06:35 <e_dub> no, i been putting off actually diving in hoping for more docs/examples until just yesterday or so actually, so all i've done so far is played with a few generators. keep running into little error messages
Apr 19 15:06:46 <e_dub> so been a bit slow going
Apr 19 15:11:03 <e_dub> the other way seems more straightforward though, since neither one seems to be a preferred method of accessing them
Apr 19 15:15:37 <orngchkn> I'm trying to troubleshoot why it's not working. Looks like the path with get("blah") is just different.
Apr 19 15:18:15 <orngchkn> get("blah") actually goes and looks for the field definition and runs it through decode.
Apr 19 15:18:42 <orngchkn> I see that the accessors are defined on the field / attribute, it's just that accessing them off the instance doesn't go to the right place
Apr 19 15:18:48 <orngchkn> Anyways. I'll poke around some more
Apr 19 15:18:50 <orngchkn> Off to Disneyland
Apr 19 15:19:23 <e_dub> i'll try to play with that feature some tonight if you havent tracked it down before then
**** ENDING LOGGING AT Thu Apr 19 17:04:14 2012
**** BEGIN LOGGING AT Thu Apr 19 22:03:10 2012
Apr 19 22:03:10 * Now talking on #towerjs
Apr 20 06:34:25 * sebastianhoitz (c1af1a44@gateway/web/freenode/ip.193.175.26.68) has joined #towerjs
Apr 20 09:58:13 * Killix (~Killix@197.31.216.40) has joined #towerjs
Apr 20 09:58:27 <Killix> hi all
Apr 20 10:01:14 <sebastianhoitz> hi
Apr 20 10:03:21 <Killix> since yesterday I try to use relations for models (http://pastebin.com/Uq4K8SaW) but without success
Apr 20 10:06:07 <Killix> idea ?
Apr 20 10:06:11 <Killix> :)
Apr 20 10:06:44 <Killix> I feel that this part is not really operational, right?
Apr 20 10:54:21 <Killix> someone for a little help?
Apr 20 10:59:11 <sebastianhoitz> hm, I didn't do anything yet with model relations, sorry.
Apr 20 10:59:22 <sebastianhoitz> So I don't know how stable that is.
Apr 20 10:59:46 <sebastianhoitz> You could try and take a look at the unit tests and see, how they use the relations and if there is something different compared to your implementation
Apr 20 11:01:05 * Killix has quit (Read error: Connection reset by peer)
Apr 20 11:04:17 * Killix (~Killix@197.31.218.166) has joined #towerjs
Apr 20 11:04:22 <Killix> re
Apr 20 11:06:04 <Killix> sebastianhoitz: do you help me with relationship ?
Apr 20 11:06:09 <Killix> please
Apr 20 11:11:40 <sebastianhoitz> I don't know if I'm of any help
Apr 20 11:11:46 <sebastianhoitz> what is the error that you get?
Apr 20 11:14:33 <Killix> I have no errors. I can not have acces to the author of the post since the post model
Apr 20 11:15:40 <sebastianhoitz> but they are stored correctly in the mongo db?
Apr 20 11:16:58 <Killix> yes
Apr 20 11:18:53 <sebastianhoitz> Did you look at the unit tests for relations?
Apr 20 11:20:59 <Killix> yes, this code work, now : http://pastebin.com/4uy1FGfd
Apr 20 11:21:21 <sebastianhoitz> :)
Apr 20 11:21:52 <sebastianhoitz> instead of find() you could probably also do user().all
Apr 20 11:21:53 <Killix> but not there no more optimized than remaking a find in user() ?
Apr 20 11:23:02 <Killix> user().all returns me all users of bdd :/
Apr 20 11:23:41 <Killix> whereas I want only the author of the post
Apr 20 11:24:37 <Killix> is this normal ?
Apr 20 11:24:56 <sebastianhoitz> well that at least sounds like a bug
Apr 20 11:25:17 <sebastianhoitz> can you try adding a unit test for this where it fails? That way we can check where it is going wrong
Apr 20 11:25:52 <sebastianhoitz> the best way to do this is to fork tower, create a bug branch, and issue a pull request
Apr 20 11:25:58 <sebastianhoitz> that would be awesome
Apr 20 11:26:11 <Killix> ok :)
Apr 20 11:26:45 <sebastianhoitz> if you want, you can add the test case under test/cases/issues/issueXYZTest.coffee
Apr 20 11:27:28 <Killix> I'll do it tonight, if possible
Apr 20 11:27:29 <Killix> is it possible to use the asynchronous models without?
Apr 20 11:27:55 <sebastianhoitz> Without what?
Apr 20 11:28:51 <Killix> like this
Apr 20 11:28:52 <Killix> gloPosts = null
Apr 20 11:28:52 <Killix> App.Post.where(userId: userId).all (error, posts) =>
Apr 20 11:28:52 <Killix> gloPosts = posts
Apr 20 11:28:52 <Killix>
Apr 20 11:28:52 <Killix> console.log gloPosts
Apr 20 11:29:39 <Killix> Currently console.log returns null
Apr 20 11:32:59 <Killix> this may be a silly question, I do not yet understand all aspects of nodejs (no blocking process ...etc..)
Apr 20 11:51:11 <sebastianhoitz> ah, I see.
Apr 20 11:51:31 <sebastianhoitz> well, if you put the console.log inside the callback function, gloPosts is not null, but your data
Apr 20 11:51:40 <sebastianhoitz> that is the asynchronous nature of nodeJS
Apr 20 11:51:58 <sebastianhoitz> You should put all your logic into the callback function that depends on the data you retrieved
Apr 20 11:53:36 <Killix> ok, thanks
Apr 20 11:57:16 <Killix> one last question;) how to use my relationship in my view ?something like this: span class: "author", -> @post.user() ?
Apr 20 12:06:29 * Killix has quit (Quit: Quitte)
Apr 20 12:09:05 * Killix (~Killix@197.31.66.224) has joined #towerjs
Apr 20 12:09:51 <Killix> in Tunisia, the connection is really poor :)
Apr 20 12:11:50 <sebastianhoitz> uhm... I haven't done any real work with models and relations yet.
Apr 20 12:11:55 <sebastianhoitz> So that might not work
Apr 20 12:12:19 <sebastianhoitz> towerJS in general is not really mature for client-side things yet. This is one of the big todos for the next versions
Apr 20 12:12:48 <sebastianhoitz> So if you would like to help out and check, if the AjaxStore can be used to request the missing models for you, that would be awesome :)
Apr 20 12:12:57 <sebastianhoitz> See, you have different stores for your models.
Apr 20 12:13:15 <sebastianhoitz> The AJAX store would be my best bet right now to be used to fetch the related models.
Apr 20 12:13:22 <sebastianhoitz> But I don't know, if that is implemented yet
Apr 20 12:13:59 <Killix> ok, thanks sebastianhoitz
Apr 20 12:14:43 <Killix> i'll watch it
Apr 20 12:24:18 <Killix> you have a gist example to use AjaxStore ?
Apr 20 12:39:14 * sebastianhoitz_ (c1af1a44@gateway/web/freenode/ip.193.175.26.68) has joined #towerjs
Apr 20 12:40:29 * sebastianhoitz has quit (Ping timeout: 245 seconds)
Apr 20 12:59:11 <e_dub> sebastianhoitz_, might be worth looking at http://zombie.labnotes.org/ for the client-side tests, although i think its still essentially integration-style tests, so it would still make it hard to seperate out errors created by client side code from those caused by server side stuff, but, still probably worth taking a look at
Apr 20 13:14:31 <sebastianhoitz_> yeah, that actually looks even better than phantomJS
Apr 20 13:14:33 <sebastianhoitz_> thanks
Apr 20 13:22:59 * sebastianhoitz_ has quit (Ping timeout: 245 seconds)
Apr 20 13:27:56 <Killix> good evening everyone
Apr 20 13:28:32 * Killix has quit (Quit: Quitte)
**** ENDING LOGGING AT Fri Apr 20 15:59:59 2012
**** BEGIN LOGGING AT Fri Apr 20 21:58:53 2012
Apr 20 21:58:53 * Now talking on #towerjs
Apr 20 22:04:06 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
Apr 20 23:50:44 <denysonique> viatropos: How can I use a git cloned Tower into my local project node_modules dir
Apr 20 23:50:57 <denysonique> I cloned and ran npm install in that dir
Apr 20 23:51:10 <denysonique> and I get this Error: Cannot find module 'underscore.logger'
Apr 20 23:51:25 <denysonique> sorry I mean this: Error: Cannot find module 'active-x-obfuscator'
Apr 20 23:51:30 <viatropos> not sure about the missing module
Apr 20 23:51:35 <viatropos> are you on windows?
Apr 20 23:51:40 <denysonique> Linux
Apr 20 23:51:51 <viatropos> ok, i'm on mac, haven't tried linux but it should work
Apr 20 23:51:57 <denysonique> viatropos: what is the procedure to run tha latest version?
Apr 20 23:52:00 <viatropos> here's what i do...
Apr 20 23:53:31 <viatropos> git clone tower repo to my "git/community" folder (where I store all my forked repos), run npm install, then run `npm link`. that links it to the global npm cache. then in your specific project, say a generated tower app, run `npm link tower`, and it will create a symlink to the cloned one.
Apr 20 23:53:33 <viatropos> does that help
Apr 20 23:53:34 <viatropos> ?
Apr 20 23:55:18 <viatropos> then to compile the tower source, I've been using design.io, but it doesn't have linux support yet... someone added it in a pull request tho (to design.io repo)
Apr 20 23:56:13 <denysonique> hmm, I am just cloning
Apr 20 23:56:32 <denysonique> viatropos: btw, why have you decided to move from 100% Rails to 100% Node?
Apr 21 00:03:33 <denysonique> viatropos: I followed your steps. Now I get: Error: Cannot find module 'traverse'
Apr 21 00:04:30 <viatropos> make sure you have the latest version of npm, not sure why modules aren't installing. you should be able to install the missing ones one at a time
Apr 21 00:05:17 <denysonique> viatropos: yep, thats what I am doing right now, trying to install them one at a time
Apr 21 00:05:30 <viatropos> do you have the latest npm?
Apr 21 00:05:37 <viatropos> 1.1.6+
Apr 21 00:06:08 <denysonique> 1.1.0-2
Apr 21 00:06:09 <denysonique> ..
Apr 21 00:06:14 <denysonique> I am going to upgrade now
Apr 21 00:06:22 <denysonique> is there an internal npm upgrade command?
Apr 21 00:06:23 <viatropos> also, if there was ever an error when you ran `npm install`, try removing the node_modules directory and running `npm install` again.
Apr 21 00:06:30 <viatropos> yeah that's probably it
Apr 21 00:06:37 <viatropos> just go to the site and copy that line again
Apr 21 00:07:53 <viatropos> Rails had a very nice api, but it lacked [easy] real-time, and I was getting annoyed writing templates in HAML and Mustache, and models in ruby and javascript. Want one system.
Apr 21 00:08:26 <viatropos> I love writing frameworks too, so that was part of it
Apr 21 00:08:52 <denysonique> viatropos: So you prefer CoffeeKup over Slim/Jade/Haml?
Apr 21 00:08:56 <denysonique> hmm
Apr 21 00:09:02 <viatropos> definitely
Apr 21 00:09:12 <denysonique> I have just wrote my first coffeekup with Tower
Apr 21 00:09:16 <denysonique> edited*
Apr 21 00:09:29 <denysonique> as it was your coffeekup... scaffolded for me
Apr 21 00:09:51 <denysonique> hmm, I need to use it for a while before I can say anything about it
Apr 21 00:10:01 <viatropos> coffeekup is coffeescript, so you have the full power of javascript, whereas with jade you have specific helpers (`each`, etc.), or in jade/haml you have to have a special syntax for code
Apr 21 00:10:52 <viatropos> coffeescript for loops are as simple as jades, but they're javascript so there's no "magic" happening. I tried building a form builder in jade and it was a nightmare, in coffeekup it was very easy
Apr 21 00:11:08 <denysonique> hmm
Apr 21 00:11:15 <denysonique> but slim allows you to execute coffeescript
Apr 21 00:11:53 <denysonique> I used to use this https://github.com/jfirebaugh/skim
Apr 21 00:12:00 <denysonique> Slim for the client side
Apr 21 00:12:40 <viatropos> that's cool
Apr 21 00:12:56 <viatropos> but it's ruby, and I want to eventually move away from ruby entirely (for Tower at least)
Apr 21 00:13:29 <viatropos> after moving to node.js I have no desire to back to rails, it feels like going back to java, no joke
Apr 21 00:14:21 <e_dub> not to mention that its the general direction of the industry, I'd rather be at the front of the train than the back
Apr 21 00:14:22 <denysonique> is it true that if you use only one language for developing a web app ie no switching between coffee and Ruby you will be more productive as there will be less overhead?
Apr 21 00:15:08 <denysonique> well, Tower js might be the only one reason why I will develop my new apps in node/coffee
Apr 21 00:15:40 <denysonique> instead of Rails
Apr 21 00:17:23 <denysonique> There is one thing I don't like about node
Apr 21 00:17:26 <viatropos> denysonique: I wouldn't say switching between languages makes you less productive, but having to manage two sets of templates and two sets of models slows you down, because now you have to find a validation library, a string formatting library, date formatting, url parsing, geo helpers, money formatters, pagination, etc. in both ruby and javascript
Apr 21 00:17:29 <viatropos> that's where it becomes a pain
Apr 21 00:17:54 <denysonique> Most of the sample code is written in javascript...
Apr 21 00:17:57 <denysonique> I prefer coffee
Apr 21 00:18:03 <denysonique> javascript is ugly
Apr 21 00:18:14 <viatropos> I agree.
Apr 21 00:18:18 <denysonique> I don't like reading examples in js
Apr 21 00:18:58 <denysonique> viatropos: Thank you, now I am running bleeding edge from master
Apr 21 00:19:13 <denysonique> hmm
Apr 21 00:19:34 <viatropos> The way i see it though, the "hardcore of the hardcore" developers were first to node, the ones who are masters of the operating system and/or computer science majors, and they like things like vim and formal languages backed by years of computer science research
Apr 21 00:19:45 <viatropos> they prefer javascript
Apr 21 00:19:49 <denysonique> also I get this weird error:
Apr 21 00:19:49 <denysonique> [Sat, 21 Apr 2012 05:18:48 GMT] ERROR /home/dennis/.rvm/gems/ruby-1.9.3-p125/gems/rb-fsevent-0.9.1/bin/fsevent_watch: 1: cannot open ��: No such file
Apr 21 00:19:49 <denysonique> /home/dennis/.rvm/gems/ruby-1.9.3-p125/gems/rb-fsevent-0.9.1/bin/fsevent_watch: 1: ������
Apr 21 00:19:49 <denysonique> �t�
Apr 21 00:19:49 <denysonique> �����0
Apr 21 00:19:54 <denysonique> hmm
Apr 21 00:20:03 <denysonique> is tower telling fs-event to watch this weird filename?
Apr 21 00:20:06 <viatropos> but the new coders, and the ones who are more concerned with life outside computers, prefer coffeescript :)
Apr 21 00:20:18 <e_dub> denyson thats because we're on linux
Apr 21 00:20:23 <viatropos> yeah, that's design.io for mac
Apr 21 00:20:34 <viatropos> haven't gotten around to that, but someone has added linux support
Apr 21 00:20:50 <viatropos> https://github.com/viatropos/design.io/pull/9
Apr 21 00:21:08 <e_dub> oh awesome viatropos, that answers my question/statement about the client side testing stuff then
Apr 21 00:21:30 <viatropos> merged it in, you can try installing it with `npm install http://github.com/viatropos/design.io.git`
Apr 21 00:21:57 <denysonique> yep
Apr 21 00:21:57 <denysonique> heh
Apr 21 00:22:11 <viatropos> did that work?
Apr 21 00:22:11 <denysonique> I just noticed the commit, and thought you were going to tell me now about it here
Apr 21 00:22:12 <e_dub> cool, should i install that locally to the project or globally?
Apr 21 00:22:15 <denysonique> thanks
Apr 21 00:22:17 <denysonique> viatropos: let my try
Apr 21 00:22:39 <viatropos> e_dub: probably both
Apr 21 00:22:42 <e_dub> cool
Apr 21 00:23:51 <denysonique> viatropos: please change the topic of the channel
Apr 21 00:23:58 <e_dub> I'm getting a weird error message from npm
Apr 21 00:24:10 <denysonique> I joined it earlier today and thought it was the wrong one
Apr 21 00:24:15 <viatropos> denysonique: i have no idea how to
Apr 21 00:24:24 <viatropos> denysonique: what do I do
Apr 21 00:24:24 <denysonique> viatropos: you need to op yourself
Apr 21 00:24:36 <denysonique> via chanServ
Apr 21 00:24:41 <viatropos> what's the command?
Apr 21 00:24:41 <e_dub> denyson, until really recently there was almost never anyone in here
Apr 21 00:24:46 <denysonique> viatropos: /msg ChanServ help
Apr 21 00:25:15 <denysonique> e_dub: I beleive that IRC is very important for very early stage projects
Apr 21 00:25:38 * ChanServ gives channel operator status to viatropos
Apr 21 00:25:40 <e_dub> oh definitely, best way to get quick answers
Apr 21 00:26:16 <denysonique> viatropos: /msg chanserv set #towerjs guard on
Apr 21 00:26:31 <e_dub> for noobs like me its extremely helpful to be able to talk one-on-one with people that know what they are doing
Apr 21 00:26:35 * viatropos has changed the topic to: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 21 00:26:43 <denysonique> (:
Apr 21 00:26:47 <e_dub> cool
Apr 21 00:27:32 <viatropos> e_dub: post the error in a gist if you want
Apr 21 00:27:43 <e_dub> ok good idea
Apr 21 00:28:10 <denysonique> haha: 'rvm gemset use 1.9.2@rails3'
Apr 21 00:28:52 <denysonique> viatropos: would you like a pull which fixes this?
Apr 21 00:29:02 <denysonique> I can gitignore it
Apr 21 00:29:05 <viatropos> perfect
Apr 21 00:29:06 <denysonique> -> design.io
Apr 21 00:29:25 <viatropos> sounds good
Apr 21 00:29:43 <e_dub> https://gist.github.com/2434297
Apr 21 00:30:31 <viatropos> e_dub: you can also post them as private gists so they don't show up on search results
Apr 21 00:30:40 <denysonique> viatropos: https://github.com/viatropos/design.io/pull/12
Apr 21 00:31:00 <viatropos> denysonique: thanks!
Apr 21 00:31:06 <denysonique> you are welcome
Apr 21 00:31:32 <viatropos> e_dub: what version of npm are you using? make sure it's the latest (1.1.6+)
Apr 21 00:31:43 <viatropos> e_dub: sorry, it's right there (:
Apr 21 00:31:59 <denysonique> viatropos: but I think the file needs to be also removed as well right? the .rvmrc?
Apr 21 00:32:13 <denysonique> I haven't used gitignore for a while
Apr 21 00:32:29 <viatropos> e_dub: oh, the path was wrong, needs to be `npm install git://github.com/viatropos/design.io.git`
Apr 21 00:33:17 <viatropos> denysonique: yeah, `git rm -r --cached . ; git add . ; git commit -a -m 'removed file'`
Apr 21 00:35:08 <e_dub> awesome, that works
Apr 21 00:35:18 <viatropos> sweet
Apr 21 00:35:34 <e_dub> awesome, yay, no ugly red error messages
Apr 21 00:35:40 <e_dub> when i run server
Apr 21 00:36:36 <viatropos> cool
Apr 21 00:37:01 <viatropos> glad it works, I will publish design.io to npm then
Apr 21 00:37:03 <denysonique> viatropos: https://github.com/viatropos/design.io/pull/13
Apr 21 00:37:29 <viatropos> thanks!
Apr 21 00:37:33 <denysonique> np
Apr 21 00:37:38 <viatropos> denysonique: does it work for you too?
Apr 21 00:37:49 <denysonique> viatropos: just about to test
Apr 21 00:40:42 <e_dub> ok now my larger question, the issue i posted about here: https://github.com/viatropos/tower/issues/107
Apr 21 00:41:25 <e_dub> I'm trying to figure out whats going on with it. the expected behavior, of course, is to save the data and then return the user or maybe redirect to the list of user or the index or something
Apr 21 00:41:47 <e_dub> i dunno if i need to add code to what the scaffolding produced or what
Apr 21 00:42:51 <e_dub> i applied some of the changes to the javascripts from the pull request sebastian hoitz made, and I've gotten it so the server doesnt shut down, but now i just get a blank page instead of redirecting like i mentioned you'd think it would do
Apr 21 00:47:30 <viatropos> e_dub: responded to the issue
Apr 21 00:48:08 <denysonique> $ node server.js
Apr 21 00:48:08 <denysonique> info - socket.io started
Apr 21 00:48:08 <denysonique> [Sat, 21 Apr 2012 05:45:34 GMT] INFO Tower development server listening on port 3000
Apr 21 00:48:08 <denysonique> [Error: Target script does not exist: node_modules/design.io/bin/design.io]
Apr 21 00:48:17 <denysonique> but I think it might be a problem on my side
Apr 21 00:48:18 <viatropos> e_dub: That code require('mime').extension(@request.header("content-type")) needs to be adjusted. Wanna give it a shot?
Apr 21 00:48:41 <viatropos> denysonique: install design.io locally also
Apr 21 00:49:31 <e_dub> ok thank you, one more question and then i'll quit bugging you :) . dunno if you saw where I added some english translations of the japanese code comments on the everyauth example. I am such a noob to the proper ettiquete and stuff that I wanted to make sure that doing something like that wasnt stepping on anyone's toes
Apr 21 00:49:51 <e_dub> viatropos, I'll look into it, for sure
Apr 21 00:50:48 <viatropos> e_dub: not sure I saw that, do you have a link?
Apr 21 00:51:08 <denysonique> viatropos: I linked it before and it didn't work
Apr 21 00:51:08 <e_dub> yup 1 sec
Apr 21 00:51:16 <denysonique> but now after local isntall it works
Apr 21 00:51:16 <viatropos> e_dub: glad I could help, thanks for digging in.
Apr 21 00:51:23 <denysonique> viatropos: how can I check if design io works?
Apr 21 00:51:34 <denysonique> I changed a client controller and nothing changed without refreshing the page
Apr 21 00:51:38 <viatropos> denysonique: did you install the git repo locally?
Apr 21 00:51:54 <denysonique> viatropos: yes, now I did npm isntall from the git repo
Apr 21 00:52:07 <e_dub> its this example, in this issue: https://github.com/viatropos/tower/issues/50 ... and I just commented on the gists with my translation from the japanese
Apr 21 00:52:08 <viatropos> denysonique: oh ok, in another terminal window, start design.io with `design.io start`, that sets up the socket.io server
Apr 21 00:52:09 <denysonique> before I would clone
Apr 21 00:53:08 <viatropos> you may need to run `design.io start` in another terminal window in any project directory that has `node_modules/design.io`
Apr 21 00:53:32 <viatropos> denysonique: do the transcripts from irc get saved anywhere for reference?
Apr 21 00:53:36 <e_dub> ^^that works for me also
Apr 21 00:53:45 <denysonique> viatropos: thank you
Apr 21 00:53:52 <e_dub> viatropos, you can set "logging" in your irc client
Apr 21 00:53:52 <viatropos> e_dub: do you get livereloading?
Apr 21 00:53:58 <viatropos> k
Apr 21 00:54:00 <denysonique> viatropos: nope only on the computers of the the people on the room
Apr 21 00:54:06 <e_dub> let me try changing a file and see viatropos
Apr 21 00:54:09 <denysonique> viatropos: but there are services such as irc logger etc
Apr 21 00:54:12 <denysonique> irclogger.com
Apr 21 00:54:31 <viatropos> k
Apr 21 00:54:42 <denysonique> viatropos: or you can connect https://github.com/michaelowens/NodeJS-IRC-Bot
Apr 21 00:54:48 <denysonique> and save the longs using mongo
Apr 21 00:55:01 <denysonique> and then pubish using Tower.js
Apr 21 00:55:09 <denysonique> s/longs/logs/
Apr 21 00:55:16 <viatropos> denysonique: haha, that's awesome!
Apr 21 00:55:24 <viatropos> not today tho, maybe when I update the site
Apr 21 00:55:26 <e_dub> i use xchat for my client, and its under preferences, then chatting, logging
Apr 21 00:55:43 <e_dub> just click: enable logging of conversation to disk
Apr 21 00:56:20 <viatropos> I'm using Colloquy for mac
Apr 21 00:56:29 <denysonique> yes, but I guess he wants to publish them
Apr 21 00:56:31 <denysonique> viatropos: right?
Apr 21 00:56:48 <denysonique> anyway
Apr 21 00:56:49 <viatropos> no worries, I'll figure it out
Apr 21 00:56:50 <denysonique> re iRC
Apr 21 00:57:03 <denysonique> I wan't to develop an awesome IRC client using coffeescript
Apr 21 00:57:05 <denysonique> and webkit
Apr 21 00:57:11 <denysonique> it will be a desktop app
Apr 21 00:57:34 <denysonique> currently I am using QtRuby webkit for the webkit part
Apr 21 00:57:48 <e_dub> yup live reload works
Apr 21 00:57:49 <denysonique> as node-qt matures I will switch to node-qt
Apr 21 00:58:49 <viatropos> e_dub: awesome
Apr 21 00:59:09 <denysonique> yup
Apr 21 00:59:11 <denysonique> awesome
Apr 21 00:59:14 <denysonique> css changes
Apr 21 00:59:17 <denysonique> automagically
Apr 21 00:59:28 <denysonique> node.js is the future
Apr 21 00:59:40 <denysonique> Tower.js*
Apr 21 00:59:48 <viatropos> sweet
Apr 21 01:00:17 <denysonique> viatropos: you have already quit your day job to work on Tower.js, didn't you? ;>
Apr 21 01:00:37 <viatropos> no I work on both
Apr 21 01:00:57 <denysonique> hmm
Apr 21 01:01:18 <denysonique> I need to show design.io to my girlfriend and introduce here to Tower.js
Apr 21 01:01:23 <denysonique> she will love it
Apr 21 01:01:44 <denysonique> at least design.io
Apr 21 01:03:57 <e_dub> denysonique, if ur curious about the general direction of tower, check out this http://bit.ly/HPGXhz . in response to my question, I thought viatropos gave a very inspiring summary of where its going and when
Apr 21 01:05:33 <e_dub> and yes, design.io is amazing. i've never seen something where you can actually change javascripts/coffeescripts and have that piped to the browser without a server restart
Apr 21 01:06:17 <denysonique> hmm
Apr 21 01:06:31 <denysonique> it should rerender views (;
Apr 21 01:06:33 <denysonique> as well
Apr 21 01:06:48 <viatropos> denysonique: try to make it! super easy, here's how:
Apr 21 01:06:59 <denysonique> I am all ears
Apr 21 01:07:11 <denysonique> but it could be by default ;>
Apr 21 01:09:09 <denysonique> e_dub: I am going to do a todo demo app as well
Apr 21 01:09:22 <denysonique> e_dub: it is going to be SP no refresh ajax app
Apr 21 01:09:41 <e_dub> cool denyson, i'm looking forward to it eagerly
Apr 21 01:10:11 <denysonique> hmm
Apr 21 01:10:25 <viatropos> something lie https://gist.github.com/2434633
Apr 21 01:10:31 <viatropos> like*
Apr 21 01:10:38 <denysonique> e_dub: you can use tab completion in order to type my nick
Apr 21 01:10:44 <denysonique> e.g. den[tab]
Apr 21 01:10:46 <viatropos> am going to make it default, haven't had time yet
Apr 21 01:10:49 <denysonique> it will complete it for you
Apr 21 01:10:55 <e_dub> i'm very very slowly making some progress with following along with that tutorial as i mentioned. Recording my steps as I go. Gonna make a guide or something with it when I'm done so other noobs can follow the same route
Apr 21 01:11:24 <e_dub> until there's something specifically for tower anyways
Apr 21 01:12:25 <denysonique> hmm
Apr 21 01:12:35 <viatropos> denysonique: with design.io, you define "watch" tasks in ./Watchfile. It's just this: match a file pattern, and on `create|update|destroy` run some code to compile the changed file, then broadcast some json (socket.io), then in the client handle the `create|update|destroy` action!
Apr 21 01:12:36 <denysonique> if you are coming from rails you don't need much learning
Apr 21 01:13:02 <e_dub> oh right sorry, about shortening the nick denysonique . bad habit from other channels
Apr 21 01:13:56 <e_dub> denysonique, i'm not really "coming from rails" though. I've literally gone from "having some high school classes on basic and pascal" to where I am now in the last four or five months
Apr 21 01:14:23 <denysonique> e_dub: so you started with node.js, right
Apr 21 01:14:23 <denysonique> ?
Apr 21 01:14:39 <denysonique> hmm
Apr 21 01:14:39 <e_dub> using the techniques i used to learn japanese to pick up programming languages
Apr 21 01:15:05 <denysonique> japanese? hmm it should be relevant to Ruby then (;
Apr 21 01:15:15 <denysonique> e_dub: you are doing a startup right?
Apr 21 01:16:43 <e_dub> denysonique, i started with a book on Java, got halfway in, realized java sucked, learned about ruby, read a couple books then did Hartl's rails tutorial, found out about node, knew enough about coding at that point to realize that it was far more relevant to the idea i have, read pretty much everything i could get my hands on about node and coffeescript, learning javascript as i went
Apr 21 01:17:02 <e_dub> and that's where i am now
Apr 21 01:17:14 <denysonique> e_dub: hmm, what is your idea about?
Apr 21 01:17:23 <denysonique> it isn't a stealth startup, isn't it?
Apr 21 01:18:24 <e_dub> yeah, a startup. I'm disabled and have a lot of freetime, but got this idea for an app to sort of revolutionize learning. at first i thought it would just help with learning languages, but as i started learning programming, and realized how useful these techniques were for learning it, I realized my idea could be applied to anything
Apr 21 01:19:07 <denysonique> hmm
Apr 21 01:19:15 <denysonique> e_dub: make sure you cover Tower.js!
Apr 21 01:19:54 <e_dub> oh with what I have in mind, you'll be able to learn anything you want, as long as you have access to reading material about it in digital format
Apr 21 01:20:15 <denysonique> e_dub: right, but what is the innovative part of your startup?
Apr 21 01:20:27 <denysonique> how is it going to innovate learning?
Apr 21 01:21:30 <e_dub> oh sorry, i'm combining spaced repetition (and doing it in a user friendlier way than current technologies do) with something called incremental reading
Apr 21 01:21:32 <denysonique> haha: http://techcrunch.com/2012/04/20/equally-creepy-and-creative-cheekd-is-online-dating-in-reverse/
Apr 21 01:21:38 <denysonique> I had a very similar idea
Apr 21 01:21:42 <denysonique> but for personal purposes
Apr 21 01:21:53 <denysonique> and maybe for a startup two
Apr 21 01:21:56 <denysonique> too*
Apr 21 01:22:22 <e_dub> well there's plenty of room in the domain for both of us, I am sure
Apr 21 01:23:03 <denysonique> with cheekd there is one problem
Apr 21 01:23:15 <denysonique> people who date online are uncomfortable meeting people online
Apr 21 01:23:28 <denysonique> I mean meeting offline
Apr 21 01:23:43 <denysonique> and people who are not afraid don't need something like this
Apr 21 01:23:48 <denysonique> but who knows, maybe this will change
Apr 21 01:23:51 <denysonique> err
Apr 21 01:23:57 <denysonique> I mean maybe it will work
Apr 21 01:24:51 <e_dub> oh viatropos, did you get a chance to take a look at the translations i mentioned? I just want to make sure I'm using proper etiquette. it seemed like a small way i could contribute to tower since my coding skills are padawan level still
Apr 21 01:25:19 <viatropos> e_dub: send me a link, I don't recall
Apr 21 01:25:31 <e_dub> oh sorry, thought i had linked it in here a bit ago
Apr 21 01:25:41 <e_dub> 1 sev will grab link again
Apr 21 01:26:08 <e_dub> here we go: <e_dub> its this example, in this issue: https://github.com/viatropos/tower/issues/50 ... and I just commented on the gists with my translation from the japanese
Apr 21 01:27:14 <viatropos> yeah that's totally fine, I don't have control of the gists. if you want to translate something in the code (like https://github.com/viatropos/tower/tree/master/src/tower/model/locale), feel free to send a pull request
Apr 21 01:27:27 <e_dub> i know there are some japanese contributors and users of tower, so if there's ever anything else you'd like translated, btw, I'd be more than glad to take a look at it
Apr 21 01:28:23 <viatropos> e_dub: cool
Apr 21 01:28:34 <denysonique> hmm
Apr 21 01:28:35 <denysonique> ok
Apr 21 01:28:53 <denysonique> so what are the problems with towerjs?
Apr 21 01:28:58 <denysonique> what does not work?
Apr 21 01:29:19 <denysonique> what can hold me back from writing an app?
Apr 21 01:29:21 <denysonique> what is missing?
Apr 21 01:29:38 <viatropos> denysonique: see https://github.com/viatropos/tower/wiki/roadmap
Apr 21 01:30:22 <viatropos> you can build a working app and deploy it to heroku, but it's not perfect yet. finishing the roadmap over the next couple months
Apr 21 01:30:33 <viatropos> or nodejitsju
Apr 21 01:31:26 <viatropos> i'm going to be away randomly now, getting late
Apr 21 01:31:35 <viatropos> any more questions?
Apr 21 01:34:20 <denysonique> viatropos: there is no has_n?
Apr 21 01:34:28 <denysonique> no relationships?
Apr 21 01:34:40 <denysonique> is there a way to get around this? before implementing it?
Apr 21 01:34:45 <viatropos> no there is, it has everything. it looks like belongsTo has a bug though
Apr 21 01:35:10 <viatropos> hasMany "comments"; hasMany "commenters", through: "comments", source: "user"
Apr 21 01:35:14 <denysonique> from that roadmap, the crossed out means what?
Apr 21 01:35:18 <viatropos> belongsTo "author
Apr 21 01:35:20 <denysonique> implemented or not?
Apr 21 01:35:24 <viatropos> implemented
Apr 21 01:36:31 <denysonique> viatropos: 'some sort of updateAll|deleteAll ​functionality for controllers (array of ids)'
Apr 21 01:36:34 <denysonique> version 4.something
Apr 21 01:36:41 <denysonique> is not crossed out
Apr 21 01:36:50 <denysonique> this isn't implemented yet?
Apr 21 01:36:58 <viatropos> so you can bulk update (rails doesn't have this built in)
Apr 21 01:37:04 <viatropos> you can update and destroy
Apr 21 01:37:07 <denysonique> hmm
Apr 21 01:37:08 <viatropos> one record by id
Apr 21 01:37:08 <denysonique> nvm
Apr 21 01:37:13 <denysonique> anyway
Apr 21 01:37:16 <denysonique> oh
Apr 21 01:37:16 <denysonique> btw
Apr 21 01:37:22 <denysonique> viatropos: are you using mongoose?
Apr 21 01:37:27 <viatropos> no
Apr 21 01:37:30 <denysonique> for mapping?
Apr 21 01:37:32 <denysonique> what do you use?
Apr 21 01:37:38 <viatropos> no, I am reimplementing that
Apr 21 01:37:48 <denysonique> ok
Apr 21 01:37:58 <denysonique> I need some sleep its 8:37am here
Apr 21 01:38:01 <viatropos> we'd end up having 2 model layers and that'll slow the code down I'd think
Apr 21 01:38:13 <denysonique> probably yes
Apr 21 01:38:42 <denysonique> so how faster is node/tower at rendering basic json responses from some db backend
Apr 21 01:38:46 <denysonique> simple queries
Apr 21 01:39:04 <viatropos> haven't done any benchmarks yet
Apr 21 01:39:10 <denysonique> quite important to know before going to bed (:
Apr 21 01:39:22 <denysonique> heh
Apr 21 01:39:22 <denysonique> ok
Apr 21 01:39:30 <denysonique> viatropos: have a ncie day then!
Apr 21 01:39:30 <viatropos> it should be fast, it's only a very thin layer above express
Apr 21 01:39:35 <viatropos> you too
Apr 21 01:44:08 <e_dub> have a good night guys, I'll be in the chat but probably gonna sleep soon. viatropos, I'll try to look into that issue with the mime type stuff monday or tuesday at the latest
Apr 21 01:44:53 <viatropos> e_dub: awesome, nice talking to you both
Apr 21 01:45:13 <orngchkn> Aha, the man of the hour is here (and has been for several hours by the looks of it)
Apr 21 01:45:20 <orngchkn> viatropos: This is contentfree from Github
Apr 21 01:45:34 <orngchkn> I've been blowing up Tower with new issues :)
Apr 21 01:45:51 <viatropos> orngchkn: haha, what's up
Apr 21 01:45:51 <denysonique> hmm
Apr 21 01:46:04 <denysonique> what is the fix for this: some sort of updateAll|deleteAll ​functionality for controllers (array of ids)
Apr 21 01:46:07 <denysonique> err
Apr 21 01:46:07 <orngchkn> Nothing - just dodging sleep!
Apr 21 01:46:08 <denysonique> sorry
Apr 21 01:46:17 <denysonique> I mean this: ^
Apr 21 01:46:17 <denysonique> TypeError: Object #<Responder> has no method 'head'
Apr 21 01:47:03 <viatropos> orngchkn: I've seen all your issues (: have been deep in the model code the past few days and haven't had a good break to step back
Apr 21 01:47:43 <orngchkn> viatropos: Are polymorphic associations working? I'm getting errors because the name of my polymorphic belongsTo isn't an actual model.
Apr 21 01:47:49 <viatropos> denysonique: send the full error in a private gist or create a github issue
Apr 21 01:48:06 <e_dub> denyson that's related to this issue:
Apr 21 01:48:12 <orngchkn> That's cool. I'll unfortunately be out for most of the next week as I drive back to Seattle from LA.
Apr 21 01:48:13 <denysonique> right
Apr 21 01:48:21 <e_dub> https://github.com/viatropos/tower/issues/107
Apr 21 01:48:21 <denysonique> e_dub: you are fixing the mime types
Apr 21 01:48:22 <viatropos> orngchkn: they were, but I don't think we have any tests for them so they may have broken
Apr 21 01:48:31 <denysonique> e_dub: any ETA on this?
Apr 21 01:48:52 <e_dub> i have my kids all weekend so it will be monday or tuesday before i can give it much time/attention
Apr 21 01:49:13 <viatropos> denysonique: I'll try and get this fixed tomorrow afternoon (though it is a warm and sunny weekend so who knows)
Apr 21 01:49:30 <denysonique> maybe I will have a look at it as well
Apr 21 01:49:40 <viatropos> it's very easy to fix, it will take 5 minutes (:
Apr 21 01:49:43 <viatropos> i'm lazy tho
Apr 21 01:50:01 <e_dub> ok i will try to take a look before i go to bed then, starting now
Apr 21 01:50:10 <denysonique> hmm
Apr 21 01:50:18 <denysonique> I was thining about the name Tower.js
Apr 21 01:50:27 <denysonique> and by looking at the logo
Apr 21 01:50:35 <denysonique> I thought... maybe RollerCoaster.js
Apr 21 01:51:58 <orngchkn> I have no idea why my pull request put 63 commits in there.
Apr 21 01:52:01 <viatropos> orngchkn: I am significantly refactoring the model layer right now in preparation for ember.js. basically merging tower + ember-data (the ideas from it at least). I will fix and test the association issues in this process, it should take less than 2 weeks.
Apr 21 01:52:03 <orngchkn> They're mostly not mine
Apr 21 01:52:45 <orngchkn> I need to remember to make feature branches so that I can send more atomic pull requests.
Apr 21 01:53:10 <orngchkn> I switched Tower.Support.String#singularize and #pluralize to use the methods on Tower.modules.inflector
Apr 21 01:53:13 <viatropos> the api won't really change, but you'll be able to use ember views and bind to models and scopes (`App.Deal.near(@currentLocation).within(2, "miles").asc("distance")`)
Apr 21 01:53:32 <viatropos> and I'm adding transactions and states, making the models more robust and testable
Apr 21 01:53:43 <orngchkn> viatropos: Have you checked out KnockoutJS? I'm thinking about using that for data-bound views.
Apr 21 01:53:48 <viatropos> orngchkn: thanks!
Apr 21 01:54:19 <orngchkn> viatropos: Welcome – but I can't send you a new pull request unless you accept my open one or I make a branch with those changes. Maybe I'll do the latter
Apr 21 01:54:29 <viatropos> orngchkn: I have, wait for ember integration. Ember is significantly better than knockout
Apr 21 01:55:19 <viatropos> orngchkn: there's a lot in there, my mind's numb at the moment lol
Apr 21 01:57:21 <viatropos> denysonique: I can see rollercoaster.js, the tower looks like a theme park. the logo is from here: http://thenounproject.com/noun/eiffel-tower/#icon-No891
Apr 21 01:58:02 <viatropos> denysonique: the design of the site is just hacked together, haven't really done any branding yet
Apr 21 01:58:18 <denysonique> bootstrap looks cool
Apr 21 01:59:16 <orngchkn> viatropos: I'm going to start making feature branches and send pull requests of those. Should be easier to grok
Apr 21 01:59:23 <orngchkn> First one just went out
Apr 21 01:59:28 <viatropos> orngchkn: sounds good
Apr 21 02:04:15 <viatropos> orngchkn: commented: https://github.com/viatropos/tower/pull/117
Apr 21 02:05:35 <orngchkn> Saw that. Is there a way to relate an issue to a pull request?
Apr 21 02:05:47 <orngchkn> Issue 109 is related
Apr 21 02:06:05 <orngchkn> You can kill that first, big pull request of mine
Apr 21 02:06:34 <orngchkn> n/m. I just did it
Apr 21 02:07:24 <viatropos> orngchkn: not sure, I'll look
Apr 21 02:08:00 <viatropos> orngchkn: you probably can if you programmatically create the pull request (don't know how)
Apr 21 02:08:54 <orngchkn> There's a "close pull request" which I did.
Apr 21 02:09:04 <viatropos> orngchkn: GitHub also interprets any # as a reference to an issue, so adding in the comment "#109" will link to it
Apr 21 02:10:46 <orngchkn> Cool.
Apr 21 02:11:12 <orngchkn> Hey, on http://towerjs.org/models under Getting and Setting Field Values
Apr 21 02:11:24 <orngchkn> It shows get/set versions
Apr 21 02:11:32 <orngchkn> But those do not appear to work currently
Apr 21 02:11:35 <orngchkn> Am I correct?
Apr 21 02:11:57 <viatropos> what, user.get("email") or user.email
Apr 21 02:12:01 <orngchkn> user.email
Apr 21 02:12:10 <orngchkn> user.get("email") works as expected
Apr 21 02:12:13 <orngchkn> but user.email fails
Apr 21 02:12:31 <orngchkn> I have a commit that adds tests
Apr 21 02:12:39 <orngchkn> Thought I had an open issue about it but I'm not finding it
Apr 21 02:12:40 <viatropos> yeah I am kind of abandoning that. technically, if you set `Tower.accessors = true` before the models are loaded, it will work, but I'm probably going to remove that
Apr 21 02:12:46 <orngchkn> (was going to add a branch for the issue)
Apr 21 02:13:11 <orngchkn> Ohhhh… please don't. It's sexy
Apr 21 02:13:28 <viatropos> https://github.com/viatropos/tower/blob/master/src/tower/model/attribute.coffee#L121
Apr 21 02:13:32 <orngchkn> Plus… it's a property of a User object so it makes sense
Apr 21 02:13:44 <orngchkn> Yeah, I have tried that
Apr 21 02:13:47 <orngchkn> Still doesn't work though
Apr 21 02:14:01 <viatropos> but, ember creates "computable properties" named after that, which are functions, so it won't work in that case
Apr 21 02:14:15 <viatropos> I'll see if we can get the best of both worlds
Apr 21 02:14:45 <viatropos> `user.email == user.get('email') == Ember.get(user, 'email')`
Apr 21 02:15:09 <orngchkn> It's alright for fields – user.get("name") – but it gets messy when you have associations – user.get("company") doesn't work, right? It's user.company() (though there's still issues with that, too)
Apr 21 02:15:19 <viatropos> *we can
Apr 21 02:15:54 <orngchkn> IMO, consistency would be a big plus
Apr 21 02:16:03 <viatropos> yeah, I'm going to think more about how to use associations in this next process, so it's all consistent (attributes, associations)
Apr 21 02:16:13 <orngchkn> Sweet
Apr 21 02:16:46 <orngchkn> From an intuitive perspective, user.email and user.company feel the best.
Apr 21 02:17:09 <orngchkn> but if it was #get()
Apr 21 02:17:11 <viatropos> totally, but it doesn't work cross browser, wish it did
Apr 21 02:17:22 <orngchkn> then I'd expect user.get("company") to return the actual Company instance associated
Apr 21 02:17:39 <orngchkn> Or an array of Companies if it were a has many relation
Apr 21 02:18:09 <viatropos> associations are asynchronous in mongodb so you can't do user.get('company') without a callback
Apr 21 02:18:49 <orngchkn> true true
Apr 21 02:19:19 <orngchkn> unless you use something like asyncblock or iced coffee, right?
Apr 21 02:19:20 <viatropos> however, in making this work with ember.js, I think `user.get('company')` will return a "cursor" (which is an `Ember.ArrayProxy` for hasMany and something yet-to-be-figured-out for belongsTo/hasOne), which will "feel" like the real thing
Apr 21 02:19:33 <orngchkn> (which just wrap stuff into callbacks for you)
Apr 21 02:20:08 <viatropos> right, but I'm also aiming to minimize the code base, the amount of code iced-coffee generates is insane
Apr 21 02:20:50 <viatropos> but, that's application specific so you could technically use it
Apr 21 02:20:59 <orngchkn> sure
Apr 21 02:22:24 <orngchkn> I'm still getting my brain around the async-nature of Node (coming from six years of Ruby/Rails)
Apr 21 02:23:02 <viatropos> hardcore!
Apr 21 02:23:07 <orngchkn> The callback hell seems pretty crazy if you're trying to use more than a couple instances
Apr 21 02:24:11 <orngchkn> That's why asyncblock or iced coffee look so interesting
Apr 21 02:24:26 <orngchkn> Even though they both obviously just do the callback stuff for you
Apr 21 02:25:51 <viatropos> it's really not bad, I don't have more than this: https://gist.github.com/2435235, with that `=>` in coffeescript makes it simple
Apr 21 02:26:22 <viatropos> as long as you encapsulate methods, you don't go more than 2-3 most of the time
Apr 21 02:27:53 <orngchkn> But what about using a relation on those users?
Apr 21 02:28:28 <orngchkn> You'd use #includes() eventually, but that doesn't exist yet, right?
Apr 21 02:29:14 <orngchkn> Until we have that using that relation is an N+1 problem
Apr 21 02:30:49 <viatropos> Yeah, that's coming in this next 2 weeks or so
Apr 21 02:31:51 <orngchkn> Fresh. Well I'm off to bed. Nice to meet you. Hopefully this IRC thing works out for Tower. It was huge for Rails in the early days.
Apr 21 02:32:41 * orngchkn has quit (Quit: Leaving.)
Apr 21 02:54:47 <e_dub> ok, i can get it so that the format becomes "html" instead of "form" but then it immediately tries to GET /custom/1 HTTP/1.1 and that doesn't exist
Apr 21 02:55:56 <e_dub> dunno if thats making any sense but yeah... that's what happens after submitting the form to edit or create a user, i mean
Apr 21 03:05:43 <e_dub> if you have any ideas viatropos , i would be more than glad to test it out and make a pull request if i can get it working, if not, gonna put it on hold for tonight and look at it monday or tuesday
Apr 21 04:40:43 * Morhaus (~Morhaus@37-8-170-3.coucou-networks.fr) has joined #towerjs
Apr 21 04:40:56 <Morhaus> Hello :)
Apr 21 04:45:04 * Morhaus has quit (Ping timeout: 246 seconds)
Apr 21 06:07:46 * viatropos has quit (Quit: viatropos)
Apr 21 07:07:04 * Disconnected (Connection timed out).
**** ENDING LOGGING AT Sat Apr 21 07:07:04 2012
**** BEGIN LOGGING AT Sat Apr 21 07:07:23 2012
Apr 21 07:07:23 * Now talking on #towerjs
Apr 21 07:07:23 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 21 07:07:23 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 21 07:46:36 * Disconnected (Connection timed out).
**** ENDING LOGGING AT Sat Apr 21 07:46:36 2012
**** BEGIN LOGGING AT Sat Apr 21 07:46:56 2012
Apr 21 07:46:56 * Now talking on #towerjs
Apr 21 07:46:56 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 21 07:46:56 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 21 09:26:55 Tcl interface unloaded
Apr 21 09:26:55 Python interface unloaded
**** ENDING LOGGING AT Sat Apr 21 09:26:55 2012
**** BEGIN LOGGING AT Sat Apr 21 09:43:15 2012
Apr 21 09:43:16 * Now talking on #towerjs
Apr 21 09:43:16 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 21 09:43:16 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Sat Apr 21 20:17:15 2012
**** BEGIN LOGGING AT Sat Apr 21 22:04:48 2012
Apr 21 22:04:48 * Now talking on #towerjs
Apr 21 22:04:48 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 21 22:04:48 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:28:44 2012
Apr 21 22:34:41 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 21 22:35:10 * ChanServ gives channel operator status to viatropos
Apr 21 22:40:51 <e_dub> just put up a pull request for that instrumentation.coffee change. heh. I wish I could say it took me only five minutes to figure out, lol.
Apr 21 22:41:18 <e_dub> but, learned a ton about tower in the process of trying to figure out something that would work, so very worth the time
Apr 21 23:15:43 * viatropos has quit (Read error: Connection reset by peer)
Apr 22 03:53:15 * Morhaus (~Morhaus@37-8-169-159.coucou-networks.fr) has joined #towerjs
Apr 22 04:00:53 * Morhaus has quit (Ping timeout: 272 seconds)
Apr 22 04:47:39 * Morhaus (~Morhaus@37-8-169-159.coucou-networks.fr) has joined #towerjs
Apr 22 05:11:13 * Morhaus has quit (Ping timeout: 246 seconds)
Apr 22 07:41:17 * Morhaus (~Morhaus@AToulon-151-1-93-137.w86-197.abo.wanadoo.fr) has joined #towerjs
Apr 22 08:01:12 * Morhaus has quit (Remote host closed the connection)
Apr 22 08:05:43 * Morhaus (~Morhaus@AToulon-151-1-93-137.w86-197.abo.wanadoo.fr) has joined #towerjs
Apr 22 08:36:32 * Morhaus has quit (Read error: Connection reset by peer)
Apr 22 08:37:01 * Morhaus (~Morhaus@AToulon-151-1-93-137.w86-197.abo.wanadoo.fr) has joined #towerjs
Apr 22 08:37:59 * Morhaus_ (~Morhaus@37-8-168-200.coucou-networks.fr) has joined #towerjs
Apr 22 08:41:12 * Morhaus has quit (Ping timeout: 248 seconds)
Apr 22 08:44:49 * Morhaus_ has quit (Remote host closed the connection)
Apr 22 10:53:10 * Morhaus (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 11:03:31 * Morhaus_ (~Morhaus@37-8-166-242.coucou-networks.fr) has joined #towerjs
Apr 22 11:04:54 * Morhaus has quit (Read error: No route to host)
Apr 22 11:10:11 * Morhaus_ has quit (Ping timeout: 252 seconds)
Apr 22 11:16:49 * kemet has quit (Quit: kemet)
Apr 22 14:02:54 * Morhaus (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 14:35:05 * Morhaus has quit (Remote host closed the connection)
Apr 22 14:42:03 * Morhaus (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 14:44:08 * Morhaus has quit (Read error: Connection reset by peer)
Apr 22 14:44:34 * Morhaus (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 14:47:08 * kemet (~wizfunk@cpe-173-095-146-253.nc.res.rr.com) has joined #towerjs
Apr 22 15:03:05 * Morhaus_ (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 15:03:05 * Morhaus has quit (Read error: Connection reset by peer)
Apr 22 15:04:02 * Morhaus (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 15:04:23 * Morhaus_ has quit (Read error: Connection reset by peer)
Apr 22 15:10:28 * Morhaus_ (~Morhaus@37-8-160-201.coucou-networks.fr) has joined #towerjs
Apr 22 15:10:28 * Morhaus has quit (Read error: Connection reset by peer)
Apr 22 15:14:48 * Morhaus_ has quit (Ping timeout: 245 seconds)
Apr 22 17:22:15 * Morhaus (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 17:25:40 * Morhaus_ (~Morhaus@37-8-161-133.coucou-networks.fr) has joined #towerjs
Apr 22 17:28:32 * Morhaus has quit (Ping timeout: 246 seconds)
Apr 22 17:56:07 * Morhaus (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 17:56:36 * Morhaus has quit (Remote host closed the connection)
Apr 22 17:56:58 * Morhaus (~Morhaus@ANice-551-1-255-105.w90-52.abo.wanadoo.fr) has joined #towerjs
Apr 22 17:58:11 * Morhaus_ has quit (Ping timeout: 272 seconds)
Apr 22 17:58:23 * Morhaus has quit (Read error: No route to host)
Apr 22 17:58:24 * Morhaus_ (~Morhaus@37-8-162-47.coucou-networks.fr) has joined #towerjs
Apr 22 18:15:15 * Morhaus_ has quit (Ping timeout: 246 seconds)
**** ENDING LOGGING AT Sun Apr 22 18:17:32 2012
**** BEGIN LOGGING AT Sun Apr 22 18:35:41 2012
Apr 22 18:35:42 * Now talking on #towerjs
Apr 22 18:35:42 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 22 18:35:42 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 22 21:26:31 * kemet has quit (Quit: kemet)
Apr 23 00:41:25 * orngchkn (~Adium@96-40-160-118.dhcp.mtpk.ca.charter.com) has joined #towerjs
Apr 23 02:22:40 * Morhaus_ (~Morhaus@37-8-162-54.coucou-networks.fr) has joined #towerjs
Apr 23 02:23:11 * Morhaus has quit (Read error: No route to host)
Apr 23 02:33:24 * Morhaus_ has quit (Ping timeout: 245 seconds)
Apr 23 04:16:09 * Killix (~Killix@197.31.68.214) has joined #towerjs
Apr 23 04:23:55 <Killix> hi all
Apr 23 04:34:02 * orngchkn has quit (Quit: Leaving.)
Apr 23 04:36:51 * Killix has quit (Ping timeout: 245 seconds)
Apr 23 05:08:49 * Morhaus (~Morhaus@37-8-166-151.coucou-networks.fr) has joined #towerjs
Apr 23 05:13:17 * Morhaus has quit (Ping timeout: 260 seconds)
Apr 23 08:48:31 * Killix (~Killix@197.31.205.201) has joined #towerjs
Apr 23 11:35:50 * vjsingh (60ee34be@gateway/web/freenode/ip.96.238.52.190) has joined #towerjs
Apr 23 11:36:18 <vjsingh> has anyone gotten design.io to compile the coffeescript files in the tower repo?
Apr 23 11:36:21 <vjsingh> its not working for me
Apr 23 11:59:01 * vjsingh has quit (Quit: Page closed)
Apr 23 12:08:12 <Killix> user = App.User.first(), return undefined... normal ?
Apr 23 12:08:54 <e_dub> killix, you have any users in your database?
Apr 23 12:16:02 <Killix> yes
Apr 23 12:16:06 <Killix> two users
Apr 23 12:16:31 <Killix> it's work for you ?
Apr 23 12:17:54 <e_dub> well, i have had success with users just using some simple scaffolding, but let me try copying what you wrote exactly and see if it works
Apr 23 12:21:55 <Killix> my code : http://pastebin.com/ZaK05Zfa
Apr 23 12:21:58 <Killix> very basic
Apr 23 12:23:35 <Killix> this work :
Apr 23 12:23:38 <Killix> App.User.first (err,uu) =>
Apr 23 12:23:39 <Killix> console.log "first"
Apr 23 12:23:39 <Killix> console.log uu
Apr 23 12:23:53 <Killix> but don't this user = App.User.first()
Apr 23 12:31:03 <e_dub> yup getting the same here
Apr 23 12:31:26 <e_dub> undefined. dunno why yet, but this is interesting proble
Apr 23 12:31:29 <e_dub> problem
Apr 23 12:32:18 <Killix> ok
Apr 23 12:32:24 <Killix> i found the problem
Apr 23 12:32:29 <Killix> in the finder mongod
Apr 23 12:32:43 <Killix> i testa path and push git, if is solve
Apr 23 12:32:51 <Killix> sorry for my english ;)
Apr 23 12:33:09 <e_dub> your fine, dont worry about that
Apr 23 12:34:41 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 23 12:35:30 <e_dub> good afternoon viatropos
Apr 23 12:36:14 * ChanServ gives channel operator status to viatropos
Apr 23 12:36:27 <viatropos> hey e_dub, thanks for your contribution.
Apr 23 12:36:34 <Killix> good afternoon viatropos
Apr 23 12:36:46 <viatropos> can only stay for a few minutes, will then be back in 2 hours or so
Apr 23 12:37:00 <viatropos> Killix: hey
Apr 23 12:39:16 <Killix> i check a possible bug for mongod store with User = App.User.first() #return undefined, i think
Apr 23 12:39:20 <Killix> I think it's in the file server / store / mongod / finder.js: findOne function
Apr 23 12:45:58 <e_dub> viatropos I read on the zappajs mailing list that he was taking a trip around the world or something like that, but he didnt really make any kind of arrangements for his projects in his absence. I hope he is alright, also, though
Apr 23 12:46:13 <e_dub> umm, in reference to @mauricemach
Apr 23 12:48:00 <viatropos> e_dub: ok well that's good news at least.
Apr 23 12:48:11 <viatropos> e_dub: heading out now, will be back later
Apr 23 12:48:20 <e_dub> later
Apr 23 12:48:20 * viatropos has quit (Quit: viatropos)
Apr 23 13:48:59 <Killix> later
Apr 23 13:49:06 * Killix has quit (Quit: Quitte)
Apr 23 14:15:30 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 23 14:17:23 * ChanServ gives channel operator status to viatropos
Apr 23 14:19:48 <e_dub> wb
Apr 23 23:03:12 * viatropos has quit (Quit: viatropos)
Apr 24 00:14:43 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 24 00:38:10 * viatropos has quit (Quit: viatropos)
Apr 24 00:53:16 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 24 01:12:22 * viatropos has quit (Quit: viatropos)
**** ENDING LOGGING AT Tue Apr 24 01:31:06 2012
**** BEGIN LOGGING AT Tue Apr 24 01:33:17 2012
Apr 24 01:33:17 * Now talking on #towerjs
Apr 24 01:33:18 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 24 01:33:18 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 24 08:04:03 * Disconnected (Connection timed out).
**** ENDING LOGGING AT Tue Apr 24 08:04:03 2012
**** BEGIN LOGGING AT Tue Apr 24 08:04:23 2012
Apr 24 08:04:23 * Now talking on #towerjs
Apr 24 08:04:23 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 24 08:04:23 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Tue Apr 24 08:56:26 2012
**** BEGIN LOGGING AT Tue Apr 24 08:57:59 2012
Apr 24 08:57:59 * Now talking on #towerjs
Apr 24 08:57:59 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 24 08:57:59 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 24 09:43:12 * Killix (~Killix@197.31.68.242) has joined #towerjs
Apr 24 09:43:20 <Killix> hi all
Apr 24 09:49:31 <e_dub> hello
Apr 24 09:50:21 <Killix> hello e_dub
Apr 24 09:53:51 <Killix> I have a question I use tower with mongodb, I have a relationship many-to-many (User-> Posts).
Apr 24 09:54:44 <Killix> User = App.User.first() or User = App.Post.user().first() don't work because mongo-native-db is async
Apr 24 09:55:28 <Killix> So I need to map it to my post for show User (author) information in my view
Apr 24 09:55:30 <Killix> right ?
Apr 24 09:55:45 <Killix> like this : https://github.com/fengmk2/nodeblog/blob/023b43be544b0886c9e04e440a9fe9c1f7dae62c/controllers/blog.js
Apr 24 09:56:29 <e_dub> shouldn't a post only belong to one user?
Apr 24 09:56:54 <e_dub> User hasmany posts /Post belongsto user
Apr 24 09:57:49 <Killix> yes it's thats
Apr 24 09:59:04 <Killix> my model : http://pastebin.com/UZf8x7an
Apr 24 10:01:14 <Killix> to retrieve information from the user I have to do something like
Apr 24 10:01:26 <Killix> http://pastebin.com/1tHS5fPS
Apr 24 10:02:20 <Killix> but in my view (partial "_POST" collection: @ posts), it is difficult to use
Apr 24 10:03:49 <e_dub> hmm i'm not sure. what you have looks right, but, i am learning too so I can't say
Apr 24 10:04:30 <Killix> ok :)
Apr 24 10:06:41 <e_dub> i know he is changing the way views work and its supposed to make stuff like this easier though
Apr 24 10:07:44 <e_dub> he said that is what he is working on currently, over the next couple weeks
Apr 24 10:08:01 <e_dub> he = @viatropos
Apr 24 10:08:50 <Killix> ok thanks
Apr 24 10:38:45 * KATT245435 (~Adium@213-64-87-140-no118.business.telia.com) has left #towerjs
Apr 24 11:48:02 * Killix has quit (Read error: Connection reset by peer)
Apr 24 16:02:25 * orngchkn (~Adium@96-40-160-118.dhcp.mtpk.ca.charter.com) has joined #towerjs
Apr 24 18:06:05 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
Apr 24 19:16:52 * orngchkn has quit (Quit: Leaving.)
Apr 24 19:30:56 * LessSeen has quit (Quit: Connection obliterated by peer)
Apr 24 23:48:35 * orngchkn (~Adium@96-40-160-118.dhcp.mtpk.ca.charter.com) has joined #towerjs
Apr 25 00:44:10 * Morhaus (~Morhaus@mla78-2-82-243-23-82.fbx.proxad.net) has joined #towerjs
Apr 25 00:53:34 * Morhaus_ (~Morhaus@37-8-162-208.coucou-networks.fr) has joined #towerjs
Apr 25 00:53:35 * Morhaus has quit (Read error: Connection reset by peer)
Apr 25 00:58:18 * Morhaus_ has quit (Ping timeout: 260 seconds)
Apr 25 01:34:05 * liberatus has quit (Remote host closed the connection)
Apr 25 03:14:30 * orngchkn has quit (Quit: Leaving.)
Apr 25 05:50:29 * Killix (~Killix@197.31.195.112) has joined #towerjs
Apr 25 05:50:46 <Killix> hi
**** ENDING LOGGING AT Wed Apr 25 11:29:46 2012
**** BEGIN LOGGING AT Wed Apr 25 11:40:37 2012
Apr 25 11:40:37 * Now talking on #towerjs
Apr 25 11:40:37 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 25 11:40:37 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 25 12:57:55 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
Apr 25 13:20:02 * Killix has quit (Read error: Connection reset by peer)
**** ENDING LOGGING AT Wed Apr 25 15:22:59 2012
**** BEGIN LOGGING AT Wed Apr 25 15:30:03 2012
Apr 25 15:30:03 * Now talking on #towerjs
Apr 25 15:30:03 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 25 15:30:03 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 25 15:30:23 * LessSeen has quit (Quit: Connection obliterated by peer)
Apr 25 15:30:40 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
Apr 25 15:30:51 * LessSeen has quit (Client Quit)
Apr 25 15:31:39 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
Apr 25 15:32:09 * LessSeen has quit (Client Quit)
Apr 25 15:32:59 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
**** ENDING LOGGING AT Wed Apr 25 15:39:21 2012
**** BEGIN LOGGING AT Wed Apr 25 15:45:30 2012
Apr 25 15:45:30 * Now talking on #towerjs
Apr 25 15:45:30 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 25 15:45:30 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 25 16:45:41 * LessSeen is now known as nonplus
Apr 25 16:45:49 * nonplus is now known as LessSeen
Apr 25 17:10:04 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 25 17:22:54 <e_dub> hey viatropos
Apr 25 17:23:01 <viatropos> hey
Apr 25 17:23:27 <e_dub> i was just about to reboot but i'll be back in a minute
Apr 25 17:23:37 Tcl interface unloaded
Apr 25 17:23:37 Python interface unloaded
**** ENDING LOGGING AT Wed Apr 25 17:23:37 2012
**** BEGIN LOGGING AT Wed Apr 25 17:25:25 2012
Apr 25 17:25:25 * Now talking on #towerjs
Apr 25 17:25:25 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 25 17:25:25 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 25 17:27:50 <e_dub> is the environment variable Tower.env instead of NODE_ENV ?
Apr 25 17:29:01 <viatropos> yeah, it's on the list to sync the two though, haven't gotten around to it
Apr 25 17:29:26 <viatropos> should be something like `Tower.env = process.env.NODE_ENV unless Tower.env?`
Apr 25 17:29:59 <e_dub> i see, no problem. trying to fix that custom redirect issue and NODE_ENV kept giving me errors
Apr 25 17:30:20 <e_dub> then i saw Tower.env in the documentation
Apr 25 17:30:43 <viatropos> thanks for your help, sorry about not getting to that other issue, been swamped trying to push out this other stuff
Apr 25 17:30:55 <e_dub> not a problem at all
Apr 25 17:31:34 <e_dub> so, will all the ember stuff be implemented under-the-hood so to speak?
Apr 25 17:31:51 <e_dub> i was reading through ember's documentation, it's really powerful stuff
Apr 25 17:41:11 <viatropos> yeah, it's going to be transparent for the most part. the ember "object model" is super powerful, and we would end up having to build it anyway... so we're going with ember.js, It's built super well! I've already integrated basically ember-data's concepts into the ember-new branch for tower. What this means is the models will be bindable in views, so if you set a property and you've written ember views, they will automatically
Apr 25 17:41:11 <viatropos> update. Also, the "chainable scopes" will be bindable (working on that today). This means if you can use ember's/handlbar's {{#each}} block and do something like `App.nearestDeals = App.Deal.where(endDate: '>': new Date()).near(currentLocation).within(1, 'mile').asc('distance')` to set a scope to a variable, and then use it a view like `{{#each App.nearestDeals}}...`. Stoked about that. This will also work for pub/sub, so if
Apr 25 17:41:11 <viatropos> "subscribe" to a scope, something like `Tower.subscribe('nearestDeals', -> App.Deal.where(endDate: '>': new Date()).near(@currentUser.get('currentLocation')).within(1, 'mile').asc('distance'))`, then any time a deal is created, it will be passed through that scope and sent to any connected clients (notice how it's filtered by the currentUser). Still working out the api on that one.
Apr 25 17:42:08 <viatropos> e_dub: do you mind prefixing your messages with my username even though no one's here? I'll do the same, just makes it so I get a little notification that I got a message, so I can minimize the window :)
Apr 25 17:43:07 <e_dub> viatropos, oh np. i just didnt want to interrupt you while you were working, figured you'd see it when you had a second
Apr 25 17:45:34 <e_dub> and that is super awesome . I'm really happy to be getting in basically at the start of something so revolutionary.
Apr 25 17:45:44 <viatropos> e_dub: fyi, this is what meteor is doing, they just now have to solve the security/authentication problem, and direct database access. using the query api in tower and routing this through controllers, that's already solved.
Apr 25 17:47:43 <e_dub> viatropos, my big problem with meteor is that they force you to write all your server code in a fiber, and give you no way to get access to the event-based i/o abilities of node
Apr 25 17:48:30 <viatropos> e_dub: definitely.
Apr 25 17:56:05 <LessSeen> sounds ace viatropos! glad to see that tower development is so active
Apr 25 18:04:48 <e_dub> viatropos, you mentioned before using design.io to compile the tower src files. which command does that?
Apr 25 18:08:41 <viatropos> in the tower repo, run `design.io`
Apr 25 18:08:57 <viatropos> alias to `design.io watch`
Apr 25 18:09:49 <e_dub> oh cool, and it will do it just like that
Apr 25 18:10:11 <e_dub> do you need to be in the src folder or just in the main repo folder?
Apr 25 18:10:32 <e_dub> and i assume i need to run design.io start in another terminal first?
Apr 25 18:10:37 <viatropos> e_dub: yep, just in the root of the project, not the src folder. it reads `Watchfile` from the root, which tells it what to compile
Apr 25 18:10:51 <e_dub> awesome thanks
Apr 25 18:11:09 <viatropos> e_dub: no, `design.io start` is to setup the socket server for live reloads, you don't need that just for compiling
Apr 25 18:11:18 <e_dub> ok awesome
Apr 25 18:23:17 * LessSeen has quit (Quit: Connection obliterated by peer)
Apr 25 20:04:30 <e_dub> viatropos, when i run tower's test suite there are quite a few that fail, is that expected right now?
Apr 25 20:05:46 <viatropos> e_dub: the master branch? There's only 1 or 2 that fail (issue #92), the ember-new branch is a different story atm
Apr 25 20:07:52 <e_dub> what's the right way to run them? when i try just running 'mocha' i cant seem to get it to actually run any. so it was when i ran 'npm test' which i saw on the readme that i got like 50 fails
Apr 25 20:08:19 <e_dub> most of them due to timeouts though, looking at the output more closely
Apr 25 20:09:02 <e_dub> viatropos,
Apr 25 20:09:07 <viatropos> not sure, try setting ./test/mocha.opts timeout to be longer, may be b/c some server is not starting... the tests pass, just something must not be setting up properly
Apr 25 20:10:56 <e_dub> ok, just trying to make sure i'm not breaking anything before i submit this pull request
Apr 25 20:13:32 * denysonique has quit (Read error: Connection reset by peer)
Apr 25 20:15:31 <viatropos> sebastian was having that problem too, must be some random little thing
Apr 25 20:19:41 <e_dub> viatropos : ok, yeah just made a fresh cloned copy of the master branch , cd'ed into it, ran "npm install ." , ran "npm test" and same stuff. 52 errors, a bunch from timeouts. Changing timeout in mocha.opts to 5000 ms even doesnt fix it, lol, just takes longer to fail. so yeah, probably something weird in my setup or something
Apr 25 20:20:39 * denysonique (u484@gateway/web/irccloud.com/x-gdbbndhilrfrgghq) has joined #towerjs
Apr 25 20:20:54 <e_dub> i'm gonna go ahead and push the one I'm working on up, and make my pull request then. Since the errors are exactly the same in the freshly cloned one, though.
Apr 25 20:22:04 <viatropos> e_dub: k sounds good, don't worry about the tests for the time being, definitely write some of your own if you want (in a new file, then run just those with `mocha $(find name -test "*yourCodeTest.coffee")`. I'll get that fixed soon
Apr 25 20:22:49 <e_dub> good deal
Apr 25 23:04:26 <e_dub> viatropos, got the following two errors when generating an app, similar to before: Error downloading https://raw.github.com/twitter/bootstrap/master/less/badges.less
Apr 25 23:04:26 <e_dub> Error downloading https://raw.github.com/twitter/bootstrap/master/less/labels.less
Apr 25 23:04:36 <e_dub> everything else came through fine
Apr 25 23:05:04 <e_dub> didnt know if I should make another issue for these or just point them out to you
Apr 25 23:06:47 <viatropos> e_dub: would you mind submitting a pull request for them, updating the reference to those files in tower/src/tower/server/generator/generators/app/appGenerator.coffee? if not I can probably fix that later tonight. will be able to merge and push that real quick
Apr 25 23:07:07 <e_dub> no problem
Apr 25 23:07:20 <e_dub> i was looking up the correct address right now
Apr 25 23:07:27 <e_dub> so i can take care of that
Apr 25 23:09:34 <viatropos> e_dub: thanks a ton
Apr 25 23:10:21 * viatropos has quit (Quit: viatropos)
Apr 25 23:23:15 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 25 23:26:20 * viatropos has quit (Client Quit)
Apr 26 02:48:38 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 26 02:49:16 <viatropos> e_dub: you can try running the tests again after syncing with master, they should work now.
Apr 26 02:49:37 <e_dub> viatropos, yup will give that a try now
Apr 26 02:49:57 <e_dub> in the main repo, just run 'npm test' ?
Apr 26 02:49:59 <viatropos> there's still those 2 issue tests, haven't fixed them yet.
Apr 26 02:50:24 <viatropos> yeah, did you fetch and merge with github.comviatropos/tower.git?
Apr 26 02:50:40 <e_dub> about to
Apr 26 02:50:44 <viatropos> k
Apr 26 02:57:23 <e_dub> hmm yeah still getting 52 fails
Apr 26 02:57:29 <e_dub> viatropos,
Apr 26 02:57:55 <viatropos> can you paste the output into a private gist?
Apr 26 02:58:02 <e_dub> sure
Apr 26 02:58:26 <viatropos> thanks
Apr 26 02:59:52 <e_dub> https://gist.github.com/cfbf16f4abc065c354d5
Apr 26 03:00:23 <e_dub> ubuntu 11.10 , npm 1.1.18
Apr 26 03:02:19 <viatropos> hmm... interesting. different than what I'm seeing. I'll have to think about this more. Helps.
Apr 26 03:02:56 <viatropos> what version of node?
Apr 26 03:03:00 <e_dub> ok, i will let you know if i figure anything out or if i get them running correctly
Apr 26 03:03:13 <viatropos> cool
Apr 26 03:03:16 <e_dub> 0.6.13
Apr 26 03:04:19 <viatropos> k
Apr 26 03:05:08 <viatropos> I'm using 0.6.14, one possibility.
Apr 26 03:05:51 <e_dub> wonder how you upgrade node
Apr 26 03:08:01 <viatropos> I changed that line in controller/instrumentation.coffee to `try @params.format = require('mime').extension(@request.header("content-type"))`, is yours like that?
Apr 26 03:08:27 <viatropos> you can do `brew upgrade node` if you used homebrew. oh wait, you're on linux (:
Apr 26 03:08:47 <e_dub> yeah lol, grabbing the tarball now
Apr 26 03:11:06 <e_dub> yeah, just checked it's like that, and just to make sure, checked the javascript too
Apr 26 03:11:46 <viatropos> k
Apr 26 03:16:32 <e_dub> viatropos, btw, isn't `try @params.format = require('mime').extension(@request.header("content-type"))` exactly how it was before when it was breaking?
Apr 26 03:19:34 <viatropos> that's what I thought, but I had a bunch of similar errors to you with the way I received it from pulling, it said `@controller.request.header...`, and there was no controller variable.
Apr 26 03:20:01 <viatropos> will think about it more, heading off to bed
Apr 26 04:12:45 <e_dub> viatropos : dunno if you will see this in the morning, but I'll leave this up and you can just leave me a reply , ran tests with both node 0.6.14 and 0.6.15, still failing, deleted entire local repo, recloned, re-fetched master, merged, cleared npm cache, still failing
Apr 26 04:15:00 <e_dub> viatropos : not sure what else to try at this point, gonna try a re-boot, just because sometimes that works when nothing else does, but otherwise basically out of ideas right now. also, gonna try running a tower app using this branch and see if where you changed that line back if I start getting those old errors again
Apr 26 04:15:17 Tcl interface unloaded
Apr 26 04:15:17 Python interface unloaded
**** ENDING LOGGING AT Thu Apr 26 04:15:17 2012
**** BEGIN LOGGING AT Thu Apr 26 04:18:30 2012
Apr 26 04:18:30 * Now talking on #towerjs
Apr 26 04:18:31 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 26 04:18:31 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 26 04:31:56 <e_dub> viatropos damn thought i had figured it out but that didnt work either. i realized that the local directory i was testing was not my global tower, so i wiped all versions of tower from my system, then recloned, refetched the upstream master, merged, installed dep., npm link to make it the global, ran npm test-- still getting 52 errors
Apr 26 04:33:49 * Killix (~Killix@197.31.207.0) has joined #towerjs
Apr 26 04:34:08 <Killix> hi
Apr 26 04:36:13 <Killix> viatropos: i need help for resolv bug with form render, fields.field "comment", as: "text" return <textarea></textarea>, I can not solve this problem, even looking in field.js
Apr 26 04:36:53 <Killix> version": "0.4.0-9" of tower
Apr 26 04:38:10 <e_dub> he went to bed a while ago killix, I was just leaving him some messages for when he gets up
Apr 26 04:40:06 <Killix> hi e_dub, ok, thanks
Apr 26 04:40:30 <Killix> you have this problem with textarea rendering ?
Apr 26 04:48:08 <e_dub> well, not that exact problem, though all I've done is generated some scaffolds and played with those
Apr 26 04:50:13 <e_dub> but, when i submit a form from the page , to create a user for example, it tries to submit it with format: form , when what it needs to be is format: html . i thought I had fixed this, but apparently it broke a bunch of tests, so he had to change it back for now
Apr 26 04:52:24 <e_dub> anyways, going to sleep, well try again tomorrow
Apr 26 05:07:56 <Killix> ok tomorrow
Apr 26 06:03:41 * Killix has quit (Quit: Quitte)
Apr 26 06:10:36 * viatropos has quit (Quit: viatropos)
Apr 26 06:11:21 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 26 07:53:00 <e_dub> viatropos, looks like what's failing to fire , i think, is the memory store
Apr 26 07:55:43 <e_dub> take that back, mongo messes up two in a couple, so it must be whatever fires those
Apr 26 08:18:04 <e_dub> aha, i am pretty sure it's this Tower.start function. seems to be in all the failing test suites, and not in the others, though I have only scanned them, not carefully crawled over each and every one
Apr 26 08:29:01 <e_dub> except this one: 42) Tower.Support.Url named routes urlFor(route: "login"):
Apr 26 08:29:01 <e_dub>
Apr 26 08:29:01 <e_dub> actual expected
Apr 26 08:29:01 <e_dub>
Apr 26 08:29:01 <e_dub> /silogn-in
Apr 26 08:29:01 <e_dub> which appears to just be a type-o in test/cases/support/urltest.coffee
Apr 26 10:52:21 * viatropos has quit (Quit: viatropos)
Apr 26 10:53:02 * viatropos (~viatropos@c-24-7-59-197.hsd1.ca.comcast.net) has joined #towerjs
Apr 26 11:05:08 <e_dub> viatropos, did u get my messages?
Apr 26 12:39:27 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
Apr 26 13:28:43 * brainproxy (~brainprox@pdpc/supporter/gold/brainproxy) has joined #towerjs
Apr 26 13:29:41 <brainproxy> looking at Tower as a replacement-alternative to a lot of the things I've been hand-rolling with coffee-script and epxress, etc. ... however, I'm coming to it with hardly any background in Rails
Apr 26 13:31:02 <brainproxy> any suggestions as to how to get the most out of it w/o first, say, reading through the "Rails Tutorial" ebook or something like that, i.e. to get a footing in Rails conventions?
Apr 26 13:55:24 * viatropos has quit (Quit: viatropos)
Apr 26 14:01:05 <e_dub> brainproxy I'm in a fairly similar position and I'd say that there really isn't enough documentation in place to do what you are wanting easily. I've been working through Hartl's Rails Tutorial but using Tower instead and trying to document the differences as I work them out. but its been quite slow going
Apr 26 14:01:51 <e_dub> in large part because Tower is such a work-in-progress
Apr 26 14:08:10 <brainproxy> e_dub: ah, interesting idea
Apr 26 14:08:32 <brainproxy> to work through RT, but prog'ing in Tower
Apr 26 14:09:41 <brainproxy> back in 2009, I read enough Hartl and watched some RailsCasts on ActiveMerchant, to the point that I was able to build and deploy a "donations site" on Heroku
Apr 26 14:09:55 <brainproxy> but that's the first and last time I messed with Rails
Apr 26 14:10:17 <brainproxy> amazingly, that donations site still runs :-)
Apr 26 14:10:34 <brainproxy> which I think has more to do w/ Rails and Heroku than my coding skills in ruby
Apr 26 14:11:30 <brainproxy> but anyway, that makes me think that I could attempt what you're attempting and see where it leads me
Apr 26 14:13:49 <e_dub> It at least gives you a starting point instead of just looking at Tower and feeling like "Wha............"
Apr 26 14:14:05 <e_dub> which is kind of where I was stuck
Apr 26 15:27:41 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 26 15:35:48 <viatropos> e_dub: got your messages
Apr 26 15:37:29 <viatropos> brainproxy: haven't really thought that through yet, though I imagine if you're already familiar with coffeescript and express you can just dive in. you'll figure out the conventions as you go, I'd just search google for folder/file paths in rails as questions arise.
Apr 26 15:38:12 <e_dub> ok. yeah, I've been trying to pinpoint this and it seems like the tests are all failing because the response.body is coming back undefined
Apr 26 15:40:26 <e_dub> when i try to trace it back it really starts getting down into the metal though, and i get in over my head tbh
Apr 26 15:41:09 <e_dub> viatropos (realized I forgot to prepend that to the message)
Apr 26 15:41:38 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
Apr 26 15:41:50 <brainproxy> viatropos: okay, thanks :)
Apr 26 15:42:31 <brainproxy> viatropos: one thing I might be interested in .. have you given though to whether other backend persistent options will be pluggable
Apr 26 15:42:35 <brainproxy> *thought
Apr 26 15:42:44 <brainproxy> for example, I'm fascinated by OrientDB
Apr 26 15:43:39 <brainproxy> and would like to experiment with it taking the place of mongodb, but am not sure yet, since I'm just getting started, how hard-wired the model and store stuff is to mongo
Apr 26 15:45:16 <viatropos> brainproxy: ooh nice, I haven't seen OrientDB yet, looks really cool! Tower has a pluggable datastore api, so any database will be able to be integrated fairly easily.
Apr 26 15:46:01 <viatropos> brainproxy: I've only had time for mongo at the moment, but once the base set of features are in I'm probably going to make all the popular databases work.
Apr 26 15:46:17 <brainproxy> viatropos: sweet
Apr 26 15:46:46 <brainproxy> btw, there's an orientdb network binary-protocol driver thing for nodejs
Apr 26 15:46:48 <brainproxy> https://github.com/gabipetrovay/node-orientdb
Apr 26 15:47:35 <viatropos> brainproxy: sweet, I'll check that out
Apr 26 15:47:45 <viatropos> brainproxy: do you know how orientdb compares to neo4j?
Apr 26 15:48:17 <viatropos> brainproxy: the website for orientdb is way better (:
Apr 26 15:48:28 <brainproxy> viatropos: they're quite similar
Apr 26 15:48:40 <brainproxy> however, licesning is quite different
Apr 26 15:48:40 <brainproxy> orientdb is apache2 lic
Apr 26 15:48:52 <brainproxy> also, orientdb has a SQL like language
Apr 26 15:49:09 <brainproxy> but you can also use gremlin and the blueprints stuff with it
Apr 26 15:49:32 <viatropos> what about general community adoption, what's going to be the winner, any idea?
Apr 26 15:49:37 <brainproxy> I'm trying to learn it myself ... struggling a bit, because I have know java knowledge
Apr 26 15:49:58 <brainproxy> viatropos: not sure, orientdb is definitely not well known
Apr 26 15:50:12 <brainproxy> though I'm not sure neo4j rings a bell for all that many people
Apr 26 15:50:25 <brainproxy> however, there's an active little community around orientdb
Apr 26 15:50:31 <brainproxy> and I love how portable it is
Apr 26 15:50:42 <brainproxy> the db server is just 2mb
Apr 26 15:50:54 <viatropos> brainproxy: cool cool, yeah it looks great.
Apr 26 15:51:13 <brainproxy> totally self-contained as long as the host has jdk6
Apr 26 15:51:46 <viatropos> nice
Apr 26 15:52:59 <brainproxy> i'd like to rewrite the javascript lib/api thing that's provided on the code.google site; the author of orientdb wrote it himself but its jquery backed and doesnt use async requests (it's all sync!)
Apr 26 15:53:25 <brainproxy> i think i could mostly preserve the api and instead implement with mikeal's request and iriscouch's browser-request
Apr 26 15:54:31 <brainproxy> but anyway, that's for accessing orient with the REST api (which isn't all that restful, imo); the nodejs driver uses the binary protocol as I said, and that would make more sense for use in the context of tower
Apr 26 15:54:42 <brainproxy> anyway, back to code, thanks for the feedback
Apr 26 15:55:21 <viatropos> brainproxy: checkout http://visionmedia.github.com/superagent/
Apr 26 15:55:53 <viatropos> works in browser and node, the best one I've used
Apr 26 15:56:09 <brainproxy> oh sweet!
Apr 26 15:56:13 <brainproxy> hadn't even heard of that
Apr 26 18:16:27 <e_dub> viatropos, ok, installed node/npm/and bleeding edge tower on an older computer here, also running ubuntu 11.10 and tests also failed but this time without running. Put the output in a private gist in case it would be helpful to you: https://gist.github.com/1cd5765e051033feb4f4
Apr 26 18:17:05 <e_dub> if i can do anything else to be helpful let me know
Apr 26 18:44:53 * liberatus has quit (Remote host closed the connection)
Apr 26 19:18:21 * LessSeen has quit (Quit: Connection obliterated by peer)
**** ENDING LOGGING AT Thu Apr 26 19:29:34 2012
**** BEGIN LOGGING AT Thu Apr 26 19:33:17 2012
Apr 26 19:33:17 * Now talking on #towerjs
Apr 26 19:33:17 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 26 19:33:17 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 26 21:36:25 <e_dub> viatropos, well, cleaned out all node/npm/tower on my main machine, fresh installed everything Node@0.6.14, npm@1.1.18, tower cleanly cloned from github... fought with npm about node_modules and their dependencies for about forty-five minutes, finally got everything installed, ran 'npm test' and started seeing similar dependency based errors like I saw on my older machine, removed that entire node_modules directory, cleared npm's cache,
Apr 26 21:36:25 <e_dub> ran 'npm install .' again, everything installed right away, run 'npm test' and back to those 52 errors again.
Apr 26 21:37:26 <e_dub> my hope had been, based on the test results from the other machine, that these were all some kind of dependency issue based on stuff already installed globally on my machine or something like that, but this should have fixed that, I would think
Apr 26 21:38:08 <e_dub> maybe its an issue with linux... ;(
Apr 26 21:40:48 <e_dub> sorry for the wall of text, just really frustrated by this. want to get tests running correctly so I can get back to trying to fix the instrumentation.coffee line, but since my earlier attempt broke tests for you, I want to make sure I can properly run any solution I try against the current tests before putting in any more pull requests
Apr 26 22:07:50 * viatropos has quit (Quit: viatropos)
Apr 26 22:44:46 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
Apr 26 22:53:12 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
Apr 26 22:56:15 <e_dub> viatropos, did you happen to catch what I was saying before you logged out?
Apr 26 22:58:21 <viatropos> e_dub: hey, I got your messages. I haven't been able to devote any time to thinking about this problem yet...
Apr 26 22:58:55 <viatropos> I understand your frustration... sounds like you tried a bunch of stuff
Apr 26 22:59:08 <e_dub> no problem, just wanted to make sure you saw in case any of that info could be helpful
Apr 26 23:03:40 <viatropos> I still won't be able to really dig in (and I think it will be fixed when I merge the new code in a week or so). But thought I might throw this out there. One way I usually go about fixing these things is comment out all the tests but one, and run just that test file with mocha. Then go about commenting out code (or `return`ing from some random methods that are being a called in the stack, or throw an error), and eventually get
Apr 26 23:03:41 <viatropos> point where you can see where the problem might be. Then just start changing stuff, lol.
Apr 26 23:04:51 <e_dub> cool. good idea
Apr 26 23:11:25 <e_dub> viatropos, very odd, when I run the test file with mocha it passes, so I uncommented ALL the tests in the file, and all those pass with 6 pending, dunno if any were supposed to be pending though, but none outright failed like with npm test
Apr 26 23:14:46 <e_dub> yup scanning through I see some that are completely blank, so those must be meant to be pending
Apr 26 23:15:33 * viatropos has quit (Read error: Connection reset by peer)
Apr 26 23:16:04 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
Apr 26 23:20:44 <brainproxy> viatropos: you probably are, but are you aware of the issue where the menu bar (i.e. row of links) at the top of the towerjs.org page disappears if the browser window is less wide than some threshhold width
Apr 26 23:21:01 <brainproxy> i meants *site, not page
Apr 26 23:21:47 <brainproxy> also, the image for the github "fork me" ribbon is missing, apparently the link out to that asset on s3 is no longer valid
Apr 26 23:23:43 <e_dub> viatropos, ok awesome, when i run the files that had failing tests one at a time using mocha, everything that should pass does, but, the two Issue92 tests that are known to fail still fail
Apr 26 23:25:30 <e_dub> viatropos, when you get time, I'm in no hurry here, is there any way to run the whole suite at once using mocha instead of npm? I've used mocha some (and love the heck out of it) but only with a single test file
Apr 26 23:35:12 <viatropos> e_dub: checkout out the package.json scripts.test string, that's where npm test is mapped
Apr 26 23:35:36 <e_dub> cool thanks
Apr 26 23:36:49 <viatropos> brainproxy: thanks for pointing out, yeah I just hacked the site together real quick, need to go through a real design phase
Apr 26 23:51:52 <brainproxy> viatropos: no problem, didn't think it was worth an issue, but figured it was worth a mention in case you hadn't notice some probs, perhaps because of things lodged in your local browser cache, that kind of thing
Apr 27 00:06:13 <e_dub> viatropos, very interestingly and just for reference, "mocha test/cases/*/*.coffee test/cases/*.coffee" will run 590 of the tests, with the expected outcome of only 2 failing, however, if you go a third level deep to get what I think are all the remaining tests so "mocha test/cases/*/*/*.coffee " then I start seeing stuff fail that passes if I run them more precisely either test by test or even just narrowing in on the folder better lik
Apr 27 00:06:13 <e_dub> e 'mocha test/cases/server/controller/*.coffee'
Apr 27 00:07:51 <e_dub> stuff that is clearly passing will fail in the one case, even though what its expecting and what it gets are actually equivalent, or else things timeout, no matter how much time i give them
Apr 27 00:08:53 <e_dub> just odd, but either way, I seem to have found a method to run the tests and get them to pass, just have to go about it kind of methodically
Apr 27 00:57:18 <brainproxy> e_dub: I cloned the repo, ran `npm install .`, invoked mongod, and then ran `node_modules/mocha/bin/mocha $(find test -name "*Test.coffee")`
Apr 27 00:57:39 <brainproxy> all tests passed except those two that are failing as reported by Travis CI
Apr 27 00:57:53 <e_dub> brainproxy, what OS are you on?
Apr 27 00:58:00 <brainproxy> mac 10.7
Apr 27 00:58:04 <brainproxy> I can try on ubuntu 11.10
Apr 27 00:58:17 <brainproxy> what OS are you on?
Apr 27 00:58:21 <brainproxy> sorry, haven't kept up with the back and forth
Apr 27 00:58:25 <e_dub> I'm using ubuntu 11.10, I'm thinking that's the issue
Apr 27 00:58:49 <brainproxy> let me try
Apr 27 00:58:57 <brainproxy> firing up my virtual machine now
Apr 27 00:59:02 <e_dub> but I've found a way to get accurate test results, working on writing a script now to do it in one go
Apr 27 00:59:32 <brainproxy> I'll have to get mongod installed... but I will report back soon
Apr 27 00:59:44 <e_dub> cool thanks
**** BEGIN LOGGING AT Fri Apr 27 01:10:08 2012
Apr 27 01:10:08 * Now talking on #towerjs
Apr 27 01:10:08 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 27 01:10:08 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 27 01:14:11 <brainproxy> e_dub: okay, so on first pass with `npm install .` inside freshly cloned tower repo
Apr 27 01:14:26 <brainproxy> I got some errors related to c/c++ compilation for some modules
Apr 27 01:14:36 <brainproxy> so what I did...
Apr 27 01:14:46 <brainproxy> inside cloned tower directory
Apr 27 01:14:51 <brainproxy> rm -rf node_modules
Apr 27 01:14:54 <brainproxy> npm cache clean
Apr 27 01:14:59 <brainproxy> npm install .
Apr 27 01:15:08 <brainproxy> everything installed fine that time around
Apr 27 01:15:14 <brainproxy> then...
Apr 27 01:15:16 <brainproxy> node_modules/mocha/bin/mocha $(find test -name "*Test.coffee")
Apr 27 01:15:35 <brainproxy> the two tests I expected to fail did fail
Apr 27 01:15:44 <brainproxy> and a 3rd on failed I haven't seen fail on my mac
Apr 27 01:15:58 <brainproxy> "3) Issue105 handle request with unknown format:"
Apr 27 01:16:39 <e_dub> but just 3, not 52?
Apr 27 01:22:23 <e_dub> this is very interesting, copying that command just as you pasted it gives me 31 errors instead of 52... very screwy... something on my system is or in my setup is just not handling running these tests all at once or something. i dont know if why though
Apr 27 01:22:27 <brainproxy> just the two expected ones, and then that 3rd one
Apr 27 01:22:34 <brainproxy> re: Issue 105
Apr 27 01:23:19 <e_dub> yeah that one is supposed to pass. it does when i break the tests down
Apr 27 01:23:44 <brainproxy> did you try `npm cache clean` ?
Apr 27 01:23:50 <e_dub> yeah many times
Apr 27 01:24:22 <e_dub> i actually completely wiped all traces of node, npm and tower from my system and reinstalled everything
Apr 27 01:26:14 <brainproxy> shouldn't matter too much, but have you recently done `sudo aptitude update && sudo aptitude safe-upgrade`
Apr 27 01:26:34 <brainproxy> also, what version of mongod do you have installed?
Apr 27 01:28:04 <e_dub> yes on those, lemme check on mongod version
Apr 27 01:28:24 <brainproxy> mongod --version
Apr 27 01:28:26 <brainproxy> or
Apr 27 01:28:41 <brainproxy> aptitude show mongo
Apr 27 01:28:57 <brainproxy> well, actually, the latter depends on what package you have installed
Apr 27 01:29:10 <e_dub> db version v2.0.4, pdfile version 4.5
Apr 27 01:29:19 <brainproxy> okay, same version as me
Apr 27 01:30:06 <brainproxy> what does `uname -a` give you
Apr 27 01:31:07 <brainproxy> e.g. I get "Linux myhost 3.0.0-16-generic-pae #29-Ubuntu SMP Tue Feb 14 13:56:31 UTC 2012 i686 i686 i386 GNU/Linux"
Apr 27 01:31:45 <e_dub> interesting: No command 'Linux' found, did you mean:
Apr 27 01:31:45 <e_dub> Command 'linux' from package 'user-mode-linux' (universe)
Apr 27 01:31:45 <e_dub> Linux: command not found
Apr 27 01:31:58 <brainproxy> no, try command:
Apr 27 01:31:59 <brainproxy> uname -a
Apr 27 01:32:09 <e_dub> oh ok, i left the backtics in
Apr 27 01:32:14 <brainproxy> gotcha
Apr 27 01:32:25 <brainproxy> I was using those to delimit the command from other things I typed
Apr 27 01:32:36 <brainproxy> but yeah, didn't mean for you to type them in
Apr 27 01:32:44 <e_dub> Linux edub 3.0.0-17-generic-pae #30-Ubuntu SMP Thu Mar 8 17:53:35 UTC 2012 i686 athlon i386 GNU/Linux
Apr 27 01:33:00 <brainproxy> oka, so basically the same
Apr 27 01:33:12 <brainproxy> x86 family, same generation kernel
Apr 27 01:33:28 <brainproxy> how do you have node installed?
Apr 27 01:33:43 <brainproxy> manually, using nvm, from package manager...?
Apr 27 01:34:54 <e_dub> yup, it's really really weird, i think though, because viatropos said earlier that he figures in a week when he puts in all the new changes it will probably sort itself out, I'm not TOOOOO worried anymore, because I've found a way to run tests in the meanwhile
Apr 27 01:35:12 <e_dub> umm currently uusing NVM, before that it was a manual install
Apr 27 01:35:34 <e_dub> thought I'd try the NVM thing when I re-installed everything earlier today
Apr 27 01:35:45 <brainproxy> yeah, nvm is the bomb
Apr 27 01:35:51 <brainproxy> been using it for almost two years I think
Apr 27 01:36:35 <e_dub> lol, actually, it's giving me issues with using a shebang to run coffeescripts as executables
Apr 27 01:36:52 <e_dub> so i was thinking if i couldnt get that sorted out i'd switch back
Apr 27 01:37:26 <e_dub> otherwise i like it though, reminds me of a much much easier to use rvm
Apr 27 01:37:40 <brainproxy> i just did a safe-upgrade; currently I'm re-install node v0.6.15 w/ nvm
Apr 27 01:38:03 <brainproxy> then going to clone tower again and try again w/ npm install . and running tests
Apr 27 01:38:29 <brainproxy> just to see what happens
Apr 27 01:38:47 <e_dub> do you ever use coffeescripts as executables like that, with a shebang?
Apr 27 01:39:45 <e_dub> and what's a 'safe-upgrade' btw?
Apr 27 01:39:55 <brainproxy> sudo aptitude safe-upgrade
Apr 27 01:40:00 <e_dub> oh i see
Apr 27 01:40:08 <brainproxy> it's just what I have in my mind to do after aptitude update
Apr 27 01:40:12 <e_dub> i thought u meant as an nvm command
Apr 27 01:40:17 <brainproxy> gotcha
Apr 27 01:40:50 <brainproxy> I haven't been using coffeescript as exec's no, but I guess I could :D
Apr 27 01:41:25 <brainproxy> I like using spawn/exec to fire up lots of child procs and do fun systems stuff under the control of coffee-script
Apr 27 01:41:44 <e_dub> its really cool, I've done it before, and I was gonna use it now to write a script to make running these tests really fast and easy for me, instead of having to paste or type in like six commands, but for some reason, it just wont work
Apr 27 01:42:15 <e_dub> like, at all, even just to helloworld
Apr 27 01:43:10 <e_dub> tried sending the shebang to the exact path of coffee, to the link in nvm, then even made a link from where nvm has coffee to /usr/bin and doing that, and it just wont do it
Apr 27 01:45:43 <brainproxy> can you gist an example?
Apr 27 01:47:01 <e_dub> sure
Apr 27 01:48:10 <e_dub> https://gist.github.com/2506698
Apr 27 01:48:15 <e_dub> really simple
Apr 27 01:49:17 <brainproxy> okay, I'm still getting same results after the clean reinstall of node v0.6.15, fresh clone of tower and npm install .
Apr 27 01:49:23 <brainproxy> just those 3 tests failing
Apr 27 01:49:41 <brainproxy> though i did have to kill the npm install process and start it again
Apr 27 01:49:50 <brainproxy> it got hung up on something but reported no errors
Apr 27 01:51:16 <e_dub> its all very weird to me
Apr 27 01:52:25 <brainproxy> okay, regarding your script thing
Apr 27 01:52:52 <brainproxy> did you:
Apr 27 01:52:57 <brainproxy> chmod +x hey.coffee
Apr 27 01:53:03 <brainproxy> also
Apr 27 01:53:08 <brainproxy> what happens if you run..
Apr 27 01:53:10 <brainproxy> which coffee
Apr 27 01:54:15 <e_dub> oh cool i figured it out
Apr 27 01:54:30 <e_dub> have to run it like ./hello.coffee
Apr 27 01:54:45 <e_dub> and bam- executable coffeescript
Apr 27 01:54:57 <e_dub> and cool, i can leave nvm alone
Apr 27 01:55:30 <brainproxy> :)
Apr 27 01:55:35 <brainproxy> how were you doing it before?
Apr 27 01:55:43 <brainproxy> sh ./hello.coffee
Apr 27 01:55:44 <brainproxy> ?
Apr 27 01:55:49 <e_dub> hello.coffee i had just forgotten about the ./
Apr 27 01:55:53 <brainproxy> ah
Apr 27 01:55:54 <brainproxy> gotcha
Apr 27 01:57:21 <e_dub> but yeah, you can get into some neat stuff like this: http://oylenshpeegul.typepad.com/blog/2011/11/fun-with-coffeescript.html
Apr 27 02:05:48 <brainproxy> this is probably the most outrageous thing I've written in coffee-script
Apr 27 02:05:49 <brainproxy> https://github.com/michaelsbradleyjr/facile/blob/master/structure/Cakefile
Apr 27 02:06:04 <brainproxy> it's part of a continuous build-test system
Apr 27 02:06:26 <brainproxy> the 'bake' task weaves most of the others together
Apr 27 02:06:54 <brainproxy> it's sort of like cowboy's "grunt" library
Apr 27 02:07:11 <e_dub> oh cool
Apr 27 02:07:21 <brainproxy> but you have to manually place the cakefile and the dependencies alongside your project
Apr 27 02:07:40 <e_dub> i was scanning through but a lot went over my head on first pass
Apr 27 02:08:38 <brainproxy> it's basically a lot of signalling back and forth between tasks
Apr 27 02:08:45 <brainproxy> killing child processes, restarting them, etc.
Apr 27 02:08:57 <e_dub> how well does it work? better than grunt and similar tools?
Apr 27 02:09:06 <brainproxy> when it works it's really nice, but it's not exactly the most extensible thing
Apr 27 02:09:21 <brainproxy> I wouldn't say it's better than grunt
Apr 27 02:09:30 <brainproxy> but it handles some things that grunt doesn't
Apr 27 02:09:30 <e_dub> oh have you looked at design.io yet?
Apr 27 02:09:39 <brainproxy> not yet, but I will be doing so
Apr 27 02:09:53 <e_dub> its VERY slick
Apr 27 02:09:59 <brainproxy> yeah, looks slick
Apr 27 02:10:09 <brainproxy> and probably generalizes a number of the things I've been doing
Apr 27 02:10:23 <e_dub> and you can build watchfiles for it to make it do anything you want just about
Apr 27 02:10:23 <brainproxy> e.g. in my 'spec-server' task
Apr 27 02:10:33 <e_dub> i see
Apr 27 02:10:43 <brainproxy> yeah, definitely better than what I've been doing :D
Apr 27 02:10:51 <brainproxy> oh well, good learning experience
Apr 27 02:11:23 <e_dub> hey, what you've been doing might wind up being useful as part of something else you build later
Apr 27 02:13:08 <brainproxy> indeed
Apr 27 02:13:19 <brainproxy> well, I think I better go find my pillow
Apr 27 02:13:33 <e_dub> and actually, I may borrow a bit of what you've done here to save me some time on this little testrunner I'm making or trying to
Apr 27 02:13:39 <e_dub> alright man, take it easy
Apr 27 02:13:45 <e_dub> thanks for all your help earlier
Apr 27 02:13:55 <brainproxy> need to get up and code tomorrow, then tomorrow going to see the Cardinals play at Busch Stadim, woohoo
Apr 27 02:14:00 <brainproxy> e_dub: sure, no problem
Apr 27 02:14:12 <e_dub> dope man, I'm a brave's fan though
Apr 27 02:14:34 <brainproxy> e_dub: good luck, and chat me up whenever; if I have time, I'll try to help as best I can
Apr 27 02:14:50 <e_dub> thanks, I have a ton to learn
Apr 27 03:56:08 <e_dub> viatropos, ok, if anyone else runs into the same weird problem as me with the tests, I have a very simple bash script they can use that will execute the tests and get the expected outcome. seems like for some reason on my system, running all the tests at once causes some kind of interference, like variables are leaking or something? dunno. Anyways, this little script works, just execute it from the main tower directory: https://gist.git
Apr 27 03:56:08 <e_dub> hub.com/2507587
Apr 27 03:56:31 <e_dub> err https://gist.github.com/2507587
Apr 27 03:58:32 <e_dub> I was trying to write that in coffeescript, and probably will but eventually but it was getting very late and I got irritated with the output on the screen not coming out nice and clean like I wanted it, so this was easy
**** ENDING LOGGING AT Fri Apr 27 05:01:58 2012
**** BEGIN LOGGING AT Fri Apr 27 06:26:48 2012
Apr 27 06:26:48 * Now talking on #towerjs
Apr 27 06:26:48 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 27 06:26:48 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 27 09:00:34 * Killix (~Killix@197.31.207.48) has joined #towerjs
Apr 27 09:01:10 <Killix> hi
Apr 27 09:38:55 * liberatus has quit (Remote host closed the connection)
Apr 27 10:56:14 * Killix has quit (Read error: Connection reset by peer)
Apr 27 11:13:09 * Killix (~Killix@197.31.207.48) has joined #towerjs
Apr 27 11:31:11 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
Apr 27 11:35:59 * viatropos has quit (Client Quit)
Apr 27 11:41:40 * Killix has quit (Quit: Quitte)
Apr 27 12:19:07 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 27 13:52:23 * viatropos has quit (Quit: viatropos)
Apr 27 13:56:47 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 27 13:56:56 * viatropos has quit (Client Quit)
Apr 27 14:15:28 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
**** BEGIN LOGGING AT Fri Apr 27 14:45:34 2012
Apr 27 14:45:34 * Now talking on #towerjs
Apr 27 14:45:34 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 27 14:45:34 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 27 15:07:12 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 27 15:25:08 * Jonah11_ (~Jonah@173-22-146-233.client.mchsi.com) has joined #towerjs
Apr 27 15:33:08 <e_dub> hi jonah
Apr 27 16:32:10 <Jonah11_> hi e_dub
Apr 27 16:32:26 * Jonah11_ (~Jonah@173-22-146-233.client.mchsi.com) has left #towerjs ("Leaving")
Apr 27 16:37:48 <e_dub> viatropos, now that I have a way to test , I was able to reduce the test failures you mentioned when changing that line in instrumentation.coffee , so I can take another shot at that now, because I can run any solution attempts against the test suite. Got a couple ideas I want to try.
Apr 27 16:40:15 <viatropos> e_dub: sweet! good to hear.
Apr 27 16:46:48 * viatropos has quit (Quit: viatropos)
Apr 27 18:46:34 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
Apr 27 19:21:17 * LessSeen has quit (Quit: Connection obliterated by peer)
Apr 27 19:56:55 * viatropos has quit (Quit: viatropos)
**** ENDING LOGGING AT Fri Apr 27 22:14:58 2012
**** BEGIN LOGGING AT Fri Apr 27 22:16:49 2012
Apr 27 22:16:49 * Now talking on #towerjs
Apr 27 22:16:50 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 27 22:16:50 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** BEGIN LOGGING AT Fri Apr 27 22:21:28 2012
Apr 27 22:21:28 * Now talking on #towerjs
Apr 27 22:21:28 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 27 22:21:29 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** BEGIN LOGGING AT Sat Apr 28 00:00:13 2012
Apr 28 00:00:13 * Now talking on #towerjs
Apr 28 00:00:14 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 28 00:00:14 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Sat Apr 28 00:11:58 2012
**** BEGIN LOGGING AT Sat Apr 28 00:26:46 2012
Apr 28 00:26:46 * Now talking on #towerjs
Apr 28 00:26:46 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 28 00:26:46 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** BEGIN LOGGING AT Sat Apr 28 00:54:51 2012
Apr 28 00:54:52 * Now talking on #towerjs
Apr 28 00:54:52 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 28 00:54:52 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 28 00:54:52 * [freenode-info] why register and identify? your IRC nick is how people know you. http://freenode.net/faq.shtml#nicksetup
Apr 28 20:21:15 * orngchkn (~Adium@75-164-235-26.ptld.qwest.net) has joined #towerjs
Apr 28 20:42:11 * orngchkn has quit (Quit: Leaving.)
Apr 28 22:07:10 * orngchkn (~Adium@75-164-235-26.ptld.qwest.net) has joined #towerjs
Apr 29 01:57:47 * orngchkn has quit (Quit: Leaving.)
Apr 29 11:19:41 * orngchkn (~Adium@75-164-235-26.ptld.qwest.net) has joined #towerjs
Apr 29 11:41:55 * orngchkn has quit (Quit: Leaving.)
**** ENDING LOGGING AT Sun Apr 29 14:44:18 2012
**** BEGIN LOGGING AT Sun Apr 29 16:56:44 2012
Apr 29 16:56:44 * Now talking on #towerjs
Apr 29 16:56:44 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 29 16:56:44 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 29 20:08:36 * orngchkn has quit (Quit: Leaving.)
Apr 29 20:34:43 * orngchkn (~Adium@75-164-235-26.ptld.qwest.net) has joined #towerjs
**** ENDING LOGGING AT Sun Apr 29 23:04:12 2012
**** BEGIN LOGGING AT Sun Apr 29 23:13:15 2012
Apr 29 23:13:15 * Now talking on #towerjs
Apr 29 23:13:16 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 29 23:13:16 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 30 05:31:59 * orngchkn has quit (Quit: Leaving.)
Apr 30 05:59:08 * Killix (~Killix@197.31.78.130) has joined #towerjs
Apr 30 08:49:00 * viatropos (~viatropos@68.65.92.186) has joined #towerjs
Apr 30 08:50:45 * ChanServ gives channel operator status to viatropos
Apr 30 08:57:07 <viatropos> hey e_dub, hope you had a good weekend. thanks for all your help on the issues list, really appreciate it.
Apr 30 09:59:05 * viatropos has quit (Quit: viatropos)
Apr 30 10:05:31 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
Apr 30 10:44:37 * viatropos has quit (Quit: viatropos)
Apr 30 12:44:22 * Killix has quit (Quit: Quitte)
Apr 30 12:52:17 * orngchkn (~Adium@c-24-20-67-212.hsd1.or.comcast.net) has joined #towerjs
Apr 30 13:05:39 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
Apr 30 15:35:13 * orngchkn1 (~Adium@c-24-20-67-212.hsd1.or.comcast.net) has joined #towerjs
Apr 30 15:35:24 * orngchkn has quit (Read error: Connection reset by peer)
**** BEGIN LOGGING AT Mon Apr 30 16:07:33 2012
Apr 30 16:07:34 * Now talking on #towerjs
Apr 30 16:07:34 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 30 16:07:34 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 30 16:32:01 * lionstone (~lionstone@208.80.69.42) has joined #towerjs
**** ENDING LOGGING AT Mon Apr 30 16:42:36 2012
**** BEGIN LOGGING AT Mon Apr 30 16:45:26 2012
Apr 30 16:45:26 * Now talking on #towerjs
Apr 30 16:45:26 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 30 16:45:26 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 30 18:19:18 * orngchkn1 is now known as orngchkn
Apr 30 18:19:39 <orngchkn> Where oh where is our little viatropos?
Apr 30 18:20:54 <e_dub> lol he came by early this morning but i was still asleep
Apr 30 18:23:58 * techthumb (techthumb@nat/jetstar/x-iyqbnnxxbsczsxws) has joined #towerjs
Apr 30 18:24:28 * orngchkn1 (~Adium@c-24-20-67-212.hsd1.or.comcast.net) has joined #towerjs
Apr 30 18:25:07 * orngchkn has quit (Read error: Connection reset by peer)
Apr 30 18:27:53 * orngchkn1 is now known as orngchkn
Apr 30 18:31:29 <LessSeen> set %peak_users = 0
Apr 30 18:38:12 * orngchkn slaps LessSeen with a large trout
Apr 30 18:39:44 * LessSeen slaps a large trout with a small orngchkn
Apr 30 18:39:58 <LessSeen> ;)
Apr 30 18:40:44 <e_dub> lol
Apr 30 19:12:11 * techthumb (techthumb@nat/jetstar/x-iyqbnnxxbsczsxws) has left #towerjs
Apr 30 19:48:55 * lionstone has quit (Remote host closed the connection)
Apr 30 19:58:53 * orngchkn has quit (Quit: Leaving.)
**** ENDING LOGGING AT Mon Apr 30 20:18:41 2012
**** BEGIN LOGGING AT Mon Apr 30 20:50:46 2012
Apr 30 20:50:46 * Now talking on #towerjs
Apr 30 20:50:46 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 30 20:50:46 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Mon Apr 30 20:59:15 2012
**** BEGIN LOGGING AT Mon Apr 30 20:59:41 2012
Apr 30 20:59:41 * Now talking on #towerjs
Apr 30 20:59:41 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
Apr 30 20:59:41 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
Apr 30 20:59:41 * [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
Apr 30 23:06:22 * orngchkn (~Adium@75-164-235-26.ptld.qwest.net) has joined #towerjs
Apr 30 23:30:48 * techthumb (techthumb@nat/jetstar/x-zifdbsvmxgepjiyn) has joined #towerjs
**** BEGIN LOGGING AT Tue May 1 00:08:29 2012
May 01 00:08:29 * Now talking on #towerjs
May 01 00:08:29 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 01 00:08:29 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 01 02:01:07 * techthumb has quit (Quit: Leaving.)
**** ENDING LOGGING AT Tue May 1 09:21:09 2012
**** BEGIN LOGGING AT Tue May 1 09:24:57 2012
May 01 09:24:57 * Now talking on #towerjs
May 01 09:24:57 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 01 09:24:57 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 01 09:24:57 * [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
May 01 12:36:51 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 01 12:37:13 * ChanServ gives channel operator status to viatropos
May 01 12:50:29 * orngchkn has quit (Quit: Leaving.)
May 01 12:54:30 * LessSeen has quit (Quit: Connection obliterated by peer)
May 01 13:15:54 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 01 13:16:28 * viatropos has quit (Quit: viatropos)
May 01 15:17:58 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 01 15:20:20 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 01 15:24:34 * viatropos has quit (Ping timeout: 260 seconds)
May 01 15:24:34 * viatropos_ is now known as viatropos
May 01 16:22:52 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
May 01 16:42:18 <e_dub> brb
May 01 16:42:22 Tcl interface unloaded
May 01 16:42:22 Python interface unloaded
**** ENDING LOGGING AT Tue May 1 16:42:22 2012
**** BEGIN LOGGING AT Tue May 1 17:17:03 2012
May 01 17:17:03 * Now talking on #towerjs
May 01 17:17:03 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 01 17:17:03 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 01 17:19:50 <e_dub> hey viatropos wanted to ask if you'd seen my new proposed solutions to the instrumentation.coffee problem? I've been waiting to put together a pull request until I got your feedback. Absolutely no rush, but I also wanted to make sure you hadn't just accidentally missed it.
May 01 17:22:36 * techthumb (techthumb@nat/jetstar/x-joctjgestenyvcnp) has joined #towerjs
May 01 17:26:44 <viatropos> e_dub: hey, I haven't seen any proposed new solutions. I was going to dig in the next day or two as I prepare to push this Ember integration stuff
May 01 17:27:10 <viatropos> oh *your solution, misread (:
May 01 17:27:26 <e_dub> ok cool, it's in the issues thread
May 01 17:27:29 <viatropos> yeah, I missed it
May 01 17:27:30 <viatropos> k
May 01 17:27:48 <e_dub> so awesome, is the ember integration stuff almost done?
May 01 17:29:32 <viatropos> yeah just about, getting ember to publish a version for node now! https://github.com/emberjs/ember.js/pull/771
May 01 17:30:11 <viatropos> still have a little more, and want to fix those core issues as well before I push
May 01 17:31:46 <e_dub> well, I'll put together a pull request for the one thing, as soon as you let me know which track to take
May 01 17:33:07 <viatropos> Oh okay, you're talking about this? https://github.com/viatropos/tower/issues/107#issuecomment-5395225
May 01 17:33:30 <e_dub> yeah
May 01 17:33:50 * orngchkn (~Adium@c-50-135-163-7.hsd1.wa.comcast.net) has joined #towerjs
May 01 17:34:00 <viatropos> if you found a robust solution to solve the problem, definitely send a pull request. I'll fix this 100% otherwise by the end of the week.
May 01 17:34:27 <e_dub> ok cool, I'll put one in then so you can focus elsewhere
May 01 17:34:37 <viatropos> k cool
May 01 17:56:05 * orngchkn1 (~Adium@c-50-135-163-7.hsd1.wa.comcast.net) has joined #towerjs
May 01 17:56:06 * orngchkn has quit (*.net *.split)
May 01 17:56:07 * viatropos has quit (*.net *.split)
May 01 17:56:09 * liberatus has quit (*.net *.split)
May 01 17:56:09 * brainproxy has quit (*.net *.split)
May 01 17:56:09 * denysonique has quit (*.net *.split)
May 01 17:56:14 * LessSeen has quit (*.net *.split)
May 01 18:02:15 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 01 18:02:15 * denysonique (u484@gateway/web/irccloud.com/x-gdbbndhilrfrgghq) has joined #towerjs
May 01 18:02:15 * brainproxy (~brainprox@pdpc/supporter/gold/brainproxy) has joined #towerjs
May 01 18:02:15 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
May 01 18:02:15 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 01 18:23:52 * Less_Seen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 01 18:32:38 * LessSeen has quit (*.net *.split)
May 01 18:45:43 <orngchkn1> viatropos in the house
May 01 18:45:59 <orngchkn1> viatropos: How is Tower going to use Ember?
May 01 18:54:41 <viatropos> hey
May 01 18:57:45 <viatropos> orngchkn1: right now the model and controller extend Ember.Object, Tower.Model.Cursor (old Criteria) extends Ember.ArrayProxy (still finalizing), and Application extends Ember.Namespace. This way models and controllers will be bindable/observable, and 'chained scopes' will be basically bindable collections - anytime a model is created/updated/deleted, it will pass through "published" or "subscribed" cursors/collections, which will
May 01 18:57:46 <viatropos> observers (so an {{#each App.recentUsers}} block in a view will automatically update)
May 01 19:00:30 <viatropos> I want to think about, in the future, making it so you can inject ember into the core, but it defaults without it. So if you include Ember it will automatically make core Tower objects extend the right Ember objects. Ember has a hardcore class/mixin system that we'd have to basically rebuild otherwise, didn't have time for that atm.
May 01 19:03:19 <viatropos> also, views will still be coffeekup/coffeecup, but you can add handlebars markup like `h1 "{{title}}"`, and templates will be compiled to `public/javascripts/app/views/templates.js`, so on the client ember will know what to do.
May 01 19:10:52 * orngchkn1 is now known as orngchkn
May 01 19:12:14 <orngchkn> When's that all coming down the pipe?
May 01 19:43:04 <viatropos> hopefully this week
May 01 21:05:53 -kloeri- [Global Notice] Hi all. We're experiencing some technical problems and as a side-effect of that services email is currently down. This means that registering nicks and sending password reset emails won't currently work. The mails will be queued up but it's unknown when they'll be delivered. Thank you for using freenode.
May 01 22:06:49 * viatropos has quit (Quit: viatropos)
May 01 23:04:46 <e_dub> anyone around that can help me out with a quick question about using git to fix my pull request?
May 02 00:08:15 <e_dub> nvm, getting it sorted
May 02 02:11:28 * techthumb has quit (Quit: Leaving.)
May 02 02:50:03 * orngchkn has quit (Quit: Leaving.)
**** ENDING LOGGING AT Wed May 2 03:13:42 2012
**** BEGIN LOGGING AT Wed May 2 03:30:41 2012
May 02 03:30:41 * Now talking on #towerjs
May 02 03:30:41 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 02 03:30:41 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 02 07:05:11 * Less_Seen has quit (Ping timeout: 260 seconds)
May 02 07:14:22 * LessSeen (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 02 11:25:53 * viatropos (~viatropos@68.65.92.186) has joined #towerjs
May 02 11:27:05 * ChanServ gives channel operator status to viatropos
May 02 12:10:18 * orngchkn (~Adium@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 02 12:23:14 * viatropos has quit (Quit: viatropos)
May 02 12:29:51 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 02 14:35:04 * viatropos has quit (Quit: viatropos)
May 02 15:12:26 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 02 15:13:03 <e_dub> hey viatropos sorry i mungled up that first pull request so bad last night.
May 02 15:28:31 <viatropos> e_dub: no problem, we need to get rid of including the generated files at some point, will clean things up
May 02 15:28:49 <e_dub> yeah i was just reading through that discussion, sounds like a good idea
**** ENDING LOGGING AT Wed May 2 17:01:46 2012
**** BEGIN LOGGING AT Wed May 2 17:22:29 2012
May 02 17:22:29 * Now talking on #towerjs
May 02 17:22:29 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 02 17:22:29 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 02 17:32:56 * liberatus has quit (Remote host closed the connection)
May 02 17:36:01 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
May 02 17:39:21 * techthumb (techthumb@nat/jetstar/x-xagngukcrmnrefmc) has joined #towerjs
May 02 17:44:58 * ChanServ gives channel operator status to viatropos
May 02 18:18:54 <orngchkn> viatropos: Would you configure the IRC hook for the Tower repo at Github so that it announces pushes and pull requests in this room?
May 02 18:19:17 <viatropos> orngchkn: ok let me see
May 02 18:19:31 <e_dub> oh that would be cool, didnt realize github was setup for that
May 02 18:22:02 <orngchkn> Pretty simple (under Admin > Service Hooks > IRC)
May 02 18:23:26 * viatropos sets mode -n #towerjs
May 02 18:23:26 * ChanServ sets mode +n #towerjs
May 02 18:23:45 * viatropos sets mode -n #towerjs
May 02 18:23:46 * ChanServ sets mode +n #towerjs
May 02 18:24:05 <viatropos> orngchkn: ok set it up
May 02 18:24:45 <viatropos> orngchkn: still new to IRC, i just typed "/mode #towerjs -n" and it says "You changed this room to permit outside messages." Then right after, it says
May 02 18:24:45 <viatropos> [4:23pm] ChanServ changed this room to prohibit outside messages.
May 02 18:25:05 * GitHub197 (~GitHub197@sh2.rs.github.com) has joined #towerjs
May 02 18:25:05 -GitHub197/#towerjs- [tower] none pushed 3 new commits to master: http://git.io/BJzREw
May 02 18:25:05 -GitHub197/#towerjs- [tower/master] fixes #119 - Lance Pollard
May 02 18:25:05 -GitHub197/#towerjs- [tower/master] Fixes @params.format problem in Tower.Controller.Instrumentation - edubkendo
May 02 18:25:05 -GitHub197/#towerjs- [tower/master] instrumentation - Lance Pollard
May 02 18:25:05 * GitHub197 (~GitHub197@sh2.rs.github.com) has left #towerjs
May 02 18:25:09 <viatropos> ok there it is
May 02 18:27:31 <viatropos> can you guys see that?
May 02 18:27:32 <LessSeen> sweet!
May 02 18:35:32 <e_dub> very dope
May 02 18:45:30 * Disconnected (Invalid argument).
**** ENDING LOGGING AT Wed May 2 18:45:30 2012
**** BEGIN LOGGING AT Wed May 2 18:45:49 2012
May 02 18:45:49 * Now talking on #towerjs
May 02 18:45:49 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 02 18:45:49 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 02 19:42:14 <viatropos> hey you guys mind if I start throwing ideas around in here? so many cool things to think about, want your input
May 02 19:42:44 <e_dub> absolutely man
May 02 19:42:52 <e_dub> i think thats absolutely what irc is for
May 02 19:43:14 <viatropos> I'll cache the conversations [somewhat] here: https://github.com/viatropos/tower/wiki/discussions
May 02 19:44:00 <viatropos> so I'm working on finishing the routes so they're fully done like in rails, and that led me to ember routemanager
May 02 19:44:24 <viatropos> http://codebrief.com/2012/02/anatomy-of-a-complex-ember-js-app-part-i-states-and-routes/
May 02 19:45:10 <viatropos> a week ago when integrating ember, I tried implementing the state machine...
May 02 19:45:50 <e_dub> yeah ember's state machine looks pretty boss
May 02 19:45:59 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
May 02 19:46:33 <viatropos> I come from a flex background, and all this HTML5/JS stuff + Ember is becoming basically ActionScript + Flex. In those days, I also tried implementing a state machine. There was this library Mate, and they had an eventMap that eventually turned into a routing system: http://mate.asfusion.com/page/documentation/overview
May 02 19:47:21 <viatropos> I tried as hard as I could to make that work, and it did work in the end (Mate + Flex + Routes). But, it was too much mental overhead and too fragile.
May 02 19:48:05 <viatropos> In the end, I started building Rails routes in Flex using just actionscript, and it was much easier (before I even really knew rails that well).
May 02 19:50:18 <viatropos> My point is, there's a lot of excitement around the statemachine and RouteManager in ember and I think it's going to add too much overhead and complexity in the long run. It's one of those things that makes sense _theoretically_, but doesn't actually make your life easier. Sometimes a statemachine works, when it's very simple, like the ruby state_machine gem used to make a Deal go from `pending` to `active` to `expired` or someth
May 02 19:50:19 <viatropos> But in the case of a RouteManager, it's infinitely more complex and harder to use. But at the same time, you feel like it's the right architecture to use.
May 02 19:50:44 <viatropos> getting to client controllers...
May 02 19:52:07 <viatropos> So reading this guy's article, what he's saying makes sense about clients/controllers/states, and how server controllers are stateless: http://codebrief.com/2012/03/make-the-most-of-your-routes/
May 02 19:53:12 <e_dub> so it turned out that ember's statemachine ends up being a lot harder to use than it looks like at first?
May 02 19:53:24 <viatropos> yes it was significantly harder
May 02 19:54:08 <e_dub> well that makes a lot of sense. ember
May 02 19:54:20 <viatropos> I tried basically porting ember-data's patterns into tower, and did. But after 3 days of working on that, it was taking my mind too long to see how to make small adjustments in the code without breaking everything or having to restructure/rewrite a lot of it.
May 02 19:54:29 <viatropos> it was becoming either too fragile or too much spaghetti code
May 02 19:55:28 <viatropos> the statemachine itself isn't hard to use, but applying it to something like internal model states (isNew, isValid, isDeleted, etc.) required I'd say 10x as much code than not using it. Which made it harder to work on.
May 02 19:56:04 <e_dub> 's state machine looked really cool when you showed it to me last week, but it certainly isnt the main selling point of ember anyways. if there's a simpler way to go (and i will read through that article in just a second) then I think that's what you want. The whole reason to use a framework like tower or ember is to abstract away mental overhead. not add to it.
May 02 19:57:46 <viatropos> for sure. the core of ember is very useful, so that's staying
May 02 19:57:56 <viatropos> but this got me thinking about the client controllers
May 02 19:58:45 <viatropos> So you can imagine, the client controllers like a PostsController has 7 actions (4 GET actions though). The 4 GET actions (index/show/new/edit) map to the URL. Ideally you only want to instantiate each controller once on the client, and cache each action unless something in the action has changed.
May 02 19:58:54 <viatropos> so it feels like a statemanager would work great here.
May 02 19:59:55 <viatropos> but 2 things, 1) i know it's going to increase complexity/mental-overhead if it was added to client controllers, and 2) it would likely require some changes to the way you write actions on the client
May 02 20:01:00 <viatropos> you want to try and keep them as consistent as possible. but after reading that article, it's clear the client does have the privilege of storing as much state as it wants, so we should take advantage of that
May 02 20:01:29 <viatropos> so my question is, what are some ideal ways you'd like client controllers to work?
May 02 20:03:13 <viatropos> 1. it should somehow cache the records associated with that action. So if it's `/posts` that leads to `index: -> App.Post.order('createdAt', 'desc')`, somehow that "scope" or "cursor" should be cached.
May 02 20:04:30 <e_dub> reading through this article, give you some thoughts in a minute, hopefully LessSeen and orngchkn and liberatus will jump in here too
May 02 20:06:36 <viatropos> e_dub: awesome, kind of just doing a brain dump
May 02 20:07:56 <viatropos> in theory, and in simple examples, "Stateful Transitions Are Awesome". However, with any sort of complexity or iterative development, they are a burden in my experience.
May 02 20:09:13 <viatropos> Ideally when you first visit an action, it would render a view, and if it was an ember view, it would be cached. If you're just using plain coffeescript, it wouldn't matter.
May 02 20:14:44 <viatropos> this way, if you just went back and forth between already-visited urls, it would basically just do $("##{controller}-#{action}").show() if it's already been created and nothing's changed
May 02 20:19:10 <viatropos> i think this will emerge out of using tower on the client. we'll start with the way it is now (plus history.pushState), then try out some ember views, see how you can cache it based on how you actually use it and work, and go from there.
May 02 20:19:22 <viatropos> that's it for now
May 02 20:20:12 <e_dub> I think that makes a lot of sense. small iterative changes based on use, rather than radical transformations
May 02 20:20:30 <e_dub> (talking about tower itself here)
May 02 20:21:28 <viatropos> definitely. want to make sure the grounds are covered though.
May 02 20:23:25 <viatropos> fyi, also preparing to implement mass-assignment protection and a batch-processing api (and integrate pagination into the `index` action responses): https://gist.github.com/2558578
May 02 20:23:53 <viatropos> rails has mass-assignment protection, but I never even knew about it until like 6 months ago.
May 02 20:24:31 <viatropos> that should be spotlight and shown to the developer right off the bat, that's a huge space for security holes
May 02 20:25:12 <viatropos> (i think that's how github got hacked: https://gist.github.com/1978249)
May 02 20:25:52 <e_dub> its crazy how frameworks and api's well have these amazing things implemented in them, that are buried so deep in documentation practically no one knows they exist
May 02 20:26:02 <viatropos> i know huh
May 02 20:28:40 <viatropos> with this json api (it's already there other than batch-processing and pagination), you pretty much have full access to _any_ database, thanks to the generic model query api. but, access is protected if we add mass-assignment protection by default, and since it passes through the server-side controller layer, you can perform authentication/authorization before any database commands are executed.
May 02 20:29:43 <e_dub> ok yeah, that's awesome. i didnt know exactly what you meant by mass_assignment protection until I looked at the gist about github, and i have no idea why that's not the default. that oughta be something you have to turn OFF, because unless you have a very good reasonn to do so, leaving all attribs updatable is just silly
May 02 20:29:45 <viatropos> last step is to keep a session-per-user using web sockets, and store chained scopes per user, and you have real-time pub/sub using any backend. that's the easy part
May 02 20:30:06 <viatropos> i know, crazy!
May 02 20:31:44 <e_dub> So are you still looking at pushing this stuff through here later this week?
May 02 20:31:45 <viatropos> e_dub: if you haven't read the security page on rails before, it's a good read sometime: http://guides.rubyonrails.org/security.html
May 02 20:32:08 <e_dub> oh cool, no, i doubt i have read that. will bookmark for later tonight
May 02 20:33:49 <viatropos> not all that lol, just ranting. so ember is in (in ember-new branch), and I want to fix that redirect stuff and test some more of the associations and write up a quick example of how to start using ember with it. that and we need to wait until ember publishes the npm module... might take a few days.
May 02 20:34:11 <e_dub> ah cool
May 02 20:34:55 <e_dub> and yeah, i didnt mean everything you just mentioned, just the stuff you've been working on. wondered if this state-machine stuff had become a big setback but sounds like it hasnt really
May 02 20:34:58 <viatropos> the last *hard* thing is going to be just making sure the model/association layer is rock solid. once that's done most everything else will go fairly quick.
May 02 20:35:21 <viatropos> it was 3 days or so...
May 02 20:35:31 <viatropos> good learning experience
May 02 20:38:06 <e_dub> yeah... i spent a good week or more figuring out that tiny change to instrumentation.coffee, but learned so much. lol. read through tons of node documentation, and then actually logged several request objects in full, as strings and read through them (thousnads upon thousands of lines) just to really get my head around what was needed there and what the page was really wanting. but i learned more from doing that than i would have from r
May 02 20:38:06 <e_dub> eading a whole book on node or something
May 02 20:39:43 <viatropos> haha, nice
May 02 20:49:40 <e_dub> dunno if you've seen me talking about this but what I've been doing to learn tower is working through michael hartl's rails guide but using tower instead , and at each step documenting any differences. eventually gonna put up a blog or something where I detail it all. It has been rather slow going though, because each time I hit a bump, instead of just passing over it or whatever, I will stop and either try to fix it or find a viable wo
May 02 20:49:40 <e_dub> rkaround of some kind, which in itself is slow being a n00b, and in the process of learning tower myself, but the amount of learning I am getting out of it is pretty massive. Kind of waiting about getting any deeper into the tutorial right now though, working on some other stuff, until this ember stuff goes live cuz i know some things are gonna change so figure might as well wait a few days
May 02 20:49:49 <e_dub> ah, sorry for the wall of text there lol
May 02 20:51:09 <e_dub> what i didnt realize is how much interest there really is from people in a similar position to me. Where I loaded my "demoApp" on to github, I've already started getting questions.
May 02 20:51:55 <e_dub> so i think you should be prepared for massive popularity as soon as you sort of "go live" with examples and tutorials and stuff
May 02 20:54:00 <viatropos> that's really cool, people will find a lot of value in your docs, that's the way I would do it too.
May 02 23:43:36 * viatropos has quit (Ping timeout: 248 seconds)
May 02 23:45:38 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 03 00:25:17 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 03 00:28:00 * viatropos has quit (Ping timeout: 246 seconds)
May 03 00:28:01 * viatropos_ is now known as viatropos
May 03 00:36:12 * techthumb has quit (Quit: Leaving.)
May 03 01:11:35 * techthumb (techthumb@nat/jetstar/x-wuxwmcsnojijzemb) has joined #towerjs
May 03 01:22:23 * liberatus has quit (Remote host closed the connection)
**** ENDING LOGGING AT Thu May 3 01:44:34 2012
**** BEGIN LOGGING AT Thu May 3 01:51:22 2012
May 03 01:51:22 * Now talking on #towerjs
May 03 01:51:22 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 03 01:51:22 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 03 02:38:44 * techthumb has quit (Quit: Leaving.)
May 03 03:01:48 * viatropos has quit (Quit: viatropos)
May 03 03:04:33 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
**** ENDING LOGGING AT Thu May 3 10:08:24 2012
**** BEGIN LOGGING AT Thu May 3 10:16:21 2012
May 03 10:16:21 * Now talking on #towerjs
May 03 10:16:21 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 03 10:16:21 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Thu May 3 10:32:34 2012
**** BEGIN LOGGING AT Thu May 3 10:32:47 2012
May 03 10:32:47 * Now talking on #towerjs
May 03 10:32:48 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 03 10:32:48 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 03 10:36:10 * e_dub has quit (Ping timeout: 256 seconds)
May 03 10:38:25 * You are now known as e_dub
May 03 10:45:17 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
**** ENDING LOGGING AT Thu May 3 10:53:38 2012
**** BEGIN LOGGING AT Thu May 3 11:00:16 2012
May 03 11:00:16 * Now talking on #towerjs
May 03 11:00:16 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 03 11:00:16 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 03 11:14:49 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 03 11:18:50 * viatropos has quit (Ping timeout: 250 seconds)
May 03 11:18:51 * viatropos_ is now known as viatropos
May 03 12:18:16 * liberatus has quit (Remote host closed the connection)
May 03 13:41:00 <orngchkn> It looks like a good conversation last night.
May 03 13:41:46 <orngchkn> The client-side caching stuff seems like premature optimization at this point.
May 03 13:43:29 <orngchkn> I haven't done much front-end MVC (MVVM?) and am approaching Tower as Node's Rails – instead of Lance's stated purpose of providing both server- and client-side MVC. Though I really, really like the idea of writing models once and sharing them in both environments
May 03 13:43:46 * viatropos has quit (Quit: viatropos)
May 03 13:44:24 <orngchkn> Well I didn't mean to make you quit! ;)
May 03 13:46:52 <e_dub> lol, you didnt say "viatropos says"
May 03 13:51:41 <orngchkn> ha
May 03 14:06:21 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 03 15:02:42 * liberatus (~liberatus@ipsec-143-215-29-222.vpn.gatech.edu) has joined #towerjs
May 03 15:07:07 * liberatus has quit (Ping timeout: 252 seconds)
May 03 15:27:39 <orngchkn> viatropos: Are you merging the embed-new branch into dev or master this week?
May 03 15:27:56 <viatropos> orngchkn: first into dev
May 03 16:25:02 * crizpy (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 03 16:25:31 * crizpy (~ls@75-147-186-177-Washington.hfc.comcastbusiness.net) has left #towerjs
May 03 16:50:14 * viatropos has quit (Quit: viatropos)
May 03 17:04:22 <orngchkn> Is the ember (not ember-new) branch a relic?
May 03 18:18:46 * techthumb (techthumb@nat/jetstar/x-feloqzxzhjzmbarl) has joined #towerjs
May 03 18:43:03 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 03 19:25:49 * techthumb has quit (Quit: Leaving.)
May 03 19:25:56 * techthumb (techthumb@nat/jetstar/x-cocszsokfchhlxbu) has joined #towerjs
May 03 19:36:06 * viatropos has quit (Quit: viatropos)
May 03 22:39:17 * techthumb has quit (Quit: Leaving.)
May 03 23:07:06 * techthumb (techthumb@nat/jetstar/x-njupmruchzyjmvoe) has joined #towerjs
**** ENDING LOGGING AT Fri May 4 00:18:28 2012
**** BEGIN LOGGING AT Fri May 4 00:24:29 2012
May 04 00:24:29 * Now talking on #towerjs
May 04 00:24:29 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 04 00:24:30 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 04 02:29:51 * techthumb has quit (Quit: Leaving.)
**** ENDING LOGGING AT Fri May 4 03:11:28 2012
**** BEGIN LOGGING AT Fri May 4 03:25:41 2012
May 04 03:25:41 * Now talking on #towerjs
May 04 03:25:41 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 04 03:25:41 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** BEGIN LOGGING AT Fri May 4 03:38:44 2012
May 04 03:38:44 * Now talking on #towerjs
May 04 03:38:44 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 04 03:38:44 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Fri May 4 04:16:48 2012
**** BEGIN LOGGING AT Fri May 4 23:11:56 2012
May 04 23:11:57 * Now talking on #towerjs
May 04 23:11:57 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 04 23:11:58 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Sat May 5 02:49:26 2012
**** BEGIN LOGGING AT Sat May 5 03:19:41 2012
May 05 03:19:41 * Now talking on #towerjs
May 05 03:19:41 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 05 03:19:41 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 05 03:35:36 * techthumb (~techthumb@120.149.16.134) has joined #towerjs
May 05 04:09:09 * D4Tocchini has quit (Quit: D4Tocchini)
May 05 07:00:40 * techthumb has quit (Quit: Leaving.)
**** ENDING LOGGING AT Sat May 5 11:17:23 2012
**** BEGIN LOGGING AT Sat May 5 22:28:20 2012
May 05 22:28:20 * Now talking on #towerjs
May 05 22:28:20 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 05 22:28:20 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Sun May 6 03:05:43 2012
**** BEGIN LOGGING AT Sun May 6 16:59:42 2012
May 06 16:59:42 * Now talking on #towerjs
May 06 16:59:43 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 06 16:59:43 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 06 17:06:58 * techthumb (techthumb@nat/jetstar/x-cynyoqmurbapnhoz) has joined #towerjs
May 06 18:43:36 * Keeper[VVK] has quit (Ping timeout: 244 seconds)
May 07 00:40:16 * Keeper[VVK] (~Keeper@78.26.128.184) has joined #towerjs
May 07 01:41:35 * Keeper[VVK] has quit (Ping timeout: 244 seconds)
May 07 01:56:00 * techthumb has quit (Quit: Leaving.)
May 07 03:27:08 * D4Tocchini has quit (Quit: D4Tocchini)
May 07 03:30:24 * D4Tocchini (~D4@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 07 04:50:42 * Killix (~Killix@197.31.219.149) has joined #towerjs
May 07 04:50:46 <Killix> hi all
May 07 04:55:43 <e_dub> morning Killix
May 07 06:44:13 * techthumb (~techthumb@120.149.16.134) has joined #towerjs
May 07 06:45:09 * techthumb has quit (Client Quit)
May 07 06:45:22 * techthumb (~techthumb@120.149.16.134) has joined #towerjs
May 07 07:01:59 * techthumb has quit (Ping timeout: 248 seconds)
May 07 07:38:23 * Keeper[VVK] (~Keeper@78.26.128.184) has joined #towerjs
May 07 07:43:04 * Keeper[VVK] has quit (Ping timeout: 256 seconds)
May 07 08:08:56 * Killix has quit (Ping timeout: 245 seconds)
May 07 08:13:00 * Killix (~Killix@197.31.219.149) has joined #towerjs
**** ENDING LOGGING AT Mon May 7 10:22:58 2012
**** BEGIN LOGGING AT Mon May 7 10:24:06 2012
May 07 10:24:06 * Now talking on #towerjs
May 07 10:24:06 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 07 10:24:06 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
**** ENDING LOGGING AT Mon May 7 10:25:22 2012
**** BEGIN LOGGING AT Mon May 7 10:26:44 2012
May 07 10:26:44 * Now talking on #towerjs
May 07 10:26:44 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 07 10:26:44 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 07 10:55:25 * Keeper[VVK] (~Keeper@78.26.128.184) has joined #towerjs
May 07 11:34:54 * Keeper[VVK] has quit (Read error: Connection reset by peer)
May 07 12:14:07 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 07 12:15:00 * orngchkn (~Adium@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 07 12:15:34 * GitHub134 (~GitHub134@sh2.rs.github.com) has joined #towerjs
May 07 12:15:34 -GitHub134/#towerjs- [tower] none pushed 3 new commits to master: http://git.io/BJzREw
May 07 12:15:34 -GitHub134/#towerjs- [tower/master] fixes #119 - Lance Pollard
May 07 12:15:34 -GitHub134/#towerjs- [tower/master] Fixes @params.format problem in Tower.Controller.Instrumentation - edubkendo
May 07 12:15:34 -GitHub134/#towerjs- [tower/master] instrumentation - Lance Pollard
May 07 12:15:34 * GitHub134 (~GitHub134@sh2.rs.github.com) has left #towerjs
May 07 12:17:19 * GitHub93 (~GitHub93@sh3.rs.github.com) has joined #towerjs
May 07 12:17:19 -GitHub93/#towerjs- [tower] viatropos pushed 1 new commit to development: http://git.io/lAp_Tg
May 07 12:17:19 -GitHub93/#towerjs- [tower/development] testing irc for dev branch - Lance Pollard
May 07 12:17:19 * GitHub93 (~GitHub93@sh3.rs.github.com) has left #towerjs
May 07 12:17:54 <viatropos> needed to add regexp's to get github irc hook to work on branches
May 07 12:20:48 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 07 12:22:51 * viatropos_ has quit (Client Quit)
May 07 12:24:59 * viatropos has quit (Ping timeout: 276 seconds)
May 07 12:25:35 * Killix has quit (Ping timeout: 245 seconds)
May 07 13:31:27 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 07 13:37:40 <orngchkn> viatropos: How's that merge back to development going?
May 07 13:37:46 <orngchkn> And happy Monday
May 07 13:52:15 <viatropos> orngchkn: merged it to development, now going to work on views on the client, figure out the view/controller patterns
May 07 14:13:28 <e_dub> viatropos, isnt that what all the ember stuff has been for? the client side view stuff?
May 07 14:36:07 <viatropos> e_dub: indirectly, i made the models and scopes use ember so they can be used in the views, now I want to mess around with the views, create some examples, etc.
May 07 14:37:32 <e_dub> ok awesome
May 07 14:56:41 <e_dub> checking out the commits on the dev branch now
May 07 18:04:59 * Disconnected (Connection timed out).
**** ENDING LOGGING AT Mon May 7 18:04:59 2012
**** BEGIN LOGGING AT Mon May 7 18:05:18 2012
May 07 18:05:18 * Now talking on #towerjs
May 07 18:05:18 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 07 18:05:18 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 07 18:05:18 -NickServ- You are now identified for e_dub.
**** ENDING LOGGING AT Mon May 7 18:37:26 2012
**** BEGIN LOGGING AT Mon May 7 18:39:54 2012
May 07 18:39:54 * Now talking on #towerjs
May 07 18:39:54 * Topic for #towerjs is: towerjs.com -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 07 18:39:54 * Topic for #towerjs set by viatropos!~viatropos@c-71-204-188-167.hsd1.ca.comcast.net at Sat Apr 21 00:26:34 2012
May 07 18:39:54 * [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
May 07 18:47:46 * LessSeen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has left #towerjs
May 07 18:47:47 * LessSeen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 07 18:48:27 * LessSeen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has left #towerjs
May 07 18:48:28 * LessSeen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 07 19:56:57 * viatropos has quit (Quit: viatropos)
May 07 20:35:38 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 07 21:35:49 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 07 21:39:59 * viatropos has quit (Ping timeout: 265 seconds)
May 07 21:39:59 * viatropos_ is now known as viatropos
May 08 00:10:41 * Less_Seen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 08 00:21:26 * D4Tocchini has quit (*.net *.split)
May 08 00:21:29 * viatropos has quit (*.net *.split)
May 08 00:21:29 * LessSeen has quit (*.net *.split)
May 08 00:21:32 * orngchkn has quit (*.net *.split)
May 08 00:21:56 * D4Tocchini (~D4@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 08 00:21:56 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 08 00:21:56 * orngchkn (~Adium@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 08 01:08:07 * viatropos has quit (Quit: viatropos)
May 08 01:09:02 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 08 02:11:21 * viatropos has quit (Read error: Connection reset by peer)
May 08 02:11:40 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 08 02:24:16 * viatropos has quit (Read error: Operation timed out)
May 08 02:24:19 * techthumb has quit (Quit: Leaving.)
May 08 02:25:12 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 08 02:53:07 * D4Tocchini has quit (Quit: D4Tocchini)
May 08 02:54:20 * D4Tocchini (~D4@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 08 03:01:13 * D4Tocchini_ (~D4@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 08 03:01:16 * D4Tocchini has quit (Read error: Connection reset by peer)
May 08 03:01:16 * D4Tocchini_ is now known as D4Tocchini
May 08 03:02:08 * D4Tocchini has quit (Read error: Connection reset by peer)
May 08 03:02:30 * D4Tocchini (~D4@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 08 08:46:03 * Killix (~Killix@197.2.55.82) has joined #towerjs
May 08 08:46:10 <Killix> hi
May 08 08:52:19 <Killix> when I install tower with npm install tower, the version of tower.js in directory vendor, does not containt commit (example: sweater 111), is this the right way to install tower?
May 08 09:29:02 * Killix has quit (Read error: Connection timed out)
May 08 09:29:44 * Killix (~Killix@197.2.55.82) has joined #towerjs
May 08 09:37:50 * Killix has quit (Quit: Quitte)
May 08 09:44:11 * viatropos has quit (Quit: viatropos)
May 08 09:53:54 * viatropos (~viatropos@68.65.92.186) has joined #towerjs
May 08 10:18:59 * viatropos has quit (Quit: viatropos)
May 08 11:44:28 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 08 12:16:52 * viatropos has quit (Ping timeout: 272 seconds)
May 08 14:54:41 * Killix (~Killix@41.226.121.91) has joined #towerjs
May 08 14:54:46 <Killix> hi all
May 08 14:55:15 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 08 14:58:14 * Less_Seen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has left #towerjs
May 08 14:58:15 * Less_Seen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 08 14:58:27 <Killix> hi viatropos
May 08 14:58:34 <viatropos> Killix: hey
May 08 14:58:44 * Less_Seen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has left #towerjs
May 08 14:58:44 * Less_Seen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 08 14:59:04 <Killix> how are you?
May 08 14:59:18 * Less_Seen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has left #towerjs
May 08 14:59:18 * Less_Seen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 08 14:59:55 <viatropos> Killix: good good, a bit tired, going to take a nap in a minute. you?
May 08 15:00:05 * Killix (~Killix@41.226.121.91) has left #towerjs ("Quitte")
May 08 15:00:10 * Killix (~Killix@41.226.121.91) has joined #towerjs
May 08 15:00:15 <Killix> good thanks
May 08 15:00:22 <Killix> I need help, when I make :
May 08 15:00:28 <Killix> cake build
May 08 15:00:39 <Killix> unknown task: build
May 08 15:00:43 <Killix> any idea ?
May 08 15:00:55 <viatropos> is this in the tower source code, or the generated app?
May 08 15:01:07 <Killix> tower source code
May 08 15:01:24 <Killix> after git clone
May 08 15:01:56 <viatropos> hmm... i have `task 'build'` on line 125 in mine, do you? https://github.com/viatropos/tower/blob/master/Cakefile#L125
May 08 15:02:13 <viatropos> are you in the root of the project?
May 08 15:02:52 <Killix> yes, i have
May 08 15:02:52 <Killix> # cat Cakefile | grep build
May 08 15:02:52 <Killix> task 'build', ->
May 08 15:02:52 <Killix> task 'build-generic', ->
May 08 15:03:06 <viatropos> try installing the latest coffeescript globally: `npm install coffee-script -g`
May 08 15:03:14 <Killix> ok
May 08 15:05:37 <viatropos> if all else fails, maybe try creating a blank task and seeing if that runs: `task 'sample', -> console.log 'ran task'`, then `cake sample`. Seems like it should work
May 08 15:05:46 <Killix> thank you this works now except Error: ENOENT, no such file or directory '. / test / example / public / javascripts / vendor / javascript / tower.js'
May 08 15:05:46 <Killix> I'll look at why.
May 08 15:06:13 <viatropos> ok yeah, that needs to be updated, probably have a hardcoded reference that didn't exist yet
May 08 15:06:45 <viatropos> glad it's working otherwise tho
May 08 15:06:57 <viatropos> you can comment that line out (#172)
May 08 15:07:09 <Killix> thanks :)
May 08 15:07:43 <viatropos> welcome
May 08 15:08:27 * viatropos has quit (Quit: viatropos)
May 08 15:08:36 <Killix> it's work and towerjs is very good framework, love it
May 08 18:43:01 * techthumb (techthumb@nat/jetstar/x-zalamrfbjjxjhsqc) has joined #towerjs
May 08 19:43:03 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 08 19:45:02 <viatropos> Some thoughts on how to separate client/server code: https://gist.github.com/2640771
May 08 19:47:02 * ChanServ gives channel operator status to viatropos
May 08 20:37:39 <e_dub> As far as whether or not approach 3 would be too unorganized would kind of depend on whether we are trying to take out EVERYTHING from the models that is only used on one side or the other, or whether we are only wanting to take out code that is a security type issue
May 08 20:37:47 <e_dub> viatropos,
May 08 20:38:20 <e_dub> at least, it seems to me. wouldnt really know without actually doing some
May 08 20:40:12 <e_dub> also, my preferences, just based on the aesthetics, is for App.User.EmailConcern and for Tower.isServer/Tower.isClient
May 08 20:40:56 <e_dub> again, that's without actually trying it out to see which is easier to use
May 08 21:07:32 <viatropos> nice, alright going to keep that in mind, not implementing this soon tho
May 08 21:16:46 <e_dub> yeah figured it was a ways off, cool idea though
May 08 22:08:20 * GitHub30 (~GitHub30@sh2.rs.github.com) has joined #towerjs
May 08 22:08:20 -GitHub30/#towerjs- [tower] viatropos pushed 1 new commit to development: http://git.io/meCb1g
May 08 22:08:20 -GitHub30/#towerjs- [tower/development] oh this is going to be awesome, controllers will work with ember with only one minor change, the way @render works. excited - Lance Pollard
May 08 22:08:20 * GitHub30 (~GitHub30@sh2.rs.github.com) has left #towerjs
May 08 22:37:52 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
May 08 23:06:47 * viatropos has quit (Quit: viatropos)
May 09 00:35:14 * Killix has quit (Ping timeout: 240 seconds)
May 09 00:47:43 * Killix (~Killix@197.0.76.165) has joined #towerjs
May 09 01:41:07 * techthumb has quit (Quit: Leaving.)
May 09 02:53:56 * Killix has quit (Ping timeout: 244 seconds)
May 09 07:29:41 * Killix (~Killix@197.1.141.216) has joined #towerjs
May 09 09:30:34 * Killix has quit (Ping timeout: 245 seconds)
May 09 09:45:44 * Killix (~Killix@197.1.141.216) has joined #towerjs
May 09 10:09:57 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 09 10:10:33 * ChanServ gives channel operator status to viatropos
May 09 10:10:43 * viatropos has changed the topic to: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 09 10:34:31 * Killix has quit (Ping timeout: 260 seconds)
May 09 12:16:47 * denysonique has quit (Quit: Connection closed for inactivity)
May 09 13:16:26 * viatropos has quit (Quit: viatropos)
May 09 15:14:05 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 09 16:00:46 * brainproxy has quit (Ping timeout: 260 seconds)
May 09 16:14:46 * e_dub has quit (Ping timeout: 260 seconds)
May 09 16:14:46 * Disconnected (Remote host closed socket).
**** ENDING LOGGING AT Wed May 9 16:14:46 2012
**** BEGIN LOGGING AT Wed May 9 16:16:09 2012
May 09 16:16:09 * Now talking on #towerjs
May 09 16:16:09 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 09 16:16:09 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 09 16:16:09 -NickServ- You are now identified for e_dub.
May 09 16:19:15 * viatropos has quit (Quit: viatropos)
May 09 17:21:11 * brainproxy (~brainprox@pdpc/supporter/gold/brainproxy) has joined #towerjs
May 09 17:32:39 * techthumb (techthumb@nat/jetstar/x-ctscvbxlwxxconld) has joined #towerjs
May 09 18:54:43 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 09 18:55:55 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 09 18:59:16 * viatropos has quit (Ping timeout: 260 seconds)
May 09 18:59:17 * viatropos_ is now known as viatropos
May 09 19:33:13 <techthumb> viatropos: hi
May 09 20:06:43 <viatropos> techthumb: hey
May 09 20:08:43 <techthumb> do you have a take on meteor. does it have much of an impact on towerjs?
May 09 20:42:49 * viatropos has quit (Remote host closed the connection)
**** ENDING LOGGING AT Wed May 9 23:27:28 2012
**** BEGIN LOGGING AT Wed May 9 23:37:27 2012
May 09 23:37:27 * Now talking on #towerjs
May 09 23:37:27 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 09 23:37:27 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 10 02:03:29 * techthumb has quit (Quit: Leaving.)
May 10 03:57:09 * D4Tocchini has quit (Quit: D4Tocchini)
May 10 05:57:46 * Keeper[VVK] (~Keeper@195-138-72-49.broadband.tenet.odessa.ua) has joined #towerjs
May 10 05:59:59 <Keeper[VVK]> hello
May 10 06:00:04 <Keeper[VVK]> anyone alive?
May 10 06:03:31 <e_dub> hello Keeper[VVK]
May 10 06:12:33 <Keeper[VVK]> wished to know if anyone deployed to heroku here
May 10 06:13:10 <Keeper[VVK]> got toruble with ruby gem on design.io. Is there is easy way not to deploy devDependencies on heroku?
May 10 06:13:25 <Keeper[VVK]> without manualy adding them to stack ignore
May 10 06:19:24 * Keeper[VVK] has quit (Quit: This computer has gone to sleep)
May 10 06:23:57 * Keeper[VVK] (~Keeper@195-138-72-49.broadband.tenet.odessa.ua) has joined #towerjs
May 10 06:29:31 <e_dub> I haven't yet tried deploying to heroku, but i know tower definitely still has some kinks with doing so. i was trying to find
May 10 06:30:12 <e_dub> this issue: https://github.com/viatropos/tower/issues/52 cuz i thought it might mention your problem, but he was talking about something else
May 10 06:34:34 <e_dub> check this though: https://groups.google.com/forum/?fromgroups#!topic/npm-/7Ocx_hvv4cY
May 10 07:04:01 <Keeper[VVK]> thx will take a look
May 10 09:54:35 * liberatu_ (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
May 10 09:56:51 * liberatus has quit (Ping timeout: 245 seconds)
May 10 10:28:29 * orngchkn1 (~Adium@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 10 10:29:21 * orngchkn has quit (Ping timeout: 245 seconds)
May 10 10:35:32 <Keeper[VVK]> Do anyone know what plugin is needed to use cake commands like cake assets:compile and cake assets:publish standart cake don't have this ones
May 10 10:39:26 * devonray (~devonray@128.103.124.136) has joined #towerjs
May 10 11:11:12 * Keeper[VVK] has quit (Quit: Leaving)
May 10 11:28:27 <devonray> hey guys... first time on here. I posted on Stack but figured I'd give this a go. I have a few questions around local auth
May 10 11:29:41 <devonray> It's probably simpler to share the detailed post. If anyone can offer any help it would be much appreciated: http://stackoverflow.com/questions/10537160/creating-a-login-form-using-towerjs
May 10 12:30:14 <e_dub> devon the login partial you handrolled... did you name it _login.coffee or just login.coffee ?
May 10 12:47:00 <e_dub> ok devonray that I answered your q on stackoverflow, and did both steps myself then verified it worked
May 10 12:57:25 <devonray> replied
May 10 12:59:46 <e_dub> oh sorry, duh, i'm an idiot
May 10 13:03:29 <devonray> haha no worries man
May 10 13:08:57 <e_dub> I'm thinking you gotta do a "sessions" model
May 10 13:09:23 <e_dub> i havent gotten to authentication yet
May 10 13:10:23 <e_dub> but I see this on the main page, if you scroll way down to Routes:
May 10 13:10:25 <e_dub> Tower.Route.draw ->
May 10 13:10:25 <e_dub> @match "/login", "sessions#new", via: "get", as: "login"
May 10 13:10:25 <e_dub> @match "/logout", "sessions#destroy", via: "get", as: "logout"
May 10 13:23:36 <devonray> yeah I'm checking that out now: http://ruby.railstutorial.org/chapters/sign-in-sign-out#top
May 10 13:23:54 <devonray> good call
May 10 13:26:13 <e_dub> of course your other option is using something like everyauth, and there's a good example of how to do that here: https://github.com/viatropos/tower/issues/50#issuecomment-4992673
May 10 13:37:15 <devonray> So I'm using passport actually (at least for the moment)... so once I can figure out the rendering the back end should be cake (never is lol)
May 10 13:41:16 <e_dub> lol
May 10 14:12:33 <e_dub> let us know what you find out, I'll keep watch on the stackoverflow thread and I'm always here, gone for now
May 10 14:24:34 * D4Tocchini (~D4@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 10 17:43:21 * devonray has quit (Quit: devonray)
May 10 18:59:34 * techthumb (techthumb@nat/jetstar/x-iygrrilnukufqhuz) has joined #towerjs
May 10 19:51:45 Tcl interface unloaded
May 10 19:51:45 Python interface unloaded
**** ENDING LOGGING AT Thu May 10 19:51:45 2012
**** BEGIN LOGGING AT Thu May 10 20:01:05 2012
May 10 20:01:05 * Now talking on #towerjs
May 10 20:01:05 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 10 20:01:05 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
**** ENDING LOGGING AT Fri May 11 01:00:36 2012
**** BEGIN LOGGING AT Fri May 11 01:02:57 2012
May 11 01:02:57 * Now talking on #towerjs
May 11 01:02:57 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 11 01:02:57 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 11 02:04:36 * liberatu_ has quit (Remote host closed the connection)
May 11 02:42:52 * techthumb has quit (Quit: Leaving.)
May 11 02:44:59 * Keeper[VVK] (~Keeper@195-138-72-49.broadband.tenet.odessa.ua) has joined #towerjs
May 11 03:57:34 * D4Tocchini has quit (Quit: D4Tocchini)
May 11 05:15:23 * ArtificialEX (~Alex@24-216-241-50.dhcp.mdfd.or.charter.com) has joined #towerjs
May 11 05:15:30 <ArtificialEX> is towerjs dead
May 11 05:15:58 <ArtificialEX> why does the main page have different instructions than the github
May 11 05:25:38 <e_dub> no, look at the commits on github, it is very very active
May 11 05:26:06 <e_dub> its just being very actively developed and instructions are changing faster than either place can keep up with them right now
May 11 05:26:39 <e_dub> main page > github though, as far as likelihood of being correct
May 11 05:28:25 <ArtificialEX> also install breaks with npm windows
May 11 06:03:22 <Keeper[VVK]> Documentations sucks, searching most of stuff in sources
May 11 06:27:38 * ArtificialEX (~Alex@24-216-241-50.dhcp.mdfd.or.charter.com) has left #towerjs
May 11 07:08:42 * Keeper[VVK] has quit (Quit: This computer has gone to sleep)
May 11 07:17:17 * Keeper[VVK] (~Keeper@195-138-72-49.broadband.tenet.odessa.ua) has joined #towerjs
May 11 09:09:03 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
May 11 09:15:11 * Keeper[VVK] has quit (Quit: Leaving)
May 11 14:55:19 * Keeper[VVK] (~Keeper@78.26.128.184) has joined #towerjs
May 11 14:55:24 <Keeper[VVK]> re
May 11 15:21:59 <orngchkn1> e_dub: Is ember-new all back in develop branch now?
May 11 22:56:36 <e_dub> orngchkn1, actually not totally sure, been doing a bunch of non-tower stuff the past week or so and havent watched it real close, and havent talked to viatropos in a couple days at least
**** ENDING LOGGING AT Fri May 11 23:04:15 2012
**** BEGIN LOGGING AT Fri May 11 23:07:03 2012
May 11 23:07:03 * Now talking on #towerjs
May 11 23:07:03 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 11 23:07:03 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
**** ENDING LOGGING AT Fri May 11 23:07:57 2012
**** BEGIN LOGGING AT Fri May 11 23:12:40 2012
May 11 23:12:41 * Now talking on #towerjs
May 11 23:12:41 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 11 23:12:41 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 12 00:56:12 * Keeper[VVK] (~Keeper@78.26.128.184) has joined #towerjs
May 12 01:01:12 * Keeper[VVK] has quit (Ping timeout: 272 seconds)
May 12 01:18:42 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 12 01:20:04 * viatropos has quit (Client Quit)
May 12 04:25:02 * D4Tocchini has quit (Quit: D4Tocchini)
May 12 05:21:56 * Keeper[VVK] (~Keeper@78.26.128.184) has joined #towerjs
May 12 06:20:04 * Keeper[VVK] has quit (Read error: Connection reset by peer)
**** ENDING LOGGING AT Sat May 12 09:21:22 2012
**** BEGIN LOGGING AT Sat May 12 09:27:01 2012
May 12 09:27:01 * Now talking on #towerjs
May 12 09:27:01 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 12 09:27:01 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
**** ENDING LOGGING AT Sat May 12 09:36:55 2012
**** BEGIN LOGGING AT Sat May 12 11:59:04 2012
May 12 11:59:04 * Now talking on #towerjs
May 12 11:59:04 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 12 11:59:04 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
**** ENDING LOGGING AT Sat May 12 12:57:14 2012
**** BEGIN LOGGING AT Sat May 12 13:05:55 2012
May 12 13:05:55 * Now talking on #towerjs
May 12 13:05:55 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 12 13:05:55 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 12 13:32:58 * Keeper[VVK] has quit (Ping timeout: 272 seconds)
May 12 13:34:11 * Keeper[VVK] (~Keeper@78.26.128.184) has joined #towerjs
May 12 14:57:01 * D4Tocchini (~D4@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 12 18:30:00 * Keeper[VVK] has quit (Ping timeout: 272 seconds)
May 12 21:12:24 * liberatus has quit (Read error: Connection reset by peer)
May 12 21:12:54 * liberatus (~liberatus@108-94-185-31.lightspeed.tukrga.sbcglobal.net) has joined #towerjs
May 12 22:28:13 * devonray (~devonray@c-66-31-42-43.hsd1.ma.comcast.net) has joined #towerjs
May 13 00:22:21 * devonray has quit (Quit: devonray)
May 13 00:23:23 * Killix has quit (Ping timeout: 245 seconds)
May 13 00:23:45 * Killix (~Killix@197.0.245.201) has joined #towerjs
May 13 02:08:35 * Disconnected (Connection timed out).
**** ENDING LOGGING AT Sun May 13 02:08:35 2012
**** BEGIN LOGGING AT Sun May 13 02:56:41 2012
May 13 02:56:41 * Now talking on #towerjs
May 13 02:56:42 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 13 02:56:42 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 13 02:56:42 * [freenode-info] please register your nickname...don't forget to auto-identify! http://freenode.net/faq.shtml#nicksetup
**** ENDING LOGGING AT Sun May 13 03:32:54 2012
**** BEGIN LOGGING AT Sun May 13 03:58:13 2012
May 13 03:58:13 * Now talking on #towerjs
May 13 03:58:13 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 13 03:58:13 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 13 05:35:37 * Keeper[VVK] (~Keeper@78.26.128.184) has joined #towerjs
May 13 05:35:43 * Keeper[VVK] has quit (Read error: Connection reset by peer)
**** BEGIN LOGGING AT Sun May 13 07:13:01 2012
May 13 07:13:02 * Now talking on #towerjs
May 13 07:13:02 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 13 07:13:02 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 13 07:23:06 * LessSeen has quit (Ping timeout: 265 seconds)
**** ENDING LOGGING AT Sun May 13 09:43:12 2012
**** BEGIN LOGGING AT Sun May 13 11:18:44 2012
May 13 11:18:44 * Now talking on #towerjs
May 13 11:18:44 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 13 11:18:44 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
**** ENDING LOGGING AT Sun May 13 14:11:25 2012
**** BEGIN LOGGING AT Sun May 13 14:11:38 2012
May 13 14:11:38 * Now talking on #towerjs
May 13 14:11:38 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 13 14:11:38 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 13 14:11:38 * [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
May 13 17:07:33 * techthumb (techthumb@nat/jetstar/x-dfpbvvtbdjviuoay) has joined #towerjs
**** BEGIN LOGGING AT Sun May 13 18:17:02 2012
May 13 18:17:02 * Now talking on #towerjs
May 13 18:17:02 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 13 18:17:03 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
**** BEGIN LOGGING AT Sun May 13 19:49:40 2012
May 13 19:49:40 * Now talking on #towerjs
May 13 19:49:40 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 13 19:49:40 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 13 20:04:11 * GitHub134 (~GitHub134@sh2.rs.github.com) has joined #towerjs
May 13 20:04:11 -GitHub134/#towerjs- [tower] viatropos pushed 2 new commits to development: http://git.io/2qOZkQ
May 13 20:04:11 -GitHub134/#towerjs- [tower/development] constantly cleaning up - Lance Pollard
May 13 20:04:11 -GitHub134/#towerjs- [tower/development] working on ember views / client controllers - Lance Pollard
May 13 20:04:11 * GitHub134 (~GitHub134@sh2.rs.github.com) has left #towerjs
May 13 20:55:00 * liberatus has quit (Remote host closed the connection)
May 13 22:41:09 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 13 22:41:15 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 13 22:41:25 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has left #towerjs
May 13 23:01:19 * ZHANG (~czhang777@123.119.188.184) has joined #towerjs
May 13 23:01:27 * ZHANG has quit (Client Quit)
May 13 23:01:43 * czhang777 (~czhang777@123.119.188.184) has joined #towerjs
May 13 23:03:09 <czhang777> ha, finally, I am in
May 13 23:04:26 <czhang777> @viatropos how about we continue the topic of that new REPL console we had over twitter a while ago?
May 13 23:05:26 <viatropos> czhang777: hey, lets do it.
May 13 23:06:16 <viatropos> czhang777: so that REPL you pointed out looks like it only works in the browser. so I recommend just tinkering with https://github.com/viatropos/tower/blob/f3bada670b2b4e76d64a7e471887e8b98b5c8196/src/tower/server/command/console.coffee#L62
May 13 23:07:26 <viatropos> czhang777: if you `git clone git@github.com:viatropos/tower.git ; cd tower ; npm install ; npm link`, then when you run `tower x` it will be using the cloned version
May 13 23:08:22 <czhang777> yes, I saw that part in docs
May 13 23:08:37 <viatropos> k, yeah not sure exactly what you need to know
May 13 23:08:46 <viatropos> what questions do you have
May 13 23:08:51 <czhang777> does the current console implementation support multi-line code already?
May 13 23:09:42 <viatropos> don't know, I literally just copy/pasted that from coffee-script's source: https://github.com/jashkenas/coffee-script/blob/master/src/repl.coffee
May 13 23:10:04 <viatropos> looks like it does in repl.coffee
May 13 23:10:27 <czhang777> don't know how to use it correctly
May 13 23:10:30 <viatropos> so they must have added it
May 13 23:10:40 <viatropos> what coffeescript's built in one?
May 13 23:10:55 <czhang777> I can't get such multi-line code works in the console
May 13 23:10:56 <czhang777> User.all (error, models) ->
May 13 23:11:39 <viatropos> yeah, the repl code in Tower.js is out of date, try copying the new coffee-script repl code in there from https://github.com/jashkenas/coffee-script/blob/master/src/repl.coffee
May 13 23:11:51 <viatropos> https://github.com/jashkenas/coffee-script/blob/master/src/repl.coffee#L136
May 13 23:11:59 <czhang777> oh
May 13 23:14:36 <czhang777> is it possible to use coffee's repl code as external module instead of copying their code over, which looks like a ugly hack
May 13 23:16:57 <viatropos> czhang777: I don't think so. there is no `module.exports` or `exports` in repl.coffee, and this is how they use it
May 13 23:16:58 <viatropos> https://github.com/jashkenas/coffee-script/blob/master/src/command.coffee#L68
May 13 23:17:24 <viatropos> if I were you I would submit a pull request to coffee-script that modularizes the repl, then integrate that
May 13 23:18:15 <czhang777> understood
May 13 23:18:37 <viatropos> if you do, let me know. might do that as well, sounds fun
May 13 23:19:14 <viatropos> does that answer your question?
May 13 23:19:30 <czhang777> yes
May 13 23:19:44 <czhang777> another question on using the repl console
May 13 23:20:59 <czhang777> since my background comes from python/django world
May 13 23:21:13 <czhang777> I try to play with the data models in the console
May 13 23:21:21 <czhang777> so I do such in the console
May 13 23:21:23 <czhang777> app = Tower.Application.instance()
May 13 23:21:27 <czhang777> app.initialize()
May 13 23:21:31 <czhang777> app.stack()
May 13 23:21:49 <czhang777> app.Service.all()
May 13 23:21:59 <czhang777> here app.Service.all() return nothing
May 13 23:22:27 <czhang777> I suppose to get all the records from my mongodb instance
May 13 23:22:36 <czhang777> Service is one of my data model
May 13 23:23:22 <viatropos> setup a reusable callback: `_c = (error, models) -> global._r = models; console.log(models)`
May 13 23:23:23 <viatropos> app.Service.all(_c)
May 13 23:23:57 <viatropos> since mongo is async
May 13 23:24:48 <czhang777> ahhhh, I see
May 13 23:25:12 <czhang777> async vs. sync mindset :)
May 13 23:25:25 <viatropos> one thing I'm thinking about is - if it's possible -... When you do `App.Service.all()`, you get a blank but observable array. When mongo populates that array asynchronously, it will rewrite the `=> []` output in the console to include the records `[#<Service...>]`
May 13 23:25:51 <viatropos> that would be awesome, all it takes is being able to rewrite lines in the terminal window. I know it's possible, just don't know how.
May 13 23:25:59 <viatropos> that way it would look synchronous
May 13 23:26:10 <viatropos> without having to resort to node-fibers
May 13 23:29:28 <viatropos> i think it's this library: https://github.com/substack/node-charm. substack and marak are the masters of the terminal
May 13 23:31:09 <viatropos> czhang777: good luck. calling it a night early
May 13 23:32:47 <viatropos> ah, it's an "input stream" haha, that's cool. you can just change the position of the character input stream. exciting.
May 13 23:33:28 * viatropos has quit (Quit: viatropos)
May 14 00:18:15 * Killix has quit (Ping timeout: 248 seconds)
May 14 00:18:31 * Killix (~Killix@41.226.33.192) has joined #towerjs
May 14 01:26:21 * czhang777 has quit (Remote host closed the connection)
May 14 01:46:50 * czhang777 (~czhang777@123.119.188.184) has joined #towerjs
May 14 02:17:49 <czhang777> "cake build-generic" not working
May 14 02:18:03 <czhang777> tower :: (master*) » cake build-generic ~/repo/git/nodejs/tower
May 14 02:19:32 <czhang777> anybody here?
May 14 02:19:46 <czhang777> https://gist.github.com/2692431
May 14 02:22:24 * techthumb has quit (Quit: Leaving.)
May 14 03:29:14 * czhang777 has quit (Quit: Mango IRC for iOS, http://mediaware.sk/mango)
May 14 03:29:23 * czhang777 (~czhang777@123.119.188.184) has joined #towerjs
May 14 03:54:35 * czhang777 has quit (Ping timeout: 252 seconds)
May 14 03:54:44 * czhang777 (~czhang777@123.119.188.184) has joined #towerjs
May 14 04:00:23 Tcl interface unloaded
May 14 04:00:23 Python interface unloaded
**** ENDING LOGGING AT Mon May 14 04:00:23 2012
**** BEGIN LOGGING AT Mon May 14 08:28:54 2012
May 14 08:28:54 * Now talking on #towerjs
May 14 08:28:54 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 14 08:28:54 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 14 09:12:58 * czhang777 has quit (Remote host closed the connection)
May 14 10:01:02 * Keeper[VVK] has quit (Quit: Leaving)
May 14 10:18:16 * Killix (~Killix@41.226.33.192) has joined #towerjs
May 14 10:19:42 <Killix> Can use 2 store system (mongodb & repeat)? how?
May 14 10:58:31 * devonray (~devonray@128.103.124.136) has joined #towerjs
May 14 11:59:19 <e_dub> Killix, did you mean mongodb and redis? right now, redis just handles session supporrt as far as i know, not actual ly wired in to be used as
May 14 11:59:40 <e_dub> a database for your models
May 14 12:02:42 <Killix> i could use redis for tweet system (store and push tweet)
May 14 12:03:01 <Killix> and mongod for global user information
May 14 12:03:45 <Killix> like this :
May 14 12:03:47 <Killix> class App.Tweet extends Tower.Model
May 14 12:03:47 <Killix> @store "redis"
May 14 12:03:47 <Killix> @field "date", type: "Date"
May 14 12:03:47 <Killix> ..etc..
May 14 12:04:21 <Killix> but this generates an error
May 14 12:04:43 <Killix> TypeError: Object redis has no method 'find'
May 14 12:07:29 <Killix> ok, the redis.js contain only empty function :(, i look this
May 14 12:50:37 * orngchkn has quit (Quit: Leaving.)
May 14 13:00:19 * GitHub21 (~GitHub21@sh2.rs.github.com) has joined #towerjs
May 14 13:00:19 -GitHub21/#towerjs- [tower] viatropos pushed 1 new commit to development: http://git.io/y7HUKQ
May 14 13:00:19 -GitHub21/#towerjs- [tower/development] switched to coffeecup from coffeekup - Lance Pollard
May 14 13:00:19 * GitHub21 (~GitHub21@sh2.rs.github.com) has left #towerjs
May 14 13:36:09 * GitHub48 (~GitHub48@sh2.rs.github.com) has joined #towerjs
May 14 13:36:12 -GitHub48/#towerjs- [tower] viatropos pushed 1 new commit to development: http://git.io/05OqnQ
May 14 13:36:12 -GitHub48/#towerjs- [tower/development] can do {{action "select" target="App"}} in coffeecup (waiting for them to merge PR - Lance Pollard
May 14 13:36:12 * GitHub48 (~GitHub48@sh2.rs.github.com) has left #towerjs
May 14 13:47:10 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 14 13:50:08 <devonray> anyone know of a solid example of how to implement local authentication? I've spent way too much time on this
May 14 14:14:36 <viatropos> devonray: what do you mean, like just simple password/passwordDigest?
May 14 14:15:39 <viatropos> devonray: I'm working on this now slowly, https://github.com/viatropos/tower/blob/23d838742ca6cd3bd74cfcb9e4b2dca82d9fed39/src/tower/model/authentication.coffee#L1
May 14 14:15:52 * orngchkn (~orngchkn@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 14 14:15:58 <orngchkn> Word up
May 14 14:16:09 <Killix> hi viatropos
May 14 14:16:14 <viatropos> Killix: hey
May 14 14:16:19 <devonray> yes, just username/email and password... I'm using passport
May 14 14:16:51 <viatropos> oh ok, haven't done that with passport yet, don't know off the top of my head
May 14 14:17:04 <viatropos> you saw the code snippets in the issues about how to setup passport with facebook?
May 14 14:17:14 <viatropos> orngchkn: word
May 14 14:17:21 <Killix> the support of redis is ok, because I have little problems to implement..
May 14 14:17:40 <viatropos> Killix: ?
May 14 14:17:54 <orngchkn> viatropos: Do you have a roadmap you're working from?
May 14 14:18:25 <Killix> I would use redis to store tweets
May 14 14:18:29 <Killix> like this :
May 14 14:18:41 <viatropos> orngchkn: https://github.com/viatropos/tower/wiki/roadmap, but the past little while I've been digging into Ember views and client routing stuff
May 14 14:19:13 <Killix> http://pastebin.com/VM7b9vxD
May 14 14:19:23 <Killix> but, this save in mongod and not in Redis server
May 14 14:19:29 <viatropos> orngchkn: I'm just about done figuring out how to do most basic things with ember views, which will allow me to really finish the client
May 14 14:19:34 <orngchkn> What are your thoughts on environments? Currently, Tower always loads Mongo drivers (and the memory store drivers)
May 14 14:20:01 <orngchkn> Which is different than Rails.
May 14 14:20:12 <orngchkn> (Which is not a good or bad thing)
May 14 14:20:38 <viatropos> Killix: the Redis store isn't implemented yet
May 14 14:21:01 <orngchkn> You have NODE_ENV=production on the roadmap. Will the store configuration be changing to be more environment-oriented and only load the store driver required by the current env?
May 14 14:21:11 <viatropos> Killix: https://github.com/viatropos/tower/blob/master/src/tower/server/store/redis.coffee
May 14 14:21:55 <viatropos> Killix: that's old code too, haven't arrived there yet. going to work on the Redis (and other) drivers after 0.5.0 on the roadmap
May 14 14:22:30 <Killix> ok, thanks viatropos, i look to implement this for help you
May 14 14:22:46 <viatropos> Killix: Awesome, if you check out the mongo store, you can try to implement it. It should be straightforward, you'd just wrap the Redis api into the Tower.Store api.
May 14 14:22:59 <viatropos> Killix: https://github.com/viatropos/tower/blob/master/src/tower/server/store/mongodb.coffee
May 14 14:23:29 <Killix> ok
May 14 14:23:32 <viatropos> Killix: there's only a few methods to implement this (haven't documented yet I think): find/findOne/count/exists/create/update/destroy
May 14 14:24:00 <viatropos> Killix: It will handle associations automatically, except HasManyThrough, which is a little more complicated
May 14 14:24:34 <Killix> where can I watch the roadmap?
May 14 14:25:07 <viatropos> Killix: each method is given a Tower.Model.Criteria (renamed to Tower.Model.Cursor in development branch). That has all the data associated with the query and/or records to be modified
May 14 14:25:28 <viatropos> Killix: I have a local copy of the wiki and just push it to https://github.com/viatropos/tower/wiki/roadmap
May 14 14:26:04 <viatropos> I'll update the roadmap to include the Ember stuff I've been doing later today
May 14 14:26:41 <viatropos> orngchkn: Yeah definitely, we need to work on that stuff to like you're describing.
May 14 14:27:31 <viatropos> orngchkn: First step would be to abstract out the "initialization hook architecture" a little better: https://github.com/viatropos/tower/blob/master/src/tower/server/store/mongodb.coffee#L18
May 14 14:27:44 <orngchkn> You recommend running `npm link tower` in my app, right?
May 14 14:27:59 <viatropos> orngchkn: Yeah, at least for the guys that are contributing for sure
May 14 14:29:00 <viatropos> orngchkn: After the initialization hooks are setup then getting the environment to only load specific drivers/stores based on the environment. And setting `Tower.env == process.NODE_ENV` (need Tower.env for the client too)
May 14 14:30:20 <viatropos> orngchkn: ideally, the last thing we'd do before 0.5.0 is divide tower up into separate modules. They can all be in the same github repo for now, but at least so they're installed as separate NPM packages. Similar to how Rails or Ember works.
May 14 14:30:48 <orngchkn> viatropos: Separate client and server modules?
May 14 14:30:48 <viatropos> orngchkn: This way you could start only using the models, or just the support, or whatever. Same for the client, dividing up into tower.model.js etc.
May 14 14:30:54 <orngchkn> Or all of the separate bits
May 14 14:31:28 <viatropos> orngchkn: To start, just separate modules, but we should start considering how to separate out client and server more as well
May 14 14:31:49 <viatropos> orngchkn: the client should be as small as possible
May 14 14:32:27 <orngchkn> viatropos: What are the lines of separation? M-V-C?
May 14 14:32:39 <viatropos> orngchkn: what do you mean exactly?
May 14 14:32:55 <orngchkn> Tower.Model as a module, Tower.Controller as a separate module, etc
May 14 14:33:48 <orngchkn> + Tower.Client and Tower.Server ?
May 14 14:34:50 <orngchkn> It makes sense to separate out client and server bits from core bits. (I'm less sold on separating model and controller bits)
May 14 14:34:59 <viatropos> Tower.Model, Tower.Controller, Tower.View (though still thinking about this, don't even think we really need it...), Tower.Generator, Tower.Command, Tower.Store, Tower.HTTP (or Tower.Dispatch, or Tower.Net, still thinking about this)
May 14 14:35:33 <viatropos> orngchkn: the way we're doing it now is there's the ./server and ./client folders with overrides and additions - in tower src
May 14 14:35:41 <viatropos> I like it like that
May 14 14:36:01 <viatropos> don't think there should be Tower.Server and Tower.Client, because the code should look the same in both places to the developer
May 14 14:36:39 <orngchkn> Would core/, client/ and server/ make sense then?
May 14 14:36:48 <orngchkn> Same paths below each
May 14 14:37:00 <viatropos> orngchkn: yeah that makes sense
May 14 14:38:17 <viatropos> but in the generated app, I think it's simpler to have app/models, app/controllers, app/server, and app/client, because you can build a whole app without either app/client and app/server if it's simple enough, then add just overrides to those folders. Rather than having app/core/models, etc.
May 14 14:39:31 <orngchkn> Yeah, that's definitely better
May 14 14:39:35 <viatropos> orngchkn: before we reorganize the tower src to ./core ./client ./server, we need to think about how we would be building the different packages. tower.model.js, etc.
May 14 14:39:55 <orngchkn> What's an app that's not a client or a server?
May 14 14:40:06 <viatropos> ?
May 14 14:40:29 * LessSeen (~cr@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
May 14 14:41:43 <viatropos> I think we should have something like this: tower.core.js, tower.model.js, tower.controller.js, tower.view.js, tower.support.js. And even think about making each of those composable, like tower.model.relations.js (where it makes sense).
May 14 14:41:49 <orngchkn> "because you can build a whole app without either app/client and app/server if it's simple enough"
May 14 14:42:18 <viatropos> Then you can either include `tower.js` which will give you everything, or each piece by hand.
May 14 14:43:23 <orngchkn> These would be different modules with their own package.json?
May 14 14:43:48 <viatropos> orngchkn: I'm thinking about making it so ./config/application.coffee only defines the namespace, and all that middleware in the `@configure` block should go into a separate file. This way you can have `class App extends Tower.Application` in only one place, whereas now you have to define it for the client and for the server.
May 14 14:44:21 <viatropos> orngchkn: something like that, but we'd keep them in the same github repo, similar to Rails or Ember
May 14 14:44:39 <viatropos> so you can do something like `npm install tower.model`
May 14 14:45:52 <orngchkn> That middleware stuff certainly has no use in the client
May 14 14:47:57 * Killix has quit (Quit: Quitte)
May 14 14:48:25 * Killix (~Killix@41.226.33.192) has joined #towerjs
May 14 14:49:43 <viatropos> will be back in an hour or so
May 14 14:51:17 <Killix> helper for change format of date exist in tower or no ?
May 14 14:51:37 <Killix> afin d'eviter de recoder
May 14 14:51:46 <Killix> sorry
May 14 14:51:49 <Killix> :)
May 14 14:51:49 <Killix> to avoid recoding
May 14 14:51:52 * viatropos has quit (Quit: viatropos)
**** ENDING LOGGING AT Mon May 14 15:11:03 2012
**** BEGIN LOGGING AT Mon May 14 15:31:00 2012
May 14 15:31:01 * Now talking on #towerjs
May 14 15:31:01 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 14 15:31:01 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 14 15:46:57 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 14 15:48:33 <viatropos> Killix: yeah, check out https://github.com/viatropos/tower/blob/master/src/tower/support/format.coffee for the current _.helpers. You can do _.strftime(date, 'MM/DD/YYYY')
May 14 16:26:58 <orngchkn> viatropos: What will go in app/server & app/client?
May 14 16:27:09 <orngchkn> Overrides, I assume. But overrides for what?
May 14 16:31:25 * orngchkn has quit (Ping timeout: 250 seconds)
May 14 16:57:55 <viatropos> orngchkn: see https://gist.github.com/2640771
May 14 17:15:42 * orngchkn (~orngchkn@c-50-135-163-7.hsd1.wa.comcast.net) has joined #towerjs
May 14 17:18:34 <LessSeen> ^ [14:58] <viatropos> orngchkn: see https://gist.github.com/2640771
May 14 17:20:24 * viatropos has quit (Quit: viatropos)
May 14 17:21:35 <orngchkn> Thanks @LessSeen
May 14 17:28:49 <orngchkn> Where'd viatropos go?
May 14 18:01:20 * techthumb (techthumb@nat/jetstar/x-phiokadqkajuxudq) has joined #towerjs
May 14 18:02:45 * devonray (~devonray@128.103.124.136) has joined #towerjs
May 14 18:12:10 * viatropos (~viatropos@c-71-204-188-167.hsd1.ca.comcast.net) has joined #towerjs
May 14 18:21:00 <orngchkn> viatropos: `npm test` working for you?
May 14 18:21:36 <viatropos> yeah, i changed coffeekup to coffeecup, did you run `npm install`?
May 14 18:21:47 <viatropos> or npm install coffeecup
May 14 18:22:01 <viatropos> actually, it's a specific branch, see package.json
May 14 18:22:08 <viatropos> waiting for them to merge something
May 14 18:22:20 <orngchkn> Yes I did. The error I'm getting is:
May 14 18:22:24 <orngchkn> TypeError: Cannot call method 'apply' of undefined
May 14 18:22:24 <orngchkn> at App.init (/Users/dave/open_source/tower/lib/tower/server/application.js:119:24)
May 14 18:22:52 <viatropos> that might be a coffeescript thing, did you run `npm install coffee-script --force`?
May 14 18:22:55 <orngchkn> Which is `@_super arguments…` in server/application.coffee
May 14 18:23:08 <orngchkn> trying that
May 14 18:23:23 <viatropos> then restart design.io. that's from the version of coffeescript
May 14 18:23:24 <viatropos> or branch*
May 14 18:23:47 <viatropos> need to get that fixed. along with removing lib from the repo. going to be doing that very soon
May 14 18:26:46 <orngchkn> OK, npm installed design.io globally and locally and that seemed to get further
May 14 18:27:00 <orngchkn> Two failures. One Tower.Geo (Tower.Store.) persistence near:
May 14 18:27:04 <orngchkn> TypeError: Cannot read property 'latitude' of undefined
May 14 18:27:20 <orngchkn> Will look into that though
May 14 18:27:22 <viatropos> k
May 14 18:33:25 <orngchkn> Super weird: The coordinates var in for loop in the persistence beforeEach overwrites the coordinates var from the outer scope.
May 14 18:35:22 <orngchkn> Coffeescript is reusing the variable from the outer scope. Do you see that same failure in geoQueryTest?
May 14 18:37:11 <viatropos> oh no, damn, I kind of cheated. that was the only test that didn't pass when I merged with coffee-script: https://github.com/viatropos/coffee-script/blob/7792a3a6e3fff0b064eee4014daa25fed498c263/test/scope.coffee#L45
May 14 18:37:21 <viatropos> I must not be using the one i just updated
May 14 18:37:52 <orngchkn> viatropos: Is there some config file that controls coffeescript compile options? My compiler is generating javascript that puts a space between keywords – like "if" – and the following parenthesis. So it shows up as a change in `git status`
May 14 18:38:23 <viatropos> orngchkn: I think that's probably because you're using the latest coffee-script and I'm not, I need to update mine
May 14 18:38:34 <orngchkn> It's an easy fix for that test. Just change the name of coordinates on line geoQueryTest.coffee:62 to placeCoordinates
May 14 18:38:40 <viatropos> you can commit the changes if you'd like, don't worry about it
May 14 18:39:06 <viatropos> k
May 14 18:39:20 <orngchkn> … which I will have in my pull request
May 14 18:39:29 <viatropos> k
May 14 18:39:31 <viatropos> sweet
May 14 18:40:03 <viatropos> orngchkn: is there anything in particular you want to work on? sounds like you're digging hardcore into the code (:
May 14 18:40:38 <orngchkn> I'm going to be using the server side of things a lot more than the client side (at least at first) along with LessSeen.
May 14 18:41:02 <orngchkn> I'm still doing a walkthrough the codebase figuring out where things are
May 14 18:41:21 <viatropos> cool
May 14 18:41:42 <orngchkn> Curious about how to keep the sensitive bits from going to the client. (Basically the conversation on that gist)
May 14 18:42:18 <viatropos> what are your thoughts in particular? it's going to be up to the developer to hide things from the client
May 14 18:42:50 <viatropos> otherwise it seems like we'd need to try matching files for specific patterns like `password` and provide warnings or something
May 14 18:43:39 <viatropos> we could create a git hook or a pre-deploy hook that runs these types of checks and fails unless the warnings are cleared. but that would be pretty involved
May 14 18:44:06 <viatropos> the easiest is to document it for the developer to manage
May 14 18:45:06 * devonray has quit (Quit: devonray)
May 14 18:46:00 <orngchkn> Totally agree that it's up to the dev
May 14 18:46:18 <orngchkn> What is the mechanism for loading client/server-specific code?
May 14 18:46:30 <orngchkn> Does the client load tower.js *and* tower.client.js ?
May 14 18:46:43 <orngchkn> and tower.js *and* tower.server.js on the server?
May 14 18:46:58 <orngchkn> How does the compilation work to put the proper bits in those places?
May 14 18:47:04 <viatropos> no it would be two files named tower.js
May 14 18:47:05 <orngchkn> Follow me?
May 14 18:47:07 <viatropos> yeah
May 14 18:47:19 <orngchkn> so a client/tower.js and a server/tower.js?
May 14 18:47:20 <viatropos> so if you run `cake build`, it will output ./dist/tower.js
May 14 18:47:25 <viatropos> yeah
May 14 18:47:38 <orngchkn> rather ./dist/client/tower.js and ./dist/server/tower.js ?
May 14 18:47:59 <orngchkn> And how does *that* happen?
May 14 18:48:20 <orngchkn> (Looking through the Cakefile now)
May 14 18:48:35 <viatropos> I guess we could do it like that, that sounds good. I was thinking to keep it modularized b/c it makes error handling map directly to the code, but since it's going to be javascript anyway, and not coffee-script, it might as well be one file (one for client, one for server, like you said)
May 14 18:49:04 <orngchkn> I'm not making a suggestion. More like picking your brain
May 14 18:49:18 <viatropos> package.json maps to lib/tower.js (src/tower.coffee), which reads ./server.coffee
May 14 18:49:27 <viatropos> then cake build just builds it for the client (currently)
May 14 18:51:05 <viatropos> it might be easier if it was ./dist/server/tower.js and ./dist/client/tower.js since errors would all map to those files, since it's going to map to a single file in the client anyway
May 14 18:51:22 <orngchkn> Seems to make sense
May 14 18:51:35 <viatropos> I was hoping we could keep it raw coffee-script for the server, but debugging line numbers isn't good enough, so it needs to be JS
May 14 18:52:16 <orngchkn> Would be awesome to keep it raw on the server side
May 14 18:52:25 <orngchkn> What do you mean "but debugging line numbers isn't good enough"?
May 14 18:53:37 <orngchkn> (Back to practical matters: Do you have a failure in emberHelperTest? I see one in ` test 'a "{{action "select" target="App"}}", href: "#"'`
May 14 18:53:38 <viatropos> I haven't checked recently, but when an error is thrown it never maps exactly to the correct coffee-script line number (throw an error in one of the tests and check... sometimes its close, but I've learned to just ignore them)
May 14 18:53:44 <orngchkn> Tower.View.EmberHelper a "{{action "select" target="App"}}", href: "#":
May 14 18:53:44 <orngchkn> expected '<a class="{{action "select" target="App"}}" href="#">Select</a>\n' to equal '<a href="#" {{action "select" target="App"}}>Select</a>\n'
May 14 18:53:55 <orngchkn> Yeah, I saw that too
May 14 18:54:05 <orngchkn> It actually maps to the right line (almost?) in the *JS* file
May 14 18:54:20 <orngchkn> but the filename says .coffee
May 14 18:54:44 <viatropos> we'll figure it out...
May 14 18:55:05 <orngchkn> Does that expected look right to you?
May 14 18:55:11 <orngchkn> class="{{action ..."
May 14 18:56:03 <viatropos> no that's not right
May 14 18:56:08 <viatropos> did you do `npm install git://github.com/viatropos/coffeecup.git#inline-attributes`?
May 14 18:56:38 <orngchkn> No
May 14 18:56:44 <viatropos> that'll fix it
May 14 18:56:52 <orngchkn> For future ref, how would I know I'm supposed to do that?
May 14 18:57:25 <viatropos> did it not install that when you ran `npm install`? (i didn't try)
May 14 18:58:30 <orngchkn> <shrug> Failed after an npm install
May 14 18:58:46 <viatropos> hmm, weird, will keep in mind
May 14 18:59:21 <orngchkn> The question is, is it supposed to be "<a href='#' {{action …" or "<a href='#' class='{{action …"
May 14 18:59:26 <viatropos> I can create some sort of changelog that tracks things like that, but no guarantee (in the development branch) since it can get distracting trying to remember to keep updating that. But when I push to github I'll keep notes in CHANGELOG.md, that work?
May 14 18:59:27 <orngchkn> The latter is what seems to be generated.
May 14 18:59:33 <viatropos> <a href="#" {{action "select" target="App"}}>Select</a>
May 14 19:00:15 <viatropos> try `npm install git://github.com/viatropos/coffeecup.git#inline-attributes --force`?
May 14 19:00:27 <viatropos> you have npm >= 1.1.6?
May 14 19:00:37 <viatropos> 1.1.16
May 14 19:00:46 <orngchkn> 1.1.18
May 14 19:01:35 <viatropos> https://github.com/gradus/coffeecup/pull/30
May 14 19:01:50 <orngchkn> After npm installing with the git url, I now fail with 1) "before all" hook:
May 14 19:01:50 <orngchkn> ReferenceError: App is not defined
May 14 19:01:53 <orngchkn> Weird
May 14 19:02:40 <viatropos> that's coffeescript, now `npm install git://github.com/viatropos/coffee-script.git --force`
May 14 19:03:02 <orngchkn> Eek
May 14 19:03:27 <orngchkn> Ideas on how to improve this?
May 14 19:03:31 <viatropos> this will all be abstracted away when I merge to master
May 14 19:03:42 <viatropos> yeah, just haven't had time to clean it up
May 14 19:03:47 <orngchkn> is this just a general problem with npm?
May 14 19:04:09 <viatropos> no I don't think so, since you force-installed coffeecup, it's going to reinstall its dependencies
May 14 19:04:12 <orngchkn> What's in your version of coffee-script?
May 14 19:04:31 <viatropos> https://github.com/jashkenas/coffee-script/pull/2329
May 14 19:05:03 <viatropos> hooks for extends and setting properties and
May 14 19:05:12 <viatropos> -and
May 14 19:06:36 <viatropos> I have to build the front end to a tower app in the next 2-3 days, so after that I'll start transitioning to simplifying and merging to master.
May 14 19:07:14 <orngchkn> Still have that failure after force-installing coffeecup and then your coffee-script…
May 14 19:07:25 <orngchkn> WTH? Weird…
May 14 19:07:43 <viatropos> k let me check that out...
May 14 19:08:59 <orngchkn> All of `npm test` broke. npm install —force didn't fix (restarted design.io as well)
May 14 19:11:32 <viatropos> haha, too many forces
May 14 19:11:47 <orngchkn> ;)
May 14 19:11:54 <orngchkn> Top of the error is this:
May 14 19:11:55 <orngchkn> ReferenceError: App is not defined
May 14 19:11:55 <orngchkn> at Object.<anonymous> (/Users/dave/open_source/tower/test/cases/model/bindableCursorTest.coffee:5:3)
May 14 19:11:55 <orngchkn> at Object.<anonymous> (/Users/dave/open_source/tower/test/cases/model/bindableCursorTest.coffee:100:4)
May 14 19:11:55 <orngchkn> at Module._compile (module.js:441:26)
May 14 19:11:55 <orngchkn> at Object..coffee (/Users/dave/open_source/tower/node_modules/coffeecup/node_modules/coffee-script/lib/coffee-script/coffee-script.js:22:21)
May 14 19:12:09 <orngchkn> The coffee-script under the coffeecup module looks suspect
May 14 19:12:21 <orngchkn> But I'm still a newb
May 14 19:14:16 <viatropos> ok so it's working for me, try (0) stopping design.io (1) installing that coffeecup branch (2) installing that coffee-script branch (3) starting design.io (4) run tests
May 14 19:14:19 <viatropos> that's working for me
May 14 19:14:40 <viatropos> that way it will use the coffee-script branch, and it will recompile with it
May 14 19:15:31 * GitHub23 (~GitHub23@sh2.rs.github.com) has joined #towerjs
May 14 19:15:31 -GitHub23/#towerjs- [tower] viatropos pushed 1 new commit to development: http://git.io/cgZUIA
May 14 19:15:31 -GitHub23/#towerjs- [tower/development] updated coffee-script - Lance Pollard
May 14 19:15:31 * GitHub23 (~GitHub23@sh2.rs.github.com) has left #towerjs
May 14 19:17:21 <orngchkn> Same error for me.
May 14 19:17:25 <orngchkn> Bummer
May 14 19:17:44 * GitHub189 (~GitHub189@sh3.rs.github.com) has joined #towerjs
May 14 19:17:44 -GitHub189/#towerjs- [tower] viatropos pushed 1 new commit to development: http://git.io/7Aq2gw
May 14 19:17:44 -GitHub189/#towerjs- [tower/development] add CHANGELOG to track what to do to stay in sync with dev branch - Lance Pollard
May 14 19:17:44 * GitHub189 (~GitHub189@sh3.rs.github.com) has left #towerjs
May 14 19:19:12 <viatropos> ok I'm at the same spot as you now... checking again
May 14 19:20:21 <viatropos> you know what it probably is, coffeecup is mapped to 1.3.1 explicitly, but coffeescript just upgraded, so it's using that
May 14 19:24:16 * GitHub53 (~GitHub53@sh2.rs.github.com) has joined #towerjs
May 14 19:24:16 -GitHub53/#towerjs- [tower] viatropos pushed 1 new commit to development: http://git.io/JZAuAg
May 14 19:24:16 -GitHub53/#towerjs- [tower/development] tell coffeecup to use coffee-script >= 1.3.1 - Lance Pollard
May 14 19:24:16 * GitHub53 (~GitHub53@sh2.rs.github.com) has left #towerjs
May 14 19:24:30 <viatropos> orngchkn: there we go, that was it. https://github.com/viatropos/tower/blob/development/CHANGELOG.md
May 14 19:26:22 <orngchkn> viatropos: Yup. That fixed
May 14 19:26:29 <viatropos> nice
May 14 19:26:40 <orngchkn> And all tests pass (with my geoQueryTest fix)
May 14 19:26:52 <viatropos> cool
May 14 19:34:45 <orngchkn> Sent pull request
May 14 20:07:01 * orngchkn has quit (Ping timeout: 244 seconds)
May 14 20:09:15 * orngchkn (~orngchkn@c-50-135-163-7.hsd1.wa.comcast.net) has joined #towerjs
May 14 20:20:27 <orngchkn> viatropos: So I'm thinking about the db configuration and moving to something more like that: https://gist.github.com/b9a7be9183b98a85f36a
May 14 20:20:33 <orngchkn> -that +this
May 14 20:21:11 <viatropos> what if you want multiple databases?
May 14 20:21:17 <viatropos> like redis + mongo
May 14 20:21:23 <orngchkn> That happens?
May 14 20:21:24 <orngchkn> :)
May 14 20:21:28 <viatropos> yeah
May 14 20:21:54 <viatropos> redis for background jobs at least
May 14 20:32:13 * orngchkn has quit (Ping timeout: 244 seconds)
May 14 20:33:36 * orngchkn (~orngchkn@c-50-135-163-7.hsd1.wa.comcast.net) has joined #towerjs
May 14 20:34:50 <orngchkn> viatropos: What about https://gist.github.com/b9a7be9183b98a85f36a
May 14 20:35:32 <orngchkn> I assume people have to set up their stores in the models?
May 14 20:42:04 <orngchkn> Anyways, I guess it makes just as much sense to keep it the way it is
May 14 20:42:16 <orngchkn> The problem is only loading the drivers needed by the current env
May 14 20:42:36 <orngchkn> I'm guessing they all need to be required so that they get compiled, yes?
May 14 20:43:15 <orngchkn> So things like MongoDB's use of the initialize callback needs to be stripped out / moved else.
May 14 20:43:18 <orngchkn> elsewhere*
May 14 20:43:23 <orngchkn> (as you pointed out earlier today)
May 14 20:45:52 <viatropos> orngchkn: yeah, I think it's fine having the config the way it is now, but then the application should specify what databases to require, similar to `config.generators { |g| g.orm :active_record }` on http://www.mongodb.org/display/DOCS/Rails+3+-+Getting+Started
May 14 20:46:48 <viatropos> the databases.coffee doesn't need to specify what to `require`, so we just need to create a config option for the application.coffee or something like that
May 14 20:48:40 <orngchkn> Doesn't it need to specify which driver the current env is to use?
May 14 20:48:45 <orngchkn> (even if it's multiple)
May 14 20:53:09 * orngchkn1 (~orngchkn@c-50-135-163-7.hsd1.wa.comcast.net) has joined #towerjs
May 14 20:53:21 * orngchkn1 has quit (Remote host closed the connection)
May 14 20:53:30 * orngchkn has quit (Ping timeout: 252 seconds)
May 14 20:54:00 * orngchkn (~orngchkn@c-50-135-163-7.hsd1.wa.comcast.net) has joined #towerjs
May 14 20:54:11 <orngchkn> Man… flaky connection today
May 14 20:54:16 <orngchkn> stupid comcast
May 14 21:05:01 <orngchkn> viatropos: You agree that the Tower.Store.MongoDB.initialize callback should be abstracted and removed from the Mongo adapter?
May 14 21:06:07 <viatropos> it should be abstracted somehow, haven't thought about it yet. don't know if it needs to be removed (probably does)
May 14 21:06:22 <orngchkn> I assume so. What if you weren't using Mongo at all?
May 14 21:06:46 <orngchkn> (And I need to resubmit my "Remove reliance on Mongo in tests" patch)
May 14 21:07:04 <orngchkn> (Seems like there should be specific adapter tests for each adapter)
May 14 21:15:07 * orngchkn has quit (Ping timeout: 272 seconds)
May 14 21:15:24 <viatropos> orngchkn: yeah it should be able to work without mongo
May 14 21:20:57 * orngchkn (~orngchkn@c-50-135-163-7.hsd1.wa.comcast.net) has joined #towerjs
May 14 21:27:00 <orngchkn> viatropos: What about something like this: https://gist.github.com/b02dc3b970fdc2af03a8
May 14 21:28:55 <orngchkn> That would leave it to each adapter to look for the right environment though so we might want to pull that responsibility up a level, too
May 14 21:29:20 <orngchkn> Could do something like `store.configure databaseConfig[Tower.env]`
May 14 21:29:30 <orngchkn> Anyways. Hopping off for the night. BBTomorrow.
May 14 21:29:32 * orngchkn has quit (Remote host closed the connection)
May 14 21:29:34 <viatropos> yeah something like that in the gist would work
May 14 21:38:41 * viatropos has quit (Quit: viatropos)
**** ENDING LOGGING AT Mon May 14 21:55:58 2012
**** BEGIN LOGGING AT Mon May 14 22:11:33 2012
May 14 22:11:33 * Now talking on #towerjs
May 14 22:11:33 * Topic for #towerjs is: towerjs.org -- Questions? Ask here or post on StackOverflow with the tag `towerjs`
May 14 22:11:33 * Topic for #towerjs set by viatropos!~viatropos@c-24-7-57-129.hsd1.ca.comcast.net at Wed May 9 10:10:37 2012
May 14 22:14:37 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 14 22:17:38 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 14 22:18:06 * viatropos_ (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has left #towerjs
May 14 22:21:06 * viatropos has quit (Ping timeout: 252 seconds)
May 14 22:35:52 * czhang777 (~czhang777@123.122.93.62) has joined #towerjs
May 14 22:37:01 <czhang777> hello
May 14 22:57:07 * viatropos (~viatropos@c-24-7-57-129.hsd1.ca.comcast.net) has joined #towerjs
May 15 00:18:59 <czhang777> design.io doesn't work on me
May 15 00:19:11 <czhang777> I have it started, watched
May 15 00:19:51 <czhang777> but when I change any coffeescript file, no js file gets updated
May 15 00:25:09 <e_dub> are you trying to work on Tower itself, or on your own app?
May 15 00:26:58 <czhang777> tower itself
May 15 00:27:53 <czhang777> first, I do "design.io start"
May 15 00:28:25 <czhang777> then on the towerjs project directory, I do "design.io watch"
May 15 00:29:50 <czhang777> after that, I assume any change to src/*.coffee, corresponding *.js under lib/ will get updated, but that doesn't happen
May 15 00:32:36 <e_dub> ok, i think when you are working on tower itself you just run "design.io", "design.io start" is for working on Tower apps
May 15 00:32:43 <e_dub> but i might be wrong
May 15 00:32:45 <e_dub> viatropos
May 15 00:33:44 <viatropos> czhang777: you have it right, hmm
May 15 00:33:52 <viatropos> czhang777: what's your operating system?
May 15 00:34:05 <viatropos> and node -v
May 15 00:34:08 <e_dub> oh right, i was thinking of "watch"
May 15 00:34:47 <e_dub> yeah, for working on Tower itself, on Linux (Ubuntu here), design.io doesnt do anything, but having it watch apps I am working on works great
May 15 00:34:49 <viatropos> czhang777: can you paste the output you're getting into a gist?
May 15 00:35:02 <viatropos> e_dub: it doesn't work on linux?
May 15 00:35:36 <czhang777> my OS is OSX 10.7.3
May 15 00:35:53 <czhang777> ~ » node -v ~
May 15 00:36:01 <e_dub> viatropos, it works great for watching apps I am working on, but no, it does not work for hacking on Tower itself. that's why i was having all those issues with my pull request showing all those thousands of re-compiled files or whatever
May 15 00:36:04 <czhang777> my node is on v0.6.17
May 15 00:36:39 <e_dub> when i go into Tower's directory, run "design.io start" it just sits there, cursor blinking
May 15 00:36:51 <e_dub> no errors or anything, just doesnt do anything
May 15 00:37:01 <czhang777> same here, @e_dub
May 15 00:37:18 <viatropos> oh it should be `design.io watch` (or just `design.io`)
May 15 00:37:59 <czhang777> so my question is, to hack on towerjs, if I change the coffee source, how do I make it compiled into js
May 15 00:38:08 <viatropos> run `design.io start` in some random directory with design.io installed locally. `design.io start` is just to do hot code pushes or whatever they call it
May 15 00:39:25 <viatropos> did you run `design.io` in the tower root directory?
May 15 00:39:38 <czhang777> I did
May 15 00:39:49 <czhang777> nothing outputed
May 15 00:40:04 <viatropos> did you run `npm install` in tower root?
May 15 00:40:19 <czhang777> but "design.io start" and "design.io watch" just keep running on my two terminal windows
May 15 00:41:28 <czhang777> yes, I have fully installed node_modules under my tower root
May 15 00:41:39 <viatropos> let's start over. CTRL-C quit those two windows. then open one new window and cd to tower root. then run `design.io`
May 15 00:42:17 <czhang777> stop that running "design.io start" or not?
May 15 00:42:28 <viatropos> yeah stop all design.io things
May 15 00:42:47 <e_dub> viatropos, ok, i had it right then. design.io start works great for me. i run it in the Tower apps i am working on, and it pushes code changes straight to the browser (which is slick as hell), but when i run either "design.io" or "design.io watch" in tower root that does nothing, but i will try right now, right along with czhang777
May 15 00:43:08 <viatropos> e_dub: k
May 15 00:43:17 <czhang777> ok, "info: No forever processes running"
May 15 00:43:24 <viatropos> k
May 15 00:43:26 <viatropos> cool
May 15 00:43:49 <viatropos> then `design.io`
May 15 00:43:57 <czhang777> so now I have "design.io" running alone
May 15 00:44:13 <czhang777> forever showing ": [0] undefined node undefined undefined 0:0:0:0.0"
May 15 00:44:13 <e_dub> ok, running "design.io" in tower root. cursor is blinking in the terminal, thats all (if I am just noise, tell me)
May 15 00:44:32 <viatropos> e_dub: run `forever list`
May 15 00:44:56 <viatropos> czhang777: if you do `forever stopall` then try again, does it still do that?
May 15 00:45:15 <e_dub> interesting "forever: command not found" ... does that need to be installed globally, seperately?
May 15 00:45:45 <viatropos> yeah, you can install that globally `npm install forever -g`, you don't need it though, but it's useful