**** BEGIN LOGGING AT Sun Jun 03 02:59:59 2012 Jun 03 03:00:03 foo[anythingthatevalstoastring] Jun 03 03:00:16 perfect Jun 03 03:00:35 can't believe how much of a working program I have written without knowing that Jun 03 03:00:54 full blown task list that reads tasks from a remote server as well as posts them Jun 03 03:01:16 i didn't kow til this yr Jun 03 03:01:23 i write a ton of JS and dont use that syntax that much. sometimes but not regularly. Jun 03 03:01:36 it's amazing how much you don't want to rewrite old code after you learn new tricks. Jun 03 03:01:47 yeah I'm pretty lazy Jun 03 03:07:03 hm... Jun 03 03:07:13 so i appear to have another newbie question Jun 03 03:07:39 shoot Jun 03 03:07:48 I've got a pair of functions before any of my enyo declarations that swap controls in and out of other controls Jun 03 03:08:08 this.$.buf0 doesn't exist to the functions Jun 03 03:08:32 however it does inside one of the controls Jun 03 03:08:39 how should I access it? Jun 03 03:09:22 you have two options Jun 03 03:09:26 1. set the owner to this Jun 03 03:09:42 or 2. access via this.$.buf0owner.$.buf0 Jun 03 03:09:52 where buf0owner is the control that wraps it Jun 03 03:10:14 that would be the main APP Jun 03 03:10:14 er Jun 03 03:10:15 App Jun 03 03:10:36 well, not necessarily. Jun 03 03:10:52 i'm probably not the best to explain Jun 03 03:11:30 it goes: mainDiv (which is not an enyo control) -> App -> buf0 Jun 03 03:11:59 mainDiv takes the place of document.body in my app Jun 03 03:13:57 so when you renderInto you should make a global variable Jun 03 03:14:51 new App().renderInto(document.getElementById("mainDiv")); Jun 03 03:14:57 that's how I do it Jun 03 03:15:02 bind it to a variable Jun 03 03:15:17 app = new App() Jun 03 03:15:24 then you can access it anywhere Jun 03 03:15:30 app.$.whatever Jun 03 03:15:46 I'll try that Jun 03 03:20:17 sweet, working well Jun 03 03:20:37 well sorta Jun 03 03:21:11 to change if something is visible or not it's just .visible = true or .visible = false correct? Jun 03 03:21:20 .setShowing() Jun 03 03:21:33 or if you want to do your way Jun 03 03:21:38 .setShowing(false)? Jun 03 03:21:40 .applyStyle("visible", true) Jun 03 03:21:42 yes Jun 03 03:22:33 bingo Jun 03 03:22:59 I feel like such a beginner it's sickening Jun 03 03:23:44 phil_bw: everyone has to start somewhere :) Jun 03 03:23:56 been programming for 16 years, just never JS Jun 03 03:24:34 haha you've been programming almost longer than I've been alive haha Jun 03 03:25:19 I wrote my first lines of code on a 486SX (basically a 386) Jun 03 03:25:35 33mhz I think? Jun 03 03:25:44 wow, what a speed demon :P Jun 03 03:25:50 wrote a full blown RPG in QBasic Jun 03 03:25:59 I remember QBasic! Jun 03 03:26:11 that was my first programming language :) Jun 03 03:26:25 few years later me and another guy started adding graphics as well Jun 03 03:26:51 this dude would spend hours plotting out images by basically setting how many pixels right, how many pixels down, color change, etc Jun 03 03:27:05 that must have been alot of work... I remember *hating* graphics stuff in QBasic Jun 03 03:27:22 oh it was, I don't know how he did it Jun 03 03:27:31 he "drew" some detailed stuff Jun 03 03:28:19 haha wow, that's pretty awesome Jun 03 03:28:57 in one game we wanted the appearance of getting closer to an enemy, so he'd go through basically a page of pixel plots and manually double *every* length variable Jun 03 03:29:03 then halve them Jun 03 03:29:30 geez Jun 03 03:30:02 yeah Jun 03 03:30:15 always wonder what happened to that guy Jun 03 03:30:39 did you know him personally, or was it an online contact? Jun 03 03:30:52 went to school with him Jun 03 03:31:04 I think this was late middle school or early high school Jun 03 03:31:37 ah okay Jun 03 03:31:45 yeah I did QBasic in middle school Jun 03 03:32:04 then moved to VBA then VB.Net and then to C++ Jun 03 03:32:15 and C# somewhere in there Jun 03 03:32:17 I avoided everything C for years Jun 03 03:32:22 hahaha why? Jun 03 03:32:28 its fun :) Jun 03 03:32:29 I just had this aversion to it Jun 03 03:32:43 finally a few years back I decided I was going to write an OpenGL based game for my Pre Jun 03 03:32:49 so I dove in head first Jun 03 03:33:08 haha how did that go? Jun 03 03:33:12 made decent progress, it was a yahtzee game Jun 03 03:33:20 an very nice Jun 03 03:33:23 could roll the dice and select the ones you wanted to keep Jun 03 03:36:31 cool Jun 03 03:36:52 * invalidopcode hasn't been brave enough to attempt an OpenGL game yet Jun 03 03:37:22 well if you ever want a starting point for one let me know, I'll give you all my old code if you ever want Jun 03 03:37:49 hm... okay! I might take you up on that someday Jun 03 03:38:12 i'd like to try Jun 03 03:38:14 but Jun 03 03:38:15 not today Jun 03 03:38:24 fxspec06, you really need to have a lot of patience Jun 03 03:38:30 baha Jun 03 03:38:40 you're talking to mr patience Jun 03 03:38:58 * fxspec06 maybe not Jun 03 03:39:13 but yeah, that's where i'm headed. Jun 03 03:39:20 hahaha Jun 03 03:40:03 fxspec06: If you ever need any network programming done, that's stuff that I enjoy Jun 03 03:40:45 don't worry one day when i'm big and famous i'll have kept you all at arms length and you can all work for my big gaming company ;) Jun 03 03:41:02 at least that's how i envision everything =P Jun 03 03:41:41 hahahaha Jun 03 03:42:29 fxspec06, don't read anything into this but how old are you? Jun 03 03:42:46 he's about 10 :P Jun 03 03:42:53 haha Jun 03 03:42:59 and you're 12 right? Jun 03 03:43:12 i'm old enough Jun 03 03:43:14 ouch Jun 03 03:43:40 invalidopcode, I was just doing the math from our earlier conversation :) Jun 03 03:43:42 old enough to do anything just about anywhere, except be the president Jun 03 03:44:05 phil_bw: I am one year older than you have been programming :P Jun 03 03:44:23 ah Jun 03 03:44:47 I've been programming for 13 years Jun 03 03:44:52 so I calculated off the wrong variable Jun 03 03:45:05 er wait Jun 03 03:45:12 programming since *I was 13* Jun 03 03:45:18 which is 16 years Jun 03 03:45:24 quit confusing me I'm old Jun 03 03:45:25 haha ah okay Jun 03 03:45:31 hahaha :P Jun 03 03:45:51 i'm one year less than half as much as three times as long as you've been programming Jun 03 03:46:08 * invalidopcode has been program since he was 12 Jun 03 03:46:12 *programming Jun 03 03:46:33 i think we all have been. in different way / shape / forms Jun 03 03:46:38 fxspec06: 23? Jun 03 03:47:10 yessir Jun 03 03:47:23 quicker on the draw than me Jun 03 03:47:34 now brb, gotta put my kid to bed Jun 03 03:47:36 SAT prep classes paid off Jun 03 03:47:57 psh. those stupid classes. don't need no classes! Jun 03 03:49:10 hahaha it wasn't my choice... the school paid for them and made them mandatory (and held them during school hours) Jun 03 03:50:11 back Jun 03 03:50:32 I was going to say I also had aspirations of one day owning a big game development company when I was younger Jun 03 03:50:48 now I write gas station profit tracking software :) Jun 03 03:50:55 * fxspec06 got 670 / 580 / 530 / 4 no study Jun 03 03:50:57 which is kind of like a game Jun 03 03:51:22 haha could be worse... you could be writing stock market software... that's more of a game :P Jun 03 03:51:44 or I could be writing the software that helps determine the new gas prices Jun 03 03:52:02 replace the antiquated method of having a monkey throw darts Jun 03 03:53:53 hahahaha Jun 03 03:54:06 oh you think I'm joking Jun 03 03:54:19 That monkey makes millions Jun 03 03:54:41 somewhere in Texas there is actually a chimpanzie sitting at a desk with it's feet up and a pile of darts next to him. All of the major oil companies consult this monkey. Jun 03 03:55:25 Texas? I thought he was in the Middle East Jun 03 03:55:46 no, dart throwing chimps are generally US born Jun 03 03:56:20 good to know Jun 03 03:56:31 been in the industry a long time Jun 03 03:58:24 ugh... stupid CSS won't center this text Jun 03 03:58:56 * fxspec06 someone remind me why i hate css Jun 03 03:59:49 * phil_bw also hates css Jun 03 03:59:50 fxspec06: because its a pain Jun 03 04:00:19 * invalidopcode loathes css Jun 03 04:09:29 I'm just curious, what's the correct etiquette for publishing an app forked from another app? (as far as naming goes, etc) Jun 03 04:10:41 I guess I should contact the guy that wrote the original version of this intagram app, but all of his twitter and blog are in Chinese Jun 03 04:15:31 no idea buddy Jun 03 04:22:37 if it's open source, it doesn't matter Jun 03 04:25:43 its open source on his github, but there isn't any license Jun 03 04:25:53 does that default to public domain? Jun 03 04:26:52 not sure Jun 03 04:27:00 if there's no license, i'd say it's free for you to use Jun 03 04:27:08 unless specified elsewhere in the source Jun 03 04:27:15 nope... nothing Jun 03 04:27:28 its like he just uploaded his code without any of that Jun 03 04:27:39 so use it for what you want and send an email Jun 03 04:27:40 https://github.com/ioNull/instagrio Jun 03 04:27:49 if he never responds yo uhave nothing to worry about Jun 03 04:27:49 okay, I might do that Jun 03 04:27:57 okay cool :) Jun 03 04:28:51 hm... I need a good name for an instagram client for webos.... Jun 03 04:29:55 instaOS :P Jun 03 04:33:55 * phil_bw doesn't really even know what instagram is Jun 03 04:34:09 * phil_bw is a social media moron Jun 03 04:34:22 haha its okay... you're probably too old for it :P Jun 03 04:34:31 its a social network just for pictures Jun 03 04:34:35 facebook confuses me Jun 03 04:34:54 just figuring twitter out Jun 03 04:35:02 i gave up w/ facebook Jun 03 04:35:22 i have succombed to the fact that i have zero privacy, and just post news updates on there Jun 03 04:35:31 the last few posts I've made on facebook never showed up so I just quit posting there, stick to twitter pretty much anymore Jun 03 04:35:46 succumbed* Jun 03 04:37:20 I prefer facebook for more person friend-to-friend stuff and twitter keeping in touch with other devs Jun 03 04:37:35 that's about how I do stuff too Jun 03 04:38:05 yeah Jun 03 04:38:05 I follow a bunch of enyo devs, occasionally learn something Jun 03 04:38:35 haha and something you just get a bunch of sports updates Jun 03 04:38:39 * invalidopcode looks at fxspec06 Jun 03 04:38:48 *sometimes Jun 03 04:38:59 depends on the dev Jun 03 04:39:11 if you really want an adventure follow rrix Jun 03 04:39:19 what Jun 03 04:39:28 oh Jun 03 04:39:29 hahaha Jun 03 04:39:37 Don't follow me unless you want to be offended Jun 03 04:39:46 * phil_bw isn't easily offended Jun 03 04:40:05 hahahaha Jun 03 04:40:25 I do believe rrix owns the copyright to the "retweet" Jun 03 04:40:31 and you get rrix's daily "poopin" update Jun 03 04:40:42 unfortunately Jun 03 04:40:47 invalidopcode: my coworkers are vicious :( Jun 03 04:40:59 I enabled blueproximity again on my laptop cause of that shit Jun 03 04:41:05 hahaha Jun 03 04:41:24 why don't you just get in the habit of locking your computer? Jun 03 04:41:28 ok.. so.. using Enyo 2.0.. is there an example to make something that acts like the sliding panes in 1? Jun 03 04:41:52 speaking of following people, EricBlade you get more than 4 hours of sleep yet? Jun 03 04:41:55 EricBlade: yeah, check out layout/panels Jun 03 04:41:59 specifically, i'm looking for a two-pane 50% split .. Jun 03 04:42:08 there's a lot of nice examples in there Jun 03 04:42:11 rrix yeah i'm checking it out, but it makes my head hurt Jun 03 04:42:13 those + onyx.Toolbar Jun 03 04:42:17 awh Jun 03 04:42:35 phil_bw: thank you for asking .. i managed 9 hrs yesterday, broken up in two 4.5 hr chunks :| Jun 03 04:42:52 I gave up on all of the examples and community layout examples and built my own Jun 03 04:43:12 EricBlade, congrats and I'm sorry to hear that? Jun 03 04:43:18 * rrix used the Panels kind for Enyoslides without any issues at all ... :\ Jun 03 04:43:26 phil_bw: now that I followed you, I expect to see some inciteful universe-bending tweets once in a while :P Jun 03 04:44:05 invalidopcode, my last tweet regarded running into an Intel Medfield engineer at the park, due to the 160 char limit it wasn't exactly "universe-bleeding" Jun 03 04:44:35 apparently Intel powered smartphones are going to take everyone by storm this fall Jun 03 04:44:49 so basically, there's a ton of wp7 apps Jun 03 04:44:49 'blows everyone else out of the water" Jun 03 04:44:50 just like the webos phones were supposed to? :P Jun 03 04:45:04 says Android runs like a dream on Medfield Jun 03 04:45:06 well, ok, what i actually want, is a 50-50 split on tablet, without necessarily being able to slide it, but a single panel view on phones Jun 03 04:45:15 annnnnd i really really like WP7. Jun 03 04:45:33 EricBlade, have you thought of just trying to build your own layout setup? Jun 03 04:46:09 phil_bw: i'm reasonably certain that the panels can manage this for me, i'm just not sure .. how.. yet. Jun 03 04:47:04 EricBlade, I wanted a simple "load the new page on top of the old page then pop it back off when done" setup and rather than try to make something else work the way I wanted all while adding extra bloat I'd never use I just wrote about 80 lines of code that accomplish the same thing Jun 03 04:47:51 in fact I could probably add about 20 more lines to it and accomplish what you're trying to do Jun 03 04:49:16 I basically have a set of "buffers" that I use. Hide buffer 0 and load the new page into buffer 1 Jun 03 04:49:44 could easily have it instead load buffer 1 next to buffer 0 on a tablet Jun 03 04:54:06 i can't seem to make any of my own layout do anything i ever want it to in Enyo 2 Jun 03 04:56:48 What are you currently using to lay things out? Jun 03 04:59:09 * invalidopcode loves how in webos people can be asking "newbie" questions and then five minutes later they are helping people... its beautiful Jun 03 04:59:49 phil_bw: i can't seem to make anything work unless i position it with css Jun 03 04:59:52 Well I'm not exactly a new programmer Jun 03 05:00:13 yeah, i had to use a ton of css in Game On! Jun 03 05:00:21 * fxspec06 wonders how many enyo 2 apps inthe catalog Jun 03 05:00:29 i guess it'll work a lot better when i spell "arranger" properly Jun 03 05:00:33 i'll probably be one of the first Jun 03 05:00:39 first ten or so Jun 03 05:00:57 Yeah, as far as positioning is concerned you're stuck with css Jun 03 05:02:17 NO. :P Jun 03 05:02:19 EricBlade I guess I'm more curious what you're doing to load new pages, close them, etc. Jun 03 05:02:41 this is the first time i've sat down with Enyo 2 without storming off muttering "I DON'T GET IT" Jun 03 05:02:46 ...yet Jun 03 05:03:22 grrrrr. wp youtube app is WEBVIEW FOR M.YOUTUBE.COM Jun 03 05:03:25 * fxspec06 dislike Jun 03 05:03:41 Haha Jun 03 05:03:46 ok, so, i got the 50% split working.. now to figure out how to get it to collapse down to a single view Jun 03 05:04:02 oh, it's automatic! yay Jun 03 05:04:09 it's just like enyo 1 Jun 03 05:04:11 minus flex Jun 03 05:04:25 so it's not just like enyo 1. but it mostly is. Jun 03 05:04:42 it's just like enyo 1 .. except totally different. :P Jun 03 05:05:31 i truly despise the enyo creator's formatting and indentationating. Jun 03 05:05:31 yes! you get it! Jun 03 05:07:43 Ok I need to go to sleep. You guys have a good night. Jun 03 05:08:30 night phil_bw Jun 03 05:09:16 fxspec06: isn't there a native youtube app? like supertube or something iirc? Jun 03 05:11:57 great it works on touchpad Jun 03 05:13:05 except for the drop shadow Jun 03 05:13:31 the native youtube app from ms corp is a webview Jun 03 05:13:49 wow, the sliding action works on pre3 too Jun 03 05:13:56 even though the app throws an error at initialization Jun 03 05:17:07 interesting, the sliding action works no matter where you slide, not just from the edge Jun 03 05:18:29 do i dare buy carbon for wp7, too Jun 03 05:18:52 fxspec06: http://www.wpcentral.com/deal-alert-youtube-pro-dead-long-live-supertube-and-now-its-completely-free Jun 03 05:18:55 after they ditched my graphite the week after i bought it Jun 03 05:19:58 tyvm Jun 03 05:21:16 no problem Jun 03 05:22:09 hmm Jun 03 05:25:53 do panels inside panels work? Jun 03 05:26:14 panel inception Jun 03 05:26:30 hey fxspec06 do you know of any native youtube apps for the pre3? Jun 03 05:28:35 the CardSlideInArranger is confusing Jun 03 05:29:09 well Jun 03 05:29:13 i know of one for touchpad Jun 03 05:29:26 that i worked on and half to three quarters made Jun 03 05:29:42 LeftRightArranger doesn't seem to work Jun 03 05:29:43 but that doesn't help you for pre3, unless it works and is available on there Jun 03 05:29:56 well I could use one for the touchpad too haha Jun 03 05:30:09 what's the one for the touchpad? Jun 03 05:31:27 yview Jun 03 05:31:37 it's pretty sweet, actually :P Jun 03 05:32:53 hmmmm Jun 03 05:38:53 there is quite clearly a kind here called "TabPanels" which I want. but it says there's no constructor for it. Jun 03 05:51:23 wow the panels run quite nicely on the pre2 also Jun 03 06:07:29 ok now to figure out how to group things on a toolbar Jun 03 06:10:29 how can I tell if a kind exists before I create it? Jun 03 06:11:42 if your kind is named "pluto" Jun 03 06:11:49 enyo makes an object pluto() Jun 03 06:12:28 so if (pluto) { this.createComponent({kind: "pluto"}); } Jun 03 06:13:35 aha Jun 03 06:13:36 nice Jun 03 06:13:42 TIL Jun 03 06:24:59 www.hptouchpad.com that's got to be some kind of joke. Jun 03 06:26:34 a very long running one, it's been like that for a long time Jun 03 06:34:16 ok.. i have 9 icons i need on a toolbar. i need to have 3 on the left, 3 in the middle, and 3 on the right Jun 03 06:34:22 i can handle the left and right by floating them Jun 03 06:34:32 although i'd rather do it all in enyo, honestly Jun 03 06:34:53 but i can't figure out any way to center them.. setting margins doesn't work Jun 03 06:38:17 i float them Jun 03 06:38:27 to center, use text-align:center Jun 03 06:38:35 it works on elements Jun 03 06:41:02 didn't work Jun 03 06:41:51 hmm. i can get the left/right by using columns Jun 03 06:42:05 the center doesn't want to go to the center, though, it sticks to the left or the right Jun 03 06:42:49 use it on the parent Jun 03 06:43:50 use.. what Jun 03 06:43:56 like Jun 03 06:44:43 try style:"text-align:center;" on the kind itself instead of on the toolbar Jun 03 06:45:00 i think you have to go one level up Jun 03 06:45:08 *at least Jun 03 06:45:44 oh. hmm. interesting. Jun 03 07:04:11 ok... I'm out. Night folks Jun 03 07:08:42 fxspec06: hmm. lists work differently. dammit. Jun 03 07:10:50 is it possible to put more than one thing inside a list definition, without making a seperate kind for it? Jun 03 07:11:16 like i don't see how to access the things inside the list item from the setupRow function anymore Jun 03 07:11:41 i see that accessing the direct item is this.$[inSender.item], but i don't know how to access something inside that Jun 03 07:18:05 you don't even need to do that Jun 03 07:18:09 it's far simpler than that Jun 03 07:18:15 just this.$.name is all Jun 03 07:18:22 failed Jun 03 07:18:38 it also spewed a bunch of warnings telling me it was an error to make duplicate named things Jun 03 07:18:46 i made a seperate kind all good now Jun 03 07:18:48 inSender should refer to the first item in the row, too Jun 03 07:18:54 heh Jun 03 07:19:11 except that i'm getting it called with no row index set the first call, and then the 0 index on the second call Jun 03 07:19:45 that's odd Jun 03 07:20:18 are you sure you're not calling it from somewhere else then Jun 03 07:20:52 woah! i made an icon that looks pretty freaking sweet first try! NO WAY Jun 03 07:20:56 positive Jun 03 07:20:57 * fxspec06 is in disbelief Jun 03 07:21:06 i'm setting up a list of 500, and i'm getting 501 calls Jun 03 07:21:35 and how are you calling it Jun 03 07:21:41 setRows(); render(); ? Jun 03 07:21:46 oops, 500 calls .. but the first one is no index, and the second one is index 0 Jun 03 07:22:07 i just have count: 500 in the list def Jun 03 07:23:15 hm count. i use rows, i wonder what the difference is Jun 03 07:24:00 you're using an older Enyo 2 Jun 03 07:24:13 2.04b Jun 03 07:24:31 2.4b* Jun 03 07:25:02 i think it changed from rows to count when they decided lists shouldn't be vertical only Jun 03 07:25:24 interesting Jun 03 07:26:26 anyways, where's the event coming from ? the first should be diff than the others Jun 03 07:26:51 try not setting a count and then setting it in create or something Jun 03 07:27:18 http://i.imgur.com/bA2na.png <, the start of my gfx artists carreer (/s) Jun 03 07:27:49 we have bugs!!! lol Jun 03 07:27:56 now i'm getting #149 in the first spot Jun 03 07:28:06 oh no Jun 03 07:28:15 we have tons of bugs Jun 03 07:28:23 too many for me to go on the forums and post Jun 03 07:28:41 i start with #(blank) in the first spot Jun 03 07:28:50 it was actually kind of ridiculous to manage. i'm not entirely sure how i've made this secure Jun 03 07:28:50 then i scroll down a while, and when i come back to the top, i've got #149 in the first spot Jun 03 07:29:29 interesting note is when you change a style on a row, it changes for all rows the next time you render Jun 03 07:29:38 every time i click on a row it re-renders Jun 03 07:29:53 so to be unique for each row you need a if this do x else do not x Jun 03 07:29:53 which explains where this problem may come from Jun 03 07:30:30 yeah, it re-renders the rows too on click no matter what Jun 03 07:30:38 even if you don't have a handler or change anything Jun 03 07:31:01 it can set off a nasty chain of events with other rows too if you're not careful Jun 03 07:31:15 but it's re-rendering them with incorrect row #s Jun 03 07:31:45 dammit! and i thought i was about to make enough progress to bring in the XO code Jun 03 07:32:48 the current List is def touchy Jun 03 07:32:55 it's.. unusable Jun 03 07:33:12 it's not 'un' usable.. it's very close though Jun 03 07:33:26 you could def say it's unusable =P Jun 03 07:33:26 well you can't very well use it if every time you touch it your data changes Jun 03 07:35:17 let's see if this stupidness happens on device Jun 03 07:35:50 my list item loads are the longest functions in my two main kinds Jun 03 07:36:07 right behind them being the tap handlers Jun 03 07:36:48 it's hard to manage the list items directly Jun 03 07:37:19 one time inSender straight from the load didn't even refer to the list o.O Jun 03 07:37:33 hmm. scrolling performance on touchpad is .. quite jerky. Jun 03 07:37:56 probably didn't design it to shoot around 1000 items with images and columns and text labels and stuff Jun 03 07:38:00 have you tried making rowsPerPage lower Jun 03 07:38:06 or countPerPage Jun 03 07:38:18 aside from the hitches, though, the performance is insane Jun 03 07:40:13 now, that's pretty cool Jun 03 07:40:30 i can set a list scrolling like crazy, then slide another panel halfway over it, and it still keeps scrolling Jun 03 07:40:34 yeah. 1000s of stuff in a list .. not bad Jun 03 07:40:56 you can even manually have it keep scrolling Jun 03 07:40:58 infinitely Jun 03 07:41:35 with all the bubble and waterfalls, and the scroll to's Jun 03 07:42:02 you could do a flick and then have it keep going til you stop it =P Jun 03 07:43:09 it's kinda sick, that it actually runs better on touchpad than on chrome o.O Jun 03 07:44:00 performance in opera is a little laggy but.. Jun 03 07:44:16 http://ericbla.de/xo2/debug.html Jun 03 07:45:06 oh? did they get the touch scroll strategy working in the browser Jun 03 07:45:15 and this is what i love about enyo, though. 3 hours mostly spent beating on getting a couple of controls to render something resembling correctly, and the basic layout is up Jun 03 07:45:19 running great in FF Jun 03 07:45:52 runs great on chrome, too Jun 03 07:46:11 yeah. enyo allows you to make layouts real fast Jun 03 07:46:11 opera might be laggy because it's on my 1920 vertical display, so it's displaying about 40 rows on each one Jun 03 07:46:27 that could b possibility Jun 03 07:46:42 and i stay on the alpha builds of opera Jun 03 07:47:48 we need a enyo theme http://sgrebnov.github.com/jqmobile-metro-theme/samples/jqm-public-demo/pages/list.html Jun 03 07:48:34 hm. when i switched monitors on opera, the entire left list disappeared Jun 03 07:49:19 it could be it was animating and it glitched Jun 03 07:49:44 yea something weird happened Jun 03 07:51:27 i wonder how easy it is to change the amount of force momentum applies. i'd really like this to -speed- Jun 03 07:51:44 if i swipe bottom to top on the screen it should GO Jun 03 07:52:32 scrollMath? Jun 03 07:53:11 i remember looking at that a long time ago, sugardave and rwatkins were talking about it Jun 03 07:53:25 man i'm tired. i think i'm gonna go sleep Jun 03 07:53:36 kFlickScalar: 15, Jun 03 07:53:43 Scalar applied to 'flick' event velocity Jun 03 07:56:39 the flick speed is terrible in cm7 Jun 03 07:57:11 scroll speed is bad, although surprisingly good for cm7 Jun 03 07:57:58 you needa use a diff scroll strategy for android i think Jun 03 07:58:09 * fxspec06 good night Jun 03 07:58:39 i really should've got a green case or something for my ipad so i could actually locate it amongst all the other black things Jun 03 08:00:35 hardly hitches at all, and looks way better on ipad Jun 03 08:01:13 i can get both scrollers and the panels moving and hardly even notice that it's being loaded Jun 03 17:24:34 hmm. we have no dividers and no drawer type things yet :| Jun 03 17:27:23 EricBlade: build it! make us happy and build it! Jun 03 17:28:07 EricBlade: could you, perhaps, build it as a style on top of that folder-like thing? Jun 03 17:29:04 "tree" Jun 03 17:40:32 * fxspec06 *click Jun 03 17:40:43 if i put a tapHandler in a kind, isn't that supposed to be called when it gets tapped/clicked? Jun 03 17:42:08 oh i have to add it to a list Jun 03 17:42:56 nope that doesn't work either Jun 03 17:48:12 blah Jun 03 17:51:19 hmm. i'm not getting tap events on anything anywhere Jun 03 17:52:23 EricBlade: do you get tap events on buttons? Jun 03 17:52:32 i don't have any buttons Jun 03 17:52:35 EricBlade: you might need to bind the other ones yourself. Jun 03 17:52:39 but _try_ it Jun 03 17:54:24 nada Jun 03 17:54:28 odd Jun 03 17:54:44 EricBlade: check #webos for a second and answer, if possible, need to send mail :) Jun 03 17:55:08 EricBlade: could you paste the code somewhere? perhaps i see something off in it. Jun 03 17:56:13 http://pastebin.ca/2157820 Jun 03 18:07:00 if i go alll the way back out to the main kind, i get tap events Jun 03 18:07:51 EricBlade: try adding an alert("foo"); instead of a log Jun 03 18:08:26 (and is it bubbleUp, not bubble? Jun 03 18:09:06 hmm. Jun 03 18:09:10 it was, in fact, the logging. wth Jun 03 18:09:56 LoL Jun 03 18:10:08 also, you don't need to specify handlers when you use the default naming? Jun 03 18:10:17 for homeItemTap, that is Jun 03 18:10:32 what's up Jun 03 18:10:47 that was a congolmeration of everything i'd tried. this.log("blah") works. enyo.log() does not Jun 03 18:10:57 odd Jun 03 18:11:45 ok, now how to catch the bubbled events.. Jun 03 18:12:37 EricBlade: are you sure it's bubbleUp, not bubble? Jun 03 18:13:14 and you need to specify handlers, iirc. something like: handlers : { onHomeItem : "homeItemTap" } in HomeView Jun 03 18:15:12 well i haven't figured out bubbling, so i'll just abuse Signals exactly like they warn not to in the Signals docs Jun 03 18:15:22 also, it looks to me like we'd need something more generic than only defaultkind. more something like { kind : "Group" , defaults : { kind : "HomeItem" , ontap : "HomeItemTap"} , components : [ { content : "whatever" } , { content : "it" } , { content : "is } ] } Jun 03 18:15:22 i use a bubble in one of mine Jun 03 18:15:29 bubble goes UP.. bubbleup goes DOWN Jun 03 18:15:35 the tree Jun 03 18:16:20 * madnificent no understand (but is probably just not understanding what the structure of your application is and is thus refusing to understand it) Jun 03 18:16:21 that's bad. i should say, bubble goes outwards, and bubbleup goes deeper Jun 03 18:16:50 let me double check Jun 03 18:17:23 * madnificent thought it was bubble and waterfall Jun 03 18:17:28 yeah. bubble moves towards parents, bubbleup moves towards the children Jun 03 18:17:35 then there's waterfall and waterfallup Jun 03 18:17:47 but no exp there Jun 03 18:23:19 wait... that doesn't make _any_ sense to me Jun 03 18:23:36 if bubble moves up in the tree, and bubbleup moves down in the tree, what does waterfall do? Jun 03 18:23:37 i don't see any results from any of them. i'll use signals for now Jun 03 18:23:56 i think one of them includes this in the targets hit Jun 03 18:24:41 bubble just fires the respective event handlers Jun 03 18:25:42 so like if you have an event onFire1: "" and you have a kind { ontap: "doFire1" } Jun 03 18:25:59 you can bubble it kind.bubbleUp("ontap") Jun 03 18:26:10 and it'll call the onFire1 Jun 03 18:27:59 I'm still not seeing what the difference is Jun 03 18:37:41 bubble* i meant Jun 03 18:37:54 bubble goes in one direction, bubbleUp goes in the other. in the enyo heirarchy Jun 03 18:38:27 { name: "one", components: [ { name: "two", components: [ { name: "three" } ]} ]} Jun 03 18:38:47 if you bubble "two" it'll trigger "one" 's event Jun 03 18:38:58 if you bubbleUp "two" it'll trigger "three" 's event Jun 03 18:39:09 so how does that differ from waterfall Jun 03 18:39:22 * fxspec06 no se Jun 03 18:39:29 see, that's stupid Jun 03 18:39:46 i haven't looked at waterfall yet Jun 03 18:40:04 fxspec06: and if one has two components it'll bubble to both? Jun 03 18:40:38 where is waterfall defined Jun 03 18:40:45 in the docs is itanywerhe Jun 03 18:41:02 * madnificent saw it mentioned somewhere in a tutorial or so Jun 03 18:41:15 from what i understand from what sugardave told me it'll bubble until it's returned true Jun 03 18:41:29 it's mentioned in the github wiki for event handling Jun 03 18:41:30 doesn't bubble do that as well? Jun 03 18:41:56 http://enyojs.com/docs/events.html Jun 03 18:42:20 woah never seen that page Jun 03 18:42:29 perhaps waterfall has been renamed (not cool, waterfall is easy to understand) Jun 03 18:42:47 no, it's still there Jun 03 18:42:53 i see it when i log controls Jun 03 18:42:56 \o/ Jun 03 18:43:02 i really like that name Jun 03 18:43:21 so from this i see Jun 03 18:43:27 bubbleUp is literally waterfall Jun 03 18:43:29 enyojs.com/api/ doesn't show it... Jun 03 18:43:44 and waterfallUp is literally bubble Jun 03 18:43:50 enyojs.com/api is out of date Jun 03 18:43:55 yes, you see bubble in component Jun 03 18:43:58 yeah, so we should use the name waterfall, so they don't deprecate that. is waterfallUp existant as well? Jun 03 18:44:05 http://enyojs.com/api/#enyo.Component::bubbleUp Jun 03 18:44:18 yep, waterfallUp exists IIRC Jun 03 18:44:20 fxspec06: so, it sounds like someone, somewhere, doesn't understand that redundancy is stupid Jun 03 18:44:32 heh Jun 03 18:45:21 summatusmentis: it is in this case, but it can be of vital importance :) Jun 03 18:45:50 there's waterfall and waterfalldown Jun 03 18:45:50 madnificent: that's why someone stole your username Jun 03 18:45:57 waterfall is used to send messages Jun 03 18:46:21 it... bubble can be too? Jun 03 18:46:36 summatusmentis: i don't get it, why? Jun 03 18:46:52 because redundancy is vitally important Jun 03 18:47:00 nevermind, bad joke Jun 03 18:47:49 they exhibit similar behavior because their functions are written in the same way Jun 03 18:48:18 bubble accepts an eventname as first param and waterfall accepts a message Jun 03 18:48:20 oh! my god i'm slow! fuck this! one symbol isn't supposed to mean 1 thing summatusmentis, redundancy is the other way around! :P dammit Jun 03 18:48:31 waterfall calls dispatchevent with the message as first param Jun 03 18:48:35 * madnificent goes for a walk, is clearly not having a clear mind and /must work/ Jun 03 18:48:47 bubble calls dispatchbubble w/ the event name as first param.. but all dispatch bubble does is call dispatchevent Jun 03 18:49:38 bubble CREATES inEvent if it doesn't exist... waterfall leaves the other params alone Jun 03 18:50:19 but this: this.waterfall(inEventName <, inEvent, inSender>) <<< is clearly outdated, it totally doesn't reflect what is in the source Jun 03 18:50:20 so, wait, bubble is just a wrapper for what waterfall does Jun 03 18:50:37 they both call dispatchEvent Jun 03 18:50:52 bubble has one more step inbetween Jun 03 18:51:07 but they both do similar things Jun 03 18:51:15 ugh Jun 03 18:52:16 https://github.com/enyojs/enyo/blob/master/source/kernel/Component.js Jun 03 18:52:38 from like 414 to 542 Jun 03 18:53:15 well, i have mostly recreated the XO interface in enyo 2 now .. at least a reasonable facsimile thereof, with some changes reflecting things that i've wanted to do with it .. http://ericbla.de/xo2/debug.html Jun 03 18:53:49 I should start using the bootplate thing Jun 03 18:54:07 I'm still not entirely sure what the goal is, but it's "phonegap" as far as I can tell Jun 03 18:54:49 bootplate basically gives you a copy of enyo, the common libraries, and a somewhat standardized method for putting it into distribution form Jun 03 18:55:13 "the common libraries"? Jun 03 18:56:02 layout, onyx Jun 03 18:56:27 feedback, or "wow that's great" or "dude that sucks" appreciated on the link above Jun 03 18:57:04 it's def not complete, and none of the bottom buttons do anything yet Jun 03 18:57:50 * fxspec06 stomach growls Jun 03 18:58:00 i was just thinking it's lunchtime Jun 03 19:05:38 hmm. damn, i forgot to include a method to get to the actual playlist when not split screen Jun 03 19:07:25 fxspec06: wait, if waterfall takes a message as it's parameter, how does it know where the message goes? Jun 03 19:07:33 doesn't it still need an event name? Jun 03 19:08:20 fxspec06: not sure why bubble calls bubbleUp Jun 03 19:08:44 what is the proper way to receive a bubble or waterfall ? Jun 03 19:09:27 by using handlers : { onFoo : "handleFoo" } i think Jun 03 19:09:48 o.O Jun 03 19:11:02 if it were lisp i'd be giving you a nice and sexy macro, but it isn't :/ though i do think that a syntax which is transformed to enyo may get rid of these little annoyances :) Jun 03 19:11:36 not entirely certain if it can happen /within/ enyo. with the right mop, it could probably be done. Jun 03 19:17:06 well, i've never seen this error message from JS before... "Error". Jun 03 19:32:49 i wonder if i'm making a brilliant or a retarded use of panels Jun 03 19:34:06 ok fxspec06 the answer on my list problem is, don't use fittablecolumns with list or flyweightrepeater Jun 03 19:35:01 interesting. Jun 03 19:42:27 well, Ben said that was the answer. still not working Jun 03 19:44:36 what part isn't working Jun 03 19:45:17 the extra row? Jun 03 20:34:23 the rows all appearing in the wrong places and stuff Jun 03 23:39:33 fxspec06: apparently i have to use a repeater to do this, Lists just aren't good enough Jun 03 23:39:38 and repeaters are terrible for it. Jun 04 00:10:38 So.. I'll need to figure out a way to get lists or repeaters or whatever as complex as we had them in Enyo 1 without breaking Jun 04 00:14:00 eblade-synergy: what are you trying to do? Jun 04 00:14:45 Tibfib: http://ericbla.de/xo2/ Jun 04 00:17:30 what's wrong? Jun 04 00:18:54 The lists are all screwed up. It starts at an item with no number, and if you scroll or click around it, the items randomly change Jun 04 00:19:20 eblade-synergy: ^ Jun 04 00:19:45 ^? Jun 04 00:21:54 eblade-synergy: well, you have the items randomly setup…. They get reset/rerendered every time you click on them Jun 04 00:22:39 The item numbers shouldn't be random Jun 04 00:23:04 And why should it rerender on click? Jun 04 00:23:40 Well.. Hmm. I have no idea where my USB or DVD accessories are Jun 04 00:23:46 Oops wrong channel Jun 04 00:25:33 the "Changed" functions work differently than what you'd expect Jun 04 00:25:53 Changed passes the OLD value Jun 04 00:25:53 you need to use this.getAlbumInfo() Jun 04 00:25:54 or whatever it is Jun 04 00:29:03 Hmm.  This I can get behind Jun 04 00:29:53 ... And that fixes it.  That was way simpler :) Jun 04 00:30:02 Thanks for the look tibfib Jun 04 00:33:25 Tibfib if you look at that now,I've updated it Jun 04 00:35:43 Ok so that is an Enyo 2 slightly revamped version of my Enyo 1 interface Jun 04 00:37:27 And performance wise other than drag scrolling not working on pre2 and pre3 it totally smokes the Enyo 1 ver Jun 04 00:39:21 I bet it'd really smoke if I were actually using correctly sized images Jun 04 00:46:40 Tibfib: had some network instability not sure if you saw my thanks. So, thank you, again. Jun 04 01:05:48 EricBlade: No worries! glad to help Jun 04 01:06:24 I still haven't tested my enyo2 app cross plat Jun 04 01:06:28 it feels like i'm doing really wrong things with Panels, but it's taking them oh so well Jun 04 01:06:30 I need to check out the performance Jun 04 01:07:03 I gave mine a quick check in the browser last night, on everything but the Pres, where I had to load it. . . i was .. impressed Jun 04 01:07:10 EricBlade: just a tip although you'll probably do this anyway: you should move the now playing button to be separate from the tab bar Jun 04 01:07:33 I hope it is competitive to native apps on android and iOS Jun 04 01:07:38 yeah for the moment, i'm just cloning the prior version's interface, except i moved a couple of bits to places where i knew they were going Jun 04 01:08:12 actually i'm going to check xo2 on my itouch right now, since i couldn't last night Jun 04 01:08:37 stupid thing keeps coming up "Unable to connect to wireless network" .. grr. must be time to reset the router Jun 04 01:10:53 lemme know how the performance is Jun 04 01:11:54 on iTouch it -flies- Jun 04 01:12:03 but there's only enough screen space to render 3 items at a time Jun 04 01:14:26 smokin fast on ipad 2 also.. minor hitches though Jun 04 01:14:56 awesome awesome Jun 04 01:15:45 I need to get to the testing stage Jun 04 01:20:23 ergh, all the cool js stuff are jquery plugins Jun 04 01:58:30 hmm. people on HTC Amaze and HTC One seem to rather like GVoice. Those are top of the line phones, aren't they? Jun 04 02:05:53 * fxspec06 hijack http://www.youtube.com/watch?v=7n7ulLGae1M Jun 04 02:06:18 seconds 3 - 10 Jun 04 02:23:40 ok, so .. i need to figure out, in enyo 2, how to make an async.. that will either call a PalmService or do a XHR Jun 04 02:29:08 * phil_bw wanders by Jun 04 02:31:46 so who's around? Jun 04 02:37:56 i'm here, metaphorically Jun 04 02:38:04 not literally Jun 04 02:38:04 hm... Jun 04 02:38:08 you're useful enough Jun 04 02:38:19 might be able to metaphorically answer a question :P Jun 04 02:38:43 143 enyo.log(this.i_complete); Jun 04 02:38:43 144 enyo.log(Boolean(this.i_complete)); Jun 04 02:39:06 the output of that is 0, true, 1, true, 0, true, 0, true, 1, true Jun 04 02:39:12 I can't figure out why... Jun 04 02:40:25 (it's inside a loop) Jun 04 02:45:03 sounds like it's evaluating if it exists or not Jun 04 02:46:12 oh I think I just figured it out Jun 04 02:46:18 it's a string 0 Jun 04 02:46:20 not a 0 Jun 04 02:48:16 there you go Jun 04 02:49:31 add "parseInt" to it and it works right Jun 04 02:52:20 yes Jun 04 02:53:22 woohoo, now Taskwire shows tasks that are both checked and not checked **** ENDING LOGGING AT Mon Jun 04 02:59:58 2012