**** BEGIN LOGGING AT Thu Jul 07 02:59:56 2011 Jul 07 03:06:51 what do you use for a tuner? Jul 07 03:07:36 depending on the cable company some of them will offer you cable cards to use Jul 07 03:07:51 I'm pretty sure this Moto box just has a cable card jammed in the back of it Jul 07 03:08:24 worst part? It has eSATA ports, ethernet, 4 USB ports, firewire… And they're ALL disabled Jul 07 03:10:36 meh. mojo drawers broken on TouchPad Jul 07 03:10:47 Loudergood: i use a very old tv tuner card. AVer media GO 007 Jul 07 03:11:18 S-Video + Audio Input. pretty decent video quality Jul 07 03:11:30 ahh ok Jul 07 03:11:50 I was thinking about the trouble I had with digital stuff Jul 07 03:12:02 lol. what trouble did you have Jul 07 03:12:15 I think I'd die if all my DVR'd content was recorded over S-video :C Jul 07 03:13:04 what's the max resolution for s-video, 480p? Jul 07 03:13:35 it should still be NTSC so 480i Jul 07 03:13:37 i believe so Jul 07 03:13:44 yeah, NTSC Jul 07 03:13:54 mine has dual gigabits ports, esata, and they are all active Jul 07 03:14:01 when I was trying to do it, cable card and PC were two things that didn't go together Jul 07 03:14:10 halfhalo: who's your cable provider? Jul 07 03:14:16 lol driver problems? Jul 07 03:14:26 SineOt: I have directv Jul 07 03:14:39 gross, DVR'ing at 480i? ;_; Jul 07 03:14:41 i had the same problem with this old card and windows 7. it would bitch about incompatible drivers Jul 07 03:14:49 i just forced xp drivers and all is well :3 Jul 07 03:14:58 * halfhalo has 1080p Jul 07 03:15:03 even crappy broadcast TV would look terrible at that resolution Jul 07 03:15:34 well, maybe not for 6 weeks soon Jul 07 03:15:34 lol i doubt you would be able to stream at 1080p tho Jul 07 03:15:54 unless you got some really good internets and a quad-core processor Jul 07 03:16:00 I stream 1080p to my desktop fine Jul 07 03:16:07 not so much over the internet Jul 07 03:16:11 ooh...they finally have an hdhomerun that does cablecard Jul 07 03:16:13 internal stream? Jul 07 03:16:27 yeah, streaming 1080p out over the internet would be dumb but… if you're out of the house you don't really need 1080p Jul 07 03:16:38 there is a directv2pc app Jul 07 03:16:46 yea Jul 07 03:17:03 i tried streaming with VLC, that thing is just impossible Jul 07 03:17:06 yeah, a co-worker of mine is trying to get that to work Jul 07 03:17:11 well, probably because it's VLC Jul 07 03:17:41 I has slingbox for when I'm out Jul 07 03:18:22 i get upset that we stream uncompressed video on HDMI .. when it's all from a compressed source at a significantly lower bitrate Jul 07 03:18:39 if I wanted to stream content out over the internet I'd just try to get one of those little cheap H264 hardware encoders and just store stuff in two copies Jul 07 03:19:36 bpadalino: it'd be worse if it recompressed it to send over HDMI Jul 07 03:20:52 Loudergood: or if it just didn't bother and just passed through the signal? P: Jul 07 03:21:13 although I guess it doesn't really matter, if it's passing uncompressed it's basically just doing that Jul 07 03:21:24 I wish the Touchpad had HDMI out :< Jul 07 03:21:25 then everything that could take it would have to be able to decode Jul 07 03:23:05 im switching to a pixi :3 Jul 07 03:23:31 yay Pixi :3 Jul 07 03:23:47 I'm to the point where I like my Pixi but I want something new REALLY BAD :c Jul 07 03:24:05 it doesn't help that all of my Pixi Touchstone backs have decided to slough their own skins off Jul 07 03:25:34 hrm Jul 07 03:25:36 lol Jul 07 03:26:24 the only reason why im switching back to the pixi is because my pre is sometimes unable to recieve calls Jul 07 03:26:30 (at times) Jul 07 03:27:48 is there a "enter submits" property for input components? Jul 07 03:31:13 my Pixi does that a ton… Along with seemingly losing the ability to vibrate, make noise, and light up the left half of the keyboard! I really should take it in sometime. I'm paying for the insurance coverage, might as well use it Jul 07 03:33:01 indeed Jul 07 03:37:55 Hrm, apparently the GPS on the Veer is pretty accurate: http://fuzzy.wolfoxpa.ws/simplegpsplus_2011-07-07_132327.png Jul 07 03:43:39 Nice. :9 Jul 07 03:44:34 I'm quite frankly stunned to see that. 1m accuracy on GPS? Jul 07 03:51:42 Yeah, I've been generally pretty happy with the GPS quality on my Pixi and Pre2. Just takes a long time, sometimes, to actually get a fix. Especially on the Pre2 since there's no network connection which means no aGPS, so it's always a cold fix Jul 07 03:52:13 (cold as in, raw satellite and often fresh off a reboot. don't know if webOS will try to pick up a fix unless an app requests it first) Jul 07 03:55:50 damn it, app all of sudden broke =( Uncaught TypeError: Object # has no method 'setClipboard' -->enyo.setClipboard(can); Jul 07 03:59:46 hey guys Jul 07 03:59:50 my buddy Jul 07 03:59:56 is setting up checkbox in ares Jul 07 04:00:03 i'm just writing code to toggle it Jul 07 04:00:09 the function Jul 07 04:00:26 i've got it all written except i need to know how to change the status of the checkbox. Jul 07 04:00:32 like the checkmark showing or not Jul 07 04:01:01 fxspec06: have not used checkboxes =( Jul 07 04:01:11 hmmm damn Jul 07 04:01:13 okay Jul 07 04:02:24 hi all Jul 07 04:04:36 fxspec06: in mojo? Jul 07 04:05:30 yeah Jul 07 04:05:36 set the model value to true or false and then run this.controller.modelChanged() Jul 07 04:05:45 okay Jul 07 04:05:52 and then in setup Jul 07 04:05:59 get the pref status and set correctly Jul 07 04:08:34 anyway to refresh and app with enyo? Jul 07 04:10:25 SineOt: Yeah, all GPS I do with my phones is cold GPS. My Pre2 won't do better than 6m though. Jul 07 04:17:09 last bug to fix ... with enyo clipboard... would that cause an error in chrome, since it has no clipboard? Jul 07 04:23:40 now. if you want to be in the beta, register at http://awesomeapps.8tar.com/forum Jul 07 04:24:43 are you going to tell people what they're registering for a beta of? Jul 07 04:26:12 oh. Your Radio.. I need to put a post in there about that ;) Jul 07 04:26:39 its a semi-open beta. registration/approval required.. Jul 07 04:26:40 which is ... what Jul 07 04:27:17 a new radio program. it'll be amazing (when its done) Jul 07 04:27:29 what kind of radio program Jul 07 04:27:45 Your Radio will allow you to define your own radio station via their online URL and stream them.  That will be the basic use/principal of the app. Later though, once it is feature complete, it will have pre-loaded stations, podcast streaming, ShoutCast se Jul 07 04:27:45 arch, IceCast search, Ubuntu One music Streaming, Favorites, Exhibition Mode, Dashboard Controls, Offline Music Mode (will use the music that is loaded on-device), and maybe more.  Jul 07 04:28:45 hey Jul 07 04:29:08 hey Jul 07 04:29:09 how do you set up prefs menu btn to swap scene Jul 07 04:29:11 in ares Jul 07 04:29:15 for my friend Jul 07 04:29:24 nvr used menu btn or ares Jul 07 04:30:04 ahh Jul 07 04:30:18 dwc-: now there's a post in general :) Jul 07 04:32:08 anyone use ares? Jul 07 04:32:10 patrickC? Jul 07 04:32:21 I did.. but not for long Jul 07 04:33:02 it should b easy to figure out. Jul 07 04:33:47 he just wants to.. push the prefs scene? Jul 07 04:33:52 lol yes Jul 07 04:33:52 or set up the appmenu? Jul 07 04:33:56 I've done both Jul 07 04:33:58 push the prefs scene Jul 07 04:34:15 just noticed that some enyo widgets move positions when in portrait and landscape mode, how do I avoid that... Jul 07 04:34:17 this.controller.stageController.pushScene("sceneName"); Jul 07 04:34:38 LoneStar: not sure Jul 07 04:35:01 fxspec06: that *should* work Jul 07 04:35:14 I haven't used Ares in months.. so.. that's all from memory ;) Jul 07 04:35:39 yeah Jul 07 04:35:43 he just Jul 07 04:35:46 idk what his problem is. Jul 07 04:35:48 lol Jul 07 04:35:55 lol Jul 07 04:36:04 tell him to LEARN ENYO! :) Jul 07 04:36:14 freaking sucks Jul 07 04:37:06 PatrickC: that is right to swap scenes in mojo Jul 07 04:37:16 brb Jul 07 04:37:31 ok. I remember using this.controller.pushScene("scene"); a lot too Jul 07 04:42:42 setting up forums is boring... Jul 07 04:45:03 I think that's why most people just farm that out to a 3rd party Jul 07 04:45:55 its cheaper to set it up myself.. so ohwell Jul 07 04:46:17 okay guys Jul 07 04:46:19 uhm Jul 07 04:46:45 hai Jul 07 04:46:46 how to make azres button ID Jul 07 04:46:49 lol Jul 07 04:48:02 arg.. I need a PC to install taptalk... Jul 07 04:49:47 i think he gets it! Jul 07 04:49:51 by golly Jul 07 04:50:27 * fxspec06 is trying to teach ares maker how to understand javascript for dummies Jul 07 04:50:37 in an hour Jul 07 04:50:38 lol Jul 07 04:51:22 hahaha Jul 07 04:51:26 Eloquent Javascript Jul 07 04:51:30 lol Jul 07 04:51:31 note to self: Apple has some pretty damn fine multitouch gestures Jul 07 04:52:33 why do I need a forum logo... Jul 07 04:52:37 I don't have one.. Jul 07 04:52:38 ME: Oh sure I'll make a sound toggle for you. No problemo! HIM: Ok so what files do these go in? Jul 07 04:52:45 * PatrickC mumbles "stupid taptalk" Jul 07 04:52:46 *sigh* Jul 07 04:52:53 lol j/p he's cool n e wayz. Jul 07 04:53:23 you should make everything logo Jul 07 04:53:37 call it PatrickEverywhere Jul 07 04:54:42 lol Jul 07 04:54:54 I can't upload it from my pre though lol Jul 07 04:55:38 ohwell.. the forum is up. I'll fix talptalk later Jul 07 04:56:21 someone remind me to include break statements in cases where they are needed Jul 07 04:57:00 fxspec06: I'm reminding you to include break statements and cases where they are needed Jul 07 04:57:03 * PatrickC ducks Jul 07 04:57:26 i was expecting that Jul 07 04:57:35 :) Jul 07 04:57:36 * fxspec06 opens fire on PatrickC Jul 07 04:57:58 YOU GONNA DUCK NOW Jul 07 04:58:08 * fxspec06 lets his MG42 cool down Jul 07 04:58:42 a better punch line would have been, who's ducking now -.- Jul 07 04:58:58 * PatrickC pulls out silenced AK-74 Jul 07 04:59:03 lets go! Jul 07 05:03:05 * PatrickC puts it away Jul 07 05:03:16 my teeth hurt Jul 07 05:03:50 lol? Jul 07 05:15:13 night all Jul 07 05:15:42 laters PatrickC Jul 07 05:24:44 Ok, now that PatrickC has left I'm gonna erase the forum posts :D hehehe Jul 07 05:25:30 No, even better, I'll tackle that node.js file save implementation :D Jul 07 05:27:46 forums... Jul 07 05:28:12 what ever happened to chat rooms? Jul 07 05:28:31 not irc but yahoo chat rooms all the others... Jul 07 05:28:45 i assume they where getting creepy Jul 07 05:31:01 Alonestar Jul 07 05:31:02 or nutty Jul 07 05:31:06 can one of you guys help me Jul 07 05:31:14 Hi there Jul 07 05:31:40 my budy jake is about to come in Jul 07 05:31:43 we need assistance Jul 07 05:32:24 I am using eclipse to develop applications using enyo... the outline view in eclipse is always empty... has anyone else seen this issue? Any to correct this? Jul 07 05:32:33 http://pastebin.com/xNCz6dUe Jul 07 05:32:41 in ARES Jul 07 05:32:46 how to make this work ? Jul 07 05:32:53 i'm not sure if refreshcheckbox function is correct Jul 07 05:37:02 quad_damage: outline view? Jul 07 05:37:34 quad_damage: have you build a mojo app in eclipse before/ Jul 07 05:37:35 ? Jul 07 05:38:16 @LoneStar99 Yes, the outline view which is shown on the side... I am a newbie... sorry if that was silly question Jul 07 05:38:46 I assumed that since it is Javascript code, it should display the variables and functions in the outline view Jul 07 05:40:40 quad_damage: it should show up similar to a mojo app... Jul 07 05:41:49 fxspec06: this what i used for a toggle widget in mojo --> http://pastebin.com/y6Pv0qHD Jul 07 05:42:10 @LoneStar99 Ok... I guess it might be a bug in eclipse... Jul 07 05:42:24 quad_damage: are you building the project as you would a mojo app? Jul 07 05:43:33 Yes, using the Palm plugin.. but since I am working on enyo, the directory structure is different so I have to manually create the files and folders Jul 07 05:46:34 this is how it looks: http://dl.dropbox.com/u/8690649/Capture.PNG Jul 07 05:47:18 Hrm, the radio in the Veer is better than my Pre 2 and my driver's HTC Desire. Jul 07 05:47:42 quad_damage: create a mojo app with all the folders exactly as a mojo app, build a project, then in windows explorer delete everything except the .project file and add all your enyo stuff then refresh in eclipse that should work Jul 07 05:48:03 But the Sierra AirCard 312U with a 5dB external aerial slaughters it. Jul 07 05:49:17 Wonder why? XD Jul 07 05:50:14 Oh yes, really I wonder. :P Jul 07 05:50:35 If my Treo Pro wasn't landfill I'd compare - that had a really good 2100/850 radio in it. Jul 07 05:50:44 But, well, it carked it. Jul 07 05:53:15 Y'know, oddly enough… My enV2 and KRZR both had external antenna ports. Jul 07 05:56:54 Hendikins: how are you measuring "goodness" of the radio? Jul 07 06:00:25 WEBOS doesnt support box-shadow :O ??? Jul 07 06:00:42 ohh ... where are my manners.. hello webos friends :) Jul 07 06:01:50 any one arround ?\ Jul 07 06:03:25 yeah, no box-shadow Jul 07 06:07:45 its not he only thing which is not supported :( Jul 07 06:07:53 most of the positioning is odd :( Jul 07 06:07:59 transitions are breaking.. Jul 07 06:08:03 box shadow in css? Jul 07 06:08:05 yeah Jul 07 06:08:07 im heart broken :'( Jul 07 06:08:19 but that's what happens when the version of webkit getting used is from October 2009 Jul 07 06:08:23 so there's a lot missing Jul 07 06:08:32 quad_damage: did u get it sorted out? Jul 07 06:08:52 BUT with 3.0 shipping with a new kernel version, there's hope that webkit will get updated Jul 07 06:09:03 anyone have TP css experience? Jul 07 06:10:27 when is the new version comming ?? Jul 07 06:11:06 New version of webkit? Jul 07 06:12:19 new version of webos with a better support for webkit Jul 07 06:12:43 dunno Jul 07 06:13:21 rwhitby: I've got xterm running on the Veer. I'm pinging my home machine, and it is managing to get data flow with the Pre2 and Desire reporting no reception. Jul 07 06:13:44 So entirely unscientific, but it does give the indication of an improved radio. Jul 07 06:14:23 it's a good empirical result Jul 07 06:18:01 you know i place "enyo.setAllowedOrientation("up") ; ?? windows activate? Jul 07 06:18:05 All three phones are using Telstra 850MHz. Jul 07 06:26:25 anyone know where is documentation or code samples for setting a once-a-day alarm? it's not clear to me how to handle the case where your app is not running Jul 07 06:37:21 Flashpass: Save/Restore schedules daily backups Jul 07 07:04:39 css styling for TP orientation sucks Jul 07 07:10:24 what do you mean? Jul 07 07:11:20 akanster: some widgets shift position according to portrait or landscape mode, totally suks Jul 07 07:11:27 ah Jul 07 07:11:28 rwhitby: thanks! I'll check it out Jul 07 07:12:07 LoneStar99: yeah I wasnt ready to deal with that so I locked orientation to landscape Jul 07 07:14:53 lol, yeah good, i might just do the same... but for portrait, what is the default? portrait? Jul 07 07:15:19 hey guys.. when ever im trying to laod an ipk on to the emulator its giving me an out of memory error.. Jul 07 07:15:23 landscape is on emulator but portrait on TP device right? Jul 07 07:15:34 any way to increase the memory Jul 07 07:16:57 yeah u can increase it in virtualbox Jul 07 07:17:35 rwhitby: is save/restore only written for mojo? or will the same code apply for enyo applications? Jul 07 07:17:35 ok Jul 07 07:18:33 not sure what additional functionality rewriting save/restore in enyo would give. sounds like doubling my support load for no benefit, since no enyo on any webOS phones. Jul 07 07:20:23 rwhitby: thats fine, i'm just looking for a code example of how to perform a daily alarm in enyo Jul 07 07:20:44 I presume you call the same service, and get the same launch parameters Jul 07 07:22:00 so.. is there any ways to show visualization when playing audio in webos ? Jul 07 07:22:03 if im using enyo Jul 07 07:22:37 i wanted to show a basic visualization.. iv seen it being done on Firefox using audio api.. Jul 07 07:22:44 but that wont work here. Jul 07 07:23:09 so is there any ways i can get the currently playing audio info from any service that is running ? Jul 07 07:25:19 Error: the application database is almost full :( Jul 07 07:27:26 LoneStar99: https://developer.palm.com/distribution/viewtopic.php?f=97&t=15599 Jul 07 07:27:54 switch left/right to up/down Jul 07 07:32:55 akanster: was checking out this thread https://developer.palm.com/distribution/viewtopic.php?f=97&t=15918&p=80439&hilit=css#p80439' Jul 07 07:46:37 alright later folks! Jul 07 10:11:22 does webos support websockets Jul 07 10:11:25 ???? Jul 07 10:24:02 naughty_david, node.js supports them Jul 07 10:26:22 alright.. i need to get a heads up in using nodejs in webos Jul 07 10:28:15 :-) Jul 07 10:28:22 I always refer to two pages Jul 07 10:28:30 https://developer.palm.com/content/api/dev-guide/js-services/creating-hello-world-service.html Jul 07 10:28:47 that one on how to bundle services with apps Jul 07 10:28:51 https://gist.github.com/1014188 Jul 07 10:29:00 and that one for a simple service Jul 07 10:29:20 I think I'll create another gist on how to bundle apps Jul 07 10:29:28 that dev.palm.com page is annoying to read Jul 07 10:30:39 that will be great :) Jul 07 10:30:57 ah hey ddluk Jul 07 10:30:58 :-D Jul 07 10:31:17 the greatest will be working example with hello world in enyo hehe :) hey phoque_uni Jul 07 10:31:43 off course with node.js Jul 07 10:39:29 https://gist.github.com/1069268 Jul 07 10:39:47 yay for not having a Markdown preview in Gist Jul 07 10:41:11 thank you :) phoque_uni Jul 07 10:44:10 ddluk, there's a hello world service Jul 07 10:44:23 but I find it pretty useless because it doesn't make use of node.js callbacks Jul 07 10:44:38 I had a hard time figuring out how to return values from a callback Jul 07 10:50:36 phoque_uni thanks a lot :) Jul 07 10:53:23 do you need a code snippet for how to call that service from Mojo or Enyo or do the docs suffice? Jul 07 10:53:46 actually there are 2 thigns which i need to fix .. Jul 07 10:53:55 1. is to have an app that works with zero config Jul 07 10:54:14 2. the other is to play multiple media files Jul 07 10:54:58 the second one is kind of sad.. Jul 07 10:55:15 i had used enyo to play the media .. which is working pretty fine on webkit.. Jul 07 10:55:24 but on the device its failing dramatically Jul 07 10:55:37 yeah... Jul 07 10:55:41 I've read something about that Jul 07 10:55:54 I think unwiredben posted some hybrid app solution for that Jul 07 10:57:43 but where was that Jul 07 10:59:07 ddluk: git.webos-internals.org has a Hello! app with C service, node.JS service, PDK, Mojo, Enyo and Touch to Share data exchange, all in the one app. Jul 07 11:01:40 rwhitby, that thing is a bit over the top :-) Jul 07 11:02:37 yea .. a bit over the top Jul 07 11:03:30 but all it does is "Hello, World!" Jul 07 11:05:55 and C both service and plugin and Touch to share and Jul 07 11:06:46 it's useless if you want to understand the first steps on how to create and package a node.js service Jul 07 11:08:18 iv done some node.. but not on webos Jul 07 11:08:51 hey .. is there any way i can play an audio from enyo without using HTML tag ? Jul 07 11:09:02 ilke using some system service ? Jul 07 11:14:01 naughty_david, https://github.com/bni/phonegap-plugins/tree/master/Palm/SoundPlug Jul 07 11:14:05 that was it I think Jul 07 11:15:29 I have no idea about the PDK Jul 07 11:15:34 so you're on your own from here on :-P Jul 07 11:29:45 phoque_uni, thanks Jul 07 11:54:00 phoque_uni .. actualy that link saved my ass :D Jul 07 11:54:08 does it work? Jul 07 12:04:48 trying it out! Jul 07 12:24:57 phoque_uni: I need from this node.js only oAuth which will work with GetGlue, nothing more :) I will try to do this but as I said I never use node.js so it will be quite complicated for me ;) Jul 07 12:25:28 ddluk, give it a try, I am here Jul 07 12:25:29 :-D Jul 07 12:25:55 hehe, ok, I will try not to spam you with questions :) Jul 07 12:26:33 first of all get your app ready to bundle a service Jul 07 12:26:58 you know, according to https://gist.github.com/1069268 Jul 07 12:27:22 then get services.json und sources.json from https://gist.github.com/1014188 Jul 07 12:27:25 and put them in your service Jul 07 12:30:47 then... Jul 07 12:32:17 ok, I will write when I do this, right know I need to eat something :) Jul 07 12:32:31 ok Jul 07 12:32:41 I sure hope you're using Git Jul 07 12:32:47 because now it will become complicated Jul 07 12:32:47 :-D Jul 07 12:33:00 yes, I'am :) Jul 07 12:33:03 phew Jul 07 12:35:11 I will create some hello world app for this oAuth authentication. Jul 07 12:35:22 fair enough Jul 07 12:36:51 phoque hey i was checking this one out.. https://github.com/bni/phonegap-plugins/tree/master/Palm/SoundPlug. but i am not able to build it :( .. guess i dont hav all the libs for it.. Jul 07 12:36:59 also .. how do i used it after i build it ? Jul 07 12:37:10 naughty_david, I have no idea, sorry Jul 07 12:37:11 :-) Jul 07 12:37:15 do you have the PDK installed? Jul 07 12:43:29 ddluk, https://gist.github.com/1069410 Jul 07 12:43:35 for once you're done eating Jul 07 12:44:00 :) thank's Jul 07 12:46:43 phoque index.html file should be also in appllication folder? Jul 07 12:46:51 yes Jul 07 12:47:04 I don't suppose anyone wants a factory unlocked Pre 2 for £270 (or nearest offer) Jul 07 12:47:10 the root folder of your bundled app is empty Jul 07 12:47:31 except for "application", "package", "service", ".gitignore" and "Makefile" Jul 07 12:47:51 ok Jul 07 12:57:34 phoque that file modules.js should be in service folder? Jul 07 12:57:39 yes Jul 07 12:59:35 ddluk, https://gist.github.com/1069443 Jul 07 12:59:44 if you don't have a Makefile yet Jul 07 13:02:49 Got my touchpad last night! Jul 07 13:03:04 (just thought everyone should share my joy.) Jul 07 13:03:16 cool Jul 07 13:15:55 phoque: https://github.com/ddluk/oAuth-enyo-test Jul 07 13:16:24 ddluk, why didn't you use submodules? Jul 07 13:16:53 ? Jul 07 13:17:08 for the oauth library Jul 07 13:18:01 I'm sorry but I don't understand :( Jul 07 13:20:13 hangon Jul 07 13:38:54 ddluk, you've got a pullrequest Jul 07 13:38:55 :-D Jul 07 13:39:52 ddluk, you have to add the service-assistant to your sources.json Jul 07 13:39:55 I forgot that one Jul 07 13:40:01 now I'm off to find some food Jul 07 13:40:04 ttyl! Jul 07 13:40:33 :) Jul 07 13:46:12 phoque I will wait for you because I'm stupid with that node.js in enyo Jul 07 13:49:50 zzz Jul 07 13:50:06 can we get node 0.5 onto webos2.1? Jul 07 13:57:22 you could probably install it yourself Jul 07 14:30:50 halfhalo: did you ever tell use your seekrit? Jul 07 14:36:44 uhm.. why is it forbidden to link against libGLESv2.so ? Jul 07 14:43:57 the whitelist looks like i should link against libGLESv2_CM.so, but i don't think this lib exists on my pre Jul 07 14:47:26 Morning Jul 07 15:04:54 test... Jul 07 15:05:16 simfa_: doesn't work :P Jul 07 15:05:44 phoque are still here ?? :) Jul 07 15:06:05 mh what JS doc system is used in webos source or what is recommended to use in eclipse? Jul 07 15:06:18 stbuehler: i see ;) Jul 07 15:06:38 hehe :D Jul 07 15:06:53 docs? who needs that? ... Jul 07 15:08:02 makes it easier to create documentation i think... Jul 07 15:08:27 there really isn't a standard afaict Jul 07 15:08:39 I've used jsdoctoolkit a fair bit myself Jul 07 15:08:59 http://code.google.com/p/jsdoc-toolkit/ Jul 07 15:09:53 hrmpf Jul 07 15:11:07 ofc i'm not the first wondering why i am not allowed to link aganst libGLESv2.so. there is just no answer in the forums, only the question... (more than once) Jul 07 15:11:45 thanks, funkatron...will look at it Jul 07 15:12:15 * PatrickC wanders in Jul 07 15:14:29 Get an email yet pat Jul 07 15:14:35 yep Jul 07 15:15:03 "you'll get an email within 15 days" Jul 07 15:16:11 isn't there also something from google out there? Jul 07 15:16:25 anyone who wants to be a part of my new beta, visit: http://awesomeapps.8tar.com/forum Jul 07 15:16:28 simfa_: huh? Jul 07 15:16:47 morning folks Jul 07 15:16:59 morning Jul 07 15:17:11 PatrickC: talking about JS docs Jul 07 15:17:13 hey LoneStar99 Jul 07 15:17:34 simfa_: ah ok Jul 07 15:19:21 brb in 15 time for breakfast Jul 07 15:19:39 good Jul 07 15:19:40 freaking Jul 07 15:19:41 morning Jul 07 15:19:43 bad Jul 07 15:19:45 freaking Jul 07 15:19:46 night Jul 07 15:19:50 everyone. Jul 07 15:19:55 fxspec06: lol Jul 07 15:20:18 up til 6am Jul 07 15:20:22 why? Jul 07 15:20:27 couldn't get a variable to be called global Jul 07 15:20:39 lol Jul 07 15:20:40 in this app. none of them pass. Jul 07 15:20:50 so you stayed up till 6am? Jul 07 15:20:59 trying to get it to work. yeah. Jul 07 15:21:12 are there any special rules for ares? Jul 07 15:21:20 not sure Jul 07 15:21:50 pretty sure global is a keyword in JS Jul 07 15:22:50 lol Jul 07 15:22:55 global... psh Jul 07 15:23:09 i couldn't get variables to pass either. Jul 07 15:23:15 even in the same scene Jul 07 15:23:33 it'd be true in one function, and then undefined literally everywhere else Jul 07 15:23:56 where are defining your variable? Jul 07 15:24:44 in stage assistant Jul 07 15:24:50 but that doesn't stick Jul 07 15:25:00 so i try in the scene's setup Jul 07 15:25:06 your are talking about Mojo yes Jul 07 15:25:08 no luck there either Jul 07 15:25:09 ares Jul 07 15:25:17 and mojo Jul 07 15:25:58 ok, there is an article about using global variable with cookies: http://www.webos101.com/Mojo.Cookie#Using_global_variables_to_save_preferences_in_a_cookie Jul 07 15:27:43 myb i'm declaring things in wrong place. Jul 07 15:27:51 hard to see that at 6am Jul 07 15:27:54 lol Jul 07 15:28:12 :) Jul 07 15:28:35 lol Jul 07 15:28:46 * PatrickC needs to fix his app today... maybe Jul 07 15:34:48 is Precentral loading slow for anyone else? Jul 07 15:38:38 all the info you need is now on the forum. beta members please visit the forum and register. Jul 07 15:40:59 chuqui! hey! Jul 07 15:42:59 howdy anyone want to test an app on TP device? Jul 07 15:43:13 hey! Jul 07 15:44:39 got the email yesterday.. 15 days? :/ Jul 07 15:45:55 chuqui: got an app rejection due to linking against libGLESv2.so - whitelist looks like i should link against libGLESv2_CM.so, but this lib doesn't exist. and no answers to this quesion in the forums :) should i send an email? Jul 07 15:46:48 I see 9 guests browsing my forum, sign up to see what its all about :) the real forum is hidden to guests. you must register first Jul 07 15:48:27 ddluk, re Jul 07 15:48:45 phoque that was a biiig meal :) Jul 07 15:48:50 yeah Jul 07 15:49:10 cabbage soup Jul 07 15:49:30 :) Jul 07 15:49:30 stbuehler: yes, please. I'll have someone take a look. Jul 07 15:50:13 phoque: so what should I do know with that code. Jul 07 15:50:32 with that node.js library? Jul 07 15:50:37 yes Jul 07 15:50:37 see what components you need Jul 07 15:50:42 and use them in your Assistants Jul 07 15:51:02 ok, but in enyo there are no Assistants Jul 07 15:51:23 no no Jul 07 15:51:26 in your service Jul 07 15:51:36 I wrote an Assistant-stub Jul 07 15:51:42 GetAccessTokenAssistant.js or something Jul 07 15:51:53 yes, I see it Jul 07 15:52:00 each operation your oAuth service will do needs to have its own assistant Jul 07 15:52:27 PatrickC: registered Jul 07 15:52:38 ok, so I will probably have the problem with second oAuth step, authorize token Jul 07 15:52:57 I know that I need to open user and browser with page on with user click authorize Jul 07 15:53:08 but how can I grab headers with informations I need ? Jul 07 15:53:15 that has to be done in your app, not in that service Jul 07 15:53:39 your app will open a browser and offer the user the ability to enter the code Jul 07 15:53:46 after that, your node.js service takes over Jul 07 15:53:59 enter the code? Jul 07 15:54:21 after logging in in said browser, the user is presented with a short code, right? Jul 07 15:54:27 no Jul 07 15:54:32 that's what twitter does Jul 07 15:54:38 I thought that was oAuth Jul 07 15:54:38 LoneStar: approved Jul 07 15:54:47 this is PIN base oAuth Jul 07 15:54:53 you now have access to the forum Jul 07 15:55:06 getGlue is using v1 oauth without PIN Jul 07 15:55:12 I see Jul 07 15:56:31 ddluk, take a look through https://github.com/ciaranj/node-oauth/blob/master/lib/oauth.js Jul 07 15:56:34 So I need to get token and token secret, that use them to open page for user to click on button authorize, after that in headers I will get another token and token secret which I need to use to get token access Jul 07 15:56:35 maybe you'll find what you need Jul 07 15:59:31 ddluk, sorry I am not familar enough with oAuth and your usecase Jul 07 15:59:40 don't worry :) Jul 07 15:59:46 however the skeleton of your service is done Jul 07 16:00:03 I found that to be quite a hurdle Jul 07 16:00:08 I see the solution. I can use callback to something like this http://localhost:3000/oauth/callback Jul 07 16:00:27 and then get this headers Jul 07 16:20:06 halfhalo: ping Jul 07 16:20:34 BLEH!!! BLEH I TELL YA!! Jul 07 16:20:44 get that call yet? Jul 07 16:20:50 no Jul 07 16:21:00 I'm dying to know what the sekret is! :) Jul 07 16:27:24 phoque are you still there ? Jul 07 16:27:36 or rather here :) Jul 07 16:31:09 why are you outsourcing oauth to a node service when it can be done all in js/enyo Jul 07 16:32:19 I need to use v1 oauth without PIN Jul 07 16:32:26 co I need to use callback Jul 07 16:32:54 but how can I callback from webview to function PuffTheMagi Jul 07 16:35:56 you can just use webservice to fetch the url and then process it? Jul 07 16:36:16 I can't Jul 07 16:36:24 * PatrickC doesn't like shoutcast anymore.. Jul 07 16:36:28 I need to get token and token secret, than use them to open page for user to click on button authorize, after that in headers I will get another token and token secret which I need to use to get token access Jul 07 16:38:39 is it just a button they have to press or is there a form they fill out also? Jul 07 16:40:07 if only there was an opensource twitter client that did just that...like maybe spaz Jul 07 16:40:41 user need to log using user name and password from getglue, then user click a button and in headers I get data which I need. Jul 07 16:40:51 actually I think they tried that, and the webview thing didn't work. Jul 07 16:41:49 on twitter there is an PIN based oAuth so it's simpler to get it working Jul 07 16:42:27 lol @patrick Jul 07 16:42:54 fxspec06: they have stupid rules. like if I have shoutcast search/playback I can't sell the app Jul 07 16:43:06 even if that's only a *fraction* of what the app does! Jul 07 16:43:30 Jul 07 16:46:31 ddluk: so you could use a webserivce to fetch the getglue site Jul 07 16:46:40 then get the form url and create your own enyo form Jul 07 16:46:56 then submit to the enyo form data to the real site using a webservice again Jul 07 16:47:02 then get the returned headers Jul 07 16:47:37 i plan on doing something similar in my app so that i dont need to spawn the browser for the user to login and get a pin Jul 07 16:48:51 hmm damn Jul 07 16:49:15 so my problem Jul 07 16:49:17 well part of it Jul 07 16:49:19 It's quite compilcated Jul 07 16:49:24 was passing this. >>> to next scene Jul 07 16:49:39 the way the app is set up is to receive args from pusher Jul 07 16:49:53 but now Jul 07 16:49:58 I realized few minutes ago that I can create local server with node.js and callback from getglue to this local server and grab headers Jul 07 16:50:11 enyo.bin(this, 'function', arg1, arg1, ...) Jul 07 16:50:14 i'm still having issues saving the damn cookie. Jul 07 16:50:24 not enyo Jul 07 16:50:25 ares Jul 07 16:50:29 && mojo Jul 07 16:50:34 there is our problem right there :) Jul 07 16:50:40 snot my app! Jul 07 16:50:49 it works fine in MYYYYY app. but f'n ares Jul 07 17:02:53 the variables are never being passed Jul 07 17:02:59 global variable never works. Jul 07 17:03:07 i want to punch a baby in the face Jul 07 17:20:13 fxspec06: that's not nice :P Jul 07 17:21:31 I CAN'T GET THIS TO WORK Jul 07 17:21:34 NO MATTER WHAT I DO Jul 07 17:21:40 I'VE TRIED FOR TWO DAYS. Jul 07 17:21:52 I've been there : Jul 07 17:21:53 :/ Jul 07 17:21:55 I MAKE A VARIABLE IN ONE FUNCTION AND IT'S UNDEFINED -----EVERYWHERE Jul 07 17:22:01 RIGHT AFTGER I MAKE IT Jul 07 17:22:04 walk away from it, don't worry about it for an hour or so..a Jul 07 17:22:09 nd maybe it'll come to you :) Jul 07 17:22:10 no i did that last night Jul 07 17:22:22 VAR X = 2; Jul 07 17:22:30 THIS.LOG(X); Jul 07 17:22:36 make it lowercase :) Jul 07 17:22:38 THIS.LOG() Jul 07 17:22:39 * PatrickC ducks Jul 07 17:22:49 X = FUNCTION{MOJO.LOG(X);} Jul 07 17:22:52 F'N UNDEFINED? Jul 07 17:22:56 HOW THE F Jul 07 17:23:03 there's your problem.. mojo.log Jul 07 17:23:10 i kjnow how to log Jul 07 17:23:13 it should be enyo :) Jul 07 17:23:28 brb Jul 07 17:23:31 i can't Jul 07 17:23:37 why not? Jul 07 17:23:50 IT'S FOR SOMEONE ELSE Jul 07 17:23:55 and it NEEDS to be in mojo Jul 07 17:24:18 mojo / ares Jul 07 17:28:08 this isn't even funny anymore Jul 07 17:29:45 use the forums fxspec06, use the forums Jul 07 17:29:55 * PatrickC quotes Star Wars Jul 07 17:30:05 I wish there were a better venue than the forums Jul 07 17:30:12 bbl Jul 07 17:31:20 yeah really Jul 07 17:38:11 fxspec06: it should be Mojo.log.info(x) Jul 07 17:40:17 yeah Jul 07 17:40:18 i know Jul 07 17:40:28 it was just an example Jul 07 17:40:33 i'm starting over Jul 07 17:40:49 fxspec06: ah, sorry, carry on Jul 07 17:42:05 it's okay. i appreciate your help Jul 07 17:42:13 anything at this point is welcome Jul 07 18:23:42 phoque, are you still here ?? :) Jul 07 20:27:09 alue User-defined Required none Current value of widget. Jul 07 20:27:24 value User-defined Required none Current value of widget. Jul 07 20:27:34 is that the only setting that matters for a button Jul 07 20:27:50 i can't get it to LOAD its state ... Jul 07 20:27:58 from a boolean Jul 07 20:28:08 that i am 100% sure is set Jul 07 20:43:02 fxspec06: you are having fun aren't you lol Jul 07 20:51:41 omg Jul 07 20:51:54 time of my life Jul 07 20:54:18 is wpa2-enterprise supported in webOS? Jul 07 20:54:47 no Jul 07 20:54:53 apparently nothing is supported in webos Jul 07 20:54:56 not even variables Jul 07 20:55:05 * Tibfib backs away slowly Jul 07 20:55:09 lol Jul 07 20:55:13 bad day Jul 07 20:55:19 sry. Jul 07 20:55:27 fxspec06: no worries man, happens to all of us Jul 07 20:55:29 Tibfib: fxspec06 is having fun with Ares Jul 07 20:56:08 he. it would be nice if ares would just spit out the html layout and perhaps the setup javascript code Jul 07 20:56:15 Hrm. website says "Wi-Fi 802.11b/g with WPA, WPA2, WEP, 802.1X authentication;" Jul 07 20:56:16 then you could just copy it and modify it to your needs Jul 07 20:56:30 stbuehler: I think with mojo that's pretty much impossible Jul 07 20:56:34 but afaik it is just a big black box Jul 07 20:56:40 stbuehler: you can dl a zip of the app Jul 07 20:56:57 yes you can. but you have no idea what ares does Jul 07 20:57:09 PatrickC: ares code is more like enyo than mojo Jul 07 20:57:27 then I can't wait for Ares Enyo Jul 07 20:57:28 it does not look like a normal app when you dl the app. Jul 07 20:57:55 I haven't tried it yet. so I've never seen the inside of an ares ap Jul 07 20:58:04 which is why i still design my apps manually Jul 07 20:58:13 * PatrickC loves White Collar Jul 07 20:58:29 stbuehler: like, with regular code and sdk tools? Jul 07 20:58:35 and last time i tried i couldn't find anything to use the dark color scheme Jul 07 20:58:48 PatrickC: and html views, yes Jul 07 20:58:57 assistant + html snippets Jul 07 20:59:11 html views are gone with enyo, aren't they? Jul 07 20:59:28 i'm not using enyo either Jul 07 20:59:41 ah Jul 07 20:59:47 i want my apps to work on a simple pre, and bundling enyo is just a stupid idea imho Jul 07 21:00:15 I wonder if bundling enyo is even supported... Jul 07 21:00:43 no idea Jul 07 21:01:07 and fat apps?.. well, if i have to use mojo, why would i do it in enyo again? Jul 07 21:01:59 and even if older pres will get new webos, i somehow doubt it will be usable on a pre- Jul 07 21:02:29 enyo is run-able on all devices iirc Jul 07 21:02:42 and fatpacking is good for touchpad compatibility Jul 07 21:03:40 well, until someone gives me a touchpad, i can't test my apps (hybrid doesn't work on emu) Jul 07 21:04:42 i just don't think they will really care about the old devices Jul 07 21:07:24 stbuehler: sign up for the discount Jul 07 21:07:49 even if i got the 50% discount it is more money than i want to spend Jul 07 21:08:14 really.. if you got the 50% its only $300.. 60% would make it $250 Jul 07 21:08:14 i do not need a touchpad, i always have my laptop with me :) Jul 07 21:08:58 I'm the opposite. I need a touchpad. I never have my old laptop with me. Jul 07 21:09:47 and you see how good the bus strategy is working on you :) Jul 07 21:10:03 "enyo is the future" "sry, enyo doesn't work well on your old device" "get a new one" Jul 07 21:10:05 bus strategy? lol Jul 07 21:10:22 I run enyo on *all* my devices Jul 07 21:10:48 yes, but do you submit enyo apps for all devices? Jul 07 21:10:58 not yet Jul 07 21:11:03 sure i could run enyo on my own, but that isn't the point Jul 07 21:11:07 but you will soon (hopefully) Jul 07 21:11:51 it is similar to upgrading node.. sure, you perhaps can do it on your own - but that doesn't help you when you want to submit apps Jul 07 21:12:39 i have even bigger problems with node, as they didn't even fix the bug upstream (lazy coders, they just should accept my pull request :D) Jul 07 21:15:35 oh, did i mention i'm very disappointed how bad the plugin api still is? you have to manually implement some mechanism to know when the plugin is available, and it got even worse - if you just keep trying you will destroy the object... Jul 07 21:47:01 does anyone know what i'm doing wrong Jul 07 21:47:02 this.controller.setupWidget("soundToggle", this.attributes = { Jul 07 21:47:02 trueValue: "true", Jul 07 21:47:02 falseValue: "false" Jul 07 21:47:02 }, this.model = { Jul 07 21:47:02 value: true, Jul 07 21:47:02 disabled: false Jul 07 21:47:03 }); Jul 07 21:47:14 that's on scene load, it never goes to 'on' Jul 07 21:48:30 phoque are you still here ?? ;) Jul 07 21:48:30 fxspec06: you are setting to the string "true" Jul 07 21:48:32 not the value Jul 07 21:48:48 fxspec06: get rid of your trueValue and falseValue lines Jul 07 21:48:52 ok Jul 07 21:49:39 still not set to 'true' Jul 07 21:49:43 on load Jul 07 21:49:43 fxspec06: do you have any other widets in the scene with a this.model ? Jul 07 21:50:08 yes Jul 07 21:50:13 that's your issue Jul 07 21:50:15 give them unique names Jul 07 21:50:28 this.soundToggleModel Jul 07 21:50:28 s/your/your other/ Jul 07 21:50:33 ohhhhhhh Jul 07 21:50:36 i SEE Jul 07 21:50:47 leme try Jul 07 21:50:50 fxspec06: the last one become the value for ALL widgets Jul 07 21:50:51 you can't be constantly redefining the value of "this.model" Jul 07 21:52:05 fxspec06: did you ever figure out your variable problem? Jul 07 21:52:16 yeah i got a way around it Jul 07 21:52:37 i'm on to the last thing now which is setting the state of the toggle switch on load Jul 07 21:52:47 never done a widget like this Jul 07 21:52:49 sign up for my beta here -» http://awesomeapps.8tar.com/forum Jul 07 21:52:57 you know that when you do var x="something" that it's local to that function, right? Jul 07 21:53:01 fxspec06: what's the app do? Jul 07 21:53:10 fxspec06: sounds like your variable issue was with scope Jul 07 21:53:30 whereas x="somethingGlobal" is a global Jul 07 21:53:34 fxspec06: make sure you read up on javascript on https://developer.mozilla.org/en-US/docs or w3schools.com Jul 07 21:53:42 an implied global Jul 07 21:53:51 but a global nonetheless Jul 07 21:53:54 http://pastebin.com/Em2eEnW8 Jul 07 21:54:07 still doesn't start to true Jul 07 21:54:09 for soundToggle Jul 07 21:54:10 where's a good tutorial to learn about localStorage ? Jul 07 21:54:28 PatrickC: there is no tutorial Jul 07 21:54:38 how does one learn it then? Jul 07 21:54:39 localStorage["foo"] = "bar" Jul 07 21:54:41 that's all there is to it. Jul 07 21:54:44 it's an object Jul 07 21:54:52 really.. Jul 07 21:54:58 does Spaz HD use it? Jul 07 21:54:58 fxspec06: you are assigning the preference value to the ENTIRE model Jul 07 21:54:59 in setup, you should just set the value to this.soundToggle Jul 07 21:55:18 still Jul 07 21:55:21 if you need to change it later, you change the model value and then call modelChanged Jul 07 21:55:21 oh, ignore my post Jul 07 21:55:23 so I can see it implemented in an app? I'm thinking of using localStorage for my prefs Jul 07 21:55:28 fxspec06: you never assign the value to the model Jul 07 21:55:29 yeah but i'm trying to force it on to see when i get it Jul 07 21:55:45 just to get syntax right Jul 07 21:55:58 fxspec06: is this in the setup? Jul 07 21:56:02 yes Jul 07 21:56:33 http://pastebin.com/f0uaYkXz Jul 07 21:56:36 this is in Jul 07 21:56:45 chrome.js Jul 07 21:57:18 ah Ares.. Jul 07 21:57:24 yes Jul 07 21:57:26 fxspec06: http://pastebin.com/2ZaQ4Mka Jul 07 21:58:01 and I have no idea how ares does that Jul 07 21:58:10 that's for straight up mojo Jul 07 21:58:33 what happened to our resident Ares expert? Jul 07 21:58:47 sugardave? or who? Jul 07 21:58:51 i have no clue about ares. ares is a headache Jul 07 21:59:02 ares is nice for *simple* apps Jul 07 21:59:09 nothing much more then that Jul 07 21:59:20 * halfhalo waits for ares 2 Jul 07 21:59:37 yeahh there's really no reason to learn ares right now. Jul 07 21:59:38 * PatrickC does too Jul 07 21:59:47 * Tibfib will probably not use ares 2. Jul 07 22:00:02 * PatrickC will if they make it an enyo app Jul 07 22:00:06 * Tibfib likes straight up code Jul 07 22:00:11 PatrickC: they have already said they are Jul 07 22:00:20 * halfhalo is debating letting secret out. but is deciding not Jul 07 22:00:20 well on my touchpad, I'll use ares probably Jul 07 22:00:35 fxspec06: are you using the chrome.js to setup the widgets? or adding new ones through mojo? Jul 07 22:00:37 Tibfib: they said it'll be made with enyo, but who knows if it'll run on the tp Jul 07 22:00:47 halfhalo: we don't care anymore... Jul 07 22:00:54 ...it's been too long. Jul 07 22:00:57 if it still uses java, then it won't run on the tp Jul 07 22:00:59 PatrickC: I would assume it'll run on touchpad. Jul 07 22:01:13 it's all through ARES Jul 07 22:01:16 they'll have to make one for the tp that doesn't use java Jul 07 22:01:24 trying to help a friend, we've been up all night Jul 07 22:01:27 ok, then in that chrome.js... Jul 07 22:01:30 it's in ares but i'm using eclipse Jul 07 22:01:43 you have a widget Jul 07 22:01:45 i d/ld to eclipse for myself and keep trying diff things Jul 07 22:01:58 with a modelname Jul 07 22:02:04 and a value Jul 07 22:02:04 and a unicorn! Jul 07 22:02:08 no unicorns Jul 07 22:02:13 haeffb: yes modelname == id Jul 07 22:02:15 right Jul 07 22:02:20 haeffb: not necessarily Jul 07 22:02:23 is that the widget name Jul 07 22:02:32 err, fxspec06: no Jul 07 22:02:40 modelName: "loginnow", Jul 07 22:02:45 fxspec06: model is just another object Jul 07 22:02:50 ugg.. I now have to figure out how to use localStorage, and have it update a pane.. Jul 07 22:02:52 so, somewhere in the code for that scene Jul 07 22:03:06 you can do this.loginnow.value = false; Jul 07 22:03:14 PatrickC: IT'S JUST AN OBJECT YO Jul 07 22:03:16 this.controller.modelChanged(this.loginnow); Jul 07 22:03:19 i can Jul 07 22:03:19 PatrickC: there is nothing to learn about it Jul 07 22:03:30 I *think* that will work Jul 07 22:03:33 Tibfib: I have to make it update a pane when my user adds something Jul 07 22:03:34 okay lets try Jul 07 22:03:39 i've done every other possibility Jul 07 22:03:45 assuming ares makes the model a property of the sceneAssistant Jul 07 22:03:56 I'm looking at the extended feedreader tutorial which uses localStorage.. Jul 07 22:03:56 PatrickC: you need to figue out how to make an object update a pane when your user adds something. Jul 07 22:04:14 Tibfib: yes. Jul 07 22:04:15 fxspec06: yeah, all bets are off with ares Jul 07 22:04:28 if they add a favorite, I want the favorites list to be updated and saved Jul 07 22:04:29 Tibfib: localStorage is just an object? How nice! Jul 07 22:04:37 haeffb: tell it to PatrickC Jul 07 22:04:59 localStorage.myAppPrefs = {somePref: "someValue"}; Jul 07 22:05:18 myAppPrefs = localStorage.myAppPrefs; Jul 07 22:05:27 haeffb: you are a magician. Jul 07 22:05:41 that is awesome Jul 07 22:05:51 I'm looking at an app that uses it.. Jul 07 22:05:55 except that it's not backed up to the Profile Jul 07 22:05:55 haeffb: Yep, we don't have a lot of info about it though. Jul 07 22:06:03 haeffb: like how much storage space is available Jul 07 22:06:09 are cookies, now? Jul 07 22:06:10 haeffb: can't set property value of undefined. Jul 07 22:06:15 yes, supposedly Jul 07 22:06:24 haeffb: 2.x, or 3.x? Jul 07 22:06:31 4k Jul 07 22:06:32 dunno Jul 07 22:06:34 520 bytes Jul 07 22:06:37 512* Jul 07 22:06:39 can you use cookies in enyo? Jul 07 22:06:46 oh enyo. sry. Jul 07 22:06:48 PatrickC: yes Jul 07 22:07:02 fxspec06: where did you try to do that in the scene code? Jul 07 22:07:04 haeffb: same cookies that you use in mojo? Jul 07 22:07:12 PatrickC: very similar Jul 07 22:07:22 setup .. Jul 07 22:07:44 ok, in setup, your widgets have not yet been created. Try activate() Jul 07 22:07:50 haeffb: are they enyo.xxxx or are they just regular web cookies? Jul 07 22:07:57 I know mojo has mojo.cookie Jul 07 22:07:59 fxspec06: just give it back to your friend, replace all files' contents with "OH NO NOT ARES" Jul 07 22:08:08 however, it probably own't work there either Jul 07 22:08:09 Tibfib: lol Jul 07 22:08:11 PatrickC: just look at the docs Jul 07 22:08:19 PatrickC: theres an enyo.cookie Jul 07 22:08:33 haeffb: I looked.. didn't think I saw one Jul 07 22:08:34 lol Jul 07 22:08:36 I'll look again Jul 07 22:08:36 we're both trying Jul 07 22:08:41 fxspec06: can you do a log(this) in your activate(); Jul 07 22:08:46 PatrickC: look harder Jul 07 22:09:17 or, actually look. Jul 07 22:09:19 and look under enyo.dom Jul 07 22:09:27 enyo.getCookie() Jul 07 22:09:28 ctrl+f is your friend Jul 07 22:09:32 enyo.setCookie() Jul 07 22:09:40 enyo.face() Jul 07 22:10:04 * haeffb is totally going to make an enyo.face() function Jul 07 22:10:10 haeffb: please do Jul 07 22:10:10 nope exception occured in activate. -.- Jul 07 22:10:17 and LOL @ haeffb Jul 07 22:10:35 fxspec06: how about Mojo.Log.info(this); Jul 07 22:10:44 or better.. Jul 07 22:10:56 Mojo.Log.info("This is %j", this); Jul 07 22:11:14 you're using palm-log in a command prompt? Jul 07 22:12:23 * haeffb really knows nothing about how Ares sets up widgets anymore Jul 07 22:12:37 i have to do Jul 07 22:12:45 Mojo.Log.error( Jul 07 22:12:46 to do logs Jul 07 22:12:50 in this app Jul 07 22:12:50 -.- Jul 07 22:12:54 ok Jul 07 22:12:57 (THANKS ARES) Jul 07 22:13:35 so what am i trying to log Jul 07 22:13:41 This is %j Jul 07 22:13:43 ,this Jul 07 22:13:54 in -- activate ? Jul 07 22:14:04 you're trying to see what's in "this" Jul 07 22:14:14 okay Jul 07 22:14:20 Mojo.Log.error("This is %j", this); Jul 07 22:14:37 but it's going to be way to big to fit in the palm-log truncated string Jul 07 22:14:42 didn't know you could do that Jul 07 22:15:04 yeah, you're not going to get anything useful Jul 07 22:15:09 use hte ares debugger Jul 07 22:15:16 http://ares.palm.com/AresDebug/ Jul 07 22:15:27 set a breakpoint Jul 07 22:15:39 yeh it crashed Jul 07 22:15:42 kaboom Jul 07 22:15:44 lol Jul 07 22:22:54 so how do i do breakpoint in ares debugger Jul 07 22:23:31 click on the left side next to line numbers and make a bullet Jul 07 22:23:52 like in visual studio/eclipse Jul 07 22:24:17 * haeffb really likes inkscape Jul 07 22:26:42 * fxspec06 knows nothing of this Jul 07 22:47:09 i coded a plugin wrapper to use a future based api for my plugin: https://github.com/stbuehler/pre-qrdecoder/blob/master/de.stbuehler.qrdecoder/app/models/pluginwrapper.js Jul 07 22:59:12 sorry if this is already discussed, but anyone know the status of x/xterm on the pad? Jul 07 22:59:19 it installed but doesn't seem to start Jul 07 23:00:37 you can always check github Jul 07 23:00:50 cxreg: and #webos-internals would be a better place for that Jul 07 23:00:56 they know more of the status Jul 07 23:01:09 fair enough Jul 07 23:01:55 does anyone have the touchpad case by chance? Jul 07 23:02:01 and I believe rwhitby is working on fixing it. Jul 07 23:02:09 http://git.webos-internals.org/?s=idle Jul 07 23:02:22 interesting to see what's being worked on Jul 07 23:02:51 http://git.webos-internals.org/applications/xecutah/ that's what I think fixes it. but I'm not 100% sure, as I don't have a tp Jul 07 23:04:04 hello webos Jul 07 23:06:35 haeffb, you were totally right. using events to talk to owner rather than attempting to call function in owner is a much better approach. it took me backing myself into a corner that only events could solve to realize it. thanks for the help. Jul 07 23:20:02 does anyone know of any code examples of how to set a daily alarm and run code without launching the application in enyo? Jul 07 23:21:13 nope Jul 07 23:21:26 I'm gonna figure out enyo.cookie later Jul 07 23:21:58 haeffb: enyo.cookie or enyo.dom ? or both. don't have the docs close right now Jul 07 23:27:16 Flashpass: you have to do a noWindow: true app Jul 07 23:27:30 PatrickC: cookies are in enyo.dom in the docs Jul 07 23:28:41 Flashpass: this is pretty rough, but it may be enough to get you started: https://github.com/haeffb/pondNotes Jul 07 23:29:09 haeffb: okay anything would help, i'd gladly read the docs if there was any haha Jul 07 23:29:31 haeffb: ok. I didn't know if they were the same. I don't have the docs near atm Jul 07 23:29:37 haeffb: so does you app have some feed download periodically? Jul 07 23:30:09 that version doesn't, but the current version syncs every 30 minutes Jul 07 23:30:24 but the code is sort of in there. Look in nowindow/applaunch.js Jul 07 23:30:33 and the various index.html's Jul 07 23:31:26 I borrowed stuff from the email app, but haven't had a chance to refine it yet Jul 07 23:33:36 oh, and PatrickC, the appLaunch also gives an example of creating/saving preferences in cookies Jul 07 23:35:22 haeffb: okay thanks, i'll take a look Jul 07 23:36:19 haeffb: ok cool Jul 07 23:36:22 thanks Jul 07 23:41:07 are there any weird restrictions around enyo.Spinner? like, can you not show a spinner if a popup or a scrim is showing? probably just a dumb syntax mistake on my part but I can't get a spinner to show Jul 07 23:41:31 zylogz80: Do you have the spinner as a component of the scrim? Jul 07 23:41:50 Popple3, no, it's just floating free as a componant of the main kind I'm working in Jul 07 23:42:17 oh - I wonder if it is behind my popup? Jul 07 23:42:21 I think for combining scrims and spinners, it's best to add the spinner as a component to the scrim Jul 07 23:42:22 * zylogz80 experiments Jul 07 23:42:28 it's a z-index issue anyway Jul 07 23:42:36 cool thanks Popple3 Jul 07 23:42:42 no worries Jul 07 23:43:22 I wonder how much trouble I could get into if I made a TouchPad rip off of Pulse News Reader... Jul 07 23:47:24 OH! the spinner is tiny! Jul 07 23:47:34 you want LargeSpinner Jul 07 23:47:43 cool Jul 07 23:50:01 haeffb: i'm having a bit of trouble understanding where the entry point of the application is when the alarm occurs? Jul 07 23:59:41 haeffb: ping Jul 08 00:05:39 ok. how do I tie a enyo.cookie to an element in enyo? Jul 08 00:07:37 Totally didn't realise Xuzz and chpwn were the same person... O_o Jul 08 00:07:53 er, yeah ;P Jul 08 00:08:28 chpwn: I'm slow :( Jul 08 00:09:20 I didn't realize that either lol Jul 08 00:10:11 ok. prefs pane created. time to do some work.. Jul 08 00:19:49 Flashpass: the first index.html creates an instance of appLaunch.js Jul 08 00:20:52 and then sets the application.relaunchHandler to the appLaunch.relaunch() Jul 08 00:21:08 ah i see Jul 08 00:23:25 and it eventually gets to relaunch() regardless of whether the app is running or not Jul 08 00:23:32 haeffb: okay I see, so it eventually would get down to the launchSync method Jul 08 00:24:05 does anyone in here use the enyo.ToggleButton ? Jul 08 00:24:14 if the params were "sync" Jul 08 00:24:19 right Jul 08 00:24:35 so if I wanted to do background processing only, I Jul 08 00:25:02 I would have a similar relaunch method, but just not render the UI? Jul 08 00:25:22 ya, I wanted to show the syncing spinner if the app was running, so I check to see if the window is open or not Jul 08 00:26:33 but that's not necessary and maybe not even desirable... Jul 08 00:27:01 man Jul 08 00:27:07 I don't think WildGarlic can get approved Jul 08 00:28:18 WildGarlic ? Jul 08 00:29:14 haeffb: so I'm just trying to do a daily download and post up a notification based on the returned content, regardless of whether the application is open or not I think Jul 08 00:31:25 can I chain events. like, say, have a kind that exposes an events called doFoo and a child component of that kind that has an event handler onClick and have onClick from the child fire doFoo on the parent? Jul 08 00:33:31 I guess it's easy enough to find out! Jul 08 00:36:41 zylogz80: I assume you mean using Enyo events? Jul 08 00:37:32 zylogz80: in my child, I have n onLogin Event. In the parent when creating the child, I set onLogin to "apiLogin" Jul 08 00:37:43 apiLogin calls the doLogin of the parent Jul 08 00:38:38 when then calls it's doLogin event defined in it's parent Jul 08 00:38:40 haeffb, so you have to call a function that fires the event? you can't have the event fire another event, like onClick="doFoo" with onFoo defined in the events section of the parent kind and onClick in a button say Jul 08 00:38:56 my impression was that you could certainly let events bubble up, but it doesn't happen automatically, ala DOM events Jul 08 00:39:30 I think I agree with funkatron, but I've been drinking so I may be full of shit. Jul 08 00:39:37 hahahahhaa Jul 08 00:39:44 haeffb, I Jul 08 00:39:54 haeffb, I'm giving it a shot now. it looks like it should work :P Jul 08 00:41:30 how do I make text appear *next to* an enyo.ToggleButton ? Jul 08 00:41:43 PatrickC: tell it to appear there. Jul 08 00:41:51 PatrickC: look in style matters example Jul 08 00:41:57 it will do whatever you tell it to do Jul 08 00:42:02 oil: good idea.. forgot about that Jul 08 00:42:16 haeffb: I tried that. it only appears under it.. Jul 08 00:42:26 you didn't tell it to, then Jul 08 00:42:26 just leave it open when you're developing :) Jul 08 00:42:36 oil: good idea :) Jul 08 00:42:51 maybe a HFlexBox would be helpful Jul 08 00:43:10 maybe.. forgot about those.. Jul 08 00:44:24 make a note. They're important Jul 08 00:45:30 ls doesn't work in windows cmd line lol Jul 08 00:45:32 * haeffb should stop being a dick. Jul 08 00:45:43 but I blame oil. Jul 08 00:50:09 oil: umm.. style matters won't launch :/ Jul 08 00:50:50 am i being blamed for that as well? Jul 08 00:51:09 yes.. yes you are :P Jul 08 00:51:21 I'll probably just have to use it in chrome.. :/ Jul 08 00:58:42 is there a way to map the button on the wired headset to activate voice dialing? Jul 08 01:03:14 man my laptop is slow.. Jul 08 01:05:26 thanks oil, haeffb. that worked Jul 08 01:05:43 now that I have the pane set up, I need to get prefs set up. Jul 08 01:06:00 ok. how do I tie a enyo.cookie to an element in enyo? Jul 08 01:19:39 what's up patrick Jul 08 01:19:51 trying to get cookies to work Jul 08 01:19:57 haha Jul 08 01:20:09 PatrickC: cookies in enyo? Jul 08 01:20:10 * fxspec06 snickers devilishly Jul 08 01:20:15 LoneStar99: yes Jul 08 01:20:45 hrmm.. and its throwing an error idk why Jul 08 01:20:54 PatrickC: --> enyo.setCookie('handle', 'cookie monster'); Jul 08 01:21:31 hmm.. I'll try that Jul 08 01:21:40 or var c = 'cookie moster'; enyo.setCookie('handle', c); Jul 08 01:22:18 forgot the "," Jul 08 01:22:34 enyo.getCookie('handle'); Jul 08 01:22:41 ok cool Jul 08 01:22:48 didn't work Jul 08 01:22:52 I'll paste Jul 08 01:22:54 i wish i could help Jul 08 01:22:55 but Jul 08 01:23:09 i don't know enyo cookies Jul 08 01:24:11 http://pastebin.com/fsjftUSb Jul 08 01:24:24 its throwing the error at enyo.setCookie Jul 08 01:24:48 thx LoneStar99 Jul 08 01:24:59 try --> enyo.setCookie('metrixToggle', this.$.metrixToggle.getState()); Jul 08 01:25:41 nope Jul 08 01:25:47 doesn't keep the toggle toggled Jul 08 01:25:55 I'll paste the whole pane Jul 08 01:26:14 LoneStar99: http://pastebin.com/PsSMA1Qe Jul 08 01:28:03 PatrickC: have not messed with enyo toggle stuff =( Jul 08 01:28:19 is the value being passed at all? Jul 08 01:28:32 idk.. I'll check the log Jul 08 01:29:00 nope Jul 08 01:29:48 I'll try changing the name of the cookie from the name of the toggle Jul 08 01:29:55 oh jeez Jul 08 01:29:58 you're using toggle Jul 08 01:30:06 * fxspec06 has a new headache Jul 08 01:30:41 yeah.. Jul 08 01:32:13 lol Jul 08 01:32:31 i almost do to, analyzing some ugly code.... Jul 08 01:33:19 lol Jul 08 01:33:32 haeffb: help? Jul 08 01:34:30 the problem aint the cookie its the toogle Jul 08 01:34:46 the toogle? :P Jul 08 01:34:49 toggle* Jul 08 01:35:12 yeah Jul 08 01:36:22 YES the problem Jul 08 01:36:25 is never the cookie Jul 08 01:36:36 it's always the *cencored* toggle Jul 08 01:38:21 PatrickC: yes? Jul 08 01:39:23 "The Toggle The Sequel" Jul 08 01:39:47 what the hell is this: # Jul 08 01:39:47 enyo.setCookie('metrixToggle', 'return this.$.metrixToggle.getState()'); Jul 08 01:39:47 # Jul 08 01:40:11 haeffb: setting the cookie to the state of the toggle? Jul 08 01:41:09 you're setting the cookie to a string Jul 08 01:41:22 'return this.$.metrixToggle.getState()' Jul 08 01:41:33 my problem seems to be that the toggle isn't even registering.. Jul 08 01:42:34 registering what? Jul 08 01:43:00 that its being touched. Jul 08 01:43:01 http://pastebin.com/8WrWY3tH Jul 08 01:43:36 what is a "HeaderView" kind? Jul 08 01:43:49 that was what the app used.. Jul 08 01:44:02 I kinda copy/pasted from the Media app to get myself started Jul 08 01:44:26 I can send you the ipk if you need Jul 08 01:44:34 * fxspec06 red sox just hit back-to-back-to-back home runs Jul 08 01:44:57 * PatrickC thinks fxspec06 should sign up for the beta forum ;) Jul 08 01:46:24 haeffb: shouldn't this http://pastebin.com/g69BLY8b make it log whenever its toggled?, Jul 08 01:48:01 maybe Jul 08 01:48:05 when i have a minute of free time Jul 08 01:48:08 =) Jul 08 01:48:26 PatrickC: the docs say "# Jul 08 01:48:26 enyo.setCookie('metrixToggle', 'return this.$.metrixToggle.getState()'); Jul 08 01:48:26 # Jul 08 01:48:26 " Jul 08 01:48:39 wait, that's not what they say... Jul 08 01:48:56 {kind: "ToggleButton", onLabel: "foo", offLabel: "bar", onChange: "buttonToggle"} Jul 08 01:49:09 your code says onchange Jul 08 01:49:18 case is important Jul 08 01:55:38 * zylogz80 high-fives everyone in #webOS because his app is now starting to be really functional Jul 08 01:56:59 wewt Jul 08 01:57:32 * fxspec06 high-fives zylogz80 and everyone else except patrick because his app is becoming absolutely incredible Jul 08 01:57:43 hahahha Jul 08 02:00:40 fxspec06: umm.. you use my app ;) Jul 08 02:02:13 haeffb: http://pastebin.com/H9dWpPC1 Jul 08 02:02:27 even after changing it to onChange it still doesn't register Jul 08 02:07:04 hey dkirker Jul 08 02:07:17 hi PatrickC! Jul 08 02:07:25 hey dkirker Jul 08 02:07:30 hi SineOt! Jul 08 02:07:36 * PatrickC mumbles at enyo.ToggleButton Jul 08 02:08:21 PatrickC: kind: HeaderView, Jul 08 02:08:31 haeffb: so? Jul 08 02:08:33 is HeaderView a veriable defined somewhere? Jul 08 02:08:41 variable Jul 08 02:09:48 HeaderView http://pastebin.com/3ZawwG8j Jul 08 02:15:37 haeffb: http://goaruna.com/s/Haz362WE Jul 08 02:15:42 there's the IPK Jul 08 02:16:58 sorry, I don't have time to look through the .ipk Jul 08 02:17:16 ok.. Jul 08 02:17:23 but, you might try kind: "HeaderView" instead of kind: HeaderView Jul 08 02:17:38 it works in all the other panes, but I'll try that Jul 08 02:18:27 I asked before but maybe different people are on. is there a refence for the enyo css flasses like there is for the api? I'm starting to get to where I want to add some visual styling. Jul 08 02:18:35 s/flasses/classes Jul 08 02:27:38 * PatrickC needs a touchpad Jul 08 02:30:57 * PatrickC is hungry.. brb Jul 08 02:32:31 2nd that hungry here! Jul 08 02:33:02 ah. now it works Jul 08 02:33:05 time for dinner Jul 08 02:34:09 where are you located? Jul 08 02:34:09 zylogz80: look in framework/source/palm/themes Jul 08 02:34:19 summatusmentis: me? Jul 08 02:34:24 yeah Jul 08 02:34:30 in Tennessee Jul 08 02:34:36 /Onyx Jul 08 02:34:39 is that EST? Jul 08 02:34:41 its 9:30 PM here Jul 08 02:34:43 CST Jul 08 02:34:47 ah Jul 08 02:34:50 I'm near nashville Jul 08 02:34:58 9:30 is awfully late to eat dinner, which is why I ask :) Jul 08 02:35:05 time for lunch Jul 08 02:35:07 haeffb, cool - thanks Jul 08 02:35:10 lol Jul 08 02:35:16 rwhitby: :-D Jul 08 02:35:20 rwhitby: is it really only noon there? Jul 08 02:35:36 (just to show how silly discussion of meal times is on the internet) Jul 08 02:36:04 PatrickC: yeah, the world has these things called timezones ... Jul 08 02:36:36 PatrickC: any the majority of the population of the planet live in timezones ahead of yours. Jul 08 02:37:10 no, timezones are a lie perpetrated upon us by the New World Order Jul 08 02:37:11 >_> Jul 08 02:37:18 In fact, most people in the world are having lunch right now. Jul 08 02:37:38 you guys talking about dinner are in the minority. Jul 08 02:44:54 haeffb: fixed the "toggle not registering" issue Jul 08 02:48:23 ok so maybe I need to put more thought into messing with styles. things just got weird quick. Jul 08 02:48:44 that happens Jul 08 02:53:20 rwhitby: I've added the first enyo toolbar icon here: http://www.webos-internals.org/wiki/Mojo_Design_Icons Jul 08 02:53:29 let me know if I should change something. Jul 08 02:54:49 haeffb: looks good Jul 08 02:55:00 feel free to do a reverse link on the other Icons page too **** ENDING LOGGING AT Fri Jul 08 02:59:58 2011