**** BEGIN LOGGING AT Sun May 23 02:59:57 2010 May 23 03:00:14 except now I need to figure out how to remove 124 from "121, 123, 124, 156" and leave "121, 123, 156" May 23 03:00:42 split()? May 23 03:00:44 thinking about myString.split(",") May 23 03:00:51 yeah May 23 03:00:57 no do split instead... May 23 03:01:11 oh wait, there's a way to do this.... May 23 03:01:11 but then I gotta loop thru the array May 23 03:01:21 I think it's split May 23 03:01:44 or slice May 23 03:01:59 oh yeah, use that instead May 23 03:02:16 cause it reminds me of pizza May 23 03:02:22 and i like pizza May 23 03:02:29 I'm not going to split a slice with you... May 23 03:02:34 if it's just a string, you could just modify it with a regular expression May 23 03:02:52 speak engrish, prease? May 23 03:02:53 I mean if it's just a string of task ids May 23 03:02:57 i sux at regex. May 23 03:03:09 * haeffb too May 23 03:03:09 and it's totally unlike pizza May 23 03:03:33 but i think slice makes a copy of the data May 23 03:03:48 it's like string.replace(text I want to replace, what I want to replace it with); May 23 03:04:02 one of the fews instances of such a thing like that in js May 23 03:04:18 http://www.w3schools.com/jsref/jsref_replace.asp May 23 03:04:39 myles fell off eh? May 23 03:05:21 hmmm...regexp might get tricky because of where that id might be in the order May 23 03:05:23 it was 222 yesterday May 23 03:05:41 O so close.. May 23 03:05:52 GR is at 17823 dl's May 23 03:06:01 uh. there's also an infinitesmal possibility that one of the id's might be 1245 May 23 03:06:05 gotta make it to at 20k to get on the list May 23 03:06:25 I think Done migh make it before July May 23 03:06:38 1245 is different than 124, May 23 03:06:46 true dat May 23 03:06:55 or , 124 May 23 03:06:57 haeffb: why not save it as a json string of an object, then you read it, delete the offending member, write it back May 23 03:07:06 Ok, going with replace this.id + "," May 23 03:08:51 response[i].tasks.replace(this.task.value + ", ", ""); May 23 03:09:15 that's okay until it's the last task in the list May 23 03:09:30 that bastard! May 23 03:09:41 my last idea is MUCH better May 23 03:09:41 why would it want to be last? May 23 03:10:40 please explain save it as a json string of an object May 23 03:10:44 an object whose properties are the task ids....then you can JSON.stringify it, etc. May 23 03:11:23 what are the values of those properties? May 23 03:11:40 or are you saying to store it in the db as a JSON string? May 23 03:11:44 it doesn't matter... '' May 23 03:11:46 yes May 23 03:11:50 that's what I"m saying May 23 03:12:09 and then you can just delete that object property that is the task id May 23 03:13:15 it's a longer string and takes up more space, but keeps you from having to iterate arrays, etc. May 23 03:15:40 i think he's bluff'n May 23 03:16:07 * haeffb wishes what I had this morning would have worked. :( May 23 03:16:32 sugardave: what about using an array & .toString May 23 03:16:45 dont know what u had this morning. i was sailing my boat and must have missed it May 23 03:17:07 haeffb: that's basically what you have already May 23 03:17:42 array.join(',') May 23 03:17:59 string.split(',') May 23 03:18:29 right, now find the task id May 23 03:18:50 loop thru array May 23 03:19:25 right....but I thought you wanted to avoid that May 23 03:19:53 right, but it's getting late & I KNOW that will work. May 23 03:21:47 haeffb, any more pointers to info on the structure of response.days[].events[] ? particullary looking for the alarm/reminder time May 23 03:21:57 so with an array, what is the easiest way to delete a particular index? May 23 03:22:11 splice(index, 1) May 23 03:22:30 ah, cool May 23 03:23:17 PrimerFender: I used to have a dog-eared sheet of paper with it all written down. Suggest you use Mojo.Log and assign some parts of the response to a div in your scene to peek inside... May 23 03:23:31 great, thanks May 23 03:24:18 Bmyers: http://developer.palm.com/distribution/viewtopic.php?sid=b11e601b5c2fefd624dfaaa12488501d&lastaction=login&f=80&t=7239 May 23 03:24:38 I was just setting an alarm for each task... May 23 03:24:48 worked great as long as the app was open May 23 03:25:20 but if the app was closed & multiple relaunch requests happened at the same time (i.e. 3 tasks due at the same time....) only the first would get thru May 23 03:26:01 haeffb: r u using the proxy start stage thingie? May 23 03:26:45 the problem is that the second (& subsequent) relaunch requests hit the app BEFORE it ever even calls the AppAssistant constructor. May 23 03:27:29 sorta WHILE the framework is still launching the app from the first request (think glowing icon or something) May 23 03:27:54 it's not while a stage is being launched. it's while the app is being launched May 23 03:28:16 do u use getStageProxy() ? May 23 03:29:15 so, sounds like the second request is happening before the first request is up enough to do handleLaunch May 23 03:29:18 yes. but it has nothing to do with stages. It's a relaunch request WHILE the framework is IN THE PROCESS of launching the app. BEFORE it gets into the AppAssistant at all. May 23 03:29:46 bad mojo May 23 03:29:52 no shit. May 23 03:30:07 why does that happen with your app? May 23 03:30:09 bad bad mojo. sit, mojo, sit. bad mojo. May 23 03:30:16 why so many alarms? May 23 03:30:26 If I have three tasks, all due at 8am today... May 23 03:30:38 ...if I set an alarm for each one.... May 23 03:30:54 ...bad mojo. May 23 03:31:34 so, now I have a DB table with timestamps & the task id's of all the tasks that need an alarm at that timestamp. May 23 03:31:34 shouldnt your be checking to see if there are other alarms set to go off already b4 u set another one? May 23 03:32:20 * haeffb pauses to think about that. May 23 03:32:33 instead May 23 03:32:42 can he get by with one alarm... ? May 23 03:32:45 just know that you should start your programs first May 23 03:32:56 and then check to see what was due when u wake up May 23 03:33:22 thanks, haeffb that totally worked. May 23 03:33:28 * haeffb banging my head against the table. May 23 03:33:29 oh yeah, and anyway, the whole array string vs object is moot if you set your primary key in the db as both the timestamp and task id column, then you can just delete the row May 23 03:33:52 that table did nothing to you. dont hurt it.. May 23 03:34:24 now just need to figure out how -PT5M == 5minutes before... May 23 03:35:15 PrimerFender: may be some ISO time thing May 23 03:35:24 ooo May 23 03:36:52 sorry i couldnt help u think that thru earlier haeffb. first sail of the season and all. May 23 03:37:25 so, one alarm, eh? May 23 03:37:38 yes. just to wake up at the right time May 23 03:37:52 "Task(s) due. Tap to see..." May 23 03:37:53 then catch all the items that were set for that time May 23 03:38:05 set to go off every day at midnight, plus any time during the day that a task is due... May 23 03:38:23 shit. May 23 03:38:29 that seems much easier. May 23 03:38:39 i'm REALLY lazy.. May 23 03:38:49 me, too, usually. May 23 03:39:26 what went wrong? May 23 03:39:47 select * from tasks where duedate < now or duetime < now + 24hrs May 23 03:40:16 * haeffb still thinking May 23 03:40:47 thats what got you in trouble in the 1st place so take it easy there.. May 23 03:41:01 lol May 23 03:41:23 why are you pulling tasks from the past? May 23 03:41:59 overdue May 23 03:42:08 ah May 23 03:42:16 that's smart May 23 03:42:28 you thought you were gonna get away without finishing them, didn't you? May 23 03:44:07 http://forums.precentral.net/showthread.php?p=2469277&posted=1#post2469277 May 23 03:44:20 that's a description of how it will work. May 23 05:01:16 Getting close. Need sleep. May 23 05:04:11 sleep in no bueno when u r close May 23 05:04:36 in = is May 23 05:17:53 rwhitby you around? May 23 05:31:14 anyone tried the free music ringtones May 23 05:31:34 app May 23 05:31:48 LoneStar99: yep May 23 05:40:42 preware gets alls it's app listings from the official rss feed is that correct? May 23 05:41:50 rwhitby: does it being so large affect the speed of how are apps are displayed? May 23 05:42:32 apps = app listings May 23 05:42:36 LoneStar99: yep, via Packages files on ipkg.preware.org. Preware 1.x keeps it all in memory, and it's already past reasonable limits. Preware 2.x needs to be rearchitected. May 23 05:43:09 memory meaning cached right? May 23 05:43:17 no, memory. May 23 05:43:38 memory of the phone? May 23 05:43:46 Palm RSS -> autobuilder -> ipkg,preware.org Packages files -> downloaded to device -> loaded into memory. May 23 05:45:56 rwhitby: have a system that gets the info from the rss feeds but once they are presented the listings are very much optimized May 23 05:46:45 meaning before they are presented on a device they are optimized. May 23 05:47:53 thinking of releasing the api you guys, would you all be interested? May 23 05:48:34 we could only use that if we could replicate the server side on a preware.org machine May 23 05:49:02 can't design preware to depend on a web service we don't own May 23 05:49:18 got you May 23 05:49:55 but we can certainly talk about interoperability of data formats and service API May 23 05:50:07 but what if the is system is 99.9% ? May 23 05:50:10 so that anyone can set up such a server and make it available to Preware May 23 05:50:51 LoneStar99: the key is that anyone must be able to freely set up a complete competing ecosystem to preware.org without requiring payment or licensing or depending on anyone else. May 23 05:51:17 rwhitby: it will be free May 23 05:51:50 LoneStar99: it's gotta not only be free, but also open source, so that someone else can replicate it elsewhere May 23 05:52:05 otherwise it's a single point of failure May 23 05:53:09 how much redundancy would you all need? May 23 05:53:39 LoneStar99: you're not getting my main point. it's not about redundancy or uptime. May 23 05:54:10 it's the guarantee that anyone can replicate the complete preware.org infrastructure any time they want from public open source repositories, without needing to get permission from the people currently running it. May 23 05:54:41 understand you now May 23 05:55:05 it's a key foundation of everything webos-internals does. May 23 05:55:28 it serves very well from my benevolent dictatorship becoming non-benevolent :) May 23 05:55:53 s/from/for keeping ... from ..../ May 23 05:56:48 and allows the community to implicitly trust the infrastructure and motivations, cause they know they can always replicate it if it goes rogue May 23 05:57:35 myArr.sort(sortFunction()); // does not like array of objects May 23 05:57:56 LoneStar99: (not implying that anyone anywhere has non-altruistic motivations) May 23 05:58:31 rwhitby: k let me work out some quirks and will let you know. May 23 05:59:44 LoneStar99: note that we haven't designed what we need from the service for Preware to be most efficient, so this is fairly premature for us at the moment. May 23 06:11:11 sorry to bug, but i'm just trying to clarify--if that upon installation of the PalmSDK in /opt for OS X, the usb0 interface driver should magically appear? May 23 06:11:53 /driver// May 23 06:16:59 km4c: not that I'm aware of May 23 06:17:24 novacomd talks to the device May 23 06:17:42 there is no network driver May 23 06:17:55 err, sorry; webos-internals reports that 10.4 supposedly recognizes the usbnet application and creates a driver, 10.5 requires buggy software appears not to be working, and 10.6 is definitely unsupported.. May 23 06:18:31 s/software appears/software that appears/ May 23 06:19:49 rwhitby: correct!, the sdk is flawless but i have no iface May 23 06:22:52 or i probably just _don't_ know how to use a mac... =\ May 23 06:30:29 km4c: the usbnet driver is not related to the SDK at all May 23 06:31:00 the SDK does not use such a driver, and does not create such an interface May 23 06:44:16 rwhitby: but i thought it was usbnet on the device that would create the usb0 iface, regardless May 23 06:44:43 yes, but that's MacOSX, not the SDK. May 23 06:44:52 and it doesn't work in 10.6 May 23 06:45:03 i'm in 10.5.2 May 23 06:45:19 dunno about that. I've only ever used 10.6 May 23 06:45:58 the instructions for 10.5 were ok, the "driver package". but i checked the console after reboot and the CDC_USB driver fails... =\ oh well May 23 06:48:57 alright boys need to hit the hay, have bruch in the morning May 23 06:49:33 but of course, the author of the webos-internals page of the "usbnet - howto" explained that the method for 10.5 is insufficient. May 23 10:39:41 hi May 23 14:18:11 hi May 23 14:42:13 hi there May 23 14:42:23 hi May 23 14:42:30 is there an "availble on palm catalog" logo somewhere ? May 23 14:43:43 yeah, i think so May 23 14:44:37 https://developer.palm.com/distribution/viewtopic.php?f=21&t=4041&hilit=catalog+graphics May 23 14:50:51 anyone with a pixi willing to test a little game ? May 23 14:57:45 warpdesign: swisstomcat: someone should copy that up to webos101.com ;) May 23 14:57:52 morning folks. May 23 14:57:59 warpdesign: I thought you were going to send me a copy. May 23 14:58:01 morning roy-pre101 May 23 14:59:50 heh: http://schlockmercenary.com May 23 15:00:56 Roy-Pre101: yes, but I wanted to have a more polished version, squizzing every bug I could find May 23 15:01:12 and it took longer than expected May 23 15:01:21 now I can send you the next version if you want May 23 15:01:59 swisstomcat: thanks May 23 15:06:50 roy-pre101: where would that article fit in on webos101? May 23 15:07:40 animalmemory is up to 32 sales May 23 15:07:52 Hmm, maybe somewhere in the packaging section (which may be unwritten) May 23 15:08:09 There's an icon section somewhere, too May 23 15:10:52 the front-page looks a bit strange to me May 23 15:18:32 roy-pre101: added it to the page: http://webos101.com/Application_Distribution#Useful_Links May 23 15:19:06 Thanks! May 23 15:19:25 swisstomcat: Yeah, JenP's working on it. It's kinda a work-in-progress. May 23 15:19:34 oh, i see May 23 15:19:43 I think I need to jump in and give it structure and -then- let her loose on the design. May 23 15:19:50 it need a "excuse our dust" graphics :) May 23 15:19:53 needs May 23 15:20:02 With a little animated digging man? May 23 15:20:07 heh May 23 15:20:18 yeah, like in the old days May 23 15:20:59 Roy-Pre101: hello ? :) May 23 15:21:13 warpdesign: hello May 23 15:21:27 Installing now May 23 15:21:36 Roy-Pre101: ok, great May 23 15:22:14 warpdesign: the winning dialog is too big to fit on the screen May 23 15:22:39 hmm.. what phone ? May 23 15:22:42 it's ok there.. May 23 15:22:46 pre May 23 15:22:49 weird May 23 15:22:52 it's too big vertical May 23 15:23:23 this is weird.. May 23 15:23:30 oh, now it works May 23 15:23:43 it's ok on the emulator.. did you have some notification displayed maybe ? May 23 15:23:46 check if it's on the first start May 23 15:23:51 I tested both pre & pixi May 23 15:24:09 well, I see no reason: there shouldn't be any difference May 23 15:24:12 but I'll have a look May 23 15:24:18 hmm.. did you make a high score ? May 23 15:24:24 no May 23 15:24:26 ok May 23 15:24:49 i used + May 23 15:25:04 that's weird.. if it ever happens again could you make some screenshot ? May 23 15:25:19 let me try again May 23 15:26:14 hmm.. I noticed the menu options takes the whole screen width.. so clicking on left/right of the options will still activate the menu May 23 15:26:19 this is a minor problem, I'll fix it May 23 15:26:22 it happens on the first start May 23 15:26:33 Well done is cut off May 23 15:26:47 but you can still see the euros, time and redistrubuer May 23 15:26:55 let me see May 23 15:27:12 after having deleted the database, or when first game you mean ? May 23 15:27:21 after removing, reinstalling May 23 15:27:25 yes May 23 15:27:27 alright May 23 15:27:29 let's see May 23 15:27:43 even now, the well done goes up first and comes back down May 23 15:28:15 seems like the transition goes off screen but then jumps back to the right place May 23 15:28:59 ok May 23 15:29:02 now I can see it May 23 15:30:44 hmm.. I think I know.. May 23 15:31:04 I'll check that later, thanks May 23 15:31:21 Roy-Pre101: any first impressions before I go ? :) May 23 15:32:48 warpdesign: Yes, I'd like to do my impression of Groucho Marx: May 23 15:33:21 launching for first time now. May 23 15:33:28 Installed it and got caught up in reading Twitter. May 23 15:33:50 First thought: New game, options and scores buttons should be bigger May 23 15:34:00 And the background for those could bea little lighter so they're more visible. May 23 15:34:13 Either bigger or more space between them May 23 15:34:20 maybe both! May 23 15:35:06 well, problem is the fourth option won't fit if I make them bigger May 23 15:35:06 Back button doesn't work on options screen. May 23 15:35:20 (the clickable zone is bigger than the text zone btw) May 23 15:35:36 Add just a few more pixels of padding then May 23 15:35:48 OR maybe go with square buttons. May 23 15:35:55 two per line May 23 15:36:05 hmm.. I'll think about it May 23 15:36:23 about the back button: I'm wondering if I should put one.. the back gesture is supposed to work everywhere May 23 15:36:27 And bonus: The card shuffling sounds is like a free fart app! ;D May 23 15:36:42 what about most apps: do they make use of back buttons May 23 15:36:45 just kidding (mostly) May 23 15:36:54 I didn't see much in most webos standard apps May 23 15:37:03 Most do not have button. On immersive apps I can see you being able to get away with it May 23 15:37:21 ok May 23 15:37:25 I'll get rid of it then May 23 15:38:06 Getting some french I think May 23 15:38:19 Redistribuer. May 23 15:38:50 yes: lots of harcoded stuff, this will be translated May 23 15:39:03 I'm focusing on bugs/problems right now May 23 15:39:39 The card animation when dealing is too fast. May 23 15:39:55 It appears on right side of screen then immediately on stack May 23 15:40:00 *left May 23 15:40:20 If it's supposed to look like it's coming off the stack, it's mis-placed. May 23 15:40:22 hmm.. ok May 23 15:40:25 it is misplaced May 23 15:40:30 I have to fix it May 23 15:41:31 I'm a little iffy on the locked stack selection. May 23 15:41:49 Maybe 2nd click on a wrong stack could change stacks? May 23 15:42:08 ah, there's the resume game option in the menu May 23 15:42:14 sure May 23 15:42:23 it's automatically saved when you hit back gesture May 23 15:42:24 Resume game is awfully close to new game. May 23 15:42:51 sure: both hit box collides I guess May 23 15:42:55 tapping on ace on deal pile should send it to the discard pile May 23 15:43:01 hmm.. I'll definitely have to do something about it May 23 15:43:25 what do you mean ? May 23 15:44:01 that's a lot of nice remarks but I'll have to postpone some for the next version May 23 15:44:03 I believe tapping on an ace on the board automatically sends it up to the stack May 23 15:44:16 flicking will send it to the stack May 23 15:44:16 Tapping on an ace on the deal pile does not. May 23 15:44:36 Double-tapping a card should send it to the stack. May 23 15:44:52 there's no double tap, I'm using flick gesture instead May 23 15:45:11 and flicking on the deal pile should work as well: if it doesn't it's a bug May 23 15:45:19 (it's hard to test gestures with a mouse ;)) May 23 15:45:24 mmmmm May 23 15:45:29 That's not obvious. May 23 15:45:39 A lot of klondike games use double-tap. May 23 15:46:02 sure, but double tap was a pain to implement.. and I had very little time.. I guess this could be configurable in the next version May 23 15:46:09 and there will be a doc on the website May 23 15:46:12 but you're right May 23 15:46:32 It would be very easy to also listen for doubleclick May 23 15:46:48 There's an event for it. May 23 15:46:51 Just not a mojo one. May 23 15:47:06 I'll check that.. problem is I was using jquery for events, and listening to both double and simple click is a problem in that case.. May 23 15:47:08 I'll check that May 23 15:47:14 but I like the flick gesture May 23 15:47:21 it's a common gesture on webos May 23 15:47:23 isn't it ? :) May 23 15:47:28 more than double tap i guess May 23 15:47:44 Flick is good, it just never occurred to me. May 23 15:47:50 So... May 23 15:47:52 now I'm off May 23 15:48:02 you either need to train people on it or give them other methods to discover. May 23 15:48:05 if you have some time it would be great if you could sum that up in an email May 23 15:48:09 you're right May 23 15:48:29 I was planning to have some help screen with that but unfortunately it won't be ready for the first release May 23 15:48:30 Not sure why Mojo has Tap and SingleTap but do DoubleTap May 23 15:48:34 now I'm off May 23 15:48:37 *no May 23 15:48:41 later. May 23 15:48:42 thanks for this precised report ! May 23 15:48:45 Will e-mail you with other comments May 23 15:48:52 great, thanks ! May 23 15:53:15 what is needed in linux kernel to novacom cominucate with pre? May 23 15:55:18 probably only usb-support May 23 15:55:56 Oooh, show stopper bug. May 23 16:38:44 swisstomcat, so what could be the problem my pre not being recognized? May 23 17:11:40 aGaTHoS, Linux? May 23 17:11:44 aGaTHoS, check "lsusb" May 23 17:13:08 the kernel recognices the device but not novacomd May 23 17:14:23 hrm, i dont get Audio(), how do i use it?! wheres information on the constructor, signature and stuff? May 23 17:14:33 aGaTHoS, rund novacomd from the console and see May 23 17:14:38 aGaTHoS, as root... May 23 17:15:24 yes May 23 17:15:25 nothing May 23 17:15:58 root@ares /opt/Palm/novacom # ./novacomd May 23 17:15:58 [2010/5/23 19:14:38] novacomd version novacomd-78 starting... May 23 17:16:25 pre is recognized by kernel May 23 17:16:26 May 23 19:14:46 ares usb 1-6: new high speed USB device using ehci_hcd and address 52 May 23 17:16:26 May 23 19:14:46 ares usb 1-6: New USB device found, idVendor=0830, idProduct=8002 May 23 17:16:26 May 23 19:14:46 ares scsi49 : usb-storage 1-6:2.0 May 23 17:16:26 May 23 19:14:51 ares scsi 49:0:0:0: Direct-Access Palm Pre 0000 PQ: 0 ANSI: 2 May 23 17:27:11 hm May 23 17:27:53 aGaTHoS: Did you put the Pre into dev mode? May 23 17:28:04 yes May 23 17:28:43 I can install programs without problem in a laptop with ubuntu, the problem is my laptop has thermal problems and reboots continuosly May 23 17:29:00 I think after this message: [2010/5/23 19:14:38] novacomd version novacomd-78 starting... May 23 17:29:18 novacomd should say: ready ? or something like this May 23 17:29:37 but it remains like this forever May 23 17:30:26 /var/log/syslog has information? May 23 17:31:04 syslog? May 23 17:31:25 nothing in messages May 23 17:34:17 ok - well. no idea then May 23 17:34:39 running novacomd with strace to get a clue - but that needs some insight into systemcalls May 23 17:38:40 hello May 23 17:42:41 http://pastebin.com/PeYtwBsm May 23 17:47:13 that's a lot of information May 23 17:47:21 So... I don't need package manager if I have the new preware? May 23 17:48:17 more of a #webos-internals question .. but the service is still there, but it's just written in C instead of java .. May 23 17:49:34 And inside the new preware package? May 23 17:50:27 i have no idea where it resides .. ask rwhitby in #webos-internals May 23 17:51:04 Just joined over there - testing out pound irc May 23 18:12:25 hmmmm anyone else getting an update notification for 1.4.1.1 when they already have it installed? May 23 18:59:45 hmmmmm how should I handle time zones in my chat app? May 23 18:59:52 hmm May 23 18:59:56 do you have to? May 23 19:00:15 No, I guess I don't have to. May 23 19:00:19 but I should...hah May 23 19:00:41 I'm thinking all times sent to server are utc, convert locally based on timezone offset May 23 19:09:54 that would work May 23 19:15:36 use utc timestamp to/from server? May 23 19:16:00 yeah, I think that's what I'm gonna do. May 23 19:16:28 interesting tweet: @dalmaer HP Confirms Slate To Run WebOS http://bit.ly/bDNhG8 <= was there any doubt? May 23 19:16:40 send utc timestamp. get utc timestamp. convert to local using getTimeZoneOffset and display, just like magic! May 23 19:16:52 sounds like a good idea May 23 19:17:18 swisstomcat: I think he's just saying, was there any doubt that it would run webOS? not whether it existed May 23 19:17:20 why getTimeZoneOffset? May 23 19:17:33 yeah, that could be, tibfib May 23 19:17:50 haeffb: because I need to convert it locally? May 23 19:18:28 i rather would see as a sign of it's existence :) May 23 19:19:02 haeffb: do you know of something that would work better? May 23 19:20:18 swisstomcat: oh it exists I'm sure May 23 19:21:28 * haeffb isn't sure about timezones... May 23 19:21:58 ...but I *think* that .getTime() gives you seconds since 1970 at GMT May 23 19:22:37 haeffb: at GMT? or locally? May 23 19:22:56 at GMT May 23 19:23:11 so, you just use new Date(1274638352515) and it gives you the local time May 23 19:23:34 oh really? that would be easy May 23 19:23:36 time for testing May 23 19:24:45 maybe not May 23 19:25:49 this might work: http://articles.techrepublic.com.com/5100-10878_11-6016329.html May 23 19:30:48 anybody built a calendar-style date selector? May 23 19:32:02 i tried a long time ago May 23 19:32:18 the old garnet style one? May 23 19:32:38 no, more like an actual calendar for selecting a date May 23 19:32:58 should be easy to port one May 23 19:33:28 should be, but you'd think someone would have already done it. May 23 19:35:51 probably not because everyone is using the basic date picker May 23 19:40:08 which....is kinda sucky May 23 19:40:15 yup May 23 19:40:22 doesn't show the day May 23 19:40:34 i too slow to use May 23 19:56:01 anyone know why a swipe-delete function triggers the 'propertychange' method to be called? May 23 19:56:22 hmm May 23 19:56:46 i was wondering why my lists were a bit funky sometimes May 23 19:57:12 now i've found out that when i try to delete an item... it's calling the properychange function before i can confirm or cancel the delete May 23 19:57:16 and screwing stuff up May 23 20:00:47 have you looked at the list examples? May 23 20:05:41 yeah May 23 20:05:51 haven't seen anything as complex as i need May 23 20:06:26 at this point, i'm just trying to verify that it was a 'propertychange' command May 23 20:07:21 i wonder if the declaration order would matter? May 23 20:08:04 which order? May 23 20:08:48 i bind the delete first, then the properychange May 23 20:08:55 i wonder if i reversed those if it might work better May 23 20:09:02 but i did just manage a workaround May 23 20:10:11 but only for one of my scenes... :/ May 23 20:10:14 hmm May 23 20:10:34 can you propertychange know if it's a delete? May 23 20:11:10 that's what i've been trying to find out... May 23 20:11:13 and not really May 23 20:11:20 because it really shouldn't be called May 23 20:11:50 one would expect May 23 20:12:30 hehehe, yeah May 23 20:12:47 let me check something May 23 20:13:17 hmmm May 23 20:13:24 well, i GUESS i can see why it gets called May 23 20:13:39 because the model is getting the 'delete' propert added to it... May 23 20:13:44 property* May 23 20:13:56 maybe i could use that info May 23 20:14:31 in preware they use both listeners too May 23 20:15:13 ahhh May 23 20:15:58 am I using the checkTime function right? http://webos.pastebin.com/32fZVYPH May 23 20:16:04 propertychange is first May 23 20:16:14 hmmm, let me try that May 23 20:16:52 nah, still hits it May 23 20:16:58 but it's interesting... May 23 20:17:13 the event.model.deleted has a floating value May 23 20:17:31 1.031803117133677 May 23 20:17:33 odd May 23 20:18:19 strange May 23 20:18:25 do you have some code to show? May 23 20:19:28 ping haeffb May 23 20:19:38 http://webos.pastebin.com/VsDnLUB0 May 23 20:19:54 yes...? May 23 20:20:17 i'm working on the done translation .. got some questions May 23 20:21:25 Ok. May 23 20:21:33 urg... more frustrations May 23 20:21:35 what's hotlist and starred? May 23 20:22:08 hotlist is Toodledo's name for a list of high priority or due soon tasks. May 23 20:22:34 starred are tasks that are...uh....starred. they have a star. May 23 20:22:42 do they have a german version of their website? May 23 20:24:55 it does not appear so May 23 20:55:46 zsoc!!!! May 23 20:56:17 haeffb: yes? May 23 20:57:19 no, just hadn't done that lately. May 23 20:57:41 oh May 23 20:57:42 haeffb: hi :) May 23 21:04:15 is it possible to listen for a keyup on a textfield ? May 23 21:04:28 i'd think so May 23 21:04:36 warpdesign: yeah May 23 21:04:43 same way you can listen for keydown and keypress May 23 21:05:24 sure.. May 23 21:05:30 thing is it doesn't seem to work.. May 23 21:05:45 are there any properties that could cause this event not to be triggered ? May 23 21:06:09 which key are you listening for? May 23 21:06:56 enter May 23 21:07:10 i think there's a problem with enter May 23 21:07:27 but pressing something else won't fire the event either May 23 21:07:50 enter doesn't trigger keypress/keydown/keyup May 23 21:08:20 how can I trigger enter then ? May 23 21:08:39 the documentation states that there is some "submit" event on pressing enter in a textfield May 23 21:09:00 that means it sends a property changed event IIRC May 23 21:09:24 hmm.. I see May 23 21:09:33 * Tibfib is having problems with the utc to local time conversion part May 23 21:09:38 is there a way to listen to the enter key ? May 23 21:10:06 Mojo.Event.listen(this.controller.document, "keydown", this.onKeyDownHandler, true); May 23 21:10:27 if (Mojo.Char.isEnterKey(event.keyCode)) May 23 21:11:09 why doesn't this work with a utc timestamp? http://webos.pastebin.com/7bqMhwfe May 23 21:11:20 if (Mojo.Char.isEnterKey(event.keyCode) && this.controller.stageController.activeScene().sceneName === 'intro') { May 23 21:12:04 listening on the document will get you the Enter key in any active scene, so you need to filter it to make sure it's in the correct scene and/or correct widget May 23 21:16:11 I am still having problems with array.sort() :-( May 23 21:18:05 how so? May 23 21:19:13 I'm trying to figure that out, narrow it down May 23 21:19:57 something like this? http://www.pastie.org/973775 May 23 21:20:32 I have a TextField widget which I have set to holdToEnable. I'm looking for a way to drop the cursor in there and focus doesn't work without a hold (to enable) ... is there a way to override this during an event? May 23 21:21:50 hmm.. seems like pressing enter won't cause a propertyChange May 23 21:22:09 loosing focus will though, and I certainly don't want to submit on focus.. May 23 21:22:39 how can I determine if a textfield has the focus ? May 23 21:23:17 haeffb: exactly like that, but i can't seem to even enter the function. is it safe to assume that I can put debug code (someWidgetID.innerHTML = "entered sort function";) in a sort function? I have been trying to do that and I get nothing May 23 21:23:43 warpdesign, is that an attribute or model property? May 23 21:23:56 attribute I would say May 23 21:24:08 PrimerFender: why not use Mojo.Log.info("Entered sort function"); May 23 21:24:21 swisstomcat: you alive? May 23 21:24:31 yeah May 23 21:24:40 wanna help me test timezones in my chat app? May 23 21:24:45 sure May 23 21:24:51 since I know you aren't in my timezone :) May 23 21:25:09 oh really? May 23 21:25:31 create an attribute variable when you setup the widget, then you can access the properties of that attribute variable later and read/change them May 23 21:26:05 haeffb: i'm not as up to speed on debugegers/logging i will try it May 23 21:26:20 PrimerFender: logging is your friend May 23 21:26:37 two things: 1) you need a framework_config.json file in the root directory of your app. May 23 21:27:02 2) use palm-log -d tcp -f com.my.app from a command prompt to view the logs May 23 21:27:53 3) the framework_config.json should have this: http://www.pastie.org/973789 May 23 21:28:03 * haeffb can't count May 23 21:28:19 better yet, use THIS for logging: http://ares.palm.com/AresLog/ May 23 21:28:24 for viewing logs** May 23 21:28:40 and http://ares.palm.com/AresDebugger/ for debugging :) May 23 21:29:08 lol, i just switched to ares to try JUST a sort function, but then realized my emulator is not here so I need to open other computer, brb May 23 21:29:51 PrimerFender: are you calling the sort thru something like this: myArray.sort(this.sortByStart); May 23 21:30:01 yes May 23 21:34:11 now that's weird.. May 23 21:34:17 now event.keyCode is undefined May 23 21:34:18 (!) May 23 21:34:39 how could event.keyCode be null on a keyup trigger ? May 23 21:37:19 tried event.originalEvent.keyCode ? May 23 21:38:13 ok, that worked... May 23 21:38:45 no May 23 21:38:47 I will, thanks May 23 21:38:53 what's originalEvent ? May 23 21:58:28 ok, sort is working in ares, going to try logging in eclipse... May 23 21:59:10 I can see the methods I want in palmInitFramework330.js (et al); but I can't get to the method because it's not exposed. Is there a way to get the widget object rather than the HTMLDIV that represents it? May 23 22:01:36 or is there a way to simulate an event for the object so it fires the method I want? May 23 22:06:43 jettero: do you have an id="someID" in your div for the widget? and if so, do you have it "setup" (as in this.controller.setupWidget("someID".......)? May 23 22:07:01 PrimerFender: yes May 23 22:07:11 and further this.controller.get("name") returns the DIV object... May 23 22:07:49 and do you have a variable specified for the model and the attributes when use setupWidget? May 23 22:07:58 yes May 23 22:08:18 so then you should be able to access properties of those variables to modify the widget's properties,yes? May 23 22:08:26 indeed. :) May 23 22:08:34 I see where this is going, clearly I'm missing something simple May 23 22:08:46 what widget/property are you trying to manipulate? May 23 22:09:19 I have a textfield with the holdToEdit set and I wish (under unusual circumstances) to simulate the hold and then focus() the field May 23 22:09:39 regular old focus() doesn't work because it hasn't been enabled by the widget internals May 23 22:11:27 without knowing to much, i would gues if you have to disable holdToEdit, do your thing, then re-enable it? May 23 22:12:04 myAttributeVariable.holdToEdit = disabled; some code; myAttributeVariable.holdToEdit = enabled; May 23 22:12:11 I suppose that could be made to work... is there something similar to modelChanged for attributes? May 23 22:12:32 won't work. May 23 22:12:40 you cannot change attributes May 23 22:13:33 oh no? May 23 22:13:44 I believe you can ... this._widgetSetups[name]={attributes:attributes,model:model}; May 23 22:13:51 it stores attrs the same way it stores model May 23 22:13:58 I just don't think the widget would notice if you chagned them May 23 22:14:47 in effect, I wish to attr.disable = false; widget.updateEnabledState() and then widget.focus() May 23 22:14:56 focus is exposed, but updateEnabledState() is not May 23 22:16:58 do you need updateEnabledState() ? May 23 22:17:09 to enable the widget? yes May 23 22:17:28 hmm, i will have to play with that May 23 22:17:31 I was also looking at using Mojo.Event.send() to send the Mojo.Event.hold event May 23 22:17:53 I think it's probably a bad ui decision at this point, and I'm not likely to use it, but I still want to figure it out May 23 22:18:05 whenever I go source diving I keep going until I find a hack... May 23 22:18:12 or give up and shoot out my brain May 23 22:20:18 I found where widget_textfield.js calls controller.exposeMethods(['focus', blarg ... blarg ... May 23 22:20:32 I could probably sqoosh it in there, but that doesn't help from the application layer May 23 22:21:38 haeffb: updated strings.json sent May 23 22:22:22 * PrimerFender hangs his head in shame May 23 22:24:15 danke May 23 22:24:46 will have a few more strings soon (adding features)...I'll track & send them individually. May 23 22:25:37 i'll also need a packaged release to check if the translations make sense May 23 22:31:05 good night everyone May 23 22:31:41 swisstomcat: is this correct? "Täglich" May 23 22:31:51 i think so May 23 22:31:59 kk. thanks again. May 23 22:32:09 html-encoded umlaut May 23 22:32:15 rightey-o May 23 22:32:18 unless it's a button May 23 22:32:31 we'll see... :) 'night May 23 22:32:32 send me an ipk and i'll check it out May 23 22:32:43 tomorrow :) May 23 22:32:50 eh, later today May 23 22:38:16 * swisstomcat waves May 23 22:39:50 Wirc is really good. Wish there was a way to hide join part messages though May 23 22:40:48 found it May 23 22:41:08 they ultimately had to store the widget object somewhere that you could get to, or it'd be in danger of getting garbage collected May 23 22:41:43 $("objectname")._mojoController.assistant <-- has the actual widget methods May 23 22:42:08 http://www.webos101.com would be a good place to document that May 23 22:42:44 is that editable? May 23 22:42:49 didn't know that May 23 22:42:49 it's a wiki May 23 22:42:56 heh, never noticed May 23 22:43:02 I'll be sure to mention it there. May 23 22:43:05 create an account and edit to your heart's content May 23 22:43:14 oh, it looks like a wiki. I'm clearly thinking of something else May 23 22:44:00 um, any suggestion on where such a document should be stored? or is it enough to make a node about it and someone will helpfully link to it? May 23 22:45:52 when adding items in view menu (see ui widgets/view menu demo), is there a way to specify the position of the elements ? May 23 22:57:41 Miscellaneous? May 23 23:01:37 or maybe Mojo.Controller.SceneController May 23 23:01:43 under APIs May 23 23:02:02 call it something like undocument widget access May 23 23:02:06 or maybe under widgets May 23 23:07:22 the important part is just getting it out there somewhere May 23 23:14:33 Thanks for adding stuff! May 23 23:38:04 whats up everyone May 23 23:39:08 je2345: Tell me when you find out. May 23 23:42:48 lol May 23 23:42:52 ¿Donde esta? May 23 23:43:00 95 ppl and only 3 ppl talking May 23 23:43:13 * haeffb reading "Spanis for Dummies" May 23 23:45:18 seriously? May 23 23:45:55 first three chapters May 23 23:46:01 while sitting on the lake today May 23 23:46:12 out on the boat where ya? May 23 23:46:19 el hombre es muy alto May 23 23:46:29 i where May 23 23:46:46 bueno? May 23 23:46:48 notifications are working-ish May 23 23:46:54 muy bueno May 23 23:47:04 until the clouds rolled in May 23 23:47:15 ah, as long as it doesnt rain.. May 23 23:47:25 i went sailing with my bro-in-law May 23 23:47:43 he said it was almost as much fun as playing banjo May 23 23:47:51 which i think is a good thing i guess May 23 23:47:59 how could it not? May 23 23:48:45 yeah. i let him have the tiller and drank my G&T's May 23 23:49:34 good plan May 23 23:50:02 i just worked the sails an told him which way to go May 23 23:51:51 18.4k on dls for GR May 23 23:52:02 movin on up... May 23 23:53:08 20k and change gets your on the free list May 23 23:57:23 what place are you in? May 23 23:57:32 253 May 23 23:57:47 up 24 from last week May 23 23:58:59 http://palmhotapps.com/details.jsp?packageid=com.tigers.app.done May 24 00:00:55 nice. how many total dls? May 24 00:01:31 85 as of Friday May 24 00:01:58 yeah. there are alot of crappy bottom of the barrel aps May 24 00:02:26 582 users per Toodledo's tracking...but that includes the Precentral free beta May 24 00:03:15 we should make a version of done,time=$,myles all rolled into one May 24 00:04:15 Done! May 24 00:09:25 haeffb, cyrket says 170 May 24 00:09:36 sweet May 24 00:09:43 http://www.cyrket.com/p/palm/com.tigers.app.done/ May 24 00:10:38 i think i need to limit my trial more May 24 00:11:29 according to my own stats.. 5,525 downloads but 24,023 launches .. May 24 00:13:48 some people have launched it over 100 times, one specific person has launched it 256 times.. i think they should buy the full version :P May 24 00:14:17 I bought it and have only launched it a couple of times... May 24 00:14:29 so, that compensates May 24 00:14:37 for that i thank you :P May 24 00:14:48 hell i havent even played it that many times May 24 00:15:29 infact they played it an hour ago May 24 00:15:34 :P May 24 00:16:15 anyone hear anything on the international revenue payment? May 24 00:16:25 i only got paid for USD May 24 00:21:20 was it available/downloaded in international market? May 24 00:22:35 yeah thats how i know i havent been paid for it, cause my revenue payment was only the total of the USD purchases May 24 00:23:48 i hate the new 'settled' downloads stats.. mine is about 200 off my own statistics May 24 00:40:06 hrm May 24 00:41:30 quick question for some1 knowledgeable of webOS May 24 00:42:10 yes? May 24 00:42:15 there is noone by that name here ;-) May 24 00:43:58 what's your question? May 24 01:14:47 oops sorry... May 24 01:15:43 is there anyway to make the browser/phone be able to download any file type/size ota? I miss being able to download mp3's and cds ota with my Droid & Droid Incredible May 24 01:20:47 yes. May 24 01:21:31 really...how so? May 24 01:22:16 one sec. May 24 01:22:32 ok thank u May 24 01:26:06 are you comfortable with using unsupported software from palm (this won't void your warranty) May 24 01:26:51 yea...prolly am already May 24 01:27:12 k May 24 01:28:53 do you have preware installed on your phone? May 24 01:29:22 yep May 24 01:29:29 along with like 60 patches May 24 01:29:34 i May 24 01:29:40 search for multi mod May 24 01:29:45 i've been doing lots of research on webOS May 24 01:30:22 install that patch and you should be good May 24 01:30:57 hmm i think i did already May 24 01:31:33 that's the only patch I know of that'll download mp3s May 24 01:32:41 when i try to download it dl's in like 3 sec and then the file does not play, and will only stream once in awhile May 24 01:33:45 go to the channel #webos-internals and ask in there May 24 01:34:07 ok thanks May 24 01:44:34 So yeah, what else makes it incredible? May 24 01:44:41 haha May 24 01:45:18 evereything...screen size, widgets, Speed Speed & Speed, weight and size, call quality/clarity May 24 01:45:24 * haeffb finally got my printer working over the network again. May 24 01:46:33 does parseInt() work in mojo land? May 24 01:48:20 i like with Android being able to download any file ota..even an .avi movie May 24 01:50:03 Could never get a phone without a keypad May 24 01:50:48 the voice-to-text is so nice, it helps when no keyboard May 24 01:51:20 Can't you download any file with the multimod patch? May 24 01:51:41 i tried and it dont work. file always corrupts May 24 01:53:35 Interesting, it works fine for me May 24 01:53:48 hmm...what you download ota? May 24 01:56:33 i just tried again, an mp3, and it dl's fully and then when i go view file it is 0kb May 24 01:58:06 I download my mp3s from 4shared.com May 24 01:58:13 hmm. May 24 01:58:57 check if you have some other browser patches preventing that to work May 24 02:10:50 PrimerFender: yes it does. May 24 02:11:05 however, it's easer to do myVar * 1; May 24 02:16:01 thats the only browser patch i got installed May 24 02:19:45 thanks, haeffb May 24 02:20:33 comparing UTC time strings/integers was driving me nuts. i ended up creating data objects for everything and using .getTime() but you can't use .getTime May 24 02:20:43 but sortByStart works without () May 24 02:20:50 thisisambiguous May 24 02:28:15 What's up folks? May 24 02:28:58 tweeting while doing my clothes while on here also May 24 02:29:07 love multitasking May 24 02:29:42 PrimerFender: Weren' you going to document something again? :) May 24 02:29:47 I see you are tweeting also lol May 24 02:31:56 PrimerFender: you're calling the getTime() method. You're telling array.sort which method to call ... this.sortByStart May 24 02:33:19 hey Roy-Pre101, how do I disambiguate your webOS-related tweets from your foursquare locations updates? May 24 02:33:43 (I'm keenly interested in one, but not the other :) May 24 02:33:58 use a twitter app that lets you filter May 24 02:34:33 recommendation for MacOSX? I currently just use Adium May 24 02:36:34 bbl May 24 02:54:30 I don't know that such a thing exists. May 24 02:57:55 I wonder how long it will take for palm to announce a new devic May 24 02:58:27 I hope tjey don't go the way of software keyboards May 24 02:58:33 I bet they can do it in under 30 seconds **** ENDING LOGGING AT Mon May 24 02:59:56 2010