**** BEGIN LOGGING AT Sun Jan 06 02:59:59 2013 Jan 06 16:51:33 could anyone please PM me to let me know how to switch to enyo 2? Jan 06 17:28:00 I spend too much time with a blank screen on Enyo2...needs a debugger because blank screen is "unhelpful" Jan 06 17:35:25 (BTW..this is using debug.html) Jan 06 17:43:32 maybe you should make a regex enyo checker Jan 06 17:43:46 that might work Jan 06 17:44:22 ya Jan 06 18:39:09 Hello. Jan 06 18:39:39 Can anyone tell me where to find 'pre-compiled' enyo packages? Jan 06 18:39:56 I've tried the bootplate but can't seem to make either onyx or layout. Jan 06 18:49:49 baboo: what do you mean "switch to enyo 2"? Jan 06 19:02:09 i had an error, but i finally fixed it Jan 06 19:02:38 never knew you had to link package,js in index.html Jan 06 19:02:57 u didn't need to in enyo 1 Jan 06 19:29:20 ka6sox, baboo: the web inspector in whatever browser you're testing is useful for figuring out what's breaking Jan 06 19:37:15 ok Jan 06 20:01:16 wth is enyo.only()? Jan 06 20:03:53 I've never heard of it Jan 06 21:06:50 summatusmentis: too lazy to go source-diving about it right now :) Jan 06 21:07:06 anybody in here been test-driving the mvc lib? Jan 06 21:56:58 i'm trying to do a list of items to construct a menu in enyo Jan 06 21:57:34 but im getting weird backtraces all the time :/ Jan 06 21:57:35 [22:57:18.246] no constructor found for kind "Item" Jan 06 21:57:41 [22:57:18.249] enyo.Component.addComponent(): Duplicate component name "control4" in owner "master" violates unique-name-under-owner rule, replacing existing component in the hash and continuing, but this is an error condition and should be fixed. Jan 06 21:58:24 http://lolcathost.org/b/app.js here's the source Jan 06 22:00:28 pancake: I don't think there is an enyo.Item, it's onyx.Item Jan 06 22:01:35 ok fixed, but the other errors? Jan 06 22:02:17 setupRow() is never called in my example, so list is never constructed, maybe its because of the errors.. Jan 06 22:03:03 not sure which one is "control4"....maybe add some names to them and see which one it's complaining about Jan 06 22:06:32 uhm, now i just commented stuff and i get no errors, but still the list is not loaded Jan 06 22:06:54 oh i have to set count: 3 < for example? Jan 06 22:07:53 yes, you have to set the count on the list Jan 06 22:08:09 oh, and it's onSetupItem for List/Repeater Jan 06 22:08:17 setupRow was Enyo 1 Jan 06 22:14:46 ok fixed thanks! Jan 06 22:15:21 np Jan 06 22:16:18 is there a way to just create items until setupItem returns false? Jan 06 22:17:39 hmmm, not sure. Usually I just modify the array that holds the data and make sure List's count stays in sync with that array's length Jan 06 22:17:54 and let it create all of them Jan 06 22:18:23 ok Jan 06 22:20:06 oh fixed the control4 error too. Jan 06 22:20:28 \m/ Jan 06 22:20:34 sugardave: how can i update 'count' and refresh list? Jan 06 22:21:10 you just do this.$.theList.setCount(x); Jan 06 22:21:22 and it will rebuild the list automatically Jan 06 22:21:36 works:) Jan 06 22:24:20 if im overriding a method from the parent kind.. how can i call the super.foo()? Jan 06 22:24:48 this.inherited(arguments); ? Jan 06 22:24:53 indeed Jan 06 22:40:39 sugardave: how can i swipe left-right from code? i want to open/close a sidebar Jan 06 22:41:48 pancake: might be better to have an open/close method for the sidebar you can call Jan 06 22:45:21 yep, but how to do that? Jan 06 22:46:36 you could use CSS and add/remove the proper classes Jan 06 22:47:27 you could make it from Slideable and use its methods Jan 06 22:49:07 mmmmmm pancakes Jan 06 22:49:45 i wish i had a fat stack of those right now Jan 06 22:50:03 IHoP has all-you-can-eat pancakes for $4.99 right now Jan 06 22:50:29 i must find somebody to attend this righteous event Jan 06 22:50:43 s/to/with which to/ Jan 06 22:51:12 even if i can't put them out of business, i can at least try. and have pancakes Jan 06 22:51:36 <_minego> I'm running into a rather annoying problem... When I try to launch my enyo 2 app on webOS I'm getting: Uncaught RangeError: Recursion too deep Jan 06 22:51:49 <_minego> It seems to be coming from enyo.depends() in my package.js Jan 06 22:52:09 lame Jan 06 22:52:11 <_minego> The app works in chrome. Am I missing something obvious, or doing something stupid? Jan 06 22:52:36 are you doing a lot of logging of complex objects? Jan 06 22:52:45 <_minego> No Jan 06 22:53:05 <_minego> This happens when launching. I'm logging almost nothing at that point. Jan 06 22:53:08 or maybe calling too many renders/rebuilds on a list/repeater or something like that? Jan 06 22:53:26 <_minego> I can paste a backtrace from the webos debugger Jan 06 22:54:25 hmmm, can you jsfiddle it instead? Jan 06 22:54:52 <_minego> I'm trying to create a gist on github for it right now... Jan 06 22:55:28 <_minego> What is jsfiddle? Jan 06 22:55:39 http://jsfiddle.net Jan 06 22:55:50 you can do simple running Enyo examples there Jan 06 22:56:07 <_minego> This isn't exactly a simple example :) Jan 06 22:56:32 yeah, you kind of have to be able to put all your js code in one input :) Jan 06 22:57:00 <_minego> If dkirker would wake up I could give you access to the github repo... Jan 06 22:57:36 what app is it? Jan 06 22:57:55 <_minego> I'd rather not say here (yet) Jan 06 22:58:05 oooo, seekrit stuph! Jan 06 22:58:16 <_minego> haha Jan 06 22:58:31 <_minego> I just don't want to get people excited about something that might never be finished Jan 06 22:58:50 sure, I understand Jan 06 22:59:29 how can i change the contents of the mainpanel? Jan 06 23:18:17 _minego: +1 Jan 06 23:18:45 great idea. i tried that, i however have very little patience Jan 06 23:19:13 <_minego> Hehe Jan 06 23:19:24 i try to practice that Jan 06 23:19:48 it's hard, because i get so excited about my ideas, everything looks so perfect and crystal clear in my head Jan 06 23:20:29 timing is almost everything Jan 06 23:21:24 if you reveal something too soon, the excitement dies before it hits. if you reveal too late, nobody cares Jan 06 23:22:15 _minego: who, what? Jan 06 23:22:21 * fxspec06_ ponders making a phoenix theme for neo Jan 06 23:22:24 gotta step out to fry's Jan 06 23:23:44 <_minego> lol Jan 06 23:24:21 oh if you guys want promos... Jan 06 23:24:41 free to the irc peeps: http://developer.palm.com/appredirect/?promocode=fqhrd75806piwbf Jan 06 23:24:48 no share plz Jan 06 23:25:49 <_minego> fxspec06_: You're screenshots have some very interesting colors... Hehe Jan 06 23:26:04 yeah, i could put more effort into those Jan 06 23:26:17 <_minego> haha Jan 06 23:27:05 i hate doing screenshots though. idk why Jan 06 23:27:30 proably because i always have to do them middle of submission, and they come out poorly as a result lol Jan 06 23:27:41 <_minego> They are a pain Jan 07 00:16:04 <_minego> Interesting. The "RangeError" issue I'm getting with enyo.depends only happens on my veer. It doesn't have a problem on my pre3. Jan 07 00:18:24 the veer is an odd duckling Jan 07 00:18:35 <_minego> I like it Jan 07 00:18:37 i don't have one, but i know for fact it does things differently than pre2/pre3 Jan 07 00:18:42 webkitwise Jan 07 00:18:52 i'd love to have one. eventually Jan 07 00:18:53 <_minego> Aside from this I haven't had any issues Jan 07 00:19:02 <_minego> It is running an older version of webOS though Jan 07 00:19:24 neo crashes on boot, on the veer and pixi both. only device in the family Jan 07 00:19:34 <_minego> Really? Jan 07 00:19:59 i think it's something to do with armv6 support, and enyo 2.. Jan 07 00:20:09 yeah, i should load up the EMU and try to find out why Jan 07 00:20:19 it could be screen size related too, idk Jan 07 00:21:02 <_minego> I didn't think the veer was an arm v6 Jan 07 00:21:17 <_minego> Yeah, it's an armv7. Jan 07 00:21:24 <_minego> The pixi is v6 though Jan 07 00:21:30 er, well it's something to do specific to veer and pixi, common between them Jan 07 00:22:13 and i refuse to believe it's the screen resolution. i gotta optimize neo so it runs better on them phones Jan 07 00:22:36 enyo2 eats up nodes in JSSTOP , at least neo does, when big list is open Jan 07 00:23:40 <_minego> *sigh* I got a ton of new stuff working in this app, and now I broke scrolling Jan 07 00:23:42 <_minego> grr Jan 07 00:23:59 <_minego> Well, didn't completely break it... but it is acting really wonky on my pre3 now Jan 07 00:24:04 <_minego> Oh well, I give up for today Jan 07 00:24:59 at least it's JUST scrolling Jan 07 00:26:16 so idk if you were following progress for neo, i know you're probably not very interested bc you're concerns w/ phoenix, lol, but a huge bug in neo i had thought for ages was related to a massive file i wrote that had logic errors..... Jan 07 00:26:44 <_minego> Arthur does phnx. I do macaw :) Jan 07 00:27:05 basically, you have a list, you enter another view, enter to tweet, and it takes you back to list... well the list would refresh, but it'd go black right away. Jan 07 00:27:27 BAD. very very bad. huge pet peeve of mine. imagine how disappointed i was to find out after rewriting that i had done it wrong..... so i ignored it.. Jan 07 00:27:49 <_minego> What had you done wrong? Jan 07 00:28:02 2 months later, i found out in another file: i was refreshing the app BEFORE closing the 'view.' ONE LINE i had to move. i had to close the view THEN refresh Jan 07 00:28:15 <_minego> lol oops Jan 07 00:28:38 yeah. big time oops! but how hard is it to find that one line.. Jan 07 00:29:09 <_minego> Yeah, that kinda thing is annoying Jan 07 00:29:25 <_minego> grr, I broke more on the pre3... Now some of the styles aren't being applied right, but they are in chrome Jan 07 00:29:27 <_minego> Gah Jan 07 00:30:11 i wish there was a different way to visualize the source. i think i need to start learning some serious performance debugging, finding most called functions and getting rid of unnecessary nodes Jan 07 00:30:52 i got kinda carried away with the whole inheritance thing, there's no elegant way other than chrome inspector to see what's happening right? Jan 07 00:31:24 <_minego> There are remote inspectors you can use on the device, but I haven't played with them much Jan 07 00:32:25 <_minego> *sigh* on top of all that my carpal tunnel is acting up. I'm calling it a day. Jan 07 00:33:15 interesting....4 apps open, calculator + 2x browsers + email, on touchpad, and i get the pulse audio bug. also present are 2x notifications..... Jan 07 00:33:21 * fxspec06_ still stumped as to the direct cause Jan 07 00:33:31 heh. get some rest man Jan 07 00:33:54 <_minego> Today has kicked my ass. I wish I didn't have to work tomorrow Jan 07 00:34:20 woah. it was a leftover dashboard form sports live that was present. i wonder if leftover dashboard garbage is the cause of pulse audio crash Jan 07 00:35:14 <_minego> I've never even run into that bug Jan 07 00:35:36 really? wow. it's happened to me possibly tens of times, maybe a hundred Jan 07 00:35:53 <_minego> If it's happened to me I haven't noticed Jan 07 00:36:26 usually when apps are left open for a while... something gets overwritten during compcache swap maybe? i really, don't know. i've had a million ideas on what could be causing Jan 07 01:02:16 "I wish I didn't have to work tomorrow" Jan 07 01:02:21 I feel that way every day Jan 07 01:03:32 is it really that hard for you guys to find work? i thought programming was a skillset every employer bow down to Jan 07 01:05:19 or are those two totally separate unrelated questions Jan 07 01:07:51 <_minego> Finding work isn't the problem. I have more work than I want. Jan 07 01:08:01 lol Jan 07 01:08:10 <_minego> summatusmentis: I usually don't feel that way on Fridays. Jan 07 01:10:02 app catalog has been VERY slow for me past few days, returning results / connecting to Jan 07 01:10:10 * fxspec06_ wonders if anything behind the scenes happening Jan 07 01:11:10 <_minego> Interesting Jan 07 01:11:31 <_minego> Okay, so right now on my list if I flick it will scroll just fine, but if I try to scroll normal it ignores it entirely... Jan 07 01:12:06 oh boy, on the veer? similar happens to me, on pre3/2, for enyo2 Jan 07 01:12:51 <_minego> no no, this is on the pre3 Jan 07 01:12:51 i found one day by mistake that removing the "enyo-unselected" class from the entire document allieviates the problem, but the consequenses are DIRE Jan 07 01:12:54 <_minego> It won't even start on the veer Jan 07 01:13:17 <_minego> It scrolls fine in chrome Jan 07 01:13:20 aha, so we have common issue too to battle. wonder what's wrong with the veer Jan 07 01:13:36 <_minego> I'm getting an exception in enyo.depends() Jan 07 01:13:53 <_minego> I wasn't getting it yesterday, but the app has a lot more libs now Jan 07 01:13:54 but yeah, removing "enyo-unselected" from index.html body class makes it scroll WAY better on the pre3, and performance everywhere improves...... but then everything is highlighted when you drag Jan 07 01:14:05 <_minego> Ah Jan 07 01:14:41 i haven't looked much farther than that though Jan 07 01:15:01 <_minego> That looks like it just sets -webkit-user-select: none; Jan 07 01:15:38 yah, but then everything underneath it has that property, and for some reason phones don't like that. Jan 07 01:15:51 i wonder if playing with viewport would have any effect Jan 07 01:16:04 <_minego> Didn't make a difference for me Jan 07 01:18:00 hmm. i wonder if you made a modified scroller, and set it to unselected class, but removed that class only for the scroller's contents... and then removed the selection whenever the scroll position changes..... sounds horrible but it MIGHT be possible Jan 07 01:18:42 maybe try the different scroll strategies, but i don't see that having a big effect Jan 07 01:19:19 <_minego> I don't see what caused this to happen... it was working just fine yesterday Jan 07 01:19:52 did you have onyx in the library yesterday? i know you said you added libraries Jan 07 01:20:20 <_minego> other libraries, unrelated to this bit **** ENDING LOGGING AT Mon Jan 07 02:59:58 2013