**** BEGIN LOGGING AT Wed Jul 28 02:59:56 2010 Jul 28 02:59:59 * b3ll gives rwhitby a decently sized cookie Jul 28 03:00:05 lol! Jul 28 03:00:11 * rwhitby bbl (lunch) Jul 28 03:00:12 ill prob just read all of palm's ancient docs Jul 28 03:00:16 then check out the git Jul 28 03:00:17 NO! Jul 28 03:00:26 erm Jul 28 03:00:27 use the sample apps Jul 28 03:00:30 do the tutorials Jul 28 03:00:37 look at the source Jul 28 03:00:41 and then look at efficiency Jul 28 03:00:44 what source Jul 28 03:00:52 they come with the sdk Jul 28 03:00:57 oh yea Jul 28 03:01:03 obv :P Jul 28 03:01:07 and the book(s) Jul 28 03:01:20 learn html+javascript+css from w3schools.com (although I like htmldog.com better for css) Jul 28 03:01:22 http://books.google.ca/books?id=lFSyamqzXNUC&pg=PA59&lpg=PA59&dq=Event+propagation+Mojo+webos&source=bl&ots=h-vBk9Eayw&sig=8EQwNOZkjAch0ic6Cvs-GnhLKHM&hl=en&ei=7UJOTM65CILBnAeSjrWJAg&sa=X&oi=book_result&ct=result&resnum=7&ved=0CDUQ6AEwBg#v=onepage&q=Event%20propagation%20Mojo%20webos&f=false Jul 28 03:01:24 Allen's or Zammetti's Jul 28 03:01:48 Zammetti's is probably better Jul 28 03:01:59 even though I haven't read it Jul 28 03:02:24 nice that it doesn't stop you from having an opionion, though... :) Jul 28 03:02:31 opinion Jul 28 03:02:33 :) Jul 28 03:02:38 thanks :) Jul 28 03:03:08 Living with Sandra Bullock is probably better than living with Roseanne Barr Jul 28 03:03:18 even though I've done neither Jul 28 03:03:49 not the same Jul 28 03:03:57 I've lived with Sandra many times. Jul 28 03:03:59 I've at least done one of the things in the other situation Jul 28 03:04:21 (read allen's book) Jul 28 03:05:19 tim allen? Jul 28 03:05:23 interesting: my app submittal date is 7/28/10 Jul 28 03:05:27 tim allen has a book ? :D Jul 28 03:05:36 ToolTime! Jul 28 03:05:50 yet, here it's only 7/27/10 Jul 28 03:05:58 and in Cali it's only 7/27/10 Jul 28 03:06:06 it's 7/28/10 GMT yo! Jul 28 03:06:18 so, where does Palm's server live? Jul 28 03:06:28 madagascar Jul 28 03:06:39 that makes sense Jul 28 03:06:53 I should have thought, "madagascar" Jul 28 03:06:59 ofc Jul 28 03:07:08 it doesn't matter where the server lives Jul 28 03:07:28 I have servers all over the world, but I have set all their times to GMT Jul 28 03:07:31 you see? Jul 28 03:08:16 no. point me to one of these so-called "servers" Jul 28 03:08:32 uh oh bluff=called; Jul 28 03:09:52 anyways im off to bed Jul 28 03:09:53 gnite :) Jul 28 03:10:05 cya Jul 28 03:10:09 http://www.amazon.com/Tim-Allen/e/B000APX3PO/ref=sr_tc_tag_2?qid=1280286578&sr=1-2-ent Jul 28 03:10:24 he has TWO books! Jul 28 03:10:56 b3ll: night Jul 28 03:11:01 * Tibfib buys Jul 28 03:11:40 dekan: goodnight Jul 28 03:11:40 goodnight is night night Jul 28 03:11:51 night night Jul 28 03:11:57 maik: ping Jul 28 03:12:02 haeffb: night Jul 28 03:12:08 haeffb: night Jul 28 03:15:23 morning? Jul 28 03:15:32 sometimes, I get so focused on night Jul 28 03:15:37 and all the sudden it's morning again Jul 28 03:15:55 morning folks Jul 28 03:16:15 still night here Jul 28 03:16:16 gosh darnit Jul 28 03:16:25 just finished bubble gum ice cream Jul 28 03:16:26 yum Jul 28 03:16:34 eww Jul 28 03:16:40 hush. Jul 28 03:16:47 The best flavour Jul 28 03:16:48 ever Jul 28 03:16:53 Besides cookie dough ofc Jul 28 03:17:03 and cookies and cream Jul 28 03:17:06 and vanilla Jul 28 03:17:09 ew! Jul 28 03:17:11 just sayin. Jul 28 03:17:12 vanilla? Jul 28 03:17:30 yes... Jul 28 03:17:34 * Tibfib goes back to coding Jul 28 03:17:40 * Anivrom follows suit Jul 28 03:19:52 you guys Jul 28 03:19:58 don't make me lecture you about ice cream Jul 28 03:20:05 I always have to come in here and give lectures Jul 28 03:20:08 it seems Jul 28 03:20:21 I know that no one asks, but I just feel that it's my duty Jul 28 03:20:25 you don't have to, you just "feel" you do Jul 28 03:20:39 YES BUT THESE ARE IMPORTANT :D Jul 28 03:21:05 seriously though Jul 28 03:21:07 ice cream Jul 28 03:21:09 sucks Jul 28 03:21:17 and we can keep it to the three basics Jul 28 03:21:21 vanilla Jul 28 03:21:24 chocolate Jul 28 03:21:27 and fish Jul 28 03:21:30 I would normally agree except bubble gum and cookie dough and a few select varieties of DQ Jul 28 03:23:35 man I wish I would have gotten that piece of cake Jul 28 03:23:39 anyone ever been to sweetwaters? Jul 28 03:27:19 is there an app that lets you type in 2+ options and have the app decide? Jul 28 03:27:34 prolly Jul 28 03:27:46 Dont know specifically Jul 28 03:28:03 I'll just ask you guys Jul 28 03:28:06 rooms or contacts? Jul 28 03:28:19 huh? Jul 28 03:28:23 just pick one Jul 28 03:28:55 If I'm not notified of the reprocussions of my decision then I'm afraid I cannot decide Jul 28 03:29:13 ... there are no reprocussions. I'm trying to decide what to work on first Jul 28 03:29:17 oh Jul 28 03:29:23 contacts. Jul 28 03:29:27 okay Jul 28 03:29:27 Basics first Jul 28 03:29:27 cool Jul 28 03:29:37 back to coding Jul 28 03:30:04 thanks Jul 28 03:36:10 Designing a game sucks all the joy out of the actual game itself since you know all about it. nothing is new therefore you can't get excited at any point lol Jul 28 03:38:11 not true. Jul 28 03:38:17 True for me Jul 28 03:38:31 Maybe it's the type of game I'm making specifically Jul 28 03:38:51 cause I don't actually enjoying playing these types of games in general Jul 28 03:39:03 ah Jul 28 03:39:16 Was my wifes idea :P just went along with it Jul 28 03:39:50 Anivrom: you have to make a game that changes every time Jul 28 03:40:33 Ellaborate Jul 28 03:40:58 like a puzzle game Jul 28 03:41:11 or a rpg Jul 28 03:41:16 Oh trust me there's plenty to do each time you open this app Jul 28 03:41:38 lol, that doesnt sound good Jul 28 03:41:40 :) Jul 28 03:41:43 I mean as the developer... If you have levels that are the same for every user, you'll get bored of the app Jul 28 03:41:50 things gotta be dynamic Jul 28 03:42:07 * Tibfib is still waiting for a killer RPG Jul 28 03:42:22 for now i'll just play VBA Jul 28 03:42:38 yea might as well. best rpg's are already made anyways Jul 28 03:54:02 emergent play Jul 28 03:54:08 if you make a game with some actual depth Jul 28 03:54:20 app catalog nor working Jul 28 03:54:21 players will exploit the mechanics to degrees you never imagined Jul 28 03:54:31 * Tibfib dreams of making a fire emblem clone with the pdk some day Jul 28 03:58:06 Tales of Phantasia? Jul 28 03:58:13 that would be awesome :) Jul 28 03:59:05 it's really very simple Jul 28 03:59:12 build a 2d canvas game Jul 28 03:59:18 controlled with the canvas Jul 28 03:59:22 sorry Jul 28 03:59:24 accelerometer Jul 28 03:59:34 and add sounds and flashy animations Jul 28 03:59:37 people will go nuts Jul 28 03:59:41 and cry and stuff Jul 28 03:59:50 and you will make thousands of dollars Jul 28 04:00:55 listening to Tiesto Jul 28 04:01:14 honestly let's just make a competitor to doodlejump Jul 28 04:01:22 like let's completely blow it out Jul 28 04:01:27 spend a million dollars on it Jul 28 04:01:42 what is doodlejump Jul 28 04:01:46 it's the game Jul 28 04:01:49 for iphone Jul 28 04:01:57 * Tibfib needs to make custom dialogs and buttons. sigh Jul 28 04:01:59 often imitated Jul 28 04:02:14 there's cloudhopper and skyclimber Jul 28 04:02:16 oh ok Jul 28 04:02:18 yeah Jul 28 04:02:23 we need to do like Jul 28 04:02:27 skyclimber X Jul 28 04:02:29 directors cut Jul 28 04:02:31 glu mobile has an awesome version of that Jul 28 04:02:34 dont remember the name Jul 28 04:02:37 (not rated) Jul 28 04:02:44 I'd consider paratrooper webos' doodlejump Jul 28 04:02:52 Anivrom: jump o clock Jul 28 04:02:55 though it's like the opposite of doodlejum Jul 28 04:02:56 p Jul 28 04:02:57 since you fall Jul 28 04:04:13 almost ready to release my rendition of an IM Jul 28 04:04:26 LoneStar99: oh yeah? Jul 28 04:04:31 ss? Jul 28 04:04:34 yeap Jul 28 04:05:08 * Anivrom thinks lonestar is lying Jul 28 04:05:12 jesus christ Jul 28 04:05:19 how much is a pack of paper plates seriously Jul 28 04:05:29 there's a wide open market for a cheap nice im app Jul 28 04:05:31 I'm about to buy a lifetime supply Jul 28 04:05:39 this washing dishes stuff is starting to be crap Jul 28 04:05:40 agile messenger is amazing looking...but is $10 Jul 28 04:05:49 they should have gone $4...$5 at the most Jul 28 04:06:24 lost about 6hrs today getting it ready, had to hang out with people Jul 28 04:06:44 how do you get out of a loop in js? break;? Jul 28 04:06:51 break; ends it Jul 28 04:06:56 ok Jul 28 04:07:09 continue skips to next Jul 28 04:07:15 didnt know whether it was specifically reserved for switch/case Jul 28 04:07:17 w3schools is your friend Jul 28 04:07:23 nope Jul 28 04:07:24 torchie: don't do that Jul 28 04:07:35 didnt find it in w3schools (I checked) Jul 28 04:07:41 dekan, w3schools is your friend, http://w3schools.com Jul 28 04:07:42 Okay, Tibfib. Jul 28 04:07:42 LoneStar99: WIll it operate on AJAX requests? Jul 28 04:07:48 w3schools Jul 28 04:07:48 w3schools is your friend, http://w3schools.com Jul 28 04:07:52 albeit a quick check, and only to the for section. Jul 28 04:07:53 scoobysnack Jul 28 04:07:53 Scoobydoobeedoo! Jul 28 04:08:07 dekan: smother Jul 28 04:08:07 So's your face. Jul 28 04:08:15 :( Jul 28 04:08:29 Anivrom: there's a section called JS break loops :) Jul 28 04:08:37 w00t Jul 28 04:08:54 back to coding Jul 28 04:08:55 ah yes. didn't read that far Jul 28 04:10:41 alexfner: they all have to operate on some interaction with the cloud Jul 28 04:10:49 LoneStar99: right Jul 28 04:10:56 LoneStar99: how have you decided to do it? Jul 28 04:12:04 this IM works differently by nature, it is multi-threaded Jul 28 04:12:07 LoneStar99: I have no interest in taking your idea, mostly curious because webOS doesn't support sockets right now, so I imagine you're using something like long-polling? Jul 28 04:12:19 or are you using PDK? Jul 28 04:12:53 meaning you can have different thread with the same person. Jul 28 04:13:32 like folks can chat until the scroll bar goes far down, start a new thread Jul 28 04:13:43 LoneStar99: interesting Jul 28 04:13:54 LoneStar99: but how are you doing the communication? Jul 28 04:13:58 might be confusing...but if well implemented it could be awesome Jul 28 04:14:10 alexfner: it is all ajax Jul 28 04:14:21 LoneStar99: where'd you get the api's from? Jul 28 04:14:37 the threads go to sleep after awhile Jul 28 04:15:57 Tibfib: no API, made the system Jul 28 04:16:07 LoneStar99: based on each protocol? Jul 28 04:17:01 Tibfib: each protocol of what? Jul 28 04:17:09 each IM protocol Jul 28 04:17:13 what does it support? Jul 28 04:17:15 LoneStar99: So all interaction goes through a server, and then ajax polling to send down to the clients. How responsive is that? Jul 28 04:17:18 or is it custom? Jul 28 04:17:19 libpurple protocols Jul 28 04:17:49 Ah nice Jul 28 04:17:52 Anivrom: Oh you! Jul 28 04:18:07 Tibfib: custom Jul 28 04:18:43 Time for an SS. pm me with it and I promise not to share :P Jul 28 04:19:07 * Tibfib wants a ss too! Jul 28 04:19:16 ss? Jul 28 04:19:19 social security? Jul 28 04:19:21 alexfner: from my tests it is better to do most processing on the server Jul 28 04:19:21 screenshot Jul 28 04:19:38 LoneStar99: Yeah, what kind of response times do you get? Jul 28 04:20:05 I mean Jul 28 04:20:16 I had been worried about ajax requests wearing down battry life Jul 28 04:20:18 and being slow Jul 28 04:20:29 alexfner: app can run for 6+ hours getting requests Jul 28 04:20:33 especially when IM is somthing that should be instantaneous Jul 28 04:20:46 LoneStar99: using long-polling? Jul 28 04:21:04 LoneStar99: What strategy for requests did you find worked best? Jul 28 04:21:12 I am really curious about this Jul 28 04:21:15 Long polling== win unless no websockets then its win Jul 28 04:21:48 halfhalo_T400: Your statement didn't make sense. Based on this I am going to assume you're in the bathtub at the hotel with a martini Jul 28 04:21:52 * Tibfib wonders how to setup long-polling in mojo Jul 28 04:22:01 Im' going to assume he meant !== Jul 28 04:22:04 Tibfib: it's mostly server side Jul 28 04:22:04 Damn straight Jul 28 04:22:14 alexfner: got that :) Jul 28 04:22:18 ok let me get a screenshot Jul 28 04:22:19 just curious how it would be done? Jul 28 04:22:24 well you delay your response Jul 28 04:22:28 so on the client Jul 28 04:22:29 howwwwww Jul 28 04:22:32 it would just be an ajax request Jul 28 04:22:52 The client has to support it as well as the server Jul 28 04:22:55 how do you delay the response is my question Jul 28 04:22:59 mojo does not inside apps iirc Jul 28 04:23:09 From wikipedia Jul 28 04:23:11 "Long polling is a variation of the traditional polling technique and allows emulation of an information push from a server to a client. With long polling, the client requests information from the server in a similar way to a normal poll. However, if the server does not have any information available for the client, instead of sending an empty response, the server holds the request and waits... Jul 28 04:23:13 ...for some information to be available. Once the information becomes available (or after a suitable timeout), a complete response is sent to the client. " Jul 28 04:23:14 alexfner: ajax requests is all we got Jul 28 04:23:22 coulda pastebin'd that Jul 28 04:23:24 alexfner: I already read that Jul 28 04:23:38 my question is how you do the delay Jul 28 04:23:45 LoneStar99: I understand that. I'm saying, what kind of polling did you implement to get that kind of battery life and responsitivity Jul 28 04:23:47 Server side Jul 28 04:23:51 so mojo doesn't time out ajax requests Jul 28 04:24:03 halfhalo_T400: yes... Jul 28 04:24:25 Tibfib: http://en.wikipedia.org/wiki/Comet_%28programming%29 Jul 28 04:24:37 The server automagically takes care of it. Nginx has a plugin and node.js's socket.io library does it as well if no websocket support Jul 28 04:24:48 alexfner: let me get a screenshot brb Jul 28 04:25:44 halfhalo_T400: well, I'd have to make the server do it automagically, so I'm wondering how it works Jul 28 04:25:55 alexfner: thanks for the link Jul 28 04:27:45 Damn hotel internels Jul 28 04:27:53 why do all ipad im apps suck Jul 28 04:28:52 so tired. goodnight Jul 28 04:29:44 halfhalo_T400: cause there's no multitasking! Jul 28 04:30:13 There is when its jailbroken Jul 28 04:33:30 well just dip it in the bath tub with you! Jul 28 04:33:35 it won't mind! Jul 28 04:45:38 http://nooooooooooooooo.com/ Jul 28 04:45:47 dekan: no is http://nooooooooooooooo.com/ Jul 28 04:45:47 Okay, Tibfib. Jul 28 04:49:20 http://admin.work.lonestarbeer.operaunite.com/file_sharing/content/bobby1.png Jul 28 04:51:18 oh interesting Jul 28 04:51:30 whats with the stuff overlayed over other stuff? Jul 28 04:51:37 kinda weak screenshot, but am sleep deprived, that chat there is sleeping Jul 28 04:53:00 those are your buddies, you can close it on tap, but it will get more interesting Jul 28 04:56:09 alexfner: like I said everything is different, instead of new chat being on the bottom it is on the top Jul 28 04:57:37 and it has threads Jul 28 04:58:55 * Tibfib finally found a new band to listen to Jul 28 04:59:28 thank you grooveshark radio Jul 28 05:18:52 Tibfib: I can get frustrated by groovesharks lack of selection Jul 28 05:19:51 they aren't bad. I don't typically use radio so I haven't had a chance to be frustrated Jul 28 05:22:02 ah Jul 28 05:22:04 well use radio Jul 28 05:22:07 be frustrated Jul 28 05:29:23 alexfner: thinking about the polling stuff is that more efficient? Jul 28 05:30:43 LoneStar99: It could allow more timely responses, if your responses are coming in late. This is the primary benefit of long polling Jul 28 05:31:06 responses would sort of be "pushed" down to the device, so it'd be more instantaneous Jul 28 05:31:31 but it could harm or improve battery life, depending on the use case, so that could be null, positive, or negative Jul 28 05:31:38 I cannot exactly comment on battery life Jul 28 05:32:03 alexfner: IM, is just that, can't poll nothing Jul 28 05:32:24 hm? Jul 28 05:32:28 what do you mean? Jul 28 05:32:34 perhaps if the account has been inactive for X time polling would work Jul 28 05:34:26 so are you sending an ajax request a second or something? Jul 28 05:34:45 neah every second is to much Jul 28 05:35:53 right so how much? Jul 28 05:35:55 how often? Jul 28 05:36:56 say 5 - 10 seconds, Jul 28 05:36:56 5 - 10 seconds! Jul 28 05:37:31 scoobysnack Jul 28 05:37:31 Scoobydoobeedoo! Jul 28 05:37:37 the devices would crash if every second Jul 28 05:38:00 have no time to process the request Jul 28 05:38:48 it wouldn't crash Jul 28 05:38:54 ajax requests are asynchronous Jul 28 05:39:05 it would probably just slow slow slow down Jul 28 05:39:10 but yeah def way too often Jul 28 05:39:13 however Jul 28 05:39:16 you could open a long poll Jul 28 05:39:20 and just have it sit Jul 28 05:39:27 and have the server push every 5-10 sec Jul 28 05:39:37 it might hurt battry though Jul 28 05:40:04 so if that way works I don't think it's necessary Jul 28 05:40:08 alexfner: from my tests it crashed with to much data every 5-10 seconds Jul 28 05:40:15 ah Jul 28 05:40:35 maybe you were just fillin up memory Jul 28 05:40:43 who knows Jul 28 05:41:31 slowed down and eventually had to hard restart Jul 28 05:42:17 alexfner: yeah pretty sure it has to do with memory being filled up Jul 28 05:42:25 werd Jul 28 05:43:22 it only happened once. Jul 28 05:43:53 but need to get some sleep, so will chat with you folks tommorroa Jul 28 05:43:58 GN all Jul 28 05:43:59 lata Jul 28 05:44:03 laters Jul 28 05:59:29 oy Jul 28 05:59:35 Good morning Jul 28 05:59:35 good morning hotdp Jul 28 06:15:48 * Tibfib wished the stage-inspector worked better Jul 28 06:16:33 wishes. Jul 28 06:19:15 Yoyoyooyoyo Jul 28 06:20:46 Tibfib, what do you miss? Jul 28 06:21:59 http://developer.palm.com/blog/2010/07/hot-apps-winners-announced/ Jul 28 06:22:23 hotdp: multi-stage support... not crashing Jul 28 06:22:35 hehe Jul 28 06:22:38 i see :) Jul 28 06:23:45 yeah. I might have to make my app single stage just to fix a silly style issue Jul 28 06:24:05 I have never had problems Jul 28 06:24:20 with multple stages? Jul 28 06:24:22 dkirker: bout time! Jul 28 06:24:35 what do you do "wrong" ? Jul 28 06:25:29 it doesn't work Jul 28 06:25:40 you can only look at the head, not the body. which is what matters Jul 28 06:27:06 morning Jul 28 06:27:31 Sweeet Jul 28 06:27:35 morning swisstomcat Jul 28 06:27:43 Setting camera to 1/6000th shutter speed for tomorrow Jul 28 06:28:03 hi hotdp Jul 28 06:29:16 woops. If I catch swisstomcat waking up, it means I should be asleep Jul 28 06:29:46 night all Jul 28 06:32:36 yay, Moo won $1000 in the hot apps contest Jul 28 06:32:44 http://bit.ly/a52gZI Jul 28 06:35:56 congratz swisstomcat :) what a suprise ;) Jul 28 06:36:19 thanks Jul 28 06:36:58 Not all apps deserve the 10k buks i think Jul 28 06:38:05 * rwhitby tries to remember who pledges donations to WebOS Internals if they won stuff ;) Jul 28 06:38:36 rwhitby hehe there where many who wrote it in description. Jul 28 06:39:32 * oil also won 1k Jul 28 06:39:50 yeah, but oil cheated Jul 28 06:40:37 OH SNAP! Ethernet cord stretches to the bed! Jul 28 06:40:40 congrats oil :) Jul 28 06:41:18 how did he cheat? Jul 28 06:41:24 ;) Jul 28 06:41:34 oil cheated by actually having a good app Jul 28 06:45:21 * oil hasn't released an update for it in forever Jul 28 06:45:46 Lies Jul 28 06:46:03 what app is it oil? Jul 28 06:46:08 dot game Jul 28 06:46:14 "oil in the gulf"! Jul 28 06:46:31 HA HA HA Jul 28 06:46:33 HA HA H A Jul 28 06:46:33 ahh Jul 28 06:46:35 HA HA HA HA HA Jul 28 06:46:37 so funny Jul 28 06:46:41 I nearly fell off my seat Jul 28 06:46:49 No, that was gas Jul 28 06:47:00 * hotdp thinks there a many bible apps Jul 28 06:47:13 Getting my friend to get a pre plus on att Jul 28 06:47:33 halfhalo_T400_: if he/she doesn't like it, he/she will be calling you all the time Jul 28 06:48:25 lol. he does anyways Jul 28 06:48:31 oh man Jul 28 06:48:37 I am really having a problem Jul 28 06:48:48 I am trying to draw borders around canvas shapes Jul 28 06:48:55 and I can't seem to figure out a good way to do it Jul 28 06:49:00 halfhalo_T400_: developer.palm.com says 11-27-2009 was the publish date Jul 28 06:49:04 globalCompositeOperation doesn't work for transparency Jul 28 06:49:07 i believe thats of the update Jul 28 06:49:09 Is it like buying computer for family? They automatic get 24/7 support for as loong as they have the computer? Jul 28 06:49:19 nice Jul 28 06:49:29 * halfhalo_T400_ may actually have that game Jul 28 06:49:30 I could simply draw a rect and stroke around a rectangle Jul 28 06:49:42 but circles are not nearly as simple Jul 28 06:56:52 whoo just got it Jul 28 06:56:54 I win :D Jul 28 07:02:43 can you do ajax requests pointed files inside your application? Jul 28 07:03:13 I think that my brain just short circuited... Jul 28 07:03:34 for example Jul 28 07:03:47 ajax to a file, to grab xml Jul 28 07:03:59 because what I am working on Jul 28 07:04:04 is a desktop app in the browser Jul 28 07:04:08 and I plan to port it to the phone Jul 28 07:04:11 i think so Jul 28 07:04:13 but it has a lot of resources Jul 28 07:04:22 so I would ask for them only when needed Jul 28 07:35:54 got my canvas doing magic math Jul 28 07:56:39 hey guys, good news! Jul 28 07:56:44 tied! =D Jul 28 07:56:48 caught up Jul 28 07:59:41 hey Jul 28 08:02:12 caught up to? Jul 28 08:37:37 swisstomcat =D Jul 28 08:37:56 alexfner, I caught up to rank #1 in the contest I am in =) Jul 28 08:37:59 hmm? Jul 28 08:38:11 hmmm... Jul 28 08:38:39 hi tomlee =) Jul 28 08:38:48 does pushscene take one arg, or two args? i've seen both cases... Jul 28 08:38:58 hi there Jul 28 08:41:54 which contest? Jul 28 08:43:07 well, the doc sez one (string|obj), but the built-in photos app is calling with 2 args Jul 28 08:43:18 tomlee: you can use one or two Jul 28 08:44:05 ok, thanks a lots Jul 28 10:46:02 rehi Jul 28 10:46:19 welcome back Jul 28 11:08:59 ping Jul 28 11:09:54 ping Jul 28 11:11:02 Ping Jul 28 11:13:06 Anybody here use wirc? Jul 28 11:13:28 yer Jul 28 11:14:14 yeah Jul 28 11:14:32 I'm connected to freenode, but can't connect to undernet or any other nets. Can it do more than one or am I missing something? Jul 28 11:18:30 I've got efnet and quakenet both trying at the same time. Nada... Jul 28 11:30:29 strange Jul 28 11:31:12 gu1l7y5p4rk: #wirc might be able to help Jul 28 11:31:28 swisstomcat: congrats on Moo! Jul 28 11:31:52 thank you, haeffb .. did you get something too? Jul 28 11:32:01 Tried #wirc. Everybodies asleep there... Jul 28 11:43:41 Done is in the 1K group Jul 28 11:44:04 wonder why they didn't show the rankings? Jul 28 11:44:07 congrats Jul 28 11:44:13 yeah, i wondered about that too Jul 28 11:44:19 it's just sorted by Name Jul 28 11:49:04 i think i was #90 Jul 28 11:50:36 looks like i'm going to write one or two webos tutorials (about creating the tuts+ app) for mobiletuts ... does $200 per tutorial (1200 words+) seem reasonable? Jul 28 11:52:45 strangely, no Brighthouse or AppBookShop on the list Jul 28 11:53:14 how long will it take you to write them? Jul 28 11:55:54 that's a good question Jul 28 11:56:16 have to see how much 1200 words is Jul 28 12:05:57 swisstomcat, how do they get money ? Adds? Jul 28 12:06:06 Or shall you buy some of the toturials Jul 28 12:06:42 ads Jul 28 12:08:28 200$ is nice :) Jul 28 12:08:45 And the thought that many people will like to read and learn things you write Jul 28 12:08:58 Lol Jul 28 12:10:34 i'll better brush up my writing skills :) Jul 28 12:29:54 Do someone know Node.js ? Jul 28 12:30:27 only a bit .. ask halfhalo Jul 28 12:30:36 why? Jul 28 13:11:17 I need Mojo Messaging Jul 28 13:11:20 But it is not here Jul 28 13:11:28 So maybe i could use node.js Jul 28 13:13:21 yeah, node.js will come to webos Jul 28 13:13:24 in the next big update Jul 28 13:13:36 to write services in javascript instead of java Jul 28 13:19:30 Nice Jul 28 13:20:05 I just need the ability to push data instead of polling every sec. Jul 28 13:20:38 But when...... if they want us to create apps. they must give us the tools needed? Jul 28 13:22:00 probably autumn Jul 28 13:22:29 :( the only app ideers i have now need that communication Jul 28 13:22:45 Do you have some extras to give away` Jul 28 13:22:46 morning Jul 28 13:23:06 morning lonestar99 Jul 28 13:23:59 morning lonestar Jul 28 13:25:18 raining here, and time for breakfast Jul 28 13:41:32 how is everyone doing today? Jul 28 13:42:07 ok :) you? Jul 28 13:42:35 good got some good sleep 6 hrs! Jul 28 13:43:41 thats not much Jul 28 13:43:49 I function best with 8-9 :D Jul 28 13:44:19 had slept about 3-4 hrs in the last 13 days Jul 28 13:44:35 a night Jul 28 13:46:22 why? Jul 28 13:46:43 i've got a half-dead palm pre - the phone says "Telefon offline" (german o2) in the upper right corner, TIL floods the logs with ERROR=modemlinkerror. Any clues what i could try? Jul 28 13:46:49 to much coding to do Jul 28 13:47:10 time to return it, dthought Jul 28 13:48:34 swisstomcat: looks like no bueno Jul 28 13:49:49 hmm? Jul 28 13:50:35 sorry - i thought you where the phone problem dude --> DThought Jul 28 13:50:44 ah Jul 28 13:50:50 maybe 6 hrs of sleep is not enough... Jul 28 13:51:19 LoneStar99: no bueno = no luck? ;) Jul 28 13:52:10 DThought: "no bueno = no good" Jul 28 13:52:39 but it is not correct spanish Jul 28 13:53:04 "no esta bueno" is correct Jul 28 14:08:13 morning all Jul 28 14:09:23 hey HattCzech Jul 28 14:13:25 morning Jul 28 14:13:43 bbl Jul 28 14:23:41 anyone know where the list is of the hot apps winners? Jul 28 14:24:02 i see that precentral made a post about it, but where's the source? Jul 28 14:27:48 found it if anyone cares: http://developer.palm.com/index.php?option=com_content&view=article&id=2098 Jul 28 14:33:56 too bad it doesn't show the ranking Jul 28 14:38:09 yeah Jul 28 14:38:22 and too bad that dijit won a couple of $1k prizes Jul 28 14:38:38 that means we'll probably see some more horrible apps popping up in the catalog Jul 28 14:41:31 lol ... Where for art thou 1.4.5? Thine US brethren doth suffer. Jul 28 14:45:23 i agree Jul 28 14:48:19 HattCzech_work: will get the translations to you by thursday morning (US) Jul 28 14:48:43 cool, thanks Jul 28 14:48:43 what apps are "dijit" ? Jul 28 14:52:14 rehi Jul 28 15:01:51 dijit is one of the app spammers Jul 28 15:02:19 i'm not sure of all of the apps they've made, but there are WAY TOO MANY Jul 28 15:08:13 HattCzech_work: that sucks, shitty apps really suck Jul 28 15:08:23 indeed Jul 28 15:08:46 i like that preware has a filter now, but i want to see that in the real app catalog Jul 28 15:11:36 HattCzech_work: i do not mind a person trying hard to make an app, and it lacks here and there, but to be making "shit" apps for profit is not good for anyone but the profiteer Jul 28 15:12:39 yeah, which is one reason i liked the app fees Jul 28 15:12:48 well, not liked... Jul 28 15:12:50 but understood Jul 28 15:13:27 yeah, same here Jul 28 15:22:45 what is the name of some of the shitty apps HattCzech Jul 28 15:22:59 ? Jul 28 15:24:10 my app search engine is down for the moment.... Jul 28 15:26:09 Hello everyone! Jul 28 15:26:28 hello lquarles Jul 28 15:27:16 Trying out wIRC on my Pre, I love it. Haven't used IRC in years. Jul 28 15:36:00 Anyone using webOS 1.4.5? Jul 28 15:37:26 yep Jul 28 15:38:34 How is your battery life? Jul 28 15:39:17 hmm just got new batt. sooooo... Jul 28 15:39:43 should it help on that? i am running 800;hz Jul 28 15:39:50 does it gethot Jul 28 15:40:01 having my usb cord around, i'm pretty well doing... but when driving train, i'm getting used to keep it charged Jul 28 15:40:35 I'm not sure if it was supposed to help with battery, but mine seems to drain faster. Jul 28 15:41:28 wirc eats battery Jul 28 15:43:15 Robdor: hows the game Jul 28 15:43:52 codeslaw: Pretty good, I had a few people do an alpha test of some of the levels and the feedback was positive. Jul 28 15:44:21 I wish that 1.4.5 was out so that I could get more people beta testing. Jul 28 15:44:40 Robdor, what are you working on? Jul 28 15:44:53 no it does not get hot att all codeslaw Jul 28 15:45:23 lquarles: It's a PDK game. A physics based puzzle game. It's kind of like ragdoll blaster on the iPhone if you have ever played that. Jul 28 15:45:32 hotdp_pre: sorry for the delay... there are some ringtones apps, some background apps, and probably others... things like "babe backgrounds" and such Jul 28 15:46:02 ohh.. hope he does not sell much so he stops :-) Jul 28 15:47:08 Howdy folks. Jul 28 15:47:21 lquarles: I think I posted right after you disconnected. :) Jul 28 15:47:25 lquarles: It's a PDK game. A physics based puzzle game. It's kind of like ragdoll blaster on the iPhone if you have ever played that Jul 28 15:47:31 Hi Roy-Pre101 Jul 28 15:47:45 Anyone used the download manager service/ Jul 28 15:48:34 Cool, thanks robdor. I was testing to see if I closed the main wIRC card the chat cards would still stay open. They didn't. lol Jul 28 15:59:57 morning chuqui Jul 28 16:00:05 yhey, good morning Jul 28 16:01:22 codeslaw: Are you still working on a PDK app? Jul 28 16:03:39 I hope at least a quarter of iPhone devs start to bring their apps over soon, that would be nice. Jul 28 16:04:47 Robdor: yes, finishing up my drum machine app Jul 28 16:05:11 Awesome! Are you a drummer? Jul 28 16:05:32 no, keyboardist Jul 28 16:05:54 lquarles: I hope they wait until after the PDK hot apps contest to port. :) Jul 28 16:05:58 the demo version will have 2 tracks, drums and marimba Jul 28 16:06:26 full version up to X tracks, havent determined the max possible yet Jul 28 16:06:36 haha Jul 28 16:07:06 Have you been able to beat SDL_mixer into submission or are you still getting lags and pops? Jul 28 16:08:29 SDL_mixer now bends to my command Jul 28 16:09:42 had to try a lot of different encodings Jul 28 16:10:09 but i have a nice template set up Jul 28 16:10:21 What encoding worked best for you? Jul 28 16:10:59 8k bitrate, 16bit wav, 256 buffer Jul 28 16:12:38 there is still a minor latency, which makes the sequencer seem like it's behind the beat, so i compensate with both a real-beat and predictive beat calculation, for the visual and audio processing, respectively Jul 28 16:14:20 I'm using 44.1k for my sound effects so that they match up with the background music. I have a little latency, but not enough to be noticeable to most people. Jul 28 16:16:01 Certainly not enough latency to warrant screwing around with the SDL_Mixer settings agin. :) Jul 28 16:18:24 ya, it's a pain Jul 28 16:20:34 how far off from release is your game? Jul 28 16:22:55 Hopefully a few weeks. I only have a few more additions I need to make to my engine, then I just need to finish building my levels. Unfortunately I have 66 levels left to build. Jul 28 16:23:03 ok maybe I'm not getting this splice method... it erases my whole array. do I need to explicitly state the 2nd arg to 1? I thought it would default Jul 28 16:23:43 apparently it defaults to the whole array past i Jul 28 16:23:52 game.inventoryItems.snacks.splice(i); Jul 28 16:27:21 codeslaw: Do you want to beta test the game? Jul 28 16:27:32 robdor: I will :D Jul 28 16:27:34 sure Jul 28 16:28:38 Are you running 1.4.5? Jul 28 16:28:42 66 levels... this is why im not sure how good of a game dev I would be. Jul 28 16:28:45 aahh.. no i am not Jul 28 16:28:49 I am Jul 28 16:29:03 i supposed i should be Jul 28 16:32:03 codeslaw: They are small levels, so they are quick to build. I also wrote a level builder in processing.js, so that helps quite a bit. I am way too lazy to build 66 big levels. :) Jul 28 16:32:17 truth Jul 28 16:37:19 Anivrom: I sent the IPK. Thanks for testing! Jul 28 16:37:45 Thanks for including me Jul 28 16:37:50 I love beta testing Jul 28 16:39:34 hallo from Michigan everybody! Jul 28 16:39:55 Anivrom: Are you working on a PDK app too? Jul 28 16:40:04 Nah sdk canvas. Jul 28 16:42:19 good morning everyone Jul 28 16:43:21 Anivrom: Do you get pretty good performance out of the canvas? Jul 28 16:45:10 Yea its good Jul 28 16:45:15 Although I get random GC's Jul 28 16:45:24 And btw this game is my new favourite game Jul 28 16:45:27 It's freakin sweet Jul 28 16:45:46 Thanks :) Jul 28 16:46:02 awwww its only a demo Jul 28 16:46:27 demo demo demo! Jul 28 16:46:31 Yeah, only 6 levels done so far. Jul 28 16:47:00 what game? Jul 28 16:47:19 its a tad easy at this point thoough Jul 28 16:47:25 but im sure that will change Jul 28 16:47:27 maik: Cannon Glow. It's a PDK game that I'm working on. Jul 28 16:47:35 Yeah, the levels will get harder as you progress. Jul 28 16:47:40 oh sweet Jul 28 16:47:42 is that the final name? Jul 28 16:47:50 screenshots? Jul 28 16:47:51 guys just use 2d canvas ya dinguses! Jul 28 16:48:08 codeslaw: No, just my development name. It's lame, I know.... :) Jul 28 16:48:30 haha just making sure... name + icon make all the difference in the world of the app store Jul 28 16:48:37 Codename: cannon glow Jul 28 16:48:42 That would be a sweet name Jul 28 16:49:29 maik: This is what it looked like a month ago: http://www.youtube.com/user/robholio7#p/a/u/0/q5f1xqeoJoo -- It still looks pretty much the same. Jul 28 16:49:55 yea Jul 28 16:49:56 wow... Jul 28 16:50:00 It's fun to play too Jul 28 16:50:12 Gona play through it a 3rd time :P Jul 28 16:51:00 Robdor Jul 28 16:51:15 Maybe I suggest having a visible limit on the amount of balls you can use, adds a bit of difficulty Jul 28 16:51:20 ppl have to think it through more Jul 28 16:52:34 Robdor: is it just SDL/ Jul 28 16:52:36 ? Jul 28 16:53:38 game.inventoryItems.snacks.splice(i,1); erases my whole array!!!1 whyyyyy Jul 28 16:53:41 anyone wanna chime in Jul 28 16:53:58 no! Jul 28 16:54:09 :( Jul 28 16:54:09 Anivrom: That's a good suggestion. Maybe I'll make old balls disappear after there are 10 or so on the screen. Jul 28 16:54:11 i mean... i don't know Jul 28 16:54:20 right Jul 28 16:54:22 maik: It's OpenGL. Jul 28 16:54:31 in a magical fury of exploding colourful particles! Jul 28 16:54:39 To stick with the theme : Jul 28 16:54:39 P Jul 28 16:54:54 that's what i figured, you had mentioned SDL but just sound stuff Jul 28 16:56:01 digitalpowers is working on a PDK game as well. the thing is he's really good with coding and concepts, but graphics are definitely not his strong point Jul 28 16:56:14 lol Jul 28 16:56:29 wanted to show him your video to kinda show him what's possible Jul 28 16:57:02 Graphics aren't my strongest point either, that's why everything in my game is a basic shape. :) Jul 28 16:57:47 man disney bought playdum Jul 28 16:57:50 wow Jul 28 16:57:51 for 500 million Jul 28 16:57:54 playdium? Jul 28 16:58:03 there's one here in mississauga Jul 28 16:58:44 no Jul 28 16:58:46 playdom Jul 28 16:58:47 sorry Jul 28 16:58:49 spelled it wrong Jul 28 16:58:54 the people who make social networking games Jul 28 16:59:00 bought it for $500 million Jul 28 16:59:03 they make mobsters Jul 28 16:59:08 a game I have never actually played Jul 28 16:59:54 $763M Jul 28 17:00:00 ah my brother plays that Jul 28 17:00:03 he's 28 lol Jul 28 17:00:04 http://www.bizjournals.com/triangle/stories/2010/07/26/daily26.html Jul 28 17:00:42 hah Jul 28 17:00:46 I just heard 500 mil on npr Jul 28 17:00:52 maik: What kind of game is digitalpowers making? Jul 28 17:01:02 ah Jul 28 17:01:16 ah, purchase price was for $563.2M with an option of $200M if they meet some performance goals Jul 28 17:01:40 that's just absurd Jul 28 17:01:45 is playdom a public company? Jul 28 17:01:47 or private? Jul 28 17:01:52 Robdor: i'm not sure he wants me to talk about it, but you can ask him if he comes in Jul 28 17:02:07 not sure how he is with these things, but rest assured it's nothing like what you have going :) Jul 28 17:02:28 alexfner: private, i imagine Jul 28 17:02:39 any idea how many employees they have? Jul 28 17:03:30 article says 20 Jul 28 17:03:34 RTFA :) Jul 28 17:03:34 oh robdor: I think you need to simplify the instructions. using this=that is very developer friendly but not end-user stupid-proof Jul 28 17:04:00 green=movable makes sense to a programmer Jul 28 17:04:05 Might not to a kid Jul 28 17:04:59 and me and my wife both missed the instructions the first time we loaded the levels cause we just wanted to play, didnt notice text on the scree. Jul 28 17:05:18 well Jul 28 17:05:18 maybe make it popup with a rectangle which they have to press ok to continue Jul 28 17:05:24 I guess they're all incredibly wealthy Jul 28 17:06:54 who is? Jul 28 17:06:58 awe, Emergency Lights downloads are dwindling :/ 3 downloads two days ago, 2 yesterday :( Jul 28 17:07:10 pandora--: Playdom Jul 28 17:07:13 http://www.bizjournals.com/triangle/stories/2010/07/26/daily26.html Jul 28 17:07:25 GAHHHH WOW Jul 28 17:07:48 DAAAAAAAAMN Jul 28 17:07:55 heh Jul 28 17:07:58 that's insane Jul 28 17:08:00 wtf Jul 28 17:08:05 maik: you need to *bump* your app by coming out with an update Jul 28 17:08:23 Anivrom: ya, i've got a few updates planned, just need to implement Jul 28 17:08:25 which requires time Jul 28 17:08:27 maik: yeah, like obamaclock Jul 28 17:08:38 an update a day Jul 28 17:08:53 Anivrom: Thanks for the feedback on the text. Jul 28 17:08:53 chris Jul 28 17:08:54 t Jul 28 17:10:00 np. Never underestimate the users ability to be stupid. compensate for all levels of intelligence Jul 28 17:10:36 i need help with getting the value of a slider using Ares. can anyone help me? Jul 28 17:10:40 so when obama gets re-elected, are they going to can the idea or up the time and keep going? Jul 28 17:11:04 whoolio isnt it just .value? Jul 28 17:11:26 i thought so too... Jul 28 17:11:34 hmm Jul 28 17:12:08 hold...il get the code i was using Jul 28 17:12:12 Change the value in the model and then call modelChanged(). Jul 28 17:12:49 https://developer.palm.com/distribution/viewtopic.php?f=11&t=3337&view=previous Jul 28 17:13:14 I was using this on the onTap Jul 28 17:13:16 alert(this.$.myslider.fetchModelProperty("value")); Jul 28 17:13:54 why not do this.controller.get("myslider").value Jul 28 17:14:21 Interacting with widgets in Ares/mojo seems to be a trial error thing. Jul 28 17:14:55 im getting that picture Jul 28 17:15:31 anivrom, what environment do you prefer to work in? Jul 28 17:15:36 whoolio, what you can do is set a breakpoint on that line, and in the debug console type this.controller.get("myslider") Jul 28 17:15:46 and click ont eh object that pops up and look at it's structure Jul 28 17:15:56 You can see which properties hold the actual value and try and change those Jul 28 17:16:02 I am in ARES Jul 28 17:16:42 Ares Jul 28 17:17:12 sorry for this....how do yo set a breakpoint? Jul 28 17:17:16 im new to palm Jul 28 17:17:28 in the debug panel at the bottom beside log viewer, click on Jul 28 17:17:36 That establishes a debug connection to your app Jul 28 17:18:01 Then there will be an extra margin beside the line numbers in the editor. just click that empty space on the line you want to set the breakpoint on Jul 28 17:18:06 your code will stop at that point Jul 28 17:18:10 You can do some fancy stuff Jul 28 17:18:33 ok...testing now Jul 28 17:22:15 i got an error saying cannot call moethod 'get' of undefiend Jul 28 17:22:23 method get of undefined Jul 28 17:22:28 this.controller.get Jul 28 17:22:39 case sensitive Jul 28 17:24:53 yeah i did thiat Jul 28 17:25:18 this is what i have setup Jul 28 17:25:24 a slider with the name "myslider" Jul 28 17:25:34 ok Jul 28 17:25:36 the modelName is "model" Jul 28 17:25:45 valuePropertName is "value" Jul 28 17:25:51 hmm prolly should change that to mysliderModel Jul 28 17:25:53 but w/e Jul 28 17:26:05 Anivrom: how are you using splice ? Jul 28 17:26:14 it works now haeffb_pre: thanks :P Jul 28 17:26:47 ok i changed that Jul 28 17:26:57 yay! Jul 28 17:27:01 yea Jul 28 17:27:22 it was erasing anything past i in the loop cause it defaults to the rest of the array if you don't specify the length of the splice Jul 28 17:27:25 didnt realise Jul 28 17:27:34 whoolio, Jul 28 17:27:37 so how do i do the debger Jul 28 17:27:41 yeha? Jul 28 17:27:44 scroll up Jul 28 17:27:49 I tpyed it all out already :) Jul 28 17:32:22 i jsut keep getting cann not call method 'get' of undefined Jul 28 17:32:31 must be a scope issue Jul 28 17:32:37 where are you using the command Jul 28 17:32:47 im in the mysliderHoldEnd function Jul 28 17:32:52 ah yes Jul 28 17:32:56 and then I click on the debugger Jul 28 17:33:12 You initialize the listener in another scene? Jul 28 17:33:20 no Jul 28 17:33:23 dragged the slider in Jul 28 17:33:31 thats it Jul 28 17:34:00 like i said, im a newbie. i went thru the tutorials on palm but hteres really not a lot there Jul 28 17:34:05 nah Jul 28 17:34:12 webos Docs suck Jul 28 17:34:35 for ares atleast. Jul 28 17:34:39 I'd need to see more of your code Jul 28 17:34:50 haha...theres nothign else... Jul 28 17:34:53 Can you webos.pastebin.com it Jul 28 17:35:01 the rest of your assistant code then Jul 28 17:35:02 new project...dragged in a slider Jul 28 17:35:05 and thats it Jul 28 17:35:11 paste your assistant code Jul 28 17:35:24 webos.pastebin.com Jul 28 17:36:05 one sec...developing on mac...irc on pc Jul 28 17:36:22 Just pastebin it Jul 28 17:36:29 and copy the url over Jul 28 17:36:33 its short Jul 28 17:39:40 http://webos.pastebin.com/0es5QQuw Jul 28 17:40:08 refresh... Jul 28 17:41:12 anyone wanna chime in? Jul 28 17:41:24 thart bad Jul 28 17:41:26 ? Jul 28 17:41:36 I havent used alerts so I don't know scope Jul 28 17:41:43 oh Jul 28 17:41:52 well i was updating a div Jul 28 17:41:55 with the value Jul 28 17:42:04 i had a text field and a button Jul 28 17:42:18 on click , the value was put into the innerHTML of a div Jul 28 17:42:36 so i tried applying the same concept to the slider and it won't work Jul 28 17:43:06 yea the alert is the kicker Jul 28 17:43:15 cause it would work without the alert code Jul 28 17:43:22 hmm. Jul 28 17:43:25 let me try then Jul 28 17:45:45 whoolio: may want to learn how to use Mojo.Log.xxxx Jul 28 17:49:57 is there any online documentation on Ares thats really good? Jul 28 17:50:29 nope. http://developer.palm.com/distribution/viewforum.php?f=55 Jul 28 17:50:34 thats pretty much the best resource Jul 28 17:50:34 i have not found any. i had to learn it the hard way Jul 28 17:50:45 whats the hard way? lol Jul 28 17:50:54 i saw some toturials. Jul 28 17:51:06 error and trial Jul 28 17:51:10 Hard way is Lots of Google searches and trial and error Jul 28 17:51:18 haha Jul 28 17:51:25 spend many many hours on sumple stuff Jul 28 17:51:29 lots of breakpoints and object reviews Jul 28 17:51:35 but i bought the mitch allen book? i should be an expert now Jul 28 17:51:44 On ares? Jul 28 17:51:44 sarcasm implied Jul 28 17:51:52 but as haeffb said. log is a good tool Jul 28 17:52:16 yeah...i don't have a clue about that either... Jul 28 17:52:28 google it Jul 28 17:52:37 and you can use this forum :-) now i know alot more about Ares. Jul 28 17:52:52 feel like an idiot even though im prettty good with jquery Jul 28 17:53:04 thanks everyone Jul 28 17:53:14 http://developer.palm.com/distribution/viewforum.php?f=55 Jul 28 17:53:16 watch some more tutorials Jul 28 17:53:25 jquery is good. but ares can be a little weird if you don't know it Jul 28 17:53:45 that googole maps tutorial made it look so easy Jul 28 17:53:46 yer see lessons in ares Jul 28 17:54:02 i wish there were more though Jul 28 17:54:34 i said 100% the same when i started :-) Jul 28 17:55:06 there are some 1 hour lessons from a session. you can find them on palm Jul 28 17:55:20 very good... but hands on is the best Jul 28 17:57:24 watching some now Jul 28 17:59:15 but you are welcome to ask me or inhere Jul 28 18:00:40 wel... all im trying to do is have slider that when you drag it...it displays the value in real time Jul 28 18:01:33 thats the only thing i need to complete an app...the rest are text fields that i can do already Jul 28 18:01:34 why use alert then? Jul 28 18:01:45 it was my crude way of debugging Jul 28 18:01:51 oh -_- Jul 28 18:02:14 Mojo.Log.info(this.controller.get('myslider').value Jul 28 18:02:15 ; Jul 28 18:02:33 hey all. so i was curious i use my phone to tether alot and i was wondering if there was a way to use the phone app and the messenger app through my computer so i don't have to keep getting up to the window to respond cause i don't have signal Jul 28 18:02:51 i put that in the Holdend function? Jul 28 18:02:56 yea Jul 28 18:03:03 it will show up in the log viewer Jul 28 18:03:05 in white Jul 28 18:03:18 *should* Jul 28 18:04:24 btw i'm running linux mint9 Jul 28 18:05:16 nope nothign Jul 28 18:05:19 lol Jul 28 18:05:32 is there an error that shows up Jul 28 18:05:33 ? Jul 28 18:05:38 nothiugn Jul 28 18:05:58 I've run into similiar problems in ares where logs jsut dont show up Jul 28 18:06:09 The next best thing is to create a label and output variables to that Jul 28 18:06:24 thats what I do since I'm too lazy to troubleshoot the log bug Jul 28 18:06:31 or set a breakpoint Jul 28 18:06:34 Like I was saying Jul 28 18:07:05 oh man Jul 28 18:07:12 about to get hammered by a storm Jul 28 18:07:14 can't wait Jul 28 18:07:39 im going to have to spend more time Jul 28 18:08:01 on the fifth floor of a six story building, get a good look at the lightning Jul 28 18:08:13 even updating the label isn't easy because im use to document.getElementById("whatever").value Jul 28 18:08:51 back to the videos Jul 28 18:09:17 you can use somehtibg close to Jul 28 18:09:23 really? Jul 28 18:09:27 getbyelement works Jul 28 18:09:57 whoolio Jul 28 18:10:09 yeah? Jul 28 18:10:17 In ares its this.controller.get("widgetname").innerHTML = "text" Jul 28 18:10:37 best to use controller.get since it avoids global scope naming conflics Jul 28 18:10:47 It searches the scene not the whole stage Jul 28 18:11:31 this.$.controller.get Jul 28 18:11:34 right? Jul 28 18:11:36 nop Jul 28 18:11:37 no Jul 28 18:11:42 I haven't used ares much Jul 28 18:11:42 nope that worked Jul 28 18:11:45 I must confess Jul 28 18:11:53 if you're gonna do it that way it's this.$.widgetname Jul 28 18:11:54 with a generic test value Jul 28 18:12:06 but they don't recommend you use that Jul 28 18:12:20 And I would say if the straight mojo way works in ares then do it the straight mojo way Jul 28 18:13:12 in ares $ is a substitute for controller.get Jul 28 18:14:18 well...aparently...this.controller.get("myslider").value is not the way to get the sliders value...i get undefined Jul 28 18:15:58 haeffb_pre: if I push scene1 from main and then push say scene2 from scene1, back gesture will send me to scene1 right? is there anyway to override it to go back to main without it firing the setup/activate methods? Jul 28 18:16:36 YES! i got it working! thanks! Jul 28 18:16:42 alexfner: I'm just north of you in southern ontario, we're getting rain too, must be the fringes of your storm Jul 28 18:16:53 whoolio: grats Jul 28 18:16:56 you could swapScene 2 from 1 Jul 28 18:16:58 Anivrom: north of ann arbor? Jul 28 18:17:02 idk Jul 28 18:17:05 toronto area Jul 28 18:17:27 Ah so if I pop scene1 then backgesture from scene2 will go to main? Jul 28 18:18:09 Anivrom: I see your weather @ fullscreenweather.com Jul 28 18:18:15 it is not as impressive as ours Jul 28 18:18:20 no doubt Jul 28 18:18:24 our weather is much more impressive muhaha! Jul 28 18:18:46 I'll be driving through canada tomorrow. But I will NOT stop anywhere Jul 28 18:18:54 lol. racist Jul 28 18:18:56 you canadians always try to evangelize tim hortons Jul 28 18:19:01 swapScene Jul 28 18:19:06 TIM HORTOMS is the only way Jul 28 18:19:10 lol Jul 28 18:19:12 ah!?! Jul 28 18:19:19 replaces existing scene on stack with new scene Jul 28 18:19:24 ok Jul 28 18:19:27 it's like Jul 28 18:19:35 you go to a rest stop Jul 28 18:19:43 I live in hamilton, the birthplace of tim hortons on ottawa street Jul 28 18:19:45 and you go to wendys or whatever Jul 28 18:20:02 and then, they're like, "have you heard about the benefits of tim hortons?" Jul 28 18:20:19 wth is tim hortons? Jul 28 18:20:24 "I'm just trying to get a spicy chicken sandwich" Jul 28 18:20:45 tim hortons is the starbucks of canada Jul 28 18:20:48 "that's just Great... why don't you stop by tim hortons and get a coffee on the way out?" Jul 28 18:20:52 oh Jul 28 18:20:52 didnt tim horton's finally come to some US states? Jul 28 18:20:52 it is not starbucs Jul 28 18:20:56 yea Jul 28 18:20:58 it's the dunkin donuts of canada Jul 28 18:21:02 lmao Jul 28 18:21:05 lol Jul 28 18:21:07 er Jul 28 18:21:08 so you want to get killed? Jul 28 18:21:10 there's one on madison avenue across from macy's Jul 28 18:21:13 it's been in buffalo for a number of years Jul 28 18:21:15 so, coffee donuts and chicken sandwiches?? Jul 28 18:21:17 * pandora-- confused Jul 28 18:21:20 and a bunch bunch more Jul 28 18:21:26 finally, palm announces winners Jul 28 18:21:29 pandora, they do lots of food items Jul 28 18:21:30 congrats to everyone who made it Jul 28 18:21:43 congrast codeslaw Jul 28 18:21:45 pandora--: No no no, I'm saying that no matter where you go in canada, they talk about tim hortons and celine dion Jul 28 18:21:50 thx Jul 28 18:21:51 er...whatever Jul 28 18:21:58 hahhahahaha Jul 28 18:21:58 Bagels, sandwiches on bagette style buns, soup, chili, donuts ofc, tons of other stuffs Jul 28 18:22:07 not so much celine dion Jul 28 18:22:12 Anivrom: and none of it is made in the store! Jul 28 18:22:15 but canada = tim hortons Jul 28 18:22:16 ah. we have that in california Jul 28 18:22:21 called "Panera" Jul 28 18:22:23 it's pretty good Jul 28 18:22:29 we have panera on the east coast :D Jul 28 18:22:31 Alexfner: they make all their donuts everyday fresh in each store Jul 28 18:22:38 and the sandwiches are made to order Jul 28 18:22:46 Anivrom: everything get's delivered there, they just warm it up at the store Jul 28 18:22:49 no Jul 28 18:22:52 I think I would know Jul 28 18:22:54 Anivrom: Yes yes! Jul 28 18:22:56 I would know Jul 28 18:22:58 panera was StLouis bread company before they went national Jul 28 18:23:03 krispy cream.. w.coast Jul 28 18:23:05 No you wouldn't, I know too many ppl that workf or tims Jul 28 18:23:05 I had a tim hortons down the street from me for 12 years! Jul 28 18:23:27 Yea select locations dont have those facilities Jul 28 18:23:28 ah right on. well, i like panera Jul 28 18:23:31 But 95% do Jul 28 18:23:36 * haeffb_pre contributes to todays session of 'Bagel Talk' Jul 28 18:23:56 brugers bagels is good. Jul 28 18:24:02 haeffb_pre: i feel smarter because of you today Jul 28 18:24:03 I guess I'm just disallusioned towards tim hortons Jul 28 18:24:08 I don't like the coffee anymore Jul 28 18:24:09 thanks haeffb_pre! :D Jul 28 18:24:36 they "capuccinos, and hot chocolates" are just sugar and hot water Jul 28 18:24:49 and I constantly would get terrible coffee there Jul 28 18:24:52 if you visit STL, you won't find Panera. still STL Bread Co Jul 28 18:24:55 so I only go there regularly Jul 28 18:25:00 I mean Jul 28 18:25:02 rarely Jul 28 18:25:12 nah the coffee is bad, but like lemmings millions of ppl still buy it everyday, its like an addiction. We actually can't explain it when we talk about it Jul 28 18:25:31 like viagra.. Jul 28 18:25:38 :) Jul 28 18:25:40 Anivrom: I can :D Jul 28 18:26:02 Anivrom: man when you have coffee from a french press, and espressos from your own machine everyday, you never want to go back Jul 28 18:26:04 haeffb_pre: i've never even been close to missouri Jul 28 18:26:25 alexfner: i hear ya there Jul 28 18:27:05 pandora--: I can't say I blame you... Jul 28 18:27:20 we have a great coffee shop in ann arbor Jul 28 18:27:29 they roast their beans locally Jul 28 18:27:33 called mighty good coffee Jul 28 18:27:54 http://mightygoodcoffee.com/ Jul 28 18:28:01 I'm a pastor for the church of mighty good coffee Jul 28 18:29:54 * alexfner it's not 'Bagel Talk', it's 'coffee talk' Jul 28 18:29:56 hey all. so i was curious i use my phone to tether alot and i was wondering if there was a way to use the phone app and the messenger app through my computer so i don't have to keep getting up to the window to respond cause i don't have signal otherwise Jul 28 18:31:12 evening Jul 28 18:31:38 hey swiss Jul 28 18:35:02 hey Jul 28 18:35:35 i would be willing to pay if someone would write the software for that for linux Jul 28 18:36:50 I wanna dynamically find the width and height of an image I'm loading into a div so I can resize the div accordingly. Anyone know how to do that through js? Jul 28 18:39:40 yeah Jul 28 18:39:54 I would imagine that you could get that from the image object on the DOM. Jul 28 18:39:57 var img = Image(); Jul 28 18:40:06 image.src = 'etc.jpg'; Jul 28 18:40:14 sorry Jul 28 18:40:19 img.src = 'etc.jpg' Jul 28 18:40:28 img.onload = function() { Jul 28 18:40:35 var width = img.width; Jul 28 18:40:41 var height = img.height; Jul 28 18:40:43 } Jul 28 18:40:51 hum Jul 28 18:40:54 it might be img.load, or img.onload, can't remember off hand Jul 28 18:40:57 Guess that works Jul 28 18:40:59 onload Jul 28 18:41:05 alexfner: I think that it is onload Jul 28 18:41:05 onLoad Jul 28 18:41:18 dkirker: Me Too! :D Jul 28 18:41:19 Might just do canvas though Jul 28 18:41:26 not sure yet Jul 28 18:41:50 alexfner: heh, I had actually just gotten done reading about that from a Google search as you posted it. :D Jul 28 18:42:06 I googled searched and didnt find much Jul 28 18:42:09 Anivrom: Jul 28 18:42:12 whoops Jul 28 18:42:53 Anivrom: You can also create an image tag, and do document.getElementById('imageID') and then get the width of the id Jul 28 18:43:06 I can pastebin if that would be more helpful Jul 28 18:43:08 ok that one went over my head. Jul 28 18:43:17 once you get into html I'm lsost Jul 28 18:43:39 i've never watched Penn Point, does he ever fucking stand still? Jul 28 18:44:46 Anivrom: http://pastebin.org/425943 Jul 28 18:45:34 I need to dynamically create divs with img tags too Jul 28 18:46:01 according to an array inside a loop Jul 28 18:46:24 well geeze Jul 28 18:46:30 you know how to do that, right? Jul 28 18:46:36 Nope :P gonan google it Jul 28 18:46:43 alright I'll pastebin :D Jul 28 18:47:16 var divTag = document.createElement("div");? Jul 28 18:52:25 Anivrom: http://pastebin.org/425964 Jul 28 18:53:25 alexfner: You'll probably want an onload in there for the img creation, right? Jul 28 18:53:35 ah right Jul 28 18:53:38 forgot it Jul 28 18:53:44 but yes you would want that Jul 28 18:54:08 * sugardave wouldn't know what to do with onload. Jul 28 18:54:27 that's like grown-up javascript or something Jul 28 18:54:29 sugar! Jul 28 18:54:34 haha :D Jul 28 18:54:35 hiya sugardave! Jul 28 18:54:39 hey hey Jul 28 18:55:49 alright, I am officially bored for the hour. I am so dying to finish up moVox's multi-account support. Got the SQLite and account preference list working last night. :) Jul 28 19:03:02 dkirker: is moVox the name of your SIP project or something different? Jul 28 19:03:19 sugardave: That is correct. Jul 28 19:03:25 coolness Jul 28 19:17:08 does somebody know why my pre turns of the display when I call somebody? Jul 28 19:17:19 its got a screen sensor Jul 28 19:17:27 only when you hold it up to your face Jul 28 19:17:31 When skin goes close to the screen it turns off Jul 28 19:17:32 it's a feature Jul 28 19:17:54 "feature" Jul 28 19:18:11 then it's a bug cause the display is also black if the pre lays on my desk Jul 28 19:18:15 lol Jul 28 19:18:47 that's not a bug Jul 28 19:18:59 it's stupid if you want to hang up and don't know how Jul 28 19:18:59 it turns the screen off after a configurable amount of time Jul 28 19:19:02 another feature Jul 28 19:19:05 to save battery life Jul 28 19:19:20 txt-file: turn the screen on and then hang up Jul 28 19:19:34 lol, motorola jabs at apple - http://www.androidcentral.com/sites/androidcentral.com/files/articleimage/26462/2010/07/motorola%20shot%20at%20apple.jpg Jul 28 19:20:19 the apple things seems to be overblown by da mediar Jul 28 19:20:24 I tried the power-button, slide up and down, press the gesture-button but nothing helped Jul 28 19:20:39 dkirker: sip client for webos? col Jul 28 19:20:41 cool Jul 28 19:20:59 txt-file: that is not normal....screen should come on when you hit the power button Jul 28 19:21:15 @rahulsood: check out this interview @dalmaer did with me on @palm http://developer.palm.com/blog/2010/07/scale-rahul-sood-of-hp/ Jul 28 19:22:15 swisstomcat: Indeed it is! But a *ton* of work. Jul 28 19:22:49 swisstomcat: heh, i was just reading that on precentral Jul 28 19:23:05 i just listened to it .. interesting stuff Jul 28 19:23:46 damn ... I found the problem Jul 28 19:23:53 downloading.... how long is the audio. Jul 28 19:24:53 let me check Jul 28 19:25:05 I still have the protection foil on the display so the phone detects it as "near to the face" Jul 28 19:25:26 it's 30 minutes Jul 28 19:25:41 txt-file: take it off Jul 28 19:25:52 btw, grats to all the official winners Jul 28 19:26:09 thanks Jul 28 19:26:17 my app Moo won $1000 :) Jul 28 19:26:23 nice :SD Jul 28 19:26:25 :D Jul 28 19:26:34 I wanted a foil on the display so it gets no scratches or something Jul 28 19:27:06 txt-file: I still have my original launch week Pre, no scratches, no skins, no nothing Jul 28 19:27:10 I doubt that's the problem Jul 28 19:27:49 then I trust you sugardave Jul 28 19:28:09 if you tend to drop your phone dont do it Jul 28 19:28:20 my screenprotector has a few nicks in it Jul 28 19:28:43 mainly from putting the phone on my lap in the car and forgetting about it when I get out Jul 28 19:29:09 now, I've only dropped mine about 5 times all told... Jul 28 19:29:14 me too Jul 28 19:34:25 my old sony w810 had no problem if I droped it in 2m height Jul 28 19:36:38 my screen is scratched Jul 28 19:37:20 haeffb_pre uses his Pre to kill roaches, though, so you can't use his experience Jul 28 19:37:52 thunder... Jul 28 19:37:53 nasty Jul 28 19:38:49 hi MetaView Jul 28 19:40:00 metaview: just saw it Jul 28 19:46:32 rehi Jul 28 19:46:44 hi guys .. how to read cookies from AJAX request ? Jul 28 19:48:25 not sure you can... Jul 28 19:48:28 never tried it Jul 28 19:49:07 MetaView: ? thunder? Jul 28 19:49:12 win: http://gamefan84.deviantart.com/art/chewy-comission-fur-on-fur-172151625 Jul 28 19:49:21 should i try to read request headers? Jul 28 19:49:40 raghuk: that you can do Jul 28 19:50:00 haeffb: Thunder v1.0.0 has just shipped! Download at http://developer.palm.com/appredirect/?packageid=de.metaviewsoft.thunder Jul 28 19:51:19 hmmm .. let me try Jul 28 19:54:21 ooh, voodoo made the envy. I want voodoo to make the new palm phone :) Jul 28 19:55:31 well that guy seems to have a good hand in hardware Jul 28 19:55:41 so I'm sure he'll fire someone if he has too Jul 28 19:55:48 voodoo? these guys that made the 3D acceleration card many years back? Jul 28 19:55:56 nah Jul 28 19:56:01 the high-end hardware guys Jul 28 19:56:06 vodoo-pc Jul 28 19:56:12 no no, the guys that made the dolls that you could poke people and it would hurt them Jul 28 19:56:14 those guys Jul 28 19:56:17 heh Jul 28 19:56:25 hehe Jul 28 19:57:30 wow, Rahul Sood really sounds optimistic about webOS in this interview Jul 28 19:57:37 yeah, listening to it now Jul 28 19:57:43 yeah Jul 28 19:58:14 yeah just listened Jul 28 19:58:17 good interview, no doubt Jul 28 19:58:28 I wish there was some way for devs to get early access to new hardware Jul 28 19:58:32 or maybe not early access Jul 28 19:58:33 just acccess Jul 28 19:58:40 like, I don't have any money Jul 28 19:58:47 but I would love to get access to this stuff Jul 28 19:59:04 and I haven't published many apps, admitedly, but I am working on many Jul 28 19:59:34 and I don't want to pay for each new piece of hardware, but I want to be able to test and use each piece of hardware Jul 28 19:59:48 well now that hp owns palm, they may be able to something like that Jul 28 19:59:55 sugardev: i have tried using getAllHeaders() ... it's giving me a string ... from that how can i get only cookies? Jul 28 20:00:39 I still don't have a pixi, so I have no way to test anything on that. And in the one app I have published, I get reviews from pixi owners mentioning problems or issues that I know nothing about, because i've only ever used the emulator Jul 28 20:00:42 hey Jul 28 20:00:55 b3ll: howdy Jul 28 20:01:02 } else if (itemType.type == "vitamin") { Jul 28 20:01:11 hey Tibfib Jul 28 20:01:15 I do a trace on itemType.type and it says vitamin Jul 28 20:01:19 so this is absolute bs, Jul 28 20:01:23 Yet it won't pass the condition Jul 28 20:01:28 bell mobility won't allow me to purchase data on prepaid Jul 28 20:01:30 grrrrr Jul 28 20:01:44 wtf? Jul 28 20:01:52 ya exactly Jul 28 20:01:58 No I mean in my code Jul 28 20:02:01 oh :P Jul 28 20:02:21 absolutely bizarre. Should work Jul 28 20:03:05 Ok folks, anyone good with open source licenses? Jul 28 20:03:16 i wouldn't say good .. shoot Jul 28 20:03:17 bsd ftw Jul 28 20:03:24 screw gpl its a virus Jul 28 20:03:32 what b3ll said :P Jul 28 20:03:34 I'm just trying to pick the best one Jul 28 20:03:36 hi guys ... how to read cookies from AJAX request ... any Mojo method ? anyone? Jul 28 20:03:39 bsd Jul 28 20:03:40 bsd Jul 28 20:03:41 bsd Jul 28 20:03:46 ...hah, I'll look into it Jul 28 20:03:50 lol Jul 28 20:04:03 tibfib gpl basically allows anything that it's used for to remain free FOREVER Jul 28 20:04:07 it eats up everything like google Jul 28 20:04:09 BSD, not sure about MPL. I need to read up on the MPL again. Jul 28 20:04:10 MIT Jul 28 20:04:12 MIT Jul 28 20:04:17 don't use the bsd, go mit Jul 28 20:04:17 ME Jul 28 20:04:35 once you go BSD you always will be happy Jul 28 20:04:37 xD Jul 28 20:04:49 botsnack Jul 28 20:04:49 * dekan nom nom nom Jul 28 20:05:03 Welcome Jul 28 20:05:05 Welcome! Jul 28 20:05:08 Good Morning! Jul 28 20:05:09 good morning alexfner Jul 28 20:05:17 good night Jul 28 20:05:18 3rd try's the charm Jul 28 20:05:22 aloha alexfner Jul 28 20:05:27 Basically I don't want someone to take my code and redistribute it without modification. Jul 28 20:05:28 gnite swisstomcat Jul 28 20:05:42 Tibfib : BSD requires credit, but it's not a virus Jul 28 20:05:50 notification you mean tib Jul 28 20:05:55 raghuk: I'm not exactly sure how you would get cookie information out of the headers Jul 28 20:06:09 I'm still an amateur web dev person Jul 28 20:06:23 Anivrom: no I mean modification. Although I don't think there's a license that covers what I want Jul 28 20:06:43 Thats the problem with webOS Jul 28 20:06:49 EVERYTHING Is open source Jul 28 20:07:00 what's the problem? Jul 28 20:07:15 I'm fine with open source... just not someone taking my exact code and selling it as is. at least improve it before taking it Jul 28 20:07:22 sugardev: i have called a login with ajax request .. now i need to send cookies in further request ? Jul 28 20:07:26 mit! Jul 28 20:07:41 raghuk: those will be sent automagically Jul 28 20:07:49 laterz ... Jul 28 20:08:02 swisstomcat: cu Jul 28 20:08:17 sugardev: ooh ... sure? Jul 28 20:08:32 yeah, I use a lot of ajax and only ever deal with query parameters Jul 28 20:09:07 sugardev: ooh ... let me try Jul 28 20:09:27 * Tibfib might go BSD Jul 28 20:09:53 blindfolded skinny dipping....sounds dangerous Jul 28 20:10:10 lol Jul 28 20:11:19 * b3ll <3's BSD Jul 28 20:11:46 does it allow charging for redistributred code? Jul 28 20:11:59 redistributed* Jul 28 20:12:10 I don't know what's wrong with me...I start reading about various OS licenses and my brain shuts off Jul 28 20:12:37 Tibfib: I think so Jul 28 20:12:57 sugardave: I don't really see anything either way... so it looks like it is okkay Jul 28 20:15:02 looks like new bsd is it Jul 28 20:15:16 I'd go original but it's not friendly with GPL Jul 28 20:15:37 * haeffb_pre used MIT Jul 28 20:15:38 Tibfib: what are you trying to accomplish with your license? Jul 28 20:16:01 There isn't really a license that accomplishes what I want... Jul 28 20:16:05 for no particular reason Jul 28 20:17:00 ;lol Jul 28 20:17:05 Tibfib: if you aren't using any OSS, make your own license? Jul 28 20:17:15 I'm using quite a bit Jul 28 20:17:21 well not a ton Jul 28 20:17:21 okay then :D Jul 28 20:19:01 anyways im out gotta study for an exam Jul 28 20:19:03 cya Jul 28 20:19:59 cya Jul 28 20:21:03 how do I check if something is undefined. Jul 28 20:21:08 b3ll: cya Jul 28 20:21:12 if (itemIndexInventory !== "undefined") {? Jul 28 20:21:13 Anivrom: you could log it Jul 28 20:21:18 no through code Jul 28 20:21:20 no quotes Jul 28 20:21:24 I tried that Jul 28 20:21:33 if (itemIndexInventory) {} Jul 28 20:21:45 thanks Jul 28 20:21:46 there ya go Jul 28 20:21:54 forgot bout that Jul 28 20:23:07 Anivrom: I don't think you can test against undefined directly Jul 28 20:23:18 why not? Jul 28 20:23:43 can I check to see if a variable is a number? Jul 28 20:23:50 oh wait, yes you can Jul 28 20:23:52 if it's not then it will be undefined by the nature of the program Jul 28 20:23:58 program/usgae Jul 28 20:24:00 usage too Jul 28 20:24:02 it's NaN you can't test against directly Jul 28 20:24:09 oh ok Jul 28 20:24:36 if (itemIndexInventory) { doesn't work btw, it always fails Jul 28 20:24:48 to see if something is a number: if (!isNaN(thing)) {} Jul 28 20:25:37 if (someVar) will not evaluate if someVar is undefined Jul 28 20:26:36 if (itemIndexInventory) { Jul 28 20:26:36 game.inventoryItems.snacks[itemIndexInventory].quantity++; Jul 28 20:26:36 } else { Jul 28 20:26:36 game.inventoryItems.snacks.push(game.shopItems.snacks[itemIndexShop]); Jul 28 20:26:36 } Jul 28 20:26:54 It never enters the top condition even though itemIndexInventory is 0 Jul 28 20:27:01 oh! Jul 28 20:27:02 hehe Jul 28 20:27:04 0 is falsy Jul 28 20:27:09 ... Jul 28 20:27:28 ok so I have to check NaN? Jul 28 20:28:03 that would work or if (var || var === 0) {} Jul 28 20:28:11 here's an interesting idea Jul 28 20:28:20 heh. http://tiepedia.com/images/stories/secret/steve_bill.jpg Jul 28 20:28:25 how about, you give palm a deposit on a developer device Jul 28 20:28:30 and you keep it for two years Jul 28 20:28:35 and you return it to them after two years Jul 28 20:28:38 sugardave, itemIndexInventory is an index to an array, so 0 is a perfectly valid value Jul 28 20:28:39 and get your deposit back Jul 28 20:28:45 minus any serious damages Jul 28 20:29:06 Anivrom: right, but if(0) always evauates to false Jul 28 20:29:12 evaluates, even Jul 28 20:29:19 0 is "falsy" Jul 28 20:29:22 Right, so I need to do isNaN Jul 28 20:29:33 since 0 is perfectly valid Jul 28 20:29:34 !isNaN Jul 28 20:29:36 right Jul 28 20:29:36 in my usage Jul 28 20:29:56 or if (var || var === 0) {} if you want to be lazy Jul 28 20:30:11 the !isNaN(var) is better, though ;) Jul 28 20:31:34 -_- sugardave, I am checking an array to find a value, if I find the value I return the index, so sometimes the index can be 0, which would cause alot of trouble with your supplied conditional Jul 28 20:31:44 So you see I can't use numbers in my conditional Jul 28 20:31:53 since 0 is a perfectly valid value Jul 28 20:32:00 I'll just use isNaN Jul 28 20:32:06 that conditional will pass with a 0 value Jul 28 20:32:13 but yeah Jul 28 20:32:17 use !isNaN Jul 28 20:32:38 oh lol Jul 28 20:32:54 I'm smart, just interpreted the code, and yea you're right Jul 28 20:32:56 lulz Jul 28 20:32:59 heh Jul 28 20:46:36 Anivrom: Getting that storm now? Jul 28 20:52:45 isNaN is true for strings, arrays, ... Jul 28 20:53:18 got my pre replaced Jul 28 20:53:23 this one's different from the last Jul 28 20:53:38 anyone seen a sprint pre with battery instructions printed in it? Jul 28 20:53:53 yes Jul 28 20:53:56 that's how all new ones are Jul 28 20:53:58 pink? Jul 28 20:54:21 new one huh? Jul 28 20:54:30 as in, not launch day Jul 28 20:54:48 I think my refurb has it... but I'm not taking out my battery to check :P Jul 28 20:54:50 so have most of the launch hardware issues been fixed with this one? Jul 28 20:55:02 heh I thought the one I had last was a refurb because it came in a completely different-printed box Jul 28 20:55:32 torchie: the things they can fix, yeah Jul 28 20:55:54 I think the + are much more reliable Jul 28 20:56:30 ARGH Jul 28 20:56:52 every time I get a new device something I gotta do ruins the whole "charge it full first time and don't remove it" rule Jul 28 20:57:14 alright what's more worth it, homebrew apps now or "better" battery later Jul 28 20:57:36 better battery later Jul 28 20:57:37 don't have ur old battery? Jul 28 21:00:18 nope this was a full swap Jul 28 21:00:29 I don't think I full charged the battery on the last one either though Jul 28 21:00:49 hey guys .. how to read response from system properties ? Jul 28 21:00:51 how much better with the battery be, really Jul 28 21:01:01 I've got all these apps and files to retransfer Jul 28 21:01:37 eh screw it Jul 28 21:02:26 dkirker: errr... ping Jul 28 21:02:43 Tibfib1: pong Jul 28 21:02:43 BROKE THE RULE Jul 28 21:02:50 lol Jul 28 21:03:00 was bound to happen anyway Jul 28 21:03:03 torchie: ping Jul 28 21:03:06 pong! Jul 28 21:03:41 so confused Jul 28 21:04:12 ping pong is a great sport Jul 28 21:04:43 so is beer pong Jul 28 21:06:57 hey that's me! Jul 28 21:07:13 * haeffb_pre never gives back batt, charger, etc Jul 28 21:09:57 I give back the battery... they have to check the pre to make sure it doesn't work Jul 28 21:12:08 I have high hopes for this pre Jul 28 21:12:21 there's something uplifting about those battery instructions Jul 28 21:12:32 what? Jul 28 21:37:19 hey Jul 28 21:37:36 Nyceane: howdy Jul 28 21:38:10 Nyceane: word Jul 28 21:38:21 I m leading by 4 points =D Jul 28 21:38:27 yesterday I was down like 50 points Jul 28 21:38:31 tahnks for all the support guys =) Jul 28 21:39:18 leading what? Jul 28 21:39:18 Nyceane: whoa, in first? Jul 28 21:39:24 yah =) Jul 28 21:39:28 thanks for all of your help =) Jul 28 21:39:59 remember, you have to tell michelle obama "Mojo Messenger is awesome" Jul 28 21:40:08 that's all I ask for my single vote. Jul 28 21:40:13 ok =) Jul 28 21:40:32 now i have request to yell at rahm emmuel, tell michelle "mojo messenger is awesome" Jul 28 21:40:37 doable =) Jul 28 21:40:52 haha Jul 28 21:40:56 i still need to maintain the votes for next 2 weeks, lol Jul 28 21:40:59 good luck. hope you win Jul 28 21:41:00 nyceane, for my vote tell michelle obama to stop letting her husband kill babies via abortion laws. :) Jul 28 21:41:01 Nyceane: When does the contest end? Jul 28 21:41:13 8/14 Jul 28 21:41:29 I still need to cast my vote. :( Jul 28 21:41:33 =-| that's gona be hard Jul 28 21:41:39 Anivrom: pfft, political crap Jul 28 21:41:42 I believe you can do it though Jul 28 21:41:57 dkirker, when you have time, please do lol =) Jul 28 21:42:02 That's not political. It's more a moral issue. Jul 28 21:42:08 hah, I'm just kidding Jul 28 21:42:12 and by more i mean purly Jul 28 21:42:14 purely too Jul 28 21:42:22 Nyceane: then you can tell President Obama to use moVox for their internal phone system! :D Jul 28 21:42:35 I dont know of the president is gona be there Jul 28 21:42:44 I think he'll be there if he's in the white house Jul 28 21:42:50 Ok, Michelle can relay it ;) Jul 28 21:42:54 hah Jul 28 21:42:56 the president is in #webOS!?! Jul 28 21:42:57 but he might not be there if hes not Jul 28 21:42:57 back to coding Jul 28 21:43:16 thanks guys =) this is the most supportive channel =) Jul 28 21:43:22 most supportive group Jul 28 21:43:31 and the most talented group =) Jul 28 21:45:04 hey guys .. how to use Mojo.Model.Cookie? anyone? Jul 28 21:45:59 raghuk: http://webos101.com/Mojo.Cookie Jul 28 21:46:07 dangit, beat me to it Jul 28 21:46:14 me too Jul 28 21:46:16 was searchin Jul 28 21:46:21 dekan, cookies are http://webos101.com/Mojo.Cookie Jul 28 21:46:22 Okay, Tibfib. Jul 28 21:46:24 webos101 is impossible to navigate Jul 28 21:46:39 * Tibfib thinks it's okay Jul 28 21:46:52 Anivrom: nah, you just click the link things Jul 28 21:46:58 and they go to the other pages Jul 28 21:47:17 the search box is handy, too :P Jul 28 21:51:25 dekan cookies Jul 28 21:51:39 dekan: cookies Jul 28 21:51:39 cookies are http://webos101.com/Mojo.Cookie Jul 28 21:51:44 dekan: shut up Jul 28 21:51:44 Okay, pandora-- - be back in a bit! Jul 28 21:51:49 dekan: come back Jul 28 21:51:52 damnit Jul 28 21:51:59 dekan: cookies Jul 28 21:52:07 dohtem: :( Jul 28 21:52:12 err. I mmeant Jul 28 21:52:16 pandora--: :( Jul 28 21:52:20 :D Jul 28 21:52:24 killed him Jul 28 21:52:26 hopefully Jul 28 21:52:39 no. he'll be back in a few minutes Jul 28 21:53:04 only maik can tell him to come back Jul 28 21:56:28 dekan: shut up Jul 28 21:56:28 Okay, dohtem - be back in a bit! Jul 28 21:56:36 EXTENSION!!1 Jul 28 21:58:49 niiiiice Jul 28 21:59:06 * Tibfib cries Jul 28 22:00:22 Wow unbelievable Jul 28 22:00:49 Somehow javascript has managed to bypass my whole conditional statement and decide to enter on its own. Jul 28 22:01:06 Magically Jul 28 22:02:39 Javascript is the devil's work Jul 28 22:06:10
Anivrom: I wonder if there was an exception.. might try a try and catch Jul 28 22:07:15 Anivrom: maybe try if (var && !isNaN(var)) {} Jul 28 22:07:36 not the same condition Jul 28 22:07:43 oh Jul 28 22:08:19 http://webos.pastebin.com/EXF2YmwG Jul 28 22:08:29 It's entering the decoration condition Jul 28 22:08:39 I even put an extra condition inside the condition to test Jul 28 22:08:53 I know it enters cause my breakpoint triggers Jul 28 22:09:06 you could do switch case... Jul 28 22:09:18 When I breakpoint at the start of the fucntion I check type and name and type is snack Jul 28 22:09:40 Anivrom: not sure, but that might be because it's the final else? Jul 28 22:09:52 It enters the snack if Jul 28 22:10:00 and does the loo Jul 28 22:10:02 loop Jul 28 22:10:15 and then it enters the decoration if in the same bloody call Jul 28 22:10:22 how can it enter both freakin conditions Jul 28 22:10:25 madness Jul 28 22:11:00 Tibfib: good idea for switch Jul 28 22:11:16 ill try switch Jul 28 22:11:31 at the very least it'll make it cleaner to look at and debug Jul 28 22:11:58 Anivrom: I can give you something even better Jul 28 22:12:03 dekan Jul 28 22:12:08 dekan: poop Jul 28 22:12:08 I cannot access that data. Jul 28 22:12:14 botsnack Jul 28 22:12:14 * dekan nom nom nom Jul 28 22:12:19 impossible, are you implying that my code is somehow flawed, or inefficient? Jul 28 22:13:30 Anivrom: don't forget to break out of your switch after satisfying a condition. i can't count the number of times i've done that Jul 28 22:13:38 Yea Jul 28 22:14:03 I always forget the syntax for switch Jul 28 22:14:09 php gets me confused Jul 28 22:14:34 althought it isn't that different I guess Jul 28 22:14:37 Anivrom: http://webos.pastebin.com/PgTGCHqz Jul 28 22:14:57 sugardave: win Jul 28 22:14:59 you can do that? Jul 28 22:15:03 hell yes Jul 28 22:15:08 dang. Jul 28 22:15:11 that's what I was trying to tell you the other night Jul 28 22:15:14 js win Jul 28 22:17:39 Anivrom: unless you already have an i var, you should really do for(var i = 0; ...) Jul 28 22:17:48 I didn't see that until just now Jul 28 22:17:55 herm Jul 28 22:18:22 I don't in that function Jul 28 22:18:48 you can just throw var i; in the top of the function Jul 28 22:22:06 sugardave: your trick didnt work Jul 28 22:22:27 did you get an error? Jul 28 22:22:37 Uncaught TypeError: Cannot read property 'length' of object (app/game.js:1205) Jul 28 22:23:13 can you put this.shopItems[type] in the magical Ares debugger? Jul 28 22:23:20 yea undefined Jul 28 22:23:28 and type is? Jul 28 22:23:32 ReferenceError: type is not defined Jul 28 22:23:48 but it is Jul 28 22:24:01 what is it? Jul 28 22:24:12 snack Jul 28 22:24:24 ugh Jul 28 22:24:34 so does this.shopItems.snack show up in the debugger? Jul 28 22:24:34 The case is not right thoguh Jul 28 22:24:40 oh Jul 28 22:24:44 well that will do it Jul 28 22:24:47 oh lawls Jul 28 22:24:51 You typed the code out wrong Jul 28 22:25:05 shopItems.[type].length Jul 28 22:25:19 bzzt, twas not I Jul 28 22:25:26 http://webos.pastebin.com/PgTGCHqz Jul 28 22:25:39 yea see. that's wrong Jul 28 22:25:43 oh Jul 28 22:25:46 it's an array Jul 28 22:25:48 this.shopItems.snack.length Jul 28 22:25:48 I use objects Jul 28 22:26:10 my bad Jul 28 22:26:12 :D Jul 28 22:26:19 <3 Jul 28 22:26:34 shhh Jul 28 22:27:09 now wait a minute Jul 28 22:27:25 and so your method doesn't work now Jul 28 22:27:34 this should still be correct.... this.shopItems['snack'] should be the same as this.shopItems.snack Jul 28 22:27:35 http://g4tv.com/thefeed/blog/post/706579/Trailer-For-Titanic-II-The-Unthinkable-Has-Been-Achieved.html Jul 28 22:27:39 that is standard JavaScript Jul 28 22:27:40 Titantic 2 Jul 28 22:27:44 OGM! Jul 28 22:27:45 ok Jul 28 22:28:08 if you put this.shopItems['snack'] in the debugger, what do you get? Jul 28 22:29:05 TypeError: Cannot read property 'snack' of undefined Jul 28 22:29:15 this.shopItems? Jul 28 22:29:20 the more we work on this the less win I'm feeling Jul 28 22:29:36 sweeet Jul 28 22:29:41 I"m not understanding how this.shopItems is now undefined? Jul 28 22:29:48 ps3 to get a native netflix app in the next few months Jul 28 22:30:01 lol. scope issues Jul 28 22:30:06 dawm|laptop: oh cool....may have to look into netflix now Jul 28 22:30:14 yah Jul 28 22:30:18 even though it's in game.js it wants me to say game.shopItems isntead of this. Jul 28 22:30:26 the disc based netflix streaming on ps3 is slow.. the UI is slow Jul 28 22:30:27 I guess cause I call it from another scene? Jul 28 22:30:31 compared to XBOX's Jul 28 22:30:40 xbox netflix is nice Jul 28 22:30:55 PS3 is getting search Jul 28 22:32:20 Anivrom: this inside your function means "this function"...I think Jul 28 22:32:32 sugardave: game.shopItems[type + "s"] will work? Jul 28 22:33:17 Anivrom: probably, or if not change it before you use it: type = type + 's'; Jul 28 22:34:22 works Jul 28 22:34:36 thumbs up Jul 28 22:34:56 but my other code is still broken Jul 28 22:34:59 And I have no clue why Jul 28 22:35:19 Since it doesn't give line numbers! Jul 28 22:35:43 needs more debug logging statements Jul 28 22:36:02 Those don't work for me in ares Jul 28 22:36:08 Mojo.Log.info doesn't work Jul 28 22:36:15 what about console.log Jul 28 22:36:18 no Jul 28 22:36:22 wtf Jul 28 22:36:24 Console.Log Jul 28 22:36:26 that shit is weak Jul 28 22:36:36 lowercase? Jul 28 22:36:39 yes Jul 28 22:36:50 it goes to /var/log/messages Jul 28 22:37:26 I basically do that with breakpoints and ares debugger Jul 28 22:37:51 breakpoints.... Jul 28 22:38:09 mmmyezzz? Jul 28 22:39:35 so you just place some strategic breakpoints and then manually examine whatever variable you put in the debugger? or can you print out things to some kind of console in real time? Jul 28 22:40:15 You can print out in real time with console.log commands, or strategic breakpoints and typing in variables Jul 28 22:40:30 returns an object tree that you can view Jul 28 22:40:35 basically view the dom Jul 28 22:40:55 Tibfib u there? Jul 28 22:41:33 b3ll: yep Jul 28 22:41:39 pm please? Jul 28 22:42:04 ah might have found the problem. Jul 28 22:42:14 I don't break; after the return i Jul 28 22:42:20 I thougth it did that automatically Jul 28 22:42:26 Anivrom: well, you just need to do more printing :D "In x Function" "Trying to be awesome" "Was awesome" Jul 28 22:42:30 etc Jul 28 22:42:47 doesn't it exit the function if a return statement is made? Jul 28 22:42:48 sugardave: that's what i do hah Jul 28 22:42:52 yes Jul 28 22:43:03 Anivrom: that would mean there was no match Jul 28 22:43:13 if no match Jul 28 22:43:16 your function doesn't return Jul 28 22:43:29 No I thoiught I saw it enter the return condition and then continue int he loop Jul 28 22:43:31 it just stops Jul 28 22:43:34 I was stepping through Jul 28 22:43:55 Tibfib: that's my main debugging method Jul 28 22:44:48 I hope error logs work...if not I do that Jul 28 22:49:02 wow Jul 28 22:49:50 Turns out declaring var i; at the top of the setup did the trick. how gay, I thought i was local Jul 28 22:50:33 variables have function scope IF you declare them with var Jul 28 22:50:40 oh. Jul 28 22:50:47 yet another js gotcha Jul 28 22:50:49 otherwise, they become global Jul 28 22:51:01 whoa they have exzeus on pre Jul 28 22:51:01 now Jul 28 22:51:15 this app cannot run on your system Jul 28 22:51:18 please update Jul 28 22:51:24 v1.4.5 Jul 28 22:51:24 v1.4.5 is never coming Jul 28 22:51:31 * torchie update Jul 28 22:51:32 * torchie refresh Jul 28 22:51:36 thank you dekan Jul 28 22:51:39 lol Jul 28 22:51:44 Move to canada Jul 28 22:51:45 torchie: don't bother Jul 28 22:51:48 haha Jul 28 22:51:53 dekan: is 1.4.5 out yet? Jul 28 22:51:53 NO! Jul 28 22:52:03 you're a torch! Jul 28 22:52:03 Yes you are! And you're sitting there! Hi, torch! Jul 28 22:52:17 scoobysnack Jul 28 22:52:18 Scoobydoobeedoo! Jul 28 22:52:25 maik: you need to delete goodnight Jul 28 22:52:27 oh wait Jul 28 22:52:34 dekan: delete goodnight Jul 28 22:52:34 Okay, maik, 1 factoid deleted. Jul 28 22:52:35 Palm webOS 1.4.1.1 is now available. Jul 28 22:52:37 thanks Jul 28 22:52:38 It's now 5MB. Jul 28 22:52:45 about 5MB* Jul 28 22:52:49 dekan: start listening to people when they tell you to delete/forget something Jul 28 22:52:49 So's your face. Jul 28 22:52:50 dekan, goodnight is night night Jul 28 22:52:50 Okay, Tibfib. Jul 28 22:52:54 goodnight Jul 28 22:52:54 night night Jul 28 22:52:54 i tried :/ Jul 28 22:53:01 botsnack Jul 28 22:53:01 * dekan nom nom nom Jul 28 22:53:06 what about this one Jul 28 22:53:16 dekan: goodnight =~ s/night night/night night, $who/ Jul 28 22:53:16 Okay, maik, factoid updated. Jul 28 22:53:19 goodnight Jul 28 22:53:19 night night, maik Jul 28 22:53:28 eh? Jul 28 22:53:29 nice Jul 28 22:53:34 maiksnack Jul 28 22:53:40 * maik nom nom nom Jul 28 22:56:47 anivromsnack Jul 28 22:56:52 :( Jul 28 22:56:57 Anivromsnack Jul 28 22:57:00 :(( Jul 28 22:57:09 * Anivrom nom nom nom Jul 28 22:57:11 YAY Jul 28 22:57:17 o/ Jul 28 22:57:19 \o Jul 28 22:57:20 \o/ Jul 28 22:59:33 Anivromsnack Jul 28 22:59:45 botsmack Jul 28 22:59:45 * dekan cowers Jul 28 22:59:54 poor dekan Jul 28 23:01:41 dekan: botsmack is also dodges your attack and strikes you with ***EVISCERATING*** brutality. You have died. Jul 28 23:01:41 Okay, maik. Jul 28 23:01:45 botsm Jul 28 23:01:47 botsmack Jul 28 23:01:47 OUCH Jul 28 23:01:49 botsmack Jul 28 23:01:49 OUCH Jul 28 23:01:51 botsmack Jul 28 23:01:51 * dekan cowers Jul 28 23:01:52 botsmack Jul 28 23:01:52 OUCH Jul 28 23:01:54 botsmack Jul 28 23:01:54 OUCH Jul 28 23:01:56 botsmack Jul 28 23:01:56 * dekan cowers Jul 28 23:01:56 botsmack Jul 28 23:01:56 * dekan cowers Jul 28 23:01:57 botsmack Jul 28 23:01:57 OUCH Jul 28 23:01:58 STOP THE ABUSE! Jul 28 23:01:59 botsmack Jul 28 23:01:59 * dekan cowers Jul 28 23:01:59 PLEASE Jul 28 23:02:02 LEAVE HIM ALONE Jul 28 23:02:05 HES INNOCENT Jul 28 23:02:06 botsmack Jul 28 23:02:06 OUCH Jul 28 23:02:08 botsmack Jul 28 23:02:08 * dekan cowers Jul 28 23:02:11 dammit, bot Jul 28 23:02:16 dekan: literal botsmack Jul 28 23:02:16 botsmack (#99) OUCH|(#100) cowers Jul 28 23:02:19 uh oh Jul 28 23:02:44 dekan: delete botsmack is also Jul 28 23:02:44 Okay, maik, 1 factoid deleted. Jul 28 23:02:54 dekan: botsmack dodges your attack and strikes you with ***EVISCERATING*** brutality. You have died. Jul 28 23:02:54 Okay, maik. Jul 28 23:03:00 dekan: literal botsmack Jul 28 23:03:00 botsmack (#99) OUCH|(#100) cowers|(#212) dodges your attack and strikes you with ***EVISCERATING*** brutality. You have died. Jul 28 23:03:06 botsmack Jul 28 23:03:06 * dekan cowers Jul 28 23:03:08 botsmack Jul 28 23:03:08 * dekan cowers Jul 28 23:03:09 botsmack Jul 28 23:03:10 OUCH Jul 28 23:03:11 botsmack Jul 28 23:03:11 OUCH Jul 28 23:03:12 that's odd Jul 28 23:03:12 botsmack Jul 28 23:03:12 * dekan dodges your attack and strikes you with ***EVISCERATING*** brutality. You have died. Jul 28 23:03:21 * maik kicks rand() Jul 28 23:03:43 * b3ll iddqd Jul 28 23:03:45 we now return you to your regularly scheduled programming Jul 28 23:03:47 * Tibfib doesn't understand this bot Jul 28 23:03:48 haha Jul 28 23:03:50 botsmack Jul 28 23:03:50 * dekan dodges your attack and strikes you with ***EVISCERATING*** brutality. You have died. Jul 28 23:03:59 no u fucking idiot i have godmode Jul 28 23:04:04 you typed it wrong Jul 28 23:04:07 so no you don't Jul 28 23:04:13 and now you're dead, there's no going back Jul 28 23:04:18 grtz! Jul 28 23:05:23 NO Jul 28 23:05:30 iddqd Jul 28 23:05:31 7:03 PM Jul 28 23:05:32 NO U Jul 28 23:05:46 you still typed it wrong Jul 28 23:05:48 it's iddqd Jul 28 23:05:52 oh god Jul 28 23:05:54 my eyes Jul 28 23:06:07 lol fail Jul 28 23:06:15 sorry, i'm just retarded Jul 28 23:06:19 * maik goes o find some caffeine Jul 28 23:06:22 to* Jul 28 23:07:49 dekan: lol geeksnort Jul 28 23:07:49 Okay, maik. Jul 28 23:08:00 wait, no, that won't work Jul 28 23:08:03 dekan: forget that Jul 28 23:08:03 Okay, maik, forgot that lol geeksnort Jul 28 23:08:11 * maik fades to black Jul 28 23:09:30 are there any mp3 trimmers going around Jul 28 23:15:12 for webos? Jul 28 23:17:25 yeah Jul 28 23:18:30 not that i've seen, but i'm not in the know about much Jul 28 23:18:36 word Jul 28 23:18:54 i just msg'd my wife hi2u and she replied hi3po Jul 28 23:18:56 i lol'd Jul 28 23:20:33 aww so precious Jul 28 23:21:41 ya, that's true love there Jul 28 23:22:35 daww Jul 28 23:35:46 Ok so my pre just restarted randomly Jul 28 23:35:53 while trying to launch my app lol Jul 28 23:36:29 HAHA Ares log viewere just ouputted this while my phone was starting up. Jul 28 23:36:30 Error: ERROR: native parser didn't like 'PONG', palmInitFramework347:2527 Jul 28 23:36:38 apparently pre's dont like pong :O Jul 28 23:37:27 hahaha Jul 28 23:37:36 win Jul 28 23:38:13 lol Jul 28 23:38:25 thats epic! Jul 28 23:49:40 charlie bit my finger has 211 million views Jul 28 23:52:36 I think it has 700 Jul 28 23:52:46 211 Jul 28 23:53:33 aww guess not Jul 29 00:10:22 heh.. my ipod touch has 2.4gb of games, webOS Roundup and Palm Dev Podcasts and zero music :p Jul 29 00:10:36 oh and precentral podcast too Jul 29 00:18:42 lol Jul 29 00:18:46 thats the point :P Jul 29 00:19:04 Anivrom : looks like ill be changing my pre's esn tomorrow :P Jul 29 00:19:20 is that a good thing? Jul 29 00:19:37 well the bell system wont let me order edge browser Jul 29 00:19:41 so i have to spoof the phone Jul 29 00:19:57 fking cdma Jul 29 00:20:13 So what does that mean? its still cdma Jul 29 00:20:14 ? Jul 29 00:20:26 if it had a sim card it'd be dead simple Jul 29 00:20:39 to add prepaid data taht is Jul 29 00:26:18 wtf.. itunes doesnt convert mov to ipod format? or am i overlooking something? Jul 29 00:26:41 dawm|laptop quicktime conversions are shit, use handbrake Jul 29 00:26:43 much quicker Jul 29 00:35:57 yea, agreed with the handbrake suggestion. Jul 29 00:58:48 alright alright alright, I'm back Jul 29 01:13:58 l i v i n Jul 29 01:14:55 heh Jul 29 01:15:02 lame Jul 29 01:15:15 theres this game thing called Quazz or something for the iphone Jul 29 01:15:24 they have Hop or Drop, which is like Cloudhopper Jul 29 01:15:41 it has clouds and the character kinda looks like the default cloudhopper character Jul 29 01:17:17 http://a1.phobos.apple.com/us/r1000/004/Purple/25/c1/dd/mzl.osaqwiar.320x480-75.jpg Jul 29 01:17:40 qwazz Jul 29 01:25:43 infringement! Jul 29 01:28:23 ping Jul 29 01:28:30 pong! Jul 29 01:29:34 doodlejump is still god tier jump game Jul 29 01:29:49 tks, looks like this auto wake setting in icechat is working Jul 29 01:31:18 lol Jul 29 01:31:20 http://www.xbox.com/NR/rdonlyres/414F538E-97E5-4F29-977B-5553C95155D5/0/AvatarExamples.jpg Jul 29 01:31:26 avatars gone wrong Jul 29 01:33:14 wawawa Jul 29 01:39:07 hello Jul 29 01:39:39 sweet finally got irc for my pre! Jul 29 01:39:48 conrads Jul 29 01:39:51 congrads Jul 29 01:40:09 damn looked forever lol Jul 29 01:40:18 you're using wIRC right? Jul 29 01:40:25 yes Jul 29 01:40:32 sweet indeed Jul 29 01:41:01 any precentral members in here? Jul 29 01:41:08 lol Jul 29 01:41:16 like everyone prolly Jul 29 01:41:17 #webos-internals Jul 29 01:41:26 They are into hardware more Jul 29 01:41:31 if thats what you're looking for Jul 29 01:41:33 ok stupid? sorry Jul 29 01:42:10 converting these podcasts really sucks.. wish they would have made it proper so i didnt have to Jul 29 01:42:18 I'm into anything doing with pre Jul 29 01:43:27 dawm|laptop: what's really annoying is trying to push a scene that clearly exists and having it tell you Uncaught ReferenceError: decorSetup is not defined (app/assistants/inventory-assistant.js:154) Jul 29 01:43:47 thats ares for ya ;p Jul 29 01:43:56 night yall Jul 29 01:44:08 Yet the same syntax pushes other scenes. Seems I have to fiddle with every scene to get each one to work in their own way Jul 29 01:45:04 Anivrom: is the value of decorSetup the name of a scene? Jul 29 01:45:16 decorSetup is the name of the scene Jul 29 01:45:48 and this.controller.pushScene('decorSetup'); throws that error? Jul 29 01:45:52 this.controller.stageController.pushScene("inventory"); works just fine from the main scene Jul 29 01:45:57 heh Jul 29 01:46:03 did you try lowercase? Jul 29 01:46:08 decorsetup Jul 29 01:46:27 why would I? this.controller.stageController.pushScene("newTut"); works just fine@! Jul 29 01:46:45 I name my stuff like decor-setup and always use lowercase scene/dialog names Jul 29 01:46:47 but what if it worked? :P Jul 29 01:46:48 :O let me try a fw more things Jul 29 01:47:01 what is the actual name of the scene's html file/ Jul 29 01:47:18 ? Jul 29 01:47:25 decorSetup-scene.html Jul 29 01:47:59 then that should be it, unless you futzed around with decorSetup-assistant.js Jul 29 01:48:04 lowercase didnt wrk Jul 29 01:48:12 I never did anything to assistant Jul 29 01:48:16 And I know it should work lol Jul 29 01:48:31 greetings Jul 29 01:49:28 gonna try this.controller.stageController Jul 29 01:49:29 -_- Jul 29 01:50:09 nope Jul 29 01:51:57 Anivrom: paste line 154 of inventory-assistant.js Jul 29 01:52:13 this.controller.stageController.swapScene(decorSetup); Jul 29 01:52:18 dude Jul 29 01:52:21 HAHAHA Jul 29 01:52:22 it needs to be a string Jul 29 01:52:27 ffs Jul 29 01:52:34 * Anivrom // wrists Jul 29 01:52:34 its always the simpliest thing Jul 29 01:52:38 heh Jul 29 01:52:56 you can also pass an object with a name property Jul 29 01:53:03 {'name': 'decorSetup'} Jul 29 01:53:49 ok time for my decorSetup.setup() to fail Jul 29 01:53:57 can;t wait to debug that one Jul 29 01:55:05 that's the spirit? Jul 29 01:55:10 meh Jul 29 01:55:14 It failed Jul 29 01:55:33 its html stuff so I know I'm doing something wrong Jul 29 01:55:39 since I have no clue what I'm doing lol Jul 29 01:56:06 lol Jul 29 01:56:12 http://webos.pastebin.com/bs9ZyMdx anyreason why it would throw className error? Jul 29 01:56:27 com.mycompany.testapp Error: Error: Cannot set property 'className' of object, line undefined, file undefined, palmInitFramework347:2527 Jul 29 01:56:51 Anivrom: it's element.addClassName(theName); Jul 29 01:56:54 hrh Jul 29 01:57:01 its newDivs.push() Jul 29 01:57:07 not newDivs.push = Jul 29 01:57:17 oh, that, too Jul 29 01:57:38 riiiiiiiiiiooooghhhtt Jul 29 01:57:40 newDivs.push(document.createElement..... Jul 29 01:58:05 so for both instances of className = it should be addClassName? Jul 29 01:58:33 and newDivs[i].addClassName(i); and y.addClassName('segmentTitle'); Jul 29 01:58:34 yeah Jul 29 01:58:58 but why for are you adding class names 0, 1, etc...? Jul 29 01:59:31 erm idk actually, I meant to assign ID's in numerical, not classes. Jul 29 01:59:45 ah, then that is just element.id = i; Jul 29 02:00:08 man i really wanted to watch this podcasts at work tomorrow, guess not Jul 29 02:01:54 Anivrom: what is the purpose of this code and would it be better served with a list widget? Jul 29 02:02:24 because in my first app I was doing a lot of DOM manipulation, and it becomes a huge headace Jul 29 02:02:28 headache, too Jul 29 02:02:29 trust me Jul 29 02:02:31 no, I am creating a bunch of divs based on an array of inventory items. The divs are gonna be repositionable Jul 29 02:02:43 by dragging Jul 29 02:02:54 that's a re-orderable list :D Jul 29 02:02:58 ......... Jul 29 02:03:04 Within the context of a game Jul 29 02:03:15 within the context of decor items Jul 29 02:03:32 ie chairs lamps etc Jul 29 02:03:45 mhmm... Jul 29 02:04:07 they're still lists :D then you use the list template stuff to make your html life way easier Jul 29 02:04:49 I don't see how lists would help. I need images to be draggable on the canvas, kinda like a custom layout Jul 29 02:05:03 oh, it's not a list display Jul 29 02:05:06 got it Jul 29 02:06:37 Error: Error: Cannot call method 'appendChild' of null, line object, file undefined, palmInitFramework347:2527 wtf????????? Jul 29 02:06:44 I check the div Dom and it looks normal Jul 29 02:09:01 ohh Jul 29 02:09:04 onLoad Jul 29 02:10:43 does anyone know how to stop tracking the gps after starttracking has been called? Jul 29 02:12:50 http://www.youtube.com/watch?v=kzmkmrt9kBk -- lmao Jul 29 02:13:31 mounted! Jul 29 02:13:34 shawalli: doesn't look like a documented way to do that, interesting Jul 29 02:13:45 doesn't look like there is Jul 29 02:14:04 so once you call it, it just goes until you kill the app? Jul 29 02:14:13 I think so Jul 29 02:16:07 i know the foursquare app does it but i dont understand the method it uses...its in the source code on github http://github.com/foursquare/foursquare-palmpre/blob/master/Foursquare/app/lib/gps.js Jul 29 02:17:13 shawalli: ah, I see...you just delete the service request var, i.e. this.request Jul 29 02:17:18 say, can i use in list entry template? will that make me looking a bit desparate? Jul 29 02:18:16 well i set it as var myReq = this.controller.serviceRequest{put code here} Jul 29 02:18:21 omg.. laggggg Jul 29 02:18:43 sugardave: so would it be myReq = null? Jul 29 02:18:57 shawalli: so, delete myReq should work if myReq is in scope when you call delete Jul 29 02:19:03 no, delete myReq; Jul 29 02:20:20 y.onLoad=function() {y.src = game.inventoryItems.decorations[i].imageurl;}; Jul 29 02:20:20 while (!y.onLoad) {} will this fail horribly? Jul 29 02:20:38 dave, your always looking for apps to make right? ive got one im probably gonna pass on cause im not interested in the subject material, but if your interested i can pass it along Jul 29 02:21:14 dawm|laptop: as long as it isn't PDK-required I'll take a look :D Jul 29 02:21:19 LMAO dohtem Jul 29 02:21:30 dave are you on gtalk? Jul 29 02:21:40 sugardave at gmail Jul 29 02:21:48 it's on my Pre so I will be slow Jul 29 02:21:53 they still don't have a linux client Jul 29 02:21:57 *boggle* Jul 29 02:22:00 um Jul 29 02:22:06 any jabber client will work fool Jul 29 02:22:10 orly? Jul 29 02:22:12 sugardave: hmm, didnt seem to work; gps keeps tracking after deleting the variable Jul 29 02:22:31 I will find a good jabber client, then Jul 29 02:24:23 wait Jul 29 02:24:36 have you ever heard of pidgin? Jul 29 02:24:42 used to be called gaim Jul 29 02:24:47 gaim is awesome Jul 29 02:25:01 oh, this one is built-in and already installed Jul 29 02:25:02 empathy Jul 29 02:25:12 yah it sucks tho Jul 29 02:25:23 ubuntu? Jul 29 02:25:37 well, it's good to have something, I started up a freaking vm yesterday to use gtalk :P Jul 29 02:25:41 yeah ubuntu Jul 29 02:25:47 aptitude install pidgin Jul 29 02:26:15 isnt pidgen called gaim now? Jul 29 02:26:18 one and the same? Jul 29 02:26:23 gaim is called pidgin Jul 29 02:26:33 AOL made them lose the gaim name Jul 29 02:26:42 rather told them they need to stop using it Jul 29 02:26:48 yea it was kinda misleading Jul 29 02:28:31 can anyone see any oversight I've missed here? Jul 29 02:28:32 y.onLoad=function() {y.src = game.inventoryItems.decorations[i].imageurl; done=true;}; Jul 29 02:28:32 while (!done) {} Jul 29 02:28:42 okay, now I wonder which one messages will go to...gchat on this machine, the other machine, the pre's gtalk, or this pidgin Jul 29 02:29:10 whatever was the last active i believe Jul 29 02:30:20 Anivrom: I have no idea how to use that onLoad stuff Jul 29 02:30:35 well.. when the image is loaded it calls whatever you assign to onload Jul 29 02:30:47 I assigned a function Jul 29 02:30:57 But done never gets toggled Jul 29 02:31:42 if I don't use an onload the appendChild runs before y is loaded with anything Jul 29 02:39:28 anyone see the 'unsale' for the 'this app does nothing'.. $100 Jul 29 02:39:55 gotta have an unsale before you can have a sale Jul 29 02:40:07 it was 4.99 previously Jul 29 02:40:36 and it says there were 22 downloads.. and people leave it bad reviews.. even tho it clearly tells you it does nothing at all Jul 29 02:40:55 i think kesne told me he even bought it (before the 50% app sale) Jul 29 02:40:55 "this app sucks. It did something." Jul 29 02:41:15 heh Jul 29 02:41:20 one was like 'i want my money back' Jul 29 02:41:57 crapplets Jul 29 02:42:40 'Can I get my money back? Dumbest app ever. Don't waste ur time' Jul 29 02:45:30 SPECIAL END OF SUMMER UNSALE!! BUY NOW WHILE ITS MORE EXPENSIVE Jul 29 02:45:31 lol Jul 29 02:47:09 dawm|laptop: new Draggable(newDiv[i]); is all that's needed to setup a draggable in scriptalicous right? I checked docs and apparently that's it. Jul 29 02:47:21 i believe so Jul 29 02:47:28 i think theres options tho Jul 29 02:47:39 yea but arent they 'optional' Jul 29 02:49:15 hold Jul 29 02:50:35 maybe they are optional Jul 29 02:50:39 ugh might scrap the whole html thing and just go with canvas Jul 29 02:50:51 oh no Jul 29 02:50:59 you need a handler Jul 29 02:51:09 like i have onDrag and onEnd Jul 29 02:51:22 so it calls a function during the drag, and then another one at the end of the drag Jul 29 02:51:36 my divs arent even showing up so w/e just gonna scrap it Jul 29 02:51:37 but in its simplest form just to move stuff around you dont need em Jul 29 02:51:41 3 hours wasted Jul 29 02:51:42 heh **** ENDING LOGGING AT Thu Jul 29 02:59:57 2010