**** BEGIN LOGGING AT Sun Jul 29 02:59:59 2012 Jul 29 05:45:58 * phil_bw wanders by Jul 29 05:46:13 anyone awake still? I've got an actual enyo question Jul 29 05:54:44 evenin' kesne Jul 29 05:54:52 Howdy. Jul 29 05:55:16 I just noticed the or.comcast.net when you joined Jul 29 05:55:20 what part of Oregon are you in? Jul 29 05:57:20 Portland Jul 29 05:57:32 Well, technically a suburb of portland, but close enough. Jul 29 05:57:43 well I live in Woodburn, so I probably know where Jul 29 05:58:09 Oh wow, that's cool. I live in Tigard. Jul 29 05:58:14 NEIGHBORS Jul 29 05:58:16 nice Jul 29 05:58:26 shut it rrix, I used to live in Tempe and flew that dump Jul 29 05:58:27 :P Jul 29 05:58:31 (jk) Jul 29 05:58:44 In a few weeks though I'm out of here. Jul 29 05:58:53 ah Jul 29 05:59:07 well crazy to see another Enyo dev from this area Jul 29 05:59:21 phil_bw: Pfft. :P Jul 29 05:59:26 was actually just over in Tigard the other day after going to OSCon and meeting the Enyo team Jul 29 05:59:47 Yeah, it's pretty crazy. Jul 29 05:59:52 You should have said hello! Jul 29 06:00:06 I would have gone to OSCon, but I was on vacation. Jul 29 06:00:11 ah Jul 29 06:00:24 That would have been strange seeing you there and not even knowing it. Jul 29 06:00:30 My life would be drastically different. Jul 29 06:00:32 sugar_dave gave me an Enyo tshirt, last one actually. So was well worth the trek up to Portland that day Jul 29 06:00:51 I got an enyo shirt mailed to me for being awesome… Jul 29 06:01:06 * rrix got one from a coworker who went to txjs Jul 29 06:01:20 clearly you guys have been in the Enyo loop a bit longer than me Jul 29 06:01:39 I've just been in the webOS loop for forever. Jul 29 06:01:44 I went from Mojo to OpenGL in C++ (yeah wtf right?) to Enyo 2 Jul 29 06:02:00 I've been hovering in and out since 2009 Jul 29 06:02:01 Way back to Mojo, I had one of the first paid apps in the catalog. Jul 29 06:02:09 I could never mojo though :( Jul 29 06:02:12 rrix: I didn't ask you. Jul 29 06:02:16 rrix: Just kidding Jul 29 06:02:18 <3 Jul 29 06:02:20 * rrix hugs kesne Jul 29 06:02:22 just kidding Jul 29 06:02:24 * rrix runs Jul 29 06:02:27 Mojo is pretty lame. Jul 29 06:02:28 :) Jul 29 06:02:30 I never liked it. Jul 29 06:02:39 Mojo was difficult for me, I came from writing PalmOS apps before that so it was a bit of a change Jul 29 06:02:39 Yeah, it was awkward Jul 29 06:02:54 The UI is meh and the controls are equally Meh. It's equivalent to jQuery Mobile, I'd say, only harder to use. Jul 29 06:02:58 I always forget phil_bw is one of the old PalmOS guard Jul 29 06:03:08 Like, I wish the widgets would auto initialize and such. Jul 29 06:03:11 rrix, started with a Treo 270 :P Jul 29 06:03:25 You're dating yourself, my friend :P Jul 29 06:03:28 Haha, PalmOS. Jul 29 06:03:36 kesne, I made the unfortunate mistake of writing a mobile app in jQuery Mobile, i'd say that statement is pretty acurate Jul 29 06:03:53 rrix, not only that but I wrote the most powerful IRC client for said platform Jul 29 06:03:54 It's not too bad, it's just so… I don't know. Jul 29 06:03:58 spent years in development Jul 29 06:04:06 phil_bw: Which one did you work on again? upIRC? Jul 29 06:04:14 charged $12 per license (which was cheap apparently) and people bought it Jul 29 06:04:18 ptpChat Jul 29 06:04:24 Ah, right Jul 29 06:04:27 upIRC was the veteran Jul 29 06:04:36 ptpChat had all the bells and whistles Jul 29 06:04:47 fact that it ran in the background and upirc didn't gave it the edge Jul 29 06:04:51 It was either up or ptp with an 8 character limit for nicknames and forced me to use something that didn't match my handle at the time, hence switching to realname Jul 29 06:05:02 Psh, who even uses IRC anymore. Jul 29 06:05:11 kesne: losers, that's who :P Jul 29 06:05:21 rrix, did you use PalmOS for long? Jul 29 06:05:23 Well shoot, what does that say about me? Jul 29 06:05:30 phil_bw: OS4 or so Jul 29 06:05:36 I had an SJ22 first Jul 29 06:05:41 then jumped to a z22 and then a T|X Jul 29 06:05:46 I still use the T|X from time to time Jul 29 06:06:01 rrix, ever use a handy little app called "PhoneSwitch" on any your PalmOS smartphone varients? Jul 29 06:06:17 well if you had a palmos smartphone that is Jul 29 06:06:39 phil_bw: I never used a treo or anything, no Jul 29 06:06:46 oh Jul 29 06:06:48 I was a PDA guy :P Jul 29 06:06:55 This conversation is making me feel young. Jul 29 06:07:05 I wrote a little app that when you ended a phone call took you back to the app you were using not the phone app Jul 29 06:07:15 wrote it in about a month Jul 29 06:07:25 and it was wildly more successful than the irc client I spent years writing Jul 29 06:07:26 go figure Jul 29 06:08:14 which ironically no platform since PalmOS has been able to replicate that functionality (my Pre or Nexus) Jul 29 06:09:11 phil_bw: What nexus device? Jul 29 06:09:30 Nexus S 4G (not a fancy new GNex) Jul 29 06:09:34 Ah Jul 29 06:09:39 I just got a few Nexus 7's. Jul 29 06:09:48 few eh? Jul 29 06:10:11 well if you need to lighten your luggage when you leave lemme know :P Jul 29 06:10:26 I work on contract, and managed to put in a bit that basically says "if I need devices to test your application on, you'll buy them for me" Jul 29 06:10:34 So I was like, "okay, I'll take three". Jul 29 06:10:41 haha Jul 29 06:10:51 that works nicely Jul 29 06:10:58 That it does. Jul 29 06:11:20 so where are you moving to if you don't mind me asking? Jul 29 06:11:37 Illinois, for college. Jul 29 06:11:43 I'll be back here on holidays, though. Jul 29 06:11:49 ah nice Jul 29 06:12:09 Yeah, these are exciting times. Jul 29 06:12:31 maybe one of these days we can join forces and try to get a webOS/Enyo meetup of sorts going over here Jul 29 06:12:40 I tried a few years back. Jul 29 06:13:07 not so successful? Jul 29 06:13:09 I'm open to the idea, I need people to show off my new computer to anyway. Jul 29 06:13:27 It was a PreDevCamp, and it was pretty last-minute. Jul 29 06:13:38 And I was like 14, and putting it all together. Jul 29 06:13:38 ah Jul 29 06:13:43 So I was in over my head. Jul 29 06:14:22 gotcha Jul 29 06:14:46 man I really need to go to bed but could I trouble you for yet a little bit more help before I run? Jul 29 06:14:58 Wait, kesne is just going to college? Jul 29 06:14:58 sure thing. Jul 29 06:15:04 rrix: Yep! Jul 29 06:15:12 Shit, I feel like I got a late start on things Jul 29 06:15:19 I was the OG kid developer on webOS. Jul 29 06:15:25 :) Jul 29 06:15:26 * phil_bw throws rrix his cane Jul 29 06:15:30 Then Connor and those other idiots came around... Jul 29 06:15:35 * rrix hobbles towards kr Jul 29 06:15:36 s/idiots/nice guys Jul 29 06:15:38 towards kesne Jul 29 06:15:47 ok, this should be an easy one for the likes of you Jul 29 06:16:15 so if I render controls uses createComponents (such as the example you helped me with yesterday) what do I need to do to then be able to access said controls? Jul 29 06:16:38 Uhm. Jul 29 06:16:39 they're added to this.$ like any others Jul 29 06:16:49 So give them a name and use them Jul 29 06:16:55 WEll Jul 29 06:16:58 I populate the select box and if I handle the onchange event I can access it's options just fine (since it's clearly all the way rendered) but if I try to access it while still in the create handler it's not there Jul 29 06:17:09 I think I set the owner to this.container so that you can use the name references in the owner kind. Jul 29 06:17:22 this.$.client.getControls(); Jul 29 06:17:36 That should return references to the controls it has. Jul 29 06:18:17 In Array form, I might add. Jul 29 06:18:34 ah Jul 29 06:18:47 I was going through the hasNode() route to grab what I needed Jul 29 06:18:54 If that doesn't work, try getClientControls. Jul 29 06:19:08 You can do that if you want, this is just the more enyo-style way to do it. Jul 29 06:19:22 well it doesn't work in create with hasNode Jul 29 06:19:33 It would work in rendered though. Jul 29 06:19:38 I don't know, try getControls. Jul 29 06:19:50 tried it in rendered Jul 29 06:19:54 didn't work there either Jul 29 06:19:58 getControls should work Jul 29 06:20:13 since their index should be the same as the select box Jul 29 06:20:17 Well good. If you want to ignore chrome controls, you can use getClientControls. Jul 29 06:20:23 And yes, that's true, so that should work. Jul 29 06:20:38 Let me know if it does. Jul 29 06:21:17 this: enyo.log(this.$.ctrlSelect.getControls()[0].content); Jul 29 06:21:19 equals Jul 29 06:21:30 enyo.log(this.$.ctrlSelect.hasNode().options[0].text); Jul 29 06:21:37 sorta Jul 29 06:21:46 use getContent. Jul 29 06:21:47 for what I'm doing it does, so that's all that matters :P Jul 29 06:21:52 Always use getters and setters. Jul 29 06:22:28 I'm still a rookie with this enyo stuff :/ Jul 29 06:22:44 Haha, it's quite alright. Jul 29 06:23:05 In this case, using the get function doesn't make a difference. Jul 29 06:23:39 But if the kind overwrites the default functionality (common in setters, to bubble events), then you miss out on that by directly setting properties. Jul 29 06:24:20 makes sense Jul 29 06:24:57 Well good, it's just good practice. Jul 29 06:27:57 aha, got it working right Jul 29 06:28:02 Awesome! :) Jul 29 06:28:07 I hope I helped! Jul 29 06:28:12 indeed you did Jul 29 06:28:15 Bueno. Jul 29 06:28:32 I think I'm tapping out for the night, I have to actually do things tomorrow, heh. Jul 29 06:28:48 me too Jul 29 06:28:52 gotta run to Sherwood Jul 29 06:29:17 I love Sherwood. Jul 29 06:29:22 Well, I love their ice arena. Jul 29 06:29:25 Take care. Jul 29 06:29:28 as do I (lived in newberg for many years) Jul 29 06:29:30 later man Jul 29 06:29:55 'night to you too rrix... Jul 29 06:29:58 * phil_bw wanders off Jul 29 06:35:27 oops, bye Jul 29 17:50:55 http://i.imgur.com/EV3fd.jpg Jul 29 17:59:13 So true... Jul 29 18:00:17 Wow, I just took the time to figure out how the inherited function works. Jul 29 18:00:20 Interesting. Jul 29 18:07:51 o.O Jul 29 18:08:28 EricBlade: lmao Jul 29 18:10:17 that's function took me a minute to understand. it's quite the function Jul 29 18:15:18 It's quite interesting. Jul 29 18:15:24 I need to fix my computer's power settings. Jul 29 18:16:02 What's really crazy is when you chain create methods. Jul 29 18:16:12 Because each create is calling the other creates inherited. Jul 29 18:16:21 It's crazy, man. Jul 29 19:49:18 hrm. interesting.. Jul 29 19:49:35 i would assume that causes like, an infinite loop or something Jul 29 19:50:05 pretty sure i've done that using fittablerows in a layoutkind slot =P Jul 29 20:25:57 I wish there was a single app mode for webOS. Jul 29 21:10:31 single app mode ? Jul 29 21:13:18 One app running Jul 29 21:13:22 Can't close out of it Jul 29 21:13:24 Like a kiosk Jul 30 01:03:01 sounds like kesne has something to work on for openWebOS :P Jul 30 01:03:21 * rrix would actually really like that himself the way he uses some old webOS devices in his hackerspace as a door lock ssytem **** ENDING LOGGING AT Mon Jul 30 02:59:58 2012