**** BEGIN LOGGING AT Sat Mar 24 02:59:59 2012 Mar 24 06:13:19 hmm. i just had what may be a brilliant realization Mar 24 06:14:03 since the css for enyo apps is brought in from enyo.depends, this means that you could easily specify css on a platform basis Mar 24 06:19:17 everyone else probably knew that already Mar 24 15:12:32 yay Mar 24 15:12:46 finally starting my first enyo2 non-webOS project Mar 24 16:11:55 hmm. isn't it supposed to be possible to have virtualrepeaters in a horizontal layout? Mar 24 16:20:36 doesn't look like it Mar 24 16:36:07 EricBlade, got a min? im having some enyo2 noob issue Mar 24 16:43:03 yay Mar 24 16:43:09 i need to start on mine Mar 24 16:43:15 anyone have this mouse? http://www.newegg.com/Product/Product.aspx?Item=26-153-053&nm_mc=EMCWL-032012&cm_mmc=EMCWL-032012-_-index-_-Item-_-26-153-053 Mar 24 16:52:36 PuffTheMagic: i'm .. not very good with 2. :) whats up Mar 24 16:56:47 i figured it out, stupid name collision breaking my shit Mar 24 16:57:36 :) Mar 24 16:58:18 hmm.. i'm scraping a site for some data, and discovered that they have a spam user who has been doing html injection attacks on their links Mar 24 16:59:24 They probably shouldn't allow usernames such as MyUserName Mar 24 17:00:25 lol Mar 24 17:01:01 i can't seem to figure out a way to regex around it though Mar 24 17:01:24 unless i specifically handle this one id Mar 24 17:05:48 ... and how to figure out what thing it's calling my onclick event in when i create the component manually.. hmm Mar 24 17:08:20 ah, nvm, was setting the owner incorrectly Mar 24 17:21:26 wish i could figure out a way to reliably scroll something. on phones, and in chrome, the various scrollTo methods are regularly (but not all the time) ignored Mar 24 17:23:57 oh.. i think i found it. do the scroll -before- changing the contents of the repeater, then run the repeater refresh on the next tick. bizarre. Mar 24 17:49:30 so there are no list widgets for enyo2 yet right? Mar 24 17:57:47 damn does not look like it Mar 24 18:01:30 PuffTheMagic: well, there's a repeater .. not a virtual though Mar 24 18:01:51 does it have swipe? Mar 24 18:01:54 to remove Mar 24 18:02:03 seems unlikely Mar 24 18:02:23 so then what does this repeater do? Mar 24 18:03:06 you might have a look at the mail demo, i didn't really get that far, i was having problems with layout in general Mar 24 18:03:43 i know that you have to set the number of rows in it before updating it, it doesn't use true/false from it's return function Mar 24 18:03:52 true/false return from it's setup function i mean Mar 24 18:22:18 lists arent coming till end of april :( Mar 24 18:41:12 the repeater thing seemed capable enough to me Mar 24 18:42:43 well, i got my enyo hackathon app working finally lol .. http://ericbla.de/com.ericblade.ask500_1.0.3_all.ipk Mar 24 18:42:57 what is it? Mar 24 18:43:21 google voice? Mar 24 18:43:39 nah. what's an ask500? Mar 24 18:44:12 ask500people.com? Mar 24 18:52:35 yea Mar 24 18:52:42 a polling app Mar 24 18:53:21 i got it pretty much all the way completed for the hackathon, and then discovered that the API was missing some important details, so i had to go html scraping. it's ugly as heck but it's functional Mar 24 19:05:59 i almost want to clean it up and submit it, but the amount of effort required to get an app ready for distribution is daunting to me today Mar 24 19:24:01 i've been waiting for lists before i start w/ enyo 2.0 Mar 24 19:24:04 in all honesty Mar 24 19:24:20 i don't see a point, for myself at least, to begin working til' lists. Mar 24 19:47:05 howdy] Mar 24 19:47:39 can enyo parse json from a remote URL? Mar 24 19:48:16 "cross-domain" ?? Mar 24 19:50:28 Lonestar99: if you use jsonp, yes; there's a library to do it in the enyo2 extras repo Mar 24 19:53:14 damn layouts Mar 24 19:53:23 how do they work? Mar 24 19:53:24 damn popups Mar 24 19:53:34 like flex Mar 24 19:53:46 but u have to replace flex with fit Mar 24 19:53:56 but i cant get rows in my popup Mar 24 19:54:12 http://images.cheezburger.com/completestore/2011/11/25/c10572c3-7155-40fd-a6aa-48c2018cf64f.png Mar 24 19:54:28 so you just s/flex/fit and it all work Mar 24 19:54:36 like magic Mar 24 19:54:39 Ya sorta Mar 24 19:55:04 HFlexLayout == FittableColumnsLayout Mar 24 19:55:12 someone should write a 1.0 to 2.0 conversion app. i wonder how possible that is Mar 24 19:55:16 VFlexLayout == FittableRowsLayout Mar 24 19:55:20 it's still not at the moment Mar 24 19:55:28 jesus they switched them Mar 24 19:55:32 {flex:1} == {fit:1} Mar 24 19:55:39 now my brain has to think the OTHER way Mar 24 19:56:05 HFlexbox == FittableColumns Mar 24 19:56:06 etc etc Mar 24 19:56:07 although, it kinda makes sense. fittable rows Mar 24 19:56:21 vertical rows fitting each other Mar 24 19:56:29 except everything is still semi broken Mar 24 19:56:37 yeah that's the ehhh part Mar 24 19:56:47 i'll sit this one out for a bit Mar 24 20:08:46 rrix ok thanks Mar 24 20:34:53 why does enyo2 look so messed up on the TP browser? Mar 24 22:11:26 EricBlade, pinger Mar 24 22:15:36 PuffTheMagic: put that pinger away Mar 24 22:22:22 how are you turning your enyo2 app into an ipk? Mar 24 22:24:48 well like i said i don't do much with enyo2, but .. i just did palm-run . like i normally do Mar 24 22:25:37 i thought your hackathon thing was 2 Mar 24 22:25:55 i started it in 2, but then realized i had no idea how to achieve anything in 2 Mar 24 22:26:34 i did start to layout a version of XO in enyo 2 Mar 24 22:26:51 it installs to device fine Mar 24 22:27:16 i should try upgrading the enyo there to 2.0b3 instead of b1, and see if it works now Mar 24 22:28:28 well that certainly looks different Mar 24 22:30:45 yep scrolling area is still completely missing on the touchpad Mar 24 22:30:58 scrolling area? Mar 24 22:31:04 i have a scroller in my app Mar 24 22:31:09 PuffTheMagic: are you having a problem with getting it to work on device? Mar 24 22:31:45 i havent tried Mar 24 22:31:50 oh Mar 24 22:31:54 i was intending to use this as a non webos app Mar 24 22:32:05 but i just realized webos dont have websockets Mar 24 22:32:07 :( Mar 24 22:32:14 so i need to switch to using http/rest Mar 24 22:32:33 it's my understanding that websockets work as expected in 3.0.5, and to some varying degree in 3.0.x Mar 24 22:33:18 idk, i have 305 on my TP and it seems like it doesnt work Mar 24 22:33:31 maybe its not the final spec Mar 24 22:33:56 someone from hp was twittering about a html5 capability comparison site the other day, that agreed with the assessment i'd heard, that websockets work on 3.0.5 :| Mar 24 22:34:09 i've never used them Mar 24 22:34:35 there are also scripts out there that claim to add websocket functionality for browsers that don't have it Mar 24 22:35:25 ya via flash and other shit Mar 24 22:35:35 i would rather just use rest if i cant use websockets Mar 24 22:35:41 but anyway Mar 24 22:35:48 hmm. Mar 24 22:35:51 first to figure out how to bundle this to test on the TP Mar 24 22:36:12 i cant figure out how to use that minify shit Mar 24 22:36:17 i have enyo in a sub-folder from my main app folder just called "enyo", so my script reference is "enyo/enyo.js" Mar 24 22:36:24 that doesn't get mangled by the packager Mar 24 22:36:44 where do you put onyx and layout? Mar 24 22:36:53 inside there .. umm Mar 24 22:37:09 is there an "official" layout? Mar 24 22:38:43 hmm Mar 24 22:38:43 "$lib/onyx", Mar 24 22:38:44 "$lib/layout/fittable", Mar 24 22:38:55 they are in the lib dir in enyo Mar 24 22:39:00 although my git configuration seems hosed Mar 24 22:39:06 are they submodules? Mar 24 22:39:53 i dont see a lib dir Mar 24 22:40:54 i made a lib dir, then submoduled the others into it Mar 24 22:41:15 why is it not like that in their official repo :/ Mar 24 22:41:34 ... and i'm getting pissed at git because it's stupid and i hate it Mar 24 22:41:53 what is it pissed about? Mar 24 22:42:32 hmm. maybe i didn't make them submodules Mar 24 22:42:41 which would explain why the submodule command wasn't doing what it was supposed to Mar 24 22:44:02 i get a No submodule mapping found in .gitmodules for path 'enyo/lib/onyx' every time i try and do a submodule update Mar 24 22:44:09 which makes sense because .. it's in lib/onyx not enyo/lib/onyx Mar 24 22:44:41 git submodule add https://github.com/enyojs/onyx.git lib/onyx Mar 24 22:45:58 well now that i have all the libraries updated.. i do get exactly the same thing in chrome as in webOS . yay! it ain't right, but at least it's the same thing Mar 24 22:51:53 are you using depends.js or package.js Mar 24 22:52:55 hmm.. i have both lol Mar 24 22:54:58 for some reason the package.js thing didn't auto-include for me, so i loaded it in my index.html Mar 24 22:56:39 http://pastebin.com/pH5k3ibA Mar 24 22:56:41 there's my index Mar 24 22:57:19 how does that find enyo on the TP? Mar 24 22:57:32 you need to include enyo in the app Mar 24 22:57:50 i installed it to the device Mar 24 22:58:01 since we can provide ipks for that Mar 24 22:58:07 its a reasonable assumption Mar 24 22:58:18 i will probably make ipks for them soon Mar 24 22:58:58 well normally the palm-package command re-writes the enyo path, and i doubt it understands enyo 2.0 Mar 24 22:59:20 i've never seen my index get changed Mar 24 23:00:50 well gvoice's index in development uses file://c:\\program files(x86)\\HP webOS\\ ... Mar 24 23:00:58 which i guarantee is not where it locates it on device Mar 24 23:01:51 anyway, expecting people to have enyo 2.0 in /usr/palm/frameworks is probably a bit unrealistic Mar 24 23:02:00 right now sure Mar 24 23:02:07 when 2.0 is in preware, no ;) Mar 24 23:02:15 but im just testing at this point Mar 24 23:02:48 true, i suppose, but it's probably better off for many reasons to just include yours with the app at the moment, probably until open webOS is out Mar 24 23:03:08 or if development on enyo stops drastically changing things regularly Mar 24 23:03:27 well considering that HP doesnt accept 2.0 apps right now Mar 24 23:03:32 or does it? Mar 24 23:03:43 i really dont care at this point Mar 24 23:03:51 ben said the app scanner will automatically flag it for manual review, but that everyone has been instructed to approve things including enyo in them Mar 24 23:24:06 arrrgh! i cant get this working Mar 24 23:35:02 i cant the $lib/ shit to work Mar 24 23:35:13 i have to do this: Mar 24 23:35:20 Mar 24 23:35:21 Mar 24 23:35:21 Mar 24 23:39:57 EricBlade,when i launch my app it never stops blinking Mar 24 23:40:02 like at the loading stange Mar 25 00:08:18 ahh it was if(window.PalmSystem) window.PalmSystem.stageReady(); Mar 25 00:13:38 yeah.. i've been thinking about seeing if it's possible that i could run that first in a script, and then display a nice loading screen Mar 25 00:20:56 websockets totally does not work Mar 25 00:21:12 EricBlade, if u can find who tweeted about it i would like to send them a message Mar 25 00:21:28 are you trying to use them for incoming or outgoing Mar 25 00:22:05 it was someone in the webos channel that said they actually did work Mar 25 00:23:17 incoming Mar 25 00:23:29 webOS firewall ? Mar 25 00:23:38 hmm Mar 25 00:26:40 i'm pretty sure there's a PalmSystem call you can make (although you'll need phonegap, or to research how the Enyo 1.0 PalmSystem worked and replicate it) Mar 25 00:28:19 well.. Mar 25 00:28:27 i am connecting to a server Mar 25 00:28:35 and then just responding to what it sends Mar 25 00:28:44 oh. outgoing Mar 25 00:29:42 i'm busy for about the next hour and a half or so, but after that, if i can find a test case, i'll see if i can do anything with it Mar 25 00:31:30 thanks Mar 25 00:34:37 wait what's the question Mar 25 00:35:09 oh a tweet. well then nvm Mar 25 00:53:22 fxspec06, the question is who was claiming websockets work Mar 25 01:07:35 PuffTheMagic: minego just tweeted me that he has the link on his laptop, he'll send it to me when he gets there Mar 25 01:07:53 but it's not that useful, it's just a chart that says "yes websockets are supported in 3.0.5" :) Mar 25 01:53:29 yes i would agree ("WebSocket" in window) == true Mar 25 01:53:51 http://websocket.org/echo.html Mar 25 01:54:34 that works from the touchpad browser Mar 25 01:54:41 no it doesnt Mar 25 01:54:58 err guess it does Mar 25 01:55:02 why Mar 25 01:55:23 this doesnt make any sense Mar 25 01:55:40 i'm glad i'm not the only programmer that has these moments Mar 25 01:55:47 lol Mar 25 01:56:44 EricBlade, https://gist.github.com/2190712 Mar 25 01:56:49 this works though chrome Mar 25 01:56:53 but not on the TP Mar 25 01:57:01 maybe i am creating it too soon Mar 25 02:06:51 hmm. well, the websocket.org demo does attach it to the "load" event Mar 25 02:07:27 does enyo 2 do ready ? Mar 25 02:18:39 idk, i've tried using createComponent() in rendered() Mar 25 02:18:43 and that doesnt help Mar 25 02:19:58 hmm that actually doesnt work in chrome Mar 25 02:21:10 ready and load dont get called Mar 25 02:38:08 hmm. i hadn't got beyond anything but putting together a 5-row repeater to see if i could get it to scroll in the middle of my layout Mar 25 02:38:12 hey there went minego Mar 25 02:46:52 he doesn't like us =( Mar 25 02:48:10 EricBlade, im just trying to make a really simple ui in enyo for monitoring experiments in my lab Mar 25 02:48:39 we have for booths/rooms where experiments run and i have each experiment sending out status info via websocket Mar 25 02:48:47 so the enyo app listens to them Mar 25 02:48:49 :( Mar 25 02:48:53 thought this would be so easy Mar 25 02:49:02 till i tried getting to work on webos Mar 25 02:51:41 EricBlade, OOOOOOOh Mar 25 02:51:57 firefox behaves just like the webos browsers **** ENDING LOGGING AT Sun Mar 25 02:59:58 2012