**** BEGIN LOGGING AT Sat Jun 02 02:59:58 2012 Jun 02 03:08:43 yeah visionary you could even be nice and release a pre3 version :) Jun 02 03:57:29 ok pre3 Jun 02 03:57:34 i have one Jun 02 04:01:24 visionary: one kindof app are you planning on building? (if you don't mind me asking) Jun 02 04:07:49 everyone should check their portfolios for international markets and DUMP Steria stock if you own it. That shit will be worthless in a few months after Leo "I'm an idiot" Apotheker starts making board decisions Jun 02 04:11:00 Wait, leo's on Steria now? oh shit Jun 02 04:11:07 apothocolypse Jun 02 04:11:17 indeed Jun 02 04:11:33 If I were a shareholder, I'd be super-pissed Jun 02 04:11:33 poor bastards Jun 02 04:11:41 they obviously did NO due diligence Jun 02 04:14:56 leo: "hey i ran HP" steria: "HIRED!" Jun 02 04:20:05 I wonder if he'll recommend ditching 30% of their revenue, too, and maybe suggest they do something completely unrelated to their business. Like making donuts or something Jun 02 04:21:10 well, I guess it's not COMPLETELY unrelated to get into big data, but jeez that guy still pisses me off Jun 02 04:23:33 i can only imagine Jun 02 04:25:04 could you imagine the irony if Steria adopted the Enyo framework to provide apps/services to people? Oh man, pipe dreams are the best! Jun 02 04:25:46 lol! and if he used autonomy's cloud services on top of that Jun 02 04:26:55 the only conference calls i ever listened to in my life was him Jun 02 04:27:30 i remember thinking, is this what real ceo's of big companies talk about Jun 02 04:28:20 it's what deranged lunatics talk about, apparently Jun 02 04:34:10 * fxspec06 chuckles Jun 02 04:35:48 sugardave: he probably "forgot" to put HP on his resume :P Jun 02 04:36:48 he didn't do too well at SAP, either Jun 02 04:37:17 anyway, time for a steak Jun 02 04:37:18 ttyl Jun 02 04:37:19 I wonder if Steria did those "previous employer" reference calls Jun 02 04:37:28 see ya Jun 02 04:42:30 * phil_bw wanders by Jun 02 04:42:55 hola phil_bw Jun 02 04:43:06 hello Jun 02 04:43:11 what's new Jun 02 04:43:24 k so my app. i am totally wanting to release it soon. Jun 02 04:43:40 not a whole lot, you? Jun 02 04:43:54 what's your app? Jun 02 04:44:02 trying to make some touchups so this thing is release-able Jun 02 04:44:17 it's a tournament maker for sports gamers Jun 02 04:44:41 sounds promising Jun 02 04:45:17 what it does is awesome. and it looks awesome. Jun 02 04:45:28 but Jun 02 04:45:33 does it *function* awesome Jun 02 04:45:34 ? Jun 02 04:46:38 well, yes it does Jun 02 04:46:46 for the most part. Jun 02 04:47:11 the horizontal scroll needs to be revamped.. and it needs a little glitter here and there Jun 02 04:47:42 yeah I got kinda frustrated with any kind of custom scrolling in Enyo Jun 02 04:47:51 (probably wasn't using it right) Jun 02 04:47:59 so I scrapped it and went with my own method Jun 02 04:49:43 well the issue is i'm putting vertical scrollers inside a horizontal scroller Jun 02 04:49:52 it turns out it doesn't work very well Jun 02 04:50:07 ah Jun 02 04:50:27 well the fact that it works at all says more than what I accomplished Jun 02 04:53:42 I'm trying to write code while half asleep, I have a feeling this wont go over well Jun 02 04:54:18 lol Jun 02 04:54:24 yeah, that usually doesn't go very well Jun 02 04:54:50 tuning up my "Page Switching Engine" Jun 02 04:54:57 yeah this app does a lot. and i keep saying 'it needs more' but there comes a point where more is nitpicking Jun 02 04:55:07 yeah Jun 02 04:55:13 sometimes you just need to release it Jun 02 04:55:16 then upate it Jun 02 04:55:19 and release an update Jun 02 04:55:36 some developers do it that way ya know? Jun 02 04:55:40 well once i fix these few issues, it'll be released Jun 02 04:56:08 i worked by tail off for last two weeks, and i'm having trouble battling MS trying to get my game on WP7. so i need something Jun 02 04:56:29 what's your page switching engine? Jun 02 04:56:31 I know nothing of WP7 Jun 02 04:56:48 oh it's a very simplified version of stacking pages Jun 02 04:56:50 it's cool. i've got a lumia in the mail for the port Jun 02 04:57:09 thanks to @ webosdealer // now @ nokiadevnyc Jun 02 04:57:27 me and kesne, the creator of villo are getting one Jun 02 04:57:35 oh nice, I hear from the people that use WP7 that they really like it, I'm happy on Android so I've never bothered Jun 02 04:58:06 well i wont' be able to use it as main phone, since it's AT&T. but i'll most certainly be using it as an at home device Jun 02 04:58:26 It took a very long time just to get my Nexus S to be as likable as my Pre was, I can't imagine using something else Jun 02 04:58:40 but once I was able to write code from the toilet I knew I had it configured properly :) Jun 02 04:59:54 lol Jun 02 05:00:30 So how is writing an Enyo app for WP7 going anyway? Don't they have strict guidelines on how it needs to function? Jun 02 05:01:05 argh. i need to find a way to create a unique identifier for a tournament that's re-createable and undeniably unique Jun 02 05:01:19 you lost me Jun 02 05:01:23 lol Jun 02 05:01:28 then again I'm so tired my own code has lost me at this point Jun 02 05:01:54 i'm saving and i'm saving by array index, so i compare by tournament name to choose the slot to save it in.. but the name is sometimes the same Jun 02 05:02:05 so it'll overwrite the wrong slots Jun 02 05:02:11 which is bad Jun 02 05:02:36 what are you using to ensure it's unique? Jun 02 05:03:03 right now, just the name. so i think i gotta give it some sort of random ID Jun 02 05:03:20 i should like, hash a date or something Jun 02 05:03:29 * fxspec06 overkill Jun 02 05:03:48 i'd probably hash a date for it Jun 02 05:04:15 then again I have a problem with overkill sometimes so to each their own I guess Jun 02 05:07:57 hash date it is! Jun 02 05:09:46 man, that creates one heck of an ID Jun 02 05:09:54 no way anything's gonna overwrite now! Jun 02 05:10:04 hm, I need to waterfall an event but the starting point needs to be just a regular non-enyo created div with an id. Is that possible? Jun 02 05:10:32 you can create a div with an id in enyo Jun 02 05:10:47 these ones are not Jun 02 05:10:57 * invalidopcode sits quietly in the corner listening intently to the conversation Jun 02 05:10:57 everything else inside these divs is enyo created Jun 02 05:11:17 hmm. Jun 02 05:11:19 * phil_bw apologizes to invalidopcode for boring him to death Jun 02 05:12:00 phil_bw: haha its actually not too boring to me :P Jun 02 05:12:18 I actually wanted to ask fxspec06 a quick question about villo that's all Jun 02 05:12:18 you can try waterfall on this.node.parentNode Jun 02 05:12:30 ask away Jun 02 05:12:53 i was reading about its storage functionality Jun 02 05:13:21 how easy is it to convert from browser localStorage to the villo storage? Jun 02 05:14:08 because there didn't seen to be too much documentation on it, and I'm thinking about moving my app's storage to villo (the alternative is palm.db) Jun 02 05:14:53 well it's fairly easy Jun 02 05:15:11 alls it does is take an object and stringify it Jun 02 05:15:20 hm.... Jun 02 05:15:25 okay Jun 02 05:15:41 so when you feed it JSON.stringify(obj); and when you retrieve it JSON.parse(obj) Jun 02 05:15:47 okay Jun 02 05:16:25 so if i created an object that took the place of the localStorage object, and then did that it would be almost a drop-in replacement for localStorage? Jun 02 05:16:37 you got it Jun 02 05:16:47 okkie dokie thanks Jun 02 05:16:53 * invalidopcode goes back to his corner Jun 02 05:16:57 lol Jun 02 05:17:01 sorry for interrupting phil_bw Jun 02 05:17:10 its all good :) Jun 02 05:17:24 :) Jun 02 05:17:31 btw I suck with Enyo code Jun 02 05:17:39 with that in mind Jun 02 05:17:57 let's say I've got a DIV called "div1" Jun 02 05:17:59 oh hmm Jun 02 05:18:17 how would I go about sending a waterfall to it's child div (which is enyo created) Jun 02 05:19:03 so you're trying to call an event on the enyo child div, from a file outside enyo Jun 02 05:19:19 no, it's all in the same file Jun 02 05:19:27 er Jun 02 05:19:28 wait Jun 02 05:19:32 no the div isnt Jun 02 05:21:04 it'd probably help if i knew what a waterfall was Jun 02 05:21:28 is that like, a bubble Jun 02 05:21:45 yes, other direction Jun 02 05:21:55 send an event down through the chain (rather than bubble it up) Jun 02 05:22:29 so when do you want to call it? like, what scope does the function you're calling from have Jun 02 05:22:40 from a div event ? Jun 02 05:23:09 the function calling it is calling from outside of everything Jun 02 05:23:48 it's not in any kind of enyo script Jun 02 05:24:02 you can access the enyo tree by the first enyo variable you create, the one in index.htm Jun 02 05:24:30 so if you do like: var _myapp = new App().renderInto(document.body); Jun 02 05:24:57 right, that happens inside one of the divs Jun 02 05:24:58 you can access the tree with _myapp.$.myfirstkind.$.mycontrol.bubbleUp(event); Jun 02 05:25:11 but that's the only way i can think of for now Jun 02 05:25:43 afaik there's no way to determine which enyo control belongs to which div Jun 02 05:25:51 unless Jun 02 05:27:11 you assign your own event listener to the kind you want to bubble Jun 02 05:28:00 hmm... Jun 02 05:28:29 I have an idea... Jun 02 05:28:40 in enyo, and then call that event via the node tree event.target.children[0].onclick() or something Jun 02 05:29:00 that's probably the wrong thing but you get the idea. not sure how well that'd work Jun 02 05:29:35 apparently enyo captures certain events on all elements, though Jun 02 05:29:42 each div only ever has one enyo control loadeded at it's root so I'm just going to store it in a variable and access it that way Jun 02 05:30:47 is there any way to do a function on the enyo control kind create Jun 02 05:30:57 and add a event listener to the control node parent Jun 02 05:31:18 that would work Jun 02 05:31:47 s/would/could Jun 02 05:40:32 ok, I'm too tired to make any of this work Jun 02 05:40:34 have a good night Jun 02 05:40:42 you too Jun 02 05:40:44 later Jun 02 05:40:46 night phil_bw Jun 02 05:40:49 * phil_bw wanders off Jun 02 05:41:45 nooooo, I had (maybe) the answer for phil Jun 02 05:42:24 So, I'm running my enyo app on a server, how do I prevent overscroll in touch browsers like webOS's? Jun 02 05:42:41 I would just package the thing for webos and give up, but I'm doing things serverside like dynamic package.js and such Jun 02 05:42:43 enyo.byId("div1").waterfall("event", {prop: val}); Jun 02 05:45:10 rrix: not sure...webOS browser ALWAYS overscrolls. I had to do a bunch of kludgery to keep it fromhappening on a regular Scroller Jun 02 05:46:09 :\ Jun 02 05:50:21 whoah i'll remember that one. Jun 02 05:50:36 not for sure if that works, but something to try anyway Jun 02 05:51:55 is there any way to make a List kind re-orderable, like there was in enyo 1 ? Jun 02 05:53:42 not yet...but check the gallery and see if anyone has added their own yet Jun 02 06:17:39 wow in 9 days of release, gvoice chrome has generated more traffic to my website than all other platforms except webos Jun 02 06:18:11 and has outsold the android version in units, at a much higher price Jun 02 06:18:37 over those 9 days, not over all time Jun 02 06:19:37 * invalidopcode slowly crawls out of his corner to ask a quick a quick Mojo question.... Jun 02 06:20:53 actually I guess I should ask in #webos since this is the enyo channel... Jun 02 06:27:56 hmm Jun 02 06:28:02 i wonder if i should release wild'n chrome. Jun 02 06:28:07 it's been working since december Jun 02 06:33:49 mo... jo? Jun 02 06:33:56 I've never actually done mojo, lol Jun 02 06:34:26 rrix: neither had I... until about 10 hours ago Jun 02 06:34:32 heh Jun 02 06:34:33 I'm sorry ;) Jun 02 06:34:43 its ugggglllllyyyyyy Jun 02 06:35:51 I decided I wanted to improve the instagram client for webos (instagrio) so I started poking around Jun 02 06:37:49 now i'm running into JS scope issues like normal Jun 02 06:37:59 * invalidopcode still prefers C++ scope rules Jun 02 06:57:43 ok I'm done for tonight Jun 02 06:57:49 night everyone Jun 02 07:00:18 doing static html-ish things in enyo is panful Jun 02 07:00:18 I'm tempted to just do a renderinto but Jun 02 07:02:56 * rrix does a renderinto Jun 02 07:03:32 er, an innerhtml, not an renderinto Jun 02 07:48:50 wooooooooooo Jun 02 07:49:00 i did the scrolly thing w/ the bottom toolbar, and it's AWESOME Jun 02 07:53:03 it's extremely fun and is an absoltuely viable alternative to using a horizontal scroller Jun 02 08:03:07 hahaha oh wow Jun 02 08:03:09 Currently at HeatSync Labs: https://twitter.com/jacobrosenthal/status/208823152682352640 Jun 02 08:05:59 LOL Jun 02 08:07:30 tradica will randomly grace our presence, always managing to one up the last business Jun 02 08:10:11 grr why these images not appearing! -__- Jun 02 08:22:16 middle box suppsed to be nba log -__- smh http://yfrog.com/z/espnzvp Jun 02 08:22:21 anyways i'm off to bed. g'nite! Jun 02 13:06:06 fxspec06: i just love how wrong this sounds, even if the spelling is off: "you should make your ball and night less hairy." with which i want to say: look at what you can do with the border of the red and yellow ball, it looks incorrect. peraps don't add a border but add a shadow to it? Jun 02 15:22:38 rrix: I think at the lowest level of the framework, renderInto sets innerHtml Jun 02 15:48:40 madnificent: no way to add a shadow Jun 02 15:48:52 drop shadow not supported =P Jun 02 15:49:40 add the shadow to the png, or add it to the svg (though that should work fine if you use transparancy, it looks fugly if you use blur) Jun 02 15:49:50 there's no .png for the circles Jun 02 15:50:11 those are just webkit border radius's Jun 02 15:50:27 are you sure, i'm quite sure that i once drew a circle in inkscape and exported it to a png Jun 02 15:51:09 also, draw the circle like you did -now, add another one below/right 3px in grey + transparancy Jun 02 15:51:49 ya, that makes more sense Jun 02 15:52:00 but then grr id have to do it everywhere there's a circle Jun 02 15:52:16 man this IPK is not replacing on the touchpad!!! Jun 02 15:52:27 you didn't make a kind for your circle? Jun 02 15:52:33 looks like i have to open a cmd prompt Jun 02 15:52:45 no i did, but the circle is part of a outside kind Jun 02 15:52:49 hard to explain Jun 02 15:53:44 ok so the circle itself is a kind.. but that kind is literally a circle. so in order to put a drop shadow, i'd have to do that outside the kind Jun 02 15:54:59 ugh if i delete this app, i need to retrieve the cookie Jun 02 15:56:10 fxspec06: make a new kind with the name of the original kind and extend it. hmmm, which would mean extending the external library which you'd prefer not to. Jun 02 16:00:06 o damn, no wonder why the image isn't showing Jun 02 16:00:13 undercase !! Jun 02 16:01:25 chrome is flexible when it comes to SRC cases Jun 02 18:48:23 damn, that is annoying Jun 02 19:22:15 just implemented a "lazy" feature on my custom Pane control - was actually pretty straightforward. Jun 02 19:45:16 nice! Jun 02 20:11:54 sweet. you can finally edit the tournament name / user name Jun 02 20:26:20 i cannot get anything to go italic on the touchpad Jun 02 20:46:09 also, on the TP there is a 1px gap between the top of the 'body' and the bottom Jun 03 01:08:57 We got webOS overscrolling disabled with Jun 03 01:09:00 sugardave: ^ Jun 03 01:09:15 so now the Panels layout works in webos Jun 03 01:11:51 well, kind of. still appears to be overscrolling on my pre3 Jun 03 01:16:56 * rrix & Jun 03 01:22:03 YES. Jun 03 01:22:13 i've figured out why the sliding panels disappear Jun 03 01:22:18 it's because of the ANIMATOR Jun 03 01:22:44 somewhere along the line, if a sliding is rendered() or if it disappears before the animator finishes, it screws it up completely Jun 03 01:23:00 the fix? in a slider, call this.$.animator.cancel() i believe Jun 03 01:24:15 nope, it's play() Jun 03 01:24:38 if you call this.$.animator.play() just before you call any animate, it will work and not break Jun 03 01:26:00 whew Jun 03 01:27:40 is the animator being passed a node, and thus does not continue when the node is not visible? Jun 03 01:31:20 the play accepts inProps Jun 03 01:31:48 i know it def doesn't continue when it's not visible Jun 03 01:32:09 and when it tries to continue when it's not visible, it will keep trying until it's told otherwise Jun 03 02:53:55 * phil_bw wanders by Jun 03 02:54:02 anyone around? Jun 03 02:55:08 * invalidopcode is Jun 03 02:55:15 I Jun 03 02:55:24 I've got a stupid JS/Enyo question Jun 03 02:55:33 probably very rookie but I'm not sure how to google it Jun 03 02:55:38 the only stupid question is the one not asked Jun 03 02:56:02 so let's say you've got an Enyo object with a name of "test" Jun 03 02:56:19 you could do this.$.test.doSomething() for example Jun 03 02:56:43 yes Jun 03 02:56:46 now let's say I have an array of strings with names of objects so testarray[1] = "test" Jun 03 02:57:00 yes Jun 03 02:57:15 clearly this.$.testarray[1].doSomething() isn't going to work Jun 03 02:57:31 this.$[testarray[1]].doSomething(); Jun 03 02:57:34 this.$[] Jun 03 02:57:37 really? Jun 03 02:57:49 the magic of javascript Jun 03 02:57:54 mhm. is this way with all JS Jun 03 02:58:11 I'm pretty new to JS, been writing PHP for about as long as PHP has been around Jun 03 02:58:32 dot syntax is the same as array by name. Jun 03 02:58:41 foo.bar = foo[bar] Jun 03 02:58:53 uh Jun 03 02:58:58 foo.bar = foo["bar"] Jun 03 02:59:07 really Jun 03 02:59:13 really really Jun 03 02:59:14 that makes this code a whole lot easier Jun 03 02:59:21 the second, not the first. but yea, really Jun 03 02:59:26 right Jun 03 02:59:36 or foo[arraywithstringinit[1]] **** ENDING LOGGING AT Sun Jun 03 02:59:59 2012