**** BEGIN LOGGING AT Sat Apr 09 02:59:57 2011 Apr 09 03:00:01 take the value of that widget and save it to the cookie Apr 09 03:00:04 sineot: I need to know how to do all of that Apr 09 03:00:23 have you figured out how to read a cookie? Apr 09 03:00:35 kinda Apr 09 03:00:44 have you figured out how to work an if statement? Apr 09 03:00:44 with the .get and .put correct? Apr 09 03:00:57 that... not so much Apr 09 03:01:38 if cookieValueYouPulled === undefined { set your widget's default value here } else { set widget with the value pulled from the cookie } Apr 09 03:01:45 there you go Apr 09 03:02:42 so, I need 2 cookies? Apr 09 03:02:56 one to set the widget and the other to set my preference? Apr 09 03:03:03 I'm totally lost :/ Apr 09 03:03:09 What preference? Apr 09 03:03:29 what, no :I Apr 09 03:03:36 aghhghhhhh Apr 09 03:03:36 I the user to be able to choose if they want anonymous data collection... Apr 09 03:03:47 so you need CollectData as a cookie Apr 09 03:03:52 it'll either be false, or true Apr 09 03:04:01 1 cookie Apr 09 03:04:09 ok Apr 09 03:04:14 if the cookie is loaded and the value it holds is undefined, it means the cookie was never set up Apr 09 03:04:26 read the cookie into a variable Apr 09 03:04:30 check that variable Apr 09 03:04:41 feed that variable into your widget's set up as the default value setting Apr 09 03:04:45 variable == var? Apr 09 03:04:57 :I Apr 09 03:05:00 :I :I :I :I Apr 09 03:07:07 PatrickC: Is ther a programming language you are familiar with? Apr 09 03:07:17 s/ther/there/ Apr 09 03:07:27 HTML :/ Apr 09 03:07:37 and minimal JS Apr 09 03:08:02 very minimal :I Apr 09 03:08:19 Hmm... you may want an intro to programming in general first? Just so you get some of the concepts before getting into specifics of javascript? Apr 09 03:08:23 I know... I need docs.. I thought the sdk came with html docs Apr 09 03:08:39 nah this is like... super generic logic stuff Apr 09 03:08:47 I took the w3schools thing... Apr 09 03:08:48 like the concept of an if else statement Apr 09 03:11:41 Try this: http://lifehacker.com/#!nightschool/5744113 Apr 09 03:12:25 page not found Apr 09 03:12:30 It's an intro to programming that also happens to use javascript for its examples Apr 09 03:12:40 http://lifehacker.com/#!5736011/learn-how-to-code-part-i-variables-and-basic-data-types Apr 09 03:12:43 Any better? Apr 09 03:13:06 that's there :) Apr 09 03:13:21 thanks... well, I have to get up early tomorrow :/ Apr 09 03:13:30 I'm done coding for the night.. Apr 09 03:13:44 thanks for the help though, I'll defiantly *read* it Apr 09 03:13:52 No prob, hope it helps. Apr 09 03:13:52 Man ponies :I people who hate on this show have no soul Apr 09 03:14:19 what show? Apr 09 03:15:17 the My Little Pony reboot. I mean hell, two of the stupidest ponies in the show have cutie marks that are a snail and a pair of safety scissors :I Apr 09 03:16:14 that and it fails the reverse bechdel test and is like the only bit of modern media that does that :I Apr 09 03:16:14 * PatrickC doesn't watch My Little Pony Apr 09 03:17:07 It's just like the Transformers show Apr 09 03:17:30 Transformers FTW lol Apr 09 03:17:34 I haven't watched any of that yet Apr 09 03:17:45 they went through and rebooted a TON of stuff Apr 09 03:17:53 And by that I mean it's a show created to sell merch, instead of merch based around an existing show, lol. Not that there's necessarily anything wrong with that. Apr 09 03:18:12 lol, that's true Apr 09 03:18:20 sineot: you got Ailium, right? Apr 09 03:18:30 yup Apr 09 03:18:44 what's your high score? Apr 09 03:18:45 Hah, nah, the show actually doesn't pander like, at all, for the merch Apr 09 03:18:50 3800 or something Apr 09 03:18:53 which surprised me Apr 09 03:19:02 I think mines the highest (afaik) Apr 09 03:19:07 5282 for me :) Apr 09 03:19:14 gonna try and beat that tonight Apr 09 03:19:43 Heh. Good luck. Apr 09 03:20:49 dawm: can we have the updated version with pause? Apr 09 03:20:52 zinge: what's funny is that the current batch of merch for MLP has like nothing to do with the show at all Apr 09 03:20:58 it's kind of wtf Apr 09 03:22:06 that + it's Lauren Faust and she's worked on non-shitty animation in the past Apr 09 03:24:35 wait are you talking about my little pony…in the webos room? /me checks to make sure i've not wandered into the wrong room :P Apr 09 03:25:14 yes :I Apr 09 03:25:20 deal with it 8I Apr 09 03:27:03 :P just wondering s'all :P Apr 09 03:27:03 3016 score... not bad Apr 09 03:27:23 I'm off to bed Apr 09 03:27:25 night all Apr 09 04:00:08 In case anybody is looking in the future: Apr 09 04:00:29 Intro to coding, with javascript examples - http://lifehacker.com/#!5736011/learn-how-to-code-part-i-variables-and-basic-data-types Apr 09 04:00:46 w3schools javascript tutorial - http://w3schools.com/js/default.asp Apr 09 04:01:14 model/view/controller design explanation - http://www.enode.com/x/markup/tutorial/mvc.html Apr 09 05:00:09 hi all! Apr 09 05:21:31 hey JenP Apr 09 05:21:41 Hi oil! Apr 09 05:47:45 hey JenP Apr 09 05:47:53 hi rod! Apr 09 05:59:52 * halfhalo is sad... laptop has to be fixed again Apr 09 06:04:48 screen isn't centered under the bezel... I mean, how does that happen Apr 09 08:55:09 haeffb: Critical Mass? Apr 09 11:16:43 there's too much stuff on my phone... I'm reluctant to delete apps I paid for because I'll likely forget about them. In point of fact, there's one app I paid $5 for and I left a comment in my leger that says, "well that was a waste." what was it? Is there a way to list apps you've paid for but subsequently removed? Apr 09 11:17:45 Dunno, but at least the next time you try to download it, it will be free for you :) Apr 09 11:17:55 indeed. :) Apr 09 11:18:19 seems like the app catalog app knows which are free even though they have a price... I imagine whatever it downloads can be queried for the information i want. Apr 09 11:18:25 I hoped someone would know where to find it Apr 09 11:35:26 Hi, does anyone know how to debug mojo applications using eclipse? I do not see the Web OS option listed under debug. Apr 09 11:36:36 hmm, i wasn't success with eclipse debugging. Try to use AresDebug. Apr 09 11:38:11 @sandrstar Thanks :) I have used Ares but like Eclipse better. But if there is no other way... I would have to use Ares Apr 09 11:40:13 at least Ares is quite easy and doesn't require any tricks to debug with Apr 09 12:20:57 quad_damage: you can use ares debugger even if you use eclipse for development Apr 09 12:21:03 it's a standalone debugger Apr 09 12:25:42 MetaView: ??? Apr 09 12:28:16 @haeffb: How can I do that? Is there any site that has steps to do this? Thanks Apr 09 12:30:21 http://ares.palm.com/AresDebug/ Apr 09 12:31:27 @haeffb Thanks. will try this. Apr 09 12:31:49 quad_damage: i'm just using custom bat's to easy launch from eclipce. like full_start.bat: call palm-package [your app] \ call palm-install [your package name] \ call palm-launch [your package name] Apr 09 12:32:39 You could create one and setup to use via eclipse 'run custom tools' Apr 09 12:33:22 after that - just click that customt tool and go to browser with ares debug for debugging Apr 09 12:34:16 s/customt/custom/ Apr 09 12:34:52 @sandrstar Got it :) Apr 09 12:35:06 Thanks everyone!!! Apr 09 13:02:03 haeffb: is ctricial amss your app? Apr 09 13:02:44 ah. nope. Apr 09 13:02:51 "access denied for user alexhaef Apr 09 13:02:55 ah, ok Apr 09 13:03:44 haven't see alex around these parts lately Apr 09 13:04:02 hm Apr 09 13:46:03 Just want to run this by here, see if I'm doing this the best way: I have multiple local JSON files where some values are other objects, so just putting it all into one db doesn't seem like a good idea to me. I was thinking of storing the pieces of info I want on the list view into a database, along with a unique key that I can use to pull the full object from Mojo.Depot when I tap the list item. Sound like a good solution to you guys? Apr 09 14:07:15 My google skills are failing me, what's the method to get the app's absolute path? Apr 09 14:07:57 Never mind, got it Apr 09 18:06:31 hi Apr 09 18:06:44 got a pixi plus today...now I want webos on my iphone Apr 09 18:17:55 lol Apr 09 18:18:10 just get yourself in line for a pre3 ;) Apr 09 18:19:55 or the stingray thingy Apr 09 18:21:52 might have to wait a bit longer for that though Apr 09 18:27:50 But it might be worth the wait :p Apr 09 18:33:19 * Loudergood just did something dumb Apr 09 18:33:38 I just opened an envelope I was going to go drop in the post box Apr 09 18:33:39 Loudergood, and now you've committed to giving us the details :) Apr 09 18:33:46 heh Apr 09 18:34:04 totally not paying attention to what I was doing Apr 09 18:34:27 looked down and thought, why is this paperwork out I thought I put it in an envelope...oh damn Apr 09 18:35:07 managed to save the sticker stamp though Apr 09 18:36:10 lol Apr 09 18:36:48 I had it right next the wedding invitation I was opening to RSVP Apr 09 18:40:01 makes me wonder if I should go through with my plan to try the phone swap again Apr 09 19:59:09 yooooo Apr 09 20:23:57 hey guys Apr 09 20:27:15 Web SQL is driving me crazy Apr 09 20:28:25 anybody managed to make it their bitch that wants to help me out? ;) :P Apr 09 20:33:44 never mind, just successfully made it my bitch myself :P Apr 09 20:34:02 Popple3: luls Apr 09 20:34:44 note to self: never use "set" as a field name in SQL Apr 09 20:35:42 lol Apr 09 20:38:53 * Popple3 wishes I could just ship with a pre-populated Web SQL DB and Mojo.Depot DB Apr 09 20:40:32 lololol Apr 09 20:40:44 Popple3: you happen to have experience sending mms through an app? Apr 09 20:41:12 cwayne: 'fraid not Apr 09 20:43:15 anyone? Apr 09 20:43:16 lol Apr 09 20:48:28 * cwayne thinks its funny even the code sample doesnt work Apr 09 20:50:38 that is quite fail Apr 09 20:51:24 Anyone know if it's possible to have a divider in a list have a string rather than on character? When I put a string in, it just prints on top of my list, one character per line Apr 09 20:58:30 Popple3: hmm, whats your divider.html look like Apr 09 20:59:26 cwayne: I don't have one... Apr 09 20:59:59 I'm using dividerAlpha: function(item) { return item.theset; } Apr 09 21:00:03 oops Apr 09 21:00:06 not dividerAlpha Apr 09 21:00:10 dividerFunction Apr 09 21:00:22 I was messing about with dividerAlpha, but couldn't get it to work Apr 09 21:00:29 Popple3: i think you need both? Apr 09 21:00:50 I can get just dividerFunction to work on it's own, but only one character will fit Apr 09 21:01:18 hmmm Apr 09 21:01:59 ah, I see the issue Apr 09 21:02:12 single letter is the default divider template Apr 09 21:04:12 Yay! I broke it Apr 09 21:04:13 lol Apr 09 21:04:38 lo,olol,oloool, Apr 09 21:08:18 all sorted Apr 09 21:09:01 * cwayne wishes his problem was sorted Apr 09 21:09:27 http://i.imgur.com/MoaB0.jpg - whoa Apr 09 21:10:01 photoshopped, I can tell by the pixels! Apr 09 21:10:04 * Popple3 is just being an ass Apr 09 21:10:08 /ignore Popple3 Apr 09 21:11:56 cwayne: What exactly is going wrong? Apr 09 21:12:18 Popple3: trying to pass a param to the messaging app Apr 09 21:12:35 and its supposed to work, but the example code is wrong... Apr 09 21:12:52 cwayne: Pastebin your code? Apr 09 21:15:37 Popple3: http://pastebin.com/1R65Rh3R Apr 09 21:16:02 also tried having the attachment as the prob varible, didnt work either Apr 09 21:17:10 cwayne: try changing the method to "launch" Apr 09 21:17:40 Popple3: same thing Apr 09 21:17:48 oh wait Apr 09 21:18:12 surely your attachment needs to be an absolute path Apr 09 21:18:34 attachment: Mojo.appPath + "images/problem.jpg" Apr 09 21:19:14 Popple3: but thats what my prob variable is Apr 09 21:19:31 cwayne: but you're not using that variable in your params Apr 09 21:19:39 Popple3: yeah, but i have Apr 09 21:19:42 and it did the same thing Apr 09 21:19:44 ah, ok Apr 09 21:19:59 Popple3: yeah, ive been trying different stuff Apr 09 21:21:16 maybe it has to be in /media/internal? Apr 09 21:21:37 cwayne: Maybe... That would make sense really Apr 09 21:21:47 on further thought, yep Apr 09 21:21:50 but shit Apr 09 21:22:04 whats the best way to copy all my shit into /media/internal then Apr 09 21:26:08 USB cable Apr 09 21:27:16 sugardave: I'm guessing he wants to do it automatically on the users phone :P Apr 09 21:27:20 i mean while installing an app Apr 09 21:27:24 lol thanks Popple3 Apr 09 21:27:46 yeah, it seems it has to be in /media/internal to send it as an mms Apr 09 21:28:17 you might be able to use the download manager, then Apr 09 21:29:00 hrnnnnnngh why cant i send mms from not there Apr 09 21:29:16 howdy everyone Apr 09 21:29:23 hey hey Apr 09 21:29:34 * Popple3 tips hat at Tibfib Apr 09 21:31:22 Tibfib: you ever do anything with mms? Apr 09 21:31:34 I have not Apr 09 21:31:43 wait a min, who sends MMS these days anyway? :P Apr 09 21:32:05 lolol Apr 09 21:32:10 re Apr 09 21:32:21 im bored so i was gonna make a app so people can send rage faces Apr 09 21:32:23 a la reddit Apr 09 21:32:42 did I mention that I bought a pixi plus and now want webos on my iphone? Apr 09 21:33:52 avarus: I believe you did :P Apr 09 21:34:30 I hate hp, because they only sell the pre and the pixi plus here Apr 09 21:35:20 avarus: I love HP coz they sent me out a Pre 2 :P Apr 09 21:35:30 the pixi plus only has webos 1.4.5 and it's still great Apr 09 21:35:49 avarus: I actually prefer the feel of my Pixi Plus to my Pre 2 Apr 09 21:35:51 I'm using the iphone4 for months and webos is so cool Apr 09 21:36:21 yea, I like the pixi plus...it's slow compared to the ip4 but it works well overall Apr 09 21:37:46 avarus: My the #idroid-dev team will manage to get webOS booting when they finish OpeniBoot for iPhone 4 ;) Apr 09 21:38:03 hehe Apr 09 21:38:09 s/My/Maybe Apr 09 21:38:59 I don't get why hp has such a bad marketing for germany Apr 09 21:39:04 webos even rules android Apr 09 21:39:09 *imho Apr 09 21:39:34 avarus: I agree, I went from my HTC Desire with stock Android 2.3 to my Pre 2, and I haven't looked back since Apr 09 21:39:58 I got the pixi plus for 108 eur :P Apr 09 21:40:09 it said "vodaphone brand" but no logo at all Apr 09 21:40:12 avarus: I got mine for ~€55 Apr 09 21:40:15 :> Apr 09 21:40:29 avarus: It's a Verizon one though, so won't actually work here :P Apr 09 21:40:33 I put in some random sim and it worked Apr 09 21:40:40 fine for development though Apr 09 21:41:04 anyone have any idea how to copy shit from my app's images/ folder to /media/intenal Apr 09 21:41:17 or let me add shit from my apps images/ folder to a sms Apr 09 21:41:17 In Ireland the original Pre sold a grand total of..... Any guesses? :P Apr 09 21:41:39 No cheating :P Apr 09 21:41:51 Popple3, no idea...ireland != uk so no amazon.co.uk :P Apr 09 21:41:57 4. Apr 09 21:42:23 * Popple3 waits for more answers before revealing the answer :P Apr 09 21:42:31 avarus: wild guess :P Apr 09 21:42:49 74 Apr 09 21:42:52 er 73 Apr 09 21:42:55 is what I meant Apr 09 21:43:00 0 Apr 09 21:43:02 dude, I mixed beer and whine Apr 09 21:43:06 42 Apr 09 21:43:34 * Popple3 wasn't expecting answers to be so low Apr 09 21:43:40 amazon.de wanted 165 eur...some other seller 108 eur... Apr 09 21:43:59 Popple3: we're nothing if not realists here Apr 09 21:44:04 heh Apr 09 21:44:04 sugardave: indeed Apr 09 21:44:07 it was actually 240 Apr 09 21:44:14 gbp? Apr 09 21:44:14 which is still pretty piss poor Apr 09 21:44:23 sold recently/ Apr 09 21:44:25 ? Apr 09 21:44:31 dohtem: Since launch Apr 09 21:44:38 aj Apr 09 21:44:56 well, it might have increased a bit since that stat, even though O2 killed it off Apr 09 21:49:30 new question: how to automate copying a picture? Apr 09 21:55:21 * avarus was a big fan of symbian but webos def. is a good replacement Apr 09 22:22:46 so I had an interesting thought recently, as webOS develops into an "ecosystem of devices", apps gain the ability for inter-device interaction with the user Apr 09 22:25:24 are you saying palm should do that? Apr 09 22:32:11 argh, can't the palm-page-header icon to change... :/ Apr 09 22:32:17 *can't get Apr 09 22:32:26 what are you trying to change? Apr 09 22:32:56 Tibfib: not that palm should, but that as developers, there's a lot of cool opportunities Apr 09 22:33:13 ah, because palm is doing it :) touch to share api is confirmed Apr 09 22:33:19 Tibfib: the icon for
inside a
Apr 09 22:33:37 hmm, pretty sure you can change that, Apr 09 22:34:05 indeed you can, but when I try override the background image in my CSS, it does nothing Apr 09 22:34:13 Tibfib: touch to share is great, but I'm sort of envisioning something closer to shared notifications Apr 09 22:34:15 but if I set a solid background colour, that works Apr 09 22:34:20 summatusmentis: that would be awesome Apr 09 22:34:22 and perfect Apr 09 22:34:38 * Popple3 just noticed a really stupid mistake in my css Apr 09 22:34:40 Popple3: have you tried with a different image path? Apr 09 22:34:47 imagine, as an example, setting a timer for your tea on your phone, and having it notify you on your computer Apr 09 22:34:51 or your touchpad Apr 09 22:35:02 * Tibfib has realized even more how much he wants a touchpad Apr 09 22:35:04 "background: background: url(../images/blah.png)" Apr 09 22:35:13 or hell, your webos-enabled recipe reader installed on the bottom of your cupboard Apr 09 22:36:00 I _really_ hope the open up the APIs for synergy beyond what they're doing now Apr 09 22:36:07 Tibfib: Sorted, stupid fail on my behalf Apr 09 22:38:03 Hi guys. Are hybrid apps allowed in the catalog? Apr 09 22:38:34 only for 2.1 apps, yes Apr 09 22:38:48 :( thanks Apr 09 22:39:03 or rather, you have to set the min webOS version at 2.1 Apr 09 22:39:31 oh well... Apr 09 22:41:02 Tibfib: hybrids are not being accepted yet Apr 09 22:41:10 wha? Apr 09 22:41:14 I thought oil could? Apr 09 22:41:27 but he was waiting to remove something that required gov approval Apr 09 22:41:29 its broken iirc Apr 09 22:41:29 no matter what is being said publicly, they are not actually being accepted. Apr 09 22:41:40 woooowwwwww Apr 09 22:41:41 lame Apr 09 22:41:57 Yet another app catalog "issue" that they are working on. Apr 09 22:42:08 are they actually working on it? Apr 09 22:42:39 is christmas "in the coming months" ? Apr 09 22:42:56 they seem to only care about future users/devices and not fixing any current problems Apr 09 22:45:27 can you use node.js service to write to you app directory? Apr 09 22:45:55 should be able to - check the jail config Apr 09 22:46:30 ty Apr 09 22:48:08 yeah, still cant submit Apr 09 22:53:11 lameee Apr 09 23:05:26 on twitter they were like "you can submit them nw!" Apr 09 23:05:41 so i go to submit, and its like "your account isnt allowed to submit hybrids" Apr 09 23:06:29 oil: Did they at least inform you how to get authorisation to submit hybrids? Apr 09 23:06:42 * Popple3 doubts they did Apr 09 23:07:10 that message is the problem Apr 09 23:07:15 everyone is supposed to be able to submit now Apr 09 23:07:21 its not that i need autorization, they need to fix it Apr 09 23:07:48 oh, it's an automated response, is it? Apr 09 23:07:58 yeah Apr 09 23:08:11 if it was a simple matter of needing to be authorized, it would have happened already Apr 09 23:22:38 anyone ever just get so lazy, you consider using tables for layouts...? Apr 09 23:30:23 I only use tables when css isn't playing nice with me when I try and do stuff with divs Apr 09 23:35:33 tables are useful for some things Apr 09 23:35:40 like... tabular data Apr 09 23:35:42 like when using iframes Apr 09 23:35:50 and blinking text Apr 09 23:36:04 :p Apr 09 23:36:51 * halfhalo used an iframe recently.... Apr 09 23:37:55 lolololololol Apr 09 23:38:39 trololololol Apr 09 23:38:54 remember when netscape navigator would choke on tables. Apr 09 23:39:14 the browser would freeze for like 20 secs then finish rendering the page Apr 09 23:39:25 not really because I was using IE for Mac :U Apr 09 23:39:35 lynx Apr 09 23:39:49 there are still computers at my school with ie for mac as the default browser Apr 09 23:39:51 pssh, netscape navigator 4.7 for life Apr 09 23:39:59 sugardave: lol lynx Apr 09 23:41:07 I'm sure glad we are done with table based layouts Apr 09 23:41:17 or... are we.... Apr 09 23:41:19 we've only just begun Apr 09 23:41:23 haha Apr 09 23:41:54 IE 5 for Mac wasn't that bad Apr 09 23:42:08 better than a kick in the balls? Apr 09 23:42:12 in like, 01 Apr 09 23:42:41 yeah Apr 09 23:42:46 in 2011 though it's god awful Apr 09 23:43:36 kaboooooom! Apr 09 23:58:12 nah, you've got to try the prodigy web browser, that's the hot new stuff Apr 09 23:58:19 (in 1994) Apr 10 00:46:25 * Popple3 just realised he completely missed the conversation he himself started... :( Apr 10 00:51:10 on the plus side, I'm quite near completion of an app Apr 10 00:54:32 the question is, how long will the initial setup of inserting ~30 4000 line JSON files into 2 databases (sql for searching/display lists, and Mojo.Depot for storing details since some properties are multiple levels deep) **** ENDING LOGGING AT Sun Apr 10 02:59:57 2011