**** BEGIN LOGGING AT Fri Aug 03 02:59:59 2012 Aug 03 03:08:27 Super bueno, Villo is working as expected: ) Aug 03 03:20:11 Hi every one! Aug 03 03:20:15 I have a question Aug 03 03:20:23 Jim_: I'll see if I can help. Aug 03 03:20:37 I'm following this tutorial on this link https://github.com/enyojs/enyo/wiki/Tutorial Aug 03 03:20:52 It says I should create 2 js files Aug 03 03:21:00 Tweet.js and TweetApp.js Aug 03 03:21:07 so that should be separated Aug 03 03:21:27 so in my package.js, I should have something like this Aug 03 03:21:29 enyo.depends( "Tweet.js", "TweetApp.js" ); Aug 03 03:21:45 but when I try to run my app, it's giving me an error Aug 03 03:21:54 What's the error? Aug 03 03:22:00 I'l screenshot the error Aug 03 03:22:05 Alright Aug 03 03:22:34 http://elsonsolano.com/screenshot/2012-08-03_1122.png Aug 03 03:22:50 The program failed to execute because of that errr Aug 03 03:22:52 *error Aug 03 03:23:08 Looks like some problem with your code. Aug 03 03:23:16 Can you put it up somewhere? Aug 03 03:23:33 The problem only occurs when I tried to separate those files Aug 03 03:23:45 I don't know what would cause that. Aug 03 03:24:04 but when I combine those in my index.php, everything is okay Aug 03 03:25:02 Without seeing the app, I can't really figure out what's going on. Aug 03 03:25:10 Could you zip it up and send it to me or something? Aug 03 03:26:26 I posted it on pastbin.com Aug 03 03:26:27 http://pastebin.com/emePxQq2 Aug 03 03:28:12 Okay, I know how to fix this. Aug 03 03:28:18 yey! Aug 03 03:28:19 ehee Aug 03 03:28:28 Okay, in TweetApp.js Aug 03 03:28:36 Remove the last two lines. Aug 03 03:28:37 var tweetApp = new TweetApp(); Aug 03 03:28:38 tweetApp.renderInto(document.body); Aug 03 03:28:38 Those. Aug 03 03:28:53 In tweet.js Aug 03 03:29:08 Remove the last 5 lines, starting at "var t = ..." Aug 03 03:29:25 okay..then Aug 03 03:29:40 And in index.php, in the script tag, add this: Aug 03 03:29:57 new TweetApp().renderInto(document.body); Aug 03 03:30:01 Then run it. Aug 03 03:30:28 Yey! Aug 03 03:30:32 it worked! Aug 03 03:30:33 hehe Aug 03 03:30:37 Awesome! :) Aug 03 03:30:40 Thank you very much Aug 03 03:30:47 Of course, glad I could help! Aug 03 03:31:00 I think I figured it out why its failing Aug 03 03:31:25 maybe becauserenderInto() stop executing the code below it Aug 03 03:31:33 *because renderInto() Aug 03 03:31:44 that's why it fails Aug 03 03:31:45 not sure though Aug 03 03:31:46 I'm not sure why, I just know that you never call renderInto more than once. Aug 03 03:32:01 You create one big app kind, and then just use that one line to render it. Aug 03 03:32:03 I see. Aug 03 03:32:12 The javascript files only build the kinds, they don't draw them. Aug 03 03:32:24 Anyway, thank you very much! :) Aug 03 03:32:29 Course! Aug 03 03:32:31 I'm really new to enyo Aug 03 03:32:38 today is my 1st day of doing this one Aug 03 03:32:51 Oh, very cool. Did you used to use Enyo 1.0? Aug 03 03:32:53 I was following this tutorial because i might use onyx on our project Aug 03 03:33:00 enyo 2.0 Aug 03 03:33:06 Ah, alright. Aug 03 03:33:18 Onyx is pretty cool, and most of it is really simple. Aug 03 03:33:28 The tutorial said that I'll use enyo 2.0, that's why :) Aug 03 03:33:43 I'm excited to do Onyx Aug 03 03:33:47 hehe Aug 03 03:34:07 If you ever have a problem, just pop in here. Aug 03 03:34:13 Someone can usually help you. Aug 03 03:34:13 sure! :) Aug 03 03:34:14 Thanks Aug 03 03:39:12 Will jQuery and EnyoJs conflict? Aug 03 03:39:20 They shouldn't. Aug 03 03:39:25 Did you experience something like that? Aug 03 03:39:35 I've worked with them together, never had an issue. Aug 03 03:39:40 I see. Aug 03 03:39:42 nice! Aug 03 03:39:49 Okay. Aug 03 03:40:01 The only thing you have to deal with is the lack of IDs on enyo controls. Aug 03 03:40:12 Well, not that Lack. Aug 03 03:40:29 because enyo has also a style how to get the value of a textinput Aug 03 03:40:46 what do you mean a lack of id? Aug 03 03:41:09 well, if you use jquery selectors, you can't just run them against enyo objects. Aug 03 03:41:14 You have to call getId(). Aug 03 03:52:15 You know how to use Yii Framework? Aug 03 03:57:31 I do not. Aug 03 03:57:51 I see. I was about to ask if you've experience merging Yii and Onyx. Aug 03 03:58:00 by the way i'm already on this tutorial https://github.com/enyojs/enyo/wiki/Tutorial-2 Aug 03 03:58:47 Yii is php, no? Aug 03 03:58:54 Onyx is client-side. Aug 03 03:59:59 yes, yii is php Aug 03 04:00:13 but yii also has this templating mechanism Aug 03 04:00:20 Ah, I'm not sure how that would work. Aug 03 04:00:26 I see. okay :) Aug 03 04:00:27 Thanks Aug 03 06:02:48 VQL is going to be one sexy thing. Aug 03 06:09:21 Enlighten me Aug 03 06:58:12 ch3mical: Sorry, I didn't see that. Aug 03 06:58:18 Do you actually care? Aug 03 06:58:20 fxspec06: Ping. Aug 03 07:02:02 kesne: yes Aug 03 07:02:10 By the way, anyone using Hermes? Aug 03 07:02:17 ares-project Aug 03 07:02:23 I played around with it, couldn't get it working Aug 03 07:02:37 I'm having the same experience I think Aug 03 07:03:39 VQL stands for Villo Query Language. If you're not familiar with Villo, it's just a social web framework. VQL is like mySQL without the hassle. You set up tables in a web interface, and can query against them from a simple JavaScript or PHP library with standard SQL commands. Aug 03 07:04:07 Sounds interesting Aug 03 07:04:31 What are the advantages compared to other NoSQL? Aug 03 07:05:01 1.) Free, no server setup, easy web interface. Aug 03 07:05:34 2.) Simple client- and server-side libraries. Aug 03 07:05:37 Yes, yes... Aug 03 07:06:29 3.) You can leverage the power of real SQL queries (like, orderby, etc etc etc). Aug 03 07:07:14 4.) Public SQL tables for certain Villo features. (may not be relevant to you, but still.) Aug 03 07:07:20 That's the key stuff. Aug 03 07:10:37 so its like sql, but without the reliable database backend that sql queries? Aug 03 07:11:09 It has a reliable database backend. Aug 03 07:12:33 where is this detailed? Aug 03 07:12:39 It's not. Aug 03 07:13:11 vql is a poor choice, there are quite a few vqls already Aug 03 07:13:16 choice of name Aug 03 07:13:27 It's a development name. Aug 03 07:13:39 I pick the internal names, someone else picks the external name. Aug 03 07:13:49 so what is the backend then? Aug 03 07:14:09 Don't worry about it, haha. It's changed a few times. Aug 03 07:14:34 It started as a little project of mine a few months ago, back then it was PHP/mySQL. Aug 03 07:14:44 heh, ouch Aug 03 07:15:02 But the sql commands were interpreted, so you weren't running commands directly against the databse. Aug 03 07:15:27 Right now, it's Mongo + Node. Aug 03 07:25:09 kesne: sounds cool Aug 03 07:26:04 It'll be cool if I ever get around to finishing it. Aug 03 07:36:58 what db is enyo on a TP using? Aug 03 07:37:25 ka6sox: For what? Aug 03 07:37:40 Some apps use localstorage, some use cookies, some use SQLite. Aug 03 07:37:47 DB8 is the most prominent on the TP. Aug 03 07:38:10 okay so both DB8 and SQlite...thanks. Aug 03 07:38:41 will enyo2 use both of those too? Aug 03 07:40:21 I have no idea. SQLite is supported only on webkit. You're better off using IndexedDB. For Enyo2 on Open webOS, DB8 is the way to go, but that hasn't been implemented yet as far as I know. Aug 03 07:41:17 Enyo2 isn't supported currently by the webkit/luna for OWOS 1.0 right? Aug 03 07:41:29 I have no idea. Aug 03 07:41:39 I would think that it is. Aug 03 07:41:44 But that's just intuition. Aug 03 07:41:54 I need to sleep, actually, have a nice night. Aug 03 07:41:56 have to ask saturday Aug 03 07:42:08 you too..nite Aug 03 13:55:21 anyone doing the windows 8 Aug 03 16:22:03 I'm really lost on this Fittable issue Aug 03 16:32:17 I cannot, for the life of me, get my Scroller to properly get it's height from fittable Aug 03 16:35:19 what on earth is up with the literally dozens of playbook users that I've had recently who have Google Voice Lite, and are bitching they can't send texts with it? GVL only does voicemail. Aug 03 16:46:06 well, now the scroller scrolls, but doesn't stay Aug 03 16:58:31 http://forums.enyojs.com/discussion/655/scrollerfittable-difficulties#latest fwiw Aug 03 17:04:32 EricBlade: you should take voicemail away, then they can only log in Aug 03 17:04:38 :D Aug 03 17:05:03 fxspec06: read up and fix it for me Aug 03 17:10:51 do you can .render() afterward Aug 03 17:11:53 this.render() Aug 03 17:13:42 same thing Aug 03 17:13:52 I had been rendering formDiv Aug 03 17:14:01 but even this.render() doesn't do the right thing Aug 03 17:14:10 and sense is taking up 100% of the height Aug 03 17:14:44 no Aug 03 17:16:27 should it be? Aug 03 17:16:33 gonna make me try it myself aren't you lol Aug 03 17:17:28 I don't know, I can't make this work Aug 03 17:20:14 it sorta feels like the issue is that I'm creating things on the fly afterwards Aug 03 17:22:20 is Toolbar a kind? Aug 03 17:22:26 yeah Aug 03 17:22:32 it's what gives me the menupane stuff Aug 03 17:22:37 i'm getting an error when i put that. it's onyx.Toolbar ? Aug 03 17:22:38 oh Aug 03 17:22:44 ok, so i need menupane Aug 03 17:22:47 yeah Aug 03 17:23:48 do CSS rules interfere with fittable? Aug 03 17:24:16 depends, it's likely Aug 03 17:25:40 depends on what? Aug 03 17:26:13 what is TryComplexSensr Aug 03 17:27:16 it depends on what you've got in your styles. sometimes it overrides the built in, sometimes it needs !important to interfere Aug 03 17:29:03 TryComplexSensr is the kind that formDiv is being inserted into Aug 03 17:29:36 what might be messing with it? Aug 03 17:30:10 well what you're doing by "this.createComponent()" is inserting it into the whole page, at the end of the components Aug 03 17:30:39 so if you want to put it into sensr, you got to do "this.$.sensr.createComponents({ ... }, owner: this); Aug 03 17:31:08 when I'm calling this.createComponent(), it's within the TryComplexSensr kind Aug 03 17:31:41 ok Aug 03 17:32:15 where does the owner default to? should I be specifying it? Aug 03 17:32:42 it naturally defaults to wherever you're calling it, so the owner would be TryComplexSensr Aug 03 17:33:25 right Aug 03 17:42:48 any ideas? Aug 03 17:43:25 yeah, formDiv has no height or width. Aug 03 17:43:34 set both to 100% and it should work Aug 03 17:44:54 wee i got it to work lol Aug 03 17:45:34 even if it's fittable? Aug 03 17:46:39 yeah. you can't put classes: enyo-fit to formDiv b/c of the toolbar, it goes over it. but it will fill its available space, not screen height Aug 03 17:46:57 if you use height & width 100% inline style Aug 03 17:47:25 http://pastie.org/4385053 Aug 03 17:48:28 what is flex: 1 ? Aug 03 17:48:39 er, it doesn't do anything Aug 03 17:52:43 alright, mine still isn't working, but I guess I'll play with it. Aug 03 17:52:49 When does fittable get calculated? Aug 03 17:55:02 because as it stands, the Scroller doesn't have anything in it Aug 03 17:55:17 whereas yours has componenets immediately Aug 03 17:55:22 really? that's odd. i'm thinking it's a problem with your sensr class then Aug 03 17:55:28 sensr *kind Aug 03 17:56:11 there's a style applied of height: 100%; Aug 03 17:56:18 it's an enyo.Control Aug 03 17:56:35 there shouldn't be anything else interfering, as far as I can tell Aug 03 17:56:47 hrm. i'm not sure that's a good idea. i think it should be a FittableRows Aug 03 17:57:24 Controls aren't visible objects, i believe Aug 03 17:58:35 that didn't help Aug 03 18:02:43 when formDiv isn't a FittableRows, I can see everything, and I can drag to scroll, I just can't get the scroll to stick (it jumps back to the top) Aug 03 18:12:08 hmm Aug 03 18:12:26 i've never had that problem. o.O Aug 03 18:54:14 alright, I can set a specific height on the scroller, and it works just fine Aug 03 18:55:47 however, as soon as I give it fit: true, it goes to 0 Aug 03 19:08:31 setting classes: "enyo-fit" on formDiv makes the scroller reach over the toolbar, but it scrolls Aug 03 19:40:24 anybody else find that radiobuttons don't seem to respect the "classes" setting? Aug 03 20:27:31 and now i have panels that are mysteriously appearing half on screen Aug 03 21:08:27 What's the best way to remove all child components of a component? Aug 03 21:10:41 therealklanni: component.destroyComponents(); Aug 03 21:11:20 I tried that, it doesn't do anything Aug 03 21:11:50 Oh, I have to render again Aug 03 21:12:00 Thanks :) Aug 03 21:12:15 Oh, you do? I should remember that :x Aug 03 21:12:27 If you want the view to update, yes lol Aug 03 21:12:36 I think my pipeline is generally destroyComponents() init new ones, then render so I guess that I would think it was automatic Aug 03 21:12:44 therealklanni: how are you btw, dude? Aug 03 21:12:49 Apparently it did destroy everything but doesn't update the view by default Aug 03 21:12:58 I'm great, was just about to ask you the very same Aug 03 21:13:06 hehe Aug 03 21:13:27 * rrix is flying to SJC with Blaine soon for enyo hackathon tomorrow Aug 03 21:13:37 therealklanni: you still in dtphx? Aug 03 21:13:42 SJC? Aug 03 21:13:57 Paradise Valley Aug 03 21:14:40 Ahh, nice. Aug 03 21:14:44 SJC => San Jose Aug 03 21:14:48 Ah Aug 03 21:14:58 Nice? Eh, I guess. I hate it up here Aug 03 21:15:05 So far from everything interesting Aug 03 21:15:09 I wasn't going to say anything in case you liked it ;) Aug 03 21:15:29 My mom lived in PV when I lived with her, i did NOT enjoy it Aug 03 21:15:29 Wouldn't offend me by saying anything even if I did :P Aug 03 21:15:35 hehe Aug 03 21:15:53 Yeah I'm not surprised Aug 03 21:16:16 It's great if you have children and you don't want them to do anything though Aug 03 21:16:22 lol Aug 03 21:16:48 I dunno, in my experience that backfires on you. Then they just end up doing drugs and shit Aug 03 21:17:17 * rrix got in to his fair share of trouble up there, yeah :) Aug 03 21:17:23 Not drugs, mind you, but Aug 03 21:17:34 Yeah Aug 03 21:18:04 I just started on Enyo last weekend Aug 03 21:18:16 My project is up on github if you get curious Aug 03 21:18:18 Cool, what do you think so far? Aug 03 21:18:23 It's awesome Aug 03 21:18:59 Easy to learn, also Aug 03 21:19:22 therealklanni: I don't think I follow you on gifhub, what's your username? Aug 03 21:19:31 Same as my nick Aug 03 21:19:34 ah, k Aug 03 21:19:49 Huh, it says I am following you. *boggles* Aug 03 21:19:59 Magic Aug 03 21:20:20 nice, this looks like something i'll have to play with later Aug 03 21:21:55 My goal is to extend the functionality of kanbanpad.com (you need to use your account details from that site to get the live code working, the demo is running of static JSON) to do things like tracking time tasks spend in each step and getting analytics from that, etc Aug 03 21:22:19 I'll probably replace the kanbanpad API with my own once I get to that point Aug 03 21:23:08 therealklanni: Nice. You planning to phonegap it on to mobilethings or host it online somewhere? Aug 03 21:23:22 Yes Aug 03 21:23:32 Haven't decided on which approach as of yet Aug 03 21:23:44 I'll cross that bridge eventually Aug 03 21:24:00 I'm always open to suggestions Aug 03 21:24:44 hehe :) Aug 03 21:24:52 You can always do both :) Aug 03 21:24:58 the game that I'm working on will probably be both Aug 03 21:25:05 What is it? Aug 03 21:26:12 Little apples to apples-like card game Aug 03 21:26:22 backend is node.js, frontend is enyo, socket.io for communications Aug 03 21:26:30 Sounds interesting Aug 03 21:26:39 it's up on my fighub Aug 03 21:27:00 It's ugly, I've been working on the plumbing and trying to come to grips with Node Aug 03 21:27:52 https://github.com/rrix/inhumanity Aug 03 21:28:12 Fun Aug 03 21:28:29 Yeah Aug 03 21:28:37 Haven't had the chance to play on it recently Aug 03 21:32:16 By the way destroyClientControls() is definitely the method to use Aug 03 21:32:30 Was getting weirdness with destroyComponents() Aug 03 21:34:14 ahhh Aug 03 21:34:24 Now I need to figure out why when I render a new set of control in there it isn't displaying them properly Aug 03 21:42:02 OK, now I'm getting all kinds of wierdness... destroyClientControls() apparently leaves them in the DOM, iterating over the .children array and executing removeChild() on each thing doesn't work either Aug 03 21:42:20 No matter what I can't purge all the children of this component cleanly Aug 03 21:43:11 o.O Aug 03 21:43:26 can you jsfiddle it? Aug 03 21:43:34 that sounds so dirty Aug 03 21:43:46 * fxspec06 back to what i was doing Aug 03 21:44:13 * rrix tickles fxspec06 Aug 03 21:44:55 ok, time to set up two new servers, since I lose my datacenter machine this weekend :( Aug 03 21:44:55 And it seems that using Array.forEach() is only iterating half the array? Aug 03 21:47:25 Might be a little too complex to jsfiddle Aug 03 21:47:38 I can just push the changes to the hosted demo Aug 03 21:48:25 Actually, no need Aug 03 21:48:37 Just pull it up and try it from the console Aug 03 21:48:51 http://therealklanni.github.com/kanbanana Aug 03 21:50:06 Click on a project, then in console try enyo.$.kanbanana_board_stepList.children.forEach(function(e){enyo.$.kanbanana_board_stepList.removeChild(e)}) Aug 03 21:50:35 Or just enyo.$.kanbanana_board_stepList.destroyComponents() or .destroyClientControls() Aug 03 21:52:42 When I iterate the children array with forEach() I end up with 2 controls left.. if you click around a bunch and end up with say 50 controls generated it will only remove 25 of them Aug 03 21:52:54 Makes no sense **** ENDING LOGGING AT Sat Aug 04 02:59:58 2012