**** BEGIN LOGGING AT Sun Mar 28 02:59:56 2010 Mar 28 03:00:13 rwhiby: losing loads of cash Mar 28 03:02:37 rwhiby: gonna release my search Mar 28 03:03:05 open source Mar 28 03:06:56 looking for a way to catch a left-right right-left swipe on my scene. Anyone have a good method for doing that? Mar 28 03:15:31 rwhitby: how readable? Mar 28 03:16:06 haeffb_pre: readable enough for something you will see as a directory on the USB drive Mar 28 03:16:35 i.e. number of milliseconds since the epoch is not what I'm thinking of :-) Mar 28 03:16:38 I mean, will unix epoch seconds work? Mar 28 03:16:38 haeffb_pre: gonna release the api for the most accurate results in search Mar 28 03:16:54 haeffb_pre: that's what I'm using at the moment. Mar 28 03:17:04 yyyymmdd-hhmmss Mar 28 03:17:44 will need a timezone on that too, in case you do the save in one timezone but want to restore in another. Mar 28 03:17:56 LS99 search of what? Mar 28 03:18:35 (-xx.x) Mar 28 03:18:50 I hope you mean +/- Mar 28 03:18:57 is seconds relevant Mar 28 03:19:03 http://urloid.com/palm8 Mar 28 03:19:46 +/- is relative. Mar 28 03:20:09 haeffb_pre: +/- for timezone Mar 28 03:20:31 + 5 is - 19 of the prev day...? Mar 28 03:20:51 or some such Mar 28 03:21:19 it also needs to be a string that I can easily use as an input to Mojo.Format.formatDate() Mar 28 03:21:46 haeffb_pre: I guess you don't deal with timezones much :) Mar 28 03:22:00 nope Mar 28 03:22:19 the format needs to be able to handle everywhere in the world, including the Chatham Islands, which have a GMT+13:45 timezone Mar 28 03:22:28 mine is always the same Mar 28 03:23:06 or -11:15 of the day before... :) Mar 28 03:23:07 i emailed palm that the search system they have is poor, so put together something faster and get more relevant results Mar 28 03:24:25 i assumed that rwhitby would be interested, but get no answer Mar 28 03:25:19 LoneStar99: it requires a server connection, right? Mar 28 03:25:30 no Mar 28 03:25:50 so it's open source code that does it on the device? Mar 28 03:25:51 rwhitby: I'd have to go back and review docs for js date obj and formatDate Mar 28 03:26:09 well yes Mar 28 03:26:29 which I don't really want to do on phone Mar 28 03:27:38 LoneStar99: where's the code published? Mar 28 03:28:05 it is not published Mar 28 03:28:20 but I'm guessing using a delineator like - would be pretty easy to work with. Mar 28 03:28:44 but unix secs would be easiest Mar 28 03:29:24 the rss feed is like tons of MBs my search is lite Mar 28 03:31:03 like 9,669KB Mar 28 03:31:13 yyyy-mm-dd-hh-mm-ss-p-hh-mm Mar 28 03:31:23 I'm gonna use ISO861 combined basic format. YYMMDDTHHMMSS[+-]HHMM Mar 28 03:31:45 javascript search through 10 meg of data is under a second for a full text search based on our work on simple big book and simple bible. Mar 28 03:31:48 T ? Mar 28 03:32:01 u think? Mar 28 03:32:21 yes, that's the ISO standard for combining dates and times. Mar 28 03:32:57 People in America should read it sometime, they might stop writing MM/DD/YY if they did. Mar 28 03:33:01 is it an actual T to delineate? Mar 28 03:33:05 yes Mar 28 03:33:24 it's an international standard. not known about in the US? Mar 28 03:33:30 I always use yyyy-mm-dd Mar 28 03:33:47 that's the extended ISO861 date format you're using there. Mar 28 03:33:52 so sort by date is auto Mar 28 03:34:10 well, it's an alphanumeric sort without any further manipulation Mar 28 03:34:14 http://en.wikipedia.org/wiki/ISO_8601#Calendar_dates Mar 28 03:35:39 automatic with default sort in most apps... Mar 28 03:35:48 20100328T140503+1030 Mar 28 03:36:17 now to massage that into something that Mojo.Format.formatDate will print Mar 28 03:36:55 one second precision should be good enough for this application Mar 28 03:37:04 20100329T140503-1230 Mar 28 03:37:09 so if a search be mde better with javascript, why haven't one of yous made it Mar 28 03:37:22 -1330 Mar 28 03:38:22 the RSS feeds are so overloaded Mar 28 03:39:51 have something that took alot of times to make better, and it was not javascript Mar 28 03:40:01 it was hardwork Mar 28 03:41:03 what rss feed? Mar 28 03:41:21 I came in late, sorry. Mar 28 03:41:59 rss-feed weights as much 300MB+ file Mar 28 03:42:07 omg....http://www.geekologie.com/2010/03/paying_girls_to_play_video_gam.php Mar 28 03:42:27 LoneStar99, please pretend I have no idea what you're talking about. What is it you're trying to do? Mar 28 03:42:28 hello JenP Mar 28 03:42:39 hi LoneStar99 Mar 28 03:43:31 Not trying do anything, just gonna release the source to a better app store search Mar 28 03:44:28 ahhhh Mar 28 03:44:45 There's LOTS of ways to do a better app store search. Mar 28 03:45:23 yes of course has anyone done it? Mar 28 03:45:37 i took the initiative Mar 28 03:46:03 Right. That's good. Congrats. WebOS Schools has a pretty nice one. Mar 28 03:46:11 there's the Palm demo site Mar 28 03:46:29 We coded one, but realized that it wasn't going to pull enough traffic to generate any revenue and backed off. Mar 28 03:47:03 If you're doing one ON THE PHONE, then congrats on actually moving forward on it. Where can I look at your app? Mar 28 03:48:12 WebOS school is awesome but the search sucks Mar 28 03:49:27 rick-home: gonna give boys the best search, just be patient Mar 28 03:51:18 * rwhitby wonders who the "boys" are, and why JenP gets excluded from having the best search Mar 28 03:52:08 lol....ahhhh i'm just one of the boys..... Mar 28 03:52:30 It is rather light, but not sure how much traffic the source will take Mar 28 03:52:51 so need to do some research Mar 28 03:53:36 but it so lite, thank you FreeBSD! Mar 28 03:55:22 so it's web-based. Mar 28 03:55:29 not on the phone. Mar 28 03:55:31 k Mar 28 03:55:54 you will be able to what ever you want with it Mar 28 03:56:50 LoneStar99: that contradicts the answer you gave me earlier about needing a connection to a server Mar 28 03:57:19 13:55 rwhitby: LoneStar99: it requires a server connection, right? Mar 28 03:57:20 13:55 LoneStar99: no Mar 28 03:58:08 yes it does, you are correct, need to see how much traffic is involved Mar 28 04:01:25 the RSS feeds are to heavy to make somthime fast Mar 28 04:07:09 rwhitby: if I release this, how much traffic, will we need? Mar 28 04:12:57 LoneStar99: who is "we" ? Mar 28 04:13:14 and why are you grabbing the entire rss feed every time? Mar 28 04:13:32 why not grab the rss feed every "x" hours or something. Palm doesn't update it every few seconds. Mar 28 04:13:43 because magic happens Mar 28 04:13:56 so, you grab it, store it in a local file, and make magic happen against that. Mar 28 04:14:05 nope Mar 28 04:14:16 it's substantially faster and reduces your bandwidth needs, and doesn't hurt PALM with your constant banging. Mar 28 04:14:34 but LoneStar99 you said the RSS feed was > 300 meg a bit ago. Mar 28 04:14:52 yeah if you want the feed Mar 28 04:14:52 you're going to download a third of a gig every time someone does a query? That's insane. Mar 28 04:16:40 download nothing, from alot of work it gets what it wants like magic Mar 28 04:17:32 LoneStar99 there's no such thing as something for nothing. Put up or shut up. Describe what you're thinking, or quit talking about it until you're ready for a private demo. Mar 28 04:19:32 var d = new Date(year, month, day, hours, minutes, seconds, milliseconds); Mar 28 04:20:21 it is like magic, that is what I worked all my life, and I am excited to say that it is magic Mar 28 04:21:04 rwhitby: easiest way to get what you want is to use a delineator & then string.split to get an array that you pop into the Date constructor Mar 28 04:21:33 haeffb: line 15 of http://git.webos-internals.org/?p=applications/saverestore.git;a=blob;f=app/models/functions.js is what I've gone with. Mar 28 04:23:47 awesome I am in Mar 28 04:23:58 hey sinacism Mar 28 04:24:23 Hey whats going on I am creating magic in photoshop Mar 28 04:25:12 first time I popped in to the programmers communitie Mar 28 04:25:13 * haeffb don't do regexp Mar 28 04:25:20 figured I would say niello Mar 28 04:26:31 rwhitby if you don't recognize him, he's the one who did the graphics for us for the banner, and for othello and for snowball and for.... Mar 28 04:27:08 and is the developer of the NSFW app "Tasty Toons" Mar 28 04:27:10 I have been kicking around a penquin idea Mar 28 04:27:23 ???? Mar 28 04:27:32 I didnt develop I did the artwork and color and such Mar 28 04:27:52 yeah pen was cute looking so I am bad to ideating Mar 28 04:27:55 it's got your name on it. Mar 28 04:27:57 rick-home: I recognise sinacism, thanks :-) Mar 28 04:28:41 Thats my girlfriend who put the work into making things work Mar 28 04:28:42 rwhitby: doesn't that code have a Y3K bug? Mar 28 04:28:47 I just make it look nice Mar 28 04:28:57 * rwhitby is working on Save/Restore for Memos Mar 28 04:29:22 rwhitby that is so freakin awesome.... Mar 28 04:29:27 er. Y2.1K? Mar 28 04:29:40 wow save restore for memos that would be great Mar 28 04:29:58 well, save to start with Mar 28 04:30:12 I gotta get some sleep. Brain foggier than usual. Mar 28 04:30:52 I have restored my phone alot and a save would be great on those Mar 28 04:31:08 I am pretty hard on my phone Mar 28 04:32:25 nite haeffb Mar 28 04:32:45 have a good'n haeffb Mar 28 04:35:59 wow Earth 2 on netflicks I used to really be into this show Mar 28 04:39:51 hmm - how to handle newlines in the Memos in the output file Mar 28 04:40:17 rwhitby /r/n ? Mar 28 04:40:38 JenP: my favorite person - finally looking at the code u shared on collapsible dividers. is there something simple i could add to it to make the button work? other than adding lots o different objects Mar 28 04:40:54 sry to interrupt Mar 28 04:41:05 BigBiff how about adding a div with some text in it Mar 28 04:41:12 ok Mar 28 04:41:15 wanna pastebin what you have? Mar 28 04:41:34 o - i havent added anything - just got back to it Mar 28 04:41:44 ah ok...i wondered what happened to you Mar 28 04:41:56 beers - saturday u know? Mar 28 04:42:32 ah kk Mar 28 04:42:53 my bag just came in. Mar 28 04:47:55 hrmm, the bindaseventlistener is undefined Mar 28 04:48:27 ah, i c Mar 28 04:50:41 I saw a blip once a while back on engadget about the ability to gift apps has anyone heard anything on this Mar 28 04:51:48 sinacism: I use a www.simon.com giftaccount to buy apps from the app catalog Mar 28 04:52:23 really I will cheack that out Mar 28 04:53:47 I get a colleague in the US to buy is ($2 fee), and then they transfer it to my name and a US address and phone number that I use. Mar 28 04:56:11 JenP told me Mar 28 04:57:09 thats awesome Mar 28 04:59:16 ok, easier question: what's the easiest way to have a bkgrd image applied to every scene (is a class.create necessary?) Mar 28 04:59:54 add it in css as part of your default Mar 28 05:00:33 so BigBiff: Mar 28 05:00:37 and it goes with body{}? Mar 28 05:00:37 .backdropDefault{ Mar 28 05:00:43 background: url(../images/loadscreen.png) top left repeat; Mar 28 05:00:48 } Mar 28 05:02:25 BigBiff: http://www.webos101.com/Code_Snippets#Adding_a_custom_background Mar 28 05:03:02 you'll like this site...lots of good info...also check out http://www.webos101.com/Code_Snippets#Adding_a_custom_background Mar 28 05:03:14 woops http://www.webos-internals.org/wiki/Main_Page Mar 28 05:06:33 do you know how many different ways i googled that? Mar 28 05:06:40 thx! Mar 28 05:06:43 how many? Mar 28 05:06:47 too many Mar 28 05:06:48 smiles...anytime Mar 28 05:08:16 again - i'm trying to figure this out from the sdk samples - there's always a simpler way than what is in those Mar 28 05:09:22 i was trying to create a new class to name the body element Mar 28 05:09:27 wasnt working Mar 28 05:09:30 what are you trying to do Mar 28 05:10:19 BigBiff: are you able to get the helloworld tutorial running in emu? Mar 28 05:10:25 o ya Mar 28 05:10:28 kk Mar 28 05:10:36 i'm just trying to learn all the elements Mar 28 05:10:42 so if we use that as you base what are you trying to do Mar 28 05:11:08 actually i'm parsing xml data from usgs river guages Mar 28 05:11:15 i've got that going Mar 28 05:11:21 ok Mar 28 05:11:54 just trying to figure the best way to present/hide/filter different rivers by state Mar 28 05:12:03 exploring all the options Mar 28 05:12:52 just PM'd you Mar 28 05:27:24 ah, sqlite can output in HTML format. Mar 28 05:27:35 sinacism: would a .html file be useful for the notes save? Mar 28 05:28:43 I'll dump them in both .sql and .html format Mar 28 05:31:18 k all i'm outta here...ttyt Mar 28 05:34:10 rwhitby jenp said yeah Mar 28 05:36:27 I dont know if that helps Mar 28 05:37:36 I know little to nothing about code and programing Mar 28 05:37:51 I left = = along time ago Mar 28 05:40:05 I cant tell you the difference between the additive and subtractive color method haha Mar 28 06:14:56 is there a way to display files from the USB drive in the webOS browser? A file:// url perhaps? Mar 28 06:28:11 I thought there was a preware app that showed files in the web os similiar to the gui of a home pc Mar 28 06:28:24 folder stucture and such Mar 28 06:30:39 if that what you are refering to Mar 28 06:36:04 I am looking through preware I am sure I saw a file manager that let a user see what file they had on the hard drive Mar 28 06:56:43 anyone here piddled with the pdk? Mar 28 06:58:25 sinacism: yeah, Internalz and FileMgrService, both by JayCanuck Mar 28 07:00:17 tonight I am testing my sound mixer Mar 28 07:08:56 Your daily reminder to go post something on webOS101.com Mar 28 07:09:52 C'mon, someone's gotta have -something- to post. There's been nothing in five days. Mar 28 07:11:22 Roy-Pre101: know if theres any articles on pdk stuff yet? Mar 28 07:11:43 I've started copying up some stuff but there's very little but a skeleton there. Mar 28 07:12:10 PDK could use a lot of fleshing out. Mostly I just have links to interesting articles. Mar 28 07:14:22 I am goign to test the pdk web/js integration stuff tonight Mar 28 07:14:29 my plugin works and works great Mar 28 07:14:42 dont know exactly hwo the js plugin part of it is going to work Mar 28 07:35:28 ron_frown: What's the plugin do? Mar 28 07:37:05 sound mixer Mar 28 07:37:09 because html5 audio is shit =) Mar 28 07:44:49 No kidding Mar 28 08:02:26 boy I hope palm engineers can manage to get some of these piddly bugs worked out Mar 28 08:02:40 and better documentation Mar 28 08:03:50 Wouldn't that be nice? Mar 28 08:04:53 almost done with a new Tasty Toon Tart Mar 28 08:07:44 I understand why it hasnt happened Mar 28 08:07:54 and happy to see ANYTHING helping us on our ways Mar 28 08:08:12 but I think the js <-> pdk brige isnt functional Mar 28 08:11:18 Save/Restore now saves IMs, Text Messages and Memos in HTML format. Mar 28 08:15:10 wow thats a lot of stuff in save/restore awesome Mar 28 08:17:41 sinacism: Go you. Mar 28 08:18:10 rwhitby: Very nice. Mar 28 08:18:28 And it can restore them just fine? Mar 28 08:18:44 Looks like my french translation is ready to go. Mar 28 08:19:15 Wish I spoke french better since a lot of this is going over my head. Mar 28 08:23:15 cool a french translator Mar 28 08:23:29 Roy-Pre101: save only for those ones Mar 28 08:23:52 Ah. Mar 28 08:24:02 Too bad. Mar 28 08:24:24 the PalmDatabase.db intertwined schemas hurt my brain too much. Mar 28 08:25:26 I honestly dont know how you programmers do it looking at all the code and seeing the answers to your questions Mar 28 08:25:37 hurts my brain just thinking about it Mar 28 08:25:47 I need to update the Lighty Web Server to be able to show the files in the saverestore directory. Mar 28 08:26:32 so you can go http://localhost/saverestore/ and drill down the levels to display the HTML files Mar 28 08:28:28 Maybe I'll make Save/Restore depend on Lighty so that I can put links to HTML summary files in the reponses from the actions. Mar 28 08:46:10 I am out have a good'n devs thanks for letting me hang out Mar 28 10:54:48 why is it so hard to buy plain, unlocked phone without any contract? Mar 28 12:37:09 ciastek: which country? Mar 28 12:38:01 rwhitby: poland Mar 28 12:39:25 i know it's possible to buy one in germany, but it's qwertz and there was a problem with custom apn Mar 28 12:40:06 i just wonder why it's a problem to offer unlocked phone to anyone who would like to pay Mar 28 12:41:40 rwhitby: i often get spin-mode-only when loading package information Mar 28 12:43:09 if i quit preware and load it enough times it finally opens Mar 28 12:57:34 rwhitby: should i just get used to it? :) Mar 28 13:11:19 hello.. Mar 28 13:12:39 Bmyers: preware just doesn't like you. Mar 28 13:24:10 hello all Mar 28 13:25:21 anyone on board? Mar 28 13:25:38 on board with what? Mar 28 13:26:24 just wasn't sure if anyone was chatting. Mar 28 13:28:19 I need some help wit a drag concept I am trying to work out, can someone help me? Mar 28 13:28:40 not I. I haven't dragged anything yet. Mar 28 13:30:23 well it's not really about the drag itself, what I am trying to do is figure out a method/concept to fire an event every x amount of pixels during a drag operation. Mar 28 13:34:58 is there perhaps a concept in javascript that can call a function on every multiple of 10, in a for loop counter? Mar 28 13:36:47 ciastek: germany is the only place where you can get an unlocked GSM Mar 28 13:37:01 Bmyers: does it stop on the same package? Mar 28 13:38:31 midtown0089: if (Math.abs(event.x-this.lastfire)>10) { this.lastfire=event.x; this.doFire();} ? Mar 28 13:42:16 dthought, wow, thank you. That is exactly what I needed, how did you come up with that so quickly, I've been banginng my head against wall for days. Mar 28 13:42:45 is it possible to have the filter field in a ListFilter widget also accept input? Mar 28 13:43:12 midtown0089: it's easier to think if you're not banging your head against a wall... Mar 28 13:45:01 * dthought agrees with haeffb Mar 28 13:45:55 if you don't get a solution, stop searching for a while... do other parts first, revisit the problematic part later on. Mar 28 13:46:35 I can't think with this damn Roomba circling around me. Mar 28 13:58:13 Help! this.controller.setupWidget(...) doesn't work on the Ares framework? Mar 28 14:06:39 heya Mar 28 14:06:44 ping roy-pre101 Mar 28 14:11:11 does anyone use the on-line Ares framework? Mar 28 14:12:18 not much, but i've tried it Mar 28 14:12:58 I need a listSelector guru! Mar 28 14:13:24 i would not call myself a guru, but shoot Mar 28 14:14:22 I can't seem to set up widgets using the controller.setupWidget() method Mar 28 14:14:37 haeffb: if you find that person, make ur conversation public Mar 28 14:15:14 Looks like only the attributes set up the gui are applied and no way to override them Mar 28 14:15:22 http://webos.pastebin.com/qfdWxktP Mar 28 14:18:34 it all looks good to me, but get the error at the bottom. Mar 28 14:19:10 first five lines are past of log Mar 28 14:19:19 paste Mar 28 14:30:16 swisstomcat: know anything about CSS ? Mar 28 14:30:37 something to eat, rwhitby? Mar 28 14:31:48 haeffb maybe this.task.folder is undefined Mar 28 14:32:44 swisstomcat: I've just checked in a major UI rewrite of Save/Restore, following along the lines of Preware. it will need significant CSS cleanup. Mar 28 14:32:57 oh, cool Mar 28 14:33:03 haeffb: obviously i can be no help, but maybe can learn from this - what is the necessity of the model's 'value'? Mar 28 14:33:04 not time so far to work on it :( Mar 28 14:33:36 rwhitby: i'll just clone the current version, mine is really old by now Mar 28 14:33:43 swisstomcat: it's come a long way since you last looked :-) I was considering a beta release until I started the UI rewrite Mar 28 14:33:57 you guys are just too fast Mar 28 14:35:38 haeffb: my listselector model has only 1 thing. the choices list Mar 28 14:35:54 in there i have the label and the value Mar 28 14:35:59 * rwhitby bbt Mar 28 14:36:21 how do you set the selected value, then? Mar 28 14:36:37 model should have value and choices Mar 28 14:37:17 and there shouldn't be a problem with additional properties in the choices array, as long as the label and values are there. Mar 28 14:37:19 u use your finger to select list choices Mar 28 14:37:34 but one has to be selected at setup. Mar 28 14:38:46 u mean how to you set a particular label/value as the one selected when you set it up? Mar 28 14:38:50 yes Mar 28 14:39:02 with the value: property in the model Mar 28 14:39:04 set modelProperty to currentID Mar 28 14:39:05 https://developer.palm.com/index.php?option=com_content&view=article&id=1922&Itemid=299 Mar 28 14:39:44 currentID = {some label, value} Mar 28 14:39:48 joetweeply: this.task.folder is not undefined - it's being set as the value in foldersModel Mar 28 14:39:52 this.Model.value = currentID; Mar 28 14:40:14 modelChanged Mar 28 14:40:21 sometime after the widget is set up Mar 28 14:40:31 in .ready or .activate Mar 28 14:40:43 value is a valid model property for listSelector: disabledProperty Mar 28 14:40:48 grrr.... Mar 28 14:40:56 https://developer.palm.com/index.php?option=com_content&view=article&id=1922&Itemid=299 Mar 28 14:41:13 model properties are: value, choices, disabled Mar 28 14:45:18 haeffb the third option in choices has the value attribute set twice... Mar 28 14:51:25 joetweeply: no. the model has a value property of 2143716. this corresponds to the value property of the third item in the choices array. Which is supposed to mean that the ListSelector is setup with that third choice selected. Mar 28 14:52:46 I added the value property to the choices array - it duplicates the id property - because even though the docs say you can change modelProperty of ListSelector widgets, you actually cannot. Mar 28 14:54:27 Ok. this.folders is not an array. Mar 28 14:54:39 it's a hash Mar 28 14:54:56 so, listSelector is stumbling all over it. Mar 28 14:56:54 haeffb: i've seen where people have had troubles with this.somemodel = {choices: [somearray]} Mar 28 14:57:29 this.somemodel.choices = [somearray] does indeed work better for somereason Mar 28 15:00:16 i abandoned my list selector because the behavior was odd Mar 28 15:00:25 here's the workaround, for anyone interested: http://webos.pastebin.com/uMWJqfvy Mar 28 15:01:40 well, not quite the workaround. Mar 28 15:01:43 but closer. Mar 28 15:02:38 how do you do a for ( val in object) without getting everything from the prototype? Mar 28 15:05:14 like this: http://webos.pastebin.com/htJ3kT8A Mar 28 15:05:29 if (obj.hasOwnProperty) {...} Mar 28 15:07:42 hi! can I load a spinner directly in the first index.html withou a Scene? Mar 28 15:09:23 xota: Probably not. Mar 28 15:09:27 haeffb: you are out of my league there - but i'll be interested in seeing your solution Mar 28 15:09:39 Not a webos one. Mar 28 15:09:45 you could roll your own. Mar 28 15:11:36 haeffb: while you're on list selectors- one peculiarity i've seen is that if there is no 'value' in a choice object, Mar 28 15:12:03 BigBiff: I have set up my folders as a hash rather than an array. For instance instead of folders[0] = {label: "No Folder", value: 0} Mar 28 15:12:04 then that particular label becomes a divider label Mar 28 15:12:46 should still work Mar 28 15:12:47 I instead use something like folders['no_folder'] = {label: "No Folder", value: 0} Mar 28 15:12:54 oh Mar 28 15:13:26 again - i believe you're beyond my limited knowledge Mar 28 15:13:28 not exactly that. it's actually using the id field instead of 'no_folder', but the concept is the same. Mar 28 15:13:35 i only know what worked for me Mar 28 15:13:39 so, it's not actually an array. Mar 28 15:13:52 it's an object in javascript. Mar 28 15:14:04 which made the listSelector barf all over it. Mar 28 15:14:09 I have it working now. Mar 28 15:14:13 heh Mar 28 15:14:20 and I've seen that divider label thing before, too. Mar 28 15:14:27 it's kinda spooky Mar 28 15:14:29 is that intentional? Mar 28 15:14:39 would it be a bad idea to exploit that? Mar 28 15:14:51 why would you want to? Mar 28 15:15:09 it looks like a bug to me. Mar 28 15:15:13 i dunno, long list selector, with dividers Mar 28 15:16:28 i spent all day 2 days making a dynamic list selector change from choices in another list selector Mar 28 15:16:44 yeah, I remember. Mar 28 15:16:52 when i got it to work, i was so thrilled - i really didnt care what it looked like - dividers and all Mar 28 15:16:54 heh Mar 28 15:16:58 lol Mar 28 15:17:14 you learn by making mistakes. I learned a lot this morning... :) Mar 28 15:17:41 thanks Roy-Pre101, I only like a spinner, but no problem :) Mar 28 15:18:01 ya but your mistakes look better than mine :) Mar 28 15:18:22 i got no style Mar 28 15:18:34 but im learning so.. Mar 28 15:19:15 haeffb: if you don mind me asking Mar 28 15:19:40 how will you render the other information in that array/hash/whatever after a listTap Mar 28 15:20:02 i've been unsuccessful in that Mar 28 15:20:08 (why i gave up) Mar 28 15:23:24 I am just using the list selector to present a list of folders that the user can choose for this particular task. Mar 28 15:23:42 along with some other properties for the task. Mar 28 15:24:11 when I leave the scene, I will grab the values of all these widgets to set task.folder = this.folderModel.value; etc. Mar 28 15:24:46 so, I don't have to change the model of another listSelector based on the choices in this one. Mar 28 15:24:52 but, I could, if I wanted. Mar 28 15:28:24 so if you wanted to pull chosen value for "privy" Mar 28 15:28:35 in a different funtion Mar 28 15:29:17 this.model.??.privy - this is the part that eluded me Mar 28 15:30:27 this.folderModel.choices.privy Mar 28 15:30:37 [event.index].privy - works in a normal list, but not in listselector Mar 28 15:30:52 well, of the currentChoices Mar 28 15:30:59 oh, if you were in a propertyChange event handler? Mar 28 15:31:03 yes Mar 28 15:31:28 this.folderModel.choices[event.index].privy Mar 28 15:31:58 event.index gives you the index into the choices array of the selected choice. Mar 28 15:32:15 or, is index not in the event? Mar 28 15:32:36 ah. right. Mar 28 15:32:39 only event.value. Mar 28 15:33:39 for (var i = 0; i < this.folderModel.choices.length; i++) { if (this.folderModel.choices[i].value = event.value {...}}; Mar 28 15:34:37 == event.value) Mar 28 15:36:41 so, that's where a hash would come in handy. instead of an array of choices[0], choices[1], ... you could have a hash of choices[value1], choices[value2], ... Mar 28 15:36:56 hmm Mar 28 15:36:57 then it's just choices[event.value] Mar 28 15:37:22 but ListSelector barfs if you try to use a hash instead of an array, as I so brilliantly discovered earlier today. Mar 28 15:37:38 hrmm Mar 28 15:37:40 so, make a hash AND an array Mar 28 15:38:49 there's probably better ways of doing this stuff...I'm just learning as I go, finding something that works. Mar 28 15:40:35 hmm, still no luck with my event.value/event.index - pulling other items out of that array/hash just doesnt agree with me for some reason Mar 28 15:40:56 and ive got the towel in my hand - do i throw it in ? Mar 28 15:41:00 YES Mar 28 15:41:49 no, don't throw the towel!!! Mar 28 15:41:51 ahh relief Mar 28 15:41:54 heh Mar 28 15:42:36 here's an example of what I'm talking about: http://webos.pastebin.com/ypTU1qjh Mar 28 15:43:44 I could use the choicesArray in my ListSelector. Then in the propertyChange handler, use choicesHash[event.value].label Mar 28 16:17:43 Anyone tried out the private beta distribution channel? Mar 28 16:27:51 Adora|1x: You around? Mar 28 16:34:13 Roy-Pre101: I didn't do it, sorry... I'm trying to upload my app to a homebrew channel (precental for example), but I don't know how... I like to create a palm developer account, but if I'm developing free apps, I must pay $99 too? Mar 28 16:34:49 xota: If they're open source, no. Mar 28 16:35:15 It's funny, I was just updating the distribution page. Mar 28 16:35:41 You can also distribute via the Web Distribution on the Palm site. Mar 28 16:36:50 Roy-Pre101: but, at the moment I need a account, really? Mar 28 16:37:06 You need a basic developer account, which is free. Mar 28 16:37:11 I believe. Mar 28 16:37:14 I'm doing it, I'm reading about Certified Diversity Supplier... what's this? Mar 28 16:37:25 I have not tried. Can you update this page with anything you find out: Mar 28 16:37:28 xota: i've seen, that $99 is suspended Mar 28 16:37:31 http://webos101.com/Application_Distribution Mar 28 16:37:43 xota: so you can register for free Mar 28 16:55:04 have you seen that? http://www.to/palm-doomed Mar 28 16:56:01 re! if I don't like to dev payment apps, why I must fill the taxes information? :( Mar 28 17:04:25 ciastek: idiotic article Mar 28 17:05:14 Palm does not need 10,000 apps per month to compete. It needs 10 really good ones per month. Mar 28 17:10:35 haeffb: thank you Mar 28 17:46:25 ahh - back to deciphering collapsible dividers Mar 28 19:42:44 ok Mar 28 19:42:51 so im able to setup a drawer Mar 28 19:42:58 and i can set up a list Mar 28 19:43:25 list in a drawer = simply put the list div within the drawer div? Mar 28 19:43:37 of course not Mar 28 19:44:47 it should work. Mar 28 19:48:12 holy crap Mar 28 19:48:14 it did Mar 28 19:48:18 hehe Mar 28 19:48:32 haha Mar 28 19:48:35 1st time anything has actually been simple since i've begun this venture Mar 28 19:48:41 WOOHOO Mar 28 19:49:03 I know how you feel. Seems like everything I try to do takes an hour, when it should take 5 mins Mar 28 19:49:47 in my case one thing takes 6 hrs - then i stumble blindly upon a solution that shouldve taken 5 minutes Mar 28 19:49:56 like a capitalization error Mar 28 19:51:38 somewhere out there, theyre is a person who can just sit and write the code for anything that pops into his/her head Mar 28 19:51:48 i need some tutoring from that person Mar 28 19:52:45 "an app that monitors your heartbeat in real time? with ultrasound?" Mar 28 19:52:50 "sure i can do that" Mar 28 19:53:23 meanwhile im fighting with a drawer Mar 28 19:53:37 hahahaa, that's how I feel Mar 28 19:56:12 wow.... took me 30 mins to figure out why my list handler wasn't working. jeez Mar 28 19:56:15 hello, has anyone done the flash 10.1 install ? Mar 28 19:56:26 nope Mar 28 19:56:55 the beta? Mar 28 19:58:08 gpgp: is the beta out? Mar 28 20:01:16 ladies Mar 28 20:02:11 yes the beta is out i believe i just downloaded it Mar 28 20:02:24 from where? Mar 28 20:02:47 i was a little scred to do it just from the command line, i dont know enough about the directory structure Mar 28 20:02:56 adobe site Mar 28 20:03:03 link? Mar 28 20:03:23 sorry i am on a different machine now let me look Mar 28 20:04:22 some one in watercooler just told me it is not out, the prerelease seems to be hold on Mar 28 20:04:43 hey ron_frown Mar 28 20:07:32 http://labs.adobe.com/downloads/flashplayer10.html Mar 28 20:07:39 tahts for the beta 3 release Mar 28 20:08:28 oh Mar 28 20:08:34 how is that for palm webos? Mar 28 20:08:50 "The following downloads will install Flash Player 10.1 beta 3 for Windows, Macintosh and Linux desktop operating systems." Mar 28 20:08:56 yeahh.... that's what I cared about. Mar 28 20:09:11 thas my confusion, its a linux OS Mar 28 20:09:24 that has support for mobile devices Mar 28 20:09:34 I wouldn't try installing it Mar 28 20:09:34 then under i now see the link to be told Mar 28 20:09:41 sorry to get hopes up Mar 28 20:09:53 early 2010 is running out Mar 28 20:11:22 well adobe has done it why wont they let us / Mar 28 20:11:53 hey adora Mar 28 20:12:16 gpgp: no one knows what's going on. Mar 28 20:14:15 oh well guess i will wait, thanks Mar 28 20:21:42 g'night everyone Mar 28 20:21:49 cya Mar 28 20:34:39 hey hi,, i needed some documentation on how to use the copy and cut options in the topmost menu og any webOS app Mar 28 20:34:41 hi all Mar 28 20:35:26 hey hi,, i needed some documentation on how to use the copy and cut options in the topmost menu og any webOS app Mar 28 20:35:37 Please help Mar 28 20:36:16 rohit1: is it that you want to use those or create your own? Mar 28 20:37:42 actually i'm porting an app onto pre. The app had it's own cut, copy paste options.. so i want to use my code with the help of the ones already given Mar 28 20:38:09 hmmm sorry that's beyond me... Mar 28 20:38:32 ok.. Mar 28 20:38:48 if i want to use already existing ones then?? Mar 28 20:38:54 can u help with that? Mar 28 20:39:58 i'd look at the command menu documentation on the dev site Mar 28 20:45:14 rohit1: not sure if this is what you mean but this.controller.stageController.setClipboard( string ,true); will copy stuff Mar 28 20:45:25 well "set" it to the clipboard Mar 28 20:50:22 morning Mar 28 20:51:33 rwhitby: hello Mar 28 20:53:43 tibfib Mar 28 20:53:59 how can i use the help in the topmost menu? Mar 28 20:54:16 i mean change and add to it's content? Mar 28 20:57:56 rohit1: the help? the application menu? Mar 28 20:58:08 yes Mar 28 20:58:28 http://developer.palm.com/index.php?option=com_content&view=article&id=1994&Itemid=328#.appMenu Mar 28 20:59:16 thank u Mar 28 20:59:17 :) Mar 28 21:00:14 no problem Mar 28 21:08:19 hi Jen Mar 28 21:08:21 P Mar 28 21:25:40 well im under contract now, offer gets submitted tomorrow morning ;D Mar 28 21:26:01 i hopes me gets this house :D Mar 28 22:36:14 is there any way i can encode my ipk file? Mar 28 22:36:43 as in otherwise anyone can see my apps source code and fiddle around with it Mar 28 22:36:51 so can any one help me out? Mar 28 22:49:09 rohit1: no. Mar 28 22:49:19 never mind. Mar 28 23:11:48 completed a tasty toon alright Mar 28 23:12:49 http://developer.palm.com/blog/2010/03/a-statement-on-the-overclocking-patches/ Mar 28 23:13:40 I have been keeping an eye on this overclock patch and thinking of putting it on my hpone see what happens Mar 28 23:14:00 I'll take it off my pre once 1.4.1 comes ou Mar 28 23:14:02 out* Mar 28 23:14:18 It's not that big of an improvement. Mar 28 23:14:45 I forgot isnt that new update dropping soon Mar 28 23:14:51 no Mar 28 23:15:02 yes Mar 28 23:15:08 ok I have been wondering thanks Mar 28 23:15:43 wondering on the overclock thanks for the insite Mar 28 23:17:04 I push the pre hardcore sometimes and I aint the patient kind Mar 28 23:17:17 like everyone else haha Mar 28 23:17:17 It's nice... but I don't think it is worth the possibility of frying my processor Mar 28 23:17:28 sinacism: Haha, glad to help :P Mar 28 23:18:16 yeah been scared I dig my pre too much to be without for a couple of weeks as I try to explain that the smoke that leaked out isnt my fault Mar 28 23:23:22 I heard these things run on smoke Mar 28 23:48:16 and mirrors. Don't forget the mirrors. Mar 28 23:51:01 I leaked some of the smoke out of my pc a while ago and it never worked again Mar 28 23:56:22 sinacism: it's blue smoke. they put it in at the Si Fab, and if it leaks out then the chip stops working. Mar 28 23:56:59 You drive past a Semiconductor Fab sometime, and look at all the huge gas containers out the back. That's what they make the blue smoke from. Mar 28 23:57:48 so your saying they pipe in the blue smoke inside the rear of the facility Mar 29 00:10:10 what happened to flash Mar 29 00:11:10 I heard adobe is supposed to release something in April Mar 29 00:11:21 sinacism: no, they make the blue smoke out of lots of different chemicals they pipe into the factory :-) Mar 29 00:13:18 haha rwhitby I assume they blow it up the rear of there facility. Mar 29 00:15:11 rolsworth here is a article from engadget http://www.engadget.com/2009/02/16/palm-joins-adobes-open-screen-project-pre-to-support-flash/ Mar 29 00:16:11 i know the pre will support flash. the question is when? it keeps being delayed Mar 29 00:16:43 and it doesn't help sales ;( Mar 29 00:17:57 rols- the delay is what I have been seeing as well. I have been waiting it out and really cant wait specially for the gaming market Mar 29 00:19:30 or a flash animated short like SB Mar 29 00:42:25 anybody alive in here? Mar 29 00:43:31 hi midtown0089 Mar 29 00:44:14 only us chickens breekaaw Mar 29 00:44:51 this may sound like a very n00b question but i gotta ask it. I dont know how to use palm-generate if i have done all my work on Ares Mar 29 00:45:14 i havent found any files on my system so i have no idea the correct syntax i need to use Mar 29 00:46:24 sorry I am a designer I havent messed with any of that before Mar 29 00:47:23 ugh the learning curve on this is so steep Mar 29 00:47:28 i have made leaps on my own Mar 29 00:47:37 and im sure if i work at it hard enough i can figure this out too Mar 29 00:47:46 its just very frustrating because the app is complete Mar 29 00:47:57 i just cant figure out how to make the files i need to upload Mar 29 00:48:49 I think there is a wiki Mar 29 00:49:51 hmmm Mar 29 00:52:07 * RavenBF bangs her head on the desk Mar 29 00:52:12 so so frustrating lol Mar 29 00:52:50 sorry I really have no idea, I just make things look pretty Mar 29 00:53:21 aa rainbow 6 10 bucks thank you steam Mar 29 01:00:33 oooo i just figured something out Mar 29 01:00:39 *claps for herself* Mar 29 01:01:27 right on Mar 29 01:06:30 w00t w000t Mar 29 01:06:38 i just created my IKP file Mar 29 01:06:43 * RavenBF does a happy dance Mar 29 01:08:08 woohoo! Mar 29 01:08:28 * haeffb pumps fist in air for RavenBF Mar 29 01:08:30 all i can say is thank god i am taking a class in unix right now Mar 29 01:08:37 otherwise i would have been lost Mar 29 01:10:27 thank you haeffb Mar 29 01:10:49 hey im new to this, i havent been programming since i was 4.....i started at 26....im 27 now LOL Mar 29 01:16:22 I started with Javascript and CSS in September. Mar 29 01:16:46 what app are you making? Mar 29 01:18:00 hey anyone here have experience using setTimeout in their apps? Mar 29 01:18:05 i'm having an issue... Mar 29 01:19:20 i need to delay the execution of a while loop for a specified period of time, but apparently setTimeout is asynchronous with the execution of the script? Mar 29 01:19:22 this.timeoutStartID = this.controller.window.setTimeout(this.timeToEvent.bind(this), 1000*60); Mar 29 01:20:03 yes that works perfectly for my other app, but like i said i need it to actually delay the execution of the while loop each iteration for a specified time Mar 29 01:20:23 change it from a while loop Mar 29 01:20:42 hmm.. Mar 29 01:20:54 to a recursive function using setTimeout to call itself, increment a counter & stop if counter > XX. Mar 29 01:21:13 i suppose but shouldn't there be a simpler way? Mar 29 01:21:25 why doesn't prototype's function.delay() work? Mar 29 01:21:30 :) Mar 29 01:21:41 I think it's just a wrapper around setTimeout Mar 29 01:22:23 damn... Mar 29 01:22:46 not a js guy.. but this just seems like basic functionality lol Mar 29 01:23:06 even basic had it :-[ Mar 29 01:23:16 no language does what your saying Mar 29 01:23:26 of course they do Mar 29 01:23:43 basic, pascal, cobol, fortran, php, just to name a few Mar 29 01:23:57 you want Sleep ? Mar 29 01:24:12 i want wait_3_seconds(); Mar 29 01:24:17 then continue execution Mar 29 01:24:36 you want sleep then. sleep is evil. Mar 29 01:25:13 you want your entire program to halt and not be usable Mar 29 01:25:36 i'm using a while loop to display a "race" and the race is over in milliseconds. i need to to last a lot longer Mar 29 01:25:51 recursive function with setTimeout. Mar 29 01:25:53 so i need to delay each "frame" Mar 29 01:26:24 i suppose that's the best option. i just can't believe there's no wait() or anything.. *shrug* Mar 29 01:28:49 WOOOHOOOO Mar 29 01:28:51 o sorry Mar 29 01:29:14 just had to do that Mar 29 01:29:30 what happened!?!? Mar 29 01:29:47 just all the sudden lots of things are working Mar 29 01:30:53 Preware just hit the 4000 package mark. Mar 29 01:31:43 wow, it's a great night all around. Mar 29 01:32:06 BigBiff, if you don't mind my asking, why the interest in river gages? Mar 29 01:32:23 im a kayaker Mar 29 01:32:28 know lots of em Mar 29 01:32:38 dont have an iphone :) Mar 29 01:33:32 there's a couple of websites with that type of service Mar 29 01:33:39 but they just have big massive lists Mar 29 01:33:47 pain on a phone Mar 29 01:34:19 hi all Mar 29 01:34:37 so i show river flows, temperature, 24 hour change, water quality if available Mar 29 01:34:40 lots o stuff Mar 29 01:34:51 hey BigBiff Mar 29 01:34:55 hey Jen Mar 29 01:35:12 i havent tried to figure out how to package yet Mar 29 01:35:13 heh Mar 29 01:35:20 function race() { console.log('start race'); race_lap(0); } function race_lap(lap) { console.log(lap); if (lap < 10) race_lap.delay(lap, 10) } // something like that Mar 29 01:36:24 organizing the code and allowing the app to remain interactive is going to work better than sleep() in a while loop Mar 29 01:36:49 well it's a spectator race. there isn't supposed to be any interactivity Mar 29 01:36:51 :) Mar 29 01:37:07 :p Mar 29 01:37:24 maybe they want to cancel? Mar 29 01:37:26 NASCAR!!! Mar 29 01:37:31 lol not really... Mar 29 01:37:43 i hope not, they're betting money! Mar 29 01:37:50 oh well naturally a loop makes the most sense then. if it was F1 then it just wouldn't be good enough. Mar 29 01:38:03 needs more slow corners Mar 29 01:39:26 oh well, i'll just do the recursive function Mar 29 01:40:00 you have to use this.controller.window.clearTimeout(timerVar) to stop it from executing again, right? Mar 29 01:40:05 is that the right syntax? Mar 29 01:41:35 or, just don't set it again when your race is done. Mar 29 01:41:55 oh yea.. duh... Mar 29 01:42:13 thanks for your help guys Mar 29 01:42:41 good luck Mar 29 01:44:18 YES! it works! so much better Mar 29 01:47:14 hi! can I get the innerHTML of a webView page? this is all the HTML code that is showing? Mar 29 01:58:40 xota: i dont understand what you're asking Mar 29 01:59:10 I'm looking for beta testers for Save/Restore - who's in? The first 5 beta testers go to the front of the queue for having their favourite application supported (assuming I can legitimately access those applications) Mar 29 01:59:59 You can find it in the http://www.webos-internals.org/wiki/Testing_Feeds Mar 29 02:03:27 BigBiff: I have I WebView loading (for example google), can I get the google source code? **** ENDING LOGGING AT Mon Mar 29 02:09:14 2010 **** BEGIN LOGGING AT Mon Mar 29 02:44:14 2010 Mar 29 02:44:23 reality9110 is who helped teach me... Mar 29 02:48:09 whats the problem Jen? Mar 29 02:48:35 rick! Mar 29 02:48:40 xota, what are you trying to figure out? Also, there is an IDE plug in for komodo. Mar 29 02:49:13 i've gotten further with the array issue...and weather stuff... Mar 29 02:49:19 bkdown[ccID] = []; Mar 29 02:49:19 good. Mar 29 02:49:27 I'm almost done with the server side stuff. Mar 29 02:49:37 dammit you're fast Mar 29 02:49:39 This is going to be US only for now. Mar 29 02:49:51 that works for me Mar 29 02:49:58 wow freaken awesome rick Mar 29 02:49:58 European weather is "more complex" Mar 29 02:50:29 metric system Mar 29 02:50:38 haha Mar 29 02:52:33 rick-home look at your PM Mar 29 02:55:38 with komodo I only can test in the device? Mar 29 02:56:05 xota you can dev in emu too Mar 29 02:56:55 JenP: I can't see the icon to do that Mar 29 02:58:06 http://www.screencast.com/users/g33kgirl/folders/Jing/media/8be60265-1a1c-4c2c-ad10-4d5b9d1a24f7 Mar 29 02:58:22 xota press the icon the red arrow points too **** ENDING LOGGING AT Mon Mar 29 02:59:57 2010