**** BEGIN LOGGING AT Tue Feb 16 02:59:57 2010 Feb 16 03:02:33 hahah avatar the game is out on the pre Feb 16 03:14:19 game looks good but I have yet to pull the trigger on any of gameloft's action/adventure games Feb 16 03:16:10 same Feb 16 03:16:31 I'll take the plunge with NOVA Feb 16 03:28:34 Pinch to zoom is hard =/ Feb 16 03:32:24 pinch the zoom is hard? Feb 16 03:32:47 O_o Feb 16 03:32:51 zooming the pinch is hard Feb 16 03:34:24 pre needs an official irc client Feb 16 03:34:43 wirc Feb 16 03:34:57 Trying to let users zoom in and out using the pinch gesture, not as easy as you would think. Feb 16 03:35:19 scottb: how are you even doing it? Feb 16 03:35:21 something official that appears in the app catalog. Feb 16 03:35:38 that 'other' irc client doesn't require a back end Feb 16 03:35:47 there is colloquy for iphone Feb 16 03:35:49 idk if it would be approved Feb 16 03:36:01 Tibfib: binding gesturestart, gesturechange, and gesturend Feb 16 03:36:17 They let me through using vibrate which isn't documented Feb 16 03:38:29 they need to make a pinch api Feb 16 03:38:37 well a multitouch one Feb 16 03:39:36 scottb: are you adding it to minesweeper? Feb 16 03:39:39 gesture has things like event.scale and event.rotate Feb 16 03:39:44 Tibfib: yep Feb 16 03:39:46 nice Feb 16 03:43:26 Just about have it working :D Feb 16 03:43:38 very nice Feb 16 03:43:44 did you add in that toggle? Feb 16 03:45:19 The toggle? Feb 16 03:45:45 Oh, not yet Feb 16 03:45:45 Rewrote half of the underlying code instead. Feb 16 03:45:49 haha Feb 16 03:48:17 im adding some menu items and they all appear disabled, any clues what that might be? Feb 16 03:49:12 Yay!!!!!! Feb 16 03:49:16 Pinch zoom works :D Feb 16 03:49:34 but can you zoom out? Feb 16 03:50:08 ;) Feb 16 03:50:09 Yep Feb 16 03:50:12 In and out :D Feb 16 03:52:30 does the pre have some problems clearing out memory Feb 16 03:53:19 It might Feb 16 03:53:32 I have it slow down and need a reboot all the time Feb 16 03:56:04 One of the problems is the 'listening' Feb 16 03:56:27 I found in one of the palm docs this comment in the cleanup: // We need to manually stop listening to events until the framework is updated to clean these up automatically Feb 16 03:56:49 Yuck =/ Feb 16 03:57:44 listselector-assistant in mojomatters if anyone is interested Feb 16 03:59:21 haeffb you around? Feb 16 04:02:03 Haven't seen em Feb 16 04:02:13 darn Feb 16 04:03:57 Minefield 1.0.3 is on it's way with pinch zoom support :D Feb 16 04:04:09 web feed? Feb 16 04:04:20 Beta Feb 16 04:04:28 Tibfib: i saw that the other day too! scary! Feb 16 04:15:04 JenP: what's up? Feb 16 04:15:24 i need your help debugging my calendar... Feb 16 04:32:58 I'm installing the WIDK, and at what I assume is the end of make stage, it errors out, something about sound/alsa possibly? Feb 16 05:08:52 does mint have the most recent kernel? Feb 16 05:09:07 wront chan Feb 16 05:57:15 world series poker in catalog Feb 16 05:57:26 if it had online play I would get it Feb 16 05:57:58 damn it does have multiplayer Feb 16 05:59:25 lol Feb 16 06:01:18 very impressive indeed Feb 16 06:02:10 I thought for sure someone would have created a SunClock, but I can't find one. Time to learn this stuff and write one myself. Feb 16 06:04:58 sunclock? Feb 16 06:05:15 Map of the world with day/night line Feb 16 06:05:30 http://www.worldtimezone.com/datetime.htm Feb 16 06:05:53 sure I saw a world clock one time Feb 16 06:06:00 do a simpel world meeting time planner app which understands GMT+13:45 and daylight savings changing times from year to year instead ;-) Feb 16 06:06:21 What my ultimate goal is a satellite tracking app for amateur radio. Feb 16 06:13:52 BoomerET: http://developer.palm.com/webChannel/index.php?packageid=com.speedymarks.palmpre.worldclockr Feb 16 06:15:59 Thanks! I think this will be a good learning experience for me. Feb 16 06:16:11 does the palm website list all the aoplicationd Feb 16 06:17:39 You mean all the App Store programs available? Feb 16 06:18:19 renegaid: yes via the feeds Feb 16 06:19:10 or look in Preware for every webOS app in existence Feb 16 06:20:36 yeah Feb 16 06:24:08 have 2 scripts, need to send the results of one script to the other real-time, what is the best way? both are being activated in "MyAssistant.prototype.activate = function(event){}" Feb 16 08:43:47 i type this breakpoint (b /media/cryptofs/apps/usr/palm/applications/com.dylvian.loterias/app/assistants/app-assistant.js:68) in novaterm > debug, and it doesnt appear to work, it sets the breakpoint but it doesnt stop when i run my app Feb 16 08:48:30 guess the rumors of an update with video recording and flash rolling out on the 15th were a bit optimistic :( Feb 16 09:03:06 anyone know how to debug in palm? Feb 16 10:34:06 anyone know how to debug in palm? Feb 16 11:05:32 Palm? The company? Feb 16 11:05:39 Or palm, as in your hand? Feb 16 13:01:18 hahhAHa Feb 16 13:01:21 zomg are u there? Feb 16 13:02:41 Yeah but I can't help you with the problem as I'm not really sure myself, sorry =) Feb 16 13:06:03 i mean developing webOS for palm Feb 16 13:06:09 i dont know how to debug Feb 16 13:06:38 i use the terminal, and the debug command Feb 16 13:06:45 but when i set up a breakpoint Feb 16 13:06:51 it doesnt stop on it Feb 16 14:02:23 hard startup when using freenode for the first time Feb 16 14:02:24 hi Feb 16 14:20:44 woohoo my slot machine app got accepted on the first try! :D Feb 16 14:22:20 congrats Feb 16 14:23:02 is there only the eclipse 3.4 plugin? i couldn't find any for galileo Feb 16 14:24:35 morning! Feb 16 14:25:28 good evening Feb 16 14:30:48 hi Feb 16 14:30:53 i've got a problem to read application logs Feb 16 14:30:58 i try to log like that : Mojo.Log.info("#############List Tapped [" + event.index + "]"); Feb 16 14:31:11 put when i read logs with : palm-log -f Feb 16 14:31:15 i don't see anything Feb 16 14:31:20 but the app works well Feb 16 14:31:23 any idea ? Feb 16 14:31:26 about this problem ? Feb 16 14:37:14 l_a_m: have you changed your system log level to output info, rather than just errors? Feb 16 14:37:47 palm-log --system-log-level=info Feb 16 14:40:57 ambackstrom: yes Feb 16 14:41:22 connecting to device emulator (E0809C9FE0435C8D000EF9A569C0991F08588E81:tcp:43465) Feb 16 14:41:25 setting log level to warning Feb 16 14:42:34 Is there any extended battery for the original Pre that works with the touchstone? Apart from the 1400mh one? I want to add more than the 15% the 1400mh one adds. Feb 16 14:46:57 ambackstrom: but no logs :( Feb 16 14:47:34 bobbob1016: not at this time Feb 16 14:48:25 the batteries with higher capacities are not compatible and are requiring more space Feb 16 14:49:52 malarian, I've been looking at the way the touchstone backing works now, and I wasn't sure if anyone tried moving the touchstone stuff from the touchstone backing to the new one with a higher capacity battery Feb 16 14:51:23 i've searched for a solution like that too but wasn't successful in finding one Feb 16 14:51:56 i could only buy official licensed products because of my device insurance Feb 16 14:52:45 malarian, I have Sprint, didn't think they'd say it voids the insurance thing... damn Feb 16 14:53:32 i'm with o2 germany and signed an extra insurance Feb 16 15:04:42 now i remember what i wanted to do - try number 7 in getting ssh root access to my pre -.- Feb 16 15:06:06 by the way ... is webos 1.4 released in the US? Feb 16 15:25:07 hi all Feb 16 15:25:44 i can't get the icon.png working..i have a 128x128 icon.png, but on the palm-emulator i just show the default moon icon.. any idea?.. is it a prolbem if i renamea 128x128 gif to png? Feb 16 15:27:48 you should convert your graphics not just rename Feb 16 15:28:04 i recommend to create your graphics as png Feb 16 15:28:14 okay.. Feb 16 15:28:43 you just have to save as ... .png and so on Feb 16 15:29:11 done.. no change Feb 16 15:30:15 hmm ... is there a restriction of color depth for webos icons Feb 16 15:32:35 try one of these http://www.webos-internals.org/wiki/Icons just to test Feb 16 15:40:39 for performance reasons, should I leave my sound effects in WAV, or can I compress them to AAC or MP3 with no real cpu/battery life hit? Feb 16 15:48:07 best way to upload files to a server from app = ? Feb 16 15:50:13 i can see my application : * com.lamirault.tralic.webos 0.4.0 "Tralic" Feb 16 15:50:18 but not logs :( Feb 16 15:50:30 palm-log --device=tcp -f com.lamirault.tralic.webos Feb 16 15:50:42 does someone know why ? Feb 16 15:52:25 hello Feb 16 15:52:44 Possible to access (and change) notification settings for a calendar from my app? Feb 16 15:58:38 Monroe: I don't think that is possible. The only thing you can do is add an event, I believe Feb 16 15:58:46 weak Feb 16 15:59:02 l_a_m ... Not sure but I think you can (and need to) set the log verbosity to 99 ... Feb 16 15:59:20 Don't quote me on that though, I could be way off Feb 16 15:59:54 malarian: have now tried a icon from your link.. but no change.. what the...? Feb 16 16:01:04 l_a_m: try adding this to appinfo.json: "logLevel": "99" Feb 16 16:02:17 noaXess: hmm .. i'll try it too Feb 16 16:02:22 wait a sec Feb 16 16:02:27 malarian: ok Feb 16 16:02:48 Monroe: i have this in my framework-config.json: "logLevel" : Mojo.Log.LOG_LEVEL_INFO Feb 16 16:02:57 codeslaw_: Ajax, of course Feb 16 16:03:05 Monroe: i must write this line in framework-config.json or appinfo.json ? Feb 16 16:03:33 sugardave: best place to find an example of an image upload? Feb 16 16:03:44 l_a_m: that goes in farmework_config.json...but I always use a number (greater than 20 will work) Feb 16 16:03:55 codeslaw_: beats me :D Feb 16 16:04:05 =P Feb 16 16:04:35 sugardave: ok i try that Feb 16 16:06:06 { Feb 16 16:06:06 "logLevel" : 99, Feb 16 16:06:07 "timingEnabled" : true Feb 16 16:06:08 } Feb 16 16:06:26 in my framework-config.json...but no logs Feb 16 16:06:35 l_a_m: hold on a sec Feb 16 16:06:35 l_a_m: I put in in appinfo.json for my projects, but framework-config.json may work as well Feb 16 16:06:48 Monroe: ah Feb 16 16:07:01 * l_a_m don't understand why my logs aren't displayed Feb 16 16:07:03 no, logging level goes in framework_config.json Feb 16 16:07:14 framework_config.json or framework-config.json Feb 16 16:07:15 ? Feb 16 16:07:20 _ Feb 16 16:07:27 err .. yeah sorry _ Feb 16 16:08:06 noaXess: okay - i'm having problems with that too Feb 16 16:08:10 i rename framework-config.json to framework_config.jso Feb 16 16:08:11 n Feb 16 16:08:15 but no effect Feb 16 16:08:29 l_a_m: where are you looking for logging information? Feb 16 16:08:33 it logs to /var/log/messages Feb 16 16:08:43 changed the icon but it only changes from moon to moon ^^ Feb 16 16:08:43 sugardave: with palm-log -f Feb 16 16:08:46 and only error level on the device Feb 16 16:08:48 oh Feb 16 16:08:52 I don't use it :D Feb 16 16:08:56 oh :( Feb 16 16:09:12 I just ssh into my emu and put a tail on messages Feb 16 16:09:17 sugardave: /var/log/messages ? how can i have access to this file ? Feb 16 16:09:20 sugardave: with ssh ? Feb 16 16:09:29 sugardave: how ? Feb 16 16:09:36 yeah, ssh to your emu, port 5522 (I think) Feb 16 16:09:39 root, no password Feb 16 16:09:48 oh ! Feb 16 16:09:49 it works Feb 16 16:09:57 with framework_config.json Feb 16 16:10:03 yeah !! Feb 16 16:10:03 ah, there you go Feb 16 16:10:08 thanks a lot Feb 16 16:10:13 np Feb 16 16:13:12 malarian: any idea? Feb 16 16:13:12 a ... sorted it out Feb 16 16:13:54 are you sure that the graphic is imported in your project Feb 16 16:14:09 ?? Feb 16 16:14:19 where do you develop? Feb 16 16:14:28 eclipse Feb 16 16:14:33 me to ^^ Feb 16 16:14:46 so Feb 16 16:14:53 what now? Feb 16 16:15:16 eclipse 3.4? Feb 16 16:16:07 3.5.1 Feb 16 16:16:18 you should use templarian's komodo addon with komodo. :) webos.templarian.com/komodo Feb 16 16:16:21 right click on the open project -> import ... choose "General" -> "Filesystem" Feb 16 16:17:00 i ve got another question about a view Feb 16 16:17:25 i ve got a list view but i must set this list with an ajax request Feb 16 16:18:03 malarian: and now? Feb 16 16:18:27 browse the path where the icon is situated Feb 16 16:18:42 choose it and finish Feb 16 16:19:16 malarian: it's allready in the project folder... Feb 16 16:19:44 in .prototype.setup = function() { ... } i define the list like that : Feb 16 16:19:45 this.controller.setupWidget("schedulesList", this.attributes = { Feb 16 16:19:49 ... } Feb 16 16:19:54 are you sure that it is not just a link? Feb 16 16:20:10 and do the ajax requete in Assistant.prototype.activate = function(event) { Feb 16 16:20:23 but when i show the view , the list is empty Feb 16 16:20:29 malarian: no change Feb 16 16:20:33 someone knows why ? Feb 16 16:20:43 no.. i copied it manually to the project folder Feb 16 16:20:47 if you use your pre instead of the emulator you have to delete your app every try Feb 16 16:21:39 l_a_m: your list model needs to contain an 'items' array which hold the elements of the list Feb 16 16:22:07 if the items are updated after the scene is displayed, then you have to throw in a this.controller.modelChanged(theModel); to refresh it Feb 16 16:26:30 malarian: and on the emulator? delete first? Feb 16 16:26:43 i don't know Feb 16 16:26:56 i'm to lazy to configure the emulator Feb 16 16:27:21 i tried this http://www.webos-internals.org/wiki/Image:Icon_TheFingWeather.png an it works Feb 16 16:28:01 noaXess: I think you have to delete the app when you change the icon Feb 16 16:28:06 but can't remember for sure Feb 16 16:28:18 just delete it and re-package it Feb 16 16:28:21 no change :( Feb 16 16:28:33 allways same default icon Feb 16 16:28:37 is it in the right place? Feb 16 16:28:44 root Feb 16 16:28:52 got a meeting in 2 mintues, then I can help if you don't have it working Feb 16 16:29:15 will be nice Feb 16 16:30:48 sorry that i couldn't help you properly noaXess Feb 16 16:31:47 sugardave: thanks it works Feb 16 16:31:53 l_a_m: great Feb 16 16:32:25 lol Feb 16 16:32:37 dont be so conceded sugardave Feb 16 16:32:52 what?! Feb 16 16:33:00 I didn't do anything.... :( Feb 16 16:33:09 "sugardave: l_a_m: great" Feb 16 16:33:12 ah Feb 16 16:33:13 hahaha Feb 16 16:33:22 slow this morning :D Feb 16 16:33:28 i mean i think your great but dont toot your own horn :) Feb 16 16:33:38 if I could, you'd see a lot less of me Feb 16 16:33:42 :o Feb 16 16:33:46 hahaha Feb 16 16:34:19 noaXess: meeting seems to be delayed....can you pastebin your appinfo.json? Feb 16 16:36:20 someone have an example using WebOS and Google Maps ? Feb 16 16:36:56 l_a_m: I don't know of one, but I know the question has been asked a few times at the dev forums... developer.palm.com Feb 16 16:37:26 l_a_m: specifically, what do you want to do with google maps? Feb 16 16:40:55 homie gets 5 more minutes to start this meeting or I'm outta here Feb 16 16:42:13 kmudrick: i would like to put have a map and put IconMarkers which could respond to a 'tap' Feb 16 16:42:26 sugardave: shure... Feb 16 16:42:38 unfortunately you cannot do that easily & efficiently Feb 16 16:42:59 sugardave: http://paste.ubuntu.com/377715/ Feb 16 16:43:35 you can either embed a webview, and take the hit of re-downloading google maps js api every single time (there is a tutorial out there that explains how to do this) Feb 16 16:44:34 or you can hack together your own google map js library, which probably violates the terms of service, but which a couple other apps seem to do (goodfood is one) Feb 16 16:47:13 noaXess: here's mine from another app, has a few more things in it....I doubt it will fix you, but take a look...also, is yours a single- or multi-stage app? http://webos.pastebin.com/d58f8f357 Feb 16 16:47:24 what is the default encoding for webos ? Feb 16 16:47:38 i write some string in foo.js : "évaluations" Feb 16 16:47:53 and i can't have the é on the emulator Feb 16 16:47:56 en_us? Feb 16 16:48:46 sugardave: have an other app.. with no prob.. don't know why... Feb 16 16:49:15 could you upload and link the icon? Feb 16 16:49:20 weird...and you're sure that icon.png is valid? what dimension is it? Feb 16 16:51:15 it is possible in a webos application to retrieve information of the appinfo.json file ? Feb 16 16:51:30 like to display in an about view the app's version number ? Feb 16 16:51:35 l_a_m: most of it...what are you interested in Feb 16 16:51:38 yeah, you can do that Feb 16 16:51:50 ummm....let's see Feb 16 16:51:53 sugardave: do you have any example ? Feb 16 16:52:18 Mojo.Controller.appInfo.version Feb 16 16:52:24 yeah Feb 16 16:52:25 that Feb 16 16:52:28 ^ will give you the version Feb 16 16:52:33 oh :)) Feb 16 16:52:42 very simple ... thanks Feb 16 16:53:31 sugardave: have no tested in another app, changed there the icon just with copy and paste... and no problem.. just in this project.. strange Feb 16 16:54:10 noaXess: I wonder if the copy went bad? meaning, it's still the moon in icon.png? Feb 16 16:54:15 I don't know, it's weird Feb 16 16:54:18 :( Feb 16 16:54:53 noaXess: delete the app from the emulator/pre and reinstall Feb 16 16:54:55 see if it still does that? Feb 16 16:55:19 (I just jumped in to this so I don't know what you've tried) Feb 16 16:55:27 hehe, I think he's tried it Feb 16 16:56:18 okay, cause I know I've had issues where it wouldn't update my app package sometiems unless I deleted it or incremented the version number Feb 16 16:56:25 VincentLaw: just done that more then one time.. Feb 16 16:57:05 strange thing happened while i tried minutes ago .. the icon changed from squared to circled moon Feb 16 16:58:11 * sugardave checks the date. "Nope, not April Fools' Day yet." Feb 16 16:58:20 mine is also a circled moon.. Feb 16 16:58:39 morning all Feb 16 16:58:45 tried now, to put the icon.png to images dir and changed appinfo.json.. no change Feb 16 16:58:58 precentral should announce support for iPhone apps on WebOS for april fools Feb 16 16:59:34 haha Feb 16 16:59:59 also tried now the default pam icon.. the circled orange palm logo.. no change.. AAAAAA Feb 16 17:00:43 hmmm Feb 16 17:00:50 you might need to totally reset the emu Feb 16 17:01:03 like kill the disk and let it make you another one Feb 16 17:01:39 sugardave: so in vbox manager you mean.. no problem.. Feb 16 17:01:43 ok.. still do that now.. Feb 16 17:01:47 yeah, I think that will do it Feb 16 17:05:47 sugardave: oh... palm profile? need i that in the emaulator? i ru firxt use ap Feb 16 17:05:48 app Feb 16 17:06:02 sorry, for my wrong words: i run first use app.. Feb 16 17:06:04 noaXess: i killed my emulator the other day, just delete the "vmdk" and reinstall again Feb 16 17:06:18 LoneStar99: new emu is online.. Feb 16 17:06:53 noaXess: I don't think you need to do that Feb 16 17:07:15 sugardave: ok.. reboot it againg, cause the first use app can't be closed.. Feb 16 17:07:20 * sugardave doesn't remember doing it. Feb 16 17:09:33 tne 1.4? Feb 16 17:09:35 sugardave: VincentLaw, LoneStar99: works now.. icon is up.. Feb 16 17:09:37 the 1.4? Feb 16 17:09:55 none beta? Feb 16 17:10:48 noaXess: good...I've only had to do that once...not sure what happens to the emu Feb 16 17:21:35 finally Feb 16 17:35:25 anyone here messed with canvas on webos yet? Feb 16 17:35:32 yes Feb 16 17:36:57 codeslaw_: by default canvas diagonal lines in webos come out without any anit-aliasing right? Feb 16 17:37:07 yes Feb 16 17:38:05 can not seem to find how to make a diagonal line appear smoother Feb 16 17:39:25 rather than look like pixelated... Feb 16 17:40:29 that... i am unsure of. i don't do the drawing other than drawImage in my app Feb 16 17:43:23 also noticed, that drawing tiny of anything is not possible, is that right? Feb 16 17:44:01 maybe the restriction with the touch pad on the pre, pixi u think? Feb 16 17:51:19 found this for anyone needing to reference canvas: http://uoid.me/canvas1 (small PDF) Feb 16 18:04:36 LoneStar99: that is a handy cheat sheet thanks :) Feb 16 18:07:41 hi everyone Feb 16 18:07:50 * Mousey waves Feb 16 18:08:06 Is it possible to implement triggers in palm webos?? Feb 16 18:08:15 * Mousey shrugs Feb 16 18:09:38 codeslaw_: drawImage converts everything into vector image? Feb 16 18:09:56 no Feb 16 18:10:03 Actually i tried to implement the foreign key constraint and that was not working ,So i am afraid whether it'll work or not? Feb 16 18:10:12 it dumps pixel data directly to the canvas, i.e. bitmap data Feb 16 18:10:31 once the draw has completed, there is no way to manipulate it at all Feb 16 18:10:39 but you can transform the image however you like Feb 16 18:10:43 before the draw Feb 16 18:12:43 hi Feb 16 18:13:11 oh, i see so before the draw "a, b, c" can be manipulated, then after drawImage "a, b, c" becomes a static image Feb 16 18:15:35 hmmm .. i installed optware-bootstrap via preware ... openssh etc is installed Feb 16 18:15:57 does anyone know howto access my device via ssh? Feb 16 18:18:23 i know u can connect to emulator using ssh "localhost" port "5522" root and no password Feb 16 18:19:30 malarian, there's an ssh server for webos Feb 16 18:20:33 can some please tell me, what palm-package means with "palm-package: Expected a ',' or '}' at character 146"? Feb 16 18:20:59 i checked for syntax errors, but it doesn't even tell which file is meant Feb 16 18:21:44 Chais_z3r0: hard to say without seeing the source, what are you using as an editor? Feb 16 18:21:51 komodo Feb 16 18:22:09 and you have the plugin i assume Feb 16 18:22:12 right now there's only 6 files in the source dir Feb 16 18:22:17 yep Feb 16 18:22:42 but even starting palm-packe 'by hand' throws that error Feb 16 18:22:48 have you tried using the JSLint button, often finds little details about the syntax Feb 16 18:23:16 third button from the right on the plugin panel Feb 16 18:24:53 it says stage-assistant is missing a semicolon Feb 16 18:25:03 but i didn't even touch that file by now Feb 16 18:25:55 yeah alot of the errors it detects wont prevent packaging but i figure fixing them cant hurt and i have had some strange things result in strange errors from palm-package down the road so i always start with JSLint Feb 16 18:26:40 and inserting a semicolon after the } doesn't fix the problem Feb 16 18:26:46 kk Feb 16 18:26:53 root access is not allowed Feb 16 18:27:23 have you any idea what file could be meant? Feb 16 18:27:24 i could only find tutorials for the old manual installation Feb 16 18:28:42 since it is askign for a } or a , then the error is probably part of a JSON object, maybe a place you changed a setupWidget or a serviceRequest or a Event.listen Feb 16 18:29:27 right now i'm only scratching the surface Feb 16 18:29:52 by now i have only touched the index.html and the appinfo.json Feb 16 18:30:32 oh and i've set in a custom css Feb 16 18:31:08 maybe it is the appinfo file, it is just a json object Feb 16 18:31:26 and palm-package would probably choke if it was messed up a little Feb 16 18:31:34 heya Feb 16 18:32:01 Is it possible to implement triggers in palm webos?? Feb 16 18:32:27 there's a comma behind every line (every value) except the last one, which is finished by the } Feb 16 18:33:16 and all the keys and values are properly quoted when needed? Feb 16 18:34:26 file names and paths (effectively strings) are in quotes, boolean values are not Feb 16 18:34:37 kk Feb 16 18:35:12 hrm, that only leaves the css, that error could be related to a css file although i have a hard time imagining that palm-package would choke on a bad css file Feb 16 18:35:38 all of your style elements properly ,'ed and }'ed? Feb 16 18:35:39 problems? Feb 16 18:36:06 i would think so. i checked a few times Feb 16 18:36:23 palm-package chokes? Feb 16 18:36:27 aye Feb 16 18:36:36 appinfo.json is not to blame? Feb 16 18:36:54 i can't find any errors Feb 16 18:37:22 can you post it? pastie.org? Feb 16 18:37:29 mom Feb 16 18:38:03 http://pastie.org/827514 Feb 16 18:39:04 the only thing i see is: "removable": true, Feb 16 18:39:16 the extra white space Feb 16 18:39:54 as expected this didn't change anything Feb 16 18:40:18 hmm Feb 16 18:40:26 oh wait... Feb 16 18:40:43 komodo packed the src dir Feb 16 18:41:00 but the palm-package by command line didn't Feb 16 18:41:25 and tadaa, there it is on the emu... Feb 16 18:41:33 weird... thanks Feb 16 18:41:39 whew Feb 16 18:41:53 funny, it chokes on a space Feb 16 18:42:25 no other language i know does that Feb 16 18:43:02 js has some strange stuff :) Feb 16 18:43:12 geh Feb 16 18:43:14 aha Feb 16 18:43:44 never had to register w/ nickserv before, guess it keeps the twerps out Feb 16 18:44:03 anyhow had a Q re: scrolling shim/indicators and scroller widgets etc Feb 16 18:44:08 anyone handy? Feb 16 18:45:03 state your q, maybe we can help Feb 16 18:45:41 I have a scroller in my current app and I'm just wondering the simplest way of adding the indicators so a user can see there's more content above/below Feb 16 18:45:49 don't recall where I might find docs, etc Feb 16 18:45:53 have been looking a minute Feb 16 18:46:10 the small arrow on the bottom you mean? Feb 16 18:46:26 exactly, and I believe there's an alpha gradient as well Feb 16 18:46:35 yeah Feb 16 18:46:36 at least frequently Feb 16 18:47:02 seemed the kind of thing that might have a semiautomated way of implementing Feb 16 18:48:54 also would love to understand snapping better, but that's a separate topic Feb 16 18:50:27 thynctank: the arrows are very CSSy. i used examples in the app catalog app Feb 16 18:50:36 i saw a few and was like "meh, too much work" Feb 16 18:50:39 btw does one of you know when the costy app catalogue is going to come to europe? Feb 16 18:50:46 in march Feb 16 18:51:00 according to the pdn blog Feb 16 18:51:02 though if you plan on using command buttons it automatically adds a nice gradient to the bottom of the list Feb 16 18:51:33 maik: not sure I know what you mean examples in app cat app? Feb 16 18:51:39 that's what i found Feb 16 18:51:40 http://pastie.org/827532 Feb 16 18:51:57 I am very proficient w/ all the frontend stuff so it's no big deal if all I need to do is apply some styling Feb 16 18:52:12 thanks both swisstomcat and maik btw Feb 16 18:52:24 ok, let me see if i can find what i was looking at again Feb 16 18:53:26 awesome Feb 16 19:02:35 thynctank: maik lost connection but he asked me to tell you that the stylematters sample has the code samples you need under "Scroll Fades: Feb 16 19:02:40 http://developer.palm.com/blog Feb 16 19:02:44 mistell Feb 16 19:02:46 right on Feb 16 19:02:47 thanks Feb 16 19:03:01 you know where style matters is right? Feb 16 19:06:50 in samples you mean under PalmSDK? Feb 16 19:08:17 yeah it is already downloaded with the sdk, in the samples folder, just palm-package it and palm-install it to your emulator or phone, has a lot of exmples of style stuff and then you can refer to the code if need be to get more deails Feb 16 19:18:47 sure, will have a looksee Feb 16 19:18:48 thanks Feb 16 19:28:31 anyone played card ace poker? Feb 16 19:30:53 rolsworth: i made it. what's up? Feb 16 19:32:01 is it 100% free? i am not understanding Feb 16 19:34:55 ok when chips run out you buy them Feb 16 19:36:53 yep. 1000 free chips per day, and if you want more (or you just want to support us :) ) you can buy them in the app. Feb 16 19:39:33 i'm trying to update a div in a dialog but it's not updating Feb 16 19:39:44 this.sceneAssistant.controller.get("message").innerHTML = msg; Feb 16 19:39:48 doesnt seem to work Feb 16 19:40:10 to update this div Feb 16 19:40:11
Message
Feb 16 19:40:35 this.controller.get doesnt do the trick either Feb 16 19:41:29 rehi Feb 16 19:45:20 bmyers, how are you instantiating your dialog Feb 16 19:46:44 this.controller.showDialog({ Feb 16 19:46:44 template: 'test/punchindialog/punchin-dialog', Feb 16 19:46:44 assistant: new punchInAssistant (this) Feb 16 19:46:44 }); Feb 16 19:46:50 like that Feb 16 19:46:59 hmm Feb 16 19:47:12 ad what does your initialize() look like Feb 16 19:47:39 that looks about right Feb 16 19:48:27 function punchInAssistant(sceneAssistant) { Feb 16 19:48:27 this.sceneAssistant = sceneAssistant; Feb 16 19:48:27 } Feb 16 19:48:36 incidentist: hey, got a minute for a pm? Feb 16 19:49:07 sugardave: sure do Feb 16 19:49:14 hi sugardave: Feb 16 19:49:32 hmm, this.sceneAssistant.controller.get looks like it should work fine then Feb 16 19:49:41 Bmyers: heya Feb 16 19:49:49 are you sure you have an id named message in your dialog template? Feb 16 19:49:51 the msg looks ok in the logs Feb 16 19:50:02 yeah i pasted it above Feb 16 19:50:43 where are you doing the update? Feb 16 19:51:37 in punchInAssistant's setup? Feb 16 19:51:55 .update you mean? Feb 16 19:52:02 yeah Feb 16 19:52:11 i didnt think i had to do that if you're setting innerhtml Feb 16 19:52:25 sorry, innerhtml, update, same effect Feb 16 19:52:35 forgot that you were doing innerhtml Feb 16 19:52:43 i was trying update but that didnt work either Feb 16 19:52:55 are you doing it in setup() though Feb 16 19:53:09 no, in activate Feb 16 19:53:09 or elsewhere Feb 16 19:53:34 Is it possible to implement triggers in palm webos?? Feb 16 19:53:40 try number 7 accessing the pre via ssh ... failure Feb 16 19:53:55 cant call it in setup cause id message doesnt exist yet Feb 16 19:53:58 Yatharth: I don't think so...you mean sql triggers? Feb 16 19:54:04 yes Feb 16 19:54:44 actually even foreign key constraint din't work Feb 16 19:54:56 though it was not showing any error Feb 16 19:55:29 sugardave:If triggers dont work then ,is there any alternative to do so Feb 16 19:55:52 Bmyers: have you tried using the debugger to see teh value of $("message") at that point? Feb 16 19:56:16 doing it the old fasion way in komodo edit, not ares Feb 16 19:56:18 Yatharth: well, not knowing exactly what they're for...not sure...you will have to write functions to do the updates manually when your 'trigger condition' is met....it sounds painful Feb 16 19:56:38 you can use the debugger anyways, ssh into the emulator Feb 16 19:56:41 then type debug Feb 16 19:56:48 Bmyers: id message should exist by the time you are in setup() assuming it was just in the template Feb 16 19:56:57 then add a breakpoint by doing Feb 16 19:56:58 b pathtothesrcfile:linenumber Feb 16 19:57:04 then run the program Feb 16 19:57:52 sugardave:Really painful:'(.......Specially if my application has a large number of tables in the database. Feb 16 19:58:02 just saw the log. error: Cannot call method 'get' of undefined Feb 16 19:58:19 the path to the source file will be something like "/media/cryptofs/apps/usr/palm/applications/com.yourdomain.yourapp/app/assistants/main-assistant.js:190" Feb 16 19:58:51 Yatharth: in my helper objects, I have the beginnings of what might be able to be extended into a kind of foreign key constraining system...but it is far beyond my knowledge/ability at this point Feb 16 19:59:03 ahh, so it is saying that your scene assistant isnt being saved when you initialize the dialog Feb 16 19:59:19 what does the "new" function of your dialog assistant look like? Feb 16 20:00:44 sugardave:can you send me the link??If its not a probelm for you. Feb 16 20:01:12 assistant: new punchInAssistant (this) Feb 16 20:01:33 Yatharth: http://webos101.com/Mojo_Database_Helper_Objects Feb 16 20:02:04 i am using this elewhere and it works: this.sceneAssistant.controller.modelChanged(this.taskModel, this); Feb 16 20:02:08 this is very basic, but the dbInstance object maintains a 'schema' property....and in that schema should be the details of the dbTable objects that make up the db Feb 16 20:02:26 it needs some more methods/properties to implement foreign keys and cascading updates, etc. Feb 16 20:02:31 just not sure how to write them in Feb 16 20:03:02 Bmyers: this.sceneAssistant.controller.modelChanged works in the dialog? Feb 16 20:03:16 yup Feb 16 20:03:34 the function you are calling, is it an event or being called from elsewhere? Feb 16 20:03:43 that is trying to .get Feb 16 20:04:18 in the dialog assistant activate method you mean? Feb 16 20:04:37 sugardave:thanx....I'll try them myself ....If i'll get to know something i'll let you know.... Feb 16 20:04:55 well where is the code that is trying to .get the "message" div, is it in a function that is called via event? Feb 16 20:05:36 Yatharth: yes, please feel free to extend that and put new stuff in that wiki Feb 16 20:05:55 mind just pastebining? i have a hard time describing what i want to say, still not so up on the webos lingo Feb 16 20:06:01 or javascript lingo for that matter Feb 16 20:06:15 I have an 'add_table2' method I'm playing around with...it MIGHT even work with Mojo.Function.Synchronize Feb 16 20:06:19 wouldn't that be something? :D Feb 16 20:07:07 sugardave:Sure.....didu get to know how can we use like operator....I am stil struggling with it.. Feb 16 20:08:06 yeah give me a minute here.. Feb 16 20:08:30 Yatharth: still haven't tried it...but look at the wiki page where shows the 'get records' example...shows how to use the 'limiters' piece of the get_selectSql method. If you can get these objects working, you can try to change the operand to LIKE and the value to %whatever and see if it works Feb 16 20:11:37 sugardave:Ok.....It seems to be a tough job....Thanx....i'll try and if i get to know something i'll let you know.. Feb 16 20:12:11 Yatharth: np, if you need more help getting the objects working (it's slightly different than what you're used to with Mojo) let me know Feb 16 20:12:12 http://webos.pastebin.com/d5f76c253 Feb 16 20:12:30 i changed it around a little. not getting the error but not updating either Feb 16 20:12:57 sugardave:Sure. Feb 16 20:14:26 Bmyers: does your punchInAssistant.js file have a function like Feb 16 20:14:27 function punchInAssistant(sceneAssistant) { Feb 16 20:14:27 this.sceneAssistant = sceneAssistant; Feb 16 20:14:27 } Feb 16 20:14:28 ? Feb 16 20:14:41 sugardave: you ever .update a div in a custom dialog? Feb 16 20:15:26 diagitalpowers: yeah thats it. its not in the pastebin Feb 16 20:16:51 try sicking a Feb 16 20:16:51 Mojo.Log.error(Object.toJSON(msgElement)) after you instanciate it, make sure it isnt undefined or anything Feb 16 20:17:02 ok Feb 16 20:17:36 hello everyone Feb 16 20:17:51 submitting my first app today =) Feb 16 20:18:32 awesome pacemkr! Feb 16 20:18:42 yp =) Feb 16 20:18:55 how long is the review process nowadays? Feb 16 20:19:17 wohoo Feb 16 20:19:20 about a week or less Feb 16 20:19:28 i think... Feb 16 20:19:47 gratz pacemkr Feb 16 20:19:54 thank you Feb 16 20:20:18 gotta take some screenshots, but i only have a pixi plus =P, any way to do it in the emulator? Feb 16 20:21:02 pacemkr: the emulator doesnt impliment the sym key so it doesnt take screenshots, but you can take a regular windows screenshot with printscreen and then just crop the image out of the emulator Feb 16 20:21:11 duh! Feb 16 20:21:23 thanks =) Feb 16 20:21:26 np Feb 16 20:21:45 digitalpowers: there is nothing in there.. it's empty Feb 16 20:22:10 i had to add text Feb 16 20:22:12 Mojo.Log.info(" msgElement Dump " , Object.toJSON(msgElement)); Feb 16 20:22:23 Info: msgElement Dump , file:///media/cryp Feb 16 20:23:22 i guess try doing it to this.sceneAssistant.controller and if that fails then try this.sceneAssistant, in all honisty it seems like this. is not available, which in a normal event i would assume means you didnt .bind(this) but i dont know how to do that in one of the prebuilt in functions like .activate Feb 16 20:23:23 Bmyers: fyi, you can also do Mojo.Log.info("msgElement dump: %j", msgElement); Feb 16 20:23:43 this will not have a performance hit in production build Feb 16 20:23:59 while Object.toJSON will run always regardless of your log setting Feb 16 20:24:05 thanks.. Feb 16 20:24:10 hrm, good to know Feb 16 20:25:14 msgElement dump: undefined, Feb 16 20:25:36 Bmyers: no, I haven't....all I know is that I'm supposed to pass a referenced scene assistant to the dialog Feb 16 20:25:39 using %j? Feb 16 20:25:39 whatever that means :D Feb 16 20:26:01 yes Feb 16 20:26:29 odd, i use it all the time... Feb 16 20:26:30 means it dont work sugardave: Feb 16 20:26:41 so try Mojo.Log.info("msgElement dump: %j", this.sceneAssistant); Feb 16 20:26:42 for a custom dialog box? Feb 16 20:28:34 Activate called on the dialog controller failed. Continuing other setup. RangeError: Maximum call stack size exceeded , file Feb 16 20:28:44 must be something in there Feb 16 20:28:47 that sounds bad Feb 16 20:29:13 trying to dump the entire this of my app Feb 16 20:29:23 hehe Feb 16 20:29:24 doesnt fit in the log file entry Feb 16 20:29:31 wonder why? Feb 16 20:29:56 yeah but at least you know that sceneAssistant exists there Feb 16 20:29:56 http://webos.pastebin.com/d5f76c253 Feb 16 20:30:02 it must.. Feb 16 20:30:19 does .controller? Feb 16 20:30:29 i just dont see why the get isnt working Feb 16 20:30:58 sugardave: will release my first app, that is not really search based this weekend Feb 16 20:31:09 still too big Feb 16 20:31:27 also have you tried jsut doing $("message") instead, using .get, i think in principal it is the saem thing but the macro might be clever and know where to grab it Feb 16 20:31:46 i have to run for a few, bbiab, best of luck Feb 16 20:31:52 it's a multistage app so I've gotten out of the habit of using $() Feb 16 20:32:16 digitalpowers: thanks Feb 16 20:32:37 sugardave: shame on you for not already writing a tutorial about how to do this.. Feb 16 20:32:49 now i have to figure it out for myself.. Feb 16 20:34:42 I wonder if you can do some kind of weird "reverse" get by trying to get at the caller of the function that displays the dialog? Feb 16 20:35:44 gonna try $() just for shits and giggles Feb 16 20:36:18 nope, null Feb 16 20:36:25 Greetings Feb 16 20:36:50 where would that live sugardave? Feb 16 20:37:21 Anyone know anything about the System Services API ... specifically getPreferences and setPreferences? Feb 16 20:38:06 Palm's documentation mentions passing key value pairs ... But I can't find a list of valid keys anywhere Feb 16 20:47:23 Bmyers: not sure...does anyone know/know how to find out what the ecmascript version in webos is? Feb 16 20:49:14 thats crazy talk sugardave: Feb 16 20:49:38 probably depending on the webkit version Feb 16 20:50:41 no one has ever accused me of being completely sane Feb 16 20:51:59 hey, does anyone know if webos/webkit supports PUT requests? Feb 16 20:52:09 using prototype's Ajax.request() Feb 16 20:54:13 im thinking it doesn't :( Feb 16 20:54:22 but i'm -praying- im doing it wrong Feb 16 21:07:58 figured it out Feb 16 21:13:58 freenode is driving me nuts :| Feb 16 21:14:52 tom_m: I think there has been discussion on the forum that put doesn't work Feb 16 21:15:05 what are you trying to do, tom_m? Feb 16 21:15:08 oh boo Feb 16 21:15:11 Bmyers: good, now you can put it on the wiki :D Feb 16 21:15:12 make a call to a rest service Feb 16 21:15:29 for my app im working with a web service that looks for PUT/DELETE requests Feb 16 21:15:37 Bmyers: did you end up figuring out the problem? Feb 16 21:15:55 many are get/post and ive been building it for a while using that but today i just got to a part where i needed put/delete Feb 16 21:16:12 and after all this nice work i ran 100mph into a brick wall. it hurts :) Feb 16 21:16:15 tom_m: bummer :( Feb 16 21:16:15 hoping there's a solution Feb 16 21:16:25 not from ajax, nope. :/ Feb 16 21:16:39 any other programs on the phone that can amke the request? Feb 16 21:16:42 even if undocumented Feb 16 21:16:42 my main job had an issue with wanting to use REST and it not being supported. Feb 16 21:16:49 we use an _method variable Feb 16 21:16:58 i mean its retarded for such a web centric os :) Feb 16 21:17:10 meh. Feb 16 21:17:24 * Kuraiou is not the biggest fan of REST, doesn't really see the point. Feb 16 21:18:33 me either really but it is convenient Feb 16 21:19:13 i honestly dont really run into post/delete often and dont see the point either but this silly service uses them Feb 16 21:20:55 crap :( Feb 16 21:21:37 I suppose it's bad security to try and route the put from somewhere else? Feb 16 21:22:27 digitalpowers: yes i did Feb 16 21:22:33 what was it? Feb 16 21:22:40 it was wrong.. Feb 16 21:22:42 :) Feb 16 21:22:47 haha fair enough Feb 16 21:22:55 i had another "message" div in the main scene Feb 16 21:23:01 ouch Feb 16 21:23:02 changed the name of the div Feb 16 21:23:05 oh dang Feb 16 21:23:07 oh noes Feb 16 21:23:22 not had a problem b4 Feb 16 21:23:24 oh well Feb 16 21:23:32 that happened to me when I was trying to do dynamic lists with dynamic lists Feb 16 21:23:32 now i cant close this stupid dialog Feb 16 21:23:43 took me forever to figure out Feb 16 21:24:07 this.widget.mojo.close(); not working? Feb 16 21:24:22 it didnt take me too long. it's like right out of the book.. Feb 16 21:24:44 thanks for having a look at it digitalpowers: Feb 16 21:25:01 oops. forgot the parens... Feb 16 21:25:04 works now.. Feb 16 21:25:14 np, wish i had seen the double id, i will have to keep it in mind for later Feb 16 21:25:30 does a custom dialog like that return a value like an alert dialog? Feb 16 21:26:09 i guess pass one in and change it huh? Feb 16 21:26:17 that would probably work Feb 16 21:26:47 hope so... gonna go find out Feb 16 21:37:56 Howdy! Feb 16 21:38:05 good night guys. i'll be back Feb 16 21:38:15 Been a while Feb 16 21:38:29 cu Feb 16 21:38:30 hi Feb 16 21:38:59 cu Feb 16 21:39:55 swisstomcat: I remember talking to you a while back Feb 16 21:40:07 what did we talk about? Feb 16 21:40:17 No idea Feb 16 21:40:29 After my Meth rehab, I forgot most of my past life Feb 16 21:40:31 heheh Feb 16 21:40:34 hehe Feb 16 21:40:40 what are you up to? Feb 16 21:40:51 Waving my ban stick Feb 16 21:40:54 You? Feb 16 21:41:53 Anyone got any ideas on setPreferences() in the System Services API? Mainly, what keys are available? Feb 16 21:42:16 working on my apps .. one is over 12k downloads Feb 16 21:43:01 which one? Feb 16 21:43:12 hehe Feb 16 21:43:18 Checkers has over 200k :P Feb 16 21:43:36 over 200k what? Feb 16 21:43:39 Tibfib: where did you get that "Get if from the WebOS Catalog" grapcis Feb 16 21:43:44 200k unique installs Feb 16 21:43:56 someone made them in the forums Feb 16 21:44:03 Oh alright Feb 16 21:44:03 hopefully they will become official soon Feb 16 21:44:07 because I'm using them Feb 16 21:44:08 lemme pull up the link Feb 16 21:44:12 tibfib: moo Feb 16 21:44:12 http://keen-studios.net Feb 16 21:44:19 the developer.palm.com forums Feb 16 21:44:26 200k is pretty crazy Feb 16 21:44:38 going for the big prize? Feb 16 21:44:39 https://developer.palm.com/distribution/viewtopic.php?f=21&t=4041&start=20 Feb 16 21:44:43 swisstomcat: it's a free app ;) Feb 16 21:44:57 mine too Feb 16 21:45:05 https://developer.palm.com/distribution/viewtopic.php?f=21&t=4041&start=10 Feb 16 21:45:10 that will take you right to the images Feb 16 21:46:23 swisstomcat: Oh, then OWNED Feb 16 21:46:29 Well, Checkers was one of the first Feb 16 21:46:31 oh well Feb 16 21:46:38 when did you release it? Feb 16 21:46:45 Our online system got 1000 new users in less than 24 hours! :D Feb 16 21:46:48 October Feb 16 21:46:53 WAYYY ago Feb 16 21:47:01 yeah Feb 16 21:47:05 feb. 28th here Feb 16 21:47:07 how many dls since feb 1st? Feb 16 21:47:13 No idea Feb 16 21:47:14 you mean jan? Feb 16 21:47:19 jan, sorry Feb 16 21:47:20 :) Feb 16 21:47:46 Checkers Beta is doing well Feb 16 21:49:33 500 dl's Feb 16 21:49:38 1000 new accounts Feb 16 21:49:50 that doesn't add up...>.< Feb 16 21:50:11 I know Feb 16 21:50:11 hehe Feb 16 21:50:15 Oh wait Feb 16 21:50:20 700 new accounts Feb 16 21:50:24 I was counting the old ones Feb 16 21:50:39 Still doesnt add up, but people are bound to create multiples Feb 16 21:51:18 I guess Feb 16 21:52:17 is anyone doing app metrics? e.g who is turning on/off wich features in the preferences? Feb 16 21:53:09 no but that is a good idea, especially for beta Feb 16 21:53:29 yeah, i'm implemeting it in my app Feb 16 21:53:38 that's not a bad idea Feb 16 21:53:53 I've found most people never click the app menus Feb 16 21:54:17 Tibfib: true Feb 16 21:54:25 that's what i want to find out Feb 16 21:55:49 The most popular part of Checkers online is the chat Feb 16 21:55:50 heh Feb 16 21:55:56 People have said that I should release a chat app Feb 16 21:56:26 Heh Feb 16 21:56:32 It's got PM's and shoutout Feb 16 21:56:35 Good stuff Feb 16 21:57:30 kesne: nice I didn't know it had that Feb 16 21:57:53 The beta does Feb 16 21:58:08 i want a darn msn chat app, i loves my msn Feb 16 21:58:08 is it in the beta feed? Feb 16 21:58:12 Download it from PreCentral, the one in the beta feed is pretty broken Feb 16 21:58:21 alright Feb 16 21:58:22 doing so now Feb 16 21:58:25 digitalpowers: meebo.com is your friend Feb 16 21:58:49 i will check it out Feb 16 22:05:58 how do you do the chat? Feb 16 22:06:15 tap chat at the bottomm Feb 16 22:06:19 And type! Feb 16 22:06:20 I meant code wise Feb 16 22:06:33 Uhm Feb 16 22:06:35 Top secret? Feb 16 22:06:52 .... like what language? Feb 16 22:06:56 php? Feb 16 22:06:56 Javascript! Feb 16 22:07:01 Php on the server Feb 16 22:07:04 Nice, with a server backend? Feb 16 22:07:09 cool cool Feb 16 22:07:16 Took forevers to finish Feb 16 22:07:18 How do you handle the "Push" from server? Feb 16 22:07:24 do you refresh the pre? Feb 16 22:07:25 It's pull Feb 16 22:07:27 not push Feb 16 22:07:33 ah. Gotcha. Feb 16 22:07:50 So does the pre pull it every few mins or what? Feb 16 22:08:05 Nope Feb 16 22:08:12 I can't say too much Feb 16 22:08:22 Otherwise you'd get mad Feb 16 22:08:24 hehe Feb 16 22:08:31 Let's just say it's "almost live" Feb 16 22:08:35 hahaha Feb 16 22:08:36 Go ahead, chat with me on there! Feb 16 22:08:39 haha Feb 16 22:08:51 what does it do to the battery life? Feb 16 22:08:58 I might opensource it Feb 16 22:09:01 just for the hell of it Feb 16 22:09:21 Tibfib: I'll tell you on the checkers chat :P Feb 16 22:09:36 I'm there :P Feb 16 22:10:03 in the end the source of webos apps is only just a hop skip and a jump anyways, i am actually running into a problem with that, i want to secure communication with my server some but i dont know how to stop the user from just opening the source and looking at its innerds to get the key ect Feb 16 22:10:30 Yeah yeah Feb 16 22:10:41 Tibfib: It kills battery life Feb 16 22:10:53 haha Feb 16 22:10:56 thought sooo Feb 16 22:11:01 that's the problem. Feb 16 22:11:08 I wanted to make a chat app Feb 16 22:11:12 The beta that I'm using (1.2.2 b4) it's battery kill outweighs the charging speed Feb 16 22:11:21 but it couldn't run in the background... :( Feb 16 22:11:28 holy bucket! that is hardcore battery drain Feb 16 22:11:28 But, it's current pull works pretty good Feb 16 22:11:46 It ends up being about once every two seconds Feb 16 22:12:05 digitalpowers: In 1.2.2 b4 it's two pulls every one second, hehe Feb 16 22:12:15 I hope it cleans up well Feb 16 22:12:24 that is a lot, but i am sure you can find a good balance Feb 16 22:12:41 every second or maybe even two seconds would be doable Feb 16 22:12:53 Every two is what i'm sticking with Feb 16 22:13:01 yeah that sounds good Feb 16 22:13:02 i have a bit of a polling issue with my app too, i think i am going to provide a slider that lets them pick how often to poll Feb 16 22:13:26 The beta that I have also adds really nice PM's and shoutouts Feb 16 22:13:41 Nice Feb 16 22:14:24 I was going to do my chat app via SQL :O Feb 16 22:14:29 sql? psh Feb 16 22:14:33 This uses mysql Feb 16 22:14:42 well mysql.... Feb 16 22:14:46 ;) Feb 16 22:14:52 mysql isnt THAT fast Feb 16 22:14:57 use mongodb Feb 16 22:15:00 And it'll put heavy load on the server Feb 16 22:15:05 that thing is almost as fast as memcached Feb 16 22:15:08 I almost crashed the KS server yesterday Feb 16 22:15:11 Caused MEGA lag Feb 16 22:15:13 mmm mysql bless you for your freeness and moderate awsomeness Feb 16 22:15:30 digitalpowers: agree Feb 16 22:16:40 gkatsev: interesting Feb 16 22:16:51 hi all! Feb 16 22:16:58 Hey JenP! Feb 16 22:16:59 hello Feb 16 22:17:04 I'm back from rehab! Feb 16 22:17:16 hey kesne long time no see! Feb 16 22:17:19 how are you doing? Feb 16 22:17:28 Tibfib: http://www.idiotsabound.com/did-i-mention-mongodb-is-fast-way-to-go-mongo Feb 16 22:17:36 I'm doing great! Feb 16 22:17:37 hey jen Feb 16 22:17:41 hi sqyarc Feb 16 22:17:42 Finally got off of Meth Feb 16 22:17:43 hehehe Feb 16 22:17:45 hey swisstomcat Feb 16 22:17:45 couchdb seems fairly slow but the fact that is uses json is win. Feb 16 22:17:47 What about you? Feb 16 22:17:54 kesne that's great! congratulations! Feb 16 22:18:05 i'm doing wonderful. Feb 16 22:18:12 JenP: hehe, where is CTLAdvance when you need him Feb 16 22:18:13 gkatsev: whoa that's impressive Feb 16 22:18:15 off the meth too :) Feb 16 22:18:26 Meth is the devil Feb 16 22:18:29 Speed is much better Feb 16 22:18:41 i've never tried it, but I hear it is awful Feb 16 22:18:46 Meth is Feb 16 22:18:50 cocaine and jack daniels is the best Feb 16 22:18:50 Not that I've tried it Feb 16 22:18:59 lonestar: strange combination Feb 16 22:18:59 so what's everyone working on? Feb 16 22:19:07 Tibfib: yeah, apparently mongodb was started as a company working an a google appengine like product but then google appengine came out so they scrapped everything but the coolest thing they were working on which was mongoDB Feb 16 22:19:08 JenP: CHECKERS! :D Feb 16 22:19:11 an update to moo Feb 16 22:19:15 JenP: nothing.... :O Feb 16 22:19:17 awesome! Feb 16 22:19:18 lol Feb 16 22:19:22 swisstomcat: goldslager! Feb 16 22:19:24 mongodb is not a good name Feb 16 22:19:25 JenP: did you see the beta? Feb 16 22:19:34 nothing webos atm...working on cloud stuff Feb 16 22:19:37 bmyers helped me fix my bug last night...so i'm just cleaning it up Feb 16 22:19:45 kesne no i didn't see it Feb 16 22:19:48 because mongo in german is a bad word Feb 16 22:19:53 swisstomcat: hah. agreed. But dang, if you can be that fast, you can be called whatever you want Feb 16 22:19:57 JenP: http://keen-studios.net and click the big image Feb 16 22:20:04 kk Feb 16 22:21:11 mongodb uses json? Feb 16 22:21:14 gkatsev: I might have to look into that in detail... If I run out of within-reach app ideas, I'll mess with that Feb 16 22:22:19 ok got to go, get some jack and coke, chat later! Feb 16 22:22:27 cu Feb 16 22:22:35 not funny LoneStar99...ttyl Feb 16 22:22:40 legal coke! Feb 16 22:22:40 gotta run too .. off to bed Feb 16 22:22:50 Me too... Feb 16 22:22:54 Well not really Feb 16 22:22:56 bye all Feb 16 22:22:58 but I AM at school Feb 16 22:23:02 su later swisstomcat Feb 16 22:23:06 ciao Feb 16 22:23:34 ah, swiss left. Feb 16 22:23:54 Did you all hear about my birthday? Feb 16 22:24:13 kesne: that is a sharp looking site btw Feb 16 22:24:24 digitalpowers: The Keen Studios one? Feb 16 22:24:28 yarp Feb 16 22:24:40 Yeah Feb 16 22:24:44 That's the new one Feb 16 22:24:51 very nice Feb 16 22:24:55 Spend forever redesigning it Feb 16 22:24:56 *spent Feb 16 22:25:00 And it still isnt done Feb 16 22:25:04 kesne: your site loks great Feb 16 22:25:16 yeah making things look good is 10bagilion times harder than making them work Feb 16 22:25:16 LoneStar99: Well thankee! Feb 16 22:25:34 digitalpowers totally agree Feb 16 22:25:38 digitalpowers: agreed Feb 16 22:25:42 kesne it does look wonderful Feb 16 22:25:44 +1 Feb 16 22:25:51 Awe shucks, I'm blushing Feb 16 22:26:14 I need a new facebook picture :/ Feb 16 22:26:33 and maybe some ADD meds :D Feb 16 22:27:16 Hehe Feb 16 22:27:24 It's currently an HD picture of my eye Feb 16 22:27:40 Or rather, my eye including the area surrounding Feb 16 22:27:51 facebook is such a time sink, i avoid it like it were one of dem der online video games Feb 16 22:27:51 And a colorsplash on my blue eyes Feb 16 22:27:58 Same as my twitter Feb 16 22:28:00 twitter.com/kesne Feb 16 22:28:14 good way for nerd to loose a few years of their life on accedent Feb 16 22:29:17 digitalpowers: dem der? Feb 16 22:29:21 Working in some german there? Feb 16 22:29:39 nope just poorly phenecized engrish Feb 16 22:29:47 Aye Feb 16 22:29:54 Was hoping it was german Feb 16 22:30:08 I muss du sagen Feb 16 22:30:14 er, ich Feb 16 22:30:18 ich liebe dich Feb 16 22:30:21 hehe Feb 16 22:30:27 i know a little spanish from high school a little more than a decade ago and a little russian from boredem last year Feb 16 22:30:38 I know some Na'Vi Feb 16 22:30:39 other than that, only english, american variatiy Feb 16 22:31:15 Na'vi is where it's at Feb 16 22:31:25 please hold googling Feb 16 22:31:39 *points to Avatar* Feb 16 22:31:39 ahh, dork Feb 16 22:31:50 A dork is a whale penis Feb 16 22:31:57 your point? Feb 16 22:32:01 :P Feb 16 22:32:05 :D Feb 16 22:32:09 Jerk Feb 16 22:32:13 :D Feb 16 22:32:19 I haven't even seeeen avatar Feb 16 22:32:24 WHA!? Feb 16 22:32:31 not worth the money Feb 16 22:32:32 And you're 15? really? Feb 16 22:32:32 or time Feb 16 22:32:37 it is a good flick, well done overall and very nice use of the 3d features Feb 16 22:32:41 I saw it with ma girl, was very great. Feb 16 22:32:53 *highfives digitalpowers* Feb 16 22:33:06 *highfive* Feb 16 22:33:25 Tibfib: stop being a geek, and leave your cave ;) Feb 16 22:33:29 I did Feb 16 22:33:29 man i wish i wasnt at work, i wuold rather be working Feb 16 22:33:34 For two months ;) Feb 16 22:33:50 digitalpowers: hehe, I wish I wasnt at school Feb 16 22:34:05 school is for the loose, i spent way to much of my life there Feb 16 22:34:06 Lol, that's definitely not it Feb 16 22:34:15 I think seeing avatar is more geeky Feb 16 22:34:34 Tibfib: Not if you see it with a significant other Feb 16 22:34:37 naw its totaly mainstream Feb 16 22:34:47 It you see it alone, then maybe Feb 16 22:35:12 hah Feb 16 22:35:22 But me? I saw it with Ally, so it looked fine Feb 16 22:35:29 ;) Feb 16 22:35:35 Bmyers ping Feb 16 22:35:43 Hey, no pinging in here Feb 16 22:35:49 Bmyers pong Feb 16 22:35:58 ~lart Bmyers Feb 16 22:36:08 No infobot? shame Feb 16 22:36:23 hey haeffb_asleep Feb 16 22:36:35 hi JenP Feb 16 22:36:39 I have to leave soon Feb 16 22:36:41 so speaking of being nerdy, i installed updates on tuesday to windows (patch tuesday) but i am trying to see how many days i can make it before i am forced to reboot by the constant nagging Feb 16 22:36:44 I saw you got your problem solved. Feb 16 22:36:46 Farewell fellow friends Feb 16 22:36:48 (last tuesday) Feb 16 22:36:52 yes very happy... Feb 16 22:37:00 i was calling the method instead of the model Feb 16 22:37:06 * kesne starts walking out the door Feb 16 22:37:12 * kesne looks to see if anyone cares Feb 16 22:37:13 adios kesne Feb 16 22:37:17 yay! Feb 16 22:37:19 digitalpowers: me too Feb 16 22:37:24 bye kesne Feb 16 22:37:27 cya Feb 16 22:38:07 digitalpowers: wait just kidding. I was referring to the windows7 rc expiring... Feb 16 22:38:28 haha Feb 16 22:38:39 i managed to get a full copy of win7, man that is a good os Feb 16 22:38:48 I have a real copy of w7.... just havent installed it yet Feb 16 22:38:48 gotta take this laptop on the road. bbl. Feb 16 22:39:14 From what microsoft tells me, I'll have to do a clean install. Not sure if that's accurate though Feb 16 22:39:20 i did Feb 16 22:39:28 :/ Feb 16 22:39:36 That's why I havent upgraded >.< Feb 16 22:40:22 yeah i got my copy pritty early on in the process and grabbed a second hardrive to install on, so i could copy the other stuff over at leasure Feb 16 22:40:36 no such luck here Feb 16 22:41:19 win7 is the fastest windows i've installed besides win3.11 Feb 16 22:41:30 dawm: agreed Feb 16 22:41:49 i just installed it on a buddies laptop, started it about 15mins ago, its all ready to go and updated, didnt even need to fetch any drivers Feb 16 22:42:44 hey haeffb_pre: Feb 16 22:42:48 u on the road? Feb 16 22:43:21 yep Feb 16 22:44:07 whats going on? Feb 16 22:44:19 hi Bmyers Feb 16 22:44:22 did you figure how pass value to / from dialog? Feb 16 22:44:23 hi Jenp Feb 16 22:44:30 no Feb 16 22:44:32 did you? Feb 16 22:44:51 u do that in myles right? Feb 16 22:44:55 many ways Feb 16 22:45:18 yes Feb 16 22:45:24 i'm trying to just pass in a bool and set it in the dialog and Feb 16 22:45:30 callback func Feb 16 22:45:30 it doesnt come out the other end Feb 16 22:45:54 or this.sceneAssist.myVar Feb 16 22:46:58 and in there is myVar just myVar or is it var myVar or var this.myVar ? Feb 16 22:47:40 i got the whole 'this' in the dialog tho. seems like it would do the trick Feb 16 22:48:19 "this" is the object with the current scope. be careful with "this". Feb 16 22:49:05 this.myVar in your sceneAssistan = this.sceneAssistant in the dialog Feb 16 22:49:31 this.sceneAssistant.myVar Feb 16 22:50:11 when you pass this to the dialog & save it as this.sceneAssistant... Feb 16 22:50:38 that what i thought i had now. lemme go check that Feb 16 22:50:43 probably better to use a callback function, though. Feb 16 22:51:04 look at the example on webOS101 ? Feb 16 22:51:07 a func in the dialog-assistant that call a func in the scene-assistant? Feb 16 22:51:19 no, i didnt Feb 16 22:51:41 oh. all the answers are there... Feb 16 22:52:15 checking it now Feb 16 22:52:58 pass a function to the dialog that you can call from the dialog... Feb 16 22:55:05 good night Feb 16 22:57:10 it says that the params are passed to the setup method.. Feb 16 22:57:21 of the dialog. Feb 16 22:58:06 not really.. ok, i'll go cookup a callback func Feb 16 22:59:18 not to setup. to constructor. Feb 16 23:05:06 did u write that tutorial haeffb or what that sugardave? Feb 16 23:05:48 twas I Feb 16 23:06:27 it looks nice. i'll idiot proof it for you.. Feb 16 23:06:45 Bmyers i already did....it works well Feb 16 23:07:05 we already had a volenteer.. ok then.. Feb 16 23:29:03 OMG Magnum Feb 16 23:29:06 it works Feb 16 23:29:35 you're one fart mother smucker haeffb_pre: Feb 16 23:30:47 what about my global name space? do i have access to that in my dialog assistant? Feb 16 23:31:16 this.sceneAssistant.MyGlobals.thisThing ? Feb 16 23:31:36 i must.. Feb 16 23:31:49 i do.. Feb 16 23:31:52 oh oh oh.... Feb 16 23:31:54 HHJJ Feb 16 23:32:41 it's cool huh! Feb 16 23:32:57 yeah. didnt have to do it that way now that i see it working Feb 16 23:33:02 but cool... Feb 16 23:35:58 So I have an app in the beta catalog and I'm ready to submit it to the paid catalog. Should I update the beta (changing it to a paid app), or should I delete the beta then submit it as a new app? Feb 16 23:39:30 Bmyers: globals are, like, global and stuff. Feb 16 23:39:31 Jim462: whatever you do, change the appid Feb 16 23:40:12 all global and all.. Feb 16 23:40:22 yeah the global db ref got ref'ed Feb 16 23:40:32 but this is cool.. Feb 16 23:40:56 no need for a one line gobal when you can get the same thing done in 10 lines of code Feb 16 23:41:40 you get paid by the byte, right? Feb 16 23:43:22 per pound of code.. Feb 16 23:58:51 this doesnt make sense... audio playback thrown in a setTimeout does not play? Feb 17 00:01:15 slots.AudioCoinwin.play(); will work just fine. setTimeout('slots.AudioCoinwin.play();', 5000); will not play. Feb 17 00:11:46 man, ive noticed.. that people really dont update apps as often as they should, guess ill add in a 'bubble' to let them know theres a new version out, cause im still seeing non-drag support swap&drop versions being used Feb 17 00:24:16 nice you can add a youtube video link now Feb 17 00:53:41 ugh these audio problems are just getting infuriating Feb 17 00:53:56 it's as if it's just picking and choosing which ones it wants to play with absolutely no reason to it Feb 17 00:54:47 VincentLaw: I'm not a "official sdk" guy, but i'm sure there must be some form of logging or debugging... Feb 17 00:55:53 there's a bunch of logging, that doesn't tell you jack squat Feb 17 00:56:01 as far as it's concerned, it's playing the files Feb 17 00:56:15 but I can reinstall the /exact same package/ twice, and it'll play a different sound each time Feb 17 01:04:32 VincentLaw: just saw your setTimeout example above...should be: setTimeout(function() {slots.AudioCoinwin.play();}.bind(this), 5000); Feb 17 01:04:41 and it will delay Feb 17 01:04:43 properly Feb 17 01:06:34 anyone have a nice clean way to compare version numbers? Feb 17 01:07:08 sugardave: that's not even my problem anymore Feb 17 01:07:18 I can't get it to simply play an audio file Feb 17 01:08:42 oh, that does suck Feb 17 01:08:42 (not that I don't appreciate that help :p ) Feb 17 01:08:48 dawm: http://www.lmgtfy.com/?q=javascript+regex+matching Feb 17 01:09:10 take for instance: Feb 17 01:10:26 slots.AudioCoinwinlong.play(); slots.AudioCoinwin.play(); slots.AudioJackpot.play(); all three of those work if I put them where I have another audio call. otherwise, only one works, and it's random which one (and decided upon on app INSTALL) Feb 17 01:11:00 VincentLaw: on the device or emu? Feb 17 01:11:10 device, emu doesn't do audio :p Feb 17 01:11:21 VincentLaw: well, it can....sometimes Feb 17 01:11:46 I've always been unhappy with audio in webOS...hopefully it will improve Feb 17 01:15:27 god this is dumb. Feb 17 01:24:59 hrm.. Feb 17 01:25:21 it appears i br0ke my emulator Feb 17 01:51:41 whats the preferred method of accessing an applications app catalog scene? the app url? or can i talk to the app catalog app Feb 17 01:54:57 dawm: Preware just does a launch Feb 17 01:55:26 i got it, i didnt want the browser popping up Feb 17 01:55:30 found the answer in the forums Feb 17 01:55:41 dawm: I don't think the browser will popup Feb 17 01:55:54 Can't remember though Feb 17 01:56:08 it does if you call the browser ;p Feb 17 01:56:47 on the emu, it errors due to com.palm.app.findapps missing Feb 17 01:56:54 but works just fine on the device Feb 17 01:59:09 time for lost. Feb 17 01:59:15 cya Feb 17 02:36:05 <_lance_> any suggestions for a lightweight server that can sync contacts to my pre? Feb 17 02:36:12 <_lance_> i'd prefer not to use the cloud for that Feb 17 02:36:24 <_lance_> i looked at installing openchange Feb 17 02:39:03 _lance_: if you're looking outside of the official sdk, you may want to consider asking in #webos-internals Feb 17 02:39:49 <_lance_> zsoc: oh, i'd not be installing anything new on the pre itself Feb 17 02:40:12 Ok well, outside of rsync, i have no ideas. Feb 17 02:40:28 <_lance_> i was looking at setting up a simple exchange server, but i was hoping that someone might know of something the pre supports for contact/calendar sync i was unaware of Feb 17 02:40:31 <_lance_> like syncml Feb 17 02:40:35 <_lance_> which.. unfortunately it doesn't seem to Feb 17 02:41:05 zsoc: wsup my man Feb 17 02:41:25 atlanta: hey Feb 17 02:41:51 quick question on list anyway to put them in a table and have 2 on one line Feb 17 02:41:51 ? Feb 17 02:42:00 what would be the best way to do that Feb 17 02:42:00 ? Feb 17 02:43:08 atlanta: just include two lists in your html, set one to float left, one to float right, set both to width at 50% Feb 17 02:43:31 u dont need a table for that, you can simply put them into divs Feb 17 02:43:37 and float the divs Feb 17 02:44:06 pacemkr: what if they are all part of one model Feb 17 02:44:11 do i just merge the list at the end Feb 17 02:44:11 ? Feb 17 02:44:44 they both display the same information? Feb 17 02:45:57 nope differnet Feb 17 02:46:09 well its one list Feb 17 02:46:17 u saying i need to split it into 2 Feb 17 02:47:13 so its one model, but you want to display different parts of the model in separate lists? im not sure i understand Feb 17 02:49:33 ehhh i want to do like Feb 17 02:49:38 1,2 on one row Feb 17 02:49:43 then 3,4 go on the new row Feb 17 02:49:50 ooh Feb 17 02:49:51 like that Feb 17 02:51:21 ok Feb 17 02:51:39 you can try using a css3 selector to select altternating palm-rows Feb 17 02:51:40 any suggestions on that Feb 17 02:51:55 oh ok Feb 17 02:52:02 like :old or something like that if i remember Feb 17 02:52:03 and then float one to one side Feb 17 02:52:06 odd** Feb 17 02:52:07 and float other to the other Feb 17 02:52:10 yes Feb 17 02:52:13 something like that Feb 17 02:52:15 ok thanks for that Feb 17 02:52:38 or, you can create a 'proxy' model and join the items in the model... Feb 17 02:52:50 np Feb 17 02:52:54 ok so split then merge im guessing Feb 17 02:52:58 what u mean by proxy Feb 17 02:53:19 but imma try the css and just offset one list so its side by side Feb 17 02:53:38 yeah you could try that Feb 17 02:53:57 ok Feb 17 02:55:16 atlanta: :nth-child(n) is the selector i think, ive used it in webos it worked Feb 17 02:55:29 ok thanks **** ENDING LOGGING AT Wed Feb 17 02:59:58 2010