**** BEGIN LOGGING AT Mon Dec 07 02:59:57 2009 Dec 07 03:03:44 Doc you should think about an app for dieting/working/losing weight Dec 07 03:03:55 get ready for the new years resolutions Dec 07 03:07:46 have they made a way to zoom in on the browser Dec 07 03:07:54 since theres no multitouch in the emulator Dec 07 03:12:42 is an ajax responder supposed to be set at in the main function for a scene? or the setup function? Dec 07 03:12:49 (trying to set up a spinner) Dec 07 03:13:04 atlanta: You could use the webkit transforms to expand a div. Dec 07 03:13:11 atlanta: Or are you talking about something else? Dec 07 03:21:04 G'day Dec 07 03:24:31 anyone have any experience w/ spinners based on ajax requests? Dec 07 03:24:33 heys kesne Dec 07 03:24:58 !_godtey! Dec 07 03:25:18 I am here! Dec 07 03:25:30 yetdog_: both of them Dec 07 03:25:32 Keen Studios online uses both Dec 07 03:25:59 ok so to use spinners w/ ajax. you have to register an ajax responder, correct? Dec 07 03:26:13 uhm Dec 07 03:26:21 Spinners are easy Dec 07 03:26:31 just set it up, turn it off and turn it on when ajax is pushed Dec 07 03:26:41 Turn it off onSuccess Dec 07 03:27:30 ok so setting it up ; http://webos.pastebin.com/m5c85fcb7 Dec 07 03:27:39 do that in the setup function for the scene? Dec 07 03:28:36 and this is my ajax call http://webos.pastebin.com/m3d280f0a Dec 07 03:28:46 how/where do i turn it on? Dec 07 03:35:02 if i turn it on right before my ajax call, and then turn it off in the onSuccess, my list doesnt load... Dec 07 03:38:05 seems to be the modelChanged call that's killing it Dec 07 03:38:26 Seems like you're going down the right track without me randomly guessing at you. :) Dec 07 03:40:20 haha well now i found the entry on the dev.palm site. very simple Dec 07 03:40:25 but still breaking it. talking out loud :) Dec 07 03:40:48 have any of you used Mojo.Depot? Dec 07 03:42:10 something else Dec 07 03:42:19 Roy-Pre101: like pinch and zoom in the emulator Dec 07 03:42:19 lol Dec 07 03:43:07 I'm getting back a null depot with var db = new Mojo.Depot({name: "foo", this.myOnSuccess, this.myOnFailure); Dec 07 03:43:20 db is null in that call, does that make any sense? Dec 07 03:43:34 starting the spinner kills the scene :( Dec 07 03:43:35 weird Dec 07 03:43:57 but myOnSuccess() is called Dec 07 03:44:27 Mojo.Depot anybody? Dec 07 03:45:37 oh, does Mojo.Depot work in the emulator?? Dec 07 03:46:29 Er, wouldn't you not get the DB reference until the onSuccess call? Dec 07 03:47:00 Never used, but seems possible. Dec 07 03:47:04 ugh Dec 07 03:47:07 so lame, i figured it out Dec 07 03:47:25 its because i did this.onMySuccess instead of this.onMySuccess.bind(this) Dec 07 03:47:38 it still called onMySuccess() but not from within the same scope Dec 07 03:47:41 i hate that. Dec 07 03:48:11 kesne: definitely kills my scene: this.controller.get('spinner').mojo.start(); Dec 07 03:48:19 if i call it right before i create the ajax.request object Dec 07 03:48:53 Did someone ping me? Dec 07 03:49:07 I'm back Dec 07 03:49:08 atlanta: Ah, I see. Dec 07 03:49:11 Sorry yetdog_ Dec 07 03:49:14 What were you saying? Dec 07 03:49:24 following palm's example on setting up a spinner Dec 07 03:49:33 a simple div, and then a start call, and a stop call Dec 07 03:49:45 but when i call the start, right before the ajax.request call, it breaks the scene Dec 07 03:49:49 ajax content doesnt load Dec 07 03:50:38 how are you calling the start? Dec 07 03:50:51 this.controller.get('spinner').mojo.start(); Dec 07 03:51:04 (per palm's site) Dec 07 03:51:21 this.controller.get('spinner').mojo.start(); works for me Dec 07 03:51:35 Did you do a setup for the widget? Dec 07 03:51:46 nope, i didnt. palms site said i dont need to? Dec 07 03:51:58 It's spinning by default Dec 07 03:52:00 and it works if you do Dec 07 03:52:03 Set it up Dec 07 03:52:18 this.controller.setupWidget("spinner", Dec 07 03:52:18 this.attributes = { Dec 07 03:52:18 spinnerSize: 'large' Dec 07 03:52:18 }, Dec 07 03:52:18 this.model = { Dec 07 03:52:19 spinning: false Dec 07 03:52:21 }); Dec 07 03:52:40 yep - got that now Dec 07 03:52:44 will show you my div Dec 07 03:52:50 That looks familiar Dec 07 03:53:03 http://webos.pastebin.com/m105ed9b5 Dec 07 03:53:23 but when i push to this scene, it stalls when i include the spinner start call Dec 07 03:53:24 reality9110: what do you mean? Dec 07 03:53:37 I just added like 4 of those today Dec 07 03:53:41 haha :) Dec 07 03:53:43 oh Dec 07 03:53:57 Based on your request for a feedback for registration Dec 07 03:54:00 yetdog: set spinning: false in the widgets setup Dec 07 03:54:02 Nice! Dec 07 03:54:08 I did that on all of mine Dec 07 03:54:14 it is set to false, just like you pasted in Dec 07 03:54:29 and i am calling the start right before i create my ajax.request Dec 07 03:55:32 if i comment out that start call, the scene loads fine Dec 07 03:55:36 (sans spinner, of course) Dec 07 03:56:50 code: http://webos.pastebin.com/m78bd6504 Dec 07 03:57:38 Is it throwing an error in the log? Dec 07 03:57:57 * yetdog embarrassed Dec 07 03:58:01 how do i access said log? Dec 07 03:58:30 Geh. There's a few different ways, none of which are particularly easy if I remember right. Running on emu? Dec 07 03:58:33 ssh into the virtutal machine? Dec 07 03:58:35 yeah, emu Dec 07 03:58:46 If you ssh into it, you can follow /var/log/messages, I believe. Dec 07 03:58:56 cd /var/log Dec 07 03:58:59 tail -f messages Dec 07 03:59:09 yep :) linux i know. lol its JS that im new @ Dec 07 03:59:34 Gotcha. Your app ID should be included in each log line, so if you want to grep down, go for it. Dec 07 04:00:07 do we know what port SSH runs on the emu? Dec 07 04:00:12 5522 Dec 07 04:00:44 root and pass? thx sugardave Dec 07 04:00:49 no pass Dec 07 04:00:53 root with no password Dec 07 04:01:02 gorgeous, thank you Dec 07 04:01:30 FWIW, on OSX I just use the command "novaterm". Was installed with the SDK, and handles all the ssh configuration/login. Dec 07 04:01:31 yetdog: if you know linux, you can also add a second network interface in virtualbox, for host-only vboxnet0 direct port 22 access Dec 07 04:01:44 and novaterm is good too Dec 07 04:02:08 interesting Dec 07 04:02:10 2009-12-07T04:01:38.674335Z [24933] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.antsmarchingorg.dmbtourcentral: Error: An exception occurred in the 'year' scene's setup() method., file:///var/usr/palm/applications/com.antsmarchingorg.dmbtourcentral/index.html:0 Dec 07 04:02:10 2009-12-07T04:01:38.675045Z [24933] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.antsmarchingorg.dmbtourcentral: Error: Error: Cannot call method 'start' of undefined, line undefined, file undefined, file:///var/usr/palm/applications/com.antsmarchingorg.dmbtourcentral/index.html:0 Dec 07 04:02:45 odd, because ive set up the spinner widget above in the same setup function Dec 07 04:02:46 this.controller is not scoped properly Dec 07 04:02:50 So it found the element, but it didn't have enough Mojo. Dec 07 04:03:11 Huh? It didn't fail on the controller, it failed after the get() call. Dec 07 04:03:24 you're right Dec 07 04:03:28 its failing on this call Dec 07 04:03:29 this.controller.get('spinner').mojo.start(); Dec 07 04:03:42 Can you pastebin your setup of the spinner? Dec 07 04:03:47 sure thing Dec 07 04:04:08 your html has a div with an id of "spinner"? Dec 07 04:04:14 yep rick_home Dec 07 04:04:14 http://webos.pastebin.com/m3224b737 Dec 07 04:04:24
Dec 07 04:04:39 inside my scroller div Dec 07 04:05:31 ok, so where is the call to start? Dec 07 04:05:53 line 27 Dec 07 04:05:55 in the pastebin Dec 07 04:06:04 right before the ajax request Dec 07 04:06:12 ok, Dec 07 04:06:16 The controller.get() part of that line is succeeding, but it looks like .mojo is null. Dec 07 04:06:19 why is it .mojo.start? Dec 07 04:06:30 http://developer.palm.com/index.php?option=com_content&view=article&id=1712 Dec 07 04:06:30 start is a method of that widget. Dec 07 04:06:41 (palms example) Dec 07 04:06:54 rick_home: I think you have to apply .mojo first Dec 07 04:06:57 Thought all the other widget methods were always under a .mojo property of the HTML element. Dec 07 04:07:01 * haeffb_ uses spinnerModel.spinning = true; Dec 07 04:07:20 haeffb_: that's what I was going to suggest. Dec 07 04:07:21 from that page: "Like the Scroller widget, the Spinner widget does not need to be explicitly setup, as all the required attributes have defaults and you can control it via exposed methods instead of by using its model." Dec 07 04:07:42 so it doesnt look like the model is necessary, and i was trying to go the simplest route to narrow down issues Dec 07 04:08:07 yetdog: another take is the one I used to outline how to extend a widget: http://webos101.com/Extended_widgets Dec 07 04:08:09 * haeffb_ is old school Dec 07 04:09:04 without wanting to seem stupid, try it without the .mojo Dec 07 04:09:10 please? Dec 07 04:09:26 * FoxFireX needs more mojo. Dec 07 04:09:38 2009-12-07T04:09:25.981071Z [25400] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.antsmarchingorg.dmbtourcentral: Error: Error: Object # has no method 'start', line undefined, file undefined, file:///var/usr/palm/applications/com.antsmarchingorg.dmbtourcentral/index.html:0 Dec 07 04:10:03 WAITAMINUTE Dec 07 04:10:11 yetdog you're trying to start it in setup Dec 07 04:10:15 indeed Dec 07 04:10:20 the html div of the spinner has not been instantiated yet. Dec 07 04:10:27 You need to do that in ACTIVATE Dec 07 04:10:49 ah ha. do i also put my ajax call in activate also? Dec 07 04:10:54 setup creates the objects, but they render AFTER setup BEFORE activate you need to do the start in activate so that the render has happened. Dec 07 04:11:16 That entirely depends. What is the ajax call to. Dec 07 04:11:35 ajax call to a URL on the web Dec 07 04:11:37 it worked, rick Dec 07 04:11:39 :) Dec 07 04:11:40 but you go the (an htmldivelenet> has no method start because that div element didn't exist Dec 07 04:11:49 spinner's in the upper left corner, i can tinker w/ the placement Dec 07 04:11:52 but its displaying now Dec 07 04:12:04 i think im gonna pick up the oreilly book, at least ill have something Dec 07 04:12:16 Any time you want to mess with what a widget is, or is doing, you have to do it AFTER setup. Dec 07 04:12:34 gotcha. thank you so much Dec 07 04:12:45 but I point out, that since you want this to be CREATED SPINNING you could just have put a model in it with spinning:true Dec 07 04:12:48 and it would have been. Dec 07 04:13:08 ah yes that's true Dec 07 04:13:38 i just did it. much cleaner Dec 07 04:19:00 Mojo.Event.listen(this.controller.get("startToggleButton"), Mojo.Event.propertyChange, this.handleStartToggle.bind(this)); Dec 07 04:19:10 should add an event listner for the toggle button, right? Dec 07 04:19:46 bindAsEventListener? Dec 07 04:20:00 Mojo.Event.listen("startToggleButton", Mojo.Event.propertyChange, this.handleStartToggle.bind(this)); Dec 07 04:20:26 haeffb_: that didnt work. let metry Bmyers's Dec 07 04:20:34 Bmyers: nope. this.controller.listen("id",....); Dec 07 04:20:57 yes Dec 07 04:21:32 this.controller.listen("startToggleButton", Mojo.Event.propertyChange, this.handleStartToggle; Dec 07 04:22:03 should also always setup your event handler before setting up the listener Dec 07 04:22:07 hm... doesnt seem to be working Dec 07 04:22:23 this.handleStartToggleHandler = this.handleStartToggle.bindAsEventListener(); Dec 07 04:22:29 this.controller.listen(...) Dec 07 04:23:17 this.controller.listen("startToggleButton", Mojo.Event.tap, this.handleStartToggle; Dec 07 04:23:48 no propertychange on a toggle button Dec 07 04:24:18 bindAsEventListener(this); Dec 07 04:24:55 #webos - we may lead you down three wrong paths, but eventually we'll get you there Dec 07 04:25:07 hm... still doesnt seem to work Dec 07 04:25:53 what do you want a tap on the toggle to do? Dec 07 04:25:53 this.controller.listen("startToggleButton", Mojo.Event.tap, this.handleStartToggle.bind(this)); ??? Dec 07 04:26:49 haeffb_: at the moment, it does a Mojo.log.info("got here"); and this.controller.get("test").update( Dec 07 04:26:57 "another test"); Dec 07 04:27:13 "test" being a palm-body-text div Dec 07 04:27:38 but the text isnt changed nor is komodo picking up the log event Dec 07 04:27:40 but what do you *want* it to do? Dec 07 04:27:59 haeffb_: to work? Dec 07 04:28:03 all mine do is change value, which I can pick up later. Why do you need to capture the tap? Dec 07 04:28:29 haeffb_: it will be calling either one of two functions depending on if the toggle button is on or off. Dec 07 04:29:09 i do not set up event handlers for toggles. Dec 07 04:29:09 the toggle has to call a function? Dec 07 04:30:05 haeffb_: yeah, start/stop... Dec 07 04:30:05 that seems more like a job for a command menu or something. Toggle should just change a setting for something. Dec 07 04:30:06 what kind of widget is it? Dec 07 04:30:50 Bmyers: its a ToggleButton Dec 07 04:31:08 sorry.... my bad Dec 07 04:31:15 * haeffb_ just not seeing the situation where I'd run a function from a toggle Dec 07 04:31:44 haeffb_: well, thats not the problem, lol. Dec 07 04:32:18 this.controller.listen("startToggleButton", Mojo.Event.propertyChange, this.handleStartToggle.bindAsEventListener(this)); Dec 07 04:33:19 regardless, it should still work Dec 07 04:34:34 and Bmyers last attempt should do it. Dec 07 04:36:25 * haeffb_ assumes Mojo.Log.info("got here"); rather than Mojo.log.info(); Dec 07 04:37:31 * haeffb_ would still say radio button for start/stop rather than toggle. but that's just me Dec 07 04:37:39 where does Mojo.log.info go? /var/log/messages? Dec 07 04:37:57 palm-log -f -d tcp my.app.id Dec 07 04:38:25 make sure you have a framework_config.json with the proper log level Dec 07 04:38:46 or "log com.my.app.id" putty'd in to the emu Dec 07 04:38:55 * haeffb_ assumes you're using emulator Dec 07 04:39:04 palm-log is easier and better formatted Dec 07 04:39:26 on xp palm-log doesnt work too well Dec 07 04:39:49 really? its awesome on my vista machine... Dec 07 04:39:54 and you cant make the dos window wider like u can with putty Dec 07 04:40:13 it hangs up on my xp box Dec 07 04:40:16 learn something new every day Dec 07 04:40:32 " sending event 'mojo-single-tap' targeting element 'undefined#'" Dec 07 04:41:55 so.... "startToggleButton" is the toggle id...? Dec 07 04:42:15 yes Dec 07 04:42:23 fo sho? Dec 07 04:42:35 c/p Dec 07 04:42:50 still not working? Dec 07 04:42:55 in your html? Dec 07 04:43:17 from html to js Dec 07 04:43:43 good enough. don't mean to be a dick, but I make plenty of typos myself... :) Dec 07 04:43:58 yeah, i understand Dec 07 04:47:19 * haeffb_ loads up "Hello World" to test. Dec 07 04:47:24 What's you attribs/model? Dec 07 04:47:56 pastebin some stuff Dec 07 04:48:22 gkatsev: there's two different things going on here. When you tap the toggle button, internally, the model for the button changes value from true to false. Dec 07 04:48:47 it changes the value based on the attribs Dec 07 04:48:52 gkatsev: and if you have set up an event listener, then when you tap it, the event listener sets off a function call which "handles" the change of state. Dec 07 04:49:09 Bmyers: yes, if you set it up fancy instead of plain, true enough, but an needless complication here. Dec 07 04:49:27 so, pretend that you have a toggle button called "audioState" Dec 07 04:49:37 might be true false, might be yes no. Dec 07 04:49:51 when you tap it, internally, the value in the model flips back and forth from true to false... a flip for each tap. Dec 07 04:49:59 But the audio doesn't magically turn off Dec 07 04:50:01 or on Dec 07 04:50:14 right. Dec 07 04:50:17 you have to have a fuction that says "audio.pause" or audio.restart." depending on the state Dec 07 04:50:41 so the event listener calls a function "flipAudio" which tests the state of the model and takes the appropriate action. Dec 07 04:50:50 so there HAS TO BE a function to accept the action of the tap. Dec 07 04:51:04 even if that function is null, and does nothing, it has to be there. Dec 07 04:51:14 or there's no point in setting alistener for the toggle at all. Dec 07 04:51:38 for example, in my prefs pages, there is no listener on the toggles that do things like "show help" Dec 07 04:52:00 when the prefs stage deactivates, it reads the state of all the toggles and saves them in the cookie. Dec 07 04:52:06 which the main stage reads on activate Dec 07 04:52:17 rick_home: that's what I do as well Dec 07 04:52:58 so, please pastebin the entire bit of code, the setupwidget and the handletap and the handlevent so we can see where you screwed up. Dec 07 04:54:21 unless I just insulted you enough to cause silence..... Dec 07 04:55:19 * haeffb_ is silent Dec 07 04:55:31 lol, pastebinning it Dec 07 04:55:48 * FoxFireX is either insulted enough or sleepy enough to head to bed. "Night, all." Dec 07 04:57:07 hi all! Dec 07 04:57:31 hmmmm....I can't get an event listener on a toggle, either. Dec 07 04:57:37 jenp Dec 07 04:57:44 http://webos.pastebin.com/m6187b6cb Dec 07 04:57:47 hey haeffb_ Dec 07 04:58:02 i think thats all that i needed for it Dec 07 04:58:28 r(); Dec 07 04:58:28 [22:22] this.controller.listen(...) Dec 07 04:58:28 [22:22] * yetdog (n=Matt@c-24-19-173-253.hsd1.wa.comcast.net) Quit ( ) Dec 07 04:58:28 [22:07] yetdog: another take is the one I used to outline how to extend a widget:http://webos101.com/Extended_widgets Dec 07 04:58:28 [22:07] * haeffb_ is old school Dec 07 04:58:34 what? Dec 07 04:58:50 rick_home: i am now seeing the event that changes the value in the log. Dec 07 04:58:58 [20091206-22:54:53.101437] error: Error: requireDefined Failed: Mojo.Event.liste Dec 07 04:58:58 n: 'target' parameter must be defined., line undefined, file undefined Dec 07 04:59:51 never mind. Drunk coding Dec 07 04:59:54 lol Dec 07 05:00:09 well, since you said in your attributes that you wanted the values to be on and off, why in the model did you set it to false? Dec 07 05:00:13 instead of off? Dec 07 05:00:27 * haeffb_ also has toggle that reaches event handler Dec 07 05:00:51 rick_home: not sure, would it affect that? Dec 07 05:00:59 don't know. Dec 07 05:01:03 but I have more. Dec 07 05:01:13 * haeffb_ is all ears! Dec 07 05:01:21 If you want to be able to get to the model, if you want to be able to read out of the model that the state is on or off, Dec 07 05:01:32 you have to create the model OUTSIDE of the call to setupwidget Dec 07 05:01:53 so you need to create this.thatToggleModel = {stuff} Dec 07 05:02:02 yep, makes sense. Dec 07 05:02:04 hey everyone Dec 07 05:02:12 so that the model is a named entitiy in the program, and no contained within the scope of the object. Dec 07 05:02:26 rick_home: really? I could have sworn I've done it the other way as well... Dec 07 05:02:27 or scope is going to eat it. and you won't be able to see it from outside. Dec 07 05:02:40 haeffb_: Teach me. hand me a working example. Dec 07 05:03:10 don't know if I can get my hands on one at the moment. Let me check. Dec 07 05:03:55 how is everyone this evening? Dec 07 05:04:20 rick_home: anything that catches your eye as to why handleStartToggle never gets called? Dec 07 05:04:29 does tht matter? Dec 07 05:04:45 no it doesn't MATTER since propertyChange event passes the value Dec 07 05:04:51 yep, definitely works either way. I used this.toggleModel = {} in the setupWidget call. And can access this.toggleModel in the event handler Dec 07 05:05:03 this wont work in setup will it? this.cnotroller.get("test1234").update("first test"); Dec 07 05:05:11 so you don't care in that sense, but lists, and other things with models that I want to drill into or change from outside, (labels on buttons) etc. Dec 07 05:05:20 Bmyers: nope that will not work in setup Dec 07 05:05:37 there's no test1234 to get yet. it hasn't rendered. Dec 07 05:05:41 i also have a misspelling in that, lol Dec 07 05:05:42 well Dec 07 05:05:58 wwait, It MIGHT work if that was a static div in the html of the scene Dec 07 05:06:27 but cnotroller will never work Dec 07 05:06:27 * haeffb_ learning how to pastebin Dec 07 05:06:42 rick_home: it does work. fixed the type and it works Dec 07 05:06:55 kk Dec 07 05:06:59 now do this. Dec 07 05:07:12 just above your this.controller.listen("startToggleButton", do Dec 07 05:07:15 here's a messed up hellow world with toggle that works: http://webos.pastebin.com/d52e829d7 Dec 07 05:07:28 this.handleStartToggle.bindAsEventListener(this) Dec 07 05:07:55 sorry this.handleStartToggle = this.handleStartToggle.bindAsEventListener(this) Dec 07 05:08:06 then reduce your call to just this.handleStartToggle. Dec 07 05:08:10 as in my pastbin example... :) Dec 07 05:08:21 so we're doing a better job of being careful what "this" is. Dec 07 05:08:30 just ignore all the other button stuff Dec 07 05:09:31 some hardcore code slingin' tonight! Dec 07 05:09:50 lines 32 - 46 are AWESOME! Dec 07 05:09:55 and then, in your handle function, change the log to say Mojo.log.info("got here: Value: " + event.value ); Dec 07 05:10:15 your most important thing you can do in js is to keep tight control over the meaning of this. Dec 07 05:11:15 also, the reason rick_home wants you to do the this.handleStartToggle = this.handleStartToggle.bindAsEventListener(this); is... Dec 07 05:11:43 ...so that you can later kill off the listener in your scene cleanup(); Dec 07 05:11:45 it doesnt work if u dont? Dec 07 05:12:10 works either way, but you can never stop the listener if you bind() in the setupWidget Dec 07 05:12:16 * gkatsev facepalms. Dec 07 05:12:24 uh oh Dec 07 05:12:27 Mojo.log.info fails Dec 07 05:12:31 its Mojo.log... Dec 07 05:12:46 cap L Dec 07 05:13:00 ah Dec 07 05:13:08 Mojo.Log.info(' Dec 07 05:13:42 not to say "i told you so", but.... [22:36] * haeffb_ assumes Mojo.Log.info("got here"); rather than Mojo.log.info(); Dec 07 05:14:03 oh, i totally missed that, lol Dec 07 05:14:11 (ok, that time I did mean to be a dick!) :) Dec 07 05:14:26 anyway, thanks Dec 07 05:14:37 gkatsev: doing better now? Dec 07 05:14:54 rick_home: yes Dec 07 05:15:01 and everything haeffb_ said about clearing your listeneres when your scene closes. Dec 07 05:15:05 so you don't do memory leaks Dec 07 05:15:24 this.controller.stopListening(...); Dec 07 05:16:24 something like: this.controller.stopListening("startToggleButton", Mojo.Event.propertyChange, this.handleStartToggleHandler); Dec 07 05:16:35 rick_home: did you see the pastebin? creating the this.model in the setup() did work. Dec 07 05:16:38 yep Dec 07 05:17:50 I gotta go away, too. Work is only 7 hours away. Night all. Dec 07 05:18:01 yeah, i changed this.model to this.toggleModel and I can then access it from the handleStartToggle Dec 07 05:18:42 thanks for your help, haeffb_ and rick_home and bmyers_away Dec 07 05:18:45 night haeffb_ Dec 07 05:18:52 i should probably go sleep soonish as well Dec 07 05:24:56 ahoy Dec 07 05:33:17 zsoc|away: looks like that usb port doesnt work for me at all. weird. Dec 07 05:36:21 you can have a reg div inside a drawer right? Dec 07 05:36:55 i do not understand why my content isn't hiding in it's drawer Dec 07 05:52:04 JenP: yes you can. Dec 07 05:52:16 are you absolutely certain your div nesting is correct Dec 07 05:52:18 ? Dec 07 06:41:20 Who is in here? Dec 07 06:46:38 Do you guys find that Komodo *always* gets the indenting wrong. Esp. when cutting/pasting. There must be a setting here somewhere... Dec 07 06:47:01 rbredow yes Dec 07 06:47:16 It's otherwise so cool. Dec 07 06:47:23 * rbredow misses vim. Dec 07 06:47:29 totally agree Dec 07 06:49:40 By the way, un-indent with shift-tab is the coolest. It sort of makes up for the cut-and-paste issues. Dec 07 06:50:24 rbredow: if you want a good IDE for working with JS code, get IntelliJ IDEA or Web IDE Dec 07 06:50:36 It's *really* good, plus they have a really good Vim plugin =) Dec 07 07:01:36 zomg: Is it $250 better than Komodo? Dec 07 07:09:14 Dunno. I "paid" for it to use it at home. "Paid" Dec 07 07:09:38 It is pretty good I think, if I wrote JS more often these days I actually might pay for it without the quotes =) Dec 07 07:10:11 Looks like it's free for open source projects too. That's pretty cool. Dec 07 07:49:05 did anyone notice yet why the pdf viewer app went into the optional self installed packages in the device information lists? Dec 07 07:49:27 it seems as if i installed it through the app store .. and i am able to delete it... was that changed somehow or did i just miss something? Dec 07 08:02:03 If you're ever curious, for my app I've learned that it's bad for performance to run multiple timers (setInterval...). Looks like even two at 24 Hz slows things way down. Dec 07 13:03:35 ut oh http://www.josephcrawford.com/2009/12/07/palm-app-catalog-has-a-stomach-bug/ Dec 07 13:33:13 is there some way that i can use the SDK on OSX to send simulated events/data to the emulator? for instance, simulate an inbound phone call or a GPS fix? Dec 07 13:51:54 For future reference: yes Dec 07 14:37:15 any palm-worm experts awake yet? Dec 07 14:38:18 any palm-worm experts still sleeping. doesnt matter to me as long as you can answer Dec 07 14:40:07 just ask Dec 07 14:40:16 someone might be able to answer Dec 07 14:44:50 don't ask if you can ask... just state your problem/ question & details Dec 07 14:45:08 Hey everyone Dec 07 14:45:19 <--- sorry -g rumpy haven't had coffee yet :) Dec 07 14:45:57 anyone no the hold up with dataviz? Dec 07 14:46:11 sup webOSroundup and FreeTim3 Dec 07 14:46:19 hola! Dec 07 14:47:22 did anyone notice yet why the pdf viewer app went into the optional self installed packages in the device information lists? Dec 07 14:47:25 it seems as if i installed it through the app store .. and i am able to delete it... was that changed somehow or did i just miss something? Dec 07 14:47:59 joekinley palm is being sued Dec 07 14:48:04 that can be why Dec 07 14:48:16 yeah i know the circumstances Dec 07 14:48:19 but never heard anything more Dec 07 14:49:05 http://tinyurl.com/ydk2mua Dec 07 14:49:18 u can check that out i think it was on slashdot Dec 07 15:04:57 quiet morning Dec 07 15:05:23 guess the people in Cali are still sleepin' :) Dec 07 15:06:32 learning about popup notification Dec 07 15:06:35 and dashboard panels Dec 07 15:08:21 goodmorning everyone Dec 07 15:08:34 hola Dec 07 15:08:43 what are you up 2 webOSroundup Dec 07 15:09:00 workin at my "real job" :) Dec 07 15:09:22 same here Dec 07 15:09:39 and reading the webos book to learn abuot these darn dashboard panels and app assistant Dec 07 15:09:45 how are your apps coming? have any on the catalog? Dec 07 15:09:56 submitting them this week Dec 07 15:10:01 finished touchups yesterday Dec 07 15:10:04 oh yeah? congrats Dec 07 15:10:08 thanks Dec 07 15:10:20 send me the IPK and I will add it to my list of reviews Dec 07 15:10:22 if you want Dec 07 15:10:29 sounds good Dec 07 15:10:35 david@webosroundup.com Dec 07 15:10:36 when i get to mi casa i will do that Dec 07 15:10:43 great Dec 07 15:10:45 Hey webOSroundup Dec 07 15:10:50 hey jrodan Dec 07 15:11:35 nice spelling there... Dec 07 15:11:37 my bad Dec 07 15:12:09 so is your app a game atlanta? Dec 07 15:15:13 nope Dec 07 15:15:21 one is twitpic uploader Dec 07 15:15:24 and one is word of the day Dec 07 15:16:15 y u only do game Dec 07 15:16:16 s? Dec 07 15:16:35 morn'n atlanta Dec 07 15:16:42 morning Bmyers Dec 07 15:16:47 oh no, I review everything Dec 07 15:16:53 just curious Dec 07 15:16:56 ok good Dec 07 15:16:58 hows ur quest with headless apps Dec 07 15:17:21 recently lots of shopping apps... Dec 07 15:17:26 tis the season :) Dec 07 15:18:24 Bmyers: ahh its coming along i got ahold of the webos book Dec 07 15:18:35 and just going over it trying to comprehend these calls Dec 07 15:19:00 time to pop the cherry on app-assistant.. Dec 07 15:19:34 INDEED Dec 07 15:20:27 it makes things interesting with the launchparams stuff Dec 07 15:20:40 yea thats another thing im trying to learn now Dec 07 15:20:58 u got nowindow in ur appinfo? Dec 07 15:21:07 http://www.precentral.net/wordpress-blogging-app-coming-webos Dec 07 15:21:14 yup i learned that part Dec 07 15:21:16 that one screwed me for a few minutes Dec 07 15:21:20 i have to have no window for a headless Dec 07 15:21:23 launched 2 apps Dec 07 15:21:33 do u have any ipk's i can look at for learning Dec 07 15:21:33 >? Dec 07 15:22:03 kesne: good stuff Dec 07 15:22:08 i was thinking about making a wordpress admin app Dec 07 15:22:10 not really. i am spring cleaning my app now Dec 07 15:22:31 putting in all those "stoplistening" cleanups that u blow past when roughing out code Dec 07 15:22:46 but feel free to ask Dec 07 15:22:49 atlanta: Well, I beat you to it :P Dec 07 15:22:56 :-) Dec 07 15:22:58 i would be a good resource for u Dec 07 15:23:13 ( i.e. i made a great deal many rookie mistakes that u can learn from) Dec 07 15:23:14 Bmyers: ok when i get home to the code i will do that Dec 07 15:23:15 thanks Dec 07 15:23:49 you know Dec 07 15:24:01 with relatively few app developers Dec 07 15:24:13 and some many different sorts of apps to create Dec 07 15:24:22 we sure seem to bump into eachother often.. Dec 07 15:25:40 developers coming up with the same ideas for apps Dec 07 15:25:49 but ANYWAY Dec 07 15:25:52 true Dec 07 15:26:04 palm-worm is complaining that I am messy Dec 07 15:26:06 #ontothenextone Dec 07 15:26:19 how many nodes it says ur runnign Dec 07 15:26:19 ? Dec 07 15:26:20 its says i am leaving nodes open Dec 07 15:26:22 1 Dec 07 15:26:29 and i cant get rid of it.. Dec 07 15:26:32 lol Dec 07 15:26:36 like a bugger on my finger Dec 07 15:26:40 flightview left 141 open on my device Dec 07 15:26:56 wow Dec 07 15:27:01 well, not THAT messy.. Dec 07 15:27:16 can u get more info on WHAT nodes its referring to? Dec 07 15:28:09 sure ill look it up Dec 07 15:28:18 i believe its dom nodes Dec 07 15:28:20 but let me check Dec 07 15:29:44 yea application’s DOM node count Dec 07 15:30:02 and..... Dec 07 15:30:05 pretty much even listeners Dec 07 15:30:43 so how can i identify which listener i may have left open? Dec 07 15:31:03 a little bit of spam... another day, another webOS pitfall... http://www.ordecon.com/2009/12/07/returning-focus-to-widgets-after-a-filepicker-invocation/ Dec 07 15:35:55 Bmyers: give them unique IDs and write them to the error log when they're opened/closed Dec 07 15:36:32 "Listener: BUTTON_LISTENER_1 has been set up" or something Dec 07 15:37:01 thanks sugardave.. Dec 07 15:37:21 so look for the need in the haystack of /var/log/messages Dec 07 15:37:24 it sucks, but you can track them that way Dec 07 15:37:29 yeah Dec 07 15:37:43 s/need/needles/ Dec 07 15:37:54 of course, 'tail -f /var/log/messages | grep LISTENER' might help that Dec 07 15:38:07 right.. Dec 07 15:38:10 gotcha.. Dec 07 15:38:26 pretty big f'n haystack with this app Dec 07 15:38:30 heh Dec 07 15:38:59 lol Dec 07 15:39:15 18 assistants to go thru Dec 07 15:39:22 ivanst: Can you add that to webos101.com? Dec 07 15:40:15 Roy-Pre101: i guess i can - i'm going there new. btw, i'm a newb with webOS, this is my second day of development and already i have two revelations that i talked about on my blawg Dec 07 15:41:06 Roy-Pre101: thanks for reminding me Dec 07 15:41:09 ah, that's a wiki, not a link-collection site... okay... i'll add it in an hour or so - i need to skip into town for a bit... Dec 07 15:42:00 ivanst: OK, great! Dec 07 15:42:32 no problems... i'm absolutely in love with webOS. i think i'll have a long, long relationship with it... though i kindof picked a silly project to cut my teeth on. Dec 07 15:42:55 ivanst: please don't write any power ballads, thanks Dec 07 15:43:07 ;) Dec 07 15:43:17 power ballads? Dec 07 15:43:37 bad joke Dec 07 15:43:57 you know, like "November Rain" by Guns 'n Roses Dec 07 15:43:58 lmfaooo Dec 07 15:44:29 ah. scary :-) Dec 07 15:44:53 i'm just a child at heart writing another FB client. because we don't have enough of them yet :-p Dec 07 15:46:21 hey Roy Dec 07 15:47:16 anybody got any updates on how Twipper is coming along? Dec 07 15:47:18 :D Dec 07 15:48:51 ivanst: hopefully its more functional than the rest Dec 07 15:49:08 sugardave: did we acutally get that started Dec 07 15:51:27 oh lalala going to add a wiki from filepicker today Dec 07 15:51:36 we need to get those entries fulfiled Dec 07 15:52:44 atlanta: take a look at the post i linked to earlier, there's a nifty trick/pitfall in there about FilePicker... Dec 07 15:53:40 yup yup i seen it Dec 07 15:53:53 for somereason it also slow down the typing in my app for some reason Dec 07 15:53:56 after its called Dec 07 15:53:59 is it the same fo ru Dec 07 15:53:59 ? Dec 07 15:55:04 atlanta: on the emu i get same typing speed after file picker, didn't try on device yet Dec 07 15:55:15 going out for a while, be back in an hour and i'll test on device Dec 07 15:55:16 oh ok yea try on the device Dec 07 15:55:25 ok Dec 07 15:55:27 let me know how it is Dec 07 16:09:45 sugardave: i put twipper on github as an open project Dec 07 16:19:14 linky Dec 07 16:20:47 http://github.com/Dremel/Twipper Dec 07 16:22:10 got it Dec 07 16:22:58 feel free to join in Dec 07 16:22:59 when is this darn guy gonna write drivers for the gfx Dec 07 16:23:04 these scroll lags kill me Dec 07 16:23:29 ur not animating the scroll r u? Dec 07 16:23:43 im talking about like in the messesing app Dec 07 16:23:47 or contact Dec 07 16:23:51 o yeah. it blows... Dec 07 16:24:07 have u ever scolled in an app then tried to do a universal search ? Dec 07 16:24:08 lol Dec 07 16:24:27 i got a millions ppl in my contacts.. its painfull Dec 07 16:24:34 same here Dec 07 16:24:43 i wish they would go away.. Dec 07 16:24:56 the twipper app is plain jane right now Dec 07 16:25:05 all i did was the basic project setup Dec 07 16:25:17 i've been working on another app for a while.. Dec 07 16:25:23 what u working on now Dec 07 16:25:26 top secret? Dec 07 16:25:40 right now, yes. but i might ask u to beta it Dec 07 16:25:47 ok sounds good Dec 07 16:25:53 if u r up for it Dec 07 16:26:39 yes indeed i am Dec 07 16:26:42 i am down to the last 5% of app devel that takes as long as the other 95% took to do.. Dec 07 16:26:48 kesne: we gotta bring smoe sexi ness to your wp app Dec 07 16:26:58 Bmyers: hate when that happens Dec 07 16:27:15 all the little stuff like: Dec 07 16:27:16 thats how the dashpanels are treating me Dec 07 16:27:27 g is my app hemeraging memory? Dec 07 16:31:41 oh lala a ftp app just came to mind Dec 07 16:54:35 anyone know if there is a way to access the browser bookmarks? Dec 07 16:59:14 natenrb9: dont think theres any apis for that Dec 07 17:02:22 * ivanst just came back home... Dec 07 17:05:57 atlanta: yeah…its looking like that Dec 07 17:09:59 anyone want to help me with a ListSelector? I'm having a heck of a time getting this one working, and I've hardly modified the documentation example at all :/ Dec 07 17:11:09 sometime thats the problem Dec 07 17:13:18 so I've noticed Dec 07 17:13:39 pastebin usually helps thing go easier Dec 07 17:13:47 yeah I'm pastebin'ing now :p Dec 07 17:13:48 u can paste your js and html Dec 07 17:14:05 the widget shows up, it just doesn't seem to be doing anything for the event Dec 07 17:15:14 http://dl.dropbox.com/u/41063/lengthunit-assistant.js <-- that's what I'm working with. I'm getting an error in the inspector with "Error: Error: Cannot call method 'bindAsEventListener' of undefined, line undefined, file undefined" Dec 07 17:15:27 heya gang Dec 07 17:15:41 the relevant code is ~line 60 Dec 07 17:16:33 I don't think you're defining handleInputUnitChange correctly. Dec 07 17:16:48 have a quick question reguarding taps on list items, and using x-mojo-tap-highlight="momentary" Dec 07 17:17:00 i have a simple list, that taps on each item open up a new scene Dec 07 17:17:03 The name: function () approach works when you're inside a className.prototype = {} construct. Here, you're inside the setup method. Dec 07 17:17:10 ah Dec 07 17:17:13 CoolMatty, use paste and Dec 07 17:17:17 but, when i use the x-mojo-tap-highlight="momentary", the text in the list item actually shifts when it's highlighted Dec 07 17:17:31 not sure what about the highlighting realigns the text Dec 07 17:17:39 do the handler differently so its easier to stoplistening Dec 07 17:17:42 so what would be a better way of defining that in the setup() function Dec 07 17:17:44 Pull that method outside something like LengthunitAssistant.prototype.handleInputUnitChange = function () {} Dec 07 17:17:51 ok Dec 07 17:18:26 (The other method is LengthunitAssistant.prototype = { handleInputUnitChange: function () {} } ) Dec 07 17:18:50 Can't really define it inside the setup method. (Technically you can, but it's kinda not the way I'd suggest. :) ) Dec 07 17:18:52 yeah I've done that before, just didn't realize that Dec 07 17:19:05 it's what I get for copypasta'ing the documentation :D Dec 07 17:20:43 anyone have any experience w/ using x-mojo-tap-highlight="momentary"? Dec 07 17:20:59 great, that's removed the errors. just gotta clean up the rest of it and figure out why currentUnit isn't being set (probably a global/local issue) and I'll be set. Thanks FoxFireX! Dec 07 17:21:29 I've seen the kind of behavior you're talking about, yetdog, and for me it usually was related to leaving out some tag somewhere that Mojo was expecting to be in place. Dec 07 17:21:38 CM: Quite welcome. Dec 07 17:22:05 chuqui: documentation wise how are things going I noticed that some of the pages still haven't been updated to reflect the jsdoc versions. Dec 07 17:22:07 yd: See if you can go check the Style Matters sample or something like that and see if you're including all the various layers and classes it expects. Dec 07 17:23:06 it's being worked on... wish it were done! Dec 07 17:24:45 FoxFireX: yeah, im having some issues w/ alignment on the rows themselves on the one scene it happens on, ill bet i have something munged Dec 07 17:25:26 Just checking, sure they are typing away at it. :) Dec 07 17:25:40 chuqui: what's going on with the review count and average rating not showing up on new apps? Bug in the process of being looked at probably…? Dec 07 17:25:58 I've filed a bug on that. it seems to be broken. Dec 07 17:27:14 chuqui: yeah, definitely broken. I figured you had already done something, but just checking on status, thanks! Dec 07 17:27:39 damn shortcuts... and damn me for learning dvorak... Dec 07 17:27:57 yeah Dec 07 17:29:23 wardrobe change chuqi? Dec 07 17:30:04 kinda. Dec 07 17:31:03 chuqui: Stupid question, but I've been wondering since I first saw your name. "Chuck" or "Chuke"? Dec 07 17:31:19 Eugene I think.. Dec 07 17:31:37 :P Dec 07 17:32:01 it's a varian spelling of chuck Dec 07 17:32:20 Thought so, but for some reason I was thinking it could pronounce differently. Thanks! :) Dec 07 17:32:51 i think the q is silent... Dec 07 17:33:10 (We have a cat who my wife took to calling "Chooke" or "Chookie". I have no idea why, and can't figure out if that's the best way to spell it.) Dec 07 17:33:45 it's been pronounced all sorts of ways.. trust me... Dec 07 17:34:02 but that's part of the fun. Dec 07 17:34:27 they r u california.. rOdeo, rodEo, etc Dec 07 17:35:23 I still can't bring myself to NOT call the river in Connecticut the "Tims". Why must they actually pronounce "Thames" the way it's spelled when I've learned from Monty Python the correct way? :) Dec 07 17:36:16 everything you ever need to know you learned by the you got to kindergarten or monty python Dec 07 17:40:39 FoxFireX: http://webos.pastebin.com/m15171e81 - anything look off to you? Dec 07 17:42:18 May need a palm-row-wrapper class div around the contents of the row... Dec 07 17:42:58 Something like this? http://webos.pastebin.com/m1b5d7c1a Dec 07 17:43:24 hey chuqui Dec 07 17:43:32 .ha. you're magiv Dec 07 17:43:34 magic, even Dec 07 17:43:49 just gotta fix a little spacing issue and it'll be golden. text is no longer repositioning Dec 07 17:44:08 Like I said, I've seen the same type of thing. :) Dec 07 17:44:13 hey Templarian Dec 07 17:44:18 that's why you're a scholar :) Dec 07 17:44:20 hey ho. Dec 07 17:44:41 hey chuqui some how i paid the $5 and lost developer status after changing my password Dec 07 17:44:42 atlanta: hello. Dec 07 17:44:49 chuqui: who do i talk to Dec 07 17:45:14 do you have an account manager? start there. Dec 07 17:45:18 ok thakns Dec 07 17:45:20 thanks Dec 07 17:45:37 Hey, there's a good idea for the portal. Have it list who your account manager is. Dec 07 17:45:44 I have to go email diving any time I need to remember. Dec 07 17:46:12 chuqui: did you see our little Preware site we started? Dec 07 17:46:30 its very nice Dec 07 17:46:38 which site? Dec 07 17:46:50 good suggestion. I'll pass it along. Dec 07 17:46:53 preware.org Dec 07 17:47:01 Templarian: what framework did u use to create it? Dec 07 17:47:44 its like a BIG PRE lol Dec 07 17:48:27 no, I'll have to go take a look Dec 07 17:48:44 cute Dec 07 17:48:53 atlanta: The same framework that is used for my webOS applications (I'm going to be cutting it down a lot since it was built for JS 1.8.x). Not bad for a 3 day turn around. Dec 07 17:49:01 Heh; visted with noscript enabled and got an empty gray screen. Not quite as impressive until you allow scripting. :) Dec 07 17:49:26 FoxFireX: There is a noscript tag it should show a error screen. Dec 07 17:49:26 brb Dec 07 17:50:05 I can see it in the source, but darned if it shows in the browser. Go figure. Dec 07 17:50:38 Oh, they're both set to display:none. Dec 07 17:50:43 In the fail.css doc. Dec 07 17:50:44 heh nice js 1.8.x error temp Dec 07 17:50:52 I just noticed that. Me and my copying and pasting. Dec 07 17:51:02 I'll push an update thanks for the head up. Dec 07 17:51:09 heads up* Dec 07 17:51:20 Eh, it's now allowed script access, so it doesn't bug me anymore. :) Nice. Dec 07 17:53:10 I've been meaning to write a web version of my framework so this should give me a nice reason. Plus once we get the SQLite db written from the feeds users can search applications right from the site. Dec 07 17:55:54 * Templarian thinks hehe now the no scipt people will see the error. 5min refresh intervals for git pushes are fun. Dec 07 17:56:28 Confirmed. Looks good. Dec 07 17:59:02 there is no closeDB method for an sql open is there? Dec 07 17:59:23 i seem to have a handle problem with either the card or dashboard of my app Dec 07 17:59:32 leaving 1 handle open somewhere Dec 07 18:00:53 excited about hearing from an account manager, chuqui :) thanks again for pushing me thru Dec 07 18:08:19 ivanst: try it out on the device yet Dec 07 18:08:30 nope, just about to... Dec 07 18:08:36 cool cool Dec 07 18:10:34 no adora? Dec 07 18:11:55 atlanta: about the slow typing thing... Dec 07 18:12:04 yea Dec 07 18:12:24 i don't get it on the device either Dec 07 18:12:27 my test is like this: Dec 07 18:12:42 wierd Dec 07 18:12:47 hmm, I'm seeing a lot of references to making a textfield only accept integers, or defining a function to allow only certain characters, but what if I only, say, want to allow one "." in the text field? Should I have the function define a global variable and increment that, or what? Dec 07 18:13:12 input into a TF widget, tap button that opens a file picker, cancel file picker, code returns the focus to TF on scene activate, i can resume typing normally, no noticeable lag or slowness... Dec 07 18:13:28 try picking a photo Dec 07 18:13:33 You could maybe have the function check the current value and see if it has a . already? *shrug* Dec 07 18:13:38 and then type and backspace and type more Dec 07 18:13:41 see if u see any lag Dec 07 18:13:55 CoolMatty: regex is your friend Dec 07 18:14:08 i've backspaced all the way to the empty TF so the hint shows up and tried typing. no lag here. Dec 07 18:14:46 ivanst: did u select a picture Dec 07 18:14:47 atlanta: so regex the whole field every time a character is pressed? Dec 07 18:14:51 hmm Dec 07 18:15:03 yes, i've tried the second scenario where i don't cancel but select a picture Dec 07 18:15:09 wierd Dec 07 18:15:11 grrr ok Dec 07 18:15:15 thanks Dec 07 18:15:21 are you doing anything else that might be strange? Dec 07 18:15:47 well i just take the fullPath of the photo and make it a img tag Dec 07 18:15:51 nothing to strange Dec 07 18:17:22 ill beta the app when i get home Dec 07 18:22:46 @istojic: Instructions for simulating an inbound sms or phone call or GPS fix are in the developer docs here: http://developer.palm.com/index.php?option=com_content&view=article&id=1662 Dec 07 18:39:56 whats the best way to dynamically add widgets Dec 07 18:39:56 ? Dec 07 18:40:11 if i have this in my code: Dec 07 18:40:12 Mojo.Log.info("#############List Tapped [" + event.index + "]"); Dec 07 18:40:20 where in the emulator OS is that logged? Dec 07 18:40:29 doesnt seem to be in /var/log/messages Dec 07 18:41:17 yetdog: You probably need a framework_config.js file specifying logLevel as 99. Don't think it actually logs info messages by default unless you change that setting. Dec 07 18:41:33 Think there's a way to programmatically set it, but I don't know it offhand. Dec 07 18:41:37 hmmm ok thanks Dec 07 18:41:37 Atlanta, I think the support code has some examples of dynamically adding widgets. Dec 07 18:42:05 trying to set a header div to a value pulled from a JSON response but not sure how to reference the item index Dec 07 18:42:13 var tName = this.listModel.items[0].tourname; not working Dec 07 18:42:50 ok back Dec 07 18:43:17 thats in my onSuccess routine, btw Dec 07 18:43:28 by support code, I mean the support scene that existist in the samples with the sdk Dec 07 18:43:47 it dynamically adds rows for the different support options. Dec 07 18:43:47 and in my event tap function: var sid = this.listModel.items[event.index].showid; Dec 07 18:44:36 obviously the event tap works - but the event.index doesn't exist in the onSuccess function so im not exactly sure the syntax of that index Dec 07 18:46:45 ok thanks Dec 07 18:54:18 got the framework_config up and running, FoxFireX FYI Dec 07 18:54:30 debug shows proper index. not sure why its undefined when i try to reference it from my onSuccess function Dec 07 18:54:33 i'll pastebin it Dec 07 18:54:34 Should let you start seeing the info messages, then. If I remember right, that setting won't hold on the device. Dec 07 18:54:44 when connected to the mediaserver and streaming music what service handlers get open? Dec 07 18:55:05 yeah, i'm seeing it in the log Dec 07 18:55:06 http://webos.pastebin.com/mc4ed719 Dec 07 18:55:15 var tName still shows up as undefined, though Dec 07 18:55:33 Any sample response for the JSON? Dec 07 18:56:28 FoxFireX: http://webos.pastebin.com/md77634a Dec 07 18:56:38 valid, and the list populates properly Dec 07 18:56:57 just not the header, as i'm trying to grab an attribute out of one of the list rows to populate it Dec 07 18:57:09 So... the JSON defines a property named "tours", and you're looking for one named "shows"......... Dec 07 18:58:12 wow...if its that easy ill shoot myself. juggling multiple similar scenes lol Dec 07 18:58:23 standby Dec 07 19:00:02 ah, i got it, thanks to your direction. the scene im pushing and want to display the data in the header; that data isnt included in the json for THAT scene Dec 07 19:00:16 i was trying to use data from another scene, not realizing it wasnt included there. Dec 07 19:00:47 anyway to programatically close an app Dec 07 19:00:48 ? Dec 07 19:01:05 Throw a really, really bad exception? :) Dec 07 19:02:13 atlanta: window.close() Dec 07 19:02:34 throwing a bad exception will just stop the current execution, but the card will still stay open Dec 07 19:02:44 ok and that shoots the app into outter space Dec 07 19:02:44 ? Dec 07 19:02:48 Not if it's bad enough. (Was just kidding.) Dec 07 19:02:57 :) Dec 07 19:03:21 window.close() will shut everything down, and close all the cards. Dec 07 19:03:32 Thinking to my C# experience. One well-placed NPE, and you're nice and exited. :) Dec 07 19:03:53 FoxFireX: no doubt. I actually tried it myself. Dec 07 19:05:45 atlanta: I have a Mojo.Controller.getAppController().closeAllStages(); in there right before the window.close, to properly close all the stages, because I think window.close is actually a bit of a hack. But right now there is no other way to force the app to completely close, if your app is multi-stage, or headless. Dec 07 19:06:02 If it is not multi-stage or headless, Mojo.Controller.getAppController().closeAllStages(); will probably work just fine. Dec 07 19:06:03 ok gotcha Dec 07 19:11:33 hey everyone, how is it going? Dec 07 19:14:33 Quietly. Dec 07 19:25:55 still no adora? Dec 07 19:26:46 thanks again FoxFireX; killing this. just wrote up an entire app in just about 5 hours Dec 07 19:26:50 4 stages Dec 07 19:26:54 Cool. :) Dec 07 19:27:16 Still working hard on just adding features to mine. May have bitten off a bit much for this update, but you gotta start somewhere. Dec 07 19:27:59 indeed. i find myself putting things in reverse all the time lol. Moreso w/ straight site development Dec 07 19:29:59 Ugh. Time to test SQL. Dec 07 19:33:22 testing SQL is best done in Safari with console Dec 07 19:33:30 at least IMO Dec 07 19:35:14 Yeah, I've got a decent test environment set up to play with it. A few quirks, but pretty decent. Dec 07 19:36:53 do we have an op in here? do we want infobot in here? Dec 07 19:41:00 is there no closedatabase for SQL? Dec 07 19:43:46 Don't know of one. Dec 07 19:54:12 Bmyers: negatory Dec 07 19:56:41 well, good and bad on that then Dec 07 19:57:05 good: 1 less thing to do on cleanup Dec 07 19:57:22 bad: means theres something else wrong with my app Dec 07 20:22:18 if you dont have any event handlers in use and exit the app. if there is still a handle open, what else could it be? Dec 07 20:22:39 worm still saying u open Dec 07 20:22:40 ? Dec 07 20:22:41 palm-worm says i still have 1 handle around doing something Dec 07 20:22:50 uhmmmm Dec 07 20:22:55 Which version SDK are you using? Dec 07 20:22:56 look again and again and again Dec 07 20:23:06 131 Dec 07 20:23:21 Worth a shot. :) Dec 07 20:23:31 i have a multistage app Dec 07 20:23:42 hey, when I am signing up for the developers program, i don't need to have an actual registered business do I? Dec 07 20:23:43 i have a launchparam where i just write to the log and exit Dec 07 20:23:57 still says i have 1 open handle Dec 07 20:23:57 @EIVox you can do it as a sole prop Dec 07 20:24:19 ok thanks Dec 07 20:25:10 any suggestions on a new app name for my shopping list app? Dec 07 20:25:22 I have to change it Dec 07 20:25:45 which one? Dec 07 20:26:31 not the one by mojo apps? Dec 07 20:29:34 swisstomcat: yeah Dec 07 20:30:36 which one is yours? Dec 07 20:31:09 swisstomcat: Shopping List was renaming it to MojoShopper but couldn't due to Palm's Mojo trademark. Dec 07 20:31:27 i see Dec 07 20:31:38 swisstomcat: just looking for suggestions Dec 07 20:33:50 i'm doing something that i'm not sure i'm supposed to be doing... Dec 07 20:35:19 in my views i have tags that reference images on the intertubes (eg, src="http://something.i.own.com/foobar.png")... sometimes when i start the app, the images don't show up. closing the app and restarting it usually fixes it, but when there are several images, they might all appear or only some, in various combinations. am i doing something wrong with using with remote images? Dec 07 20:35:26 ie. should i be caching stuff or something? Dec 07 20:37:41 bryanroth: how about Phonoshop? ;-) Dec 07 20:39:25 EdLin: Hmmm... Dec 07 20:43:52 bryanroth: Cellbuy Dec 07 20:47:58 Anyone recall where app DBs are stored on-device offhand? Dec 07 20:48:19 /media/internal/.app-storage/ Dec 07 20:48:49 That's for the ext: dbs, though, right? I'm thinking the non-external ones. Dec 07 20:49:47 FoxFireX: oops, sorry Dec 07 20:52:00 Found it in /var/home/root/html5_databases for the curious. Dec 07 20:54:03 hopefully with the apps being on the media partition Dec 07 20:54:10 in the next release (or whenever) Dec 07 20:54:18 they can make all databases be as big as they want to be Dec 07 20:54:42 instead having to "ext:" them Dec 07 20:54:44 Yeah, I'm really curious to try the migration process to the next version. I'd like to make sure that if the apps get moved, the data picks up okay. Dec 07 20:59:19 does orange+shift+p still work for screenshots? Dec 07 20:59:38 where are they stored? do they pull up in photos? Dec 07 20:59:45 orange sym p Dec 07 20:59:56 they are in your photos...under screen captures Dec 07 21:00:03 I take them all the time Dec 07 21:00:35 its opt now, apparently, since pixi doesnt have orange Dec 07 21:00:47 FoxFireX: just fyi, on device non-ext: db's are stored in /var/palm/data, I'm pretty sure. /var/home/root/html5_databases is just in the emulator. Dec 07 21:01:22 drnull: That's cool. I'm just trying to do some emulator troubleshooting of some SQL joy. Figure it should work fine no matter where the file ends up living. Dec 07 21:01:39 gkatsev: opt? Dec 07 21:01:55 opt=option Dec 07 21:02:06 right…what does that mean? Dec 07 21:02:18 instead of orange. orange has been renamed option. Dec 07 21:02:23 oh, lol Dec 07 21:02:27 lol Dec 07 21:02:29 thanks for that tidbit Dec 07 21:02:38 yep Dec 07 21:06:48 so about the Pixi Dec 07 21:06:59 whats the asking price Dec 07 21:07:12 aka who wants to sell one for me Dec 07 21:07:20 sell one toooooo me Dec 07 21:08:50 eekfuh_wooork: I think Wal-Mart has them for $28.00 Dec 07 21:09:10 i dont want a contract Dec 07 21:09:12 just a new one Dec 07 21:09:17 wirefly.com has them for $0 with contract. unless you want contractless, in which case i think amazon has the cheapest Dec 07 21:09:20 i can get one for free w/contract Dec 07 21:09:23 yeah wirefly Dec 07 21:09:49 just want a dev one Dec 07 21:09:52 no service Dec 07 21:12:25 Amazon lies… its says $299 … then you click "buy without contract" and it ups it to $359 Dec 07 21:12:43 will it say that you have taken a screenshot at the bottom of the screen? Dec 07 21:14:49 eekfuh_wooork: I think you have to have service to do anything useful with it Dec 07 21:14:59 otherwise you can't get past the palm profile screen Dec 07 21:15:18 you can turn on wifi i think Dec 07 21:15:20 CoolMatty: sure you can. but yes, nothing useful cuz there is no wifi Dec 07 21:15:23 then do the palm profile stuff Dec 07 21:15:31 CoolMatty: there are ways to get past the activation thing Dec 07 21:15:31 dawm: pixi = no wifi Dec 07 21:15:32 oh pixi? Dec 07 21:15:38 thought you were tlaking about the pre Dec 07 21:18:41 so my screenshot thing is not working…is there any trick to it, has anyone heard of a patch that causes it not to work….? So will it say at the bottom something like "Screenshot captured"? Dec 07 21:19:25 sym+orange+p Dec 07 21:19:53 you get nothing to indicate it was taken aside from seeing it in /media/internal/screencaptures or screencaptures in photo viewer Dec 07 21:19:59 natenrb9: I can't recall it giving me any kind of success message on a screenshot Dec 07 21:20:03 ah Dec 07 21:20:11 oh yeah Dec 07 21:20:13 no wifi Dec 07 21:20:15 kinda USELESS Dec 07 21:20:16 yeah it won't do anything except lag for a split second while it saves Dec 07 21:20:18 I was using shift…stupid tips and tricks .pdf Dec 07 21:20:21 for web testing Dec 07 21:20:28 natenrb9: shift USED to work Dec 07 21:21:25 eekfuh_wooork: do you have a sprint account? cuz you could bounce it between your phones. though, the pixi would have to be your primary phone, since data takes several hours to change over Dec 07 21:21:27 ah Dec 07 21:21:35 i do have a sprint acct Dec 07 21:21:43 sugardave: it did? when? Dec 07 21:21:44 i have 2 palm pre's Dec 07 21:21:50 one with "hacked" activation Dec 07 21:21:54 one with service Dec 07 21:22:01 and i want a pixi to test on Dec 07 21:22:49 eekfuh_wooork: so, you could move your account onto the pixi for a week of pixi mostly testing or w/e. and then move the account back to the pre when you're done. Dec 07 21:23:05 it just blows my mind that Pixi doesn't have wifi Dec 07 21:23:10 i totally forgot Dec 07 21:23:18 and it just seems… stupid to say the least Dec 07 21:23:46 i'd hate to use Feeds on a Pixi and have it backup OTA Dec 07 21:23:50 that would take like 10 mintues Dec 07 21:23:54 eekfuh: as many suggest, its probably yet another way to differentiate between the pixi and the pre and make the pre be the "higher end" device. Dec 07 21:24:14 true… but the price does it for me Dec 07 21:24:20 Free vs $50 Dec 07 21:24:31 barrier to entry is significantly different Dec 07 21:24:44 yeah, i guess. but i am willing to pay the extra $50 for the extra screen and wifi Dec 07 21:24:52 same Dec 07 21:25:01 and the better CPU Dec 07 21:25:03 and more storage Dec 07 21:25:18 AND MIRROR Dec 07 21:25:20 dont forget the mirror Dec 07 21:25:42 lol, yeah, mirror, totally. Dec 07 21:26:16 sprint is all jacked up right now… keeps on giving me the can't get a data connection error Dec 07 21:26:22 every minute or so Dec 07 21:26:38 funny thing is Sprint's reliability for voice is stellar Dec 07 21:26:56 and on my iphone … the data is stellar and voice is the worst i've ever experienced Dec 07 21:29:09 one thing i've noticed… with the touchstone back on hte phone … i get worse coverage too Dec 07 21:29:09 gkatsev: I think prior to webOS 1.2 it worked...I never did it, but I remember grumblings about the key combo changing around that time Dec 07 21:30:10 I wish I could de-etch my Pre's mirror....I don't need to be a Sprint advertiser Dec 07 21:30:23 so questions Dec 07 21:30:31 i want to do a give-away Dec 07 21:30:35 to promote my products Dec 07 21:30:46 what should i give away Dec 07 21:30:54 i'm gonna do it in early Jan Dec 07 21:31:12 eekfuh: depends...what is the product? Dec 07 21:31:24 all my apps Dec 07 21:31:31 twee? Dec 07 21:31:37 Twee, Feeds, plus maybe a few other Dec 07 21:31:42 ill take a twee Dec 07 21:31:45 yeah possibly my Food app Dec 07 21:31:55 food app? Dec 07 21:32:04 eekfuh: Precook? Dec 07 21:32:05 yeah urban spoon app Dec 07 21:32:10 not precook Dec 07 21:32:17 its like urban spoon Dec 07 21:32:31 I was trying to name it. :P Dec 07 21:32:34 the problem is i'm having licensing issues with Yelp Dec 07 21:32:36 oh lol Dec 07 21:32:51 there's already Precook? Dec 07 21:33:12 dunno … just sounded like a name that already existed Dec 07 21:33:17 thats how good of a name it is Dec 07 21:33:23 lol Dec 07 21:33:25 can't use it, though Dec 07 21:33:29 yeah Dec 07 21:33:43 prejeweled was an awesome name.. had to change it to get in the catalog Dec 07 21:33:54 dawm|mini: why? Dec 07 21:33:56 dawm|mini: what did you decide on? Dec 07 21:34:03 swap&drop Dec 07 21:34:08 gkatsev: no "Pre" in the app names Dec 07 21:34:10 your gonna love that i am making a competitor game to yours Dec 07 21:34:16 ah Dec 07 21:34:22 competition ftw Dec 07 21:34:23 they dont want apps named for a device Dec 07 21:34:25 dawm|mini: really? I thought "Bedazzled" was a good one Dec 07 21:34:30 makes sense Dec 07 21:35:07 you shouldve called it: "swap jewels, make triplets or more, get points" Dec 07 21:35:14 lol Dec 07 21:35:17 hahaha Dec 07 21:35:23 mine doesnt really use jewels soo.. Dec 07 21:35:25 so my app is called Droplet Dec 07 21:35:30 i like how we both use Drop in the name Dec 07 21:36:02 its actually the first app that i'm not the only dev on … for deliciousmorsel Dec 07 21:36:57 ugh they approved 0.4.11 even tho i requested a reject.. oh well 0.4.12 submitted Dec 07 21:37:10 lol Dec 07 21:40:30 what's the best WebOS game? Besides the ones you wrote themselves, unless they're *that* good. ;-) Dec 07 21:40:49 yourselves* Dec 07 21:40:54 My favorite is Topple Ball. Dec 07 21:41:13 of course i have to pick my own, but i like toppleball too Dec 07 21:41:30 that zombie game is ok i dont see what the big draw to it is all about tho.. Dec 07 21:42:30 Mind Master is the most awesome game ever...not really, but I felt like ignoring your "don't mention your own game" request Dec 07 21:42:35 topple ball, blocked, swap&drop Dec 07 21:43:29 what apps do you use for dev-ing in? Dec 07 21:43:49 Let's see, other ones that I've particularly liked... Roll Quest has some great potential, Reversi has a low-level AI but I still like it... Color Puzzle had me for quite a while, but I think I've broken free. Dec 07 21:43:49 vim+komodo+templarian's addon Dec 07 21:43:50 komodo Dec 07 21:43:53 eekfuh: I'm just using the free Komodo Edit and Templarian's exgtension Dec 07 21:43:58 vi Dec 07 21:44:15 Bmyers: you use vi? why? Dec 07 21:44:15 totally... vi Dec 07 21:44:19 eekfuh: you? Dec 07 21:44:29 just kidding. i'd rather ____ Dec 07 21:44:31 Coda + VI Dec 07 21:44:33 well VIm Dec 07 21:44:40 vi needs upgrade to 7 Dec 07 21:44:43 eekfuh: emacs Dec 07 21:45:01 komodo usually. Dec 07 21:45:10 but i like eclipse too Dec 07 21:45:21 eek Dec 07 21:45:31 looks like VI ftw Dec 07 21:45:41 vim ftw, as awlays Dec 07 21:45:47 s/awlays/always/ Dec 07 21:45:51 hahaha Dec 07 21:46:09 so....any interest in a 3rd-party (me) letting devs (you) track nduids for your apps so you can get a REAL (at least as close as possible) number of unique downloads? Dec 07 21:46:24 i do tracking in my apps Dec 07 21:46:30 with the Nduids Dec 07 21:46:53 eekfuh: I am now in a couple test apps....but I don't have it in place for my released app. Dec 07 21:46:55 they dont recommend tracking by nduids Dec 07 21:46:55 i can see how many uniques have ran it between time periods Dec 07 21:46:59 nduids are the best method Dec 07 21:47:08 i track every app i've ever released Dec 07 21:47:12 Except for folks who swap devices. Dec 07 21:47:16 if you get a replacement device new id Dec 07 21:47:19 i do it in the app-assistant Dec 07 21:47:21 but I am seeing a lot of complaints about how we can't get real numbers from Palm...so.... Dec 07 21:47:41 thinking of making a service for devs who don't want to write their own or lack the resources/know-how to do so Dec 07 21:47:46 you install the patch for app catalog Dec 07 21:47:56 dawm|mini: that's total downloads Dec 07 21:47:58 period Dec 07 21:48:01 The patch shows total downloads, not unique users. Dec 07 21:48:16 how often does someone download the same app? or does that include updates Dec 07 21:48:33 dawm|mini: depends, how many times has the app catalog told someone they need to delete apps? Dec 07 21:48:35 it's a huge problem Dec 07 21:48:38 Updates count as well. Dec 07 21:48:40 when someone updates the app Dec 07 21:48:44 boom it gets tons more downloads Dec 07 21:48:48 oh ive never had to delete an app unless i wanted to Dec 07 21:48:59 interesting. Dec 07 21:49:11 dawm|mini: it happened to me a couple times, and I only have about 8 apps on my phone Dec 07 21:49:24 so it counts even updates as a download...? Dec 07 21:49:26 only issue ive ever had was the touchscreen going out cause the usb port got loose Dec 07 21:49:34 natenrb9: crap, that's even worse then Dec 07 21:49:45 I must truly only have about 10% of my download count then Dec 07 21:49:53 that sucks balls Dec 07 21:49:56 that does sucsk Dec 07 21:49:56 well i had 177 dls before my first update so i know i had atleast 177dls heh Dec 07 21:49:58 i only have 80% update adoption rate Dec 07 21:50:12 i can tell because i see users every day logging from old versions Dec 07 21:50:18 after 1 update the download count will be way off as far as tracking your sales... Dec 07 21:50:18 dawm|mini: again, total downloads...you have no way of confirming if that number had any duplicates Dec 07 21:50:21 80% after 2 weeks Dec 07 21:50:21 the more you know... Dec 07 21:50:29 true Dec 07 21:50:37 and what about piracy Dec 07 21:50:48 maybe once i get score leaderboards done ill throw in some app tracking as well Dec 07 21:50:49 pirating an app is easy Dec 07 21:51:35 eekfuh: indeed...which is why it would be nice if Palm shared the nduids for just our apps so we can reconcile against the tracker Dec 07 21:51:53 yes Dec 07 21:52:05 i need an API to check whether or not the user has purchased it Dec 07 21:52:16 or at least they do a callback to my server on purchase Dec 07 21:52:18 so i can store it Dec 07 21:52:19 that would be nice too Dec 07 21:52:39 i'd allow users to run my app for 1 day without paying Dec 07 21:52:43 so they can fall in love with it Dec 07 21:52:45 yeah, API would be best, but longer to provide, I'd wager...I'm happy with slogging through nduids myself for now Dec 07 21:52:48 then disable it until they pay for it Dec 07 21:53:00 my fan is making horrible, horrible noises Dec 07 21:53:07 this is not good Dec 07 21:53:21 heh my hackinstosh has no fan ;p Dec 07 21:53:37 -s Dec 07 21:53:40 sugardave: put a drop of oil in the bearing Dec 07 21:53:50 dumb small keyboard Dec 07 21:53:58 dell mini? Dec 07 21:54:01 eee? Dec 07 21:54:02 mini9 Dec 07 21:54:07 nice Dec 07 21:54:11 i had a EEE Dec 07 21:54:15 osx86'd Dec 07 21:54:24 my main desktop is a custom built osx86 Dec 07 21:54:25 Adora: the laptop might not like that too much ;) Dec 07 21:54:31 then my laptop is a 17" MBP Dec 07 21:54:40 one thing i hate about OSX Dec 07 21:54:43 the terminal Dec 07 21:54:46 my main machine is win7 Dec 07 21:54:54 sugardave: better than burning out and frying your cpu! Dec 07 21:54:59 srsly, just a drop Dec 07 21:55:01 teeny tiny Dec 07 21:55:04 i'm completely windows independent now Dec 07 21:55:22 linux for home server Dec 07 21:55:27 I keep a teflon-based pen thing around for stuff like that, but I've used olive oil in a pinch Dec 07 21:55:28 mac for desktop / laptop Dec 07 21:55:28 Adora: if the CPU fries, I call up "services" and they send me a new shell...I'm on my 5th one in 2 years now Dec 07 21:55:33 and never had any problems Dec 07 21:55:40 only 3 more years of swapping shells until I can get a new one Dec 07 21:55:43 my other laptop is xp, and eventually ill get anothe apple laptop.. shoulda never sold my mbp Dec 07 21:56:00 i got my new 17" unibody for only $1789 Dec 07 21:56:14 brand freaking new. 8 hour battery life …. love it Dec 07 21:56:15 sugardave: that makes me sad Dec 07 21:56:22 laptops are people too, you know! =[ Dec 07 21:56:33 Adora: be sure to copy/paste our discussion re: nduids and check-for-authorized-phone API to the proper authorities Dec 07 21:56:33 i think i sold my mbp for 1800 heh Dec 07 21:56:55 sugardave: I may or may not be taking notes =] Dec 07 21:56:57 Adora: I did really care about it the first 2 times the fans died....but, now I don't care anymore Dec 07 21:57:05 Adora: awesome ;) Dec 07 21:58:44 dawm|mini: to your point about NOT using nduids...that's what we shouldn't use to authenticate a user to some back-end system. Should be perfectly acceptable (and in fact the only) way to get an actual count of unique devices an app is running on Dec 07 21:59:11 yeah unique devices Dec 07 21:59:58 then you add in a "I'm not xxxx" option for when a phone is swapped or a "I need to use THIS phone now" option for user authentication purposes Dec 07 22:06:24 Hello adora Dec 07 22:30:25 is this a bad thing? " Warning: indicated new content, but not active." in log file? Dec 07 22:30:39 I don't think so Dec 07 22:30:47 Seen it lots of times, no idea where it's coming from. Dec 07 22:30:59 its coming from the log file ;) Dec 07 22:31:06 it means the scene controller was notified of content change from "some activity" but it isn't active to display the change Dec 07 22:31:09 I see it all the time Dec 07 22:31:18 you also see it when you launch an app Dec 07 22:31:19 Oh, for a witty retort right now. :) Dec 07 22:31:39 i'll sleep better tonight now. thanks guys.. Dec 07 22:31:49 np Dec 07 22:32:01 there is still a handle on my finger like a bugger.. Dec 07 22:32:05 cant shake it.. Dec 07 22:32:20 palm-worm says still 1 handle open.. Dec 07 22:32:36 did you tackle it with the ham-hands way I suggested? Dec 07 22:33:06 mostly... Dec 07 22:33:11 hehe Dec 07 22:33:24 well, I hope you find it Dec 07 22:33:25 but then i created a launchparam that just log'd and exited Dec 07 22:33:32 created no stage, pushed no scene Dec 07 22:33:41 and I still have 1 handle open Dec 07 22:33:50 Clearly you shouldn't be logging. Dec 07 22:33:55 * sugardave is scared to see how bad Mind Master leaks. Dec 07 22:34:31 after you create an appassistant, the stage assistant is pretty much as usefull as a penis at a cheryl crow concert? Dec 07 22:34:41 Bmyers: yep Dec 07 22:35:06 actually, even less...a penis could be used as in improptu donut/bagel holder Dec 07 22:35:43 but stageassistant is still in the app by design? Dec 07 22:37:15 yes, I think you really only want to jack with the app assistant if you have a need to do multiple stages Dec 07 22:37:44 i am.. multistage app also means app with a card view or dashboard Dec 07 22:37:46 so, using the app controller, your flow goes like: app_controller -> stage_controller -> scene_controller Dec 07 22:37:51 which it what i am doing Dec 07 22:38:09 Bmyers: you are venturing into a realm I haven't done much in Dec 07 22:38:14 yeah but stagecontroller doesnt seem to see much action.. Dec 07 22:38:48 well, I guess it depends....you should be able to do it all in the app controller if you wanted to with getStageProxy, etc. Dec 07 22:39:42 getstageproxy is for when you are doing delagatetoscene stuff tho right? Dec 07 22:39:55 but then, you should also still be able to do most of the things you normally would do in the stage assistant as well Dec 07 22:40:08 If it makes you feel any better, I just checked an app I'm working on, and it seems to be hanging on to a handle after close as well. Dec 07 22:40:33 Bmyers: not sure, I know that doc had to modify some code examples I gave him to use the stageProxy instead of the active stage controller, and I THINK he was using an app assistant on that app Dec 07 22:40:46 is this something palm looks at for an app in the appcat? Dec 07 22:40:52 Bmyers: no Dec 07 22:40:56 not at this time Dec 07 22:41:14 I know for a fact I have 36 unreleased button listeners in Mind Master on app close Dec 07 22:41:14 oh, forget it then!!! Dec 07 22:41:37 actually, I think it's closer to 45 Dec 07 22:41:43 yeah u use getstageproxy for when you are creating a stage that you're pushing a scene to. Dec 07 22:42:00 it may not create the stage by the time the next command fires Dec 07 22:42:16 so you use the proxy thing to let it happen when it happens. Dec 07 22:42:33 Bmyers: ah, okay...I will not give out advice for app controllers/multi-stage apps now....I can't speak about them intelligently yet :D Dec 07 22:42:43 for delegatescene thing Dec 07 22:42:58 me either.. i thought we were just talking here.. Dec 07 22:43:16 sort of un-intelligently.. Dec 07 22:43:21 WAG's... Dec 07 22:43:28 yeah, I do that a lot ;) Dec 07 22:43:43 never lets the facts detract from a good dialog.. Dec 07 22:44:02 its fun stuff tho.. Dec 07 22:44:09 i do have it working Dec 07 22:44:17 just the f'n handle i cant shake.. Dec 07 22:44:27 yeah? I haven't thought of a need for multi-stage for any of my "might do" projects Dec 07 22:44:54 well if you want a regular card and a dshboard with a timer, thats a multistage app Dec 07 22:45:00 like the news app example Dec 07 22:45:07 Bmyers: I wouldn't be surprised, based on what FoxFireX said about their handle, if it isn't a bug and/or impossibility to shake some "initial" handle that gets created when you run the app Dec 07 22:45:34 well, i took a plain jane skeleton project and worm'd it. Dec 07 22:45:41 it went back to 0 handles.. Dec 07 22:45:49 hmm...interesting Dec 07 22:45:53 Yeah, but I'm using the app assistant as well. Dec 07 22:45:59 true.. Dec 07 22:46:04 It may be related to something happening when you take over that functionality. Dec 07 22:46:13 it is for sure Dec 07 22:46:13 good point Dec 07 22:46:26 using = rolling my own Dec 07 22:46:26 what about the news app? Dec 07 22:46:39 because i do the appass (abbr) and just logged and exited and still had 1 handle open Dec 07 22:47:00 no card or dashboard or anything Dec 07 22:47:03 just a log entry Dec 07 22:47:16 sugardave: news app is a multistage app Dec 07 22:47:24 the one in the book Dec 07 22:47:25 So clearly the next enhancement for palm-worm is to tell us exactly what handles and nodes are being hung on to. :) Dec 07 22:47:28 brb Dec 07 22:47:40 Bmyers: right, I meant what does palm-worm show when you open and close that app? Dec 07 22:47:51 FoxFireX: YES, PLEASE Dec 07 22:48:43 my app? starts at 0 goes up to 1 and stays there.. Dec 07 22:50:02 Hmm... Doing some more testing and I seem to be bottoming back out now. Dec 07 22:50:38 does anyone know if contenteditable is supported within applications? The Mojo richtext widget is very basic. I'd like to roll my own, but I think it would depend on contenteditable being available. Dec 07 22:52:25 FoxFire: so u r ok now with your appassistant? 0 handles? Dec 07 22:52:26 To any or all devs: what is the point of developer.palm forums when you don't reply? What is the right way to log bugs, if any, then? Dec 07 22:52:59 Yeah. I started the worm halfway through with some debugging stuff, so that may have affected it. Dec 07 22:53:03 Now drops to 0/0. Dec 07 22:53:17 lingfish: asking here will generally get you a pretty fast response Dec 07 22:53:26 well, try it from scratch and see what happens Dec 07 22:53:26 lingfish: good question. It would be nice if there were a ticket system so at least there would be a structure for replying. Dec 07 22:54:10 jfelectron: there IS one... its just closed to "developers"... I don't develop anything heavy, but I have a good 15 years in coding, debugging and reporting... Dec 07 22:54:27 natenrb9: yeah ok, but kinda hard when I'm in an Australian timezone and they're not ;) Dec 07 22:54:42 Store and forward of forums or mail or a bugzilla would work, you'd think... Dec 07 22:54:56 eg I've spotted a strange bug with IMAP and namespaces... Dec 07 22:55:15 May want to look at Chuq's post about that: http://developer.palm.com/distribution/viewtopic.php?p=13729#p13729 Dec 07 22:55:26 lingfish: as far as bugs go anyway…it will probably be quite a while before they are fixed... Dec 07 22:55:42 if you have a question on how to do something, this is a good place Dec 07 22:56:20 natenrb9: yeah ok.. still would be nice to be able to log bugs.. how could they refuse an open source community doing a lot of the testing and debugging work, tis strange. Dec 07 22:56:26 Does anyone know of a resource that lists which of the new HTML5 tags and attributes the WebOS WebKit engine (the app one, not the web browser) supports? Dec 07 22:56:46 you can log bugs in the forums Dec 07 22:57:01 just don't expect much of a response... Dec 07 22:57:08 natenrb9: as I said above... done... no reply. No ack. Dec 07 22:57:25 Perhaps I need to become a dev, somehow Dec 07 22:57:47 natenbr9: yes, but its a 'zoo'. There is a lot of noise there. A real bug tracking system would be better. Dec 07 22:57:47 there isn't much they can do besides telling you "noted", lol Dec 07 22:57:59 natenrb9: and tht's hard how? Dec 07 22:58:00 with most bugs at least... Dec 07 22:58:36 good question…I am sure they are way swamped... Dec 07 22:58:42 Chuq talks about wanting to get a bug tracking system in the post I linked to. There are apparently some organizational issues they have to work out before it happens. I think everybody agrees the current approach isn't working. Dec 07 22:59:16 FoxFireX: just reading that, ta Dec 07 23:01:05 Hell I don't even necessarily think a public tracker is a good thing (ie. noobs reporting the stupidest of things, replying with "me too!" etc, trust me, we get it a lot in the ASF)... Dec 07 23:04:41 Man I hope Palm get some things right and make 2010 their year... Dec 07 23:05:07 lignfish: not entirely public....just public visible. Dec 07 23:05:51 jfelectron: exactly. Dec 07 23:05:56 public visibility is an extra level of transparency. Dec 07 23:06:19 I cannot think of some simple way to weed out stupid reporters, but that would be even better. Dec 07 23:09:29 Anyhow, thanks for your thoughts guys... it was starting to really irk me Dec 07 23:45:11 i'd love to have an LG device running WebOS Dec 07 23:47:00 eekfuh: why? Dec 07 23:47:36 i like their hardware Dec 07 23:47:38 good battery life Dec 07 23:47:46 higher res cameras Dec 07 23:47:59 good form factor Dec 07 23:48:08 maybe an HTC Dec 07 23:48:14 ew Dec 07 23:48:15 cause my HTC's never broke Dec 07 23:48:22 maybe an HTC with WebOS on it! ^_^ Dec 07 23:48:43 ... Dec 07 23:48:50 * Mousey stfu's Dec 07 23:48:58 Maybe it has twice the battery life because it have half the amount of features? Dec 07 23:49:11 Seriously. You just made a blanket statement about LG's hardware being better because of battery life Dec 07 23:49:13 no it has the same features Dec 07 23:49:15 * zsoc crawls back to -internals Dec 07 23:49:22 did really? Dec 07 23:49:27 did i not mention anything else? Dec 07 23:49:27 wIRC is awesome! Dec 07 23:49:42 yup your right… i only mentioned battery life… my bad Dec 07 23:51:05 I don't care that much about battery life on a phone as long as their removable Dec 07 23:52:52 eekfuh: megapixels is marketing hype my friend. I havent seen a phone that takes higher quality shots than the Pre…its all about the image processing Dec 07 23:53:04 have you not used an iPhone? Dec 07 23:53:10 yep Dec 07 23:53:14 pre is better Dec 07 23:53:16 let me take 2 photos Dec 07 23:53:19 one with my iphone Dec 07 23:53:21 one with my pre Dec 07 23:53:24 (without the video of course) Dec 07 23:53:28 which iphone? Dec 07 23:53:29 iphone has always been better hands down Dec 07 23:53:34 3Gs Dec 07 23:53:37 i also have a 3g Dec 07 23:53:40 if you want me to try that one too Dec 07 23:53:47 let me do it Dec 07 23:53:54 and i'll post ot photobucket Dec 07 23:53:57 gimme a sec Dec 07 23:53:57 you have too much money Dec 07 23:54:01 3G and the original iphone are definitely not as good as the pre Dec 07 23:54:07 nah they pay for themselves Dec 07 23:54:20 I have compared plenty with those Dec 07 23:54:25 3gs - not sure Dec 07 23:54:59 * zsoc compares the palm pre video to that of the 1st gen iphone Dec 07 23:55:11 right off the bat…. Palm pre colors are way off Dec 07 23:55:14 let me turn off the flash Dec 07 23:55:22 what are you taking a pic of? Dec 07 23:55:30 my pre colors are always awesome... Dec 07 23:55:52 i'll upload it and show but its my mouse, mousepad and phone Dec 07 23:56:07 turning off the flash made the colors about hte same Dec 07 23:56:20 but i wasn't even shaking one bit and the pre is a bit blurry Dec 07 23:56:55 k Dec 07 23:56:55 gonna post my results … gets cable... Dec 07 23:57:18 I will admit, indoor shots aren't as great on a pre, but outdoor are awesome Dec 08 00:00:22 with flash : http://img37.imageshack.us/img37/1049/cimg0009n.jpg Dec 08 00:00:58 pre without flash : http://img37.imageshack.us/img37/3243/cimg0010d.jpg Dec 08 00:01:39 iphone : http://img37.imageshack.us/img37/4270/photohj.jpg Dec 08 00:01:44 oh, you get it too - where it looks almost like a gaussian blur on the pixels ? Dec 08 00:01:44 stupid iphone down-scales when emailing Dec 08 00:02:10 yup Dec 08 00:02:18 (gonna extra iphone image) Dec 08 00:02:47 yeah you need a better iphone image for a real comparison :( Dec 08 00:03:03 need to do an outside shot for a full comparison Dec 08 00:03:07 its dark outside Dec 08 00:03:12 super dark Dec 08 00:03:22 right Dec 08 00:03:27 another time :) Dec 08 00:04:12 anything else you think would do better? Dec 08 00:05:00 why are we debating the quality of the camera ? Dec 08 00:06:28 i said i'd like an LG because they have better battery, high mega pixels, and usually better design Dec 08 00:06:46 and someone said high mp is crap… just for marketing (its true)... Dec 08 00:06:52 and said pre has the best camera Dec 08 00:06:56 i said iphone is better Dec 08 00:07:00 end of story. Dec 08 00:07:10 so really we need a comparison with an LG :) Dec 08 00:07:11 eekfuh: how can you compare the battery life of a random 'LG' phone to a webos device? I assure you the webOS device has a battery with a higher mAH, doesn't that make it better? :p Dec 08 00:07:21 i wonder if i should sue palm for giving me double contacts Dec 08 00:07:29 PreGame: yes Dec 08 00:07:29 mAH doesn't matter Dec 08 00:07:37 rgr Dec 08 00:07:42 Clearly the battery is better, it holds more capacity. Dec 08 00:07:46 lol Dec 08 00:07:49 the device drains it Dec 08 00:07:52 right. Dec 08 00:08:04 i didn't notice the ;p Dec 08 00:08:06 lol Dec 08 00:08:08 now i feel stupid Dec 08 00:08:20 my pre wont connecto data Dec 08 00:08:44 eekfuh: sue palm then Dec 08 00:08:48 good idea Dec 08 00:08:53 nah its Sprint Dec 08 00:08:57 but they dont have any money Dec 08 00:08:59 Yeah! it's Sprint's fault Dec 08 00:09:00 .. wha? Dec 08 00:09:00 so i'll sue Palm Dec 08 00:09:02 what the hell sue em both Dec 08 00:09:05 Ok, I'm really leaving now Dec 08 00:09:08 lol Dec 08 00:09:17 if you leave, i will sue you Dec 08 00:09:26 too bad Dec 08 00:09:35 my litigation against is already pending Dec 08 00:09:41 him* Dec 08 00:09:58 i'll take his money then you'll have to sue me Dec 08 00:10:37 yeah you should sue him Dec 08 00:10:43 no dont sue me Dec 08 00:11:50 hey Dec 08 00:12:50 i have a lawsuit being filed against palm for making me fix fileCoaster for 1.3.1 Dec 08 00:21:26 * rwhitby offers Palm a safe haven in Australia from these class action lawsuits ... Dec 08 00:23:39 huh? Dec 08 00:23:57 hey does this look right? Mojo.Controller.getAppController().playsSoundNotification("vibrate", ""); Dec 08 00:26:38 Bmyers: I have I think the exact same thing and it works great for me: ojo.Controller.getAppController().playSoundNotification("vibrate", ""); Dec 08 00:26:56 Bmyers: if you copied directly, you have a typo Dec 08 00:26:58 Mojo.Controller.getAppController().playSoundNotification("vibrate", ""); Dec 08 00:27:12 c/p from forum Dec 08 00:27:25 thanks! Dec 08 00:27:27 playsSound should be playSound, I think Dec 08 00:27:54 good spot sugardave Dec 08 00:28:06 he is good.. Dec 08 00:28:25 danke Dec 08 00:32:58 Did somebody ping me forever ago? Dec 08 00:33:21 sugardave: GERMAN! Dec 08 01:24:47 hi all! Dec 08 01:27:26 hey JenP Dec 08 01:27:36 hey Bmyers Dec 08 01:28:01 did u go back and ge the shoe you longingly left behind this weekend? Dec 08 01:28:12 nope..but i did dream about them Dec 08 01:28:27 funny.. Dec 08 01:28:38 smiles...yeah Dec 08 01:28:42 what r u working on these days? Dec 08 01:28:47 top secret stuff? Dec 08 01:28:58 me? nah... Dec 08 01:29:24 i'm working on putting a tip of the day section in the app and making it a drawer Dec 08 01:29:43 i've got everything working except the little arrow doesn't change when it's tapped on Dec 08 01:30:04 u have to do that yourself dont u? Dec 08 01:30:23 idk Dec 08 01:30:26 do i? Dec 08 01:30:40 it would make sense... Dec 08 01:30:52 u have the 4 arrows? Dec 08 01:30:56 icon Dec 08 01:31:03 yes Dec 08 01:31:09 the palm default ones Dec 08 01:31:10 do u know how that works? Dec 08 01:31:15 nope Dec 08 01:31:38 u have a div centered in different places to hack out the arrow u want Dec 08 01:31:49 2 > and 2 down Dec 08 01:31:51 really? that's interesting Dec 08 01:32:01 1 highlighted 1 not Dec 08 01:32:23 so you tell it which portion of the graphic to show? Dec 08 01:32:31 yes Dec 08 01:32:38 by way of a defined div Dec 08 01:32:48 huh...cool Dec 08 01:33:13 i actually MADE one.. Dec 08 01:33:23 really?! too cool Dec 08 01:33:36 i'll let u touch it Dec 08 01:33:38 what are you working on these days? Dec 08 01:33:39 lol Dec 08 01:33:40 when i release the app Dec 08 01:33:56 you almost made me spit out my coffee.... Dec 08 01:34:11 ew, moo moo Dec 08 01:34:29 how long till your apps out? Dec 08 01:34:48 when its done.. Dec 08 01:34:55 i am working of the little stuff now.. Dec 08 01:34:57 polish.. Dec 08 01:35:06 should be soon.. Dec 08 01:35:10 cool. Dec 08 01:35:26 i'll prolly go homebrew first Dec 08 01:35:45 to polish it up and any last bugs Dec 08 01:35:50 homebrew is great Dec 08 01:36:04 yeah, bugs releases in the appcat is a little slow Dec 08 01:37:41 seriously though Dec 08 01:37:47 with the icons arrows Dec 08 01:37:53 yexs Dec 08 01:37:55 yes Dec 08 01:38:06 you do addclassname and removeclassname Dec 08 01:38:18 to the divs? Dec 08 01:38:19 * zsoc notes the anagrams of yexs Dec 08 01:38:21 that reassigns the divs to the arrow.png slice u want Dec 08 01:39:13 so not this? class="palm-arrow-closed arrow_button" Dec 08 01:39:54 yes, like that.. Dec 08 01:39:57 zsocs....cute Dec 08 01:39:59 thats from the div right? Dec 08 01:40:02 yes Dec 08 01:40:05 hello world Dec 08 01:40:14 lol hello haeffb Dec 08 01:40:25 JenP: thanks, I've been told Dec 08 01:40:30 u check too see if your div has arrow_button Dec 08 01:40:41 if it does and you want to change it Dec 08 01:40:55 then you do the addclassname to that div Dec 08 01:40:59 and remove the other Dec 08 01:41:10
Dec 08 01:41:17 thats the one i made Dec 08 01:41:25 see the recButton? Dec 08 01:41:39 that tells me i am on the right div when I am sluething Dec 08 01:41:48 ok Dec 08 01:41:52 then when I want to change it Dec 08 01:42:14 i do: Dec 08 01:42:16 buttonToggleElement.addClassName('hours-recbuttonOn-out'); buttonToggleElement.removeClassName('hours-recbuttonOff-out'); Dec 08 01:42:31 where 'hours-recbuttonOff-out' Dec 08 01:42:49 is another slice of that png in a div in a css i defined Dec 08 01:43:18 .hours-recbuttonOff-out { Dec 08 01:43:18 width: 40px; Dec 08 01:43:18 height: 40px; Dec 08 01:43:18 float: right; Dec 08 01:43:18 background: url(../images/record_button_anim.png) center -83px repeat-x; Dec 08 01:43:18 } Dec 08 01:43:21 shit, that all sounds complicated Dec 08 01:43:40 this does seem really complicated.... Dec 08 01:43:50 thats the way they work Dec 08 01:43:58 i didnt invent it, i just try to use it. Dec 08 01:44:06 kk Dec 08 01:44:12 that kind of stuff should be handled by the framework. drawer.open(). drawer.close(). Dec 08 01:45:01 that's kinda what i thought too Dec 08 01:45:01 i learned it from stylematters. Dec 08 01:45:36 shes talking about the arrow Dec 08 01:45:54 the drawer opens and closes without it Dec 08 01:46:27 is your button in a list? Dec 08 01:46:53 not button but, arrow Dec 08 01:47:03 no Dec 08 01:47:11 in a div with a table Dec 08 01:47:27 should be easy then cause u know what the name is Dec 08 01:47:42 i have them in a list so it makes things complicated Dec 08 01:48:07 u can just $(arrow_div) the thing to muck with the classes Dec 08 01:48:51 look in global.css to see the palm arrow classes Dec 08 01:49:06 i thought i could trigger it off the drawers open and closed. you know if open down arrow if closed side arrow Dec 08 01:49:16 yes Dec 08 01:49:16 kk i'll look Dec 08 01:50:10 in the global.css has the class names you need to change to in order to rotate the appearance of the arrow Dec 08 01:50:54 toggleButton.addClassName('palm-arrow-expanded'); toggleButton.removeClassName('palm-arrow-closed'); Dec 08 01:51:02 drawer.openandchangearrow() drawer.closeandchangearrow() Dec 08 01:51:32 whats that from haeffb Dec 08 01:58:09 thats what it should be... Dec 08 01:59:15 haeffb_ did you get that out of style matters? Dec 08 01:59:49 i'm trying to find reference to look up Dec 08 02:03:10 no, there are no such functions. but there should be. Dec 08 02:18:06 haeffb_: Can you put that up on webos101.com? Dec 08 02:25:46 anyone thought about making a addon framework that creates normal name functions for some of the most retarded named mojo ones? Dec 08 02:25:54 has anyone started a Mojo extensions project? Dec 08 02:26:05 lol Dec 08 02:26:09 dawm|mini: heh, i haven't but we are of the same mind Dec 08 02:26:14 i think we need to Dec 08 02:26:38 i have a very small start to some extensions on github: http://github.com/samsonjs/Mojo.Ext but there is no documentation ... it's basically just a base for scene assistants. Dec 08 02:26:50 ... for now, i want to flesh it out more when I have time. Dec 08 02:27:08 we're lucky to be using such an extensible language, we should take advantage Dec 08 02:27:12 maybe we can start one up on webos101 since everyone can edit/add Dec 08 02:27:40 i'll check it out and get my code up there when i get a chance. Dec 08 02:27:40 that way we can just add mojoPlus.js to our apps and have some reusable code Dec 08 02:28:08 i've written a script that injects Mojo.Ext by adding it to sources.js and coping it to mojo-ext in the project root. Dec 08 02:28:14 *copying Dec 08 02:29:11 i guess for deployment we could package everything up into a single JS file anyway. Dec 08 02:29:24 its not like its gonna hurt to try ;p Dec 08 02:30:00 i mean palm has done a pretty good job, but theres still alot of cryptic stuff Dec 08 02:30:42 I agree, webOS and Mojo have great potential Dec 08 02:31:00 widget setup is the only thing i've really abstracted so far. Dec 08 02:31:27 from some code i'm working on now: this.initList('poiList', this.poiListModel, this.handleTap, 'Main/listitem'); Dec 08 02:31:29 can recommend a package for apache/php/mysql for osx, id rather not install individually if i dont have to Dec 08 02:32:02 are id's unique across scenes? Dec 08 02:32:23 dawm|mini: i use macports but packages are still compiled locally then Dec 08 02:32:46 i just want something simple that works for local dev Dec 08 02:33:30 my desktop has everything already setup, but when im on my mini9 and off my network id like to play around as well Dec 08 02:33:57 btw just watched 9.. pretty good movie Dec 08 02:34:07 dawm|mini: there is also MAMP: http://www.mamp.info/en/index.html Dec 08 02:34:19 yeah i just saw that in a search Dec 08 02:36:28 i like how you do the listeners Dec 08 02:36:39 i did it the same way when i was making them dynamically Dec 08 02:37:56 thanks. it's about the simplest thing that works. if we clean up several areas like that I think Mojo will have a bit nicer feel to it. it's a bit clunky right now. Dec 08 02:39:01 plus cleanup is easier since it knows everything that was set Dec 08 02:41:49 yeah, honestly the listener stuff is a bit of a no-brainer. i'm wondering who at Palm is pushing out functions like pushAppSupportInfoScene that don't even meet their own guidelines while the rest of the API clearly needs work... and the docs. i'd rather have things like i've started in Mojo.Ext ... Dec 08 02:43:49 time to punch out for the night ... see you all later Dec 08 02:44:29 night Dec 08 02:47:58 hrm Dec 08 02:48:08 my backup still isnt working automatically Dec 08 02:48:19 could it be due the device being in dev mode? Dec 08 02:51:06 Mojo.Ext !! **** ENDING LOGGING AT Tue Dec 08 02:59:56 2009