**** BEGIN LOGGING AT Fri Jun 01 02:59:58 2012 Jun 01 03:55:29 lupos: spell it "tapped" though, because otherwise it suggests that you used scotch tape somewhere :) Jun 01 06:28:09 hi Adora! just got re-screend in Jun 01 06:28:24 we burned it down at Fluent, yo Jun 01 06:29:25 yeah? Jun 01 06:29:36 I wish I could have made it back, but it just wasn't happening Jun 01 06:29:45 hell yeah, everyone we talked to was pretty impressed/excited Jun 01 06:30:05 we even got one company to consider scrapping their sproutcore re-write of their product and potentially do it with Enyo Jun 01 06:30:41 Adora: did you get to make it to the women who code session or whatever it was called last night? Jun 01 06:30:43 awesome! Jun 01 06:30:56 yeah, gave a quick pitch Jun 01 06:31:02 sweet Jun 01 06:31:09 feeling better yet? Jun 01 06:31:24 but couldnt mingle much, voice crapped out Jun 01 06:31:47 better in a relative sense, yes Jun 01 06:31:48 yeah, I'm feeling it in my chest now...hoping it's just too much talking and not getting sick *blah* Jun 01 06:31:54 but not in an absolute sense Jun 01 06:32:08 sure, I hope you get better soon...hate being sick Jun 01 06:32:34 seems like it's just a cough and easily fatigued now Jun 01 06:32:46 all downhill from there ;) Jun 01 06:32:49 will be all better next week, I'm sure Jun 01 06:33:25 assisted by a constant supply of dayquil, of course Jun 01 06:33:36 heh, yeah...I might need to grab some tomorrow Jun 01 06:33:49 I'm just going to kick it in the room relaxing and re-packing Jun 01 06:33:59 I'm pretty beat :) Jun 01 06:34:01 good idea Jun 01 06:34:10 the past couple weeks have been intense Jun 01 06:34:17 indeed Jun 01 06:34:38 Ben, Enda, and I will be at TX.js in a couple of weeks Jun 01 06:34:43 speaking of kicking it, my battery's gonna die in 60 secs Jun 01 06:34:45 brb Jun 01 12:09:58 he's gone, but the workaround for the dashboards was to clone the dashboard html from the framework and set a background color. Jun 01 14:51:47 is there a way to get a popup to properly size to dynamically added values? Jun 01 15:17:01 summatusmentis: this.$.popup.addStyles( "width: 100px; height: 80px;" ); ? Jun 01 15:28:31 madnificent: I mean, yes... Jun 01 15:30:05 I'd prefer something fits to the content, but perhaps that's not easily do-able Jun 01 15:33:26 does it set the width and the height manually now? Jun 01 15:35:32 nope Jun 01 15:35:54 but applying width to something semi-reasonable seems to work Jun 01 15:36:34 or, work well-enough Jun 01 15:45:12 enyo 2? Jun 01 15:45:40 if yes, try running .resized() on the popup after you change its contents Jun 01 15:47:17 yes Jun 01 15:49:16 I wish that doesn't seem to do what I want Jun 01 15:49:40 http://pastebin.com/WgRVTmms Jun 01 15:49:45 http://imgur.com/1vwna,dANfM Jun 01 15:50:01 pview is the kind defined as the component of the popup Jun 01 15:50:31 NO DOUBLE $ !!!!!! Jun 01 15:50:36 * sugardave cries. Jun 01 15:50:37 wut Jun 01 15:50:44 oh Jun 01 15:50:49 is there something better? Jun 01 15:51:04 you BROKE encapsualtion, I hope you're happy! :P Jun 01 15:51:25 I'm sure I've been breaking encapsulation all over the place Jun 01 15:51:34 not better, it's just better to use events/methods to keep components from knowing about each other Jun 01 15:51:48 sugardave> not better, it's just better Jun 01 15:51:55 yeah yeah :P Jun 01 15:52:43 I see what you're saying Jun 01 15:52:45 would it be cool to put your app in a jsfiddle that I can look at? Jun 01 15:52:53 for the resizing thing? Jun 01 15:53:02 it's broken up kind of oddly Jun 01 15:53:06 I'm not sure if they have our b4 code available though Jun 01 15:53:09 there's files all over the place Jun 01 15:53:22 ah, right Jun 01 15:53:33 so, I'm not sure that'll get you what you want Jun 01 15:54:23 because you generally would call resized on the actual control that has changed content, so this.$.pview.$.taskValue had its content changed, but you ran resized on the popup (because that's what I told you to do :) Jun 01 15:57:04 indeed, and I assume resized() doesn't propagate down? Jun 01 15:57:34 I don't THINK so....still delving into the ins and outs of the framework Jun 01 15:58:38 hrm Jun 01 15:59:15 regarding events/methods, do events propagate data? Jun 01 16:00:43 indeed Jun 01 16:01:02 this.doMyEvent({someData: someValue}); Jun 01 16:01:33 I thought the proper way to trigger an event was this.bubble("onEventName"); Jun 01 16:01:39 or this.waterfall(); Jun 01 16:02:07 for going up, the .doEvent thing is preferred Jun 01 16:02:17 you need to be careful throwing waterfall and bubble around Jun 01 16:02:29 wait, why? Jun 01 16:02:30 don't go throwing waterfalls Jun 01 16:02:42 if you do use bubble, it's bubble("eventName", {prop: val}); Jun 01 16:03:09 I wish these things were flipping documented Jun 01 16:03:14 summatusmentis: this is just something I heard from core guys, I think they thought I didn't know what I was doing when they first reviewed my sample app code ;) Jun 01 16:03:21 EricBlade: lol Jun 01 16:03:52 it's impossible to find any of this out without reading without knowing the framework code intimately Jun 01 16:04:06 one thing to remember about bubble and waterfall is that they will continue up or down and trigger everyone listening for that event unless you return true in the handler that you wanted to fire Jun 01 16:04:07 or, you know, anonymous people on IRC telling you Jun 01 16:04:16 right, that I knew Jun 01 16:04:20 k Jun 01 16:04:26 so, it's probably OK to use it Jun 01 16:05:08 in Enyo 2, the doEvent mechanism actually propagates up the tree, too, which is a slight departure from Enyo 1 Jun 01 16:05:26 my understanding is that doEvent() was just a wrapper for bubble? Jun 01 16:05:41 more or less, I guess it is Jun 01 16:05:51 meeh Jun 01 16:06:22 just go with the tried and true "if it works" methodology ;) Jun 01 16:06:52 well, that's why I've been breaking encapsulation Jun 01 16:07:00 because I can get it to work Jun 01 16:07:13 I'm sort of faking my way through learning web technologies on the fly Jun 01 16:07:35 hey, this sounds familiar Jun 01 16:07:46 ARE YOU TRYING TO STEAL MY JOB?! Jun 01 16:07:57 not unless I can get a PhD out of it Jun 01 16:08:13 heh, unlikely Jun 01 16:09:27 then no, I'll stick to minimal pay and long hours :) Jun 01 16:37:09 sugardave: any other thoughts on resized()? Jun 01 16:41:20 um...I wish it were automatic? Jun 01 16:42:04 seriously, I just learned about the (sometimes) necessity of running it on controls. My brain is too fried today to go delving in the source. Today is relax and re-pack day Jun 01 16:43:30 i kinda inadvertently realized the bubble fired up the tree Jun 01 16:43:39 but it's nice to hear a confirmation Jun 01 16:43:43 le sigh, ok, I'll probably just set a width Jun 01 16:43:59 I wish there were an easy to way to see which events had been fired Jun 01 16:44:07 like an event stack I could log or something Jun 01 16:44:15 that'd be cool Jun 01 16:45:06 but i don't think it'd be possible Jun 01 16:45:41 sugardave: ooh, better question for you, that shouldn't be too hard on your fried brain. How do I get global data fields? Jun 01 16:58:49 summatusmentis: how about a global variable with a singleton object in it? Jun 01 16:59:16 and welcome Adora. i think i need to nag to you so we might potentially ever get those enyo shirts available online (no, i will not travel to the us for a shirt) Jun 01 17:03:03 hm. so ... no real need for bubble when events continue to propegate up ... Jun 01 17:03:53 rwatkins: did you manually bubble and then notice that you didn't need it? (like me) Jun 01 17:04:00 yet another thing for the 'should refactor' list Jun 01 17:04:04 ya. Jun 01 17:04:50 oh right, i was wondering: we don't need to change much, if anything, to use enyo for svg, right? Jun 01 17:06:01 i dont see how they're related. Jun 01 17:06:21 its like "we dont need to change much if anything, to use Enyo for localStorage" Jun 01 17:06:38 you can write enyo controls around all kinds of interesting stuff. or not. your choice. Jun 01 17:15:38 rwatkins: i guess i'd only need to implement defaultkind and ontap Jun 01 17:15:44 and atg Jun 01 17:15:47 s/atg/tag/ Jun 01 17:51:34 3.5k LOC of Enyo2 code in my app and its pretty much all UI. And two kinds with 500 lines. Maybe time to refactor. Jun 01 18:48:59 omg i booted Jun 01 18:49:01 into Jun 01 18:49:01 ssd Jun 01 18:49:16 =O Jun 01 19:34:24 summatusmentis: they told me "no globals" BUT you can use the statics (or maybe static) property of a kind for that. OR just make a global variable and use that. I was re-creating enyo.application object that I knew and loved from Enyo 1 Jun 01 19:41:07 I mean, globals breaks encapsulation too Jun 01 19:41:18 but it seems silly to retype a base URL 17 times, for instance Jun 01 19:42:49 sure, I feel you. You could always just pass a reference to it when instantiating your kinds Jun 01 19:43:44 that seems silly also Jun 01 19:43:47 I'll figure it out Jun 01 19:45:40 meh, {kind: blah, url: this.url} and blah.js uses this.url instead of otherKind.url or enyo.application.url Jun 01 19:45:55 it's kind of a preference thing, I guess Jun 01 19:49:30 yar Jun 01 22:51:34 would there be interest in an SVG library for enyo? i doubt it'd be feasible for a lone dev, but given a bit of a community we should be able to build something with nice basic drawing primitives. Jun 01 22:52:12 madnificent: can the HTML5 canvas do SVG drawing? Jun 01 22:52:26 you can nest canvas in SVG and vice-versa IIRC Jun 01 22:52:40 but canvas and SVG aren't easily intermixable Jun 01 22:53:00 SVG gives you primitives which you can manipulate, and it'll handle the drawing of them. canvas gives you pixels Jun 01 22:53:07 Are there any examples of Enyo being used on sites with decent traffic? Jun 01 22:53:31 akanster: i doubt enyo /can/ be a performance issue if that's your question Jun 01 22:54:23 SVG also helps you in drawing relatively complex stuf (paths etc) and it allows you to attach onclick (so ontap in enyo) to svg elements. you can also duplicate elements in the enyo spec. and it can be nested in your DOM tree. Jun 01 22:54:42 SVG is nice in an editor Jun 01 22:54:47 not performance. I'm curious if it can be used on single page apps like the Twitter mobile site. How it handle's back buttons and such Jun 01 22:54:53 * PatrickC knows that was probably not on the topic at hand. but just wanted to say it :) Jun 01 22:55:13 the downside of SVG is that dynamic SVG isn't (as well) supported in many mobile devices Jun 01 22:55:20 Not the old twitter mobile site. The one that comes up on iOS and Android browsers Jun 01 22:55:37 PatrickC: inkscape is awesome (but actually writes more than the SVG standard allows) Jun 01 22:56:13 madnificent, its a nice editor Jun 01 22:56:17 akanster: i don't know what it looks like, but i thought you could manage those events in JS, so you can manage them in enyo too :) don't know if it has support for it. Jun 01 22:56:20 allows me to do a lot more then MS paint haha Jun 01 22:56:22 PatrickC: you ever open up a .svg file in a text editor? :) Jun 01 22:56:25 akanster: as in: if it already helps you Jun 01 22:56:29 akanster, hahahahaha no :P Jun 01 22:56:33 try it Jun 01 22:56:35 akanster: yes :/ Jun 01 22:56:46 * PatrickC goes to try it Jun 01 22:56:49 akanster: inkscape contains an editor btw! Jun 01 22:57:17 its an XML file.......? Jun 01 22:57:21 yup Jun 01 22:57:31 whoa.... lol Jun 01 22:57:31 it's all mathematical equations Jun 01 22:57:35 noog :) Jun 01 22:57:38 noob* Jun 01 22:57:41 * PatrickC 's head hurts now Jun 01 22:57:42 it even has a DTD :) Jun 01 22:57:47 and STD Jun 01 22:57:54 I keed, I keed Jun 01 22:57:57 * madnificent generates lisp-code from that DTD so he can write the SVG as a set of lisp functions. Jun 01 22:58:14 oh god, I kinda miss lisp Jun 01 22:58:20 actually, scheme Jun 01 22:58:50 akanster: come to lisp, we're the good kids. scheme isn't practical. then make sure writing enyo is easy in parenscript and make me happy (i haven't tried) Jun 01 23:00:17 what do you use Lisp for? Jun 01 23:00:46 *everything* Jun 01 23:01:03 i use it for what's on my github and then some Jun 01 23:01:11 s/some/much, very much/ Jun 02 01:07:55 so, i am planning on using enyo to build iphone apps… via phonegap, thoughts? Jun 02 01:08:52 what kind of thoughts are you looking for? you shouldn't have any problems Jun 02 02:17:11 visionary: piece of cake, use bootplate Jun 02 02:19:50 and why limit to iphone? you can go on all devices/markets **** ENDING LOGGING AT Sat Jun 02 02:59:58 2012