**** BEGIN LOGGING AT Mon Sep 06 02:59:57 2010 Sep 06 03:00:48 yeah Sep 06 03:00:57 if you want to email your code I'll work on it Sep 06 03:01:10 but I have to leave Sep 06 03:01:12 peace Sep 06 03:02:24 * Anivrom thinks about emailing alexfner all his code..... hows about no Sep 06 03:02:56 hah, you guys are still at it? Sep 06 03:03:06 same issue? Sep 06 03:03:07 meh its gotta be a bug Sep 06 03:03:20 tehcnically my code should work Sep 06 03:03:32 it works separately around my app Sep 06 03:03:38 but trying to do it together messes it up Sep 06 03:04:46 * Amaranth can't wait to write node.js services Sep 06 03:05:04 * Tibfib needs to learn how to write node.js services Sep 06 03:05:04 The crap I was trying to do with a hidden plugin in a hybrid app is no more Sep 06 03:06:02 * halfhalo is doing node stuff right now Sep 06 03:06:18 Tibfib: what was that class toggling code? would it work to toggle off a webkit transition? Sep 06 03:06:30 I believe so Sep 06 03:06:38 .toggleClassName("class") Sep 06 03:07:47 halfhalo: Yeah, I'm toying with node itself right now but I can't make a service until 2.0 Sep 06 03:08:03 yupyup Sep 06 03:09:58 Tibfib: booo still doesn't work Sep 06 03:10:02 completely bizarre Sep 06 03:11:16 var oldTransitions = element.getStyle()['-webkit-transitions']; element.setStyle({'-webkit-transition': none}); element.style.opacity = 1.0; element.setStyle(oldTransitions); Sep 06 03:11:19 or something like that Sep 06 03:18:14 GAH Sep 06 03:18:24 BEHAVE NODE BEHAVE Sep 06 03:19:37 whip it into shape Sep 06 03:19:57 Im going to shoot it Sep 06 03:20:16 that would probably not make it behave nearly as much as you would like Sep 06 03:21:30 Ok, it SHOULD be checking to see if a folder exists before it tries to make it... but its not Sep 06 03:21:46 how are you checking it ? Sep 06 03:22:03 fs.statSync Sep 06 03:22:38 path.exists(filename,function(exist) { if( exist ) { } } ) ; Sep 06 03:22:39 oh .. Sep 06 03:22:54 oh, synchronous .. interesting Sep 06 03:25:02 ok, the function I have wrapping fs.statsync is returning trie, like it should... Sep 06 03:25:58 herm... fs.mkdirsync breaks it Sep 06 03:26:43 gah, this bloody app. It always fails on first run. ALWAYS! But on subsequent runs, it pulls data and displays it just fine. Sep 06 03:27:09 dohtem: you making a check for a null database on first run? Sep 06 03:27:29 hmm... Sep 06 03:27:35 maybe you can post some code Sep 06 03:37:39 hmmm, try to register listeners for audio element events or poll on an interval and update accordingly? Sep 06 03:40:35 now I get a gateway timeout Sep 06 03:40:38 I'd say listen... Sep 06 03:40:53 but I haven't used audio elements.. Sep 06 03:41:07 dohtem: post code? Sep 06 03:41:17 yeah, I'm about to set up and see if I can listen to what I'm looking for Sep 06 03:41:48 yeah just a min Sep 06 03:42:50 I think you were right on the first guess. I am pulling data and storing it in a JSON object but the first time (everytime) I get a null Sep 06 03:43:11 I kill the app, restart and it works fine Sep 06 03:43:26 yea. Sep 06 03:43:53 i could be lazy and just throw it in a for loop, and keep trying while null. Sep 06 03:43:55 in my app I check for a "undefined" database response and if so I load default values for things Sep 06 03:48:48 oh hey. 'playing' works...nice Sep 06 03:49:15 heh... its making folders now... Sep 06 03:49:27 sure, the folders are all named undefined.. but still! Sep 06 03:51:48 lets see how this likes deleted folders... Sep 06 03:53:02 apparently not... Sep 06 04:32:50 hmmm why wont my div move when I modify the .style.top attribute Sep 06 04:33:06 is there some sort of method I should call to update it properly? Sep 06 04:40:26 ugh forgot px Sep 06 04:48:29 lies Sep 06 04:50:29 lol... my irc script has ze bugs Sep 06 04:51:23 it sometimes fails with regards to quit messages Sep 06 04:53:25 and.. apparently for mode has channel and mode flipped... Sep 06 04:56:05 * halfhalo fails at regex Sep 06 05:03:07 ughh, the palm logger is so slow Sep 06 05:03:15 dundundun..... Sep 06 05:03:34 WHY IS THERE AN UNDEFINED FOLDER!?!?!?! Sep 06 05:04:46 why the HECK would $("plusminusHunger").style.width return 25px instead of just 25!!1/111?!1!?11 now I can't do maths on it without stripping the px Sep 06 05:05:01 because thats what it does Sep 06 05:05:17 and its gayyyyyyy Sep 06 05:06:13 crap Sep 06 05:06:19 TOTALLY forgot buffer... Sep 06 05:07:21 frick Sep 06 05:07:40 lol Everyone is havingi problems tonight Sep 06 05:08:05 now i'm having a problem where if i use my buttons the radiobutton shows that there's nothing selected Sep 06 05:08:11 mine involves me overwriting everything in my logging files Sep 06 05:08:55 mine involves me doing some extremely ugly hacky extra cycle coding Sep 06 05:11:03 no idea if its working... Sep 06 05:12:14 i pinned it down to using x-mojo-touch-feedback and .selected Sep 06 05:12:14 * Tibfib has fixed a couple bugs tonight Sep 06 05:12:34 * Anivrom has created a couple bugs tonight Sep 06 05:12:45 which isn't a big deal, CSS :active works, just not very good touch feedback Sep 06 05:12:50 s/touch/visual/ Sep 06 05:12:54 omg... Sep 06 05:13:02 Tibfib: what I ended up doing is setting up code in my main loop that animates the bloody divs myself. Sep 06 05:13:15 forgot an else that was supposed to trigger after a writestream was created Sep 06 05:13:30 Anivrom: fun Sep 06 05:13:37 totally Sep 06 05:13:41 Anivrom: whatcha working on? Sep 06 05:13:56 um the same thing I've been working on for months lol Sep 06 05:13:59 sdk game Sep 06 05:14:11 with divs? Sep 06 05:14:30 is that strange? :P Sep 06 05:14:45 its an html/canvas hybrid Sep 06 05:14:48 i...oh Sep 06 05:27:37 god damn node bug Sep 06 05:28:46 heyhey! Sep 06 05:28:54 new version doesn't have the bug! Sep 06 05:29:07 yay? Sep 06 05:29:12 yup Sep 06 05:29:18 oh. yay Sep 06 05:29:58 theres a bug in 0.1.9.x to 0.2.0 that crashed programs when there were weird characters in a buffer Sep 06 05:30:30 what would be classified as weird characters? Sep 06 05:30:36 ' Sep 06 05:31:00 :O Sep 06 05:31:04 yup Sep 06 05:31:09 & Sep 06 05:31:23 yup Sep 06 05:31:48 © Sep 06 05:31:53 ® Sep 06 05:31:59 yup Sep 06 05:32:02 ¼ Sep 06 05:32:06 ... Sep 06 05:32:06 » Sep 06 05:32:10 ᨹ㎝姸 Sep 06 05:32:15 :P Sep 06 05:32:18 * halfhalo fixed the bug in his logger Sep 06 05:32:27 * halfhalo can record those chars Sep 06 05:32:54 bet you can't record this one.... Sep 06 05:33:02 . Sep 06 05:33:05 aha! Sep 06 05:33:11 {"name":"Anivrom","type":"PRIVMSG","channel":"#webos","message":".","time":1283751001540} Sep 06 05:33:33 lies? Sep 06 05:33:36 yup Sep 06 05:33:58 we have never conversated in private message so it must be lies Sep 06 05:34:10 mebe Sep 06 05:34:17 my script still has issues with quit Sep 06 05:34:19 u kno its tru Sep 06 05:34:43 it sometimes adds the quit message to the channel and messes everything up Sep 06 05:35:09 guess that isnt exactly "preferred behaviour" Sep 06 05:35:14 nope Sep 06 05:35:27 So why dont you snap your fingers and fix the bug? Sep 06 05:35:36 because... its regex Sep 06 05:35:43 I don't regex Sep 06 05:36:39 brb testing part Sep 06 05:36:46 wait Sep 06 05:36:48 no I'm not Sep 06 05:36:53 thats not working Sep 06 05:37:06 good morning. Sep 06 05:37:16 * oil_pre <3 regex Sep 06 05:37:30 * halfhalo is going to make oil fix it Sep 06 05:39:16 goodnight everyone Sep 06 05:40:01 DAMMITALL its not picking up quits Sep 06 05:43:47 is it possible to change the battery while power cord is connected? Sep 06 05:44:02 yes, but its tricky Sep 06 05:44:19 noaXess: I've taken my batt out while the usb is connected Sep 06 05:44:21 to the computer that is Sep 06 05:44:49 Anivrom, halfhalo: ok thanks.. so i can change the bat if one of the two is full.. Sep 06 05:45:03 in theory, yes Sep 06 05:49:22 <_azdak> Has anybody gotten a custom spinner working? Sep 06 05:52:27 SHUTUP AND DON'T CRASH YOU STUPID POS Sep 06 05:53:08 gah Sep 06 05:53:10 stupid files Sep 06 05:55:04 good luck halfhalo I'm off to bed Sep 06 06:30:58 Good morning Sep 06 06:49:14 morning Sep 06 07:45:34 <_azdak> whoaaa Sep 06 07:45:58 <_azdak> splashicon seems to totally prevent eclipse from loading my app Sep 06 07:53:41 jsonlint the appinfo.json? Sep 06 08:03:23 hrm? Sep 06 08:03:24 bark? Sep 06 08:03:26 woof woof? Sep 06 08:04:27 * swisstomcat jumps up a tree Sep 06 08:06:51 get out of that tree! Sep 06 08:06:58 you know that's where I keep all of my precious rugs! Sep 06 08:07:04 and now you're getting hair all over them Sep 06 08:07:20 * swisstomcat tries claws on rug Sep 06 08:07:34 gah! Sep 06 08:07:37 I'm getting the hose! Sep 06 08:08:02 * swisstomcat destroys the rug and pees on it Sep 06 08:08:12 * alexfner lights swisstomcat on fire Sep 06 08:08:30 get the hose! Sep 06 08:08:33 * alexfner then slowly walks to the hose, and turns it on, and extinguishes the flames Sep 06 08:08:50 you're lucky I'm so generous Sep 06 08:08:55 you got more water than I give most Sep 06 08:09:08 hah .. i'm calling PETA Sep 06 08:09:15 call them Sep 06 08:09:21 Tell them I said hello Sep 06 08:09:25 ask how madonna is doing Sep 06 08:10:21 * swisstomcat calls some thugs from the CPA (cat protection agency) Sep 06 08:10:48 liquidate him! Sep 06 08:11:34 tomcats are the worst kind of cats Sep 06 08:11:49 they're always drinking their scotch on the rocks, sitting on the fence posts Sep 06 08:12:08 and occasionally one of them will pull out a guitar Sep 06 08:12:17 and then others will gather round and start a drum circle Sep 06 08:12:32 we like to sing Sep 06 08:12:41 yeah but you guys love drum circles Sep 06 08:12:45 and if there's one thing I hate Sep 06 08:12:53 it's drunk cats playing drums Sep 06 08:17:58 swisstomcat: http://developer.palm.com/distribution/viewtopic.php?f=11&t=8735&p=39512#p39512 :) Sep 06 08:18:36 that is me responding Sep 06 08:18:57 but man I hate it when people respond in an "asshole-ish" way to a noobies questions Sep 06 08:19:02 we were all there at one point Sep 06 08:19:06 so I make a point to try and be nice Sep 06 08:19:27 alexfner: how nice of you... Sep 06 08:20:28 thank you? Sep 06 08:20:43 indeed Sep 06 08:25:55 yeah, good response Sep 06 08:31:15 good night folks Sep 06 08:31:18 (4:30am) Sep 06 08:32:50 night Sep 06 08:32:53 sleep well Sep 06 10:52:14 re Sep 06 12:26:33 morning, peeps Sep 06 12:27:01 morning, master Sep 06 12:51:11 * haeffb going mobile. later. Sep 06 14:36:19 how do i remove beginning/trailing whitespace? Sep 06 14:36:26 from a string Sep 06 14:37:03 morning, sugardave Bmyers Sep 06 14:58:19 hi haeffb thought u were going mobile? Sep 06 14:58:40 i am Sep 06 14:58:54 sneaky,, Sep 06 14:58:59 sprint aircard Sep 06 14:59:05 ah ha,,, Sep 06 14:59:10 beats wircing Sep 06 14:59:14 ya Sep 06 14:59:18 what r u up to? Sep 06 14:59:26 adding subtasks to Done Sep 06 14:59:38 riding along while wife shows some properties to our nephew Sep 06 15:00:52 sounds like fun Sep 06 15:06:30 * haeffb might lose signal soon Sep 06 15:06:39 or might have already Sep 06 16:22:40 http://www.youtube.com/alliancefilms?gclid=CKPI-r6Z86MCFQHW5wodkCz21w this looks surprisingly good O_o it totally has a hitchcock feel Sep 06 16:27:42 knoppix FTW Sep 06 16:27:59 knoppix was my fav linux dist Sep 06 16:39:05 Anivrom now i have to see the movie:o Sep 06 16:39:12 looks good eh? Sep 06 16:39:18 yer Sep 06 16:39:40 Or, i wonna know what happens at leas Sep 06 16:39:41 t Sep 06 16:39:43 its coming out in a few weeks I think Sep 06 16:39:49 well you can google the spoilers Sep 06 16:39:53 nice Sep 06 16:39:56 apparently its really twisty Sep 06 16:40:02 I love twisty movies Sep 06 16:40:39 hmm Sep 06 16:40:41 "For starters its completely fake" Sep 06 16:40:45 :-/ Sep 06 16:40:58 Yea its not a true story Sep 06 16:41:11 but its filmed so that it looks like one Sep 06 16:41:26 but it kinda is a true story Sep 06 16:41:38 Since stuff like that happens all the time Sep 06 16:41:45 I met my wife over halo pc Sep 06 16:42:38 :) Sep 06 16:42:48 did she beat you ;) ? Sep 06 16:43:18 nah I was always better than her at everything except 1 weapon. Shotgun, she could rape someone in 1 shot no problem Sep 06 16:54:48 * Anivrom wishes there was a good scifi mmo he could sink his teeth into Sep 06 17:09:26 awww yeah, got to love repeat customers Sep 06 17:09:57 if they go ahead with this one, I will have hit my goal I set for extra-income generation this year Sep 06 17:10:00 *rock* Sep 06 17:10:26 good stuff Sep 06 17:13:06 good evening all Sep 06 17:13:15 sorry afternoon Sep 06 17:16:22 * Anivrom is starting to get a cold. Sep 06 17:16:26 my throat is so swollen Sep 06 17:16:49 * dohtem sells Anivrom his magical elixir Sep 06 17:16:57 how much? Sep 06 17:17:09 this thing cures colds and broken bones! Sep 06 17:17:13 is it a megalixir? Sep 06 17:17:36 just $40/bottle. But dont use it till I leave town. It wont work till I leave town Sep 06 17:17:45 cause I got 99 of those, I just used the w-item glitch Sep 06 17:17:56 lol! Sep 06 17:18:27 ff7 reference Sep 06 17:18:38 * Anivrom buys Sep 06 17:19:05 heh Sep 06 17:20:10 I have never seen anyone play a recorder that wasn't doing it for class or something Sep 06 17:20:29 /random thought Sep 06 17:20:32 * Anivrom bought one for music class as well Sep 06 17:21:24 I used to have one. I could make some magnificent noise . I think my mom threw it out when the class was done Sep 06 17:31:14 in the browser, the underline on traditional links feels too close to the text. Anyone else think so? Sep 06 17:48:31 arghhhhh Sep 06 17:52:03 http://pastebin.com/TwaEY4Xp Sep 06 17:52:10 Can anyone see teh flaw in my logic. Sep 06 17:52:19 It wont enter the loop Sep 06 17:52:30 it wont pass the condition I mean* Sep 06 17:53:17 you mean the floor is always the same as this.petStatus.prevHunger ? Sep 06 17:53:17 hmm you mean it will not enter your if right? Sep 06 17:53:36 i dont see any loop Sep 06 17:53:38 But petStatus.hunger is being incremented up Sep 06 17:53:42 I meant if Sep 06 17:54:21 and I check teh values and hunger is 1 higher than prevHunger so its working Sep 06 17:54:26 it just wont pass the condition Sep 06 17:54:27 what if you make alot of console.log ? on every var used and the total if result? Sep 06 17:54:42 I put a breakpoint and stepped through Sep 06 17:54:50 all the vars are as they should be Sep 06 17:55:16 I even put Math.floor(this.petStatus.hunger) !== this.petStatus.prevHunger in ares debugger and it returned true Sep 06 17:55:16 But the "if" statement is false ? Sep 06 17:55:32 no it would be true Sep 06 17:55:53 Math.floor(this.petStatus.hunger) returns 16 for instance Sep 06 17:56:17 The previous value of petStatus.hunger floored was stored in prevHunger as 15 Sep 06 17:56:28 so console.log(Math.floor(this.petStatus.hunger) !== this.petStatus.prevHunger) returns true, but it does not enter your if? Sep 06 17:56:33 right Sep 06 17:57:11 I dont console.log, I use ares debugger but same thing Sep 06 17:57:21 and no errors are being thrown Sep 06 17:57:44 yer i know the debugger Sep 06 17:58:00 I have a googe maps app on my site (private) and it doesn't work very well with webos ... is there a way to integrate it with the built in google maps app? or are there tips on improving it somewhere? Sep 06 17:58:18 jettero why not make your own? Sep 06 17:58:28 google maps api is real simple Sep 06 17:58:37 yes, I just said I have a google maps app on my site Sep 06 17:58:45 I may not understand your suggestion Sep 06 17:58:47 make your own for webos? Sep 06 17:59:21 and have it communicate with your site via node.js or ajax Sep 06 17:59:29 jus sayin Sep 06 18:00:01 I was looking for something a bit more automatic. Anyway, if someone browsed over to it, how would webos know to go load that app? Sep 06 18:00:23 I mean, the google maps app seems to intercept some map requests automatically... Sep 06 18:00:39 So you want the maps app to automatically open up on the phone if they browse the maps ony oru site? Sep 06 18:00:48 hmm that would be tricky but very possible Sep 06 18:00:55 that's what I was hoping for, but it doesn't seem very realistic Sep 06 18:01:25 You would have to have a background process on the webos phone sending pings to the server seeing if maps has been opened Sep 06 18:01:27 Anivrom if you say if(true) does it enter the if then? Sep 06 18:01:29 I mean, the google maps app on the phone really jsut runs the google maps api ... Sep 06 18:01:42 it just isn't going to work with 3rd party sites Sep 06 18:02:04 hotdp: testing Sep 06 18:02:08 im sure it would though Sep 06 18:02:52 i hope so :D Sep 06 18:03:00 just to see if everything is brooken Sep 06 18:04:08 bahhhhhhhhhhhhhhhhhhhhhhhhhhhh Sep 06 18:04:53 If I could direct your attention to misplaced ")" that should have stopped after petStatus.hunger to end the math.floor method call Sep 06 18:05:09 ;) Sep 06 18:05:13 yet it never threw an error Sep 06 18:05:15 dont you use the jslite? Sep 06 18:05:22 jslint? Sep 06 18:05:24 it usefull in ares Sep 06 18:05:34 yer Sep 06 18:05:35 I have it on all the time Sep 06 18:05:44 and it did not see the missing )? Sep 06 18:05:54 it wasnt a missing ) :) Sep 06 18:06:01 I said it was a misplaced ) Sep 06 18:06:09 this.displayPlusMinus(Math.floor(this.petStatus.hunger - this.petStatus.prevHunger, "hunger")); Sep 06 18:06:16 shoudl be this.displayPlusMinus(Math.floor(this.petStatus.hunger) - this.petStatus.prevHunger, "hunger"); Sep 06 18:06:35 thus no errors Sep 06 18:06:38 just wont execute Sep 06 18:06:42 tricky tricky Sep 06 18:07:27 lol very tricky :P Sep 06 18:09:07 evening Sep 06 18:09:15 afternoon Sep 06 18:09:26 hehe, i'm on webosworld :) Sep 06 18:09:36 :) Sep 06 18:09:38 my name is on webosworld :) Sep 06 18:09:40 http://www.webosworld.com/2010/09/06/introduction-to-webos-sdk-development/ Sep 06 18:11:51 evning swisstomcat Sep 06 18:12:00 hi hotdp Sep 06 18:17:06 congratz swisstomcat Sep 06 18:17:21 Markus Leutwyler :) Sep 06 18:18:29 oh no, my real name is revealed Sep 06 18:18:43 quick, everyone add him on facebook! Sep 06 18:18:53 hahahaha Sep 06 18:20:15 * swisstomcat runs to delete drunken pics of him off facebook Sep 06 18:20:35 * Anivrom watched the download of drunken pics finish Sep 06 18:20:43 * Anivrom watches* Sep 06 18:21:44 hi Sep 06 18:22:07 Hey all Sep 06 18:22:07 hey MetaView long time Sep 06 18:22:12 Anivrom! Sep 06 18:22:14 kesnar you douche Sep 06 18:22:20 kesnar? Sep 06 18:22:23 hi Sep 06 18:22:26 where were you yesterday when I needed help on webkit transitions Sep 06 18:22:34 At the beach Sep 06 18:22:37 hi metaview Sep 06 18:22:42 even more of a douche Sep 06 18:22:55 Hehe Sep 06 18:23:08 Use Mojo.animation Sep 06 18:23:17 doesn't support opacity Sep 06 18:23:21 phailllll Sep 06 18:23:24 Times are too fast, I have problems to catch up with UberCalendar developments, not to speak about the next big thing in WebOS, which I not even tried yet... Sep 06 18:23:35 :O Sep 06 18:23:39 Still need help? Sep 06 18:23:49 webkit transitions works fine Sep 06 18:24:01 nah I decided to manually update teh divs , essentially doing my own transitions Sep 06 18:24:09 oh Sep 06 18:24:12 Heh Sep 06 18:24:19 thats sound slow Sep 06 18:24:20 Also: opacity doesn't work on text Sep 06 18:24:33 right, but you could changethe color Sep 06 18:24:38 wouldnt be any slower than webkit. webkit isnt hardware accelerated either Sep 06 18:24:49 but webkit isn't JS Sep 06 18:25:00 I guess it is done native, or? Sep 06 18:25:01 :O Sep 06 18:25:16 didnt know webkit wasn't js Sep 06 18:25:27 but doesn't matter Sep 06 18:25:30 it's a C++ app Sep 06 18:26:02 if its c++ than why is webos's ui so friggin slow Sep 06 18:26:16 Only uses the CPU Sep 06 18:29:15 the webos ui is infact a lot of JS running in the webkit engine Sep 06 18:29:46 JS is kind of slow compared with native programming Sep 06 18:30:41 Ugh Sep 06 18:30:49 * kesne finds a link to people talking about JS Sep 06 18:31:26 http://www.youtube.com/watch?v=hQVTIJBZook Sep 06 18:31:29 I think it's in here Sep 06 18:39:20 JS is not slow Sep 06 18:39:22 the DOM is Sep 06 18:40:11 JS is slow too Sep 06 18:40:48 alone the GC makes it slower than a language without Sep 06 18:40:54 not to speak about try/catch Sep 06 18:41:06 try/catch is just like eval Sep 06 18:41:10 but it's helpful Sep 06 18:41:30 sometimes it seems also the only way to handle errors Sep 06 18:50:31 opacity works on text color if you use rgba Sep 06 18:50:55 rgba is supported in webkit/ Sep 06 18:51:14 boy, I sure hope so Sep 06 18:51:20 I'd hate to look foolish in here Sep 06 18:51:37 like that never happens Sep 06 18:52:02 hmmm Sep 06 18:54:01 I need a doctor Sep 06 18:54:12 UC-patch doesn't deinstall :D Sep 06 18:54:54 in my opinion if ajax would have never come around, JS would have died years ago Sep 06 18:55:41 other than for browser detction stuff, and other little tasks Sep 06 18:55:59 so apparently my car is blocked in my driveway... wtfbbq Sep 06 18:56:43 lonestar: and now javascript is multiplying like rabbit and even found on servers and mobile phones :) Sep 06 18:57:17 yes, scaring Sep 06 18:57:19 :) Sep 06 18:57:20 yeah, exactly, it made a comeback from almost dead Sep 06 18:57:33 like Apple did some years ago Sep 06 18:57:45 Apple == JS == AJAX Sep 06 18:57:48 yeaP Sep 06 19:00:46 facebook was also on the brink of failure, until they released an API Sep 06 19:01:34 now even our mums' can't get enough of FB Sep 06 19:15:10 hi, I'm new to webos development. On Ubuntu 9.10 here, built a simple app and successfully loaded to emulator but I'm having trouble getting it to my actual device Sep 06 19:15:39 I connected, selected USB device and it is working correctly as a USB dev Sep 06 19:16:12 would you like to install the app or debug on the device? Sep 06 19:16:22 ben@ben-laptop:~/code/palm$ palm-install -d usb com.teststuff.myfirstprayercard_0.0.1_all.ipk Sep 06 19:16:22 palm-install: no matches for "usb" Sep 06 19:16:22 select a device: Sep 06 19:16:22 "emulator" {dd786a8fc3888b9d5cb23c3986598de7fc92e180} tcp 51727 Sep 06 19:16:22 palm-install: no device found Sep 06 19:16:29 just install the app Sep 06 19:16:45 hi red_devel Sep 06 19:17:02 can't seem to find the device though, I'm a noob so its probably something dumb Sep 06 19:17:07 red_devel: is the developer mode enabled on your device? Sep 06 19:17:19 and don't select "usb-drive mode" Sep 06 19:17:22 when installing apps Sep 06 19:17:32 also tried not selecting usb drive mode, didn't change anything Sep 06 19:17:42 have not enabled anything on the device, how do I do that Sep 06 19:17:57 (told you it would be dumb) Sep 06 19:18:02 type "webos20090606" Sep 06 19:18:11 database has a column tag, which contains a string of tags separated by commas. Sep 06 19:18:15 when no app is active Sep 06 19:18:27 "developer mode enabler" should show up Sep 06 19:18:31 enable that and reboot Sep 06 19:18:38 how can i craft a query to select all except certain tags? Sep 06 19:19:00 write upupdowndownleftrightleftrightbastart Sep 06 19:19:13 http://www.webos-internals.org/wiki/Getting_started#Enabling_Developer_Mode Sep 06 19:19:44 NOT LIKE ? Sep 06 19:20:01 example? Sep 06 19:20:20 column='term1,term2,term3'? Sep 06 19:20:45 tag = "tag1, tag 2, tags are fun" Sep 06 19:21:03 want all records except where tag contains "tag 2" Sep 06 19:21:16 hmm Sep 06 19:21:25 WHERE tag NOT LIKE "tag 2" Sep 06 19:21:39 where tag not like '%tag2%' Sep 06 19:21:41 ? Sep 06 19:22:22 even better, make tag=",tag1,tag 2,tags are fun," Sep 06 19:22:41 then you can do: 'where tag not like %,tag 2,%' Sep 06 19:23:30 I also need to be able to pull the tags into an array later Sep 06 19:26:02 developer mode was the trick, thanks all Sep 06 19:26:15 you're welcome Sep 06 19:26:39 * hotdp suck at paint.net Sep 06 19:34:47 anyone like techno in her? Sep 06 19:35:01 depends what kind of techno Sep 06 19:35:08 http://www.youtube.com/watch?v=6DcfXVL0mh0 Sep 06 19:35:15 good song Sep 06 19:35:24 http://www.youtube.com/watch?v=VrjwqXwyzNU Sep 06 19:36:25 Anivrom, that song bring backs memories Sep 06 19:36:42 yeah, though i have to say i like some of teh covers better Sep 06 19:37:15 like, of course, Jose Gonzalez Sep 06 19:37:24 of the scala version Sep 06 19:37:50 http://www.youtube.com/watch?v=00P42VO43pE Sep 06 19:37:52 awesome Sep 06 19:38:33 swisstomcat: where tag not like '%tag2%' works. thanks. Sep 06 19:38:38 s/of/or Sep 06 19:39:29 JSLint did not make me cry Sep 06 19:39:35 gonzalez's version is nice too, i prefer the scala version tho Sep 06 19:40:24 kesne: I actually watched that whole video Sep 06 19:40:32 Anivrom: I did too Sep 06 19:40:37 At least three times Sep 06 19:40:43 lol Sep 06 19:40:44 I have the book at my side Sep 06 19:40:54 Though I disagree with him on HTML5 Sep 06 19:42:26 WOO Sep 06 19:42:30 KSO profiles all set up Sep 06 19:42:39 With first names, last names, usernames, etc Sep 06 19:42:47 I'm debating if I should use display names too Sep 06 19:43:00 get rid of first and last and use display Sep 06 19:43:09 First and last are optional Sep 06 19:43:19 Display names could mess everything up Sep 06 19:43:31 then display should be as well Sep 06 19:43:47 Display names could cause doubles Sep 06 19:43:51 And issues with the PM system Sep 06 19:44:07 then just send the username along with the displayname when messaging :) Sep 06 19:44:11 behind the scenes Sep 06 19:44:19 Everything is tracked via username, so display names seem a bit superfluous. Sep 06 19:44:30 And if there are doubles, my lists will yell Sep 06 19:44:54 Doubles are an easy fix, and display names are a fun bonus Sep 06 19:44:57 Avatars supported too Sep 06 19:45:02 depending on the mood of the person Sep 06 19:45:03 How are they easy to fix? Sep 06 19:45:20 well jus think of how irc does it Sep 06 19:46:11 search users for suggested displayname if it its taken popup with a message Sep 06 20:26:42 leiru? Sep 06 20:26:46 hi Sep 06 20:26:47 what question? Sep 06 20:26:52 :D Sep 06 20:30:06 MetaView: { label: "Help", command: "do-helpAddSub"}, <-- created a help view, with infos about it in appinfo.json -> as i come from germany like you, and my app is for german people but mainly in english written, the help screen appears as "hilfe" on my german palm pre. Sep 06 20:30:27 how do i tell the pre, to use english dictionary for this screen Sep 06 20:32:12 the "hilfe" is a hard cut, all screens are named "preferences" or smth. like this. Sep 06 20:33:12 good night everyone Sep 06 20:33:19 cya Sep 06 20:33:54 leiru: Do you use the API-call which creates asupport scene? Sep 06 20:35:19 MetaView: sure, palm advises it, and it seemed to be a good choice, because it was created fast :) --> this.controller.pushAppSupportInfoScene(); Sep 06 20:36:12 But it doesn't follow the guidelines... Sep 06 20:36:45 Rule 1: In every scene you have to have a working app menu with an enabled help item Sep 06 20:36:45 do you have a link for further infos? Sep 06 20:37:24 and the last time I tried it, the help item wasn't enabled when using pushAppSupportInfoScene Sep 06 20:37:41 I guess it was discussed in the Palm dev forums Sep 06 20:37:46 MetaView: i think i have - naturally not in "help screen" Sep 06 20:38:09 well, the rule says even in the help screen Sep 06 20:38:17 you remember the version of webos @ your try? that would be interesting. Sep 06 20:38:33 1.4.1 I guess Sep 06 20:38:59 MetaView: I think they "relaxed" that rule for the pushAppSupportInfoScene Sep 06 20:39:06 oh, ok Sep 06 20:40:09 MetaView: what happens if your app is fullscreen such as a game? Sep 06 20:40:12 :P Sep 06 20:40:27 games are different Sep 06 20:40:49 they have a special name for it, don't remember Sep 06 20:41:31 * MetaView is running EPR Sep 06 20:44:54 ok - i will try to give it a name. found the site in the dev-docs. without pushing a custom scene. Sep 06 20:49:07 I always use my own support scene Sep 06 20:49:23 sometimes I just use a generic help scene, nothing fancy Sep 06 20:53:47 * kesne is back Sep 06 20:54:17 * kesne uses the palm-generated help scene Sep 06 21:06:02 kesne: do you know how to set up their language? Sep 06 21:06:39 What do you mean? Sep 06 21:10:45 kesne: mrm maybe, if you code your app all over in english, and it has to be an english language app, but when you release in germany, with german web-os's, the generic screen will be named "hilfe" instead of help Sep 06 21:10:56 but the rest of the app remains in english Sep 06 21:12:01 is there any language attribute, i can give to the generic help? Sep 06 21:15:07 hrm... while i'm asking around and wishing me any kind of solution, i could have written custom help scene. damn ;) Sep 06 21:17:44 whaaat the hell Sep 06 21:17:55 irc protocol, you have lied to me Sep 06 21:19:11 g'night Sep 06 21:31:11 leiru: Sorry about the delay, I was gone Sep 06 21:31:21 leiru: I have no idea about ANY localization Sep 06 22:08:00 n8 everyone Sep 06 22:14:28 any PDK developers here? Sep 06 22:17:39 My company Sep 06 22:17:41 Not me though Sep 06 22:21:08 yeah Sep 06 22:21:14 what's up? Sep 06 22:27:26 have to go now. nite Sep 06 22:36:28 mmmmm wife just finished making pizzas Sep 06 22:55:11 alexfner - curious, did you try service API calls? Sep 06 22:55:36 For some reason, my callbacks are never getting actually called. Sep 06 23:15:26 how tied to the SDK does a webos app need to be? Sep 06 23:16:00 depends how you want to distribute it Sep 06 23:16:22 ping Sep 06 23:16:37 does anyone know how to add a background to a scene without js? Sep 06 23:16:43 I'm maybe not asking the proper question rwhitby Sep 06 23:16:46 applying it to the body tag didn't work Sep 06 23:17:51 umm... the question I'm really trying to ask, I guess, is: how possible is it to use other technologies and build on them? Sep 06 23:18:22 for instance, would it be possible to use http://refdb.sourceforge.net/ as a backend for a project? Sep 06 23:26:03 does anyone know? Sep 06 23:26:53 whats with the "without js" clause? Sep 06 23:31:15 oil: without javascript Sep 06 23:31:16 css only Sep 06 23:31:20 it must be possible Sep 06 23:31:44 no, i understood what you meant, just not why Sep 06 23:32:16 it's faster without js Sep 06 23:32:27 actually, it may not be, but i hate styling with js Sep 06 23:32:33 ... Sep 06 23:32:59 did you try body.palm-default {}? Sep 06 23:33:06 no i haven't Sep 06 23:33:08 let me Sep 06 23:33:13 Anyone interested in an AMD athalon 64bit 3.4ghz 4400+ or two XFX 256mb PCIE x16 SLI 8500GTs or 3gb Corsair XMS 184pin ddr1 cas latency:3 RAM? Sep 06 23:33:31 my PC's mobo exploded Sep 06 23:33:35 should I add an empty body tag with that class then? Sep 06 23:33:41 hah Sep 06 23:33:46 mobo's Sep 06 23:33:49 those make me laugh Sep 06 23:34:07 so i've got a bunch of working hardware for a motherboard that doesn't Sep 06 23:34:16 and it's not worth replacing the board cause it's 6 years old Sep 06 23:34:21 MBarvian: it should already be there Sep 06 23:34:24 i believe it defaults to that Sep 06 23:34:25 buy an el cheapo matx mobo Sep 06 23:34:46 halfhalo: they don't make them anymore Sep 06 23:34:51 not that fit my cpu or ram Sep 06 23:34:57 worked thanks Sep 06 23:35:00 oil: no it wasn't Sep 06 23:35:01 no bady tag Sep 06 23:35:03 it would be like 200 for a new mobo, quad cpu, and ram Sep 06 23:35:03 *body Sep 06 23:35:07 thanks Sep 06 23:35:09 well Sep 06 23:35:11 i can only find reconditioned boards for like $100, i could build a new one for cheaper Sep 06 23:35:13 just because you dont see it in your view html Sep 06 23:35:17 doesn't mean there is no body tag Sep 06 23:35:20 its in every stage Sep 06 23:35:24 it comes from index.html in root Sep 06 23:35:28 no Sep 06 23:35:32 it wasn't in index.html Sep 06 23:35:36 i had to add it Sep 06 23:35:42 but no big deal Sep 06 23:35:46 well, thats part of creating an app Sep 06 23:35:54 a body tag? Sep 06 23:35:56 lol Sep 06 23:35:58 no Sep 06 23:35:59 index.html Sep 06 23:36:03 yeah i know Sep 06 23:36:08 there was just no body tag in it Sep 06 23:36:14 well thats pretty fail Sep 06 23:36:18 :) Sep 06 23:36:19 blame eclipse Sep 06 23:36:22 never bothered to look at it Sep 06 23:36:26 always assumed it was there Sep 06 23:36:39 lol Sep 06 23:52:20 whaaaaat the hell node Sep 07 00:13:52 testing 1-2-3...hello? is this thing on? Sep 07 00:13:59 no Sep 07 00:15:34 Hmm Sep 07 00:15:41 halfhalo: How's node trating you? Sep 07 00:15:51 I'm going to stab it in a second Sep 07 00:17:17 Why? Sep 07 00:17:27 because its being retarded Sep 07 00:18:17 :O Sep 07 00:19:21 why the hell is this not working Sep 07 00:19:35 heh Sep 07 00:19:38 IT IS A SIMPLE IF STATEMENT WHY DO YOU NOT WORK YOU STUPID POS Sep 07 00:19:42 sounds like me when working with WP Sep 07 00:23:24 Blarg Sep 07 00:23:40 Moving a 3MP image !== fun Sep 07 00:23:49 heh Sep 07 00:23:56 uploading it? Sep 07 00:24:12 no, moving it one pixel at a time. Sep 07 00:24:39 omg... its not seeing the first arguement Sep 07 00:25:29 how can it POSSIBLY be undefined... Sep 07 00:26:46 It's JS, right? Sep 07 00:29:07 Wow... That was full of fail Sep 07 00:29:31 Walk outside to play with the dog and colliliquy crashes on iPad Sep 07 00:29:34 * Anivrom gets the feeling halfhalo solved it in the simplest of manners Sep 07 00:29:41 oh Sep 07 00:29:54 Nah, I'm going to burn it later Sep 07 00:30:11 mabye we can see an oversight you've missed Sep 07 00:30:31 I'll post the code when I get back to my computer Sep 07 00:31:21 It's messy tho Sep 07 00:31:39 great, it will look familiar then Sep 07 00:31:45 Like.. Holy carp messy Sep 07 00:32:30 I'm attempting to both clean it up and finish up part of the code now Sep 07 00:39:22 Still have to find a good way to deal with mode as well Sep 07 00:40:43 And once that's done, whip up 3 templates per view Sep 07 00:41:03 Well, 4 for one view Sep 07 00:43:16 Silly iPad and lack of multitasking... Sep 07 00:50:30 rwhitby: how to look at the files on the emulator? Sep 07 00:50:50 ssh? Sep 07 00:50:54 google voice login in 31 lines of code: http://pastie.org/1142717 Sep 07 00:51:05 and thousands of lines of BeautifulSoup... Sep 07 00:51:16 Just need to convert it to node... Sep 07 00:53:01 Not that hard... Sep 07 00:54:34 halfhalo: Nope, just need to go back to a regex for getting the hidden s Sep 07 00:55:04 And use step.js to do all of it because infinitely nesting functions sucks Sep 07 00:56:11 I wonder if step throws exceptions periodically to unwind the stack Sep 07 00:56:20 no idea Sep 07 00:56:25 fixed my issue though Sep 07 00:56:52 it really was undefined. literally. it was defined as undefined Sep 07 00:56:58 heh Sep 07 00:58:59 hmm Sep 07 00:59:08 whats the best way to store logs... Sep 07 00:59:21 channel/year/month/day or year/month/day/channel Sep 07 01:01:20 b Sep 07 01:02:48 urg... thats what I was thinking.. but its already set up for a Sep 07 01:05:04 why is b better? Sep 07 01:06:08 preference? Sep 07 01:06:41 ehh... may be easier for the webserver to sit on top of.. but besides that, year, preference Sep 07 01:09:53 ugg... I think I have to rewrite a good part of it anyways... Sep 07 01:13:09 halfhalo: I think a is better because I'm generally looking for a channel, not a day Sep 07 01:13:25 im making it a preference Sep 07 01:13:31 bbiab steak time Sep 07 01:13:54 halfhalo: make sure you get some sauce on that badboy Sep 07 01:13:56 :P Sep 07 01:14:22 Anivrom: How is your game going? Sep 07 01:14:30 its going. Sep 07 01:16:01 ETA? Sep 07 01:24:08 test Sep 07 01:25:11 halfhalo: Actually this may be complicated to port to nodejs, I need https Sep 07 01:27:16 anyone know of a general webos irc channel for non-developers? Sep 07 01:27:38 watercooler? Sep 07 01:27:49 * Anivrom waits for someone to chime in with proper name Sep 07 01:28:02 rlopin: no one uses it Sep 07 01:28:40 maybe now they will with precentral's front page article on wIRC. Sep 07 01:30:50 I just joined it. You were right, no one is on it! Sep 07 01:30:57 Amaranth: https be easy Sep 07 01:31:17 halfhalo: Oh, do newer versions actually support it? Sep 07 01:31:42 Otherwise you have to get a third party module Sep 07 01:32:00 look at the http.client docs Sep 07 01:32:03 hi all, my first time using irc and I'm doing in from my pre+. thanks to anyone in the channel that is actively developing apps. Sep 07 01:32:06 theres the secure option Sep 07 01:32:18 Sgnos: welcome Sep 07 01:32:38 Sgnos: are you interested in developing? Sep 07 01:32:38 velcome to vlads vouse of vorror! Sep 07 01:34:34 anivrom: I'm not a programmer. I'd love to but I'd have a lot to lear first. Sep 07 01:34:47 Oh, lots of people must be installing wIRC now Sep 07 01:34:54 It's easier than you think :P Sep 07 01:35:03 *learn Sep 07 01:35:53 last time I did any programming we were still using punch cards. Sep 07 01:36:07 well its definately improved since then Sep 07 01:36:12 wirc is the best irc i have seen on a phone. compared to what i saw on android Sep 07 01:36:18 I just realized, being able to hook into synergy means I can provide Google Voice SMS in to the messaging app and stop forwarding to my actual phone number Sep 07 01:36:21 :) Sep 07 01:38:29 I think with the 1.4.5 update webos is just hitting its stride. I see a lot of exciting things being discussed annd great apps hitting the didtributio Sep 07 01:38:44 distributions. Sep 07 01:39:05 sorry, fat thumbs. Sep 07 01:39:27 dont bother correcting typos on wirc, you'll spend more time correcting than typing Sep 07 01:39:39 lol, ok Sep 07 01:40:22 lol Sep 07 01:40:53 oil_pre has been slacking, he was supposed to have had autocorrecting like 10 version ago Sep 07 01:41:08 dundundun.... Sep 07 01:41:23 versions too* Sep 07 01:41:30 autocorrection as well* Sep 07 01:42:31 * oil_pre doesn't see it in trac... Sep 07 01:42:46 I'd really like to see verizon get on the ball. I'm very disappointed in their lack of communicating the reasons for their delaying the release. Sep 07 01:43:15 could that be... because only wirc devs could use trac? :p Sep 07 01:43:16 And all of these "make http.Client simple" nodejs libraries toss out all of cookies :/ Sep 07 01:43:57 halfhalo: exactly :) Sep 07 01:45:35 :p Sep 07 01:47:53 is there a document editor of webos as yet Sep 07 01:48:31 for Sep 07 01:49:34 rolsworth: no Sep 07 01:49:45 best way to control the flow of product demands is to limit access to the input point. Sep 07 01:49:46 rolsworth: you can't open existing documents and edit them Sep 07 01:50:23 well you can, they just aren't graceful solutions :P Sep 07 01:51:10 I have not seen a phone besides iphone 4 with such a high quality screen as the PRe Sep 07 01:51:25 I had an EPic 4G for a few days and even that cannot compare to the Pre Sep 07 01:53:24 usability and intuitiveness (sic) are top of the line. droid and iphone are not even close. Sep 07 01:54:06 mhmmmmm Sep 07 01:54:09 webos is the best os Sep 07 01:54:22 I'd argue about iphones :), but geeze, android is annoying Sep 07 01:54:27 its just not as smooth unless you overclock Sep 07 01:54:50 but that might change in 2.0 if its hardware accellerated :O Sep 07 01:54:54 * Anivrom wets pants Sep 07 01:55:04 if palm had a better device they would have had the spotlight and not android Sep 07 01:55:10 it's not too late thogh Sep 07 01:55:42 a tablet would be really cool Sep 07 01:56:05 coming soon Sep 07 01:56:13 I'm using uberkernal to up clock to 720 and it makes the pre at least as smooth as the iphone. Sep 07 01:56:44 I ran 900 for a while without a hitch Sep 07 01:56:56 just voids the warranty if you brick it Sep 07 02:00:17 webos would make a better tablet than android Sep 07 02:00:31 android os is so ugly and the software blows Sep 07 02:01:20 I'd worry about voidin the warranty if I thought the folks at verizon could figure out what happened. their normal answer to any hardware fault is "you must have got it wet". Sep 07 02:20:08 wow, I just realised, I booked friday off, sat, sun, monday was stat holiday, I'm not working tomorrow cause I'm sick, and I get wednesday off normally. So 6 day weekend Sep 07 02:20:31 noice Sep 07 02:32:00 so, I have a super-noob issue, but I can't even get "building your first app" to work. Is there something that many people miss? Sep 07 02:32:23 could be a million reasons summatusmentis Sep 07 02:32:33 what IDE are you using Sep 07 02:32:36 I'm not Sep 07 02:32:41 I'm using the command line tools Sep 07 02:33:14 but I just get an empty card, which I assume means my scene isn't pushing? Sep 07 02:33:22 right Sep 07 02:33:32 palm-log -f it and see whats up Sep 07 02:34:26 oh, interesting, ok Sep 07 02:38:30 ugh, my vbox is angry Sep 07 02:44:41 halfhalo: thanks, that helped a lot Sep 07 02:44:46 np Sep 07 02:45:01 are there ctags for the SDK? Sep 07 02:45:06 does anyone know? Sep 07 02:45:18 (wanting to use vim, but completion would be nice) Sep 07 02:46:08 summatusmentis: what language/os are you coming from? Sep 07 02:46:45 Anivrom: So Sep 07 02:46:48 I'm on OS X, I normally code in java/C Sep 07 02:46:54 I see. Sep 07 02:46:55 but I know linux pretty well too Sep 07 02:47:01 I just use OS X Sep 07 02:47:03 Anivrom: I think I'm going to add display names in villo, but not kso Sep 07 02:47:19 Anivrom: is that bad? Sep 07 02:47:52 no, its just that I noticed you seem to have a foundation in programming. Which is good Sep 07 02:48:02 Was wondering what that foundation was Sep 07 02:48:11 oh, yeah Sep 07 02:48:18 I'm a computer science major :) Sep 07 02:48:22 good stufff Sep 07 02:48:34 webos development is a walk in the park compared to java/C Sep 07 02:48:49 unless you have no experience using web dev frameworks :) Sep 07 02:49:00 yea but the concepts are easy to pickup Sep 07 02:49:04 You'll do fine Sep 07 02:49:23 if you can wrap your head around java/C then html/css/javascript is childsplay Sep 07 02:49:33 I recommend you really learn Javascript though Sep 07 02:49:44 javascript is the one part I'm worried about Sep 07 02:49:44 Learn it for reals Sep 07 02:49:48 Not just assume its the same as C because the syntax is the same Sep 07 02:50:03 (picked up that tip from douglas crockford just today :P) Sep 07 02:50:10 RUUUUNNNN ITS JS Sep 07 02:50:21 compliments of kesne Sep 07 02:50:24 The Good Parts :D Sep 07 02:50:39 Douglas Crockford has no bad parts Sep 07 02:51:28 When he was talking about nested functions and private var inheretence my head literally melted Sep 07 02:52:03 Now I have half a head, and its melted Sep 07 02:53:56 Why? Sep 07 02:54:50 cause I had a hard time understanding the concept of nesting functions to avoid the global object Sep 07 02:55:58 http://www.youtube.com/watch?v=sfCiOzL7cYs&feature=player_embedded Sep 07 02:58:01 * haeffb_ trying to inspect multi-stage app. Sep 07 02:58:13 * Anivrom prays for haeffb_ Sep 07 02:58:15 http://developer.palm.com/index.php?option=com_content&view=article&id=1611&Itemid=61 Sep 07 02:58:26 according to the last section, it's possible Sep 07 02:58:32 but all I get back is "not found" Sep 07 02:58:39 lol can only look at 1 stage at a time Sep 07 02:58:41 thats not handy Sep 07 02:59:28 haeffb_: I've never used ares debugger on multistage but theoretically it should work, maybe you should give it a shot Sep 07 02:59:35 inspector is extremely more handy than debugger Sep 07 02:59:39 I see **** ENDING LOGGING AT Tue Sep 07 02:59:57 2010