**** BEGIN LOGGING AT Mon Aug 23 02:59:56 2010 Aug 23 03:00:13 Tibfib: maybe it isn't random, maybe the subtle bug happens when it's at 10000....I don't know, you wrote it :P Aug 23 03:01:03 sugardave: hah, I just store and look at the cookie... I don't see how that would be possible Aug 23 03:01:48 Tibfib: try storing the "" + id; and parseInt(id, 10); what you retrieve Aug 23 03:02:16 k Aug 23 03:02:54 as a test to prove sugardave wrong... :) Aug 23 03:03:35 it might nooot be cookies, but it is some sort of var problem Aug 23 03:03:46 bout to pastebin Aug 23 03:03:47 alexfner: mad men on now Aug 23 03:03:56 dammit. sugardave was right?!?!?! Aug 23 03:03:57 right right Aug 23 03:04:42 http://webos.pastebin.com/tVzzxeDm Aug 23 03:04:45 what the crappppppppp Aug 23 03:04:46 what? Aug 23 03:04:53 what was I going to be wrong about? Aug 23 03:05:05 JenP: what string is that regexp failing to match? Aug 23 03:05:14 can you not store greater than 9999 in a this.var? Aug 23 03:05:27 Tibfib: no, that would be crazy Aug 23 03:05:30 address string returned by gps reverse response Aug 23 03:05:46 then what the crapola is wrong with my code...lol Aug 23 03:05:48 hmm? Aug 23 03:05:54 rwhitby: 950 W Maude Ave ; Sunnyvale, CA 94085; USA Aug 23 03:06:36 JenP: if you want those pieces, you could .split(';') them into an array Aug 23 03:07:18 duh....LOL I'm so used to regex's it's turned into my default Aug 23 03:07:29 heh Aug 23 03:07:48 * rwhitby likes sugardave's solution Aug 23 03:08:06 yeah but then I'd still have the city and state to erase Aug 23 03:08:25 Tibfib: Are you sure both are integers and one not a string? Aug 23 03:08:27 JenP: should be easier to deal with though Aug 23 03:08:46 try the parseInt() on both in the comparison Aug 23 03:08:48 haeffb: why would it change randomly at 9999? they were integers before? Aug 23 03:08:51 true...i'll give it a try Aug 23 03:09:04 trying nonetheless Aug 23 03:10:33 JenP: if you just want street address and zip, after the split you have split[0] and then regex match /^\D(\d*)$/ on split[1] Aug 23 03:10:38 I think that will work Aug 23 03:10:41 haeffb: I love you Aug 23 03:11:14 why the crap would it MAGICALLY stop working past 9999? Aug 23 03:11:23 Mojo is magic Aug 23 03:11:38 thanks sugardave i'll try that Aug 23 03:11:39 I didn't parseInt before, but past 9999 I had to? Aug 23 03:15:04 good stuff Tibfib. Aug 23 03:15:07 night all. Aug 23 03:15:21 haeffb: goodnight, thanks for your help Aug 23 03:43:00 argh. Aug 23 03:43:02 I did it again Aug 23 03:43:22 error: failed to push some refs to 'git@github.com:webOSroundup/Hackathon-Number-1.git' Aug 23 03:43:23 To prevent you from losing history, non-fast-forward updates were rejected Aug 23 03:57:50 oh gosh. I may have found a perfect text editor Aug 23 03:58:04 what's that Tibfib? Aug 23 03:58:15 http://www.e-texteditor.com/ has what I like about notepad++ and there's a webos bundle Aug 23 03:58:31 expensive Aug 23 03:58:40 I'm running the trial, seeing if I like it enough Aug 23 03:58:48 If you do, torrents! Aug 23 03:58:52 no Aug 23 03:58:55 i've always benn an ultra edit fan Aug 23 04:00:04 http://drippic.com/node/597 lol Aug 23 04:01:13 what's the method for closing the application? ...popscene? Aug 23 04:03:50 apparently window.close works Aug 23 04:06:34 can anyone tell me how to change a label's text color (via code, not the ui)? Aug 23 04:06:50 on ares that is Aug 23 04:07:23 ares....um sorry not i Aug 23 04:07:41 ... no clue on ares ... sorry Aug 23 04:08:52 i imagine something like: .getElementById("colorChange").style.color="#FF0000"; Aug 23 04:09:33 ok, I'll try that. thanks Aug 23 04:10:14 heh Aug 23 04:28:59 goodnight everyone Aug 23 04:29:12 night Aug 23 04:44:10 who's here and has worked with pdk stuff? Aug 23 06:13:40 morning Aug 23 06:19:25 Anybody have experience with cross app stuff? Aug 23 06:28:11 not yet Aug 23 06:28:17 did you read the webos101 stuff on it? Aug 23 06:38:04 swisstomcat: No, link? Aug 23 06:38:14 search :) Aug 23 06:38:15 hold on Aug 23 06:38:58 http://webos101.com/Cross-App_Launch Aug 23 06:39:04 http://webos101.com/Cross-App_Launching Aug 23 06:44:47 This is the one I need: Aug 23 06:44:47 hold on Aug 23 06:44:48 er Aug 23 06:44:56 The second one Aug 23 06:45:02 Copy/paste is failing me Aug 23 06:45:12 But how do I add support into my app Aug 23 06:45:32 kesne: copy it from one of the open source apps listed Aug 23 06:45:45 (assuming your app is open source too) Aug 23 06:45:58 rwhitby: It's not :O Aug 23 06:46:19 change your development ideology then, so you can get assistance easier Aug 23 06:46:37 you can't expect to take and not give Aug 23 06:46:43 Hah Aug 23 06:46:47 It might be later on Aug 23 06:46:55 but right now, it's not for "security" reasons Aug 23 06:46:57 that's what they all say Aug 23 06:47:03 yo yo Aug 23 06:47:05 swiss Aug 23 06:47:07 got that device Aug 23 06:47:11 came with 1.4.2 on it Aug 23 06:47:15 to test pdk stuff Aug 23 06:47:16 silly Aug 23 06:47:35 swisstomcat: that was all directed @ you Aug 23 06:47:42 rwhitby: Well, realistically the KSO service could easily be taked advantage of. Aug 23 06:48:01 you should fix that then ... Aug 23 06:48:06 Yeah Aug 23 06:48:10 It's on the todo list Aug 23 06:48:15 But it's really far down Aug 23 06:48:34 * rwhitby tweets that KSO considers security to be unimportant ... ;) Aug 23 06:48:58 * kesne points to the fact that Checkers and Planet Eaters are closed source Aug 23 06:49:39 security by obscurity is not effective security Aug 23 06:49:51 you also wouldn't tweet about KSO consitereing anything, because KSO is a service, not a company :O Aug 23 06:49:58 rwhitby: Best I've got! :D Aug 23 06:51:27 rwhitby: I'm working on some other things to bump up security Aug 23 06:51:49 rwhitby: but right now, it's not terribly hard to brute-force passwords with the service. Aug 23 06:53:03 of course the only thing being protected are checkers high scores and ASL chat, so you've probably got the right level of security Aug 23 06:53:19 Heh Aug 23 06:53:26 That's actually the checkers system Aug 23 06:53:27 Not KSO Aug 23 06:53:37 Checkers and KSO are completely different Aug 23 06:53:52 KSO is the user system, checkers is the online interface for checkers. Aug 23 06:54:17 I also don't like open source because I like money. Aug 23 06:54:50 That's a false assumption... open source === free Aug 23 06:55:03 I know Aug 23 06:55:05 indeed, just ask drPodder or RedHat Aug 23 06:55:17 * dkirker was just about to suggest Red Hat :) Aug 23 06:55:27 But it means people can download the code, and play with it Aug 23 06:55:30 I don't like that Aug 23 06:55:32 so? Aug 23 06:55:33 With my apps Aug 23 06:55:53 * kesne is very strange when it comes to stuff like this Aug 23 06:55:54 You can still view the source code on webOS apps. :/ Aug 23 06:56:02 Yeah Aug 23 06:56:06 Just takes more effort Aug 23 06:56:11 kesne: yet you want to cut and paste other people's code for launch parameters into your app ... Aug 23 06:56:12 Unless you go to great pains to obscure it all... Aug 23 06:56:37 rwhitby: Never said that Aug 23 06:57:09 * rwhitby wonders what the webos101 content license is ... Aug 23 06:57:19 ah, public domain. Aug 23 06:59:23 Oh, I found out how to do it Aug 23 07:03:10 Does Relego currently support the cross-app launch stuff? Aug 23 07:08:16 not sure .. i think it was planned Aug 23 07:09:05 I'll ask the crowd Aug 23 07:09:08 two questions Aug 23 07:09:17 for pdk games, what format would you save data in? Aug 23 07:09:24 and what format would you store game levels in? Aug 23 07:09:31 JSON or XML or my primary targets Aug 23 07:09:42 but if you've got something better... Aug 23 07:09:48 load them in with a JSON or xml lib Aug 23 07:10:11 alexfner: great to hear .. a pre i assume? Aug 23 07:10:24 pre plus, yeah Aug 23 07:10:33 pre plus even .. nice! Aug 23 07:10:39 and you don't have to send it back? Aug 23 07:10:43 and I have been somewhar cranking away Aug 23 07:10:47 as far as I know, no Aug 23 07:10:57 cool Aug 23 07:10:58 but this has really helped me get some movement on my apps Aug 23 07:11:26 I have one that I said would be done monday, but might move to tues or wed, but still an impressive feat to do it in a weekend or so Aug 23 07:11:31 great, that's the point of the test device program i think Aug 23 07:14:40 so, xml or JSON? Aug 23 07:17:24 oh man I think I've got 40 tabs open or something close to it Aug 23 07:17:33 for pdk? Aug 23 07:23:30 no, for firefox Aug 23 07:23:47 i mean the xml/json question Aug 23 07:24:03 oh yeah Aug 23 07:24:05 haha Aug 23 07:24:07 yeah Aug 23 07:24:13 either one requires me to use a lib Aug 23 07:24:18 so the question is which? Aug 23 07:25:10 yay .. my article "Introduction to webOS SDK Development" on mobiletuts will be published this week :) Aug 23 07:25:30 c/c++ libs i assume .. which one is easier? Aug 23 07:25:38 yeah, that is the question Aug 23 07:25:49 these days i would go for json over xml .. but that's just me Aug 23 07:27:01 hmm Aug 23 07:28:07 yeah I just cannot decide Aug 23 07:28:10 but I do not need to yet Aug 23 07:28:17 in about a half hour or maybe a bit more I will Aug 23 07:28:19 haha Aug 23 11:58:22 morning all Aug 23 12:04:56 morning Aug 23 12:05:53 Hows it going swisstomcat Aug 23 12:07:19 good Aug 23 12:07:28 working on part2 of my webos dev tutorial Aug 23 12:07:54 oh nice Aug 23 12:08:09 the first part should be published on mobiletuts this week Aug 23 12:08:12 much happen around here since thursday ? Aug 23 12:08:20 awesome Aug 23 12:09:05 not much i think Aug 23 12:09:09 the WOR hackathon happened Aug 23 12:09:42 oh I dont think I have heard of that. what exactly is it? Aug 23 12:10:05 webosroundup had a hackathon (12 hours) to create an app in that time Aug 23 12:10:20 nice Aug 23 12:10:33 the beta of relego came out of it Aug 23 12:16:23 oh cool is it already on preware Aug 23 12:16:49 yeah Aug 23 12:18:55 I'll have to give it a try Aug 23 12:26:47 did it take the full 12 hours or was it less Aug 23 12:26:53 more Aug 23 12:27:10 oh really Aug 23 12:27:16 and there's still stuff to do Aug 23 12:31:09 wow looks good though Aug 23 12:31:52 yeah, it does Aug 23 12:32:48 Good Morning/Afternoon/Evening everyone Aug 23 12:32:56 hey Aug 23 12:32:59 hey Aug 23 12:33:01 afternoon for me Aug 23 12:33:25 morning for me Aug 23 12:34:29 Any good way to have sound in a PDK app Aug 23 12:37:30 hi warpdesign Aug 23 12:37:47 ctladvance: did you check out the latest pdk sample from palm? it has sound Aug 23 12:37:58 Whats it called? Aug 23 12:38:36 http://github.com/palm/pdk-samples/tree/master/tiltodemo/ Aug 23 12:41:23 hi swisstomcat Aug 23 12:52:23 ARG, compiler isnt finding my sdl folder for includes Aug 23 12:52:25 err Aug 23 12:53:21 hmm Aug 23 12:54:48 hi guys ... can we open document files in webview? Aug 23 12:54:58 fixed it Aug 23 12:57:37 good morning world! Aug 23 12:58:22 good morning dkirker Aug 23 12:58:37 the sun is just starting to rise! Aug 23 12:59:35 morning raghuk/dkirker Aug 23 12:59:45 raghuk: locally stored files? Aug 23 12:59:56 good morning CTLAdvance, swisstomcat Aug 23 13:00:21 all-nighter, dkirker? Aug 23 13:00:28 yup! :D Aug 23 13:00:34 another hackathon? Aug 23 13:01:04 hehe, kinda. I am working on another project, OpenBTS, that is going to Burning Man, and I am trying to finish some code up by this evening. Aug 23 13:01:28 Half of my team leave mid-week, and I leave at the end of the week. So much to get done! Aug 23 13:01:38 swisstomcat: no Aug 23 13:02:30 swisstomcat: i have url Aug 23 13:02:51 example? Aug 23 13:04:03 swisstomcat: well i have ... http://demo01.medu.com/bbcswebdav/courses/CALC101/BRD_CALC101_Definitions.pdf Aug 23 13:04:51 it's all pdf's? and you want to open them in a webview? Aug 23 13:04:57 but this is autheticated .. so i'm using webview instead on native pdf app ... so that after login, user can view Aug 23 13:05:17 swisstomcat: yes Aug 23 13:05:40 but the webview can't view pdf's? Aug 23 13:05:43 show Aug 23 13:06:21 yup Aug 23 13:06:58 i thought only the pdf-viewer can do that? Aug 23 13:08:16 swisstomcat: when i want to open pdf file it's throwing an error ... Mime type not supported Aug 23 13:08:32 the pdf-viewere? Aug 23 13:08:32 swisstomcat: i have got this error by using .. webViewMimeNotSupported Aug 23 13:08:43 who is throwing an error? Aug 23 13:08:51 swisstomcat: webview Aug 23 13:09:06 i don't think the weview can show a pdf Aug 23 13:09:20 since you can't open a pdf in a browser card either, can you? Aug 23 13:09:38 swisstomcat: also pdf throws error bcoz it's a private url and login must required Aug 23 13:10:04 swisstomcat: so that type of things pdf cann't handle ... right? Aug 23 13:10:30 the pdf viewer throws an error? Aug 23 13:10:40 swisstomcat: yes Aug 23 13:13:12 ah, i see .. it's protected Aug 23 13:13:14 the url Aug 23 13:13:41 swisstomcat: yea Aug 23 13:14:06 this seems tricky Aug 23 13:18:48 swisstomcat: confused on how to solve this Aug 23 13:19:32 not sure if you can solve the problem Aug 23 13:19:41 unless you can talk to the people hosting the files Aug 23 13:20:09 or handle it with a server-side component Aug 23 13:20:35 swisstomcat: hmmm ... server-side component? Aug 23 13:21:49 a script that you host on your server or somewhere else that requests the protected file, reads it and sends the bitstream to your app Aug 23 13:31:37 swisstomcat: ooh .. ok Aug 23 13:32:08 swisstomcat: thanks ... so no documents supported in webview like doc, ppt, etc ..? Aug 23 13:32:49 i don't think so .. because they're handled with document viewers in the normal webos browser too Aug 23 13:33:32 swisstomcat: but images are showing up Aug 23 13:33:50 images are showing up in the normal webos browser too :) Aug 23 13:44:03 hmm where is arm-none-linux-gnueabi located in windows Aug 23 13:44:25 It used to come included in the pdk install Aug 23 13:45:34 yeah, not anymore Aug 23 13:45:40 you have to install it from the sourcery website Aug 23 13:45:50 there's a link in the pdk install page on the developer portal Aug 23 13:48:55 what did they violate the license?!?! Aug 23 13:48:59 oy ok downloading Aug 23 13:54:03 morning lonestar Aug 23 13:54:48 morning swiss Aug 23 13:55:00 morning loic_m Aug 23 13:55:01 how was your weekend? Aug 23 13:55:11 morning LoneStar99 Aug 23 13:55:53 pretty good Aug 23 13:55:58 howdy bhodder Aug 23 13:56:03 heard about the WOR hackathon, lonestar? Aug 23 13:56:44 yeah, was not able to contribute, was running around all day saturday, will "attend" virtually the next hackaton Aug 23 13:57:05 you could contribute the spanish translation .. interested? Aug 23 13:58:13 yeah Aug 23 13:58:30 let me know what i need to do Aug 23 13:58:32 i can send you the strings.json Aug 23 13:58:37 that needs to be translated Aug 23 13:59:21 morning everyone Aug 23 13:59:25 make sure he's added to the wiki as a contributor... Aug 23 13:59:37 yeah Aug 23 13:59:46 morning tibfib,haeffb Aug 23 14:00:10 hello! Aug 23 14:00:13 morning Aug 23 14:00:27 swisstomcat: diegoATearthoid.com Aug 23 14:00:38 will do Aug 23 14:01:49 need to translate some other stuff for HattCzech also... Aug 23 14:02:56 sent Aug 23 14:05:31 any server code stuff need to be built for regelo? Aug 23 14:06:40 don't know the status Aug 23 14:08:17 ok well yall just let me know Aug 23 14:08:43 well off to my friends office, brb in 30 laters Aug 23 14:35:40 Noted! published to app catalog this morning. Aug 23 14:41:32 cool Aug 23 14:42:17 morning all Aug 23 14:42:27 haeffb_pre: nice, congrats! Aug 23 14:43:15 doesn't show up yet, though... Aug 23 14:43:17 ya congrats haeffb_pre Aug 23 14:43:26 thanks guys Aug 23 14:43:29 morning hattczech Aug 23 14:43:43 congrats on? Aug 23 14:43:59 (congrats in advance for something i don't know about yet, haeffb_pre) Aug 23 14:44:56 new app published today Aug 23 14:45:14 Noted! - a simplenote client Aug 23 14:45:41 oh, cool Aug 23 14:45:55 relego is very cool too :) Aug 23 14:46:28 yeah, I especially like the german translation Aug 23 14:46:56 hehe Aug 23 14:47:16 i can totally see you using the german version ;) Aug 23 14:47:24 noted! published three weeks after I began coding Aug 23 14:47:54 of course I stole a lot of code from Done! Aug 23 14:51:59 nothing better than code samples! Aug 23 15:01:11 morning Aug 23 15:02:11 morning miak Aug 23 15:02:14 maik: morning Aug 23 15:05:31 eww, maik Aug 23 15:05:33 :p Aug 23 15:07:26 [waving hello] I've got two branches of code, the trunk where I just applied a bunch of bug-fixes, and a development branch for a new feature. I've merged the changes from the trunk into the feature branch, and all the unit tests pass. So, what else should I be doing to ensure the merged code is correct? Aug 23 15:07:46 test it as a whole? Aug 23 15:10:50 How so? Aug 23 15:11:06 i don't know, man! don't ask questions! Aug 23 15:11:16 * DougReeder makes a moue Aug 23 15:13:31 NUCLEAR BOMB DETECTED Aug 23 15:15:14 * halfhalo nukes the channel Aug 23 15:16:38 hahaha: http://www.hotbot.com/ Aug 23 15:16:42 welcome to 1996 Aug 23 15:18:03 they are still around? wow! Aug 23 15:18:20 pretty awesome Aug 23 15:18:46 that's fancy Aug 23 15:19:16 deepee Aug 23 15:19:54 oh shit she's a gold digga Aug 23 15:19:57 just thought you should know nigga Aug 23 15:20:01 lawl Aug 23 15:20:25 you both should be taken out back and shot Aug 23 15:20:37 why? Aug 23 15:20:37 Its the humane thing to do Aug 23 15:20:55 i see you driving round town with the girl i love and i'm like Aug 23 15:20:57 fuck you Aug 23 15:21:02 ooo, ooo, ooo Aug 23 15:21:19 * halfhalo rests his case Aug 23 15:21:38 you wernt including me were you halfhalo? i behave Aug 23 15:21:58 Oh fiddlesticks Aug 23 15:22:21 Their repaving the part of the street right in front of my house Aug 23 15:22:29 wow hotbot looks the same as it did like 5 years ago Aug 23 15:23:39 "msn search" nice Aug 23 15:27:27 hah, the shoe's on the other foot now, halfhalo Aug 23 15:28:17 I drive an SUV I care little for, its all good Aug 23 15:29:04 grtz Aug 23 15:29:07 you're still going to hell Aug 23 15:29:14 wait, wrong window Aug 23 15:29:26 no, im still going to hell Aug 23 15:29:29 i pity the fooooooooooooool Aug 23 15:29:33 lol @ xkcd today Aug 23 15:29:37 that falls in love with you Aug 23 15:29:48 i think i'm in love with this song Aug 23 15:29:59 it's a little heavy on the chorus, but it's got a really nice beat Aug 23 15:31:30 funny, until you have to get to our place Aug 23 15:31:43 because the road is brand new and not on any GPS maps apparently Aug 23 15:31:44 best line though, "I guess he's an XBOX and I'm Atari" Aug 23 15:31:49 totally Aug 23 15:31:52 it's full of win Aug 23 15:32:12 yeah one time i did that exact conversation with my sister heading to her new house Aug 23 15:32:12 "did he say he's a tarry?" Aug 23 15:32:18 "no no, Atari" Aug 23 15:32:20 oooooohhhhh Aug 23 15:32:26 heh Aug 23 15:32:43 but it wasnt on the GPS and so after i got close i called my mom who had been there and got dirctions Aug 23 15:33:10 then pretended like Jane got me there, i had to help Jane save face you know, she get embaresed Aug 23 15:34:18 heh Aug 23 15:35:27 so on a webos/hp/palm related question, how long has peoples review time turnaround been lately? Aug 23 15:37:13 chuqui: do you delete "won't install - 0 star" reviews from the beta feeds, too? Aug 23 15:38:04 morn chuqui Aug 23 15:38:35 * halfhalo is to sexy for his shirt Aug 23 15:40:35 sugardave: I don't differentiate between feeds, so yeah, I do. Aug 23 15:40:44 haeffb_pre: hey! good morning. not bad for a monday. Aug 23 15:40:54 chuqui: great, thanks :D Aug 23 15:41:43 chuqui: i have a bunk 0 rating on one of my apps.... Aug 23 15:42:31 chuqui: "Yet another not working app" but app totally works Aug 23 15:42:34 chuqui i hope you are having a nice day! Aug 23 15:43:39 digitalpowers: thanks! Aug 23 15:43:58 chuqui: any update on runTextIndexer issue? Aug 23 15:44:28 * haeffb_pre attempts to bring chuqui down... Aug 23 15:44:56 wow - chuqui you getting bombarded with inquiries... Aug 23 15:45:14 LoneStar99: normal. it's why I'm here. Aug 23 15:45:39 haeffb_pre: I'm 200+ emails behind in my inbox. Guess what I'm doing today? Aug 23 15:45:51 haeffb_pre: (actually, the answer is "play mafia wars", but don't tell anyone Aug 23 15:45:59 nice Aug 23 15:46:39 haha Aug 23 15:48:40 god, I love the spam blogs these days. They're chewing up content and spewing it back out semi-random just to litter google with stuff that looks legit to generate backlinks for other sites http://g.mmowe.com/index.php/archives/95708 Aug 23 15:48:53 mafia wars...thats not even a webOS game... Aug 23 15:50:47 lol Aug 23 15:51:38 nope. but I play those, too. Big fan of soduko on my phone, for one. Aug 23 15:52:02 consider my mafia wars play "research on virtual goods and in-app purchasing" Aug 23 15:52:12 for possible future usage.m Aug 23 15:56:10 chuqui: what is that article, it is broken english and makes little sense.... Aug 23 15:56:34 chuqui: an exmaple of "new" spam? Aug 23 15:56:35 LoneStar99: that's an auto-generated spam article on a bot-managed spam blog. Aug 23 15:57:03 chuqui: wow interesting.... need to get into the BOT business.. JK Aug 23 15:58:15 i hear the RBN is doing some recruiting for just that, LoneStar99 Aug 23 15:59:22 maik: sign me up! lol Aug 23 16:00:45 does sound from an app still work, when the app is not in focus? Aug 23 16:01:01 Not focus --> "minimized... Aug 23 16:02:16 they're creating bogus text to make the blog seem legit to google so that the links they point to count in the google index. Aug 23 16:03:35 chuqui: yeah makes sense... testing out the new sharpie liquid pencil out!! Aug 23 16:03:47 lead is liquid graphite Aug 23 16:04:45 doesn't work Aug 23 16:04:52 prepare to have your dreams crushed Aug 23 16:05:06 :P engadget wrote up 3 posts on it Aug 23 16:05:25 chuqui if you need a new game to play let me know and i will email you an ipk of my new pdk game :D Aug 23 16:05:26 Tibfib: it works ---> just needs some "bug" fixes Aug 23 16:05:35 LoneStar99: lol Aug 23 16:05:54 how much was it? Aug 23 16:06:06 writting looks like a pen Aug 23 16:06:51 gave one to my little sister yestereday, she lost it within 15 minutes... Aug 23 16:09:21 at "cow-mart" --> "wal-mart" 2 for $4 Aug 23 16:10:08 hi Aug 23 16:10:12 hi Aug 23 16:10:40 hello MetaView & CTLAdvance Aug 23 16:10:57 hi lonestar99 Aug 23 16:13:45 digitalpowers: which game is yours? Aug 23 16:14:20 Shape Sorter, it is still pending review though, so you can either wait for it in the catelog or you can get a preview ipk :D Aug 23 16:14:41 I'll look for it when it hits the catalog. (I buy all my own apps. I don't take freebies) Aug 23 16:15:46 ahh fair enough Aug 23 16:16:09 you guys all deserve the sales... Aug 23 16:16:59 i dont know about "deserve" but i am definately looking forward to them Aug 23 16:17:11 *that and its probably some sort of ethical issue with a conflict of interest Aug 23 16:20:51 or maybe he just likes supporting the industry he works in Aug 23 16:21:00 chuqui: that is cool of you! Aug 23 16:21:37 is it ironic that for me of the things that will make me feel like my app is a success is if i can find people stealing it? Aug 23 16:22:50 hi Aug 23 16:22:53 not that i plan to let them or anything, but just the fact that they would go to the effort, kinda warms the cockles Aug 23 16:23:05 jkovacs_ hi Aug 23 16:23:48 digitalpowers: except for the folks that pirate software just because they can, but don't actually use it. Aug 23 16:24:40 oh definately, i think that a lot of people who pirate just get addicted to pirating Aug 23 16:24:46 another reason I like in app purchasing as a long-term revenue strategy; tapulous found that their stuff was being pirated a lot, but that something like 1/3 of the people using a pirated copy were buying stuff in-app. Aug 23 16:25:25 I think that shows a couple o fthings: that there are a lot of folks who don't think they're pirating when they are (for whatever reason) Aug 23 16:25:35 wow, that is hilarious, if i had pirated a game i dnt think i would give them my financials Aug 23 16:25:44 don't forget pirating makes you INTERNET COOL Aug 23 16:26:08 but also I think t shows that there's a value model around "free to start but design for add ons"; whether virtual goods or new levels or whatever. Aug 23 16:26:28 of course, we need to actually support in-app purchases somehow to make it viable for devs. Aug 23 16:26:36 get them hooked with free, then charge them small amoutns to acheive Aug 23 16:26:50 (yes, I've had that discussion around here. no, don't take that as anything more than I'm ranting at however will listen again...) Aug 23 16:27:23 chuqui you guys definately do, if you had support for in app purchasing or subscriptions for services it would definately open up a great new revenue option Aug 23 16:27:29 ugh :( Aug 23 16:27:56 microtransaction? Aug 23 16:28:32 i have been working on and off on a game that uses my server quite heavily and i havent figured out a good way to charge for its use because i dont want to force outside transactions, but a monthly account fee would be perfect Aug 23 16:29:42 of cource if you did setup an option for dev's to charge subscriptions to users we would need fairly up to date information on who had paid their subscriptions in order to keep their account live ect, so that woulud include some kind of API Aug 23 16:31:27 also you would need the ability to use their palm profile account as the "user" in your subscription service so we could link their subscription to our service (ok i am done now) Aug 23 16:32:32 digitalpowers: that would be really cool Aug 23 16:33:58 ok i lied one mroe thing, on the other hand as a developer doing outside subscription billing (like paypal) makes adding more platforms into your application easier (now i am really really done because something broke and i must go fix it) Aug 23 16:41:30 Did we need special access to submit pdk apps Aug 23 16:42:57 CTLAdvance not that i have heard of, are you getting an error when you submit that say it is of type PDK and contains executable code? Aug 23 16:43:18 nope, just wondering Aug 23 16:43:53 thanks Aug 23 16:44:35 ah, well i submitted mine and it took it but it errored on those two points, i sent an email and am just patiently waiting to hear back, it looks like a lot of people are getting the same error. But other than that i didnt do anything special Aug 23 16:45:58 digitalpowers: agreed. we need a "profileid" Aug 23 16:46:19 it could be the md5 of the email of the profile.... Aug 23 16:46:30 that would definately work Aug 23 16:54:35 this makes me happy: http://www.rahulsood.com/2010/08/why-i-love-webos.html Aug 23 17:31:57 rahul's a fun guy. loking forward to meeting him in person soon and working with him on "stuff". I like how there are people at HP that don't think "safe". Aug 23 17:32:03 you dn't expect that at really big companies. Aug 23 17:33:08 mmm "stuff" Aug 23 17:33:38 i bet it's a neural interface Aug 23 17:34:10 i hear the iphone has that Aug 23 17:34:19 There's an app for that. Aug 23 17:34:22 ™ Aug 23 17:37:05 Does anyone know if there is going to be a new sprint webos phone soon? the original Pre is getting a bit long in the tooth and I don't want to switch to android but the two 4G android phones are so much better from a hw standpoint Aug 23 17:40:07 Nothing has been announced yet. Aug 23 17:45:04 DogWater: there's rumor that one will be out near december Aug 23 17:45:28 as i hear it from digitalpowers, anyways (who is no authority on the subject, so don't get too hopefuly) Aug 23 17:45:33 -y Aug 23 17:48:46 maik: is the romur that it will be released or announced in dec? Aug 23 17:49:21 HattCzech_work: i don't know, i heard from dp Aug 23 17:49:36 digitalpowers! you around for rumor clarification? Aug 23 17:50:04 or maybe we should just ask chuqui to clarify ;) Aug 23 17:50:17 chuqui: so about that C9 ? Aug 23 17:50:34 er c40 Aug 23 17:50:35 rumors online said that palm was looking at a new phone 4th quarter but online rumors are just that Aug 23 17:50:53 and i think it was actually being called the c40 Aug 23 17:51:14 either way, hopefully they will come out with something soon because webos is the best OS and it deserves better hardware Aug 23 17:51:19 okay, so that sounds like being released 4th qtr Aug 23 17:51:28 agreed Aug 23 17:54:10 HattCzech_work: (wait for it......) Aug 23 17:54:17 HattCzech_work: LOOK! A PUPPY! Aug 23 17:54:21 heheh Aug 23 17:54:39 legen... (wait for it...) dary! Aug 23 17:54:45 (like that was unexpected) Aug 23 17:54:50 we love you chuqui, glad you put up with us Aug 23 17:55:05 digitalpowers: I'm just happy you folks don't have me shot. Aug 23 17:55:09 at least you keep it entertaining Aug 23 17:55:23 then who would we talk to about birds and cameras? Aug 23 17:55:33 and puppies Aug 23 17:55:34 hey, if we can't have a good time, why bother? Aug 23 17:56:08 good question Aug 23 17:56:17 profit? Aug 23 17:56:46 i mean dont get me wrong, fun and profit is better, but when all else fails, profit is nice Aug 23 17:57:00 bah. i'm hungry and pissed off that the network jack my bench is plugged into is on a completely different VLAN than anything else Aug 23 17:57:15 Haha Aug 23 17:57:32 man i bet you wish you still worked here cause ... then you ... nm Aug 23 17:57:35 and that i don't have control over it Aug 23 17:57:44 would be getting paid less? Aug 23 17:57:48 would hate my boss? Aug 23 17:57:53 's boss Aug 23 17:58:07 you weren't my boss Aug 23 17:58:30 Oh, oh, oh power fight! Aug 23 17:58:52 not really, he was technically in charge of me, but i never called him boss :) Aug 23 17:58:56 Lol Aug 23 17:59:00 I need a soda Aug 23 17:59:05 and he never actually flexed his boss muscle Aug 23 17:59:10 And a charger laptop, but mostly a soda Aug 23 17:59:10 probably because i'm an awesome employee Aug 23 17:59:17 never had to, you were a mostly good employee :P Aug 23 17:59:34 ya, the last few weeks were bitter and cold Aug 23 17:59:54 oh, dude, you need to go see Scott Pilgrim vs. The World Aug 23 17:59:57 Silly monkeys Aug 23 18:00:17 it looked stupid, but i don't think i've laughed that much in a movie in a long time Aug 23 18:00:54 Stupid ipad and lack of multitasking Aug 23 18:02:47 Iv'e found you can make really good money doing jobs you hate. and go home and be miserable. Aug 23 18:03:11 fortunately, this community understands the difference between "being serious" and "taking things seriously" and doesn't confuse the two. Aug 23 18:03:54 scott pilgrim was an awesome movie Aug 23 18:04:00 i was making shit money but loved what i was doing Aug 23 18:04:20 and who you did it with Aug 23 18:04:25 hey chuqui Aug 23 18:04:35 then we got a new director who didn't know anything (or near as much as she lead on), but no one listened to us when we told them she didn't Aug 23 18:04:39 things went downhill from there Aug 23 18:04:44 yes, i loved who i worked with too Aug 23 18:05:13 unfortunately i'm still having motivational problems Aug 23 18:05:26 i should be working on this VM but instead i'm distracting myself with IRC Aug 23 18:05:28 swisstomcat: hey! Aug 23 18:05:32 but they have macs where you are now! you are happy now! Aug 23 18:05:37 :( Aug 23 18:05:47 i have less stupid people, which makes me happy Aug 23 18:06:00 fuuuuuu Aug 23 18:06:05 that would be nice, although i am a little fond of my stupid people, they are mine Aug 23 18:06:12 c programming Aug 23 18:06:26 is good Aug 23 18:06:29 digitalpowers: you have minions? congrats! Aug 23 18:06:41 ya, i don't get to help near as many people as i used to, and while the quiet is nice, i have less to do and feel less useful Aug 23 18:06:52 well maik used to be my minon but i am replacing him, i meant the people we help, i do IT Aug 23 18:07:13 do eeeeet Aug 23 18:07:15 haha Aug 23 18:07:17 do IT Aug 23 18:07:20 hahahaha Aug 23 18:07:35 I apologize for my childish mind Aug 23 18:07:39 in advance Aug 23 18:07:49 lol Aug 23 18:07:50 lol Aug 23 18:07:53 it happen alexfner Aug 23 18:08:09 I mean, and you called maik your minion in the same sentence Aug 23 18:08:11 hahahaha Aug 23 18:08:13 tengo hambre y no tengo dinero Aug 23 18:08:15 computer organization and architecture... fuuu Aug 23 18:08:24 es sad :( Aug 23 18:09:19 uno cama para cada mono Aug 23 18:09:34 what are you doing with that monkey? Aug 23 18:09:36 la fiesta es en mi pantalones y tu no invite Aug 23 18:09:45 haha Aug 23 18:09:54 dont forget you can put money no your employee ID and hit up a vending machine Aug 23 18:10:05 i know Aug 23 18:10:16 but the vending machines are still overpriced pieces of shit Aug 23 18:10:29 ... Aug 23 18:10:51 ? Aug 23 18:10:53 they sell poo in the vending machines? or the vending machines themselves peices of poo? Aug 23 18:11:08 both! Aug 23 18:11:23 it's simply an expression of distaste for the vending machines Aug 23 18:11:24 you dangled your modifier Aug 23 18:11:31 ah, true Aug 23 18:11:33 you modified your dangler Aug 23 18:11:47 ho ho! Aug 23 18:11:49 the content of the vending machines are overpriced Aug 23 18:11:51 hey guys, we're doing an informal poll on what platforms people are developing on; Could folks answer our little poll? http://developer.palm.com/distribution/viewtopic.php?f=21&t=8523&start=0 Aug 23 18:12:04 and the machines themselves are pieces of shit (for having overpriced content) Aug 23 18:12:12 will do Aug 23 18:12:15 i read "Cloud" Aug 23 18:12:17 your wish is our slowly follwed suggestion Aug 23 18:12:38 hey all you windows developers! Aug 23 18:12:49 chuqui: i'm glad palm support all three platforms Aug 23 18:12:51 what's that like? Aug 23 18:13:00 conviniant and easy Aug 23 18:13:15 what about imaginary platforms! Aug 23 18:13:15 convant? Aug 23 18:13:17 convent? Aug 23 18:13:26 nice until you try pdk apps, then it's not as much fun Aug 23 18:13:33 yeah, not yet Aug 23 18:13:34 convenient i think is what he meant ;) Aug 23 18:13:45 the pdk stuff worked flawlessly on windows for me Aug 23 18:13:50 if you want convenience, then go with windows Aug 23 18:13:52 chuqui: sent an email to pdc, mind as well bother you here to. Could I get access to the 1.4.5 doctor for ATT in dropbox? Aug 23 18:14:00 digitalpowers: the original simple app did Aug 23 18:14:12 eww, att Aug 23 18:14:14 but trying to do things that have dependencies and other crap seems to be trickier Aug 23 18:14:42 not sure, i got a 2 games, and two senseless audio apps working swimingly Aug 23 18:14:49 and i am working on a third game Aug 23 18:15:04 oh god emacs Aug 23 18:15:04 (then again, i haven't played with c in a while, so that's probably part of my problem) Aug 23 18:15:14 halp me!!! Aug 23 18:15:16 halfhalo_pre: indubitably Aug 23 18:15:20 agh Aug 23 18:15:24 okay, digitalpowers, so maybe you can help me out Aug 23 18:15:25 HattCzech_work: indubitably Aug 23 18:15:32 fail Aug 23 18:15:56 sure, i am here most of the time if you are having problems and i am generally willing to lend a hand Aug 23 18:16:26 i'm getting a lot of "undefined reference" errors Aug 23 18:16:30 for a price Aug 23 18:16:41 to what Aug 23 18:16:50 i see the functions in another source file, but that source isn't included in the original code Aug 23 18:17:07 (there's no #include "file.c") Aug 23 18:17:08 alexfner: I'm way behind on getting people access to those doctors. Am trying to get that caught up today. Aug 23 18:17:40 the code should build and run without me modifying it, so how do i get it to recognize those functions? Aug 23 18:18:24 chuqui: okey dokey Aug 23 18:19:13 you dont inlucde "c" files, you link them Aug 23 18:19:14 HattCzech_work: http://stackoverflow.com/questions/232693/including-one-c-source-file-in-another Aug 23 18:19:30 you want to define the functions in a header (.h) file Aug 23 18:20:14 like i said... this code SHOULD work without me modifying it... Aug 23 18:20:15 what development environment are you useing (or are you trying to compile to the device using the toolchain)? Aug 23 18:20:18 so then how do i link it? Aug 23 18:20:40 i'm using the buildit.cmd that i modified Aug 23 18:20:47 ok then to link the files Aug 23 18:21:00 you add another .c to the gcc line Aug 23 18:21:15 *.c is fun, too Aug 23 18:21:39 are you compiling and linking in two steps or are you doing it all in one go? Aug 23 18:22:41 beats me :) Aug 23 18:22:47 heh Aug 23 18:23:10 ok well let me paste bin what i do for compile/link Aug 23 18:23:11 arm-none-linux-gnueabi-gcc -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -o simple ..\src\x2vnc.c "-IC:\Program Files\Palm\PDK\include" "-IC:\Program Files\Palm\PDK\include\SDL" "-LC:\Program Files\Palm\PDK\device\lib" -Wl,--allow-shlib-undefined -lSDL -lGLESv2 -lpdl Aug 23 18:23:33 ok you are doing both in one step Aug 23 18:23:46 you have -o simple is the name of the executable created Aug 23 18:23:51 yeah Aug 23 18:23:56 left that the same :) Aug 23 18:24:00 ..\src\x2vnc.c is the one source file you are compiling Aug 23 18:24:06 correct Aug 23 18:24:09 if tehre are more than one .c files they need to all be listed there Aug 23 18:24:42 do i need another -o simple2 ..\src\other.c ? Aug 23 18:24:56 what gcc will do is compile the source files into .o files, then link them into an executable along with all the other linked libraries Aug 23 18:24:59 no, like this Aug 23 18:25:27 ..\src\x2vnc.c ..\src\other.c then later -o myexecname Aug 23 18:25:50 or before i dont think it matters where the -o is Aug 23 18:25:57 so... src src2 src3 -o simple ? Aug 23 18:26:05 okay Aug 23 18:26:06 yep Aug 23 18:26:39 by habit i always do: gcc -o output file.c [...] Aug 23 18:27:08 yeah i think i normally do -o fname first as well Aug 23 18:28:30 i will try that Aug 23 18:28:40 then the fun part will come in :( Aug 23 18:28:46 of trying to get it all working Aug 23 18:29:01 yeah any c app is a bundle of fun Aug 23 18:29:22 especially converting from one using an x server :) Aug 23 18:29:30 TONS of fun Aug 23 18:29:39 hey guys who are working with the pdk Aug 23 18:29:53 I am having trouble linking my static libraries to build for the device Aug 23 18:29:57 anyone have any suggestions? Aug 23 18:30:08 depends, do you know c/c++? Aug 23 18:30:42 yes? Aug 23 18:30:52 ok then, do you know sdl/opengles? Aug 23 18:31:06 yeah, I've already written the app Aug 23 18:31:11 I just can't link my libraries statically when compiling Aug 23 18:31:26 oh i missed the second comment, man i was building up to some good sarcasm Aug 23 18:31:32 hellow everyone Aug 23 18:31:36 hello* Aug 23 18:31:37 alexfner: What error you getting? Aug 23 18:31:41 neville hello Aug 23 18:31:52 library has no index, please run ranlib to build one Aug 23 18:31:57 I've run ranlib multiple times Aug 23 18:31:59 no results Aug 23 18:32:20 Are you building it with the same compiler options as the rest of your app? Aug 23 18:32:33 I have a really stupid (almost embarassing) question about using mojo with Ares... if anyone is willing to provide a helping hand Aug 23 18:32:49 sure Aug 23 18:32:51 alexfner: As far as cpu options go at least. Aug 23 18:32:58 there are no stupid questions Aug 23 18:33:07 I want to say yes, but I might be lieing Aug 23 18:33:13 if I wasn't would that cause the problem? Aug 23 18:33:16 oh wait Aug 23 18:33:28 do I need to rebuild the libraries for cortex A8? Aug 23 18:33:33 It could if you are building your executable for the device, but you libraries are built for your host machine. Aug 23 18:33:52 alexfner: yeah, try doing that. Aug 23 18:34:07 so I have my app basically working perfectly on the back end, all I need to do now is push my data back to the widgets so the user can see some useful data. But, I can't figure out how to get this.controller.get("widgetId") to work with Ares! I can't find a spot to define the id (only the name/class/model name), so I think it may be failing because of that Aug 23 18:34:08 ah, will do Aug 23 18:34:11 many thanks rob Aug 23 18:34:21 I owe you a box of chocolates for your help Aug 23 18:34:54 so my stupid question is: how do I get the widget in order to modify the attributes/model information from ares? Aug 23 18:34:55 alexfner: And then use the ar and ranlib commands that use arm-gcc. Aug 23 18:35:30 alexfner: I'm always happy to help. Aug 23 18:37:19 how about a free massage?? Aug 23 18:37:34 I'm a part time masseuse, starting now Aug 23 18:39:53 neville: what widget are we talking about? Aug 23 18:41:10 progress pill Aug 23 18:41:38 i put the pill in there through ares, I'm just not sure how I can get it after-the-fact to modify the progress/title Aug 23 18:42:05 let me fire up ares Aug 23 18:42:18 oh "Ready for Review" why do you plague me so Aug 23 18:42:18 each widget should have a name or an id Aug 23 18:42:24 when you set it up Aug 23 18:42:41 right, i set the name as progressPill1 Aug 23 18:42:52 but when I use this.controller.get("progressPill1"), it returns undefined Aug 23 18:44:17 let me check something Aug 23 18:44:40 sure :) Aug 23 18:44:45 i appreciate the help, thanks Aug 23 18:45:30 does the same happen with this.$.progressPill1? Aug 23 18:46:03 hmm Aug 23 18:46:10 i've never even seen that command before - so nope! Aug 23 18:46:16 i think my ignorance is showing... Aug 23 18:46:43 it's undefined as well? Aug 23 18:46:59 Mojo.Log.info(this.$.progressPill1); ? Aug 23 18:47:20 trying right now, hang on Aug 23 18:47:30 i'm firing up ares Aug 23 18:49:20 it may be a problem with a way i debug information Aug 23 18:49:33 anyone know why when I use download manager to download to my app path the file just goes to /media/internal/downloads? Aug 23 18:49:34 when i use Mojo.Log it seems to work, but when I use my custom div it seems to do an endless loop Aug 23 18:50:21 hi guys .. i have wrritten a custom widget .. i want to contribute .. where i can post it? Aug 23 18:50:47 neville: oh, i see something Aug 23 18:51:01 oh i have an idea, im guessing Object.toJSON() doesn't work with this.$.progressPill1? Aug 23 18:51:06 when using mojo, you update the pill's progress by updating it's model Aug 23 18:51:15 right Aug 23 18:51:24 this.lgProgressPillModel.progress = this.lgProgressPillModel.progress + 0.2;this.controller.modelChanged(this.lgProgressPillModel); Aug 23 18:51:31 did you define a model for your pill? Aug 23 18:51:50 I dont think I have... not outside of the GUI editor Aug 23 18:51:57 did you define that just with the model name? Aug 23 18:52:05 i think so Aug 23 18:52:06 let me try Aug 23 18:52:30 janet napolitano, homeland security secretary is on NPR, interesting listening Aug 23 18:53:22 aha Aug 23 18:53:26 yeah that works, tomcat Aug 23 18:53:32 cool Aug 23 18:53:43 so then, any variable i set up through the property window in ares can be accessed with this.? Aug 23 18:53:50 for models, anyway Aug 23 18:53:55 i think so, yes Aug 23 18:53:56 that's actually really good to know! :) Aug 23 18:54:00 but i'm not the ares expert Aug 23 18:54:11 it needs more documentation and examples Aug 23 18:54:16 I'm a c# guy so I'm having a hard time making the transition with little kinks like that Aug 23 18:54:21 ahh that's alright, growing pains! Aug 23 18:54:28 this helps tremendously, thanks a lot! Aug 23 18:55:16 yeah, ares need a bit to get used to Aug 23 18:56:27 :) Aug 23 18:57:55 but c# seems similar to javascript .. language wise Aug 23 18:58:19 swisstomcat: where did that come from? Aug 23 18:58:21 it does, the language barrier isn't really holding me back Aug 23 18:58:31 it's the little stuff (like the ares thing) Aug 23 18:58:39 where did what come from, alexfner? Aug 23 18:58:58 that observation Aug 23 18:59:09 just from glancing at some c# code Aug 23 18:59:10 oh dud Aug 23 18:59:12 duh Aug 23 18:59:13 yeah Aug 23 18:59:22 I just read up the rest of the conversation, sorreh! Aug 23 18:59:26 :) Aug 23 19:01:09 can anyone think of a reason why I'm getting this error "Uncaught TypeError: Cannot set property 'progress' of object " when updating the progress pill progress from within a callback? Aug 23 19:01:15 i use the same code earlier and it works fine Aug 23 19:02:22 are you using this.$....? Aug 23 19:03:00 no, this.progressPillModel.progress = value Aug 23 19:04:13 this is scope dependent Aug 23 19:04:29 shouldn't this.* refer to anything in the global scope, though? Aug 23 19:04:41 were are calling this.progessPillModel.progress? Aug 23 19:04:45 where Aug 23 19:05:01 in a callback method for an event Aug 23 19:05:12 specifically, the download onSuccess event Aug 23 19:09:50 digitalpowers: got another question for you if you're around Aug 23 19:09:56 well, i guess it's for anyone Aug 23 19:10:30 i have a header that is needed for multiple files... instead of doing #include "types.h" in each file, can i somehow declare that globally? Aug 23 19:11:07 neville: for example .. in mojo, if you have an eventhandler .. this is local to that function .. you have to use bind(this) the eventhandler to get the correct scope Aug 23 19:11:43 oh i see, atleast i think i do Aug 23 19:11:46 one sec, let me try it Aug 23 19:13:15 it works! Aug 23 19:13:18 beautiful Aug 23 19:13:20 wohoo Aug 23 19:13:27 scope is important Aug 23 19:13:31 in javascript Aug 23 19:13:32 i just added .bind(this) to the end of the embedded function Aug 23 19:13:35 yeah stupid javascript Aug 23 19:13:41 hey, don't call it stupi Aug 23 19:13:42 i just assumed this. would be safe anywhere Aug 23 19:13:42 d Aug 23 19:13:54 i call c# stupid too, and I work full time coding that :P Aug 23 19:14:26 heh Aug 23 19:14:28 are you a palm employee, tom? Aug 23 19:14:33 no Aug 23 19:14:46 ahh so I can't give you kudos to anyone superior eh Aug 23 19:14:57 I guess you'll have to accept my honest thanks :) you've been extremely helpful Aug 23 19:15:16 that's what we are here for :) Aug 23 19:15:25 :) Aug 23 19:15:29 you can tell chuqui how glad you are ... he's at palm Aug 23 19:15:49 haha, maybe with enough kudos he'll send over a pre plus to you? Aug 23 19:15:59 that'd be nice, yeah :) Aug 23 19:16:52 alright I'll see if I can't pull some strings :D Aug 23 19:26:31 Hi all! Aug 23 19:27:44 hey Aug 23 19:27:55 hi jenp Aug 23 19:28:08 hi guys. Aug 23 19:28:31 hey JenP Aug 23 19:29:32 HattCzech_work dont think you can declare it globally Aug 23 19:29:35 hi bhodder Aug 23 19:30:31 okay Aug 23 19:31:09 i normally create a header for the app that includes all the headers and defines i need though, and just include that in all the .c fiels Aug 23 19:36:57 that's what i'm doing Aug 23 19:37:09 if only i could link header files :) Aug 23 19:40:50 does anyone have an update on a sip client? Aug 23 19:46:52 for a pdk app... what's the simplest way for me to just display a block on the screen? (minimum number of lines) Aug 23 19:50:57 void MyFillRect(int x, int y, int w, int h, SDL_Color color, SDL_Surface* screen) Aug 23 19:50:57 { Aug 23 19:50:57 SDL_Rect rect = {x, y, w, h}; Aug 23 19:50:57 SDL_FillRect(screen, &rect, 0xff000000 | (color.r << 16) | (color.g << 8) | color.b); Aug 23 19:50:57 } Aug 23 19:51:54 but you should go with openGL ES 1.1! Aug 23 19:54:23 thanks MetaView Aug 23 19:56:17 MetaView: would you happen to have a base cpp i could start with? Aug 23 19:59:06 hattczech .. did you look at the sample from palm (tiltodemo)= Aug 23 19:59:07 ? Aug 23 20:00:30 i have not Aug 23 20:00:32 HattCzech_work keep in mind that an app written using sdl graphics wont run on the pixi, and wont be hardware accelorated so it is slow, opengles 1.0 is the solution for easyish but still effective Aug 23 20:00:39 where's that one? wasn't in the sample folder Aug 23 20:01:18 i will definitely need to use opengles, then... right now i just want to see if it (kinda) works Aug 23 20:01:56 When doing service calls using PDL_ServiceCall, is it possible to get the actual service call return values? PDL_Err is far too generic. Aug 23 20:02:39 digitalpowers: would you happen to have a base file i could use to display a block? Aug 23 20:02:40 digitalpowers: Why won't SDL run on the pixi? Aug 23 20:02:50 hardware probably Aug 23 20:02:57 My SDL app runs on the pixi Aug 23 20:03:55 Error454: how did you make the screen update? Aug 23 20:04:02 Error454 your using SDL graphics? i was under the impression that it froze after the first few frames and stoped updating the screen Aug 23 20:04:03 SDL_Flip Aug 23 20:04:15 HattCzech_work: I started with the simple app Aug 23 20:04:22 SDL_Flip, ok, and this works? Aug 23 20:04:44 ahh, well i'm trying to remove EVERYTHING that isn't necessary Aug 23 20:04:53 Mine is a simple app, it's not a game so I don't update often, but SDL_Flip works fine. I'm initializing with SWSurface Aug 23 20:04:54 hey all Aug 23 20:05:16 maik: Where is dekan? Aug 23 20:05:51 CTLAdvance got offended so i took it down Aug 23 20:05:51 My exact code for showing a barebones image with SDL_Flip http://mobilecoder.wordpress.com/2010/08/16/drawing-images-for-webos-sdlpdk/ Aug 23 20:06:23 HattCzech_work: I think I have a basic opengl es 1.1 app somewhere that rotates a triangle on the screen. It would be pretty easy to convert it to a block. I'll see if I can find it. Aug 23 20:06:38 thanks, Robdor Aug 23 20:06:42 unrealistic expectations and bucket bot is apparently the wrong format for this type of channel Aug 23 20:07:00 right now i'm just looking to have a box (not block) on the screen Aug 23 20:07:05 2d works for what i'm doing Aug 23 20:07:30 HattCzech_work: http://developer.palm.com/distribution/viewtopic.php?f=70&t=6443 The code is in the first post. Aug 23 20:13:26 Robdor: i'm getting some undefined reference errors Aug 23 20:13:39 i'm checking the compile params right now Aug 23 20:15:06 Is anyone familiar with the PDL service calls? Aug 23 20:15:51 found it Aug 23 20:16:07 -lGLES_CM from -lGLESv2 Aug 23 20:16:37 Yeah, I use ES 1.1 Aug 23 20:16:47 cause 2.0 is rediculous Aug 23 20:19:09 Robdor: how fast does that triangle spin? :) Aug 23 20:19:26 * HattCzech_work has a seizure Aug 23 20:19:53 It should go pretty fast. I'm not doing any kind of frame limiting. :) Aug 23 20:20:13 hello Aug 23 20:20:25 it started kinda slow... but then... it just kept getting faster Aug 23 20:20:45 Yeah, it's based of time lapsed with SDL_GetTicks Aug 23 20:21:44 whoo! Aug 23 20:21:53 more than 1 in 100 adults is in prison in america Aug 23 20:21:56 HIGH FIVES! Aug 23 20:22:41 hey rob Aug 23 20:23:09 * Robdor hides Aug 23 20:23:29 two chipmunk questions Aug 23 20:23:49 cpCircleShapeNew will add a circle to the body, right? Aug 23 20:24:39 Yeah, it adds the collision shape to the body. Aug 23 20:24:59 and my other question Aug 23 20:25:07 in chipmunk, what would be the way to find if a body collides with a different body? Aug 23 20:25:12 Error454: thx Aug 23 20:25:16 do you have a pixi? Aug 23 20:25:25 wan't to make a test for me? Aug 23 20:25:36 I only have the Pre Aug 23 20:25:40 no, but I've collected stats from several users who do, they wouldn't be able to upload stats if SDL didn't work Aug 23 20:26:29 ok Aug 23 20:26:29 pixi's are in the minority, out of 1000 unique users, 6 have pixi's Aug 23 20:26:43 alexfner: You can use the collision callbacks -- http://files.slembcke.net/chipmunk/release/ChipmunkLatest-Docs/#Callbacks Aug 23 20:27:09 thank you so much Aug 23 20:28:25 no problem Aug 23 20:31:44 hey guys Aug 23 20:31:53 got an mojo/ares question if anyone is ready/willing Aug 23 20:32:51 it seems like every time i push/swap a new scene - the screen goes white first Aug 23 20:33:33 can't think of a good reason why... i set the bg image in ares Aug 23 20:35:33 so Robdor, if i want to keep my stuff 2d, do i need all of that rendering? Aug 23 20:35:56 Yeah. If you are doing 2d you should use ortho mode. Aug 23 20:37:29 n8 everyone Aug 23 20:38:24 later swiss Aug 23 20:38:26 hmm Aug 23 20:38:32 night Aug 23 20:38:50 cya swiss Aug 23 20:38:55 rob cpCircleShapeNew(body, 10.0f, cpzero); yet the objects are not colliding Aug 23 20:39:03 thoughts? Aug 23 20:39:14 Are you adding the body to the space? Aug 23 20:39:32 yeah Aug 23 20:39:39 I might be using it wrong though Aug 23 20:40:08 okay, got it to not spin... excellent... Aug 23 20:40:25 hmm Aug 23 20:40:28 can i do something similar to Mojo.Log in pdk apps? Aug 23 20:40:32 I think I have to add the shape to the body Aug 23 20:40:36 and and the shape to the space Aug 23 20:40:43 which is not what I was doing Aug 23 20:41:42 HattCzech_work: There are some logging libs that will do that for you. I'm lazy, so I just use cout. Aug 23 20:42:24 alexfner: I don't think that the order matters. I add my body to the space before I add the collision shapes without any problems. Aug 23 20:43:04 Robdor: where will that display if i'm on the device? over the display? Aug 23 20:43:31 To get it to display on the device you need to ssh in and start the app from the terminal. It will just output there. Aug 23 20:43:44 neville: I get the same behavior Aug 23 20:44:14 ahhh ok Aug 23 20:44:17 neville: It's like it pushes a blank scene to begin Aug 23 20:44:23 bah humbug Aug 23 20:44:25 not workin Aug 23 20:44:30 I'm gonna get this Aug 23 20:44:32 don't worry! Aug 23 20:45:06 if i figured it out, you should be able to :P Aug 23 20:46:22 okay, so it's not iostream or stdio.h, so what is the include? Aug 23 20:46:50 for cout? Aug 23 20:46:54 It's iostream Aug 23 20:47:10 Error454: yeah exactly... did you find some way to get rid of it? Aug 23 20:47:28 neville: I haven't, I recall seeing this somewhere on the forums though, unable to find it. Aug 23 20:47:34 damn... Aug 23 20:47:44 were you using ares? Aug 23 20:47:48 yep Aug 23 20:48:02 background image? Aug 23 20:48:05 uhhh... it doesn't recogize cout Aug 23 20:48:08 no background Aug 23 20:48:15 HattCzech_work: try std::cout Aug 23 20:48:28 so even without a background you got a white screen?? Aug 23 20:48:29 sorry Aug 23 20:48:31 yeah, just did Aug 23 20:48:31 that really pooches my theory Aug 23 20:48:46 it's been a while :/ Aug 23 20:49:10 you can put "using namespace std;" to avoid calling the namespace Aug 23 20:53:50 urg, friggin plink still doesn't work :/ Aug 23 20:55:12 Error454: looks like it's a problem specifically with spinning animations Aug 23 20:55:30 neville: Are you also using a spinner? Aug 23 20:56:19 yeah Aug 23 20:57:34 maybe i can do a workaround by hiding the spinner first and then showing it afterwards Aug 23 20:57:50 do sounds of an app continue if app is not in focus? Aug 23 20:58:51 neville: the behavior is the same in my case Aug 23 20:59:02 hmm Aug 23 21:00:00 LoneStar99: I don't know about mojo apps, but my pdk game is automatically silenced when it is out of focus. Aug 23 21:02:34 hi all Aug 23 21:03:18 Robdor: yeah not sure, guess will have to conduct a test.... Aug 23 21:03:42 hello Bmyers Aug 23 21:03:59 hi LS99 Aug 23 21:11:50 is there a command, when the app is out of focus? Aug 23 21:16:10 anyone know if/how I can download to /media/cryptofs dir or my app dir? Aug 23 21:17:26 diov: PDK or SDK? Aug 23 21:17:40 kesne SDK Aug 23 21:17:59 hey are there any international (canadian?) developers here who are registered with a developer account? Aug 23 21:18:22 LoneStar99: Mojo.Event.stageDeactivate Aug 23 21:18:40 neville: Anivrom is, but he's gone for this week I think. Aug 23 21:18:54 ahh Aug 23 21:19:00 is it really necessary to fill out all these forms? Aug 23 21:19:04 all i want to do is publish my app Aug 23 21:19:05 bahhh Aug 23 21:19:20 neville yep Aug 23 21:19:26 i'm just a normal guy but i have to register as a company, that seems really silly to me Aug 23 21:19:36 ugh my irc connection got closed Aug 23 21:21:02 diov: diov_: you can't download anything to the app dir in the sdk Aug 23 21:21:37 kesne:damn do u or anyone know a way around this? Aug 23 21:22:08 diov_: Not that I know of, depends on what you need to do. Aug 23 21:22:13 i'm supposed to fill out a tax identification number... in my case I don't think Canada has those. Is it asking for my SIN (social security) number instead? Aug 23 21:22:35 neville its your social security number Aug 23 21:22:42 alright Aug 23 21:22:46 just want to make sure :) Aug 23 21:23:26 alright rob Aug 23 21:23:29 figured it out Aug 23 21:23:50 kesne: i want to add more content to my app over the air without an app catalog update Aug 23 21:24:47 diov_: The only way I know is to download it to media/internal/ and store the directory to a cookie, use JS to ajax that file, and that will work Aug 23 21:26:10 alexfner: What was the problem? Aug 23 21:26:39 Robdor: improperly initializing the shape Aug 23 21:26:40 Robdor: do you know how to make it so a bodyA cannot interfere with bodyB Aug 23 21:26:54 so they would just pass through one another Aug 23 21:26:57 kesne thanks :) Aug 23 21:27:31 Robdor: how do i make a triangle instead of a square? i tried changing vertices to have 4 points and that didn't work... neither did changing it to 4 in glVertexPointer or glDrawArrays... Aug 23 21:27:43 I'll cover hattCzech's questions Aug 23 21:27:47 you cover mine :D Aug 23 21:28:04 thanks alexfner Aug 23 21:28:13 alexfner: Make a collision callback for the two shapes and return 0 inside of it. Aug 23 21:28:18 HattCzech_work: glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); Aug 23 21:28:24 instead of GL_TRIANGLE Aug 23 21:28:46 now that moves through a set of 4 verteces Aug 23 21:28:51 v1, v2, v3, v4 Aug 23 21:29:12 it draws the first triangle v1->v2->v3, then draws the second triangle v2->v3-> v4 Aug 23 21:29:19 alexfner: errr... body not shapes. :) Aug 23 21:30:24 okay, so to make a box, i need 5 points Aug 23 21:30:31 no, you only need 4 Aug 23 21:30:31 origin, 1, 2, 3, origin Aug 23 21:30:43 a box has 4 vertices Aug 23 21:30:46 and is made up of two triangles Aug 23 21:30:58 v1 = (0,0); Aug 23 21:31:07 v2 = (x, 0); Aug 23 21:31:13 v3 = (0,y); Aug 23 21:31:18 v4 = (x,y); Aug 23 21:31:47 that would draw a box(made of two triangles) from the origin to (x,y) Aug 23 21:31:54 with side lengths x and y Aug 23 21:32:01 makes sense? Aug 23 21:35:16 Robdor: return 0 on begin, pre-solve, post-solve, and seperate? Aug 23 21:36:35 alexfner: I would do it on begin Aug 23 21:37:07 okay, I need to figure out this collision handler... not quite sure how to specify the bodies I want Aug 23 21:38:08 Error454: ok thnaks Aug 23 21:38:16 kesne: you there? Aug 23 21:38:22 Robdor: oh, use an arbiter? Aug 23 21:38:24 LoneStar99: Whats up? Aug 23 21:39:02 kesne: you know if background sounds still work when the app is out of focus? meaning you can still hear them? Aug 23 21:39:29 alexfner: Yeah the callback method takes in a couple of arbiters. Aug 23 21:39:32 LoneStar99: No iea Aug 23 21:39:35 idea Aug 23 21:40:15 kesne: ok, will conduct some tests later tonight and let you all know Aug 23 21:40:28 ok Aug 23 21:40:47 alexfner: My callback setup call looks like this: cpSpaceAddCollisionHandler(space, GOAL_COLLISION, BALL_COLLISION, solve_goal, NULL, NULL, NULL, NULL); Aug 23 21:41:37 alexfner: And the solve_goal function looks like this: static solve_goal(cpArbiter *arb, cpSpace *space, void *ignore) {..} Aug 23 21:41:49 And I just return 0 from inside of the solve_goal function Aug 23 21:42:19 hmm, but what are the collision types? Aug 23 21:42:53 oh you declare it when you create the body? Aug 23 21:47:43 got to go Aug 23 21:47:45 be back later Aug 23 21:51:01 alexfner: got it, but for squares, you have to do them in a Z-type order Aug 23 21:51:11 otherwise it overlaps the triangles Aug 23 21:51:22 (i just had to make sure i drew the path properly) Aug 23 21:53:24 ugh.. i hate not being able to find something in the dev portal that i once saw.. Aug 23 22:01:47 * kesne is working in cross-app launch support in checkers Aug 23 22:03:50 kesne: what is cross-app launch? Aug 23 22:05:20 You can launch checkers from any other app to grab the profile. Aug 23 22:05:36 Are people still working on relego? Aug 23 22:05:48 spdsktr: Yeah, some are. Aug 23 22:05:50 I am a bit. Aug 23 22:06:09 kesne: oh ok, sounds cool Aug 23 22:06:17 k, just updated the help some more, but kinda tied until I see a more polished version to write for Aug 23 22:06:33 so if you guys get an updated IPK, please send my way (and pull the updated help I just pushed) Aug 23 22:06:49 spdsktr: i need to write the spanish translation of strings.json for relego Aug 23 22:07:15 LoneStar99: that would be awesome! Just need a French translator next Aug 23 22:07:32 I'll send final help files to our translators once I have it written Aug 23 22:11:29 spdsktr: #wor-hackathon Aug 23 22:13:22 haeffb_pre: hello again Aug 23 22:13:54 Bmyers! what's up? Aug 23 22:14:14 just back from vacation. getting caught up Aug 23 22:15:13 gotta go burry a pet now with the fam. bbl Aug 23 22:16:28 sry. later Aug 23 22:25:13 sugardave: u around? Aug 23 22:32:39 pdk apps... what's the string include? Aug 23 22:32:59 whats the question HattCzech_work? Aug 23 22:33:01 just submitted my first app :D Aug 23 22:33:08 i tried String, string, String.h and string.h Aug 23 22:33:23 the #include line for strings Aug 23 22:33:50 oh you want a string library, i am not sure i am old fasion and just use c strings Aug 23 22:35:11 so just char *stringName; ? Aug 23 22:35:33 well more like char[255] strName, unless you are going to malloc space Aug 23 22:36:24 hmmm, valid point Aug 23 22:36:33 best way to concat? Aug 23 22:36:37 strcat Aug 23 22:36:50 is that a function? Aug 23 22:37:03 strcat(myString, "string to concat"); Aug 23 22:37:27 okay Aug 23 22:37:37 can also use sprintf that works really well Aug 23 22:38:36 rwhitby: Who is managing patches? Aug 23 22:41:44 dang dont think my review is going to be finished today Aug 23 22:42:39 ugh.. c++ is so confusing Aug 23 22:42:55 whats the problem dawm|laptop? Aug 23 22:43:51 say i have: char thing[256]; how do i fill it afterwards, i dont want to fill it on initialization Aug 23 22:44:09 its obviously not thing = "my stuff"; Aug 23 22:44:16 strcpy(thing, "your string to fill it with); Aug 23 22:44:32 OR more versitally Aug 23 22:44:41 thank you!!.. been looking thru my books and searching and not finding squat Aug 23 22:45:05 sprintf(thing, "%d", 5); Aug 23 22:45:11 np Aug 23 22:45:23 sprintf is mroe versital for most thign but a bit more confusing to use Aug 23 22:45:32 spdsktr: at the moment, I am. Aug 23 22:45:35 its not anything major, just a work around for when not on the device Aug 23 22:45:42 spdsktr: but I want to get you set up so that you can. Aug 23 22:45:43 yeah ive used sprintf Aug 23 22:45:57 i also learned how to pad a string ;p Aug 23 22:46:12 nice Aug 23 22:46:56 how do i return a string from a function using char array? Aug 23 22:47:15 typically, char strName[4]; would work Aug 23 22:47:22 but i need a function to return that Aug 23 22:47:35 generally you dont "return" it but you pass a pointer to the string you want to return to the function Aug 23 22:47:43 rwhitby: Sounds good to me, just need the details, am setup on gitorious Aug 23 22:47:48 C is for sissies Aug 23 22:47:52 so say you have a function "changeMyString" set up like this Aug 23 22:48:07 spdsktr: email me ssh key and I'll get you set up Aug 23 22:48:16 * rwhitby bbl Aug 23 22:48:17 void chageMyString(char* strName) Aug 23 22:48:19 printf("%s", *strName); Aug 23 22:48:40 then you change it using strcpy, strcat, or sprintf in teh function and it will be changed when you are done Aug 23 22:49:09 how do i get chdir() in c++ like ben has in some of his sample code Aug 23 22:49:31 ahhh, the fun of pointers Aug 23 22:49:53 dawm|laptop not exactly sure, what are you trying to do? Aug 23 22:50:14 dunno? its in a few of the samples for setting up PDL Aug 23 22:50:52 chdir() throws an error in c++ apparently they dont exist in the standard libs (according to google searchs) Aug 23 22:51:04 i think they are supurfulous now, in 1.4.1 PDK stuff you had to change the directory or use absolute references to files but the 1.4.5 patch fixes that stuff Aug 23 22:51:10 so you can just take that bit out Aug 23 22:51:35 ahh ok good ;p Aug 23 22:53:41 and HattCzech_work you can return a pointer to a string but the problem with that is if you create the string in the function using char[] tempStr, it will have gone out of scope by the time the calling function gets the pointer, and if you malloc a chunk of data in the function you have to remember to free it later, and it is generally considered a bad idea to create data in a function and pass it back unless that is the specific use of the function Aug 23 22:54:32 i was just making a point about the char* and &char stuff Aug 23 22:55:03 fair enough, just being complete :D Aug 23 22:58:09 hrm Aug 23 22:58:31 SDL_MOUSEBUTTONDOWN is like always firing Aug 23 22:59:15 stop clicking your mouse? Aug 23 23:00:13 i didnt have a break; after that case ;p Aug 23 23:00:20 so it was just running into the next Aug 23 23:01:21 ah break, gets me every time Aug 23 23:01:24 well, almost Aug 23 23:01:46 have i mentioned that not being on a network i control really sucks? Aug 23 23:06:44 how do i append a character to a string? Aug 23 23:06:51 strcat doesn't seem to work, neither does strcpy Aug 23 23:07:19 how are you using strcat? Aug 23 23:07:43 strcat(output, (char)keyCode); Aug 23 23:07:46 keyCode is an int Aug 23 23:08:03 yeah not sure if that would work Aug 23 23:08:10 it doesn't :) Aug 23 23:08:11 there are easier ways to do that exact thing but do this Aug 23 23:08:31 i also tried output[0] = (char)keyCode; but that didn't look very nice :) Aug 23 23:08:41 sprintf(output, "%s%c", output, keyCode); Aug 23 23:09:00 that will put output, followed by keyCode into output Aug 23 23:09:24 if i know output is blank at that time, then what? Aug 23 23:09:32 sprintf(output, "%c", keyCode); Aug 23 23:09:42 yeah like that Aug 23 23:09:46 k Aug 23 23:09:50 but i think sprintf would handle it being empty Aug 23 23:10:03 save you some logic Aug 23 23:11:08 so i moved that char thing[256]; into my globals.h but now i get a Duplicate symbol error but it doesnt point to the location of the error Aug 23 23:11:26 i hate being dumb Aug 23 23:13:15 ok you need to do an include guard Aug 23 23:13:24 at teh beginign of all headers do this Aug 23 23:13:35 ifndef ? Aug 23 23:13:39 #ifndef _SOMETHING_UNIQUE_TO_THIS_HEADER_ Aug 23 23:13:48 #define _SOMETHING_UNIQUE_TO_THIS_HEADER_ Aug 23 23:13:52 yeah i already have that in them Aug 23 23:13:56 then at the end of the file do Aug 23 23:13:58 #endif Aug 23 23:14:10 but your still getting a duplicate symbol? Aug 23 23:14:20 yeh Aug 23 23:15:02 have you done a search of the project for thing? to see if you are duplicately defining it? Aug 23 23:15:21 as a side note, i generally dont recomend globals, some platforms dont like them Aug 23 23:16:12 and they are bad practice in general Aug 23 23:16:25 yah Aug 23 23:16:54 i can work around the issue was just trying to call the function once, store the result and use it anywhere Aug 23 23:17:23 can you define inside a func? Aug 23 23:19:47 what do you mean? Aug 23 23:20:47 Bmyers: hey, what's shakin'? Aug 23 23:23:15 wait.. theres a update for snowleopard for issues with Portal, TF2 and Starcraft2 Aug 23 23:23:21 must be really important ;p Aug 23 23:23:36 wait, no steam for linux? Aug 23 23:23:38 * Mousey cries Aug 23 23:23:47 use wine ;p Aug 23 23:23:56 i DO Aug 23 23:23:59 but i shouldn't HAVE to Aug 23 23:24:01 =( Aug 23 23:25:23 wtf.. samsung galaxy s commercial for sprint was showing a live action game? but it looked like halo.. except it had ships and some spider looking ship chasing it Aug 23 23:25:32 atfirst i thought it was a reach promo Aug 23 23:25:50 but the galaxy s runs droid Aug 23 23:29:10 damn cant find it on the youtubes either Aug 23 23:29:36 ugh now im getting symbol not found for a PDL function, and #include "PDL.h" is indeed in the file Aug 23 23:31:24 what?.. avatar is rereleased to the theaters.. Aug 23 23:34:39 sugardave: just burying more friends. family pet had to be put down today. nice return from vacation Aug 23 23:34:41 hrm could it be due to being inside a class? Aug 23 23:36:22 Bmyers: damn, man sorry to hear that Aug 23 23:37:08 sugardave: how have u been? I've spent the last 3 weeks in canada in the middle of the woods. I may have missed a few things Aug 23 23:37:24 i did see haeffb_pre cashing in on another mashup Aug 23 23:40:13 cha-ching! Aug 23 23:40:20 Bmyers: like college football? Aug 23 23:40:44 do i you mean? Aug 23 23:40:54 yes, my shortcut brain is on Aug 23 23:41:08 sure . something good on now? Aug 23 23:41:21 no, you should check out my beta app Aug 23 23:41:53 i didnt know you actually wrote you own apps. i thought you just finished other ppl's Aug 23 23:42:02 I"m going to do a bot exerimenet now: http://bit.ly/be2McP+ Aug 23 23:42:16 damn, horribly misspelled and everything Aug 23 23:42:31 Bmyers: sometimes I write apps :D Aug 23 23:42:40 badly Aug 23 23:42:43 :P Aug 23 23:42:57 :P Aug 23 23:43:08 hey, does it run? Aug 23 23:43:12 ship it! Aug 23 23:43:39 come on, this app is way better than the first 2 Aug 23 23:43:48 it's just ugly right now Aug 23 23:43:56 I'm going to fix it Aug 23 23:45:51 sugardave: cool man. i got spartan spirit.. Aug 23 23:47:11 hey sugardave and Bmyers you guys submit apps fairly often right? about how long does the "Ready for Review" stage normally last? Aug 23 23:47:31 ages it seems... Aug 23 23:47:42 I need to tone back that startup message skim a bit and fix those rows....I think I'm going to add a small div over or above each item to show the colors Aug 23 23:47:49 * sugardave laughs at digitalpowers. Aug 23 23:47:50 depends on the queue.. or when BHL spams the review Q Aug 23 23:47:54 once a year for me Aug 23 23:48:10 well, I guess I submitted one last November Aug 23 23:48:31 digitalpowers: I haven't submitted one to the real catalog since it came out of beta actually Aug 23 23:48:37 beta feed took a couple of hours Aug 23 23:48:58 fair enough, this is my first regular catelog app Aug 23 23:49:03 Beta feed was instant app update but took a while for metadata update for me Aug 23 23:49:15 the last time I sent to the regular catalog the time was measured in days, weeks, and months in some cases Aug 23 23:49:19 Waaaayyy back when I did that sort of stuff Aug 23 23:49:28 avg would be around 4-5 days. YMMV Aug 23 23:49:43 good times Aug 23 23:49:46 Boooored Aug 23 23:49:54 so ... i should just stop refreshing the "My Apps" page over and over again? Aug 23 23:50:00 haha Aug 23 23:50:03 yeah Aug 23 23:50:16 set up a macro or something Aug 23 23:50:22 it's a watched pot waiting to boil Aug 23 23:50:23 been since thursday, i am convinced it is going to be any moment now Aug 23 23:50:51 although i assume the weekend doesnt count in the count Aug 23 23:51:04 you might get lucky Aug 23 23:51:07 you just keep believing that. i like to be around optimists Aug 23 23:51:18 1 hour 45 minute lab class.... Fml Aug 23 23:52:42 And it's a geology lab class... Even more fml Aug 23 23:52:59 I like rocks Aug 23 23:53:52 You would Aug 23 23:55:40 i'd figure you more for a botanist sugardave Aug 23 23:56:20 I like plants, too...I collected cool rocks when I was a kid Aug 23 23:56:55 did u have one of those polisher things? Aug 23 23:57:31 yeah, but I never used it because I had to keep it in my room and it kept me awake Aug 24 00:10:07 hrm Aug 24 00:10:18 its not letting me pass {255,255,255} as an arg to a func Aug 24 00:18:36 Has anyone heard of the file indexer getting corrupted? It could be my own files... Aug 24 00:21:29 lumberjack isn't helping me out Aug 24 00:41:51 hey guys Aug 24 00:49:34 Bmyers: still around? Aug 24 01:02:16 hey, anybody here? Aug 24 01:02:41 can anybody test something for me on pdk? Aug 24 01:08:33 hrm.. my app seg faults on device, but appears to be fine on macos .. grr and it was going so well Aug 24 01:09:06 hello? =D Aug 24 01:09:20 test what Aug 24 01:09:38 test a file Aug 24 01:11:13 whats the file do Aug 24 01:11:56 just testing the sound capability Aug 24 01:16:51 dawm, are you making pdk app? Aug 24 01:18:39 anybody here? =D Aug 24 01:18:45 today is so quiet =( Aug 24 01:19:54 soo TTF_RenderTextBlended doesnt work Aug 24 01:20:00 i mean it does but it doesnt render anything Aug 24 01:20:17 I went through the entire ttf stuff and didnt work Aug 24 01:20:21 i couldnt even get it to compile Aug 24 01:20:23 so i gave up Aug 24 01:20:34 i am planning to just use bmp to insert images Aug 24 01:20:43 compile? Aug 24 01:20:50 SDL_TTF is part of the pdk Aug 24 01:20:51 yah, it gives me error Aug 24 01:20:59 woot.. crashed my pre Aug 24 01:21:02 dawm, i know, but visual studio refuse to compile for some reason Aug 24 01:21:14 it should be part of the winPDK Aug 24 01:21:18 ive got it for mac Aug 24 01:21:35 the file is, but compilation is something not under my control Aug 24 01:21:44 can you do a quick test for me to see whether you can see the images? Aug 24 01:22:11 yah Aug 24 01:23:46 oh wait, blended does work, but it doesnt work properly heh cause i can see the txt when the card is minimized Aug 24 01:24:01 https://sites.google.com/site/nyceane2/testpdk.ipk Aug 24 01:24:07 see how i fixed my text problem Aug 24 01:24:08 lol Aug 24 01:24:23 i am also trying to convert something from window.h Aug 24 01:24:37 such a pain, i am almost thinking about taking it frame by frame and load bmps on palm =| Aug 24 01:24:38 lol Aug 24 01:26:20 https://sites.google.com/site/nyceane2/testpdk.ipk Aug 24 01:26:33 did it run? Aug 24 01:26:42 image and sound Aug 24 01:27:50 still trying to get the ipk ;p Aug 24 01:28:06 lol =D Aug 24 01:29:24 i saw TEST drawn Aug 24 01:29:27 then it closed Aug 24 01:30:14 which is your image.bmp ill assume Aug 24 01:30:16 hmmm Aug 24 01:30:20 yah, what about the sound Aug 24 01:30:21 no sound, but i dont see any sound files in the package either Aug 24 01:30:33 oh, you have to put sound file in the package? Aug 24 01:30:36 did it automatically close? Aug 24 01:30:42 yes it closed Aug 24 01:30:51 how are you doing sound? Aug 24 01:31:04 a wav? mp3? ogg? or raw sound Aug 24 01:31:21 .wav Aug 24 01:31:30 wheres the wav Aug 24 01:32:33 heh Aug 24 01:32:41 could not load wav file wawa.wav Aug 24 01:32:46 you didnt include the file.. Aug 24 01:32:53 let me put it in Aug 24 01:33:39 one second Aug 24 01:33:41 let me load again Aug 24 01:34:16 i just put in wawa.wav ;p Aug 24 01:34:27 yes sound works Aug 24 01:34:31 now that its added Aug 24 01:35:05 i uploaded wawa.wav from the tiltodemo (ill assume thats what you were using) Aug 24 01:35:21 im mad that you got sound/image working heh.. mine seg faults Aug 24 01:35:31 but fonts work ;P Aug 24 01:36:01 but yes your app works Aug 24 01:36:30 it shows the image, plays the sound, and doesnt exit (now that the wav was included) Aug 24 01:36:44 can you try again? =D Aug 24 01:36:45 https://sites.google.com/site/nyceane2/testpdk2.ipk Aug 24 01:37:02 did you just add the wav? Aug 24 01:37:10 no, i added some logic to not making it quit Aug 24 01:37:17 oh it doesnt quit Aug 24 01:37:23 it just displays? Aug 24 01:37:27 it was crashing before due to the missing file Aug 24 01:37:39 after adding the wav file and it worked fine? heh Aug 24 01:37:45 yes Aug 24 01:37:49 nice =D Aug 24 01:38:27 i'll have my awesome app soon Aug 24 01:38:39 by playing 3000 bmp files lol Aug 24 01:38:48 since i can't get open GL to work Aug 24 01:38:53 heh Aug 24 01:40:15 nice it wont uninstall Aug 24 01:43:28 err Aug 24 01:43:33 thats not my fault lol Aug 24 01:43:35 question for you Aug 24 01:43:40 the builtit config file Aug 24 01:44:26 i dont know i dont do it on windows Aug 24 01:44:31 if i dont specify pre and pixi Aug 24 01:44:47 look in the simple app in the PDK sample code Aug 24 01:44:47 does it run on both platform? Aug 24 01:44:50 or whats the story Aug 24 01:44:55 i am, i am looking at the tiltodemo Aug 24 01:44:56 i think its build file has pre/pixi specifics Aug 24 01:45:08 look at the sample code that came with the PDK Aug 24 01:45:22 i know it has pre/pixi specifics inisde the simple app on the mac pdk Aug 24 01:45:36 the newer demos dont have it i dont think Aug 24 01:45:54 theres a different compiler for the pixi Aug 24 01:49:21 Ugh Aug 24 01:49:35 protip: Never write multi-stage applications without an app assistant Aug 24 01:49:35 any whoo.. off to bed Aug 24 01:53:55 hi all Aug 24 01:54:58 If you want to run on both platforms you compile for pixi Aug 24 01:55:48 kesne: please elaborate Aug 24 01:56:08 Error454: Not sure how I can, what do you not get? Aug 24 01:56:17 errr Aug 24 01:56:22 i m taking it Aug 24 01:56:25 newer examples Aug 24 01:56:31 they dont have pixi or pre Aug 24 01:56:44 kesne: I just wanted to hear more about the struggles of multi-stage apps without an assistant Aug 24 01:57:25 Error454: You technically cant Aug 24 01:57:27 But I did Aug 24 01:57:46 Also, never use $() or document Aug 24 01:58:38 * kesne is rewriting the entire checkers engine to support it Aug 24 02:03:21 hello? Aug 24 02:03:33 Hello! Aug 24 02:04:05 hiya! Aug 24 02:04:17 Nyceane: What are you looking for? Aug 24 02:05:03 Error454, the new examples of pdk doesn't really have pre or pixi limited Aug 24 02:05:10 I am just wondering what is going on Aug 24 02:05:21 How new are these? Aug 24 02:05:35 Maybe I haven't seen them, I'm thinking of the "simple" project Aug 24 02:06:23 theres a accelo demo now Aug 24 02:06:38 See this page under Compiling for Palm Pre and Pixi phones: http://developer.palm.com/index.php?option=com_content&view=article&id=1977&Itemid=374 Aug 24 02:06:55 Error454, tiltodemo Aug 24 02:07:07 Nyceane, goto your PDK folder, goto share/samples/simple Aug 24 02:07:12 look inside buildit.cmd Aug 24 02:07:23 dawm, i am looking at tiltodemo's buildit.cmd Aug 24 02:07:42 im telling you exactly where to look for pixi/pre compile code Aug 24 02:08:02 its also on the dev portal somewhere Aug 24 02:08:09 dawm, i know Aug 24 02:08:15 but i am not using 3d capability of the app Aug 24 02:08:17 i am only using SDL Aug 24 02:08:19 but im looking at the simple/windows/buildit.cmd and its all in there Aug 24 02:08:25 I don't have tiltodemo in my sdk and I don't see it on the palm site. Aug 24 02:08:32 Error454, its in the github Aug 24 02:09:04 ahh, well what is the -mcpu argument? Aug 24 02:09:19 cortex-a8 or arm1136jf-s ? Aug 24 02:09:20 for pixi? or pre? Aug 24 02:09:24 cortex is pre Aug 24 02:09:25 in the tiltodemo Aug 24 02:09:29 arm is pixi Aug 24 02:09:32 i believe its arm Aug 24 02:09:34 arm-none-linux-gnueabi-g++ -o tiltodemo ..\common\accelerometer.cpp ..\common\collision.cpp ..\common\gamelogic.cpp ..\common\geometry.cpp ..\common\graphics_ogl.cpp ..\common\graphics_sdl.cpp ..\common\main.cpp ..\common\sdl_init.cpp ..\common\sound.cpp "-I%PalmPDK%\include" "-I%PalmPDK%\include\SDL" "-L%PalmPDK%\device\lib" -Wl,--allow-shlib-undefined -lSDL -lSDL_net -lSDL_image -lSDL_mixer -lpdl -lGLES_CM Aug 24 02:10:09 it doesnt seem to be device specific Aug 24 02:10:21 it appears its missing the device options Aug 24 02:10:36 duno, i gave you the file using that built Aug 24 02:10:36 yeah, i would add them in to be sure Aug 24 02:10:49 i gave dawm the file using that command, and it seems working Aug 24 02:10:54 yeah Aug 24 02:11:03 but proper settings makes things run better Aug 24 02:11:08 well, there's a default but who knows what it is Aug 24 02:11:23 like a car with its timing off.. yeah it runs.. but if you set it properly it will run better Aug 24 02:11:36 $() is evil Aug 24 02:11:38 Like eval Aug 24 02:12:01 dawm, not too sure, only because i'd have to release it on both devices Aug 24 02:12:05 which makes it very annoying Aug 24 02:12:12 just use the pixi settings Aug 24 02:12:12 maybe this can run for both devices, who knows Aug 24 02:12:20 the pixi settings might be better than none Aug 24 02:12:26 and the pre settings make it better for the pre Aug 24 02:12:30 Palm recommend to use the pixi setting for both devices, unless you need specific performance improvements on the pre Aug 24 02:12:53 make a post and ask unwiredben on the forums Aug 24 02:13:05 maybe they forgot to add the device specific options Aug 24 02:13:09 they really shouldnt annouced the challenge without these being specific Aug 24 02:13:10 sigh Aug 24 02:13:27 if you go thru and read the comments in the tiltodemo.. heh tons o typo's Aug 24 02:13:39 // this is a palace holder Aug 24 02:14:13 I would just add "arm-none-linux-gnueabi-gcc -mcpu=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp" and be done with it. If you notice performance issues on the Pre then revisit Aug 24 02:14:29 ^take the *-gcc off Aug 24 02:14:31 the pdk contest was kinda a fail, but im trying to get something working and in to it Aug 24 02:14:36 At this time, only build files for Windows are included Aug 24 02:15:05 dude, this is really fucked up when there is no clear explaination on how to build things Aug 24 02:15:06 anyhoo.. gnite guys Aug 24 02:15:25 night Aug 24 02:15:26 i dont think they expected noobs to dive into PDK Aug 24 02:15:28 who is unwiredben? Aug 24 02:15:33 hes the PDK guy at palm Aug 24 02:15:34 The simple demo included with the PDK is very clear. Aug 24 02:15:37 rather hes the chuq of PDK Aug 24 02:16:13 if i make the setting for pre Aug 24 02:16:17 can it run on pixi as well? Aug 24 02:16:22 no Aug 24 02:16:29 vice versa? Aug 24 02:16:32 yes Aug 24 02:16:39 Nyceane, i had to manually delete your app and restart my pre .. i think me putting in wawa.wav had somethign to do with it Aug 24 02:16:43 what if i dont specifiy Aug 24 02:16:49 compile for pixi runs on both Aug 24 02:16:52 compile for pre runs on pre Aug 24 02:16:53 then you don't know what you're compiling for Aug 24 02:17:06 will it run on both? Aug 24 02:17:12 probably not Aug 24 02:17:14 if you dont specify youre not compiling with all optimizations (i would assume) Aug 24 02:17:35 unless they have the defaults for one or the other, but it works on the pre Aug 24 02:18:10 If you don't specify then you are taking a chance that 3 parameters are set to what you need. Aug 24 02:18:15 let me run it first and see what happens i guess Aug 24 02:23:15 # Set the device specific compiler options. By default, a binary that # will run on both Pre and Pixi will be built. These option only need to be # set for a particular device if more performance is necessary. Aug 24 02:23:18 http://pastebin.com/dqCBWkdj Aug 24 02:23:20 so =) Aug 24 02:25:32 hi guys ... anyone known .. how to use palm://com.palm.applicationManager with launch method? Aug 24 02:27:23 check out webos101 Aug 24 02:27:27 (.com) Aug 24 02:29:14 this is nice: http://webos101.com/Cross-App_Launching Aug 24 02:30:18 do i need to register my app to use these services? Aug 24 02:30:31 raghuk: register? Aug 24 02:31:42 like to use calendar the app should get a valid account ... like wise Aug 24 02:31:52 raghuk: nope Aug 24 02:32:30 ok Aug 24 02:34:30 Did anyone in here have problems with the Emulator on Windows 7 64 bit? Aug 24 02:35:47 Tibfib: i'm trying to launch a pdf, i have wrritten like this ... http://webos.pastebin.com/H2Wybf8J Aug 24 02:36:18 Tibfib: am i missing somethn=ing .. the pdf doesn't open Aug 24 02:36:25 just a sec Aug 24 02:37:07 http://webos.pastebin.com/pJscuiDu should work Aug 24 02:40:50 Tibfib: it throws an error ... Unable to process command. Provide a valid id Aug 24 02:40:58 hmmm Aug 24 02:41:08 hey, anybody interested in testing my app? Aug 24 02:41:12 oh, try method "open" Aug 24 02:41:21 @ raghuk Aug 24 02:42:44 Tibfib, can you test my app? =D Aug 24 02:42:53 TMo, it doesnt run pdk apps Aug 24 02:43:09 Nyceane: yeah, for a few mins Aug 24 02:43:10 I know.. i mean in general Aug 24 02:43:16 tibfib1 at gmail Aug 24 02:45:43 Tibfib, just emailed Aug 24 02:47:51 tibfib, are you still here? Aug 24 02:48:01 yeah, waiting for pre to get email Aug 24 02:48:09 downloading/installing now :) Aug 24 02:48:23 sugardave you around? Aug 24 02:48:51 Nyceane: it... seems to work Aug 24 02:49:21 although I can hear it :) Aug 24 02:49:54 lol =D Aug 24 02:50:41 i was gona play a little lower sound so we can't hear it Aug 24 02:50:52 but thats just too much... people would be like "it doesn't work" Aug 24 02:51:08 hah yeah, they would Aug 24 02:51:38 dang. I'm sad. school starts tomorrow. Aug 24 02:51:51 LoneStar99: a little, what's up? Aug 24 02:53:26 quick question... Aug 24 02:53:35 http://pastebin.com/NjxViFvQ Aug 24 02:54:27 get the following error: [20100823-15:42:43.068679] error: Uncaught TypeError: Cannot read property 'mode lPty' of undefined, app/assistants/fiesta.js:8 Aug 24 02:54:50 do you bind your function with this? Aug 24 02:55:02 nope Aug 24 02:55:10 line 22 should be Aug 24 02:55:15 }.bind(this); Aug 24 02:55:20 have included in sources.json Aug 24 02:55:35 I don't think that matters Aug 24 02:55:53 oh wait bind(this) might not work Aug 24 02:56:00 where do you call that function? Aug 24 02:56:23 when you call it you should do: fiesta.bind(this); I think Aug 24 02:56:39 you need to bind it, but how you bind it depends on the situation Aug 24 02:57:48 calling it within "FirstAssistant.prototype.sendPty = function(event){ fiesta() }" Aug 24 02:58:32 if i place the code with the the above it works, but does not work as a function **** ENDING LOGGING AT Tue Aug 24 02:59:57 2010