**** BEGIN LOGGING AT Fri Dec 03 03:00:00 2010 Dec 03 05:37:23 what is the harrier AV8B kernel? Dec 03 05:38:05 wait and see Dec 03 05:38:28 * halfhalo thinks it adds a jet engine to the pre Dec 03 05:39:21 lol Dec 03 05:39:39 well, the harrier hovers so, turns pre into a UFO? Dec 03 05:41:08 lol, it reminds me of harrier attack, anyone here remember? Dec 03 09:29:42 yawn*stretch Dec 03 09:39:55 dd if=/mypalmpre of=/myhdd didnt copy the way i thought it would have.. :( Dec 03 10:03:58 someone can help me to use an sqlite db on a pre app ??? i have created the db but now i don't know where i have to put it to open it from come code... Dec 03 15:29:02 what's the current status of the Franken-Pre Project? Dec 03 15:29:27 My Sprint pre-Plus is itching to be thrust into the future! Dec 03 16:24:22 David-NYC: heh, hard to answer, you're gone Dec 03 16:24:28 :) Dec 03 16:28:18 Darkmagister -- you really have a very hard time creating an sqlite db externally to the pre and geting it working inside the pre Dec 03 17:02:45 Hello hello Dec 03 17:04:03 Hey Unixpsycho isnt here, but I was wondering if anyone else here knows about the AV8B Kernel he is working on? I am very curious about its speed! lol Dec 03 17:04:35 He already said that it is for the 1.4.5 Pres So thats one thing we know Dec 03 18:06:40 heyho Dec 03 18:07:40 morphis: morning Dec 03 18:14:22 destinal: saw you notes about nook on webos-internals Dec 03 18:14:39 why you are putting them on webos-internals wiki page? Dec 03 18:18:55 : any gettag/mobi in webos? Dec 03 18:28:39 morphis: ah, well, as to that, I we needed some scratch space and also NC would make a good webos tablet :) Dec 03 18:29:04 ah ok Dec 03 18:29:05 :) Dec 03 18:31:45 morphis: it's totally unlocked like palm's devices, btw, will boot omap3 usb or sd card, so really interesting for omap3 development Dec 03 18:32:06 also very inexpensive Dec 03 18:32:12 how much? Dec 03 18:32:19 $250 Dec 03 18:33:23 multitouch screen by cypress rated for "unlimited" touches Dec 03 18:33:38 I'm sure practically you could use it for 5 or 10 Dec 03 19:14:25 chuqui: ping Dec 03 19:15:41 jhowirc: ping Dec 03 20:35:08 hello Dec 03 20:38:00 ola Dec 03 20:52:36 for hybrid apps, you can call a javascript function from the plugin using PDLCallJS() right? Dec 03 20:52:52 err, meant PDL_CallJS Dec 03 20:56:33 yeah Dec 03 21:00:05 liar Dec 03 21:01:54 I can't get the javascript side to be called Dec 03 21:02:23 so... I think I might take a crack at compiling truecrypt for webos this weekend. has this been tried? Dec 03 21:02:23 on the javascript side, I'm doing something like: plugin.callback = this.pluginCallback.bind(this) Dec 03 21:03:24 from the log it looks like the function that calls PDL_CallJS runs Dec 03 21:03:38 it's just that PDL_CallJS does not call the js Dec 03 21:05:24 rsanchez1: look at wirc code, we use it Dec 03 21:05:43 fprimex: i believe rwhitby has done it, we're actually working on an app for mounting/etc Dec 03 21:06:10 do you know off the top of your head which file I should look at? Dec 03 21:06:18 oil: nice! any tips, or is anything available yet? Dec 03 21:06:55 no tips :/ Dec 03 21:06:59 no app yet Dec 03 21:07:26 ok. we'll see how far I get then :) Dec 03 21:07:37 rsanchez1: http://git.webos-internals.org/?p=applications/wIRC.git;a=blob;f=app/models/wircPlugin.js;h=4cf80f2334eab7c8280b73b81817f57eb8b19abf;hb=HEAD Dec 03 21:07:45 is the js side where we register the functions Dec 03 21:07:54 http://git.webos-internals.org/?p=applications/wIRC.git;a=tree;f=src;h=387a3fa6fcefb614e87ec87dbdf3e26a19b5030f;hb=HEAD Dec 03 21:07:55 is the plugin Dec 03 21:08:02 (idk where the code is in there) Dec 03 21:08:15 hehe... plugins... Dec 03 21:08:15 well, that's how I am registering the functions Dec 03 21:08:42 plugin.event_join = this.event_join_handler.bind(this) Dec 03 21:08:48 yes Dec 03 21:09:03 and you're including the plugin object and everything? Dec 03 21:09:26 does it have to be the plugin function with _handler appended? Dec 03 21:09:33 [15:53] on the javascript side, I'm doing something like: plugin.callback = this.pluginCallback.bind(this) Dec 03 21:10:05 the "this.event_join_handler" is the js plugin we're telling the plugin about Dec 03 21:10:10 js function* Dec 03 21:10:28 what I mean is, in my example, should it be this.callback_handler.bind(this) Dec 03 21:10:33 * halfhalo will donate the price of a beer to internals when wirc is released Dec 03 21:10:37 i dont think its required Dec 03 21:10:52 just how we did it to better keep track :) Dec 03 21:11:00 rsanchez1: perhaps your problem is in the plugin calling the js Dec 03 21:11:08 if you pastebin it PuffTheMagic might be able to help Dec 03 21:11:14 but i know nothing of that side Dec 03 21:11:27 that's what I thought, so I had it syslog messages in the plugin, and the lines right before the PDL_CallJS run just fine Dec 03 21:11:34 be back in 10 minutes Dec 03 21:11:36 * halfhalo votes oil moves to node.js since its js Dec 03 21:12:15 * oil doesnt want to make PuffTheMagic cry Dec 03 21:12:49 hah Dec 03 21:12:54 its easier to debug as well Dec 03 21:13:26 and, you know, not be a hybrid app Dec 03 21:13:27 and this way i get to blame things on the plugin Dec 03 21:13:35 if it was all js i would have to do everything! Dec 03 21:13:43 I know! Dec 03 21:14:31 * halfhalo is almost pure node.js now Dec 03 21:15:25 what is all this about? Dec 03 21:15:44 rsanchez1 is doing plugin calling js functions Dec 03 21:15:51 was having problems, told him you might be able to help him :) Dec 03 21:16:06 no what about wirc? Dec 03 21:16:29 oh, just halfhalo campaigning for a switch to node Dec 03 21:16:29 if yall want to boot me out of wirc just before we can sell it go ahead Dec 03 21:16:30 :( Dec 03 21:16:39 * oil doesn't want to Dec 03 21:16:43 * halfhalo either Dec 03 21:17:10 then why does it keep coming up Dec 03 21:17:23 what is the benefit of js besides you not knowing C Dec 03 21:17:24 it wasn't me Dec 03 21:17:28 * halfhalo wasn't talking about wirc perse Dec 03 21:17:31 read the backlog Dec 03 21:17:31 jeeaz Dec 03 21:17:54 esp since wirc is already stable. ish Dec 03 21:19:25 but for something like a file manager? totally go node Dec 03 21:20:17 * halfhalo loves nodes fs module Dec 03 21:21:16 halfhalo, so re: your debugging comment... u are saying its easier to debug compared to C.... is that because you dont know C yourself Dec 03 21:22:00 partially, but you can also reload the service on the fly, and its even easier on a full blown computer where you can make node reload modules on a file change Dec 03 21:22:26 and no compiling required, etc Dec 03 21:22:44 ok back Dec 03 21:22:57 compiling is a 3 second task Dec 03 21:23:07 I'll pastebin the code then, it's basically just a file downloader with curl, but with a progress callback added Dec 03 21:23:52 halfhalo, how does reloading the service not interupt/break the gui Dec 03 21:24:35 depends on how its done. and if you reload the entire service Dec 03 21:25:20 if you reload the whole service? breakage Dec 03 21:25:37 * oil thinks plugin is perfect Dec 03 21:25:38 but it you reload a module imported in a service? then you can make it work Dec 03 21:26:31 the only thing in my mind that a node service would have over the plugin is not needing the main scene to always be there with the tag Dec 03 21:26:45 but not being able to toss the main card isn't a problem Dec 03 21:27:17 thats also true Dec 03 21:27:18 well we could just get fancy about what the "main card" is Dec 03 21:27:33 * oil doesnt think we need to change it Dec 03 21:27:37 i dont think the main card always needs to be the server view Dec 03 21:27:44 oh, forgot that node don't care about the cpu arch as well Dec 03 21:28:16 neither does C code Dec 03 21:28:36 the compiler does though ;) Dec 03 21:28:43 hah Dec 03 21:28:52 lol Dec 03 21:28:58 my plugin will run on any arch Dec 03 21:29:07 and when webos2 fixes hybrids on pixi all will be gravy :) Dec 03 21:29:44 can node bind to specific network interfaces? Dec 03 21:29:46 for wirc/preware, totally go c. For something like a filemanager? totally node. Dec 03 21:29:49 when creating sockets? Dec 03 21:30:11 speaking of preferred interface... :) Dec 03 21:30:15 lol Dec 03 21:30:16 no.... but there might be a way around that, but its a tad hacky Dec 03 21:30:20 .... on a side note... my broken esn vzw pixi is in the mail Dec 03 21:30:30 oil, thats on my todolist for this weekend actually Dec 03 21:30:40 want to submit on monday if we can Dec 03 21:30:43 so you dont need the touchscreenless pixi? Dec 03 21:30:56 oil, no i said that this morning Dec 03 21:31:04 ah, ok Dec 03 21:31:08 i didn't see it Dec 03 21:31:13 now, theres also the most important node vs c arguement Dec 03 21:31:18 ka6sox will send it to space then :) Dec 03 21:31:33 yup Dec 03 21:31:59 here is my pastebin: http://webos.pastebin.com/60iVL60Q Dec 03 21:31:59 no one can patch my plugin ;) Dec 03 21:32:12 rsanchez1, did u look at the wirc plugin for help Dec 03 21:32:17 yes Dec 03 21:32:18 most important argument? which one you feel the most comfortable with Dec 03 21:32:39 I've been using the wirc plugin to learn hybrid apps Dec 03 21:32:58 what I pastebinned was just the two relevant parts Dec 03 21:33:06 there's other code for my plugin Dec 03 21:33:46 oil, i actually activated my pixi and am using it right now... i love it Dec 03 21:33:54 cant wait for pixi2 Dec 03 21:33:59 lol Dec 03 21:34:05 i want pixi kb on my pre Dec 03 21:34:10 hah Dec 03 21:34:25 * halfhalo goes back to yelling at his node script Dec 03 21:34:34 i love how the pixi is 1/8 the weight of the pre Dec 03 21:34:39 oil: rwhitby recommended using a knife ;) Dec 03 21:35:05 PuffTheMagic: if we're gonna submit it on monday, ill give the gui a once over this weekend Dec 03 21:35:33 remember, we need to give the appcat a different package id then homebrew (or it will cause problems) Dec 03 21:35:38 oil: wIRC submitted to the app catalog? Dec 03 21:35:41 like org.webosinternals.wirc.appcat Dec 03 21:35:48 * halfhalo think that the action privmsg bug should be fixed Dec 03 21:36:12 yeah, I'd say if it's going to get stuck in the app cat, fix that first... :s Dec 03 21:36:20 what, the length bug? Dec 03 21:36:22 because it's not exactly a fringe case Dec 03 21:36:27 * halfhalo is thinking of different bug Dec 03 21:36:29 or the display bug? because that was fixed Dec 03 21:36:29 yeah, 307 on redmine Dec 03 21:36:49 oil: what's the latest version? Dec 03 21:36:55 look in git Dec 03 21:37:08 and as much as i love talking about the awesomeness that is wirc, ive gotta get back to work Dec 03 21:37:11 laters Dec 03 21:37:23 hah Dec 03 21:38:16 oil: the bug is still there in 0.3.4, so Dec 03 21:46:44 does webOS use webkit, or the webkitGTK port? Dec 03 21:46:53 ya there are 2.5 bugs i want to fix for wirc this wekend Dec 03 21:47:13 preferred interface, incomming /me's, and the connection timeout (maybe) Dec 03 21:47:18 2.5 bugs? only fixing half a bug? :p Dec 03 21:47:33 i only consider something part of a bug Dec 03 21:47:39 did the /me parse issue ever get fixed for private messages? Dec 03 21:47:41 not that i am going to fix it half way Dec 03 21:48:07 halfhalo, how is that different than what i said Dec 03 21:48:14 is that for outgoing or incomming Dec 03 21:48:25 not channel messages, but person to person messages Dec 03 21:48:31 and incomming Dec 03 21:48:38 halfhalo: it doesn't work anywhere, and only for incoming Dec 03 21:48:52 * halfhalo isn't talking about the length issue Dec 03 21:50:01 heyho! Dec 03 21:50:48 action messages do not get parsed properly and end up with : at the beginning of the message Dec 03 21:51:20 it should be like a 30 second fix methinks Dec 03 21:52:03 halfhalo: haha, well... Depending on the context, that might just be people being dumb and assuming muck/mud styling for action messages Dec 03 21:52:06 halfhalo, ya : should be 2 second fix Dec 03 21:52:11 where you prefix them with : instead of /me Dec 03 21:52:25 no, its not that SineOt. Dec 03 21:52:37 just making sure :] Dec 03 21:52:40 I see that all the time Dec 03 21:52:57 The format for the message that gets recieved is slightly different since its being sent to a person and not a channel, and the parser gets hung up on it Dec 03 21:53:03 SineOt, i have no idea what u are talking about Dec 03 21:53:20 PuffTheMagic: don't worry about it Dec 03 21:54:36 at least from what I know, all messages should be getting sent as PRIVMSG where the target is either #channel or userName... Unless it does do something else Dec 03 21:54:51 right.... Dec 03 21:55:02 thats correct Dec 03 21:55:13 all messages except for ctcp actions Dec 03 21:55:28 but something changes slightly in the format Dec 03 21:55:33 right Dec 03 21:55:54 SineOt, are u talking about the nick delimeter that most clients allow you to send Dec 03 21:56:01 PuffTheMagic: with the :? Dec 03 21:56:04 SineOt, vs SineOt: vs SineOt- Dec 03 21:56:28 No, if you're on a muck or mud (old school BBS stuff) you send chat messages by prefixing with " and actions with : Dec 03 21:56:41 sometimes people on IRC will keep using that even though it's the wrong syntax for the client Dec 03 21:56:56 well on IRC those would just be messages Dec 03 21:57:02 unless u had some crazy client Dec 03 21:57:05 yeah, they are Dec 03 21:57:07 that does some sort of conversion Dec 03 21:57:09 like... wircQ Dec 03 21:57:11 ! Dec 03 21:57:13 I thought that's what halfhalo might have been seeing Dec 03 21:57:19 nope Dec 03 21:58:25 oil, so how about org.webosinternals.org.com.wirc Dec 03 21:58:36 err Dec 03 21:59:30 it should end in wirc Dec 03 21:59:33 not appcat Dec 03 21:59:40 org.webosinternals.appcat.wirc Dec 03 21:59:55 org.webos-internals.wirc? Dec 03 22:00:50 or that Dec 03 22:01:52 or org.webos-internals.rock.with.wirc Dec 03 22:01:53 ;] Dec 03 22:02:02 hmmm... motorola ces.... Dec 03 22:02:55 its a very red email... Dec 03 22:03:05 i get some red too... Dec 03 22:03:13 ppl still use priority on emails :S Dec 03 22:23:14 oil_, u need to request a freenode cloak dude Dec 03 22:25:52 * halfhalo lulz at the word dude Dec 03 22:26:47 * PuffTheMagic just got a near 3k expense check from work for his trip to SF Dec 03 22:27:21 You can not send a message to javascript while responding to a message from javascript ? Dec 03 22:27:30 That's the error I got from PDL_CallJS Dec 03 22:27:30 correct Dec 03 22:27:34 darn... Dec 03 22:27:45 rsanchez1: you have to return from your plugin call first Dec 03 22:28:05 you can't call js -> plugin -> another method -> PDL_CallJS Dec 03 22:28:25 rsanchez1, why would u do that anyway Dec 03 22:28:29 js -> plugin method -> does (minimal) stuff -> return Dec 03 22:28:38 I'm using curl to download the file, PDL_CallJS is in the progress callback function, and I want the progress to show on the javascript side Dec 03 22:28:57 different functions Dec 03 22:29:04 rsanchez1, its like this... Dec 03 22:29:07 rsanchez1: I mentioned this the other day you need threads Dec 03 22:29:13 yes u do Dec 03 22:29:22 js calls start method in plugin, plugin kicks off worker thread and then returns Dec 03 22:29:34 ++ Dec 03 22:29:35 plugin worker thread calls js progress function Dec 03 22:29:43 ++ Dec 03 22:29:51 ok Dec 03 22:30:14 thanks Dec 03 22:30:55 rsanchez1, if u didnt do it that way, how would u ever cancel a dl? Dec 03 22:31:11 didn't get to that part yet Dec 03 22:31:45 rsanchez1, how could u go about starting something with out thinking about how to stop it Dec 03 22:32:19 I was going to get to that eventually Dec 03 22:32:26 taking this step-by-step Dec 03 22:34:05 so just to be extra clear, u should spawn the worker thread for the progress bar before starting the download so u dont miss events ;) Dec 03 22:37:31 I gotta learn threads now Dec 03 22:39:09 they are pretty damn easy Dec 03 22:39:41 threads are for cpu's with more than one core... :p Dec 03 22:40:58 no they arent Dec 03 22:41:31 threads are a way of not writing massive event loops Dec 03 22:41:42 * halfhalo votes async Dec 03 22:41:54 threads are async Dec 03 22:42:58 * halfhalo is lazy and just makes node do his async stuffs Dec 03 22:43:55 like u have a choice Dec 03 22:45:08 lol Dec 03 22:45:23 checkmate Dec 03 22:48:11 threads are for multi-tasking Dec 03 22:48:23 which has nothing to do with events or cpu cores ;0 Dec 03 22:48:55 all your fancy node.js stuff is threaded under the hood! Dec 03 22:49:58 IIRC its not Dec 03 22:50:02 its all done in one thread Dec 03 22:51:40 does wIRC use threads? Dec 03 22:54:11 yes Dec 03 22:54:34 heh... thats nodes main issue keeping it from large scale deployments Dec 03 22:55:05 that is js in general isnt it Dec 03 22:55:22 not really... Dec 03 22:55:35 halfhalo, u have such a hardon for node its not neven funny Dec 03 22:55:57 * halfhalo uses node when its appropriate only Dec 03 22:56:14 halfhalo thinks node is appropriate for everything? Dec 03 22:56:16 server stuff? much rather use node than python/c/ruby Dec 03 22:56:23 halfhalo: in one thread? so it runs around a big ugly polling loop? Dec 03 22:56:23 websites/frontend stuff? hell no Dec 03 22:56:37 egaudet: I think so Dec 03 22:56:51 eww Dec 03 22:56:55 alright bbl Dec 03 22:56:55 eww++ Dec 03 22:57:33 one of the first node examples I saw was a server Dec 03 22:57:44 yup Dec 03 22:57:57 websockets connected to a node server Dec 03 22:58:03 but node is limited to around 10k simu connections due to its single thread Dec 03 22:58:43 no-one will ever want more than 64k simultaneous connections Dec 03 22:58:57 I know right? Dec 03 22:59:25 theres also the annoying stupid c8 mem limit Dec 03 22:59:32 egaudet: it's a big select loop, not polling Dec 03 23:05:59 * halfhalo would never use node in a large scale production enviroment. But on device? it fits in perfectly for a large amout of use cases Dec 03 23:22:55 halfhalo: the query action bug was fixed Dec 03 23:23:05 orly Dec 03 23:23:19 mr to important for a bouncer Dec 03 23:23:22 http://git.webos-internals.org/?p=applications/wIRC.git;a=commitdiff;h=22e9e06aa420e20966d4db72417aaa50a7ec8c39 Dec 03 23:24:25 bouncer schmouncer Dec 03 23:27:46 * oilsworkn really needs to redo saved package list in preware :/ Dec 03 23:28:20 maybe Dec 03 23:29:03 to where it is just a list of package ids Dec 03 23:29:32 and maybe like, feed name Dec 03 23:29:59 whats there now? Dec 03 23:30:05 everything Dec 03 23:30:10 ... Dec 03 23:30:42 exactly Dec 03 23:31:39 package name/feed/version? Dec 03 23:31:58 everything Dec 03 23:32:21 ... to populate the pkg view scene Dec 03 23:32:33 but oilsworkn is right, it should just be minimal Dec 03 23:32:55 and if the package id is not in any feeds loaded, say "cannot find package" Dec 03 23:33:02 * halfhalo meant show name/feed/version Dec 03 23:33:09 dont need version Dec 03 23:43:16 So, if the beagleboard has vga and s-video outputs, how hard would it be to enable these outputs on a Pre? :D Hasn't anyone tried to? Dec 03 23:47:07 NuttyBunny: well, pre's not beagleboard Dec 03 23:49:26 not sure if there's anything on board which coud drive vga Dec 03 23:49:59 but I don't think people have done much soldering on their pre motherboards either Dec 03 23:50:28 if you want vga, beagleboard is probably the way to go Dec 03 23:51:43 I'm thinking about SD video output using VLC or mplayer or something, via the Pre :) --- but I don't think I'd dare to try to solder anything in my Pre :S Dec 03 23:54:24 if anyone has a broken pre to donate for experimentation though, I'l try... Dec 03 23:56:18 mini hdmi port would be baller Dec 03 23:57:45 could watch 15 min of a movie at1080p Dec 03 23:57:47 ;) Dec 03 23:58:06 I could try also ;) - I just found on the beagleboard reference manual the pins... Dec 03 23:58:08 and also: Dec 03 23:58:14 The digital portion of the DVI-D interface is compatible with HDMI and is electrically the same. Dec 03 23:58:32 But 3430 only supports 720p Dec 03 23:58:39 gotta go guys, later! Dec 04 00:21:27 rwhitby, ahh yeah big select loop, makes sense. eww-- Dec 04 00:25:00 egaudet: node is designed so that no i/o function blocks Dec 04 00:25:15 no threads means no context switching overhead Dec 04 00:25:25 it's quite an elegant design Dec 04 00:28:28 I should probably take a look into it one of these days Dec 04 01:27:08 ping.. **** ENDING LOGGING AT Sat Dec 04 02:59:59 2010