**** BEGIN LOGGING AT Thu Mar 01 02:59:59 2012 Mar 01 16:14:20 hello. what else can i use for a multi page application, if not enyo.Pane ? maybe some other library combined with enyo? i am not satisfied by pane in my current application, on hp touchpad Mar 01 16:28:18 i love pane. what else are you looking for? Mar 01 16:59:15 i dont get how someone could not be satisfied by Pane, what else would you use? Mar 01 18:33:46 PuffTheMagic: Sliding Panes? :) Mar 01 18:34:03 (I, too, love Panes) Mar 01 18:34:43 ehh Mar 01 18:34:55 sliding panes never behaved like I would like them to Mar 01 18:35:16 but panes can do what stages in mojo did Mar 01 18:35:21 which is give u multiple pages Mar 01 18:35:27 so idk what that guy was complaining about Mar 01 18:35:35 yeah, I haven't torn into the new stuff as much as I'd like to yet, but Slideable looks pretty neat Mar 01 18:35:58 yeah Panes is the perfect analogue to scenes, imo Mar 01 18:36:00 i havent had a chance to play with any of the new widgets Mar 01 18:36:05 s/is/are/ Mar 01 18:39:59 the one thing i'm curious about with scenes, is about memory usage, because they seem extremely fast for what they do Mar 01 18:42:32 it's magic, man Mar 01 18:52:42 sufficiently advanced technology is indistinguishable from magic Mar 01 18:56:05 EricBlade: sufficiently advanced magic is indistinguishable Mar 01 18:56:17 you know, I used to HATE meetings. Now I look forward to them, what the hell is wrong with me? Mar 01 19:06:18 sugardave: do they have free coffee? Mar 01 19:12:46 If you can get coffee over the phone Mar 01 19:13:36 Meetings are great if you get free food Mar 01 19:14:10 Meetings are even better if its not yours and then there is leftover food from it Mar 01 19:14:58 Especially if the food was from that mexican place up the road Mar 01 19:16:18 Reminds me - I think I'll get a burrito for lunch... Mar 01 19:16:52 :( Mar 01 19:16:59 * EricBlade just had a gyro for lunch Mar 01 19:16:59 I miss California Mar 01 19:17:13 I've had mexican on the brain since yesterday Mar 01 19:17:33 im having a curry sampler for lunch Mar 01 19:18:37 I had leftover pizza Mar 01 19:30:38 socal mexican>norcal mexican. Enough said. Mar 01 19:58:37 evening Mar 01 20:02:52 ugggh im suffed Mar 01 20:02:56 sticky rice is a killer Mar 01 20:13:42 hello swisstomcat Mar 01 20:13:54 * minego yawns Mar 01 20:17:48 EricBlade: yeah, make me a CoIP app and that would be awesome Mar 01 20:21:21 Ah. Burrito al pastor in hand, thanks to Ruby's Taqueria. Mar 01 20:24:45 That place was good. Then again, only mexican place I went to up there Mar 01 20:29:21 You went to Ruby's? That's pretty out of the way...Or are you thinking of Rubio's? Mar 01 20:32:54 I could have sworn it was Ruby's, but apparently not. Mar 01 20:34:25 It's in a little strip mall WAY off 101 in Sunnyvale. Somebody had to take me there. I'd never seen the place before, and am now a regular. Mar 01 20:36:20 lemke took me to some place before I left that was damn good. Mar 01 20:37:11 I went to Yume Ya with Lisa, Lemke, and Roy the last time I was there. Not Mexican, obviously, but super great Mar 01 20:38:42 Oh, thats the sushi place. Been there, was decent Mar 01 20:39:13 coming from Austin, it was better than decent Mar 01 20:39:55 heh Mar 01 20:40:01 Not a sushi/fish guy Mar 01 20:40:27 I didn't try my first sushi until around 2005 Mar 01 20:40:42 I really like tuna, salmon, and sea bass Mar 01 20:40:48 never had sushi Mar 01 20:41:03 it's delicious Mar 01 20:41:18 i like tuna but not salmon Mar 01 20:41:20 Even with all the crap going on, I really really really hope I get to go back and intern again this summer. Mar 01 20:41:52 crap has gone on, onward through the fog! Mar 01 20:48:17 and now I want mexican for lunch... great... Mar 01 21:45:57 hmm Mar 01 21:48:39 hmm? Mar 01 21:49:05 * halfhalo dies of hunger Mar 01 22:04:21 EricBlade, pane has a little delay in my application. and the animation is not really smooth on touchpad. on google chrome the animation is better, but i use it to create hp touchpad application, not web app Mar 01 22:29:34 burg: have you tried optimizing stuff? specifying lazy:false, validating views before creating them, stuff like that? Mar 01 22:30:18 I use Panes pretty heavily in the Zite app....pretty happy with the performance Mar 01 22:35:07 sugardave, i only create views dinamically (with selectViewByName and onCreateView: "createView") Mar 01 22:35:17 how should i validate views? Mar 01 22:36:16 validateView: function(inName) Mar 01 22:36:16 Checks whether the view specified by inName exists. If it does not exist, attempts to create the view by name from the list of lazy marked views. If the view is not found, fires the onCreateView event, which can be implemented to dynamically create a view by name. Mar 01 22:36:41 it seems to help with dynamically created views (I do similar) Mar 01 22:37:25 another trick I use is I have a "curtain" view which would contain my scrim/spinner combo and switch to that while I create the view I want to move to Mar 01 22:37:54 so view a->curtain->view b....sometimes you don't see the curtain because I get back view b fast enough Mar 01 22:38:54 i understand. i will check it. also i feel the lack of transition effects very anoying. i found a website showing how to create new effects, haven`t tried yet, but i hope it will work well Mar 01 22:42:32 sugardave, so let me understand, should i use .validateView(name) instead of .selectViewByName(name) ? Mar 01 22:42:50 validate, then select Mar 01 22:43:25 validate will fire create if necessary, then it's already done when you select it Mar 01 22:44:04 there's another argument you can pass to all of those that basically says "do this 'async-ly'"...hold Mar 01 22:45:38 ah, true or false....so .selectViewByName(viewName, true) I use to make sure any subviews (yes, inception Panes :P) are in place before I do anything to them Mar 01 22:46:41 ah, good to know, because i intend to use that on one view Mar 01 22:48:55 sugardave, is there any way i can add an animation to the old view? because i want the transition to be like that: old view slides to left, new view slides from right Mar 01 22:49:55 well, you set the transitionKind on the Pane itself Mar 01 22:50:16 so, you would have to manipulate that should you want different effects for different views in the Pane Mar 01 22:50:43 enyo.transitions.LeftRightFlyin, enyo.transitions.Fade, etc. Mar 01 22:52:07 but, that's only for the view coming in, we don't animate the view being replaced Mar 01 23:11:21 whoa, Slideable is even cooler than I thought. I'm looking at the Onyx sampler. If you drag one of the Slideables and let go, it will snap back to position and be fully exposed. But, if you sort of "throw" it back to it's starting side, it will be the "peeking" Mar 01 23:11:28 one Mar 01 23:40:55 sugardave, can you give me a link where i can check slideable? i can`t seem to find one Mar 01 23:58:09 burg: http://enyojs.com/samples/onyxsampler/ all the way at the bottom Mar 01 23:58:27 Enyo 2 stuff Mar 01 23:58:58 transition effects (like in powerpoint) are stupid fluff Mar 01 23:59:17 oooo, another meeting (I'm sick, I tell ya) Mar 02 00:21:45 woo i have two playbook apps now Mar 02 00:22:30 burg: let me share a little something with you. (you should purchase XO and have a look through it's code ;) ) Mar 02 00:24:00 what is XO ? Mar 02 00:24:32 it's the Subsonic app in the catalog Mar 02 00:24:41 here's it's transition .. http://pastebin.ca/2123363 Mar 02 00:25:49 it sends the fromView out to the left, and brings the toView in from the right. or maybe the other way around. it's springy. Mar 02 00:26:10 thank you, i will check it Mar 02 00:26:10 uses the Morf transition library, i just wrote it as a test, but I never got around to improving it Mar 02 00:54:46 EricBlade, Uncaught TypeError: Cannot call method 'hasNode' of undefined Mar 02 00:54:52 at your transition Mar 02 00:56:49 i intended it as an example, it requires other libraries to function Mar 02 00:57:10 EricBlade, what libraries? except morf Mar 02 00:57:12 but it's basically LeftRightFlyin attached to a morf Mar 02 00:57:41 i think morf was it Mar 02 00:58:45 i already included morf. actually the problem is that at line 7: this.pane.transitioneeForView(this.fromView) is undefined Mar 02 00:58:51 returns undefined, i mean Mar 02 01:02:37 EricBlade, nevermind, managed to make it work (with a test condition for fromView) Mar 02 01:03:19 i don't recall ever having fromView be nothing. you do weird things with panes, burg. :) Mar 02 01:03:38 93984 Mar 02 01:03:52 EricBlade, it is nothing when i load the first view Mar 02 01:04:14 yeah, with a totally blank pane and all dynamic views, that first one is tricky Mar 02 01:04:35 * sugardave reminds burg of the "curtain" strategy. Mar 02 01:05:39 curtain strategery? Mar 02 01:06:06 16:37 < sugardave> another trick I use is I have a "curtain" view which would contain my scrim/spinner combo and switch to that while I create the view I want to move to Mar 02 01:06:09 16:37 < sugardave> so view a->curtain->view b....sometimes you don't see the curtain because I get back view b fast enough Mar 02 01:56:14 EricBlade, it`s working good - your transition. i`ve just changed timing function for morf and now it is exactly what i need. thanks Mar 02 01:56:48 hopefully it's not as bouncy as mine .. people actually have emailed to complain about how bouncy it was lol Mar 02 01:57:41 if you're going to be targeting things other than TouchPad, be aware that Morf doesn't work much on webOS phones, and doesn't work at all on Playbook Mar 02 01:59:38 EricBlade, only touchpad for my app. i`ve changed timing function to "easeFromTo" and it is not bouncy anymore Mar 02 02:11:38 burg: i did have a situation in there where sometimes the transition would never flag it's end, which is why there's a setTimeout .. never did investigate why that was though **** ENDING LOGGING AT Fri Mar 02 02:59:58 2012