**** BEGIN LOGGING AT Fri May 07 02:59:56 2010 May 07 03:13:31 * haeffb has 2 UK and 1 Canada download May 07 03:15:32 go haeffb May 07 03:16:19 April sales much lower than March May 07 03:16:33 mine too haeffb May 07 03:17:04 that whole "featured" thing was a real boost... May 07 03:17:21 I know! it was awesome when my app was featured May 07 03:17:41 JenP: preware 0.9.99 is up ... May 07 03:17:54 really rod? I'll look it up May 07 03:18:00 JenP: testing feed May 07 03:18:07 release candidate for 1.0 this weekend hopefully May 07 03:18:13 cool! May 07 03:20:12 what's wrong with this dialog box? http://pastebin.com/RDpKQHiB May 07 03:20:23 I'm trying to push a system restart on button push May 07 03:23:27 is that an undocumented service? May 07 03:24:14 no May 07 03:24:15 one sec May 07 03:24:39 what's it (not) doing? May 07 03:24:40 haeffb: april sales 50% lower than march =( May 07 03:24:55 haeffb it's not restarting the app May 07 03:25:33 that "looks" like it's supposed to reboot the device. May 07 03:25:59 lol yeah i know... May 07 03:29:04 hmm not finding anything on it on the site though May 07 03:31:49 * CTLAdvance has 8 uk, 4 canada, 2 germany and 1 spain downloads May 07 03:31:54 hello everyone May 07 03:32:03 hi CTLAdvance May 07 03:33:40 LoneStar - our sales are down too but no groundbreaking app releases yet May 07 03:33:50 since bing wallpaper search May 07 03:34:02 and people wont pay $1 for obama May 07 03:34:14 so sales are down May 07 03:37:43 CTLAdvance: the was the goldman sachs short selling our apps May 07 03:37:50 the = it May 07 03:38:45 excuse my grammatical errors, multi-tasking May 07 03:42:03 hi adora! May 07 03:42:44 JenP: what are you wanting it to do ? May 07 03:43:03 haeffb_pre: I want to restart the phone on a button press May 07 03:43:45 do you get any error msgs? May 07 03:43:57 no May 07 03:46:31 palm://com.palm.power/shutdown works? May 07 03:46:46 oil: well apparently not May 07 03:46:53 you try luna-send? May 07 03:47:01 no May 07 03:47:47 i'll read up on it May 07 03:48:19 is it even possible with the API to restart the phone progamatically? May 07 03:48:30 http://webos.pastebin.com/BanT0ZBW May 07 03:48:33 yes...there's that restart app May 07 03:49:08 what restart app? May 07 03:49:17 preware does it with ipkgservice May 07 03:49:26 Reset Button May 07 03:50:12 preset reset May 07 03:50:37 preset reset? May 07 03:51:06 another reset app May 07 03:51:19 oh ill look it up May 07 03:52:30 preset reset uses palm://ca.canucksoftware.systoolsmgr May 07 03:52:56 his service May 07 03:53:27 rwhitby: I love how when you start a typed search in preware it shows in the header...very cool May 07 03:54:04 lol May 07 03:59:41 rwhitby is great that way... May 07 03:59:58 (oil gets no love) May 07 04:00:39 anyone think Canadians can download or purchase US apps? May 07 04:00:40 lol May 07 04:00:53 i've got Canadian sells May 07 04:01:09 no, have to select Canada May 07 04:02:41 haeffb: http://git.webos-internals.org/?p=applications/preware.git;a=commit;h=5d03414c779f02194b737538502e60a309fbfcc7 May 07 04:02:43 :) May 07 04:03:22 will chat with chuq tommorrow, confused about all the restrictions that regional apps have or don't have May 07 04:03:26 lol you go oil... May 07 04:05:04 does anyone get the "too many cards" open error still...? May 07 04:05:18 * oil rarely does May 07 04:05:34 but i dont use the web browser all that often May 07 04:06:20 hmmm... May 07 04:11:30 Ok found where I got that code from...in phone\app\controllers\app-assistant.js May 07 04:54:17 muahahah May 07 05:47:23 goooood morning.. webos ;) May 07 05:47:29 ey Adora how is day.. May 07 05:48:01 Roy-Pre101: still haven't had time to post on webos101.com.. but will DO it.. ;) May 07 05:57:14 hey Roy-Pre101... have registered on webos101.com with thomi_ch.. but now the username is "Thomi ch".. why that? May 07 05:58:44 ok Roy-Pre101.. if it need to be.. no prob.. i can login with thomi_ch anyway.. May 07 06:58:44 webos is sleeping ..... 8-) May 07 09:09:56 good morning May 07 09:40:28 morning May 07 13:08:54 Research: where to look and how much is enough? May 07 13:09:32 hey haeffb May 07 13:10:45 hi swisstomcat May 07 13:10:58 * haeffb sitting in a land surveyors workshop today and tomorrow May 07 14:09:45 oh, that doesn't sound like fun haeffb May 07 14:24:30 that's why I brought my laptop... May 07 14:28:45 Section 6b subsection 2 topic 43, what to do when you can't find the surveyor's pin that the site description claims was there... May 07 14:31:56 morning all May 07 14:45:07 so here it's near evening.. :) day mostly gone.. May 07 14:46:04 Rick_work: so, you're here too? May 07 14:47:52 noaXess: where u at? May 07 14:48:03 switzerland.. as swisstomcat May 07 14:48:14 hey swisstomcat.. was up on your apps? still beta? May 07 14:48:23 oh do you know swisstomcat personally? May 07 14:48:40 what's that sport that combines surveying and cross-country running? May 07 14:49:07 orienteering or something like that? haeffb, are you training for that? May 07 14:51:22 sugardave: where the heck did you encounter that sport? May 07 14:51:43 "Orienteering is a family of sports that requires navigational skills using a map and compass to navigate from point to point in diverse and usually unfamiliar terrain." May 07 14:52:27 sounds more like military training May 07 14:53:35 LoneStar99: jep.. May 07 14:54:00 we are in the moment to only two official dev's in switzerland May 07 14:54:40 noaXess: can you access the app catalog? May 07 14:54:43 even there are other swiss people here in this channel :) May 07 14:55:00 LoneStar99: what you mean exactly? from the phone? May 07 14:55:30 yes from the phone it works.. just opened it now May 07 14:57:12 noaXess: what apps do you see "region"? May 07 14:58:21 LoneStar99: sorry.. don't understand.. should i search any app to test if i see it? May 07 14:58:57 my regional settings are language english and switzerland as country May 07 14:59:18 try "coloroo" May 07 14:59:36 not found.. May 07 14:59:46 so not available for OTHER countries, right? May 07 14:59:53 yeah May 07 14:59:57 just US May 07 15:00:00 why? May 07 15:00:06 why not for world? May 07 15:00:26 * haeffb is training for whatever life throws at me. May 07 15:00:32 noaXess: will be made soon May 07 15:00:38 aha :) May 07 15:01:31 noaXess: what if you have a direct link to a US app? what happens? May 07 15:02:09 hi lonestar May 07 15:02:12 hallo noaXess May 07 15:02:21 howdy swisstomcat May 07 15:02:59 LoneStar99: hm.. we can try.. May 07 15:03:14 LoneStar99: whould you send it over email? May 07 15:03:25 the link :) May 07 15:06:25 http://uoid.me/app2 May 07 15:07:31 the app above has access to 2,500+ apps May 07 15:07:51 coloroo has only US as the country (preware) May 07 15:08:02 but not sure if the direct link works on non-us phones May 07 15:13:16 swisstomcat: I am trying to figure out if a user with a non-us phone can purchase a US app, if the direct link to the app is provided.... May 07 15:14:42 i don't think that's possible May 07 15:15:01 it will probably say "this app is not available in your country" May 07 15:15:54 yeah, that is what i am thinking May 07 15:16:25 need to ask chuq some specific questions regarding that May 07 15:16:54 swisstomcat: how many apps are in app catalog you can access? May 07 15:17:06 let me see May 07 15:18:07 where do i see a number? May 07 15:18:34 517 May 07 15:18:45 oh ok May 07 15:18:47 thanks May 07 15:19:07 the other phone shows 2148 May 07 15:19:14 uh oh, chuqui is here... May 07 15:19:17 here comes chuq .. hide the puppies! May 07 15:19:18 yeah May 07 15:19:31 chuq eats puppies? May 07 15:20:25 heh, ask chuqui about the app catalog first activation algorithm which determines your level of access based on your sister's boyfriend's cat's age May 07 15:20:38 hey, rod! May 07 15:20:53 hi chuqui May 07 15:20:53 (wince) May 07 15:20:57 chuqui: what about the app catalog first activation algorithm which determines yourlevel of access based on your sister's boyfriend's cat's age May 07 15:21:00 ? May 07 15:21:29 chuqui: are Palm app icons fair game for modification/reuse? May 07 15:21:58 * rwhitby is going to have to buy an unlocked German GSM Palm Pre Plus, have it shipped to the US for first activation, and then have it shipped to Australia. May 07 15:23:01 and then sacrifice said cat to the gods of the app catalog .... May 07 15:23:09 rwhitby: that sounds nuts May 07 15:23:34 why not send it to space as well May 07 15:23:59 and then, maybe then, I'll be able to buy apps on my main phone (of course I'll still have to use a US www.simon.com giftaccount to pay for them) May 07 15:24:01 hey chuq May 07 15:24:02 look! a puppy! May 07 15:24:08 chuqui: for instance: http://img687.imageshack.us/i/capturesgu.png/ May 07 15:24:52 I think those icons are okay... May 07 15:25:00 swisstomcat: found anything like www.simon.com in .de yet? May 07 15:25:07 and morning, all. Except those of you for which it's afternoon and evening. May 07 15:25:22 how is everything in palm land today? May 07 15:25:39 morning chuqui, ya know I loves ya May 07 15:25:41 rwhitby: not yet .. but i've heard of people using a virtual creditcard May 07 15:26:57 at the moment I need to buy apps on my sprint pre, then copy them across to the phone that I actually use. and do that again every time there's an update to said apps. May 07 15:27:32 same here May 07 15:27:41 Palm is about normal for palm today... May 07 15:27:54 I need to capture the Enter key in a FilterList / FilterWidget. I can do it by listening for keydown on document/window, but not for my widget by id or a containing div by id.... May 07 15:28:35 don't really want to capture everything in document/window... is there a better way? May 07 15:29:08 swisstomcat: if it wasn't something that would be just too easy for warez folks to use, I'd write an application that rsynced an appdir across wifi to a device with a matching ssh key May 07 15:29:50 rwhitby: like I used to be able to send apps by bluetooth with my Palm devices... May 07 15:29:56 it would be much easier if you "just" could buy apps everywhere May 07 15:30:12 haeffb: or "beaming" over IR May 07 15:30:22 but i'm sure palm is aware of that .. i've pestered them enough .. right, chuqui? :) May 07 15:30:43 swisstomcat: oh, I don't we've pestered them nearly enough ... May 07 15:30:45 right, that's what I was thinking of... May 07 15:31:15 you may have pestered chuq enough, but there are others at Palm that haven't had enough pestering yet. May 07 15:31:54 haeffb: yeah, I'm still trying to find out who is behind the first activation idea ... May 07 15:33:04 meanwhile, it's time for a kernel upgrade which should fix the camera issue May 07 15:34:38 hy are the apps not not for the whole world?... why are there restrictions? May 07 15:34:46 I have encouraged people around here to extend the catalog to everywhere. it's not as easy as I wish it was, so it's not flipping a switch to make it happen. May 07 15:35:12 you know, even though I designed and implemented it, I still think OTA end-user kernel upgrades in Preware is a pretty damn awesome thing May 07 15:35:40 rwhitby: yes, i just upgraded to the latest kernel .. very cool May 07 15:35:51 rwhitby: so is my smoked filet mignon. May 07 15:37:14 mmm - smoky flavour May 07 15:37:36 mmmm...overclocking.... May 07 15:38:56 mmmm ... paid apps May 07 15:39:11 this seems kinda hackish to keep from capturing Enter in other scenes... May 07 15:39:13 if (Mojo.Char.isEnterKey(event.keyCode) && this.controller.stageController.activeScene().sceneName === 'intro') { May 07 15:39:15 yep, no delay in camera. it pays to take notice of "mystery bug" comments in Palm's kernel patch and propagate the 360MHz IVA2 restriction when overclocking too .. May 07 15:50:49 swisstomcat: wanna translate another app...? May 07 15:50:58 sure May 07 15:51:03 open source... May 07 15:51:12 in that case fre May 07 15:51:13 e May 07 15:51:21 sure May 07 15:51:23 bring it on :) May 07 15:51:37 I am finalizing Done for submission to catalog. May 07 15:52:27 i mean in that case the translation will be free May 07 15:53:53 hey halfhalo May 07 15:56:41 hola May 07 15:57:25 So appently my power went out last night at my house May 07 15:57:47 Only reason I know this is because when it came back on all the computers/electronics in my room turned on May 07 15:58:06 And damn is my printer loud May 07 15:58:52 And now to figure out how to pay for my camera I want before june 15th May 07 16:00:08 it's crazy how it's only 2 weeks since the developer days .. seems so much longer May 07 16:00:29 yeah May 07 16:00:33 oh son of a.... May 07 16:00:38 grabbed the wrong phone May 07 16:01:56 last developer days at palm as an independent company May 07 16:02:19 I seriously doubt that they would stop doing them May 07 16:02:31 i'm sure they wont May 07 16:03:03 the first and only one when they where still an independent company May 07 16:03:36 two browser crashes... May 07 16:04:23 probably caused by the flash plugin :) May 07 16:05:22 no kidding =) May 07 16:05:37 prices of iPad in UK are ridiculous: WiFi Models: 16GB / 32GB / 64GB ? £429 / £499 / £599. 3G versions: 16GB / 32GB / 64GB ? £529 / £599 / £699 May 07 16:05:56 i'll gladly wait for a webos tablet :) May 07 16:06:05 lies May 07 16:06:17 got to to be one dumb bloke to pay those prices May 07 16:06:47 This is europe were talking about... May 07 16:07:00 just import one from the US May 07 16:07:21 $633.745 for the crappies one WTF May 07 16:07:31 crappiest May 07 16:07:34 yeah May 07 16:07:42 import forsure May 07 16:08:55 my opinion: the ipad shows a glimpse into the future .. but we are not there yet May 07 16:09:18 it's a version 1.0 product.. just getting started. May 07 16:09:28 yup May 07 16:09:36 that's why i'm waiting May 07 16:09:43 for pie? May 07 16:09:48 webos tablet May 07 16:09:53 oh May 07 16:09:57 I'm waiting for pie May 07 16:10:03 noaXess: Sorry, the wiki uses _ to separate words in the page titles, so... May 07 16:10:04 pie sounds good. May 07 16:10:07 Not sure what the fix is. May 07 16:10:09 mmmmmm pie May 07 16:10:18 * halfhalo sends chuqui some of his pie May 07 16:10:19 pumkin pie? May 07 16:10:21 See, my view is I can have BOTH an iPad and a webOS tablet, it/when it happens. May 07 16:10:36 look, a puppy May 07 16:10:49 Yes, there is a puppy here, and? May 07 16:11:04 halfhalo: He's peeing on your power strip! May 07 16:11:17 no, thats the OTHER puppy May 07 16:11:27 this one is just scared of everything May 07 16:11:58 i'm sure skunkworks is already working on a webos tablet May 07 16:12:01 Now the question is why the hell are there dogs in an IT office May 07 16:12:11 and the answer is because my work is awesome May 07 16:12:20 they have dogs at google May 07 16:12:44 and dogs here at CSUN as well May 07 16:12:55 i even have kids at work .. because i work at home :) May 07 16:13:00 ipad at UK prices is just plain wrong, but people are dumb enough to pay such exuberant prices May 07 16:13:16 bbl May 07 16:13:20 Meh, I played with the ipad here and came away less than impressed May 07 16:14:07 i see the iPad Like an Brick version of the iPhone May 07 16:14:33 Well, I'm not saying its bad, its just... stale May 07 16:14:59 OH SON OF A.... May 07 16:15:07 Left my video files on my mini May 07 16:15:08 http://en.wikipedia.org/wiki/File:Motorola2900BagPhone.JPG May 07 16:15:54 ok anyone have a working example of draggable elements in webos? May 07 16:17:53 got to love Russian justice Pirates "freed" = "killed" May 07 16:30:30 man i cant get my head around a basic concept of server-side scripting May 07 16:30:51 BigBiff: what you trying to do? May 07 16:31:34 ok, heres my question - when does the script execute? when a user interfaces with it? or immediately upon loading the file to the server? May 07 16:31:43 scenario: May 07 16:31:56 you using PHP? May 07 16:32:02 ya May 07 16:32:17 it executes when the webpage is loaded May 07 16:32:47 so if my php file is only there for a curl function, then loading that info into a db May 07 16:33:16 the curl function will only work when your page is loaded May 07 16:33:18 it only fires when the user accesses it? May 07 16:33:20 hmm May 07 16:33:28 yeah May 07 16:33:58 unless you have some sort of unix crontab automatically executing it May 07 16:34:11 ya, that's what i mean May 07 16:34:57 so without that, there's no advantage to using php as opposed to just doing my own ajax / sql on the device May 07 16:36:25 which for my app requires to ajax requests per item, and i have lots and lots of items May 07 16:36:28 unless you have a web service running on a server, which a device needs to access May 07 16:36:31 to = two May 07 16:37:30 what does your app do? May 07 16:37:34 as of now, i can tap on the item to "update" it synchronously, or i can update it in groups May 07 16:38:01 gathers info on river levels from the usgs May 07 16:38:20 each "item" is a gage? May 07 16:38:24 i've said this before, but, the app works great for my needs May 07 16:38:26 yes May 07 16:38:37 but if i ever want to distribute, i need to include every state May 07 16:38:47 & you're getting info from how many gages at a time? May 07 16:39:08 the most i've tried is around 30 * 2 requests per May 07 16:39:33 and without wifi, that takes around 12 seconds May 07 16:39:48 what info are you getting per ajax request? May 07 16:40:08 cubic feet per second on the 1st request, gage height in feet on the 2nd May 07 16:40:17 2 different urls May 07 16:40:42 & why would you get that info for every gage in 50 states at once? May 07 16:41:16 i wouldnt - but i also have a gps reference May 07 16:41:30 you can set it to 10 - 280 miles May 07 16:41:48 driveable distance - usually returns (where i live) around 40 rivers May 07 16:41:59 & that's too many? May 07 16:42:09 and that's just whitewater - i havent included flatwater May 07 16:42:19 it's just slow May 07 16:42:35 i finally bought the iphone app that does the same thing, basically May 07 16:42:46 and it's fast - it has to be coming from a server May 07 16:42:54 with cached data May 07 16:43:50 it's obvious that it is making only one call - updating an entire state (80 or so rivers * 2 measurements) May 07 16:43:52 email me your app & I can offer suggestions... May 07 16:44:12 cool - i guess i should make it pretty? May 07 16:44:15 hehe May 07 16:45:07 not for me...pretty before it goes in catalog... May 07 16:45:58 ok - u just gotta keep in mind that this is my first attempt at any kind of programming May 07 16:46:07 so go easy on me May 07 16:47:27 getting info and having most processing taking place on server is the way to go May 07 16:47:58 so to the original question - php - without the unix crontab - the script wont execute to fill the database until it's accessed May 07 16:48:21 it would be cool to make one call, and the list is filled May 07 16:48:49 unless there is another way to automate an PHP script... let me think May 07 16:49:12 it would need to update about every hour May 07 16:49:27 unix crontab forsure May 07 16:49:40 i'll look into it May 07 16:49:47 the most efficient way May 07 16:50:34 have a php script which crontab runs every 2 hours and works great May 07 16:51:22 http://urloid.com/app2 May 07 16:52:09 that app uses a php which parses info from a rss feed every couple of hours using crontab May 07 16:59:40 cool May 07 17:00:02 ok fellas - time for class - as always, i appreciate your advice May 07 17:06:33 hey May 07 17:06:42 how do i make textbox refocus? May 07 17:07:00 this.controller.get('txtBox').mojo.focus(); doesnt do it, people still have to click on the textbox May 07 17:09:02 If only there were some site that had info! http://webos101.com/Code_Snippets#Focus_a_TextField_from_a_Button_press: May 07 17:09:17 Although, it uses mojo.focus(), did you stop the other event? May 07 17:20:50 Roy-Pre101: using webos101 to learn more about dragging May 07 17:21:02 Thats a horrible idea May 07 17:22:14 halfhalo: you have any experience with draggable elements in WebOS? May 07 17:22:27 Sadly, no May 07 17:22:36 I want to play with em, but no times May 07 17:23:50 k, will try to get something working and will let you know May 07 17:24:35 LoneStar99: Ah, I still haven't written up the other dragging method May 07 17:24:46 Using the standard HTML events. May 07 17:24:49 That's what I use. May 07 17:25:26 yeah, had some standard javascript that worked once, but wanted to make it more mojo-like May 07 17:26:02 have you encountered any problems with standard javascript drag events? May 07 17:26:45 nope May 07 17:27:42 ok, might just go that route, just need it something quite easy May 07 17:28:07 you using something like this: http://www.switchonthecode.com/tutorials/javascript-draggable-elements May 07 17:29:20 Wow, that's very complete. May 07 17:29:25 But, yes, same events, I believe. May 07 17:29:53 ok thanks May 07 17:30:17 I should look that over more carefully to see if there are other concepts to steal but basically that. May 07 17:30:29 Will link to that from my webos101.com dragging page. May 07 17:33:01 Roy-Pre101: will work on another solution then add it to webos101 May 07 17:34:01 OK. I'm writing one now May 07 17:34:06 Look over it and you can edit it. May 07 17:35:28 k May 07 17:43:20 http://webos101.com/Dragging May 07 17:43:40 hopefully that helps some. May 07 18:06:18 thanks Roy-Pre101 May 07 18:13:34 "Writing Legal Descriptions" May 07 18:13:48 haeffb: for what? May 07 18:14:03 land boundary descriptions May 07 18:14:29 Roy-Pre101: does the code sample you wrote work as is? May 07 18:14:42 haeffb: seems like fun May 07 18:26:34 lol May 07 18:27:14 Roy-Pre101, are you still here? May 07 18:34:20 I know, everyone wants to be me today... May 07 18:37:18 lol May 07 18:37:33 i still need 7000 more downloads to get on leaderboard =-| May 07 18:37:39 I can use some help lol May 07 18:37:58 I released it last month, so I think I need to wait May 07 18:38:41 what app? May 07 18:51:09 how do I set transparency for the background-color of a div in CSS? May 07 18:54:39 "opacity:0.7;" May 07 18:54:42 background-color:rgba(255,0,0,0.5); May 07 18:54:51 ignore LoneStar99 unless you want the whole div translucent May 07 18:55:15 also test what I wrote, I am not sure if it works in webOS. it does work in firefox and safari May 07 18:55:21 it's a CSS3 command May 07 18:55:24 danke May 07 18:56:05 if that doesn't work, you're stuck making a 1px translucent PNG with the color you want :P May 07 18:57:22 works May 07 18:57:29 awesome. May 07 18:58:38 VincentLaw: what does "background-color:rgba(255,0,0,0.5);" do? May 07 18:59:32 compared to opacity:0.5; ? May 07 19:00:47 opacity:0.5 applies to the entire div... May 07 19:01:09 red-green-blue-alpha gives a color with transparency May 07 19:02:03 oh ok May 07 19:02:31 opacity: no color simply applies transparency... May 07 19:04:27 to everything in the div... ?? May 07 19:04:57 will test it right now May 07 19:05:54 the rgba(xx,xx,xx,xx) can be applied anywhere you use a color. May 07 19:06:25 different transparency for border, padding, etc, if you so choose. May 07 19:11:56 haeffb: ok instead of it appling universally to the entire div... May 07 19:13:07 rightey-o May 07 19:13:20 Now discussing whether the word "property" should be in a deed... May 07 19:13:45 nice\ May 07 19:18:57 haeffb: eh? May 07 19:19:25 haeffb: carl marx is your real estate agent? May 07 19:21:21 Roy-Pre101: you still around? May 07 19:24:29 land surveyors workshop May 07 19:25:26 LoneStar99: Back May 07 19:26:04 Roy-Pre101: trying to get your drag sample working... May 07 19:26:04 LoneStar99: Oh, the code doesn't exactly work as-is. I should have modified it to. May 07 19:26:30 That just gives you the coordinates. You need to set up an element you can apply the x, y to. May 07 19:26:41 I could modify that to work, too May 07 19:27:55 Roy-Pre101: "setup' in "MyAssistant.prototype.setup = function() {}" ?? May 07 19:28:48 Yeah, that works. May 07 19:29:01 I should add some HTML to that sample. May 07 19:36:16 The sample I pulled it from is doing some more complicated things so... May 07 19:46:16 Roy-Pre101: is this right http://pastebin.com/fRuNb7r0 May 07 19:46:42 no May 07 19:48:19 http://pastebin.com/cU9XPdjh May 07 19:48:33 You were mixing prototype style with object declaration May 07 19:49:00 lol May 07 19:51:21 Could have redone it the other way May 07 19:52:06 oh ok, what i though was missing the prototye stuff =) May 07 19:52:11 Mmmmmmm May 07 19:52:17 I has cheezburger and coke May 07 19:52:19 and hulu May 07 19:53:03 http://pastebin.com/4Wkjvur3 May 07 19:53:28 Then you need to set dragger's style.left and style.top May 07 19:53:34 THE CODE May 07 19:53:38 IT BURNS?!?! May 07 19:54:48 $("dragger").style.left = x + "px"; May 07 19:55:16 You have to adjust for the difference between the click and the origin. May 07 19:56:48 where do i add "$("dragger").style.left = x + "px";" ?? May 07 19:57:17 draggingHandler? May 07 19:58:27 ok got it May 07 19:58:35 works May 07 19:59:25 Im out of ranch May 07 19:59:34 this is time for... THE THEIF May 07 20:04:38 Roy-Pre101: http://pastebin.com/1ArfcKqW May 07 20:04:49 do you want me to edit the wiki? May 07 20:05:57 halfhalo: what you gonna steal? May 07 20:06:09 LoneStar99: Go for it May 07 20:06:21 Anything you can do to make that sample more self-containted is godo May 07 20:06:42 Roy-Pre101: ok will do May 07 20:07:41 thanks for your help May 07 20:08:06 Shirley. May 07 20:09:18 I stole ranch May 07 20:09:22 lotsa ranch May 07 20:11:02 lol May 07 20:11:09 ok, wtf May 07 20:11:20 the cleaning crew is in here right now May 07 20:11:20 nice May 07 20:11:28 busted May 07 20:11:37 its 1 in the afternoon May 07 20:12:31 and theres a dog in the office who is scared shitless May 07 20:13:45 but I have my nice headphones with me, and hulu May 07 20:17:37 what sort of dog? May 07 20:17:44 Roy-Pre101: done http://www.webos101.com/Dragging May 07 20:17:55 no idea, but its a big black one May 07 20:18:15 he was rescued from the pound May 07 20:18:52 rehi May 07 20:19:34 ola May 07 20:34:28 * haeffb needs to toggle visibility of a div May 07 20:34:45 and that is hard.. why? May 07 20:35:45 its... not? May 07 20:35:57 exactly May 07 20:36:38 how do I tell whether it's visible or not? May 07 20:37:07 ummm.... check if its... there? May 07 20:37:12 why do you not know if its visible? May 07 20:37:35 never mind. May 07 20:41:17 Anyone here using the PDK May 07 20:41:34 I'm using it May 07 20:41:49 By any chance are you using it with visual studio? May 07 20:42:12 or visual studio with the pdk plugin? May 07 20:42:22 No, I'm using Textmate and the terminal. May 07 20:42:29 On a Mac. May 07 20:44:14 very nice May 07 20:44:19 thanks May 07 20:44:38 I dont think there is alot of PDK penetration yet compared to the Mojo SDK May 07 20:45:28 I agree. I've been meaning to write up a few things about some of the samples I've written using the PDK on webos101. I just haven't gotten around to it yet. May 07 20:58:47 hey guys May 07 20:59:17 hey May 07 20:59:23 why is that this.myPhotoDivElement.mojo.centerUrlProvided('images/pre_01.png', 'images/pre_01_thumb.png'); May 07 20:59:33 can not be used in .prototype.setup May 07 20:59:53 I am using UIWidget's imageview example May 07 21:00:05 it seems that I have to click on first button to get the images initialized May 07 21:00:10 i can not do it in setup May 07 21:08:24 Nyceane: can you do it in activate() ? May 07 21:15:20 nvm, i found a way May 07 21:15:29 ImageViewAssistant.prototype.aboutToActivate May 07 21:15:48 thanks tho May 07 21:17:27 Robdor: Let me know if I can help at all May 07 21:18:07 Roy-Pre101, is there anyway to force a left transaction? May 07 21:18:13 onLeftFunction May 07 21:18:19 but call it from somewhere else May 07 21:18:32 What is a left transaction? May 07 21:18:32 so i can reuse my function rather than write another one May 07 21:18:37 left swipe May 07 21:18:53 Oh... sure, you can send any events you want. May 07 21:19:10 Call the handleCommand directly if you want. May 07 21:19:17 Roy-Pre101: I think why I've been putting it off is that I don't really know what to start with or what kind of granularity the PDK section needs. May 07 21:19:45 There's another way to send events, I think. Might even be on webos101.com May 07 21:19:46 hmm May 07 21:20:39 I would just call my eventHandler directly... May 07 21:20:41 Robdor: What do you think might be most useful? A simple introduction/tutorial? Or maybe a breakdown of the important sections in an app? Or perhaps just document the most important functions. Can take any approach. May 07 21:20:54 ...with whatever event.xxx parameters the function needs. May 07 21:21:52 huh... Never tested create project with the latest Komodo plugin. doesn't work May 07 21:24:56 Roy-Pre101: A tutorial would be nice. Maybe some kind of a recipes section that has small explanations of things like using ortho mode in opengl and rotating the display and event coordinates of the device. There's just so much to talk about because the PDK is so generic it's kind of hard to pinpoint specific things that might be important. May 07 21:25:45 Robdor: I understand. The SDK side is kinda the same way. It's grown organically as people have discovered pain points. Tutorial is a fantastic place to start. May 07 21:26:02 And you can just create wiki links to the parts you think people may want to fill in later. May 07 21:27:52 Hi there May 07 21:28:57 I have troubles with Lists in Ares, anyone here who has some experience with that? May 07 21:31:33 http://yvettesbridalformal.com/index.htm May 07 21:31:36 MY EYES May 07 21:32:01 amiroo: I've worked with them May 07 21:32:07 Did you put them in a scroller? May 07 21:32:14 If not... well... they don't work very well May 07 21:32:25 yes i did ;-) but this is not the problem May 07 21:32:36 i want to change the data inside an item May 07 21:33:13 dinamicly May 07 21:33:15 halfhalo: That's a joke, right? May 07 21:33:20 no sorry May 07 21:33:25 No.... no its not May 07 21:33:35 amiroo: webos101.com May 07 21:33:36 My faith in humanity is gone May 07 21:34:28 ok. thx. i give this site a try. but don't think i didn't try to google for it or to search in developers.palm.com May 07 21:34:29 ;-) May 07 21:35:01 Just FIY http://developer.palm.com/distribution/viewtopic.php?f=55&t=6982 no answers :-( May 07 21:35:46 look up the docs on using lists May 07 21:35:49 on webos101.com May 07 21:36:34 Templarian: I tried to generate a new project and it failed for me. May 07 21:36:37 omg! i think i found it May 07 21:36:38 With the plugin May 07 21:36:41 Debuggingnow. May 07 21:36:46 amiroo: OMG! May 07 21:37:04 I searched the whole day! May 07 21:37:08 nothing May 07 21:37:16 i think this is what i am looking for May 07 21:37:16 this.listModel.items[i].newInfo = someNewDataToUpdateIntoMyListItem; May 07 21:37:16 $('myListId').mojo.noticeUpdatedItems(0, this.listModel.items); May 07 21:37:27 amiroo: Yep May 07 21:37:40 That's one way. May 07 21:38:02 that easy. Thank you guys! i make a test now May 07 21:38:20 i know there are other ways. but this is the way i was looking for May 07 21:38:43 This is how I do it: May 07 21:38:44 MyAssistant.prototype.ajaxSuccess = function(response) { May 07 21:38:44 this.listModel.items = response.responseJSON; May 07 21:38:44 this.controller.modelChanged(this.listModel); May 07 21:38:44 } May 07 21:39:00 but the other way is more precise. May 07 21:44:55 cannot read property "items" of object :-( May 07 21:44:58 for this line May 07 21:44:59 this.listModel.items[i].newInfo = someNewDataToUpdateIntoMyListItem May 07 21:45:15 i changed newInfo to my item name May 07 21:45:39 and i to the specific item index May 07 21:55:11 Sorry to bother you guy. why can't I just do this? May 07 21:55:12 this.$.list2.items[3].title = "something"; May 07 22:04:44 You can, it just won't know you changed it. May 07 22:05:10 You can assign a name to the list model. May 07 22:05:11 Use that. May 07 22:05:41 Here's what I use in an Ares project: May 07 22:05:43 this.listModel.items = inResponse; May 07 22:05:43 this.controller.modelChanged(this.listModel); May 07 22:06:00 where listModel is the name I assigned themodel. May 07 22:06:13 In the list properties. May 07 22:06:20 amiroo: see? May 07 22:06:36 ohhh May 07 22:06:44 i did not assigned a modelName May 07 22:07:29 i'm getting xml in inResponse May 07 22:07:34 can i use that too? May 07 22:07:38 i guess not May 07 22:09:42 but i can assign a complete new model, right? like this.listModel = ....... May 07 22:10:05 and then this.controller.modelChanged(this.listModel) May 07 22:10:41 amiroo: no May 07 22:10:50 i wish i could use this.listModel.items = inResponse; but and don't thnk this might work with xml May 07 22:11:14 amiroo: no, you'll have to convert the XML into json May 07 22:11:32 too bad. May 07 22:11:44 spend a whole day to make my php create that xml haha May 07 22:12:46 this would be much easier without ares May 07 22:14:58 haeffb: even when my list has listModel as name? May 07 22:17:55 amiroo: You cannot replace the listmodel object itself or you have severed the link to the model. May 07 22:18:15 So when you tell Mojo to notice the change to the new model it doesn't know who that model belongs to so it ignores it. May 07 22:18:35 You can only replace its contents May 07 22:19:29 so there is no simple way to make this work May 07 22:19:30 this.$.list2.items[3].title = "something"; May 07 22:19:44 Sure. May 07 22:19:45 i just found a xml2json script May 07 22:19:49 is there? May 07 22:20:21 this.$.list2.model.items[3].title = "something", I think. May 07 22:20:31 But you -still- have to tell mojo the list changed. May 07 22:20:44 So, shortcut: May 07 22:20:44 with modelChaned May 07 22:20:53 assign a name to the model in the list properties May 07 22:20:59 check May 07 22:21:00 :-) May 07 22:21:04 And do: this.listModel.items[3].title = "something" May 07 22:21:06 Like I told you before. May 07 22:21:12 list2Model May 07 22:21:16 whatevah. May 07 22:21:43 Templarian: Having a problem May 07 22:21:59 Used the komodo plugin to create a new app but I'm getting an error. May 07 22:22:31 palm-generate is throwing an error: palm-generate: invalid app id May 07 22:22:45 Roy-Pre101: no my problem. that would be you. May 07 22:22:49 hahaha May 07 22:22:56 yes, but I don't see what's causing it. May 07 22:23:03 post your app info May 07 22:23:24 not* May 07 22:23:35 Yea, what name are you trying to use. May 07 22:23:54 com.dynaptic.webosroundup May 07 22:24:09 I think it is the json around it May 07 22:24:25 yeah, suspecting so. May 07 22:24:41 During the creation I only pass 3 values... May 07 22:25:02 Which are version and id and something else then I overwrite the appinfo.json. May 07 22:25:08 http://webos.pastebin.com/CqXsd6Br May 07 22:25:21 The new setup adds the new fields. May 07 22:26:18 would the phone being blank do anything? May 07 22:26:25 maybe... May 07 22:26:34 blank string should work though May 07 22:26:50 it's the only thing that pops out for me May 07 22:26:51 Does it work with other id's? May 07 22:26:53 nope, deleted that line May 07 22:27:06 copyright symbol? May 07 22:27:25 other ID's fail May 07 22:27:27 hey guys May 07 22:27:39 how can I programmatically trigger a phonecall? May 07 22:27:54 Roy: i think i sould not bother you. looks like you have some difficulties yourself May 07 22:28:03 It is not the copyright symbol May 07 22:28:07 I removed it May 07 22:29:01 Leave the defaults in what happens? May 07 22:29:54 weird... just compared the appinfo to mine and I see no differences (in json) May 07 22:30:11 http://webos.pastebin.com/nUZP2V5G May 07 22:30:18 IT fu*********ing works! :-) May 07 22:30:25 THANK YOU ROY :-) May 07 22:30:51 amiroo: Welcome May 07 22:30:52 err... deleted my pastebin so my email isn't online... woops! May 07 22:31:01 Templarian: Hmm, lemme see. May 07 22:31:49 works May 07 22:32:54 * Templarian hits Roy-Pre101. May 07 22:33:05 :P May 07 22:33:14 Still doesn't explain why the one it made for me doesn't work! May 07 22:33:59 hum May 07 22:34:04 too long of an app id? May 07 22:34:05 wait a second. May 07 22:34:15 maybe I'm just an idiot. May 07 22:34:16 (which would be lame) May 07 22:34:43 I'm doing palm-generate . with that appinfo.json in the folder. May 07 22:34:55 The copied one from the default doesn't work either. May 07 22:35:00 So, maybe I'm calling palm-generate wrong May 07 22:35:14 palm-generate May 07 22:35:17 However, komodo failed generating my project with the parameters I specified. May 07 22:35:28 so that's why I'm trying manually. May 07 22:35:59 if komodo made it, it should be the src folder May 07 22:36:14 Templarian: So, here's the bug... I put in the parameters you see in the appinfo.json I pasted and Komodo failed to make my project. May 07 22:36:23 The palm-generate stuff you can ignore. May 07 22:36:30 That was me trying to see why it failed. May 07 22:38:19 Roy-Pre101: right... May 07 22:38:37 * Templarian closes bug with "By Design" checked. May 07 22:38:44 this is on OS X, it gave a [JavaScript Application] error May 07 22:38:55 It's supposed to throw an error? May 07 22:39:20 Never in an alert box. May 07 22:39:26 All mine print to my output. May 07 22:39:31 It's in an alert box May 07 22:39:38 same error with create new scene. May 07 22:39:42 Throws an alert box. May 07 22:39:47 Restart komodo. May 07 22:39:50 'failed to create scene' May 07 22:40:17 I put try catches around everything as to not lockup anything so yea. May 07 22:40:26 Mmmmm May 07 22:40:37 I've restarted. We'll see what hapens now May 07 22:40:56 click 'add scene' May 07 22:41:00 Get popup: May 07 22:41:05 [JavaScript Application] May 07 22:41:10 Error: Failed to create new scene May 07 22:41:21 restart mac? May 07 22:42:06 hmm, could be a bad komodo project. May 07 22:42:16 Will delete the project and restart it. May 07 22:42:29 I did copy back my appinfo.json file that komodo made. May 07 22:42:59 hmm... yeah, that appinfo.json is bad May 07 22:43:13 what is wrong with it? May 07 22:44:00 bah and humbug. May 07 22:44:12 Starting with blank appinfo.json and will manually fix it. May 07 22:44:58 Sounds good. May 07 22:45:06 http://www.youtube.com/watch?v=GXyuLN4TcRc <- So making this my ring tone. May 07 22:50:04 * Tibfib thinks Templarian should use this instead: http://www.youtube.com/watch?v=rMLFkHdbjLE&feature=related May 07 22:51:26 lol, epic but no. May 07 22:54:37 LoneStar99: Thanks for the update to the dragger. May 07 23:01:13 Are they still making scrubs May 07 23:07:08 mannnnnnnn... does anyone else's pre start acting like it is at 100Mhz every once in a while? May 07 23:08:14 note to self: Push scene in stage assistant May 07 23:10:39 Tibfib: When making a phone call, yes May 07 23:11:44 reality9110: my pre is going crazy! gonna doctor it and see if it fixes it.... if not, new pre time! May 07 23:11:59 * reality9110 shrugs May 07 23:19:12 Hmpf, my manual scrollers ain't workin' too hot. May 07 23:24:32 * Tibfib battery pull fixed the issue,,, for now. May 07 23:26:46 hmm... May 07 23:26:57 vertical-snap on my scroller isn't working. May 07 23:27:43 vertical doesn't work, either. May 07 23:27:45 hrm May 07 23:27:50 free kinda works May 07 23:28:14 but it always snaps back to the top. May 07 23:28:22 I am doing something wrong, aren't I? May 07 23:29:26 hmm...Ah... May 07 23:30:23 Yes, you are. May 07 23:30:51 I don't know if anyone can get snap to work... May 07 23:31:05 I have it working horizontally May 07 23:32:01 I'm trying a vertical snap May 07 23:32:09 I've removed the snap and gone to free. May 07 23:32:20 I can see my vertical page below but it always snaps back to the top. May 07 23:32:32 maybe I should have started with something smaller. :/ May 07 23:43:30 oh, I set up the snap elements all wrong. May 07 23:43:37 But since I disabled them, that's not the only problem May 07 23:47:40 I'm trying to work on list scrolling performance. What is the best way to improve list scrolling performance on long lists? May 07 23:48:15 catalystmedia: tell the users to overclock >.< May 07 23:48:47 Haha, that would do it I suppose :p May 08 00:46:29 is there a way to get aptana to stop complaining about mojo specific stuff? May 08 00:49:27 in html & css? May 08 00:52:29 yes May 08 00:52:47 good question May 08 00:53:05 you can exclude individual errors... May 08 00:55:52 where? May 08 01:06:33 Yeesh, this is messed up! May 08 01:08:37 woohoo, emulator rebooted. May 08 01:09:35 feh. May 08 01:09:53 I modified the horizontal scroller sample to be a vertical scroller and it works just dandy. May 08 01:10:01 Yet mine won't work at all. May 08 01:14:15 it must have been messed up HTML. May 08 01:14:21 I don't know. :P May 08 01:14:29 zsoc: window/preferences/aptana/editors/XXXX/validation May 08 01:17:03 oh, fudgly. May 08 01:17:16 You can't set the scroller container to larger than the screen or it doesn't scroll. May 08 01:17:23 Taller. May 08 01:17:30 Horizontal apparently works fine. May 08 01:17:32 Vertical... no. May 08 01:28:00 hi all May 08 01:28:07 JenP: Howdies May 08 01:28:12 hi roy May 08 01:28:55 jenp May 08 01:28:59 great icon May 08 01:29:03 hi haeffb May 08 01:29:13 great! which one? May 08 01:29:54 the tablet one May 08 01:30:16 I've made some minor modifications, but I really like it... May 08 01:30:22 cool May 08 01:30:37 well send him an email with the changes you want and he'll make up the sizes you need May 08 01:30:56 I'll always have the size you need, JenP ;) May 08 01:31:27 lol...yeah...kinda doubt that...but you keep telling yourself that...(fl) May 08 01:31:51 already done May 08 01:32:02 paint.net is cool... May 08 01:32:07 haeffb: awesome! May 08 01:32:12 well i can't wait to see it May 08 01:32:20 unless he doesn't want me messing with his work... :) May 08 01:32:33 lol he said it's cool May 08 01:33:11 Well tell Josh I said "Thanks!" I really appreciate the help. May 08 01:33:28 Josh said "no problem" May 08 01:34:17 so haeffb why do you think the auto repeat background function cause "too many cards" open error... May 08 01:34:39 i'm not 100% sure it's absolutley that app, but i think odds are good May 08 01:35:06 creating scenes and/or listeners that aren't deleted? May 08 01:35:31 oh?! well i'll check those, thanks! May 08 01:41:05 for a color icon in showBanner, you need to add a miniicon in appinfo.json (16x16) May 08 01:41:30 oh i didn't know you could get a color one to show May 08 01:41:33 Hum... May 08 01:41:40 Finally got vertical-snap scrolling working. May 08 01:42:04 Now adding a horizontal scroller to the vertical scroller... the horizontal one acts like it's on free horizontal scroll instead of snap. May 08 01:44:49 roy, do what you did for the vertical one, but sideways... May 08 01:47:05 haeffb: Zowie, thanks! May 08 01:47:19 * Roy-Pre101 turns down the sarcasm machine. May 08 01:47:33 Was set a little too high there. May 08 01:47:49 I tried that, seems close, but not quite there. May 08 01:51:04 Also, apparently, you can set the mode in the model May 08 01:53:31 whoops, apparently getting the case right on all the letters matters. May 08 01:53:39 or not... May 08 01:53:44 dang, I thought that was it. May 08 02:01:40 Ragh! May 08 02:04:35 morning May 08 02:07:03 hi rod May 08 02:09:37 Humm... OK, it's definitely me. I cut out my HTML, CSS and JS and I can nest the horizontal in a vertical. May 08 02:09:53 Is there a limit on how long a CSS selector can be? **** ENDING LOGGING AT Sat May 08 02:59:56 2010