**** BEGIN LOGGING AT Fri Apr 09 02:59:56 2010 Apr 09 04:46:08 hi all Apr 09 04:55:24 hoal Apr 09 04:55:25 hola Apr 09 04:56:34 hi ron_frown Apr 09 04:57:05 JenP: http://www.youtube.com/webosinternals Apr 09 04:57:51 nice Apr 09 04:57:54 it fires up x? Apr 09 04:58:26 yeah, X is in our testing feed, and this is a debian chroot using it. I'll be tweeting a PreCentral thread soon from @webosinternals Apr 09 04:58:46 rwhitby: omg totally awesome Apr 09 05:00:28 well guys gotta go. ttyl Apr 09 05:01:09 so hi, bye Apr 09 05:29:07 Hey all! Apr 09 05:29:10 Anyone here? Apr 09 05:34:33 hey kesne Apr 09 05:34:45 what's new? how's that PreCentral app going ;) Apr 09 05:34:53 Shhhh Apr 09 05:34:56 ;) Apr 09 05:35:05 I have a quick question Apr 09 05:35:14 [{ label: "Original", value: 'original' }, { label: "Classic", value: 'classic' }, { label: "Faces", value: 'faces' }] Apr 09 05:35:24 How would I go about adding another record to that? Apr 09 05:37:31 foo.push(object) ? dunno, I'm not a JS dev Apr 09 05:37:39 :P Apr 09 05:41:05 I get an error Apr 09 05:41:07 bahh Apr 09 05:42:13 kesne: isnt that just a list? Apr 09 05:42:24 cant you just use append or w/e? Apr 09 05:42:28 It's a JSON object Apr 09 05:42:30 Append? Apr 09 05:42:33 Enlighten me Apr 09 05:42:46 why the square brackets? Apr 09 05:42:55 it's for a widget Apr 09 05:43:20 ah, so, for each record containg a label/value, you want to add another item? Apr 09 05:43:26 something like that? Apr 09 05:43:31 Uhm Apr 09 05:43:48 More like this, someone downloads something, and I need the widget to show that, so I use a cookie. Apr 09 05:44:16 But everything works, except for the adding the json Apr 09 05:44:32 are you using JSON.stringify or something like that/ Apr 09 05:44:33 ? Apr 09 05:44:35 so I just need to figure out how to add another { label: "Original", value: 'original' }, Apr 09 05:44:38 No Apr 09 05:44:43 since js objects are not true json. Apr 09 05:45:08 Okay, so I should stringify it? Apr 09 05:45:08 the true json for that would be: {"label":"original", "value":"original"} Apr 09 05:45:13 yes Apr 09 05:45:18 if it expects JSON Apr 09 05:45:29 okay Apr 09 05:45:33 now how do I add to it? Apr 09 05:45:38 That's the issue I'm having Apr 09 05:45:48 JSON.stringify(jso) Apr 09 05:46:32 that won't add my record though Apr 09 05:47:27 well, a js object isnt json, so, to get json you need to stringify it. Apr 09 05:48:02 do you want to turn a {label:"orig", value:"orig"} into {label:"orig", value:"orig", body:"orig"} ? Apr 09 05:48:29 no Apr 09 05:48:32 I want to turn Apr 09 05:48:42 [{ label: "Original", value: 'original' }] Apr 09 05:48:44 into Apr 09 05:48:44 [{ label: "Original", value: 'original' }, { label: "Classic", value: 'classic' }, { label: "Faces", value: 'faces' }] Apr 09 05:49:16 well, [] just signify a list. Apr 09 05:49:18 http://twitter.com/webosinternals/status/11866158895 Apr 09 05:49:31 OpenOffice on the Pre Apr 09 05:49:54 cool Apr 09 05:50:39 s/list/array/ Apr 09 05:51:07 okay Apr 09 05:51:13 So, how the hell do I add to it? Apr 09 05:51:14 heh Apr 09 05:53:15 array.push(jso); or array[array.length] = jso; Apr 09 05:56:55 http://gkatsev.pastebin.com/pFf2kPsp Apr 09 05:57:01 kesne: ^ Apr 09 06:03:24 danke! Apr 09 06:05:05 np Apr 09 07:38:44 morning Apr 09 08:32:29 one question: where can i fill feature request for the official phone app? Apr 09 08:32:39 i really want to see the company of a caller Apr 09 08:32:47 is there an option for this? Apr 09 08:32:53 or must this be patched? Apr 09 10:18:05 did you have a look in the forums ? Apr 09 11:16:49 feature request sent to palm Apr 09 11:16:57 hope to see this very very soon Apr 09 11:26:35 hey ppl. quick question: is the mojo framework open sourced? Can I use it for normal web applications on the desktop? Apr 09 11:33:25 ok, quick scan of the irc logs indicates it probably is, I suppose I'll find it in the sdk package then if that's true. I figured there would be an online repo for the source though. Apr 09 11:36:57 and as for using it in a standard desktop web application? I dunno. Apr 09 11:41:34 "Most web applications can simply be loaded into a browser to run and debug them, Apr 09 11:41:55 and webOS apps can also be tested and debugged that way." webOS book Apr 09 11:42:24 "However, you’ll run into difficulty if your application is using Mojo widgets or webOS services." webOS book Apr 09 12:28:20 callmetim: i've read that you can't use it outside of webos Apr 09 12:28:55 callmetim: webOS is not open source Apr 09 12:29:11 swisstomcat: do you know where you read that? Does that include the widgets? Apr 09 12:29:21 let me see if i can find it again Apr 09 12:29:21 the source code for parts of it are accessible and readable, but it is not open source. Apr 09 12:29:32 hey rwhitby Apr 09 12:29:42 I'm just interested in the Mojo framework. Apr 09 12:29:43 hey swisstomcat Apr 09 12:30:01 callmetim: that's definitely not open source, but most of it is readable Apr 09 12:30:23 i seem to remember that someone asked if he could use mojo outside of webos Apr 09 12:31:25 no, because that would be a copyright violation. Apr 09 12:32:03 yeah, that's what i remember as the answer Apr 09 12:37:14 here it is Apr 09 12:37:16 "The SDK license agreement allows for extensive use of sample code, Mojo Framework code, and Palm app code, but only on the webOS platform -- so the answer to your question is currently no." Apr 09 12:37:22 http://developer.palm.com/distribution/viewtopic.php?f=11&t=5984 Apr 09 12:42:21 yep, not open source, proprietary and copyrighted, and with a license for developers only to use on webOS devices Apr 09 12:53:03 did everyone catch the interview with Rubenstein @ cnn money Apr 09 12:57:20 when was that? Apr 09 13:06:44 ok. the complete source code to the Mojo framework is open source, you can view it in the palm SDK, but copyrights are reserved, therefore no usage on the web, until they decide to license it for that. Apr 09 13:07:04 you can ask them about licensing Apr 09 13:07:19 callmetim: "open source" has a very specific meaning. Apr 09 13:07:30 on that note, it looks like the complete source for the built in palm Contacts, Calendar, Mail, Messages, Tasks etc is also open source and available in the SDK. Apr 09 13:07:38 callmetim: http://www.opensource.org/docs/osd Apr 09 13:07:55 palm proprietary code fails item #1 Apr 09 13:08:07 you may be able to see and read the source code, but it is not open source Apr 09 13:08:57 it seems that you can use the core apps and use the code to improve it Apr 09 13:09:28 yes, as long as you comply with the license you are granted to do so Apr 09 13:09:53 the source is open but not open source Apr 09 13:11:51 yeah, i wouldn't call it open source Apr 09 13:12:08 swisstomcat: what do you mean by improving the code? Apr 09 13:12:52 Woody4u_: correct. callmetim has been consistently using the two words "open source" with regard to webOS. those two words used in that manner generally have a specific meaning which does not apply to webOS. Apr 09 13:12:56 "open source" is what people have termed for allowing copying of source, but sometimes just seeing source code is hugely beneficial, so I consider visible source code to be open source as well, as in "the source is out there in the open", whether it is free to copy or not is another matter. Apr 09 13:13:39 callmetim: they say that you can use .. say the calendar app .. and build an improved calendar app based on their source code Apr 09 13:13:43 callmetim: you will find that you will have a lot of confusing conversations with people on the internet if you use the two words "open source" in that way Apr 09 13:14:15 callmetim: I would suggest you say "readable source" or "viewable source" to convey your meaning Apr 09 13:14:29 most people i talk to mean open source=free .. which is correct only if you say "free as in freedom, not as in price" Apr 09 13:15:16 yip ... or I could just wait for everyone to start moving away from one man's idea of source code and what is important about it. ; - ) Apr 09 13:15:20 while there are many parts of webos that are "open source" per se, others are not Apr 09 13:15:22 swisstomcat: the term "open source" was invented at a strategy session held on February 3rd, 1998 in Palo Alto, California. Apr 09 13:15:54 didn't know that Apr 09 13:16:20 callmetim: actually, open source is very different from GNU (which I assume you're referring to by "one man's idea") Apr 09 13:16:45 bbiab Apr 09 13:17:10 The FSF (lead by Richard Stallman) specifically refers to their software a "free source", not "open source" (which has a much less restrictive definition compared to the definition of free source) Apr 09 13:18:11 swisstomcat: there are no parts of webOS that are open source. webOS sits on top of the Linux kernel, and a number of open source linux userspace applications, but those things are not webOS. Apr 09 13:18:20 to say that those core apps are not open source, using your understanding, would carry much worse ambiguity, because it would make me think that their source is not available, and that I cannot use their source in the creation of further derivatives, however, as swisstomcat points out, you can see the source, and you can use the source of those applications, but only for distribution to the... Apr 09 13:18:22 ...webOS platform. Apr 09 13:18:53 callmetim: exactly, which violated the commonly accepted definition of the specifically invented term "open source" Apr 09 13:19:33 in short you are only allowed to use the source on the webos platform. done. Apr 09 13:20:04 hello,, I want to pass data between two card stages.. As in, a particular string from one card to other,, can anyone tell me how can this be done? Apr 09 13:20:05 it is unencrypted readable source code with a license to make derivative works on the webOS platform only. Apr 09 13:21:05 if you start using the term "open source" for webOS, then you will encourage people to break the law. Apr 09 13:21:40 but some parts are opensource -> the linux system on wich webOS is build on Apr 09 13:21:41 (at least it's the law in all the countries that are signatories to the Berne convention on copyright) Apr 09 13:22:15 Woody4u_: agreed. quite a bit of the things upon which the proprietary webOS operating system sits are open source items Apr 09 13:22:46 (those are the places where WebOS Internals does most of it's work) Apr 09 13:22:55 or, I will encourage people to understand that in the real world, there are more fine grained variations to licensing source code, and "open source" must not be understood simply as one little (or slightly wide) man has tried to make every one believe. Apr 09 13:23:18 callmetim: you're still confusing open source and free source. Apr 09 13:23:36 Richard Stallman coined the term free source, and still uses it today. Apr 09 13:24:31 In short: "open source" != "GPL" or something the FSF defines as such. The ONLY way to actually know the permissions granted is to know which exact license is used. I'm sure you will agree with me there. Apr 09 13:24:46 palm needs to make a tablet device that uses webos Apr 09 13:25:05 So to everyone listening: "open source" != GPL, find out the exact permissions granted by the license. Apr 09 13:25:43 callmetim: fully agree. however there are a number of licenses (http://www.opensource.org/licenses/alphabetical) which comply with the "Open Source Definition". The GPL just happens to be one of them. Apr 09 13:26:00 the webOS license is not one of them Apr 09 13:28:19 and further: "open source" is not defined by one entity, maybe if they used a more distinguishable term I would stay away from it, but they choose the most general term and tried to place their specific meanings to it. If the source is readable, in natural language, that means it's open, so I think it's good to get used to appreciating visibility in the "open source" world. Apr 09 13:28:46 actually, they coined the term. it was not in common use before that date. Apr 09 13:30:34 dogwater: i agree .. that'd be cool Apr 09 13:31:04 rohit1: you can pass parameters when calling pushScene Apr 09 13:32:20 swisstomcat: i'll search in that context and get back, thank you sir Apr 09 13:35:05 rohit1: Mojo.Controller.stageController.pushScene( "second" , a, b, c); Apr 09 13:35:23 a,b and c are parameters ... Apr 09 13:35:30 I have a card,, and i push a new card, passing some information along,, now i create a button in the new card,, i want that on clicking on that button new card closes and user should return to the old card,, Apr 09 13:35:55 how will i go about it? Apr 09 13:36:34 you can use Mojo.Controller.stageController.popScene in that case, rohit1 Apr 09 13:36:46 same as when the user makes the back-gesture Apr 09 13:37:13 and can parameters be passed along with popscene as well? Apr 09 13:37:22 scenes are stacked on top of each other .. pushScene pushes and new one on top, popScene pops it Apr 09 13:37:38 yes, parameters can be passed .. apparently only one tho Apr 09 13:37:50 but you can use an object as a parameter Apr 09 13:39:10 ok Apr 09 13:39:27 i want to basically pass a string back Apr 09 13:39:40 so that can be done directly Apr 09 13:39:41 > Apr 09 13:39:43 ? Apr 09 13:41:19 hey ii just saw mojo.controller.stagecontroller.popsceneto Apr 09 13:41:37 i guess that is a better option and it supports multiple parameters Apr 09 13:51:27 does someone knows how change default style of date picker ? http://www.weboshelp.net/getting-started-with-webos/383-date-time-integer-and-file-pickers Apr 09 14:15:30 morning Apr 09 14:17:22 Morning Apr 09 14:17:47 phil_bw has abiword running on webos.... Apr 09 14:17:51 Rick_work: Where do you add your own CSS for ares? Apr 09 14:18:04 nice. I figured someone would port that (or something similar) soon. Apr 09 14:18:29 exciting. Beat data-vis to the punch. Apr 09 14:22:09 morn'n haeffb_pre Apr 09 14:22:32 Roy, make a stylesheets folder and put an appname.css in it. just like regular mojo Apr 09 14:24:05 hello. Apr 09 14:25:38 why is webos choking on sources.json for one user? Apr 09 14:26:20 do u escape slash source.json? Apr 09 14:26:42 no Apr 09 14:27:20 no Apr 09 14:31:30 Rick_work: Thanks, I wonder why it doesn't make a blank one for you. Apr 09 14:34:09 Best way to load data into a webView is via a data URI? or something else? Apr 09 14:40:38 Hmm, doesn't look like there's a very good way other than data url Apr 09 14:44:27 Roy-Pre101 I have no idea why it doesn't make a blank one. Apr 09 14:47:08 Not happy this morning. Bad breakfast. Upset tummy. Apr 09 14:48:49 sympathies. Apr 09 15:17:47 haeffb_pre: still no joy? Apr 09 15:18:07 have him ship you his phone :D Apr 09 15:18:21 JenP: morning Apr 09 15:18:26 good morning all Apr 09 15:18:31 hi sugardave Apr 09 15:20:13 hi JenP Apr 09 15:20:43 hi bill Apr 09 15:21:00 Hi JenP. Apr 09 15:21:06 how ya doing today Apr 09 15:21:08 hi rod Apr 09 15:21:27 bleh...wake tonight Apr 09 15:21:36 I had to laugh about the OpenOffice thing being portrayed as an alternative to DataViz Apr 09 15:21:57 when did that happen? Apr 09 15:22:06 JenP: PreCentral front page Apr 09 15:22:18 kk Apr 09 15:22:42 http://www.precentral.net/x-server-coming-webos-bringing-along-openoffice Apr 09 15:22:46 sugardave: great idea. Apr 09 15:24:03 haeffb_pre! i have question from your cookie tutorial on webos Apr 09 15:24:25 go Apr 09 15:24:52 lol...jeeze catch a girl unprepared... Apr 09 15:25:17 rwhitby: awesome article...i was telling my family last night...you could hear the crickets Apr 09 15:26:18 JenP: dumbfounded by how impractical it is to run openoffice on a Pre ? ;-) Apr 09 15:27:01 yep....3 engineers in a room ....all iphone devotees... Apr 09 15:28:21 and they still couldn't get the lightbulb screwed in? Apr 09 15:28:42 sugardave: that's a hardware problem Apr 09 15:28:53 so is the iPhone :D Apr 09 15:29:00 lol Apr 09 15:29:11 lots of pressure to get an ipad.... Apr 09 15:29:42 some families drink....mine compares technology Apr 09 15:30:29 my family drinks, then asks me tech questions, then want to argue about stuff they have no idea of Apr 09 15:30:38 yes, I did end that sentence with a preposition Apr 09 15:33:14 lol Apr 09 15:40:30 Hello, i pushed a new scene using appcontroller.createstagewithcallback and pushscene. Now I want to come back to my original scene from the new scene. Apr 09 15:40:31 [21:09] ->> Can not send to channel #webos :Reason (Cannot send to channel) Apr 09 15:40:31 [21:09] how should i go about it Apr 09 15:41:46 popScene? Apr 09 15:42:39 Quick CSS question: How can a set a style for all image tags inside a div? Apr 09 15:42:53 is it div#img {} or something else? Apr 09 15:43:12 roy...if you use a class it would make it easier Apr 09 15:43:12 div.img {} ? Apr 09 15:43:19 it's just div img Apr 09 15:43:19 I think it's div.img Apr 09 15:43:24 oh right Apr 09 15:43:25 div img Apr 09 15:43:26 when you separate by a space it follows a chain down. Apr 09 15:43:30 div space. thanks Apr 09 15:43:34 the . is for classes Apr 09 15:43:35 # for id Apr 09 15:43:41 div#blah is the div with the id blah Apr 09 15:43:48 * sugardave still regards css as black magic. Apr 09 15:44:05 hmm... Apr 09 15:44:20 div#blah ul li.open {} means the list items with the class 'open' that belong to a ul that belongs to a div with the id blah. Apr 09 15:44:28 * Kuraiou lurves css..... sometimes. Apr 09 15:44:39 but Jen is right, classes are almost always easier to do. Apr 09 15:44:47 Not working. maybe I should rephrase it slightly. I have a div with a class article-content Apr 09 15:44:51 if I use popscene in the newscene it loads the content of index.html file Apr 09 15:44:59 div.article-content ... Apr 09 15:45:00 In it are img's whose class I cannot set Apr 09 15:45:04 ok Apr 09 15:45:06 Kuraiou: i was waiting for you to say that Apr 09 15:45:10 Hmm... Apr 09 15:45:17 div.article-content img {} Apr 09 15:45:23 OR .article-content img probably works too Apr 09 15:46:11 feh, still not working. I may give up for now. Apr 09 15:46:22 I guess I could use prototype to add a class to all img tags... Apr 09 15:46:28 hey everyone Apr 09 15:46:47 rohit1: that means it's the first scene, yeah? Apr 09 15:46:58 do you want to push or swap to a new scene? Apr 09 15:48:06 It's not the first scene. i pushed these scene by using create stagewithcallback and pushscene from first scene. Apr 09 15:48:45 rohit1: hmmm...why did you need to push from an existing scene with createStageWithCallback....the stage already exists? Apr 09 15:48:53 hi swisstomcat Apr 09 15:49:02 hey jenp Apr 09 15:49:10 can't you just pushScen from the initial scene? Apr 09 15:49:36 good morning chuqui Apr 09 15:49:45 morning! Apr 09 15:49:52 morning chuqui! Apr 09 15:49:56 actually i followed some tutorial.. and it used that way,, the newly pushed scene I am able to close with the closestage function Apr 09 15:50:14 morning chuqui Apr 09 15:50:24 rohit1: is yours a multi-stage app? Apr 09 15:50:41 and/or are you using an app controller? Apr 09 15:50:49 chuqui: Howdy. Apr 09 15:51:38 i think so.. Apr 09 15:51:51 rohit1: paste the link to the tutorial you're following Apr 09 15:52:13 good morning, all! Apr 09 15:52:20 wait, Roy, what are you doing with the css with all these images? Apr 09 15:53:22 jenp: actually i used that tut long back,, i was just trying to push a new scene then,, so don't have the link now,, sugardave: yes appcontroller is being used.. I'd like to show u the code,, Apr 09 15:53:28 u can understand better Apr 09 15:53:37 can u tell me how can i show? Apr 09 15:53:49 rohit1: I will try...I'm still in the land of stage controllers :D Apr 09 15:53:54 you can use webos.pastebin.com Apr 09 15:54:05 and paste your code there, then the link here Apr 09 15:54:19 ok Apr 09 15:57:47 http://webos.pastebin.com/Gv2WUx84 Apr 09 15:58:01 this is the basic code used to push that new scene Apr 09 15:59:53 rohit1: okay, so I think I see how this works...the question is, why do you need to make a new stage to push this scene? does it truly need to be a separate card/stage? Apr 09 16:00:21 I think you will need to pass a reference to the other stage controller, so you can activate it to get back to the original scene Apr 09 16:00:29 it needs to be a seperate card,, not stage necessarily Apr 09 16:01:04 rohit1: ah, then I think you're doing it right....AND you will need to talk to the multistage smart people :D Apr 09 16:01:09 infact i'm not much clear with the concept of stages Apr 09 16:01:29 me, too Apr 09 16:01:48 so is there any way to do this without stages? Apr 09 16:02:00 not in a truly separate card Apr 09 16:02:16 if you can get by with just a new scene, then sure Apr 09 16:02:29 ok Apr 09 16:02:38 i think i can do with just a new scene Apr 09 16:03:15 if that's so, then you can forget the createStageWithCallback and just do a pushScene in the appropriate place Apr 09 16:03:29 that way when you pop it, you'll be back at the original scene Apr 09 16:03:45 please guide,, basically what i want to do is pass a string to the new scene,, and have a close button in the new scene that returns a string to my old scene and highlights it.. Apr 09 16:04:31 rohit1: okay, first part I've done....so it's pushScene(sceneName, argN); Apr 09 16:04:57 then in your new scene's constructor, save off argN...something like this.passedString = argN; Apr 09 16:05:20 as far as getting it back....hmm Apr 09 16:05:33 I wonder if swapScene might be the better choice here Apr 09 16:06:04 scene1 swaps to scene2 and passes the string, scene2 then will swap back to scene1 and pass the string Apr 09 16:07:02 that is quite close to what i want to do,, actually i'm developing a kind of save feature for my app.. all the info is stored in a string.. i Apr 09 16:07:06 the only problem with swapScene is that it will destroy scene1 and relaunch it Apr 09 16:07:33 let me look at popScene for a minute Apr 09 16:07:52 ll pass the string to a new scene and then store that in the database,, when the user wants to open a file,, then pass the string back Apr 09 16:09:08 oh, popScene takes one argument and makes it available to the newly activated scene's (scene1) activate method Apr 09 16:09:14 so, piece of cake Apr 09 16:09:25 ok Apr 09 16:09:44 scene1: pushScene(scene2, myString); Apr 09 16:10:00 scene2: popScene('what I want to send back'); Apr 09 16:10:19 scene1's activate method needs an arg to access what you're passing back Apr 09 16:10:35 let me try.. i'll get back to you.. Apr 09 16:10:38 k Apr 09 16:11:01 blargh. how do you get something to be a footer in Ares? Apr 09 16:11:13 threats of violence? Apr 09 16:11:18 did you try that? Apr 09 16:12:13 yes, but it seems indifferent. Apr 09 16:13:26 I feel like Ares is a great tool but I think on this project I'd have finished in half the time if I didn't use it. Apr 09 16:21:56 Hmm, i'm thinking my css isn't loading Apr 09 16:27:57 hi Apr 09 16:28:19 is there a way to switch the whole app to fullscreen and not only a scene ? Apr 09 16:29:50 saw there was a Mojo.Controller.SceneController.enableFullScreenMode() Apr 09 16:29:54 but it's for a scene only Apr 09 16:37:56 Sugardave: The pushscene is working but the popscene is not working.. Apr 09 16:38:01 Does the working of pushscene anyhow depends on from where i called the pushscene function? Apr 09 16:41:50 I don't think so Apr 09 16:42:03 i guess there's no way to have app-wide fullscreen then ;) Apr 09 16:51:50 rohit1: popScene isn't working at all? do you get an error? Apr 09 16:52:17 index.html content showing Apr 09 16:53:15 lame....not sure why that would be. It should just remove the active scene from the stack and return you to the last scene (as long as it's in the stack) Apr 09 16:53:43 and popscenesto Apr 09 16:53:47 you sure you're not still in a brand new stage? Apr 09 16:53:49 doing the same Apr 09 16:53:54 yep Apr 09 16:54:03 i've simply used the oushscene command now Apr 09 16:54:07 I haven't done popSceneTo Apr 09 16:54:09 push* Apr 09 16:55:14 oh, btw..the index html is always there now, so if there's a problem with scene load, you will see it Apr 09 16:55:48 paste up your popScene and the scene1's constructor function Apr 09 16:56:00 ok Apr 09 16:56:49 rohit1: I have to leave for a bit, maybe someone else can jump in, too...I will be back later Apr 09 16:56:56 ok Apr 09 17:01:19 Sheesh, I can't find the documentation for the automatically created help scene Apr 09 17:03:12 did u look on webos101? Apr 09 17:06:31 sugardave, do you know if there's a way to turn an app fullscreen (and not only a scene) ? Apr 09 17:06:31 yes, wasn't there! Apr 09 17:06:36 so I'm documenting it Apr 09 17:07:52 appinfo.json wasn't documented at all Apr 09 17:08:45 Roy-Pre101: http://developer.palm.com/index.php?option=com_content&view=article&id=1872&Itemid=244#.pushAppSupportInfoScene Apr 09 17:08:57 warpdesign_: I don't know :D Apr 09 17:09:34 ok Apr 09 17:09:35 :) Apr 09 17:10:51 sugardave: Thanks, I found it and documented it, some. Apr 09 17:10:55 http://webos101.com/Appinfo.json Apr 09 17:11:04 Could do more, of course. Apr 09 17:11:06 it's hard for me to find stuff now Apr 09 17:16:28 warpdesign_: what you could do is just make a global object you pass to every scene when you push it (a wrapper for pushScene, perhaps?) that setsn enableFullScreenMode Apr 09 17:16:41 okay, now I'm really afk Apr 09 17:16:58 ok, I'll try that.. but it's weird there's no way to do that Apr 09 17:17:15 and I also read apps were rejected if there weren't showing the app menu... Apr 09 18:55:09 Roy-Pre101 you there? Apr 09 18:55:12 yes Apr 09 18:55:32 you drag over a "panel" and set the "top" to the position you want on the screen. Apr 09 18:56:21 you need a bit of code to reset the top for pre or pixi.... Apr 09 19:02:27 Hmm... Apr 09 19:02:32 That's not terribly elegant. Apr 09 19:26:24 so....what's everybody working on? Apr 09 19:28:16 finishing up my 3rd beta of animalmemory Apr 09 19:29:07 cool Apr 09 19:36:25 doing some tweaks before i submit my first beta app Apr 09 19:36:32 cool Apr 09 19:36:34 what is it? Apr 09 19:36:50 the gps based ringtones app Apr 09 19:37:04 it changes the ringtone depending where you are? Apr 09 19:37:09 yeah Apr 09 19:37:16 that's interesting Apr 09 19:37:28 say your at work or at church and dont want some crazy ringtone Apr 09 19:37:30 how would it be used? Apr 09 19:37:35 ah Apr 09 19:37:40 that's cool Apr 09 19:38:09 yeah, eventually i want to add a google maps tie in where it shows the radius of your locations Apr 09 19:38:16 but for now it works as intended :P Apr 09 19:38:21 heh Apr 09 19:38:38 just toying with radius size options Apr 09 19:39:05 what's the current state of using the BT hardware in Mojo? Still nothing? Apr 09 19:39:19 right now its 1,2,5,10,20,30 miles/kilometers but im wondering if i should take it down to .1, .2 ..etc Apr 09 19:41:29 heloo,, how to use mojo.log? Apr 09 19:42:06 what do you want to do? Apr 09 19:42:16 debugging Apr 09 19:42:27 i want to see if my tab;es are created or not Apr 09 19:42:31 know the code Apr 09 19:42:36 but how to check the log Apr 09 19:42:38 rohit1: very carefully....not sure about the magic to get it working on the device. On the emu, you can just do Mojo.Log.error('my message'); Apr 09 19:42:39 ? Apr 09 19:42:42 use Mojo.Log.info("text") in your code Apr 09 19:42:50 it goes to /var/log/messages Apr 09 19:42:54 i have done that Apr 09 19:42:58 ok Apr 09 19:42:59 and somehow you can also do palm-log Apr 09 19:43:02 use palm-log your.app.id Apr 09 19:43:19 but I'm usually ssh'd into the emulator Apr 09 19:43:22 or use tail /var/log/messages on the emulator shell (through ssh) Apr 09 19:43:39 tail -f is good Apr 09 19:44:09 tail -f /var/log/messages | grep -i [appid] Apr 09 19:44:11 even better Apr 09 19:44:17 i cannot find any var folder in my directory structure Apr 09 19:44:31 you need to be in the emu shell Apr 09 19:44:41 yes Apr 09 19:44:43 ssh -p 5522 localhost Apr 09 19:55:30 i wish i could use the built in help scene but modify the app menu for it Apr 09 20:01:24 you can't? Apr 09 20:02:23 app menu is off in the generated support scene Apr 09 20:31:08 OK CSS jocks. I need to override a palm-row background. You need to make it more specific, if I recall. Apr 09 20:33:51 with !important? Apr 09 20:35:13 http://www.w3.org/TR/CSS2/cascade.html#important-rules Apr 09 20:35:29 although i'm far from being a css jock Apr 09 20:36:26 I think I got it Apr 09 20:36:33 I always read that as "not important"...especially when the shit doesn't work like you'd expect Apr 09 20:36:35 I nested it in another class Apr 09 20:37:29 OK... I think I got it. Apr 09 20:40:47 just posted the agenda for the palm developer day events http://developer.palm.com/blog/2010/04/palm-developer-day-agenda/ Apr 09 20:41:37 COugh Cough Cough. "Technical Sessions" Apr 09 20:41:58 chuqui That's not much of an agenda.... :) Apr 09 20:42:03 I have some cough drops, rick - cherry menthol. Apr 09 20:42:19 cherry menthol, my favorite. Apr 09 20:42:24 more agenda coming. Trying to finalize a few things. Apr 09 20:42:41 it's not like we spend six months with a staff planning this stuff... (grin) Apr 09 20:53:31 hehe Apr 09 20:54:10 you could add some swiss fondue eating to the agenda :) Apr 09 20:56:47 any plans for people that are already there on thursday? Apr 09 20:58:55 g'night everyone Apr 09 21:06:13 I think thursday is a "sefl organize" day. Apr 09 21:15:40 Hmm, those letters need some organization. Apr 09 21:16:49 hrm Apr 09 21:16:55 i cant seem to get a dialog to pop up.. Apr 09 21:20:04 i get no errors either, it just doesnt show up.. Apr 09 21:22:59 how do you do it dawm Apr 09 21:23:37 this.controller.showAlertDialog({ ... etc ... }); Apr 09 21:24:29 how is it been triggered? Apr 09 21:25:30 it was being fired from a call thru another function from setup, put it directly in setup and also tried activate.. no luck yet Apr 09 21:26:11 you develop on the emulator? Apr 09 21:26:16 both Apr 09 21:26:23 what does the log say? Apr 09 21:26:45 nothing Apr 09 21:27:15 nothing at all? Apr 09 21:27:39 if you do an alert before the dialog and then again right after it, can you seem em both in the log? Apr 09 21:51:22 argh.. same problem as the other day.. trying to call showAlertDialog outside of the scene.. but this time Mojo.Controller.StageController.activeScene().showAlertDialog() isnt working Apr 09 22:00:49 Does ProgressSlider widget support widths in %? Apr 09 22:01:23 I noticed that ProgressBar works with widths in %, and so does Slider, but ProgressSlider does not. Anyone got some sample code of that? Apr 09 22:18:22 chuqui: Any news on a Thursday night shindig? Apr 09 22:18:40 it is trending towards "self organize" Apr 09 22:24:21 well, if I pick a place and a time will you show u? Apr 09 22:24:23 *up Apr 09 22:39:31 if I can. My problem is I might have complications and I don't know what the schedule for them are quite yet. Apr 09 22:41:27 OK. Apr 09 23:16:40 hi all Apr 09 23:17:22 i have a dialog box question if anyones around Apr 09 23:20:34 I'm around, but I doubt I can answer your question. Apr 09 23:20:52 lol hi zomg Apr 09 23:21:39 But if you want I can listen to your question, and then we can wait till you have an epiphany or someone else chimes in. Apr 09 23:21:46 If you prefer, I can even make up an answer. Apr 09 23:22:41 smiles...i'm getting a dialog widget 'undefined' setup() error Apr 09 23:22:46 and i'm not sure why Apr 09 23:23:05 I'm getting something is undefined... can you pastebin your setup()? Apr 09 23:23:06 saids it cannot read property 'controller' of undefined Apr 09 23:23:09 s/getting/guessing/ Apr 09 23:23:28 sigh....gotta go...family Apr 09 23:23:37 Oh .. maybe later :) Apr 09 23:24:10 me me me! Apr 09 23:24:33 hi haeffb! Apr 09 23:24:34 oops, too late. Apr 09 23:24:38 hi JenP Apr 09 23:24:42 hi zsoc!!!!! Apr 09 23:24:50 um...k we can try but clocks ticking Apr 09 23:25:02 family first. Apr 09 23:25:21 http://pastebin.com/evv01mRT Apr 09 23:25:41 they're changing...that can take anywhere from 5 mins on....too many girls in this house Apr 09 23:26:16 look at pastebin...line 5-10 is the call i use from the other scene to launch the dialog box Apr 09 23:26:23 oh, I understand. Apr 09 23:26:40 this.widget should be this.controller.widget ? Apr 09 23:27:07 * zsoc makes things up Apr 09 23:27:41 widget is undefined in setup()? Apr 09 23:27:48 oh that would do it too Apr 09 23:27:50 yeah? Apr 09 23:27:57 but it's there Apr 09 23:28:00 no, I mean is that the error you're getting? Apr 09 23:28:07 line 29 Apr 09 23:28:19 yeah exact error is on lines 32-33 Apr 09 23:29:07 oh, no, it's sceneAssistant that is undefined. Apr 09 23:29:17 because you're not passing it from the call to showDialog. Apr 09 23:29:24 oh? Apr 09 23:29:29 line 16? Apr 09 23:30:01 but you're right i'm not pulling anything over Apr 09 23:30:03 assistant: new EditDateAssistant(this, date, this.updateDate.bind(this)), Apr 09 23:30:03 if htc bought palm that would be great but can they afford them Apr 09 23:30:38 haeffb: yeah i know we passed that over on our original build Apr 09 23:30:51 assistant: new storeInfoAssistant(this, ....), Apr 09 23:31:02 you have to pass the scene controller to the dialog Apr 09 23:31:13 to pass the scene controller to the dialog Apr 09 23:31:13 [17:00] Does ProgressSlider widget support widths i Apr 09 23:31:16 yeah when i did that it kept saying cannot bind Apr 09 23:31:41 you don't HAVE to pass a callback function, Apr 09 23:31:51 oh? ok Apr 09 23:31:53 but you do HAVE to pass the scene assistant Apr 09 23:32:41 so you have to do this: Apr 09 23:32:46 assistant: new storeInfoAssistant(this), Apr 09 23:32:57 # Apr 09 23:32:57 function storeInfoAssistant(sceneAssistant, callBackFunc) { Apr 09 23:33:07 w/o the callBackFunc Apr 09 23:33:20 and kill line 17 Apr 09 23:33:24 and you should be good to go Apr 09 23:33:32 so...kk thanks Apr 09 23:33:33 and sooner than the girls have changed. Apr 09 23:33:50 i know... Apr 09 23:35:20 kk thank you...time for me to go...ttyl Apr 09 23:53:35 hey haeffb_pre or haeffb Apr 09 23:53:39 whomever u r Apr 10 00:28:39 hey Bmyers. IF that's your real name. Apr 10 00:29:47 I'm guessing his name is Brandom Myers Apr 10 00:30:08 oh. it's like an acronym or something. Apr 10 00:32:00 anyone know how to add a button inside a header? Apr 10 00:32:48 pandora--: like a viewList? Apr 10 00:33:07 zsoc: ermmmmm not sure what you mean Apr 10 00:33:20 zsoc: was it you that was trying to do it like the messaging app? Apr 10 00:33:29 someone in here a few days ago was trying to do that Apr 10 00:33:38 i need to do something very similar to that actually Apr 10 00:33:49 pandora--: yeah, i finally got it with haeffb's help lol Apr 10 00:33:53 pandora--: it's actually SUPER simple Apr 10 00:34:03 enlighten me! :D Apr 10 00:34:04 pandora--: you could do a view menu with a submenu Apr 10 00:35:11 er, not viewList, viewMenu Apr 10 00:35:13 https://developer.palm.com/index.php?option=com_content&view=article&id=1683&Itemid=44 Apr 10 00:35:14 pandora--: if that's what you are looking for, http://webos.pastebin.com/26BSsrKP Apr 10 00:35:20 viewmenu looks like what i need for the menu part of it Apr 10 00:35:35 yep, what he just pastebined Apr 10 00:36:20 what does the html look like for that? Apr 10 00:36:28 nothing Apr 10 00:36:31 what kind of element should i have there? Apr 10 00:36:34 oh Apr 10 00:37:05 something there has the id of "send-menu" Apr 10 00:37:06 what's that? Apr 10 00:37:36 that is the submenu name Apr 10 00:38:23 lemme try :) Apr 10 00:39:03 pandora-- If all you want is a button, you don't need the send-menu part Apr 10 00:39:21 if you want a menu to pop up when you press the button....then send-menu Apr 10 00:39:37 ok Apr 10 00:40:15 zsoc - I'm good at helping with super simple things. Apr 10 00:41:46 haeffb: help me figure out why this json int is assigned properly to this pointer in struct, but can't be referenced by it's enum define Apr 10 00:47:53 interesting... Apr 10 00:48:07 so, that can do what i need, functionally Apr 10 00:48:18 but i don't need anything but one button to be clickable there Apr 10 00:48:23 zsoc: banana banana banana Apr 10 00:48:36 pretty much exactly like the header widget in the messaging app (when in a conversation view) Apr 10 00:48:40 sugardave: i like banana's Apr 10 00:48:48 they are tasty Apr 10 00:48:49 hmmm Apr 10 00:49:33 add disabled: true to the rest of the button Apr 10 00:49:55 pandora--: http://webos.pastebin.com/jX8rcHmz ? Apr 10 00:50:15 oh, that's a whole different ballgame. Apr 10 00:50:42 zsoc: 17 Apr 10 00:50:58 Tibfib: that's what you linked me to earlier Apr 10 00:51:23 oh but just one item Apr 10 00:51:24 it is slightly different. but it isn't quite what you wanted. Apr 10 00:51:39 why undefined as the attrs instead of {} Apr 10 00:51:46 ? Apr 10 00:52:00 pandora, the messaging app likely does that one of two ways: 1) add a div that overlays the header, styled to look like a button with a popupSubmen called when tapped. Apr 10 00:52:04 sugardave: meh, copied the code from another (palm) app Apr 10 00:52:24 or 2) a listSelector widget inside a div styled to look like a standard header. Apr 10 00:52:38 Tibfib: yeah that makes sense. i'm hoping to have a standard header with a button in it that pops the submenu Apr 10 00:53:05 haeffb: ooh gotcha. trickery! Apr 10 00:53:07 pandora--: it would be hard-ish to make it look like the sms app Apr 10 00:53:18 stupid google maps app.. not listening Apr 10 00:53:30 however, since the palm apps are included in the SDK refcode, you could just look at it and see what they do. Apr 10 00:53:39 i'm doing that now :) Apr 10 00:53:55 dawm: slap it. Apr 10 00:53:56 they are pretty hard to follow.... Apr 10 00:55:48 stylematters Apr 10 00:55:52 documentation doesnt.. Apr 10 00:59:43 pandora: looks like they're doing option 2) Apr 10 00:59:53 no, I mean 1) Apr 10 01:03:34 haeffb: yaaaaa thats complicated Apr 10 01:03:37 screw that Apr 10 01:03:44 i want the easy-button Apr 10 01:03:46 :D Apr 10 01:05:00 not sure if this will work, but. Apr 10 01:05:59 try using the view menu with two buttons. set the width: property of one so that the combination takes up the whole scene width. Apr 10 01:06:21 set the disabled property of one to true (this is the part that I'm not sure works) Apr 10 01:08:17 hmmm... yes, that works. but you'll probably want to override the CSS for the disabled menu Apr 10 01:09:17 and it will draw a vertical line between the two "buttons" Apr 10 01:11:13 pandora--: http://www.pastie.org/912422 Apr 10 01:12:43 Bmyers: have you tried Done! ? Apr 10 01:12:53 gotcha Apr 10 01:14:35 just loading it now Apr 10 01:14:49 emu is ok right? Apr 10 01:15:16 ya. Apr 10 01:15:34 you'll need a toodledo account to do much. Apr 10 01:15:48 wait. to do anything right now. Apr 10 01:16:00 cuz it's set up to require a login before you can go. Apr 10 01:16:32 ok Apr 10 01:18:45 @haeffb You pasted my question about the progress slider issue. Did that mean you knew how to fix it? Apr 10 01:19:24 no, that meant that icechat pasted the wrong thing. sorry. Apr 10 01:19:42 signup to tooledo is a huge pain huh? Apr 10 01:19:44 what was your slider progress issue? (although I don't know a damn thing about sliders) Apr 10 01:19:54 shouldn't be. Apr 10 01:20:00 just an email & password Apr 10 01:20:01 jking Apr 10 01:20:08 Damn! I wrote it up as a bug report. Here is the full explanation: http://developer.palm.com/distribution/viewtopic.php?f=80&t=6424 Apr 10 01:21:26 just as I suspected: I am of no help. Apr 10 01:22:09 zsoc and I have already established that I can help with super simple things. This appears to be either not super or not simple. Apr 10 01:22:17 or both Apr 10 01:23:13 Well super it is not. Simple it should be. The ProgressBar widget works right, and the Slider works right. Together, they suck. Apr 10 01:24:49 why do you 'not specify a CSS class stream-buffer-bar and a fixed width' ? Apr 10 01:26:35 If you rotate the screen, and have a fixed width then the progress bar will not look right in my lay-out. The simple fix is that i listen for the orientation change to happen and then change the width then. My opinion though is that should not be required. Apr 10 01:27:26 The beauty of an elastic layout (which I used) was that regardless of orientation (size) it should look right. This is the only widget that is killing me. Apr 10 01:27:53 can u do % on the widget width? Apr 10 01:29:29 in my guyrules app i had to listen for orientation changes to make the viewmenu look right. %'s didnt work Apr 10 01:29:59 Thats the problem, if you specify the width in % it does not work. But it does work for all the other sliders and progress bars. Apr 10 01:34:48 the viewmenu only supports px width. if thats the case with what you're doing then the orientation change and adjustments are your only option i know of Apr 10 01:36:02 is there a refresh somewhere on the website? I added tasks in the app and dont see them in the task list on the website Apr 10 01:36:49 Bmyers: although that is correct, it's also a bug, I'd imagine one that will get fixed eventually Apr 10 01:36:58 did u hit the sync button in the app? Apr 10 01:37:19 thats the sync button? Apr 10 01:37:33 the circularly arrowly won Apr 10 01:38:00 * haeffb been drinkin again. Apr 10 01:38:08 haeffb: hasn't everyone Apr 10 01:38:19 zsoc: sadly, no. Apr 10 01:38:31 haeffb: well i aren't be not Apr 10 01:38:32 well 2 things Apr 10 01:38:57 1 it just entered perma-spin on the emu while sync'ing Apr 10 01:39:15 oooh. perma-spin is not so good. Apr 10 01:39:49 maybe the second thing will be better....! Apr 10 01:40:20 my GR app does that sometimes also Apr 10 01:40:27 so maybe it's my emu Apr 10 01:40:36 still spinning Apr 10 01:40:41 nah. probably a broken sync Apr 10 01:41:01 palm-log will tell me much... Apr 10 01:42:34 deleted contexts is the last entry Apr 10 01:44:21 tried another web app on emu. it's working Apr 10 01:44:45 can u pastebin the log? Apr 10 01:45:16 or whatever portion of the log is available. The last line doesn't tell me much, since the sync is all async-ey. Apr 10 01:45:28 last five or last ten, though... Apr 10 01:45:33 ok Apr 10 01:46:52 webos.pastebin.com/9KxkAWYB Apr 10 01:46:56 try that Apr 10 01:47:08 typed it in.. otherwise it's named haeffb Apr 10 01:48:14 hmmm. Perhaps I'm not prepared for you to have no folders or contexts on web. I'll have to look at that. Apr 10 01:48:41 i signed up with the website Apr 10 01:48:48 also, this line: [20100409-20:44:58.331065] info: Found no tasks to add to Web! Apr 10 01:48:50 and went str8 to the app and added stuff Apr 10 01:49:01 says that you had not added tasks in the app. Apr 10 01:49:07 so something is off. Apr 10 01:49:22 i did add 2 tasks Apr 10 01:49:31 but it didnt save the names Apr 10 01:49:50 just says no due date twice Apr 10 01:50:06 Bmyers, whats your first name? Apr 10 01:50:30 Rodriguez. Why? Apr 10 01:51:21 Ok, I know why the spinny. Apr 10 01:51:56 no. no, I don't. Apr 10 01:52:38 yes. yes, I do. Apr 10 01:52:46 r u sure? Apr 10 01:53:07 Of course, I'm sure. Do I not sound sure? Apr 10 01:53:16 no Apr 10 01:53:19 i mean yes.. Apr 10 01:53:25 IDK Apr 10 01:54:04 mail. Apr 10 01:55:13 that should fix the spinny Apr 10 01:56:35 something is breaking the add tasks, tho. Apr 10 02:01:35 dawm: its Bill Apr 10 02:01:42 ahh Apr 10 02:01:52 my boss has the same name, cept his name is Bobby Apr 10 02:02:24 my dad is william robert.. Apr 10 02:02:28 well, dawm, those are not really the same at all. Apr 10 02:02:30 but i call him billy bob Apr 10 02:02:36 boy does he hate that... Apr 10 02:02:42 Heh, my name could be Bill Apr 10 02:02:52 I go by Will though Apr 10 02:03:09 haeffb, i meant the Bmyers Apr 10 02:03:38 pen name is WP Apr 10 02:03:42 sure you did Apr 10 02:03:46 for (j = 0; j < this.webEditedTasks.length; j++) { Apr 10 02:04:04 won't do anything if lenght == 0, right? Apr 10 02:04:32 I'd think not Apr 10 02:05:04 while's run at least once. for's dont IIRC Apr 10 02:05:15 you could test it by replacing this.webEditedTasks.length with - Apr 10 02:05:17 0 Apr 10 02:07:28 something is not right haeefb Apr 10 02:07:47 i swipe back to complete a task entry correct? Apr 10 02:10:30 argh Apr 10 02:10:35 whats the word im looking for Apr 10 02:10:44 in reference to miles and kilometers.. stanard and imperial? Apr 10 02:10:48 er standard Apr 10 02:15:14 right Apr 10 02:15:41 english/metric ? Apr 10 02:16:30 i think its US/Metric Apr 10 02:16:45 i really cant find anything with google on whats preferred.. Apr 10 02:16:46 http://en.wikipedia.org/wiki/Imperial_units Apr 10 02:16:48 stupid google Apr 10 02:17:09 yah theres US Customary, Imperial and Metric Apr 10 02:18:44 ill just use US/Metric Apr 10 02:19:09 Bmyers: log when you're adding a task? Apr 10 02:19:35 dawm: US/"whatever the rest of youse uses" Apr 10 02:19:43 heh Apr 10 02:22:36 webos.pastebin.com/4Lrg1jHF Apr 10 02:25:43 well, does it at least look pretty? Apr 10 02:26:05 yeah but the luna icon sux. Apr 10 02:26:57 users...all they do is bitch & complain. Apr 10 02:27:13 i wish they didnt even exist.. Apr 10 02:27:20 o wait, that wouldnt work.. Apr 10 02:27:46 Ok, I don't get the modelChanged() warning. Apr 10 02:27:58 & it works for me, even with an account with no info. Apr 10 02:28:31 i translate those errors to "meaningless, please ignore" Apr 10 02:28:45 but I'm not getting the same thing in log. Apr 10 02:28:53 You're running the last one I sent? Apr 10 02:28:59 the one I sent tonight? Apr 10 02:29:11 yes Apr 10 02:29:13 delete it and reinstall. Apr 10 02:29:29 your folders/contexts are hosed since it didn't finish the sync. Apr 10 02:29:44 * haeffb crosses fingers. Apr 10 02:29:50 cookies? Apr 10 02:31:00 database issues. Apr 10 02:31:46 nope. still doesnt save the task name Apr 10 02:31:57 spin cycle Apr 10 02:32:06 bizarre. Apr 10 02:32:12 emu version? Apr 10 02:32:16 i have done NOTHING in the website tho Apr 10 02:32:28 1.3.5 Apr 10 02:32:32 me either. on this account that I'm testing Apr 10 02:32:59 ERU actually worked Apr 10 02:33:04 that shouldn't matter, but it is a difference Apr 10 02:33:10 thank you eric Apr 10 02:33:11 i just started up my xp Apr 10 02:33:20 have updated that emu yet since 1.4 Apr 10 02:33:29 annnnddd this is the way wrong channel, definitely drank too much, heh, nite all Apr 10 02:33:53 nite Apr 10 02:34:02 later zsoc!!!!! Apr 10 02:34:36 woo Apr 10 02:34:48 submitted my first beta app ;p Apr 10 02:34:54 woo! Apr 10 02:35:02 its nice seeing another app in my my apps page ;p Apr 10 02:35:04 Bmyers: your account has two default tasks? Apr 10 02:35:13 yes Apr 10 02:35:27 & they don't sync down. Apr 10 02:36:08 because it all works here. on a brand new account. Apr 10 02:36:51 I am befuzzled. Apr 10 02:41:48 nay body here? Apr 10 02:42:11 osme body Apr 10 02:42:45 any idea how to add data to a JSON object? Apr 10 02:42:47 i.e. Apr 10 02:43:28 JSONobject.store[ll] = {"var1": 1, "var2": 2}; Apr 10 02:43:41 but add it dynamically Apr 10 02:44:20 a JSON object stored somewhere on a filesystem? Apr 10 02:45:05 JSONobject.store[ll].var3 = 'new value'; Apr 10 02:45:11 I'm looking to build an object with a bunch of parameters, but the parameters are constantly being added and removed from the object Apr 10 02:45:16 hmm Apr 10 02:48:06 well it doesn't seem to be working Apr 10 02:48:19 and although I'm not quite sure, it seems to be a problem with the size of the object Apr 10 02:48:45 If I have this object myObj = {'property1': 'value1', 'property2': 'value2'}; Apr 10 02:49:01 then later I can do myObj.property3 = value3; Apr 10 02:49:06 right Apr 10 02:49:18 but I am trying to store data much like a table Apr 10 02:49:36 so I cycle through the array that is full of parameters Apr 10 02:49:46 but I am trying to figure out how to expand and contract the size of the array Apr 10 02:50:08 so Apr 10 02:50:28 JSONobject.store[nn] has parameter1, parameter2, etc. Apr 10 02:50:42 and I want to add JSONobject.store[nn+1] and fill the parameters with data Apr 10 02:51:03 and I am trying to do it dynamically... Apr 10 02:51:29 and you're saying that JSONobject.store[nn+1] = {thing1: thing1} doesn't work? Apr 10 02:51:39 JSONobject.store.push({"var1": val1, "var2": val2}); Apr 10 02:51:51 adds a new row to the array JSONobject.store Apr 10 02:51:54 push throws back an error Apr 10 02:52:10 and sugardave that doesn't seeem to be working Apr 10 02:52:16 well, that's a problem, because it looks like store is an array Apr 10 02:52:22 then JSONobject.store not an array Apr 10 02:52:37 which is fine Apr 10 02:52:43 how did u define JSONobject.store? Apr 10 02:52:48 but what I suggested should definitely be working Apr 10 02:53:49 yes it should, but I haven't been able to get it working Apr 10 02:53:52 so I've been confused Apr 10 02:54:17 paste your code where you define JSONobject; Apr 10 02:55:15 anyone up on current notebooks? I think i need a new one Apr 10 02:55:27 var activeStore = {"store": [ Apr 10 02:55:28 {"radius": 0, "i": 0, "xPos": 0, "yPos": 0, "collisionOrder": 0 } Apr 10 02:55:30 ] Apr 10 02:55:31 }; Apr 10 02:55:50 so adding data to activeStore.store[0] isn't a problem Apr 10 02:55:56 but beyond that it doesn't work Apr 10 02:56:01 so store is an array Apr 10 02:56:12 yes Apr 10 02:56:20 and activeStore.store.push({newObject}); should work Apr 10 02:56:35 wait Apr 10 02:56:48 is it activeStore.store.push({etc}); Apr 10 02:56:50 or Apr 10 02:56:52 Bmyers: Big Chief is my favorite Apr 10 02:56:56 wide-ruled Apr 10 02:57:04 activeStore.store[1].push({etc}); Apr 10 02:57:08 former Apr 10 02:57:08 ? Apr 10 02:57:20 push is going to make store[1] Apr 10 02:57:24 and then 2 Apr 10 02:57:24 hi all Apr 10 02:57:26 , etc. Apr 10 02:57:28 and then I can use pop as well? Apr 10 02:57:31 yes Apr 10 02:57:33 same iinstance Apr 10 02:57:35 alright Apr 10 02:57:40 well Apr 10 02:57:42 hi JenP_wirc Apr 10 02:57:47 pop I'm not sure you can specify what index Apr 10 02:57:53 probably splice or something Apr 10 02:57:56 if I want to reuse the object but refill it with data, should I just overwrite the object? Apr 10 02:58:11 yep Apr 10 02:58:53 haeffb: wise ass Apr 10 02:58:58 haeffb you in here? Apr 10 02:59:14 I will try that, many thanks sugardave Apr 10 02:59:17 lol hi guys Apr 10 02:59:19 np Apr 10 02:59:44 hi JenP_wirc **** ENDING LOGGING AT Sat Apr 10 02:59:57 2010