**** BEGIN LOGGING AT Sun May 30 02:59:56 2010 May 30 04:03:34 hi all! May 30 04:07:24 hey JenP May 30 04:07:32 hi rod May 30 04:07:34 JenP: are you overclocking at all? May 30 04:07:43 no May 30 04:09:35 are you guys working on the heat tracking? May 30 04:12:06 JenP: I just added sticky profiles on clean reboot support May 30 04:12:23 sticky profiles? what's that May 30 04:13:10 your overclocking profile is reapplied on each clean reboot, but not reapplied if you have a crash or abnormal reboot May 30 04:13:24 we worked out how to make it safe enough May 30 04:14:04 oh very nice May 30 04:57:09 twbbas: Did you get it figured out? May 30 09:03:18 I just removed all of the patches with the emergency patch repair kit May 30 09:03:45 so things like the messaging application should be prestine right ? May 30 10:26:41 if you only ever applied aupt patches, yes. otherwise, you'd better check with the webos repair tool May 30 14:01:44 morning, webOS May 30 16:37:21 morning all May 30 16:40:24 barely May 30 16:40:34 hi haeffb May 30 16:42:08 howdy May 30 16:42:51 * haeffb has an 8lb Boston butt in the smoker today May 30 16:43:08 what's a "Boston butt"? May 30 16:52:05 pork butt May 30 16:52:16 big chunk o' pig May 30 16:52:25 oh...wow that's a really big butt May 30 16:52:34 8lbs? May 30 16:54:21 in another 8 hours or so, it will become the fixin's for an awesome pulled pork samwich May 30 16:54:35 smiles...sounds yummy May 30 16:56:53 toasted buns with pulled pork, coleslaw, and ginger-wasabi sauce in between. Very yummy. May 30 16:57:27 nice May 30 17:55:40 hi May 30 18:20:39 afternoon May 30 18:21:05 hello May 30 18:22:20 I have this using Ares: http://pastebin.com/6PEdKJhq and event.item isn't giving me the value of the row. Webos101 said to use event.item. All it alerts is "[object Object]" Any ideas? May 30 18:24:17 event.item returns the entire object May 30 18:24:44 narrow it down to the field you want from the item May 30 18:24:59 event.item.value May 30 18:25:01 event.index May 30 18:25:23 ohhh May 30 18:25:29 <=== is a webos noob May 30 18:25:30 Thanks May 30 18:25:37 or that if you want the index number May 30 18:26:09 Yea, I think number might be better for this use May 30 18:26:14 Thanks May 30 18:27:36 Uhh, I'm getting this error in the log viewer: "Uncaught TypeError: Cannot read property 'item' of object" May 30 18:31:47 what does event.index return May 30 18:32:20 event.index is the index of the list item that was tapped May 30 18:32:35 if you're listening on Mojo.Event.listTap May 30 18:33:25 Event.index gives the number of the list May 30 18:33:26 I mean in this particular instance May 30 18:33:30 I suppose I'll just use that May 30 18:33:38 Event.index works but event.item.value doesn't May 30 18:33:46 I'll just use the index May 30 18:33:58 Thanks May 30 18:34:20 value would suggest you have a feels 'value' in ur aray May 30 18:34:25 rrrr May 30 18:34:44 hah can't type on my pre May 30 18:34:57 Lol, heat it up in the microwave :D May 30 18:35:37 i'll just use my voice to text feature May 30 18:35:52 :o May 30 18:36:52 Does anyone have advice for cross-compiling best practices? May 30 18:37:01 Specifically, I'm trying to cross-compile liboauth May 30 18:44:32 haeffb: you grillin steaks today? May 30 18:47:37 smokin' pork butt May 30 18:57:33 mmm. I'm doin ribs tomorrow May 30 19:04:51 so what i dont know about gps service is how to cancel the request after x seconds May 30 19:05:20 ajax is handy because of the abort() method May 30 19:05:42 is there such a method for gps? May 30 19:57:47 anyone got a collapsible divider sample they could pastebin? May 30 20:04:11 hey guys May 30 20:04:26 how do i make sure that page always load from the top? May 30 20:04:36 it seems that sometimes my page loads from bottom May 30 20:16:04 hmmm... can you give more info? May 30 20:16:23 adding MainAssistant.prototype.aboutToActivate = function(callback) { May 30 20:16:24 callback.defer(); May 30 20:16:24 } May 30 20:16:42 makes the scene not display until setup is called...basically May 30 20:17:47 tibfib, i just have bunch of rowitems May 30 20:18:03 palm-row May 30 20:18:13 and it just seems to pick the last palm-row as starting point May 30 20:18:15 I don't know why May 30 20:21:18 is it a display issue? May 30 20:41:01 Nyceane: have you tried wrapping your rows in a div then in the css setting top0? May 30 21:09:28 hey guys. pls don't laught. i have to ask this silly question, although its so simple in webdesign, but i just cant get it work on webos May 30 21:09:40 I'm trying to create my own buttons. May 30 21:10:09 i tried it to do it with css background imgages May 30 21:10:28 has anyone a link or a howto to it? May 30 21:12:27 I want to use my own images for the button May 30 21:12:27 Do what? May 30 21:12:50 tryin to create my own buttons May 30 21:13:06 Make an image, make a div, listen to that div. May 30 21:13:14 Put image inside div. May 30 21:13:46 yeah, but i how can i then change the image on tapping? May 30 21:14:05 And an "on-click" event May 30 21:14:29 hmm sounds simple. May 30 21:14:34 ok i try that. thanx May 30 21:14:36 Or rather onclick May 30 21:14:49 Yeah, just think of it like making a button on a web page. It's the same thing May 30 21:15:06 on a web page i do it with css background image May 30 21:15:11 but that just wonk work May 30 21:15:33 I do it with css and javascript May 30 21:16:23 http://www.devx.com/tips/Tip/13653 This should work May 30 21:16:24 i could change the innerHTML on click. thats a good idea May 30 21:20:27 ohh May 30 21:20:38 onclick or onTap won't work for me. May 30 21:20:50 because it changes the pic permanentely May 30 21:21:04 the pics have to swap by untaping May 30 21:22:06 i try that javascript thing you sent me May 30 21:22:43 ahhh thats the same thing. no chance May 30 21:22:45 hello May 30 21:23:13 hi May 30 21:24:18 amiroo: onmouseover May 30 21:24:23 errr May 30 21:24:24 not that May 30 21:24:29 onmousedown and onmouseup May 30 21:24:31 Yeah May 30 21:24:34 anyone here with a pure css solution? actually it does work already, but the background image is just to small. it ignores the divs size May 30 21:25:04 Tibfib: this also works on webos??? May 30 21:25:21 #div img { wideth: 100%; height: 100%} May 30 21:25:27 width May 30 21:25:32 amiroo: are you doing that from the html or js? May 30 21:25:50 I think you can listen to 'onmousedown' and 'onmouseup' May 30 21:26:39 i tried setting in the div class width:60px and height:60px May 30 21:28:02 and there is no img in the div. it's just the background image May 30 21:31:16 btw i'm doin that from ares. i thought the best way would be to but that button insode a html container May 30 21:34:15 i use that in my html container
May 30 21:35:09 and in css .days a and .days a:active i set the background images May 30 21:35:26 thaht should be it, schouldn't it? May 30 21:39:05 the background image appears BELOW the spacer pic. any idea? May 30 21:40:12 where do you apply your background ? May 30 21:40:28 in an external css file May 30 21:40:39 I mean: you apply it to what element ? May 30 21:41:20 to .classname a and .classname a:active May 30 21:41:50
May 30 21:42:19 amiroo: the background image displays below or behind the spacer pic? May 30 21:42:35 below. it should be behind ;-) May 30 21:43:32 when i take out the spacer pic there is no background image at all May 30 21:43:43 so i thought there has to be a spacer May 30 21:44:40 amiroo: well, this is normal since a is inline element May 30 21:45:19 amiroo: any chance you could extract this div+css and put it into a simple html page May 30 21:45:23 would be easier to debug May 30 21:45:34 it's quite difficult to understand what you mean this way May 30 21:45:37 +? May 30 21:46:13 the thing is, on a simple html page it would work May 30 21:46:30 i guess youre right. May 30 21:46:56 let me try it on html. I'll send you the link when i'm done May 30 21:50:51 Anyone in here good with sql? May 30 21:58:32 JenP: just ask :) May 30 21:58:39 amiroo: ok May 30 21:59:37 anyone have any idea why this doesn't work May 30 21:59:38 http://pastebin.com/wJfiu5KN May 30 22:00:53 line 8 returns : OK {} May 30 22:01:16 then i get an error on line 10: Uncaught TypeError: Cannot set property 'innerHTML' of null, May 30 22:05:45 niiiice. same problem on a html site :-) let me upload it so you can see it :-) May 30 22:07:05 warpdesign_: http://miroo-media.de/test/index.html May 30 22:10:37 I'm goin to get some cigarettes. brb May 30 22:15:35 is webos fully w3c standards compliant ? May 30 22:16:13 and does it use css2 or css3 ? May 30 22:17:02 not fully, but getting there May 30 22:18:05 SDK with emulator can be found here: http://developer.palm.com/ May 30 22:20:59 I've read it was possible to see the code embedded in an ipk file. That could be helpful to learn the basics. Anyone knows how to do so ? May 30 22:21:10 yes, anyone does May 30 22:21:23 also the sdk has sample and reference code May 30 22:21:52 you mean "hello world" ? May 30 22:22:12 no. like styles, API, services May 30 22:22:41 C:\Program Files\Palm\SDK\share May 30 22:22:45 take a look in there May 30 22:22:53 it has a lot of great information May 30 22:24:02 doesn't look very intuitive May 30 22:24:18 well what is it your looking for? May 30 22:24:28 bpadalino: not anyone. manyone. May 30 22:25:26 JenP: I need to get started. I'm familiar with html, css, js and oop. I'm trying to write a simple app, but I need a few functionning examples to get a grasp of how to handle things May 30 22:26:40 well all the reference code is there, but if you have questions on specific things this is where to ask May 30 22:27:28 nothing like tweaking working code to get a feel on how to do things, imho May 30 22:27:57 Famic: everything in the samples works May 30 22:29:31 haeffb: i'm geting [object SQL Transaction] May 30 22:29:52 amiroo: well, seems like your id doesn't exists May 30 22:30:10 since document.getElementById() will return null if the element can't be found May 30 22:30:39 I'm not using document.getElementById(). just simple css May 30 22:30:56 it should work on the website too but it doesnt May 30 22:31:48 amiroo: sorry, was answering to jenp.. May 30 22:31:56 amiroo: what do you need your spacer for ? May 30 22:32:01 no worries warpdesign May 30 22:32:42 no prb. if i take out the spacer, nothing is displyed at all. the spacer is a transparent png May 30 22:33:29 well, sure May 30 22:33:35 a is inline type element May 30 22:34:53 i just don't understand why the background image is below the spacer and not just in the background. May 30 22:35:02 an idea how to solve it? May 30 22:35:15 your background only takes the height of the text you have... May 30 22:35:23 it's not below May 30 22:35:23 amiroo what's your css for the background image May 30 22:35:35 it's over, but only takes little space May 30 22:35:42 http://miroo-media.de/test/style.css May 30 22:36:38 you could simply remove your spacer image, and set display to block for the a May 30 22:36:41 set a top:0px; and left:0px; see if that helps May 30 22:36:58 amiroo: try display:block and set a size on your a element May 30 22:37:07 ok i try both of it ;-) May 30 22:37:43 JenP: won't change anything since height is ignored for inline type elements May 30 22:38:00 whys it inline? May 30 22:38:05 amiroo: you could also removed your day wrapper if you don't really need it.. that's usless extra markup May 30 22:38:08 and top/left will only work on positioned elements May 30 22:38:19 warpdesign_: THX! display:block did it! May 30 22:38:23 sure May 30 22:38:38 amiroo/jenP : check on block elements/display elements May 30 22:38:45 err..inline elements May 30 22:38:45 and thx Farnic May 30 22:38:54 amiroo: i suggest you install firebug and play with the inspect function May 30 22:39:04 will help you to understand how css is rendered May 30 22:39:25 yeah. thx. I#ll do that May 30 22:39:48 JenP: cause that's the rules ;) there are inline, and there are block type elements. You may change their behaviour at runtime, but these are the defaults May 30 22:40:07 yes i know. i was wondering why he was using inline May 30 22:40:20 cause he's got a linke May 30 22:40:22 link May 30 22:40:32 kk May 30 22:40:33 sounds logical to use an for a link ;) May 30 22:40:38 :D May 30 22:40:59 # May 30 22:40:59 Mojo.Log.error("OK %j", results); May 30 22:40:59 # May 30 22:41:12 what does %j represent in that log ? May 30 22:41:14 haeffb! May 30 22:41:26 that's printf like formatting i guess May 30 22:41:34 does Mojo.Log.error("OK %j", results.rows); give anything? May 30 22:41:40 never heard about %j but i would assume it's for json style formatting May 30 22:41:46 %j is JSON object May 30 22:41:59 bingo :) May 30 22:42:07 sounds interesting :) May 30 22:42:07 you know whats funny May 30 22:42:14 all that work for nothing. May 30 22:42:27 haeffb: it returns undefined May 30 22:42:38 you can't see the image swap, because your thumb is on the button and you cant see it anyway! haha May 30 22:43:20 ok, time to get some sleep May 30 22:43:24 good night everyone May 30 22:43:32 same here. nn May 30 22:43:33 nite May 30 23:16:25 JenP: try Mojo.Log.error("Ok %j", results.SQLResultSetRowList); May 30 23:16:30 kk May 30 23:17:50 haeffb: still comes back undefined May 30 23:19:07 and Mojo.Log.error("Ok %j", results.rows.items(0).Sum); ??? May 30 23:20:00 error: Uncaught TypeError: Cannot call method 'items' of undefined May 30 23:22:04 this is what i have haeffb: May 30 23:22:05 http://pastebin.com/wkZqHVa4 May 30 23:29:56 doh! May 30 23:30:18 function (transaction, results) { // success handler May 30 23:30:29 line 7 May 30 23:30:40 s/b just results? May 30 23:30:55 but it's on line 5. May 30 23:31:01 We need better debugging May 30 23:31:09 i need to repeat it in both? May 30 23:31:27 I've got some sort of a messed up uncaught typeerror as well May 30 23:32:36 haeffb: when i change it to function(transaction, results) i get May 31 00:01:55 get what? May 31 00:02:24 Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15 May 31 00:02:47 hey May 31 00:02:52 this.wb = this.controller.get('webview'); May 31 00:03:19 this.controller.get('webview').mojo.openURL('http://www.google.com'); May 31 00:03:22 i mena tis one May 31 00:03:31 if i do this in the setup, it doesnt really do anything May 31 00:03:40 any ideas why i can't load openURL in setup? May 31 00:04:42 nvm got it May 31 00:04:47 just put it in attribute May 31 00:17:33 JenP: are you getting the OK log still? May 31 01:01:04 haeffb yeah i am May 31 01:16:19 Hey there. Anyone has experience with the scrollTo function? May 31 01:17:27 any idea why this does not work: this.controller.get('scroller1').scrollTo(320,0,true); May 31 01:21:48 anyone? May 31 01:30:40 i also tried this.$.scroller1.scrollTo(320,0,true,true); May 31 01:35:31 come on guys. any idea is helpful May 31 01:38:52 add "pretty please" to the end of it ? May 31 01:39:18 see - that's a terrible idea May 31 01:39:20 i also tried that ;-) haha May 31 01:39:21 and not very helpful at all :( May 31 01:40:06 at least i know someone read it ;-) May 31 01:40:16 true May 31 01:47:36 maybe now some who can help? May 31 01:47:38 any idea why this does not work: this.controller.get('scroller1').scrollTo(320,0,true); May 31 01:58:27 :-( May 31 02:01:55 Need to add a mojo to it May 31 02:02:19 this.controller.get('scroller1').mojo.scrollTo(320,0,true); May 31 02:02:35 yeah i triyed that. i dont get an error message anymore. but nothing happens May 31 02:02:52 Then you've set it up incorrectly May 31 02:03:00 Because that definitively works. May 31 02:03:13 I use it in the side scroller in my app. May 31 02:04:05 i use this.controller.get('scroller1').mojo.scrollTo(320,0,true); in an htmlTap function May 31 02:04:47 Try -320 May 31 02:05:05 oh. good idea. let me see May 31 02:05:43 nope May 31 02:05:54 Does your scroller actually scroll? May 31 02:06:27 yes it does. it also snaps. its a horizontal scroller May 31 02:06:52 Yeah, so does mine...and that command works. May 31 02:06:58 strange May 31 02:07:08 i try to rename the scroller May 31 02:07:16 maybe i used the id before May 31 02:07:20 That's how it's done. So your html button tap listening event might be messed up. May 31 02:08:10 yeah! that was it. i simple renamed it. and used -320 May 31 02:08:25 thanx a lot. again May 31 02:08:40 For future reference, the word is "thanks" May 31 02:09:05 If I take the time to help with a question, the least you can do is take the time to write the complete word. May 31 02:09:12 ok. or maybe "thank you" May 31 02:09:33 for sure. sorry. May 31 02:11:03 may i ask you another question? May 31 02:11:08 Sure May 31 02:12:10 it works fin now. it scolls to the position. but wehn i scoll back (swipe left) it doesn't snap anymore. May 31 02:12:33 only when i swipe to that position the snaping stays May 31 02:12:59 How big is the div width? May 31 02:13:07 960 May 31 02:13:13 3 pages you can say May 31 02:13:42 i want the user to be able to swipe and to tab on the button to change the pages May 31 02:13:50 Do you have widths set on each div inside of the scroller? May 31 02:14:18 yes i did. the withs are each 320 May 31 02:14:40 The snap is sometimes very weak. May 31 02:15:20 What I did and what works a bit better is to make the entire scroller div width 950 and then each div inside it 290ish May 31 02:15:34 Seems to tighten it up a bit May 31 02:16:05 ok. thank you. i try that May 31 02:17:23 i think thats enough for today. have a good night/day May 31 02:22:45 hi all May 31 02:34:56 apple pie May 31 02:35:07 sounds good. May 31 02:35:13 yup May 31 02:35:43 I'm debating whether to wait till js services to rewrite my apps May 31 02:42:25 js services? May 31 02:42:31 si May 31 02:42:38 What's that? May 31 02:43:00 Services written in javascript basically May 31 02:43:18 Seems kind of pointless. May 31 02:43:31 why do you say that? May 31 02:43:55 Because it's not that different from just making a javascript class to use in your application. May 31 02:44:59 sorta kinda May 31 02:45:14 that's basically what I did May 31 02:45:41 Same music playing file is in BroadCAST Radio and RadioTime May 31 02:45:48 Just moved it on over. May 31 02:46:02 they reside on the other side of the service bus, and are always running May 31 02:46:31 We...need...java...services. May 31 02:46:44 why.... May 31 02:46:57 they being keeled off May 31 02:47:04 java is kinda bloaty May 31 02:47:13 bpadalino: But very powerful May 31 02:47:28 And would allow for a bunch of android apps to be ported over May 31 02:47:37 nah, no android apps May 31 02:47:45 and js services are supposed to be faster on the phone than cpp services May 31 02:48:02 bpadalino: Why no Android app ports? May 31 02:48:32 i guess maybe your models and controllers may be able to stay the same, but views would all change, right ? May 31 02:48:33 js services plus low level network access is win May 31 02:49:01 but it just doesn't seem worth the while May 31 02:49:09 bpadalino: The main of the Android app is really just layout with a java service running behind it. May 31 02:50:03 The only thing that would need to change would be the layout. But because Java is already a web application, layout can easily be changed to tie into WebOS. May 31 02:50:49 eh .. i just don't see it happening :( May 31 02:51:28 well, the java craps being removed from the phone iirc May 31 02:51:30 Which is sad May 31 02:52:00 I'm going to try to push for it. May 31 02:52:24 i think the focus really should be on web .. and it seems that's where they want to go and focus May 31 02:52:29 yup May 31 02:52:29 web technologies .. May 31 02:52:33 web languages May 31 02:52:44 web gremlins... May 31 02:52:50 absolutely May 31 02:53:09 bpadalino: java is an integral part of the web May 31 02:53:22 i don't think it's very integral at all May 31 02:53:28 same May 31 02:54:32 i also tend to think the whole sdl/c++ stuff is just a bandaid for now until there is a better standard for web -> lower layer stuff May 31 02:54:47 now, there are certain cases where it's useful, like enterprisy stuff, but besides that May 31 02:54:53 Well, you're welcome to think that, but, it is. May 31 02:54:58 :) May 31 02:56:06 do you feel webos should have adopted the NPAPI stuff and exposed that to the public ? May 31 02:56:13 * haeffb curious: to which part of the web is java integral? May 31 02:57:00 haeffb: servlets May 31 02:58:27 eh .. i think most commercial sites are moving away from embedded plugins .. flash is kind of the only exception, but it seems to be a divisive issue May 31 02:58:49 A servlet runs server side. Not embedded. May 31 02:59:06 oh, the enterprisey stuff May 31 02:59:23 as opposed to PHP or ... ? May 31 02:59:39 think gotomypc May 31 02:59:43 what do you need java to do that stuff for in webos ? May 31 02:59:45 A bunch of different techs May 31 02:59:53 when I think of javaweb I think of that **** ENDING LOGGING AT Mon May 31 02:59:56 2010