**** BEGIN LOGGING AT Sat Dec 19 02:59:56 2009 Dec 19 03:00:20 CTLAdvance: vista has been stablized, but yet it still kinda clunky here, and so is win7 Dec 19 03:01:41 been using computers since apple iie and honestly the best operating system i have ever encountered is MacOSX Dec 19 03:03:52 went from xp, vista, to macos, back to vista, and have tested windows 7 and still find macos superior Dec 19 03:04:58 but then again what do i know, can't figure out some simple ajax call problem.... Dec 19 03:07:19 anyone played around with ares yet? Dec 19 03:07:38 been busy at work and haven't had a chance yet. Dec 19 03:09:42 some folks somewhere here have, have not messed with it enough to really help =( Dec 19 03:17:48 I was just more curious as to how is it? haven't played with it either. Dec 19 03:19:37 it seems pretty cool will mess with it soon, looks and works well, from my tests Dec 19 03:20:04 ive played with it when it wsa private beta, but havent had any ideas for apps to build in it Dec 19 03:20:25 sweet it's javascript correct? as far as writing programs that is. Dec 19 03:20:49 yeah Dec 19 03:20:58 its bespin uberfied Dec 19 03:21:18 awesome. Dec 19 03:21:24 I've been working the last hour or so. Dec 19 03:21:40 It's amazing the extent to which the in-browser preview of the running app works. Dec 19 03:22:12 I wish the bespin had more editor functionality. No search, no auto-formatting, no intellesense. Dec 19 03:22:30 I'm basically copying text into komodo, editing it and pasting it back because I want those things. Dec 19 03:22:36 but it's early days Dec 19 03:22:42 it needs to call emacsclient somehow :-) Dec 19 03:22:51 you and emacs. Dec 19 03:23:04 rwhitby you should port emacs to javascript. Dec 19 03:23:18 ghod knows it's been ported to everything else Dec 19 03:23:59 teaching chrome to accept ctrl-alt-meta-cokebottle may be a bit tough. Dec 19 03:32:31 rick_home: did jfelectron give you an example? Dec 19 03:33:39 <_ivanst_> i think i just found a bug somewhere... Dec 19 03:34:12 <_ivanst_> in the download service, to be specific... Dec 19 03:36:19 HAEFFB!! Dec 19 03:36:52 bmeyers! Dec 19 03:37:04 bball good? Dec 19 03:37:33 Junior varsity. Good considering they're HS freshmen/sophs Dec 19 03:38:13 here's a working drawers in a list example: http://www.pastie.org/749587 Dec 19 03:39:51 what? no html? Dec 19 03:40:07 __ivanst__: : can you take a look at the following and see if you see something wrong... http://pastebin.com/d16d9d0dc Dec 19 03:40:28 I can submit the whole .ipk somewhere.... Dec 19 03:40:35 nice work on the list of drawers tho... cool stuff Dec 19 03:40:42 send me a copy. Dec 19 03:40:52 it was jfelectron with the breakthru. Dec 19 03:41:25 <_ivanst_> LoneStar34: lotsa code. what happens? Dec 19 03:41:29 i would have helped him out more but i was SO busy.. Dec 19 03:41:46 i pm'd my email addy Dec 19 03:43:02 user clicks on the "button" but no ajax data shows up... Dec 19 03:46:01 _ivanst_: i am sure it is something that happens between lines 37-48 Dec 19 03:46:47 <_ivanst_> i was thinking more along the lines of effects vs expected behavior, not line numbers :D Dec 19 03:50:27 * _ivanst_ tries to hack this into a working example Dec 19 03:55:44 * Roy-Pre101 yawns. Dec 19 03:56:10 * haeffb stretches Dec 19 04:09:32 Bmyers I've spent an hour tracking down this problem. 425194 bytes long works, 425195 gives me out of space error Dec 19 04:11:54 {"code":4,"message":"there was not enough remaining storage space, or the storage quota was reached and the user declined to allow more space"} Dec 19 04:12:09 the emulator disk is quite large. Dec 19 04:13:13 hi all! Dec 19 04:13:21 hallo Dec 19 04:14:38 hey LoneStar34 how goes? Dec 19 04:16:20 good, here debugging the same piece of code for 24hrs + Dec 19 04:17:26 oh that sucks sorry Dec 19 04:18:13 jenp Dec 19 04:18:22 hey haeffb! Dec 19 04:18:36 what's in your new version? Dec 19 04:18:58 little collaspsible drawers Dec 19 04:19:02 oh well, need 2 get working ... Dec 19 04:19:06 hello jenp Dec 19 04:19:07 and the kinda "web scraping" of the Dec 19 04:19:17 accc website Dec 19 04:19:22 hi Bmyers! Dec 19 04:19:40 haeefb show u his drawers yet? Dec 19 04:19:53 i'm still working on the date picker? Dec 19 04:20:06 was haeffb suppose to show me his drawers? Dec 19 04:20:18 he's real proud of them Dec 19 04:20:29 well come on then....show me Dec 19 04:20:45 http://imageshack.haeffbs.drawers.com Dec 19 04:21:08 links broken? Dec 19 04:21:19 tht's cuz it's made up. Dec 19 04:21:26 lol Dec 19 04:21:29 imaginary, as it were Dec 19 04:21:44 hmmm emperors new clothes eh Dec 19 04:21:49 but we do got drawers in lists working Dec 19 04:22:01 really! Dec 19 04:22:04 that's awesome! Dec 19 04:22:15 jfelectron did it Dec 19 04:22:32 nice Dec 19 04:23:18 did you guys get your invite to palms ces ? Dec 19 04:23:32 :( Dec 19 04:23:33 yep. Not gonna be in Vegas, tho Dec 19 04:23:55 no way i'm going.. Dec 19 04:24:03 y not? Dec 19 04:24:16 negative Dec 19 04:24:20 JenP: no :-( Dec 19 04:24:31 rwhitby: you can have mine Dec 19 04:24:50 rwhitby i'm sure yours is coming Dec 19 04:24:57 i can't imagine you not getting invited Dec 19 04:25:09 JenP: I don't have an app in the catalog, so I'm not in the system. Dec 19 04:25:22 hax0rs not allowed Dec 19 04:25:44 ok idk y but i can't log into the ares beta....saids i need to contact tech support Dec 19 04:25:47 * rwhitby doesn't identify with any terms that are not actual english words ... Dec 19 04:25:53 lol Dec 19 04:26:06 _ivanst_: I do not think "var resraw = transport.responseText.evalJSON();" is passing anything, jsut blank Dec 19 04:27:09 wow: JenP you are blocked from Ares Dec 19 04:27:22 i think it's cause i was part of the alpha testing Dec 19 04:27:32 need to clear my settings maybe Dec 19 04:29:01 certainly Dec 19 04:29:15 they said to "clear cache" before logging into the beta Dec 19 04:29:23 i did...didn't help Dec 19 04:29:51 then there may be something else wrong Dec 19 04:30:12 hmmmm Dec 19 04:30:15 (with my diagnostic skills, I could do tech support for a living) Dec 19 04:30:22 lol Dec 19 04:32:00 (with my comedy skills, I could be an accountant for a living) Dec 19 04:32:03 Hey JenP Dec 19 04:32:46 hello Dec 19 04:36:41 ah ha! i'm in haeffb!...to ares Dec 19 04:37:19 whew! thought you were talking about my drawers again there for a sec. Dec 19 04:37:35 LOL Dec 19 04:38:44 * haeffb wonders if you can add drawers to a list in Ares... Dec 19 04:38:58 y don't you try/// Dec 19 04:40:26 has anyone made the external 'ext:dbname' html5 databases to work? Looking at the file system it's always in the same (incorrect) place Dec 19 04:45:13 Joe: should end up here somewhere if u use ext: /media/internal/.app-storage/ Dec 19 04:45:21 then in a sub dir Dec 19 04:47:09 I figured it out -- the docs are incorrect. They won't allow you to pass the name as an object ({ "name": "ext:dbname"}) fails. The person at palm who did docs needs to actaully try to use their docs, they have typos and non-working code everywhere I should have known better than to use their example. Dec 19 04:49:30 I should say it works, but doesn't interpret the name, so it doesn't end up in /media/internal/.app-storage Dec 19 05:24:19 ugh Dec 19 05:24:34 what's up dawm? Dec 19 05:24:39 almost a week since i submitted my update, app still hasnt been tested.. what a downer Dec 19 05:25:18 did you tell gloria you had an update waiting? Dec 19 05:25:26 yeh, she said its on the list Dec 19 05:25:33 so they Dec 19 05:25:39 they'll get to it when they can Dec 19 05:25:50 i sent her an email asking if maybe it fell thru the cracks or something heh Dec 19 05:26:01 yeah...it took a couple of weeks for mine Dec 19 05:26:36 the last update took less than 24hrs, so i figured this one wouldnt take too long, but they havent even fired up the app (its has a call home so i can track usage) Dec 19 05:27:21 nice Dec 19 05:30:59 yeh, and theres another bejeweled type game in the catalog now, so i need my updates pushed asap ;p Dec 19 05:31:33 yeah i know i saw it Dec 19 05:33:00 i bought it, but other than the sparkle effects it lacks alot that my app had from day one, like no sounds, ugly gfx, only 1 game mode. the update for mine thats waiting adds a new level mode, different gfx, some fixes and changes (thanks to Roy for noticing them) Dec 19 05:33:33 and then after that the next update (gotta do some more testing) has drag/swiping is the new control instead of tapping Dec 19 05:34:02 cool Dec 19 05:34:06 but im off to bed Dec 19 05:34:07 ttyl Dec 19 05:34:31 nite Dec 19 05:40:47 Anybody know how to change the color of a list divider? Dec 19 05:44:07 isn't it a png? Dec 19 05:44:35 Yeah. Except it's just not taking Dec 19 05:45:42 that's weird Dec 19 05:46:33 z-index? Dec 19 05:47:14 i'm trying to figure out why i no longer have preware on my phone Dec 19 05:53:14 JenP: what sort of app are you working on? Dec 19 05:53:36 right now i'm just playing with my calc app...why? Dec 19 05:54:14 just curious, do you already have a published app? Dec 19 05:54:21 yeah Dec 19 05:54:28 the calc? Dec 19 05:54:31 yeah Dec 19 05:55:10 cool, Dec 19 05:55:34 yeah it's been a blast Dec 19 05:56:58 a blast... Dec 19 05:57:09 add submitted an app in late november , but my app got lost in translation Dec 19 05:57:11 I don't think I would consider doing these apps "a blat" Dec 19 05:57:23 blast too Dec 19 05:57:23 doc why not? Dec 19 05:57:37 Completely redoing RadioTime right now Dec 19 05:57:50 radio times awesome Dec 19 05:57:52 Complete and total graphic redesign Dec 19 05:59:19 have noticed a week of poor rest = equals imaging writing things you really do not write Dec 19 06:00:00 Surpassed 20,000 downloads today Dec 19 06:00:23 that's soo cool! Dec 19 06:01:06 wow awesome reality9110 Dec 19 06:06:56 JenP; do you work for Palm? Dec 19 06:07:04 nooo Dec 19 06:10:30 been working on the same ole problem for along time, need to move on, but with out the ajax shite working, this app is crap Dec 19 07:29:49 anyone awake? Dec 19 07:29:54 I'v got a json question Dec 19 07:32:23 awake Dec 19 07:32:38 do you see anything wrong with this json? Dec 19 07:32:41 http://prototypic.net/pre/delicious.rsb?@fmtoptions=exparen&@json Dec 19 07:33:02 the debugger says transport.responseJSON.items is empty Dec 19 07:42:59 where is the original source? Dec 19 07:43:35 it looks like something may be missing in the start of the file Dec 19 08:06:36 can anyone here look at a ajax request? Dec 19 08:06:52 i can give it a shot Dec 19 08:07:11 ok, let me pastebin it Dec 19 08:10:14 Hey guys, just getting started with webOS development, hoping someone could point me in the right direction with a relatively basic question Dec 19 08:12:11 I have a list set up, and a "listTapHandler" for it. When a user taps on a list item, I want to modify the text of that particular list item. I assume I need to manipulate the "event" variable passed to the lastTapHandler function. Any ideas how to do that? Dec 19 08:12:13 http://pastebin.com/d649b4cf8 Dec 19 08:12:32 incidentist: link above Dec 19 08:13:55 LoneStar34: what's not working Dec 19 08:13:56 ? Dec 19 08:14:36 it brings back no results Dec 19 08:14:52 it should work, but for some weird reason - it does not Dec 19 08:16:19 I've tried things like event.item.style.display = "none" but doesn't seem to affect the item - what am I missing? Dec 19 08:16:43 on line 11 you can not see shit, but if you do a "Object.toJSON(rr)" you can see the results, but in json format Dec 19 08:18:12 nskdev: you are trying to change the text of a tapped list item? Dec 19 08:18:35 Right Dec 19 08:18:51 I'd just like to change the styling (to strikeout), but what i'm missing is how to get access to the DOM element from the event Dec 19 08:19:38 i know how to do it exactly in web development but not mojo... Dec 19 08:20:41 heh same here. I've been reading throught he documentation and I can't seem to find how to get access to the element Dec 19 08:20:59 Do you know if mojo intentially prevents in-line styling? Dec 19 08:21:22 nskdev: not sure... Dec 19 08:21:59 nskdev: have been trying to figure out an issue for the last 24hrs.. =( Dec 19 08:22:32 LoneStar34: Trust me, I know the feeling... I stayed up till 4am last night trying to get some basic stuff down. Dec 19 08:22:56 How long have you been coding mojo? Dec 19 08:23:16 LoneStar34: in line 11, you're setting innerHTML to an array, which won't work. Dec 19 08:24:02 or rather, an array + a string. not sure what that does. Dec 19 08:24:09 the for loop looks good though Dec 19 08:24:27 if you Mojo.Log resintro, does the right thing show up? Dec 19 08:24:40 nskdev: about a month Dec 19 08:25:15 how do I "Mojo.Log"? Dec 19 08:26:14 Mojo.Log.info("resintro: ", resintro); Dec 19 08:26:39 then look at the log by running "palm-log -f your.app.id" while it's running Dec 19 08:27:35 Well, I just learned something. Dec 19 08:27:44 oh ok have that running now, but get no errors Dec 19 08:30:06 am I still here? Dec 19 08:30:14 ah crap, right, try Mojo.Log.error instead of Mojo.Log.info Dec 19 08:30:15 ok, f-cking wifi Dec 19 08:30:25 LoneStar34: i read you loud and clear :P Dec 19 08:31:38 so I type "palm-log -f your.app.id" then "Mojo.Log.error" Dec 19 08:33:37 Mojo.Log.error("resintro: ", resintro); Dec 19 08:33:40 which goes in your code Dec 19 08:33:57 it will print the value of resintro to the error log Dec 19 08:34:04 at that point in the program. Dec 19 08:34:24 ok Dec 19 08:36:53 i do this in emulator linux right? Dec 19 08:38:17 disregard Dec 19 08:51:16 you also have to have the flag set in framework_info.json (i think thats the file) Dec 19 08:51:52 oh, ok Dec 19 08:52:38 framework_config.json Dec 19 08:53:02 http://developer.palm.com/index.php?option=com_content&view=article&id=1725 Dec 19 08:54:02 logLevel has to be 20 or higher to see Mojo.Log.info calls, but then you get all the warnings too which are annoying, i personally use Mojo.Log.error for debugging, that way the log isnt as cluttered Dec 19 08:54:35 dwm_: ok where do I access the log? Dec 19 08:55:09 i ssh into the emulator and run the command 'log com.mycompany.appname' (without quotes) Dec 19 08:55:24 oh ok thanks Dec 19 08:55:47 to exit that you just hit Ctrl-C then you're back at the cmd prompt Dec 19 08:56:41 ok thank you Dec 19 08:58:16 LoneStar34: btw, just figured out how to do it after enough trial and error. Dec 19 08:58:43 event.originalEvent.target.innerHTML was the variable I was looking for Dec 19 08:58:58 oh yeah Dec 19 08:59:11 It was buried in there though, I was way off Dec 19 08:59:12 nskdev: that looks like it Dec 19 08:59:46 nskdev: you got it working? Dec 19 09:00:13 LoneStar34: Yeah, I just ran event.originalEvent.target.innerHTML='' + event.originalEvent.target.innerHTML + ''; Dec 19 09:00:18 and the darn thing actually worked :-P Dec 19 09:00:39 nice awesome! Dec 19 09:01:01 heh thanks. I just learned about this room so I'm sure I'll be back on here the next time I'm stumped. Dec 19 09:01:15 right on! Dec 19 09:01:20 Take care! Dec 19 09:26:52 Have no fucking clue, what was the problem, but is is now f-cking working! 24hrs later! Dec 19 10:10:47 is there something like "on Tap" = close "abc"
Dec 19 10:15:01 howdy sugardav1 Dec 19 10:25:07 LoneStar34: close? Dec 19 10:25:09 you mean hide? Dec 19 10:26:46 well, i would prefer kill, so it does not take up memory Dec 19 10:26:56 Btw: fixed the ajax issue Dec 19 10:27:58 LoneStar34: well, you can remove dom nodes, you know... Dec 19 10:28:25 btw, did you consider learning the subtle art of dynamic lists? Dec 19 10:28:48 dynamic lists? Dec 19 10:30:12 the problem, was an unknown issue, just copied some working code with the defective code and fix the ajax call. so at the end do not know what the problem was. Dec 19 10:30:46 probably a "." or ";" or "some-shit" out of place. Dec 19 10:36:13 ivanst: how is croatia, do you work everyday? Dec 19 10:56:36 Hi, how do i find out, what data is hidden in a Mojo.Event? Is this anywhere documented? Dec 19 11:14:19 Nobody awake? Dec 19 11:19:34 OnkelC: how about the source? Dec 19 11:28:26 @ivanst - What I try to find out is, where the user tapped on my DIV-element. When I listen for a Mojo.Event.tap I catch the Event, but I can't find out the x and y value of the tap. Dec 19 11:28:56 In the source of the Event, I don't see any members of the Tap-Event. Dec 19 11:42:42 people awake yet? Dec 19 12:07:49 nobody is awake yet Dec 19 12:07:53 first thing's first... Dec 19 12:07:57 OnkelC: are you still here? Dec 19 12:08:15 yes Dec 19 12:09:16 By searchin the web I found out that the tap-Event has some down-member which in turn ahs a x and y field. But where is that documented in the palm documentation? Dec 19 12:16:36 i think all event handlers receive inside the event info a property called originalEvent Dec 19 12:19:09 "this.model.originalValue" Dec 19 12:37:03 Hmm, I don't understand this. :-( What does this Property contain? Dec 19 13:02:34 does anyone know of a place where webOS bugs may be submitted? Dec 19 13:03:06 aha... on the forum :-/ Dec 19 13:03:08 how fucked up Dec 19 13:22:36 Anyone want to test the new Web Server available in Preware? Dec 19 13:30:13 whatcha got rwitby ? Dec 19 13:33:27 Bmyers: lighttpd Dec 19 13:33:44 install via Preware, it shares your /media/internal on wifi Dec 19 13:34:16 drop a /media/internal/index.html in place for an instant web site, or leave it out for a directory index Dec 19 13:37:03 cool Dec 19 13:37:43 under what section? Dec 19 13:40:28 Optware Dec 19 13:43:43 preware has been giving me problems. Dec 19 13:43:56 i go into endless downloading feed information Dec 19 13:46:39 Bmyers: which version? Dec 19 13:46:55 the one on my pre =) Dec 19 13:46:59 I've seen that on .13, but not in .12 Dec 19 13:47:07 (.13 is alpha testing) Dec 19 13:47:08 dunno, i'm rebooting it now Dec 19 13:48:25 hasnt updated feeds since 11/29 Dec 19 13:48:58 0.9.12 Dec 19 13:49:21 Bmyers: have you tried disabling the theme feeds? Dec 19 13:49:46 nope. lemme try that Dec 19 13:50:43 prethemer or precentral themes? Dec 19 14:06:39 do u have to hack etc files to configure it? Dec 19 14:06:52 Bmyers: no, use the Manage Feeds menu entry Dec 19 14:06:58 oh, you mean the web server? Dec 19 14:07:03 no, it should work out of the box Dec 19 14:07:17 you can then edit config files if you want to change it Dec 19 14:07:20 my usb net doesnt work i dont think Dec 19 14:10:53 Bmyers: yeah, there's definitely something wrong with the themes feeds Dec 19 14:11:31 i shut off both and it updated finally Dec 19 14:11:38 bunch new stuff i didnt realize.. Dec 19 14:11:54 i installed lighty but cant do usb net :( Dec 19 14:12:03 would need to go wifi Dec 19 14:12:09 it does wifi Dec 19 14:12:24 is there an httpd.conf? Dec 19 14:12:45 in /opt/etc/lighttpd/lighttpd.conf Dec 19 14:13:12 Guess I'll need to write a wiki page for it ... Dec 19 14:13:36 well, i'm not qualified to do it. so yeah, i guess u do. =) Dec 19 14:14:05 well, that filename and http://www.lighttpd.net/ should be enough ... Dec 19 14:18:17 so how do i add the wifi interface? Dec 19 14:19:36 it's already on the wifi interface Dec 19 14:22:32 i thought u said usb... Dec 19 14:24:27 well i got a dir listing.. Dec 19 14:25:26 nope, don't think I said usb anywhere Dec 19 14:30:06 i got confused my the description in preware Dec 19 14:30:49 "publish contents of the USB partition on port 80" Dec 19 14:31:07 it doesn say port 80 where Dec 19 14:32:05 i got confused BY the description in preware Dec 19 14:34:14 well lighty works Dec 19 14:51:31 rwhitby: got some complaint on meta-doctor's make about ssh/authorized_keys missing Dec 19 14:53:09 zomg: yep, either give it a file, or turn off the option Dec 19 14:53:50 Should I edit the makefile or..? Dec 19 14:53:53 to turn it off Dec 19 14:54:41 Perhaps the guide at webos-internals wiki should be updated to point out things like this, and also how to continue if it fails for some reason Dec 19 14:55:15 at least it would seem that for example the first unpack step could be skipped if you already did it even if it failed, but I did not quite manage to get it going withotu completely deleting the build dir Dec 19 14:59:00 rwhitby: ok I think I got the ssh thing disabled from the makefile so nevermind that Dec 19 15:00:13 zomg: feel free to update the wiki page :-) Dec 19 15:01:19 guess I'll need to register to edit? Dec 19 15:01:24 not seeing any edit buttons =) Dec 19 15:01:49 I'm trying to patch it in cygwin, if I get it working I'll add steps for that Dec 19 15:08:37 rwhitby: so how about that failing half-way? Unpack seems to be possible to omit but I have no idea what the questions I get for patching mean Dec 19 15:09:03 zomg: make clobber before running it a second time Dec 19 15:09:29 ah Dec 19 15:09:31 I tried make clean :P Dec 19 15:10:01 I got "Reversed (or previous applied) Patch detected! Assume -R?" and "Apply anyway?" Dec 19 15:10:09 in patch when I omitted unpack.. no idea what that meant Dec 19 15:10:26 it means it's already patched the files, and you're asking it to patch them again Dec 19 15:10:48 ah okay, wasn't sure in which step it was when it failed Dec 19 15:12:24 hi! how Ccan I restart my SDK to get a new out-of-box emulator? Dec 19 15:14:33 rwhitby: I think I got it built properly.. at least it runs :D Dec 19 15:15:58 alex_: what did you do to your emulator? :-) Dec 19 15:16:50 ivanst: I run "First time app" (or somethign similar) but I reboot my emulator without writting my palm account... now I can't see the application Dec 19 15:17:58 by "can't see it" you mean that it doesn't show up in your launcher on any of the pages? Dec 19 15:18:02 howdy all! Dec 19 15:18:08 ivanst: exactly Dec 19 15:18:10 * ivanst pokes LoneStar34 in the eye Dec 19 15:18:16 (excuse my english) Dec 19 15:18:26 alex_: what about trying to reinstall the application to the emulator? Dec 19 15:18:35 you'll be doing a lot of that anyway Dec 19 15:19:03 ivanst: but this is a default app, so I think that the quick-way is reboot to out-of-the-box state Dec 19 15:21:56 alex_: sorry, i have no idea what would be required - but i guess a reinstall of the SDK would work Dec 19 15:22:18 i'm on a mac, for me, there's not that much to the sdk anyway, just a couple of command line tools... no settings to lose/mess up Dec 19 15:22:48 i'm over linux... no problem reinstalling, but... I think that it's a easier way ;) Dec 19 15:23:13 * ivanst scratches his head... Dec 19 15:24:18 i remember that there's a file somewhere on the device that indicates if you did or didn't run the setup... you might want to check precentral forums or some other place about that... Dec 19 15:24:59 Ouch, my eye fell out of my head Dec 19 15:26:02 LoneStar34: WHAT?! Dec 19 15:26:34 ivanst: you poked my eye out Dec 19 15:26:49 ah! i did... Dec 19 15:26:54 * ivanst is a bit sleepy... Dec 19 15:27:02 and it's only half past four in the afternoon Dec 19 15:27:11 anyone know how to use the following code some dude left in the forum "event.originalEvent.target.innerHTML='' + event.originalEvent.target.innerHTML + ''" Dec 19 15:27:33 i was like that yesterday: sleep and beers fix everything Dec 19 15:28:36 he said on tap it replaces the text of button or something Dec 19 15:28:44 ivanst: where are u? from spain? Dec 19 15:28:53 alex_: croatia Dec 19 15:28:57 (I said it due to 4:30pm) Dec 19 15:30:04 i thought spain was in the GMT zone? Dec 19 15:30:22 nope, i was wrong! Dec 19 15:35:12 rwhitby: Updated the wiki page http://www.webos-internals.org/wiki/Application:MetaDoctor Dec 19 15:42:42 looking to tap "abc" button, when tapped "
text is replaced with other text Dec 19 15:49:12 I've reinstalled the emulator (aptitude purge palm-sdk) and then dpkg -i palm-sdk... but the emulator-image is the same after & before Dec 19 15:50:44 LoneStar34: when you setup the button, put the label in the model. Then in your tap handler, change the buttonModel.label and use modelChanged Dec 19 15:53:00 haeffb: what if I click on button "a" and want it to change textfield "hintText: 'you suck' Dec 19 15:53:51 it would be "button" A changes "textfield" B Dec 19 15:56:23 that would be more difficult, because hintText is in the attributes of the TextField. You can, however change the actual text value of the TextField the same way. Dec 19 15:57:30 in the tap event of the button, myTextFieldModel.value = "You SUCK, sucker!"; Dec 19 15:57:38 then call modelChanged on the textField Dec 19 16:01:00 I found it! to restore the state erase the file in /home/[USER]/.VirtualBox/Machines Dec 19 16:01:55 haeffb: would any of this be defined in the "ThisAssistant.prototype.setup" ? Dec 19 16:02:23 hrms Dec 19 16:02:28 I just webos-doctored my Pre Dec 19 16:02:31 well...yes...some of it. Dec 19 16:02:38 and now attempting to palm-install an app says not enough space Dec 19 16:02:44 even though the device was just completely cleaned Dec 19 16:02:51 that's where u setupWidget your button and your textfield. Dec 19 16:02:57 I wonder if the sdk is just screwed or smth Dec 19 16:03:20 that's where you register the listener for the tap Event Dec 19 16:03:29 zomg - did you Developer mode? Dec 19 16:03:42 Yeah Dec 19 16:04:23 can I access to a console with root login in the emalator? Dec 19 16:04:24 haefb: thank you, fill mess with it thanks Dec 19 16:04:40 fill = will Dec 19 16:20:23 Yep Dec 19 16:20:27 my sdk was just screwed up Dec 19 16:20:31 reinstall fixed it Dec 19 16:20:32 oooh Dec 19 16:20:41 someone with webos version 1.3.5 ran my app Dec 19 16:20:49 ;D Dec 19 16:21:17 must mean its finally getting reviewed Dec 19 16:21:26 hax Dec 19 16:21:36 dawm, my app got updated in the catalog today. After submit on 12th. Dec 19 16:21:43 I was thinking of making a better dialer Dec 19 16:21:44 good i should be next Dec 19 16:21:56 i submited on the 13th and its finally getting testest Dec 19 16:21:58 mostly for fun, I don't even have app store access... Broken damn thing Dec 19 16:22:11 at least I managed to get it unbricked thanks to meta-doctor Dec 19 16:23:45 haeddb: my app got lost at palm, but finally getting reviewed Dec 19 16:25:22 well atleast i hope it is getting reviewed, submitting my 2nd app this tuesday Dec 19 16:27:30 how can I show the menu bar in the emulator? Dec 19 16:32:16 what menu bar? in an app? Dec 19 16:36:19 haeffb: the interactive menu that can move around all the screen Dec 19 16:36:35 or in a app Dec 19 16:38:29 Bmyers: sorry about yesterday, lots of business occured Dec 19 16:40:04 np. life happens Dec 19 16:43:55 haeffb: do you know? Dec 19 16:44:36 sugardav1: np. life happens Dec 19 16:45:29 Bmyers: did you go ahead and submit it? Dec 19 16:45:30 hello sugardav1 Dec 19 16:47:06 no. not yet. Dec 19 16:47:35 had to remove a lib with no license and replace it Dec 19 16:47:41 now i;m stuck messing with that Dec 19 16:47:58 everything else is ready (i think) Dec 19 16:48:51 hey sugardav1 Dec 19 16:49:11 Bmyers: coolio Dec 19 16:49:15 hey dawm_ and LoneStar34 Dec 19 16:49:53 sugardav1: got the ajax issue fixed, problem ... not sure what it was Dec 19 16:50:26 i think it was a hidden text box interfering, jk Dec 19 16:50:42 LoneStar34: it was probably that you were using bind instead of bindAsEventListener ;) Dec 19 16:51:42 SD: i'll send over the current snap shot if u have a minute Dec 19 16:52:27 Bmyers: sure, send it on Dec 19 16:53:07 alex_: not sure what you mean. the launcher bar? Dec 19 16:53:33 what up Bmyers & sugardav1? Dec 19 16:53:44 sugardav1: no, it had something to do, with the json parser code, after the eleventh hour simply copied some working code it renamed a few things and BOOM! it worked Dec 19 16:54:02 probably some crap overlooked Dec 19 16:54:35 overlooked for 24hours... Dec 19 16:54:46 ok, i think i have the talking bug Dec 19 16:56:10 LoneStar34: it's always nice when things start working Dec 19 16:56:17 haeffb: mornin' Dec 19 16:57:08 yeah, gonna submit this app by tuesday Dec 19 16:57:35 and work on other features while it is being reviewed Dec 19 16:58:42 would the real sugardave please stand up.. Dec 19 16:59:21 maybe my router won't die this time Dec 19 16:59:35 routers and blondes.. Dec 19 17:00:13 never really appreciate until the go down on ya. Dec 19 17:01:01 never mind.. Dec 19 17:01:52 haha Dec 19 17:01:53 yeah Dec 19 17:02:10 I might have to start calling mine 'Lotus Notes' Dec 19 17:02:27 Public Service Announcement: Don't get cute with spelling of variable names. Dec 19 17:03:32 HAEFFB!! Dec 19 17:03:41 hows your drawers today? Dec 19 17:04:10 well...they're not empty anymore... Dec 19 17:04:28 not sure that's progress Dec 19 17:04:43 ew.... Dec 19 17:04:52 they are full? Dec 19 17:06:32 you'll understand when you get old like me. Dec 19 17:07:09 i dunno bud, i'm no spring chicken.. Dec 19 17:07:31 ah, so then you DO know what I'm talking about... :) Dec 19 17:08:12 * sugardave apparently looks young. "The lady at the checkout counter asked my wife if I was her son the other day. Boy, was my wife pissed!" Dec 19 17:08:51 sugardave: lol Dec 19 17:09:03 damn that is bad, for your "wife"... Dec 19 17:09:48 shes a cougar? Dec 19 17:09:50 i once told some lady, she looked old - got wine thrown in my face... Dec 19 17:10:25 red wine, in between my contacts and eye! red saline solution Dec 19 17:10:53 LoneStar34: what were you thinking? you NEVER tell a woman she looks old Dec 19 17:11:09 Bmyers: nah, she's only 5 years older than me Dec 19 17:11:30 sugardave: i learned that the hard way =) Dec 19 17:14:36 * haeffb actually writing code today. First time in about 1.5 months. Dec 19 17:15:38 haeffb: welcome back to codeville, took 4 months off myself Dec 19 17:18:00 anyone have any slick methods in their pocket of logging an array objects out to see it's internals? Dec 19 17:18:05 * sugardave might write some code today. Dec 19 17:18:34 Bmyers: a regular, plain array? Dec 19 17:18:39 or an object? Dec 19 17:19:08 * sugardave might try to figure out how to use Ares properly. Dec 19 17:19:19 or, I might just play video games Dec 19 17:19:32 WHO KNOWS WHAT THE FUTURE HAS IN STORE?! Dec 19 17:19:38 Mojo.Log.info("My Object is %j", myObject); Dec 19 17:19:59 haeffb: ooo, what is %j? Dec 19 17:20:19 ...to JSON Dec 19 17:20:21 I bet Dec 19 17:20:36 Bmyers: if it's not an object, but a plain array, you can't just print it Dec 19 17:20:46 er, you CAN just print it Dec 19 17:21:39 prints the object as a string Dec 19 17:23:15 print it to some div you mean or does print go to the screen somewhere? Dec 19 17:23:27 o Dec 19 17:25:13 Goes into your log file Dec 19 17:25:48 If you want to print to a div, you can use myDiv.innerHTML = JSON.stringify(myObject); Dec 19 17:26:02 ok. thanks Dec 19 17:26:50 its an array of objects Dec 19 17:27:08 with fries on the side.. Dec 19 17:28:53 If it's big, you'll want to use the JSON.Stringify and print to a div. palm-log doesn't show long strings, and tail in putty truncates long strings Dec 19 17:29:05 s/big/super sized Dec 19 17:29:09 yeah, it blows Dec 19 17:29:31 I remember wasting a day or two trying to figure out why my tests weren't working Dec 19 17:29:46 well, they appeared to not be working Dec 19 17:31:16 can I see the app catalog via emulator? Dec 19 17:31:29 haeffb: I don't know what is the correct name, but no problem, I solved my problem Dec 19 17:31:41 no app catalog in emu Dec 19 17:32:14 so... I only run my own apps, or download the ipk and install it? Dec 19 17:32:23 alex_: you got it Dec 19 17:34:16 sugardave: and can I see the app catalog without install apps? via computer or via emu? I bought the palm pre, but I haven't get it yet. so I like to test my new system in the emu and see what options I have Dec 19 17:34:54 alex_: you can only get to the app catalog with your device Dec 19 17:35:21 alex_: for homebrew apps, you can download the ipks from a regular browser Dec 19 17:37:37 OK, have the basic functionality of my app down. Now gotta learn SQLite. Dec 19 17:38:15 haeffb , sugardave is a pro sql'r Dec 19 17:38:21 * rbredow is excited. Paratroopers just passed 2000 downloads in it's first 7 days! Dec 19 17:38:56 rbredow: sweet Dec 19 17:38:59 congratulations Dec 19 17:39:59 hm silly question Dec 19 17:40:13 can I create a new Mojo.Widget.Button withotu specifying it in the template? Dec 19 17:40:19 I can't seem to be able to find any examples of doing that Dec 19 17:40:37 zomg: you mean insert via javascript after scene setup? Dec 19 17:40:43 yeah, basically Dec 19 17:40:52 you say template....is this a list? Dec 19 17:41:10 not exactly unless you count a bunch of buttons a list Dec 19 17:41:16 okay Dec 19 17:41:19 I can help you Dec 19 17:41:28 uno momento, por favor Dec 19 17:41:40 sugardave: Thx! Dec 19 17:43:38 zomg: this is what I did with a WebView widget...should be easier to do a Button Dec 19 17:43:46 hhttp://webos101.com/WebView#Advanced_Example Dec 19 17:44:21 wow, feels hacky :D Dec 19 17:44:34 I would have expected something ála new Mojo.Widget.Button(...) and something Dec 19 17:44:44 zomg: hey, it might work Dec 19 17:44:46 :D Dec 19 17:44:47 not sure Dec 19 17:45:03 booo Dec 19 17:45:10 Yeah maybe I should try to figure it from the mojo source Dec 19 17:45:23 my mysql server's clock is 3~mins faster than my web server Dec 19 17:45:36 dawm_: suck Dec 19 17:45:58 when you develop with Ares, and the launch time you only must have the emulator open and then click the play button? or you need anymore? I'm in linux with Firefox 3.5 and the emulator running, but nothin appears to ocurr Dec 19 17:46:16 off topic, but does anyone know if windows 7 is able to use more than 2gig of ram at one time? Dec 19 17:46:23 zomg: the deal is....what are you going to do with your new Mojo.Widget.Button object? Dec 19 17:46:30 it's still got to get inserted somehow Dec 19 17:46:46 yeah Dec 19 17:47:02 I'll try to figure out if there's a nicer way =) Dec 19 17:47:16 LoneStar34, i would assume so, most store bought pcs have atleadt 2gb Dec 19 17:47:24 need food, brb Dec 19 17:48:16 alex_: I've seen some people report that Ubuntu/FF 3.5/Ares is not working well Dec 19 17:48:27 dawm_: the thing is windows vista can at most allocate only 2 gigs to anything, regardless of what it is Dec 19 17:48:31 LoneStar34: XP could use 3GB Dec 19 17:48:45 LoneStar34, maybe the different versions allow more Dec 19 17:48:51 like home, pro, ultimate ..etc Dec 19 17:49:02 ask google, he knows Dec 19 17:49:19 dawm_: nope 2 gigs is it Dec 19 17:49:30 sugardave ;( and anybody could use it? fixing the problem? Dec 19 17:49:34 yeah let me know Dec 19 17:50:06 alex_: not sure, check the forums at developer.palm.com and see if there has been any response Dec 19 17:50:50 thanks sugardave Dec 19 17:50:56 np, good luck Dec 19 17:52:06 LoneStar34, 32bit is 4gb limit, 64bit is 192gb limit Dec 19 17:52:14 vista 32; 4 gigs max, 64: 128gigs Dec 19 17:52:28 wow we wrote the same shit Dec 19 17:52:29 lol Dec 19 17:52:39 my 64bit is higher :P Dec 19 17:52:46 yeah Dec 19 17:52:49 mine goes to 11 Dec 19 17:53:17 il c&p this snipplet Dec 19 17:53:28 x86 architectures have a limited address space, just 4 GB in total, and they have to fit all hardware components, leaving at maximum just 3.5 GB, but more in the vicinity of 3.3 GB for RAM. Dec 19 17:53:51 that's a lot more than 640K Dec 19 17:54:05 basically on 32bit, the pipe is too small and the flow is too low. but on 64bit its a friggen huge pipe and a ton of water Dec 19 17:54:11 damn_: wonder what window 7 is, assumming it uses 90% of vista code base Dec 19 17:54:32 about 3.33gb Dec 19 17:54:50 cool Dec 19 17:55:20 http://news.softpedia.com/news/192-GB-Windows-7-Maximum-Supported-RAM-110282.shtml Dec 19 17:55:49 so ya win7 64bit enterprise/ultimate bumped vistas limit of 128 to 192 Dec 19 17:55:54 thats a nice ramdisk if you ask me Dec 19 17:56:27 yeah: 32bit has reached end of the road after windows 7.... I assume Dec 19 17:58:34 damn i am wired, to much caffienated tea Dec 19 17:59:15 32-bit will be around a long time Dec 19 18:00:06 sugardave: you think, even with a 4gig limit? i think macOS has the same issue Dec 19 18:04:55 its the hardware not os Dec 19 18:05:12 32bit doesnt have enough pipe to handle it Dec 19 18:05:22 just like EIDE vs SATA Dec 19 18:05:57 sorry PATA vs SATA Dec 19 18:07:01 oh i got you, so hardware has gotten to advanced or memory intensive, that it needs more pipe Dec 19 18:07:29 a simple way to think about it, 32bit has 32wires, and 64bit has 64wires, you can do more with more wires Dec 19 18:07:38 less congestion Dec 19 18:07:42 like a highway with more lanes Dec 19 18:08:25 right on Dec 19 18:08:40 so, Dec 19 18:08:44 I just mean 32-bit processor architecure is not going to disappear any time soon Dec 19 18:08:53 yeah Dec 19 18:09:33 oh yeah: got you, just like internal combustion engine Dec 19 18:13:21 how do I access a widget's attribute properties once it's been created? Dec 19 18:13:53 n8o: I think you have to use the model properties after a widget is instantiated....but not 100% sure about that Dec 19 18:14:22 sugardave: that might make sense. not sure how to access that either, but I'll look for docs on it Dec 19 18:14:48 ok laters, time for lunch and a beer! Dec 19 18:14:59 n8o: oh, I see...yeah not sure how to do that...I usually just have an object I use to setup/modify then call modelChanged Dec 19 18:15:08 and my object always has the values Dec 19 18:15:36 sugardave: I'm using ares Dec 19 18:15:49 oh Dec 19 18:15:53 well, good luck! Dec 19 18:16:07 :D Dec 19 18:16:24 even though I don't know the API yet, I love ares so far Dec 19 18:16:40 how much does it cost to public apps to the webos app store? Dec 19 18:17:16 n8o: there is going to be a developer registration fee ($100 or $200, can't recall) and $50 per app submission fee Dec 19 18:17:21 ok so my mysql server is 3m10s faster than my web server.. thats annoying Dec 19 18:17:32 $99/annual Dec 19 18:17:34 sugardave: oh, more expensive than Apple? Dec 19 18:17:36 $50/per app Dec 19 18:17:39 wow Dec 19 18:17:41 dawm_: it's picked up another 10 seconds? Dec 19 18:17:45 sounds like I'm wasting my time then :( Dec 19 18:17:48 oh, $100 annual Dec 19 18:17:50 damn Dec 19 18:17:59 no i just nailed down the exact offset heh Dec 19 18:18:27 n8o: not a waste of time if your apps can make more than $150 Dec 19 18:18:40 i'm curious why devs are making pre apps instead of iPhone ones? Dec 19 18:19:38 cause i dont have a mac Dec 19 18:19:41 it's a new platform Dec 19 18:19:53 seems pretty easy to write for Dec 19 18:19:57 dont u need to have mac to devel for iphone? Dec 19 18:20:05 Bmyers: ya, I can see that. apple's $100/year looks expensive when you need to buy a mac as well Dec 19 18:20:08 I think I'd have to learn Java for iPhone dev...that's not happening Dec 19 18:20:14 because i have a Pre Dec 19 18:20:31 objective C for iphone development Dec 19 18:20:34 sugardave: no, Java is not an option for iPhone dev. Either Cocoa touch or Javascript with Phonegap Dec 19 18:20:41 bpadalino: ditto for that, too....not happening Dec 19 18:20:48 the $50/app is intended to increase quality of apps Dec 19 18:20:58 hmm...what is the Java phone? Dec 19 18:21:01 Android and BB? Dec 19 18:21:09 yes, android and bb are java .. Dec 19 18:21:14 okay Dec 19 18:21:15 but android also supports native C/C++ Dec 19 18:21:15 thanks Dec 19 18:21:22 as of a couple of months ago Dec 19 18:21:25 haeffb: I can appreciate that, but it's still more than apple charges. seems risky from a business perspective Dec 19 18:21:44 I MIGHT look at phonegap if/when I have an app worthy of going cross-platform Dec 19 18:22:01 sugardave: I can appreciate the "coolness" of webOS. that's what I'm here playing with ares. But from a business perspective, iPhone seems far more logical Dec 19 18:22:07 n8o, you spend more with apple since you need to spend $500 to get an entry level mac mini if you wanted to do development and didn't own a mac Dec 19 18:22:24 bpadalino: ya, I definitely accept that Dec 19 18:22:38 n8o, you also have the learning time if you aren't an objc/xcode tools house .. Dec 19 18:22:45 so time to market is increased Dec 19 18:23:12 there are some tools, though, that allow you to target webos, iphone and android all from the same coe Dec 19 18:23:15 code rather Dec 19 18:23:21 n8o: plus, it's been fun as hell learning javascript writing apps for webOS Dec 19 18:23:24 similar to what GWT does in it's language translation Dec 19 18:23:25 can u get away with hackintosh? Dec 19 18:23:38 bpadalino: there is that too. based on my experience, the strength of Xcode tools are fantastic. once you learn them a ton of capabilities are there Dec 19 18:23:49 Bmyers: sure, but if you're a serious business looking at it - you'd probably want to "do it right" Dec 19 18:23:51 sugardave: i agree. learning JS has been great so far Dec 19 18:23:55 Bmyers: absolutely. I know many successful iPhone devs using atom-based hackintoshes Dec 19 18:24:21 i was trying to go that route just to get my feet wet Dec 19 18:24:28 * haeffb is not a professional developer. Hobbyist making apps that I want to use. Dec 19 18:24:30 but it became to much trouble Dec 19 18:24:42 haeffb: stop stealing my life Dec 19 18:24:44 bpadalino: the best multi-target framework is probably phonegap, which I've used to publish iPhone apps. Very nice. Also titanium, tho I haven't published an app with it yet Dec 19 18:24:59 foe, foe, foe! Dec 19 18:25:27 if I were a PC user that wanted to make an iPhone app I would put a copy of Mac OS server inside a VM. Dec 19 18:25:40 i was trying to dev for iphone, but it was difficult, and i eventually switched to sprint and gave it up Dec 19 18:25:47 n8o: or just install osx on commodity hardware Dec 19 18:26:00 i didnt see examples of vmware hackintosh Dec 19 18:26:04 would have tried it.. Dec 19 18:26:19 After using ares for the last 2 days, I would say it's my favorite IDE. I now hope that either apple copies it, palm releases ares for iphone, or apple or RIM buys pre and uses it. All long shots, imho Dec 19 18:26:27 i think anyone who is serious about developing for a platform would purchase the appropriate tools Dec 19 18:27:07 agreed but, real life gets in the way sometimes.. Dec 19 18:27:12 Based on my own experience, making $150 on the apple iphone store is trivial. We'll have to see if webOS's store is as strong. Dec 19 18:27:30 it won't be as popular, but competition is likely to be weaker? Dec 19 18:27:50 * haeffb resembles that remark Dec 19 18:27:51 my $0.99 app has sold 26 copies so far since tuesday night. but it's a niche app for dave matthews band fans, so i didnt expect it to be massive yet Dec 19 18:28:01 so if i buy a $1800 mac to devel $150 worth of apps i'm a serious developer? Dec 19 18:28:25 yetdog: $26/week isn't too bad. your first app? Dec 19 18:28:36 if you were a serious developer, i doubt $150 would be your target return on investment .. Dec 19 18:28:42 2nd, 1st paid. both came out about the same time Dec 19 18:28:51 i dont expect the pace to keep up Dec 19 18:28:56 but im already working on v2.0.0 Dec 19 18:28:56 Bmyers: haha, it is if you have VC. buy a refurb mac mini tho. $500 Dec 19 18:29:18 yetdog: nice. what'd you dev it in? Dec 19 18:29:35 eclipse on snow leopard Dec 19 18:29:48 * haeffb uses eclipse on vista Dec 19 18:29:48 yetdog: ah, interesting Dec 19 18:29:49 good morning Dec 19 18:29:55 as far as an IDE goes, it's basically how i use dreamweaver for web dev Dec 19 18:30:01 glorified text editor Dec 19 18:30:01 hello ATL Dec 19 18:30:07 I've never gotten into eclipse. TextMate and Xcode for me :P Dec 19 18:30:08 the palm plugins are nice - making new scenes easy, etc Dec 19 18:30:20 integration w/ the palm emulator Dec 19 18:30:38 ive played w/ XCode when i was trying to dev for iphone Dec 19 18:30:44 hell i might *still* write an iphone app Dec 19 18:30:48 what is the 101 website? Dec 19 18:30:56 but im gonna have to try to use the push notification system in it Dec 19 18:31:02 thats the only thing that'll make it worth it Dec 19 18:31:08 i am a big TM fan Dec 19 18:31:08 yetdog: got a URL to your app? Dec 19 18:31:11 haeffb: hey Dec 19 18:31:13 (webos notification system = AMAZING) Dec 19 18:31:13 allan is a really, really smart guy Dec 19 18:31:19 Bmyers: wsup Dec 19 18:31:38 yetdog: i've not seen webos notifications. i just have the emulator - is there an easy way to get a taste? Dec 19 18:31:49 hmmm good question Dec 19 18:31:54 http://www.webos101.com Dec 19 18:32:06 set yourself up an alarm togo off in the clock ? Dec 19 18:32:28 HEY ATLANTA !!!!!!!!!!!!!! Dec 19 18:32:32 wsup Dec 19 18:32:41 i got rejected because i didnt have a help scene Dec 19 18:32:42 opss Dec 19 18:32:43 lol Dec 19 18:32:53 * sugardave smacks atlanta. Dec 19 18:32:55 doofus Dec 19 18:32:56 i am trying to get ready to submit my app Dec 19 18:33:06 atlanta: same here :) Dec 19 18:33:10 sugardave: where's the SQLite example? Dec 19 18:33:15 but sugardave keeps poo poo'ing my menus Dec 19 18:33:16 n8o: http://www.youtube.com/watch?v=FkzCoBp9Fdk Dec 19 18:33:25 check that out, shows some cool notification stuff Dec 19 18:33:27 haeffb: hang on a sec...which one? Dec 19 18:33:35 sugardave: lol wsup my man Dec 19 18:33:46 isn't there a basic one on webos-internals or webos101? Dec 19 18:33:59 webos-interna;ls has good example Dec 19 18:34:03 i used the one on internals Dec 19 18:34:33 http://webos101.com/Getting_JSON_From_An_External_MySQL_Database Dec 19 18:34:42 that's the web service example Dec 19 18:34:52 the basic sqlite page is on internals, though Dec 19 18:34:58 yetdog: ty Dec 19 18:35:04 yep, not that one. Dec 19 18:35:12 * haeffb going to internals for a bit. Dec 19 18:35:16 they invited me to CES Dec 19 18:35:31 http://www.webos-internals.org/wiki/Mojo_Storage_Database Dec 19 18:35:35 haeffb: ^^^^^ Dec 19 18:35:44 wonder if i can write that off for a business expense Dec 19 18:35:45 ? Dec 19 18:35:51 atlanta: yep Dec 19 18:35:54 I would guess Dec 19 18:36:07 might consider going Dec 19 18:36:13 neat thingys there Dec 19 18:36:31 atlanta: who invited you to CES? Dec 19 18:36:39 but it's National Championship game day! Dec 19 18:37:12 n8o: palm Dec 19 18:37:13 :-) Dec 19 18:37:18 nice! Dec 19 18:37:32 neato .. gonna go ? Dec 19 18:37:34 atlanta: what did you do/do you do to get that? Dec 19 18:38:22 n8o: I think if you currently have an app in the catalog they sent the email Dec 19 18:38:22 not to sure yet if i can write it off sure Dec 19 18:38:26 sugardave: nothing beats watching sports at a Vegas sportsbook Dec 19 18:38:31 n8o: yea not to sure Dec 19 18:38:34 haeffb: very true.... Dec 19 18:38:34 be nice ? :-) Dec 19 18:38:35 lol Dec 19 18:38:37 still, very nice :D Dec 19 18:39:16 any body got how to successfully upload and edit apps to ares Dec 19 18:39:35 Yes. Dec 19 18:39:42 rbredow: wsup my man Dec 19 18:39:47 I've got it working with svn (which is pretty slick). Dec 19 18:40:00 awww i never can get the files into the design view Dec 19 18:40:02 after i upload Dec 19 18:40:07 But if you just need to send some files, zip them up. Dec 19 18:40:10 Right...that's the trick Dec 19 18:40:21 havent got that to work yet? Dec 19 18:40:30 The design view uses another format, so you won't see your existing views design view. Dec 19 18:40:33 Only new views. Dec 19 18:40:50 awww booooooooo Dec 19 18:40:53 what I don't understand is how to work with a model for a widget I added in ares Dec 19 18:41:24 The new file is called chome.js and is a pretty easy to read json file. Still, probably not great to mess with them directly unless you know what you're doing (I don't). Dec 19 18:41:25 n8o: model is just a class to interact with data Dec 19 18:41:44 rbredow: gotcha i guess ill try to build a new app in there Dec 19 18:41:49 leave the old ones to komodo Dec 19 18:41:51 atlanta: I understand that. but how do I get the model for widget label1 ? Dec 19 18:41:59 ohhh Dec 19 18:42:07 you have to assign it in setup Dec 19 18:42:13 like this.widget1model Dec 19 18:42:16 atlanta: ares does the setup? Dec 19 18:42:34 yea when u add it i believe it does Dec 19 18:43:15 in ares the label has a model tab, where I can enter a name, but i don't know where to put that model or get that model based on that name :S Dec 19 18:43:28 maybe I'm missing this in the ares tutorial. I'll have to check again Dec 19 18:43:28 this.modelname should be Dec 19 18:43:49 checking now Dec 19 18:50:24 ares is to wierd Dec 19 18:50:29 they need a vid tut Dec 19 18:50:38 ya Dec 19 18:50:43 their tutorial is too simple Dec 19 18:50:55 what's the best way to log stuff? Dec 19 18:51:09 i do errorDialog Dec 19 18:51:12 for quick stuff Dec 19 18:51:14 but Dec 19 18:51:26 Mojo.log.info Dec 19 18:54:31 ah, i got the log viewer open, but was using alert() to write to it Dec 19 18:54:36 gotta play with the debugger too Dec 19 19:02:07 so i change a label's model.label but the label's text doesn't update. something else I have to do? Dec 19 19:02:50 this.controller.modelChanged(myLabelModel); Dec 19 19:02:51 modelchanged? Dec 19 19:03:17 where this.controller refers to the scene controller for the scene containing the widget Dec 19 19:04:03 yup, model changed was it. nice! Dec 19 19:04:14 too bad it didn't happen magically :P Dec 19 19:04:16 oh well Dec 19 19:05:54 Could not insert record: datatype mismatch Dec 19 19:30:54 I think mercurial access over ssh for Ares maybe broken. Has anyone gotten this to work? Dec 19 19:32:13 how to store javascript date object in SQLite table? Dec 19 19:33:21 haeffb: http://www.sqlite.org/lang_datefunc.html Dec 19 19:43:03 fiftycal_: I haven't tried any version control yet Dec 19 19:43:52 yeah figured most wouldn't have tried that yet... I'm pretty sure it's broken as t spews out the password in plaintext in the error message, which is a nice feature. :) Dec 19 19:44:25 but I'm cautious, as every time I think I'm doing something wrong, it turns out to be the tools that are broken... Dec 19 19:44:43 and everytime I think a tool is broken, it turns out to be a simple mistake that I've made. :) Dec 19 19:45:16 fiftycal_: lol Dec 19 19:45:29 @ password in plaintext Dec 19 19:46:06 haeffb : store dates as seconds Dec 19 19:51:16 is it possible to rotate the emulator? Dec 19 19:53:10 yes. Dec 19 19:53:15 no. not yet. Dec 19 19:53:34 haeffb: yet - so you know it's coming? Dec 19 19:56:16 uh. i can't say whether I do or not. Dec 19 19:56:32 * haeffb runs and hides Dec 19 19:56:40 haeffb: oh! you have info Dec 19 19:56:48 i can apprecaite that, nm then Dec 19 19:57:05 i assumed you were some guy in irc that had read something on the internet that i had not :P Dec 19 19:57:33 good assumption. Dec 19 19:57:42 usually true Dec 19 20:07:39 n8o see pm Dec 19 20:39:35 sqlite ?: INSERT INTO a table using an existing primary key value will overwrite the existing row with update data? Dec 19 20:58:48 set primary key to auto and dont insert it at all or set value to null Dec 19 20:59:13 unless you r looking to update it Dec 19 20:59:41 otherwise prolly gives u an error Dec 19 21:00:31 i r looking to update it Dec 19 21:01:13 can I just use INSERT INTO to update existing data if i use the ID primary key? Dec 19 21:01:25 no Dec 19 21:01:31 bummer Dec 19 21:01:34 insert, then update where id=x Dec 19 21:02:14 insert with no id or set to null. sql generates the next id Dec 19 21:02:30 get that id and update table where id=x Dec 19 21:02:48 how do I update existing row? Dec 19 21:03:07 use you the keyword "UPDATE" Dec 19 21:03:37 crap. it'd be easier if I could use one keyword to add/update rows Dec 19 21:04:02 if this id doesn't exist, add a row. otherwise update the data in the existing row Dec 19 21:04:36 i feel your pain.. Dec 19 21:05:16 i'm also having type mismatch problem with event.index and INTEGER in db Dec 19 21:05:28 SQLite isn't fun yet. Dec 19 21:05:42 thinking Depot would have been simpler Dec 19 21:06:34 come haeffb, you r the king of drawers. this cant be all that hard for you compared to that. Dec 19 21:07:56 sqlite doesnt do a whole lot of type checking.. Dec 19 21:09:09 well, it's doing too much in my case. Dec 19 21:09:35 but perhaps it's because I'm trying to INSERT INTO with an existing ID (primary key) Dec 19 21:10:38 write yourself a function that deletes the old row/id and inserts a new one everytime.. Dec 19 21:10:45 or just DO AN UPDATE!!! Dec 19 21:11:29 another question: If my main scene is a list, and I want to load data for the list from a DB, where's the best place to do that? AppAssistant doesn't work because the scene loads before the data is retrieved. Dec 19 21:13:23 i do it in activate usually. is it a ton of data? Dec 19 21:15:28 ...if I do it in activate, then I'll have to reload from the DB everytime I go to data entry screen and come back... Dec 19 21:15:47 it will be user-defined list of data Dec 19 21:15:58 working on a business mileage tracking app Dec 19 21:17:14 can you use UPDATE if the id (primary key) doesn't exist? Dec 19 21:17:15 so do the data load and then add data. whats your plan on updating the already loaded data in the list? Dec 19 21:17:49 no, you cannot update a record that doesnt exist Dec 19 21:17:52 listTap or listAdd loads a data entry scene Dec 19 21:19:14 Miles = []; is a global array of objects containing all the data for each trip. (begMiles, endMiles, etc). Dec 19 21:19:47 I give the data entry scene the list index, so it knows which trip it's working with Dec 19 21:19:53 ok.. i'm with you so far.. Dec 19 21:20:08 listAdd adds a new trip before calling the data entry scene Dec 19 21:21:54 EntryAssistant.deactivate() grabs data from widgets, updates the Miles[index].stuff, and UPDATES/INSERTS into DD Dec 19 21:21:56 DB Dec 19 21:22:38 then you go to another scene to update that data that you did a blank insert on in the scene b4? Dec 19 21:23:07 the data entry scene - works for edit existing or adding new data Dec 19 21:23:19 thats fine Dec 19 21:23:30 the data entry scene should take a param Dec 19 21:23:33 entryID Dec 19 21:23:43 if its null, you do insert Dec 19 21:23:44 or list index Dec 19 21:23:52 if its not then you do an update Dec 19 21:24:09 not the list index Dec 19 21:24:16 they could be different Dec 19 21:24:34 when you create the list, add id: this_rec_id Dec 19 21:24:45 to the list, doesnt have to display anywhere Dec 19 21:24:52 Ok... Dec 19 21:25:09 but then you can reference the real id out of there and pass it on to the other scene Dec 19 21:28:50 it complicates things, because I want to be working with my list data (using index) along with Db data (using id). Dec 19 21:29:26 plan on sorting, reordering, filtering the list at all? Dec 19 21:29:54 possibly. Dec 19 21:30:02 delete data perhaps? Dec 19 21:30:21 yes, yes, I need the db id. Dec 19 21:30:27 and the list index. Dec 19 21:30:30 both Dec 19 21:30:42 you need them to be different i think.. Dec 19 21:31:01 it's not that bad really. the id is there for you in the list just like the list index. Dec 19 21:31:52 lets say you insert 10 records Dec 19 21:32:03 then deecide you dont need record 5 Dec 19 21:32:28 now your sql id goes ...3,4,6,7,8... Dec 19 21:33:29 not good to tie list index and sql id together i dont think.. Dec 19 21:35:34 Ok, working on it. uhm... if (id) { UPDATE } else {INSERT}? Dec 19 21:35:49 yup Dec 19 21:37:57 isnt there like 5 milage apps already? go dl one of those and have a look at the code :) Dec 19 21:37:58 need example UPDATE statement Dec 19 21:38:32 sometimes code takes you in the wrong direction. Dec 19 21:38:39 update mytable set this=x, that=y where id=entryID Dec 19 21:38:45 iirc Dec 19 21:39:25 this isn't fuel mileage. Tracking starting/ending mileage, purpose, etc for IRS logging business expenses Dec 19 21:40:07 ah ha.. Dec 19 21:40:27 i am also :) Dec 19 21:40:39 i'll just send u what i got.. Dec 19 21:40:56 gonna put them is a list of drawers too.. Dec 19 21:41:04 one drawer per car.. Dec 19 21:41:19 list of drawers with lists in them.. Dec 19 21:41:29 ello Dec 19 21:41:32 well, crap. If I'd known you were doing it, I wouldn't have wasted hte entire day. Dec 19 21:41:46 i'm just kidding... Dec 19 21:42:01 i dont pay taxes.. Dec 19 21:42:13 I don't Dec 19 21:42:59 * FoxFireX seriously needs to finish the maintenance addition to his mileage app so he can get moving on adding business trip tracking as well. Too much to do, to little free time. Dec 19 21:49:56 will this work? Dec 19 21:50:04 var sql = "UPDATE mileageEvents WHERE id='?' SET date='?', begMiles='?', endMiles='?', mileage='?', purpose='?', destination='?', notes='?'"; Dec 19 21:55:09 I think your set values need to come before the where clause. Dec 19 21:55:30 UPDATE blah SET one=?, two=? WHERE three=? Dec 19 21:55:50 Oh, and you shouldn't need quotes around the ? placeholders. The call should take care of that for you. Dec 19 21:55:56 yeah, I was trying to finagle to only have to use one db.transaction call Dec 19 21:55:58 (I think.) Dec 19 21:56:34 Well yeah, you can definitely set all the values for the row. You just have to put the sets before the where is all. Dec 19 21:56:51 kkk Dec 19 22:10:24 dates aren't working right. Dec 19 22:11:02 Not sure how the date stuff goes. I didn't try to rely on SQLite's dates personally. I use the getTime/setTime calls of the date object to make it a simple int, then store and retrieve that. Dec 19 22:16:45 i store dates as seconds in an int column Dec 19 22:17:39 that was its easy to select between date ranges, order desc or asc, etc... Dec 19 22:18:32 Think that's what getTime/setTime uses, right? Seconds since the epoch? Dec 19 22:18:41 right. Dec 19 22:18:47 isn't DB supposed to be deleted if you delete app? Dec 19 22:18:58 depends Dec 19 22:19:00 Yep, though I think there's a bug where ext: databases aren't deleted. Dec 19 22:19:30 but if you install an app, then use a different db name then delete the app, only the 2nd instance gets deleted Dec 19 22:21:32 can you delete DB thru javascript? Dec 19 22:21:39 Don't think so. Dec 19 22:21:58 but I can drop a table from the DB Dec 19 22:22:06 Sure. Dec 19 22:22:45 i think you could do drop database Dec 19 22:23:18 but i havent tried that.. Dec 19 22:23:46 I thought that would let you drop one of multiple DBs within the same file. Dec 19 22:23:57 I was assuming the question related to actually removing the DB file. Dec 19 22:24:26 * FoxFireX hasn't tried either, mind you. Dec 19 22:25:25 i dont know that it would be meaningfull with sqlite Dec 19 22:26:03 Bmyers: FYI: I updated http://bit.ly/preware-lighttpd to show how to access the built-in web server from the built-in browser, which opens up lots more possibilities ... Dec 19 22:26:17 table GONE! Dec 19 22:27:42 Ah, I was thinking of "attach database" and "detach database". Not sure either of those would be supported in the webOS implementation. Dec 19 22:28:01 rwhitby, would it allow one to write local files? Dec 19 22:28:29 Bmyers: yes, there are security considerations to be thought through before allowing that though. Dec 19 22:28:44 i would imagine so.. Dec 19 22:29:08 Can't have some rogue webOS app doing localhost web requests and looking at your browser password cache ... Dec 19 22:29:14 well next time you need someone to idiot proof something for you, feel free to ask. i have lots of experience.. :) Dec 19 22:31:13 function(transaction, results) { Dec 19 22:31:13 Mojo.Log.info("Table DROPPED!"); Dec 19 22:31:13 }, Dec 19 22:31:33 ignore that Dec 19 22:31:38 My date is: 1261261744133.0 Dec 19 22:31:53 ignore that too. Dec 19 22:32:06 changing the date column from TEXT to INTEGER Dec 19 22:32:20 r u coding drunk again? Dec 19 22:33:42 not yet Dec 19 22:33:49 srlsy considering it though Dec 19 22:39:17 zomg: so cygwin worked fine? Dec 19 22:39:45 why isn't this working? http://www.pastie.org/750201 Dec 19 22:40:14 How is it not working? Any error thrown? Dec 19 22:40:30 nope, just goes boom. Dec 19 22:40:36 rwhitby: yep Dec 19 22:40:54 Try setting to a different property. I may have seen something similar. Something to do with it actually being an SQL result row object. Dec 19 22:41:55 [20091219-16:41:24.480554] error: EXCEPTION [format date error], (TypeError): "O Dec 19 22:41:55 bject 1261262478758 has no method 'getMonth'" Dec 19 22:43:15 Huh. Dec 19 22:44:18 whats the 126126478758 Dec 19 22:44:26 thats too long to be unixtime Dec 19 22:44:59 i mean Dec 19 22:45:08 that october 16 5966 Dec 19 22:45:10 heh Dec 19 22:45:45 heh. This app is for future business trips. Dec 19 22:46:01 you expect to be alive in 5966? Dec 19 22:46:47 i jsut spent most of the day on something pointless.. making my app tracking system look pretty.. and im the only one that sees it :P Dec 19 22:46:50 getTime and setTime apparently are supposed to give milliseconds since 1970/1/1. Dec 19 22:47:09 yeah unix time Dec 19 22:47:16 But that seems to be hundredths of seconds. Dec 19 22:47:40 that is the value spit out by this.dateModel.date.getTime() Dec 19 22:47:43 Wait, no, it's right. Dec 19 22:48:07 no its too long Dec 19 22:48:20 Says Google: 1 261 262 478.758 seconds = 39.9678498 years Dec 19 22:49:05 thats pretty close to today Dec 19 22:49:05 there was no . before heh Dec 19 22:49:15 As I said, milliseconds. Dec 19 22:49:39 There, that better? 1 261 262 478 758 milliseconds = 39.9678498 years Dec 19 22:50:02 1261264787 is right Dec 19 22:50:10 the 58 isnt Dec 19 22:50:12 [20091219-16:46:30.406047] error: TypeError: Object 1261262785965 has no method Dec 19 22:50:12 'setTime' Dec 19 22:50:30 you've got some extra digits my friend Dec 19 22:50:32 You're missing a 2 between your 6 and 4. Dec 19 22:50:32 dawm: it's right Dec 19 22:50:56 1261264787 = Sat, 19 Dec 2009 23:19:47 GMT Dec 19 22:51:45 oh i did type it wrong Dec 19 22:51:54 Also, UNIX time is seconds since the epoch. Dec 19 22:51:58 ok Dec 19 22:51:59 so Dec 19 22:52:03 JavaScript Date get/setTime is milliseconds since the epoch. Dec 19 22:52:10 1261262478758 is Tuesday October 26th, 41937 Dec 19 22:52:15 ahh Dec 19 22:52:17 so extra digits Dec 19 22:52:39 (Hence the decimal I added five minutes ago. ;) ) Dec 19 22:52:48 1261262478.758 is right Dec 19 22:52:55 yah yah yah.. i missed a 2.. sue me :P Dec 19 22:53:13 http://www.pastie.org/750209 Dec 19 22:53:41 Try creating the date as a different property name, thisMiles.newDate or something. Dec 19 22:53:58 I'm afraid the object you're adding it to, which is an SQL row result, may be causing issues. Dec 19 22:53:59 thats possible Dec 19 22:54:15 If you make it a different (unused) property name, you should be in the clear. Dec 19 22:56:25 well, that sucks. Dec 19 22:57:20 object extend? would that work for you? Dec 19 22:57:37 that means I have to go through each of the properties one by one and add them to the data array Dec 19 23:01:45 is there someone here from palm? Dec 19 23:02:30 the silence was all... Dec 19 23:02:51 Well, I can't very well say "No", now can I? :) Dec 19 23:03:09 * FoxFireX cheers as he finally verifies his DB view works! Yay! Dec 19 23:03:17 not unless you are somehow telepathically linked to everyone in the channel ;-) Dec 19 23:03:41 That's not scheduled for inclusion for another few versions of IRC, I'm afraid. Dec 19 23:04:07 i thought the last update to RFC 1459 was in the last millenium Dec 19 23:05:04 Doesn't mean the working group isn't still pondering tweaks. Dec 19 23:05:13 (Also doesn't promise how quick it'll come!) Dec 19 23:30:19 howdy! Dec 19 23:33:54 hi LoneStar Dec 19 23:40:09 waz up Dec 19 23:40:46 how's it going! Dec 19 23:42:04 going ok so far. waiting for 2 feet of snow Dec 19 23:42:42 damn, that sucks Dec 19 23:42:50 cool here in texas Dec 19 23:42:54 * FoxFireX compares DB setup code between versions. Version 1, four statements. Version 2, five statements. This version, 25. "Am I going DB crazy or what?" Dec 19 23:43:08 yes i know Lonestar.. Dec 19 23:43:27 Heck, 60 down here in SA. That's starting to border on warm considering the last few weeks. Dec 19 23:44:35 FoxFireX: you in SA Tejax? Dec 19 23:47:26 Yeppers. Dec 19 23:47:34 Remember the, and all that. Dec 19 23:48:04 * FoxFireX somehow guessed you were from Texas. No idea how he ever got that idea. ;) Dec 19 23:49:39 * FoxFireX remembered he wanted to sneak off to Mr. Butt's place. "Back in a few." Dec 19 23:50:33 alamo Dec 19 23:50:40 pee wee herman Dec 19 23:53:52 i'm in brownsville Dec 19 23:56:58 pee wee herman? Dec 20 00:00:21 oh the movie "pee wee's big adventure" he visited the alamo Dec 20 00:01:31 do you ever go to austin? Dec 20 00:04:39 amarillo was as far texas that i've been Dec 20 00:05:00 well , driven anyway.. went to san jose once Dec 20 00:08:02 ok Dec 20 00:09:46 yeah same here have driven through amarillo Dec 20 00:16:26 man, now that i've been fiddling with my pre for the better part of the evening i appreciate even more that all the current graphics are done on the CPU... Dec 20 00:17:59 wee Dec 20 00:18:28 sending scores to the server appears to work with no issues, tested it from my pre, preemu and pixi emu, now to work it in to the app properly Dec 20 00:25:35 dawm_: what is os is your server? linux? Dec 20 00:25:44 yeh Dec 20 00:26:03 first time playing with ajax Dec 20 00:26:45 ajax is killer Dec 20 00:29:49 wish palm would hurry up and push my app update already. tester finally ran the app earlier (10am EST) Dec 20 00:29:55 so the devices are sending a querystring with the scores to the server Dec 20 00:30:03 yeh Dec 20 00:30:20 cool, that is awesome Dec 20 00:30:20 with a checksum for authenticity Dec 20 00:30:33 k Dec 20 00:30:34 which hits a php script which does the magic and throws it into mysql Dec 20 00:31:07 great. Dec 20 00:31:42 most of my programming before webos was serverside Dec 20 00:31:52 i only ever did php/mysql Dec 20 00:32:04 so i kinda learned jscript on the way Dec 20 00:32:11 when i was making swap&drop Dec 20 00:34:00 php, mysql and ajax are a winning combo, especially on a Unix box Dec 20 00:34:31 annoying going back and forth from php to jscript tho Dec 20 00:34:46 keep using the wrong fucntions here and there and syntax and whatnot Dec 20 00:35:22 yeah it is a pain to code all that Dec 20 00:36:01 but at the end it works Dec 20 00:39:20 with your solution it is a one way stream Dec 20 00:50:31 i havent figured out how im gonna ro the retrieving of the scores, i mean i know how, just how im gonna do it both on the server side and device side as far as formatting and what information to grab Dec 20 01:02:25 dawm_: are you send t a unique identifier of the user/ device to the server? Dec 20 01:04:10 the nduid is the only thing you can grab Dec 20 01:04:19 but i also have a username/email in the database table Dec 20 01:04:33 which i have to figure out the best way to ask for that information Dec 20 01:05:27 somewhere along the lines ill have to have a way to allow the user to switch their associated nduid incase they had to get a replacement device and want to keep their scores from before Dec 20 01:07:37 so the nduid: is unique never changes unless, they get a replacement device? Dec 20 01:07:52 the nduid is unique to each device Dec 20 01:08:04 like an internal serial number that will never change Dec 20 01:08:34 so you cant rely on that to alway be the user, say it breaks they get a replacement and they fix the broken one and send it out as another replacement, its not the same user Dec 20 01:09:08 http://developer.palm.com/index.php?option=com_content&view=article&id=1550 Dec 20 01:13:08 yeah you will need a login/ password system: email and unique 4 digirt pin Dec 20 01:13:13 digit Dec 20 01:50:51 I'm trying to make a button that looks nothing like a standard webos button, and I'm looking for ideas as to the best strategy. Basically my 'button' is a div element, which contaiins other divs. Here's what I've tried so far: Dec 20 01:52:54 1] Just style the x-mojo-button to match what I want it to look like... this fails because certain elements are added to my button when it is rendered. The additional divs I add to the button are not displayed. This may just be because some more stuff is happened in the css than I am aware of, but not being able to inspect the css makes this difficult to determine... Dec 20 01:56:38 omg, i just spent 5 hours trying to debug my app, to realize that I am hosting my services on localhost, and palm emulator doesnt obey windows hosts file Dec 20 01:57:05 www.mydomain.com only maps to localhost using my hosts file Dec 20 01:57:09 * prototypic facepalm Dec 20 01:57:20 2] Make my own div / css element, and bind the onClick eventhandler to the appropriate method in the assistant... I am not sure how to reference the assistant methods directly from the html. I am sure this is possible, but what I have tried so far does not work. (looking for some kind of getsceneassistant in the API docs). Dec 20 01:57:43 prototypic: ouch Dec 20 01:57:55 @ the 5hrs... Dec 20 02:07:37 not 5 hours straight Dec 20 02:07:43 spread out over the past few days Dec 20 02:07:45 but still Dec 20 02:07:49 that was noob of me Dec 20 02:08:25 fiftycal: Not sure if it would do what you want, but you might try (in your scene assistant setup) something like "window.buttonClicked = this.handleButtonClick.bind(this);". You could then have your onclick="buttonClicked()", and it maybe might ought to work. Dec 20 02:09:50 FoxFireX: yeah, I'm currently writing a nasty kludge that looks something like that... but I'm sure there must be a correct way to access the assistant from the HTML, or to style a button. rght? Dec 20 02:10:48 Well, part of the problem is the "containing other divs", I think. When you ask Mojo to set up a widget, it may blow away any content that widget otherwise had in favor of what it believes should be there. Dec 20 02:11:00 If you ask it for a Mojo button, you get a Mojo button, by Jove. Dec 20 02:11:32 I suspected that, but the DOM still shows the divs I added as being part of the button innerHTML after the button has been setup. Dec 20 02:11:35 As far as accessing the assistant from out of scope, I think some folks have discussed setting a global variable to the assistant so they can reference it. Dec 20 02:12:22 So I assume there must be some crazy css going on... which would be great if I could inspect the finalized element to see what CSS was being applied... which I can't because palm-inspect fails. Dec 20 02:13:00 Weird. Dunno what to tell you on that. Anyway, as far as styling goes, you should be able to apply whatever styles you want via CSS; if you give it a specific ID and then style by that ID, your stuff should take precedence. But without knowing what to override, it'll be tough to figure out. Dec 20 02:13:15 Probably easier going the roll your own route with custom content. Dec 20 02:13:29 FoxFireX: that's brilliant re ref to assistant! A little nasty, but brilliant. Dec 20 02:13:54 * FoxFireX hasn't done it himself. "Haven't had a particular need to so far, hope not to. :)" Dec 20 02:14:22 FoxFireX: so you don't have any custom buttons in your app / apps? Dec 20 02:15:30 Not much; though I do have one I worked on a while back which used a popup scene, which meant the normal Mojo stuff didn't work. (Much like the calendar alerts.) Based the code off the calendar app itself, and it basically did DIY buttons. Dec 20 02:15:38 May want to look at that code to see what they did. Dec 20 02:16:53 cool... will do. Trying out the global to reference the assistant atm. Will let you know how it goes. I suspect I will have to do some cleanup (setting / unsetting the ref when my scene is destroyed to not hang on to any more memory than is needed... Dec 20 02:17:08 Likely. Dec 20 02:17:19 uh-oh... dinner time. I'm being evicted from my own table. Dec 20 02:17:31 later all. :) Dec 20 02:21:14 whoa have you guys seen wptouch? Dec 20 02:21:35 it's a damn slick wordpress plugin for viewing wp on iphone,droid,pre Dec 20 02:30:39 PrototypicLaptop: is it the only option for that as far as wordpress plugins go? Dec 20 02:30:59 because I wanted to impement in on my blog about the pre but I wasn't in love with it Dec 20 02:34:26 not sure I stumbled upon it accidently Dec 20 02:34:47 cool idea tho, i might make one that is pre specific using the pre psd released a few weeks ago Dec 20 02:41:27 hi all! Dec 20 02:44:24 PrototypicLaptop: that's be super cool. do you have a link to the psd file? Dec 20 02:53:11 hey JenP!! Dec 20 02:53:26 hey Bmyers! Dec 20 02:54:36 * punzada yawns Dec 20 02:54:37 hi all Dec 20 02:56:35 kmax: http://www.teehanlax.com/blog/2009/07/08/palm-pre-gui-psd/ Dec 20 02:57:14 sounds like the pre fonts are not distributable **** ENDING LOGGING AT Sun Dec 20 02:59:56 2009