**** BEGIN LOGGING AT Wed Dec 19 02:59:59 2012 Dec 19 03:51:00 ~sleep ShiftyAxel Dec 19 05:32:38 Nexus 7 Inductive Charging Mod (using Palm Touchstones) completed: http://rootzwiki.com/topic/37668-hardware-nexus-7-inductive-charging-mod-using-palm-touchstones/ Dec 19 05:47:37 :-) Dec 19 06:07:20 hey Dec 19 07:58:29 hi Dec 19 09:16:49 morning Dec 19 09:28:12 möp Dec 19 10:10:43 hi Dec 19 15:26:45 rwhitby: good job on the nexus 7 touchstone conversion. what was your total material cost? i've got a spare pre2 and touchstone going to waste, and I already nearly destroyed my n7 usb port >.> Dec 19 15:38:13 hi Dec 19 15:46:15 that was short-lived Dec 19 16:17:57 yep Dec 19 16:18:03 this place has been quiet lately though Dec 19 16:19:47 aye, that it has Dec 19 16:19:59 I imagine it'll get busy in about 4 hours or so though, hackathon! Dec 19 16:27:42 hackathon!! Dec 19 16:29:44 porting mojo stuff to enyo2, huzzah! Dec 19 16:30:19 someone should spend sometime translating the Mojo stuff to English first Dec 19 16:30:19 :D Dec 19 16:32:01 sounds like a job for... Dec 19 16:32:07 * HaDAk dashes into a nearby phonebooth Dec 19 16:32:11 SOMEBODY ELSE! Dec 19 16:34:47 my office is under direct sunshine at 8:00am. yuck. makes it hard to see my monitor. Dec 19 16:34:55 HaDAk: to english? Dec 19 16:34:57 guess i can't come in before 8:45 Dec 19 16:35:13 ShiftyAxel: or something Dec 19 16:35:21 confusion! Dec 19 16:35:22 shit. i've got a meeting starting. Dec 19 16:35:26 * HaDAk panics Dec 19 16:35:33 go go go! Dec 19 18:10:27 Markus just asked me .. does the battery indicator work? i can't recall seeing it less than 100%, but i have it plugged in most of the time so far Dec 19 18:11:07 it does Dec 19 18:11:20 morphis already implemented the nyx module for that Dec 19 18:15:33 nice Dec 19 18:59:11 question on building the webos image Dec 19 18:59:46 I got a luna-sysmgr error (bad RPATH) Dec 19 19:00:18 with a very long string for the file path after that Dec 19 19:00:30 is this a known error? Dec 19 19:06:43 Darakians: are you using any form of local build? Dec 19 19:07:09 I'm not really sure what that means Dec 19 19:07:36 I followed this http://webos-ports.org/wiki/Galaxy_Nexus_Build_Setup Dec 19 19:08:20 no errors until I ran MACHINE=tuna bb webos-image Dec 19 19:08:32 which gave me the RPATH eror Dec 19 19:08:35 Darakians: that's a warning that appears in a few components Dec 19 19:09:22 it shouldn't kill the build Dec 19 19:09:22 so do I need to rerun the compile with some sort of ignore errors flag? Dec 19 19:09:29 it looks like it finished Dec 19 19:09:41 c'est impossible Dec 19 19:09:53 unless you've had it running for a while Dec 19 19:09:55 unless they made it an error condition in a newer bitbake.. but a newer bitbake would have a lot more problems than just that Dec 19 19:10:26 well, I started the build last night, went home, came back in and was met with this error Dec 19 19:10:34 I have no idea how long it ran Dec 19 19:11:19 if there's an image in /tmp-eglibc/deploy/images/tuna/ then you're all good Dec 19 19:12:08 let me check Dec 19 19:12:46 quite a bit in there, webos-image-tuna.ext2? Dec 19 19:14:44 side note, your wiki is locked the fuck down isn't it? Dec 19 19:15:17 webos-image-tuna.ext2 and zImage-tuna.fastboot are what you'll be wanting Dec 19 19:15:20 yes, yes it is Dec 19 19:15:28 far too many bots trying to create fake accounts Dec 19 19:15:55 though for future reference, you should build webos-dev-image instead of webos-image Dec 19 19:16:10 that way you can ssh/scp things to device for debugging Dec 19 19:16:33 both there, and noted Dec 19 19:16:45 I was just going to add the location to look for the image Dec 19 19:17:01 there's nothing on the wiki about where the image comes out Dec 19 19:17:13 got a wiki account? Dec 19 19:17:18 yep Dec 19 19:17:24 username? Dec 19 19:17:25 I can upgrade you to human Dec 19 19:17:32 http://webos-ports.org/wiki/User:Darakian Dec 19 19:18:11 congratulations, you are now human Dec 19 19:18:14 woot Dec 19 19:18:25 it's like being birthed all ofer again :') Dec 19 19:18:30 over* Dec 19 19:23:19 http://bit.ly/12pHXVa Dec 19 19:24:45 that looks about right Dec 19 19:24:52 heh Dec 19 19:25:10 and I am now even more deeply disturbed than usual :) Dec 19 19:25:28 thanks for taking the time to note that , Darakians .. i had to search for it yesterday too and didnt' even think to add it Dec 19 19:26:42 * EricBlade welcomes mr_bono Dec 19 19:26:58 ya sure thing. I need a phone so, I need this project to get moving Dec 19 19:27:01 :) Dec 19 19:30:10 thanks, EricBlade :) Dec 19 19:30:52 is there a canned Open WebOS image that I could test drive on my HP Touchpad? (currently running: moboot, CWM, WebOS, CM9) Dec 19 19:31:12 if I need to build everything, that's ok, but I'd hate to waste time if there are canned images.. Dec 19 19:31:37 there are no OWO images for the HP Touchpad Dec 19 19:31:49 ok Dec 19 19:31:57 further to that, webOS Ports isn't porting OWO to the HP touchpad Dec 19 19:32:05 we're focusing on newer devices, like the GNex Dec 19 19:32:06 crap Dec 19 19:32:58 it's a drivers issue. it probably won't happen any time soon, if at all, i'm sure. Dec 19 19:33:14 morning Dec 19 19:33:17 well, rebuilding the OS from scratch isn't a requirement for me.. I guess I'll just have to build libs/apps to install on a "non open" WebOS installation Dec 19 19:33:33 hiya Oil Dec 19 19:33:34 aha, just the man to clarify the matter, mr ka6sox-away Dec 19 19:33:44 who? what? Dec 19 19:34:04 just trying to explain why ports aren't porting to the touchpad Dec 19 19:34:15 drivers, kernel, old HW, etc Dec 19 19:34:27 i'm not entirely sure why you're not, though :P libhybris works fine on there Dec 19 19:34:31 mr_bono: open webos can be compiled on desktop, if you wanted to devlop for it on there Dec 19 19:34:59 you mean to run Open WebOS rather than say, Ubuntu? Dec 19 19:35:05 OWO isn't an OS at this point. It's a shell, afiak Dec 19 19:35:11 Stskeeps, focus...but yes, it would probably be possible with libHybris. Dec 19 19:35:15 :nod: Dec 19 19:35:28 HaDAk: all depends on your definition of an OS Dec 19 19:35:35 sounds cool, but I need to be able to build libs & apps for Touchpad, outside of CyanogenMod Dec 19 19:35:52 mr_bono: go for LunaCE then Dec 19 19:35:54 HaDAk, it *is* an OS...it boots, it handles files and it has user interaction... Dec 19 19:36:02 ShiftyAxel: owo won't run without some sort of underlying os Dec 19 19:36:12 HaDAk, what? Dec 19 19:36:12 what is that, ShiftyAxel? Dec 19 19:36:15 * HaDAk isn't going to get into a philosophical debate right now Dec 19 19:36:19 * HaDAk hates all people and things Dec 19 19:36:24 HaDAk: neither would ubuntu, mint or OSX, think distro Dec 19 19:36:49 mr_bono: it's a modified version of the system manager (user interface) for webOS 3.x on the Touchpad Dec 19 19:37:02 adds more features, makes it nicer in general Dec 19 19:37:30 mr_bono, its a prettified and cleaner GUI for the TP Dec 19 19:37:54 interesting.. but will this allow me to write libs & apps in C? Dec 19 19:38:23 I think that's already possible for TP... maybe Dec 19 19:38:24 I essentially want to use the Touchpad as a dev platform, more specifically as a training platform.. Dec 19 19:38:41 you don't need to make any changes to the touchpad to be able to do that Dec 19 19:38:47 have a look at the existing webos-internals stuff (preware etc) for 3.x, I believe some of those are C services Dec 19 19:38:53 in our company a couple of us are supposed to help customers integrate our API onto various customer platforms Dec 19 19:39:09 the only wrinkle being, in their great wisdom, we never have done one of these "integrations" ourselves.. Dec 19 19:39:55 so I want to use the Linux-based WebOS as the platform to do this integration of our C libs, and build my own apps that statically link them Dec 19 19:41:31 shouldn't need to do much of anything with the operating system to be able to do things like that Dec 19 19:42:07 yeah, that would just have been a bonus, in case I bricked the tablet and was no longer able to restore the WebOS that was on it out of the box Dec 19 19:42:24 ..but maybe there are alternatives for that scenario that I was unaware of Dec 19 19:46:18 so, sorry about the constant questions, but adb Dec 19 19:46:36 ~asktoask Dec 19 19:46:37 how do I push the image Dec 19 19:47:02 adb push webos-dev-image.ext2 /storage/sdcard0/linux/rootfs.ext2 Dec 19 19:47:09 adb reboot-bootloader Dec 19 19:47:11 gnex is rooted, but doesn't seem to be mounted (it's at the bootloader) Dec 19 19:47:14 fastboot boot zImage-tuna.ext2 Dec 19 19:47:25 adb has to be done inside android Dec 19 19:47:30 fastboot inside the bootloader Dec 19 19:47:51 so, boot to android then run adb Dec 19 19:48:33 yup Dec 19 19:49:08 does it need to be a set up android environment? Dec 19 19:49:26 USB debugging has to be enabled, other than that i think you're good Dec 19 19:49:45 hmmm ok Dec 19 19:58:19 ShiftyAxel, its about to start. Dec 19 19:58:24 (theoretically) Dec 19 20:02:51 * ShiftyAxel braces for carnage Dec 19 20:03:01 in the meantime, i'll knock together that app template Dec 19 20:03:43 ka6sox: can you make a webos-ports-template repo on github please? Dec 19 20:09:47 ShiftyAxel, that is its name or webos-ports/template Dec 19 20:10:01 that is it's name Dec 19 20:10:05 or webos-ports/webos-ports-template Dec 19 20:10:05 to go along with webos-ports-lib Dec 19 20:10:16 definately webos-ports-template Dec 19 20:10:51 created Dec 19 20:10:55 adn setup Dec 19 20:11:03 s/adn/and/ Dec 19 20:11:13 silly bot..MIA Dec 19 20:11:23 scoutcamper, can you find the wayward bot? Dec 19 20:15:19 ty ka6sox, i'll be pushing shortly Dec 19 20:15:32 thank you all for your help. I've either just bricked a gnex or will have webos soon :D Dec 19 20:16:51 er... maybe not Dec 19 20:17:08 did you install CWR? Dec 19 20:18:21 so, I'm at the fastboot step and it's just "waiting for device" Dec 19 20:27:23 and your device is in bootloader mode? Dec 19 20:31:16 got it working Dec 19 20:31:39 not really sure what changed but it accepted the fastboot command Dec 19 20:31:44 ya it was Dec 19 20:33:05 I can't ssh into the non dev image can I.... Dec 19 20:33:32 no Dec 19 20:33:46 do I need to ssh in to touch that file? Dec 19 20:37:52 How goes the hackathon? Dec 19 20:42:27 so I think trying to boot my gnex crashed my ubuntu system Dec 19 20:42:30 its on! Dec 19 20:42:42 that or ubuntu just randomly goes down Dec 19 20:43:54 hi Dec 19 20:43:59 ready for some preware hacking? Dec 19 20:44:41 HACKATHOOOOON Dec 19 20:44:43 WOO Dec 19 20:46:11 there, that is better Dec 19 20:46:26 * HaDAk cheers for all the developers giving their time today Dec 19 20:46:35 * HaDAk showers everybody in women and money Dec 19 20:46:50 note: women can be sold for money, if you're not into women Dec 19 20:46:53 has anyone started? Dec 19 20:46:59 note: money can be traded for women if you're not into money Dec 19 20:48:18 I'll volunteer to work on Lumberjack UI conversion Dec 19 20:48:58 also, is there a G+ hangout or something, or is everything being organized just in this channel? Dec 19 20:49:04 somebody can pick this up too, if they want Dec 19 20:49:05 vhttps://github.com/skipmeister123/preware-enyo2 Dec 19 20:49:07 https://github.com/skipmeister123/preware-enyo2 Dec 19 20:51:18 ok, i'll take preware-enyo2 Dec 19 20:52:09 hadak: it's the easiest to take phonegap 2.2 for webos (and open webos) Dec 19 20:52:26 ka6sox: is there a repo set up for the Lumberjack port effort? Dec 19 20:52:46 oil: ^^^ Dec 19 20:53:02 swisstomcat: i was just starting from scratch. there are plenty of bugs, and hardly any functionality. at least they layout looks decent. Dec 19 20:54:59 huh, what is going on tonight? Dec 19 20:55:17 stbuehler: hackathon Dec 19 20:56:49 stbuehler: converting all the mojo apps to enyo2 Dec 19 20:57:05 what about the enyo1 apps? Dec 19 20:57:33 which ones? Dec 19 20:57:38 hadak: looks nice! Dec 19 20:57:40 mail, and such? Dec 19 20:57:46 not the focus today Dec 19 20:57:48 swisstomcat: thanks. hopefully you can make some progress on it. :) Dec 19 20:58:03 so.. is there a list of projects one could work on? :) Dec 19 20:58:03 swisstomcat: at least you get the idea of where i was headed with it. Dec 19 20:58:13 http://www.webos-ports.org/wiki/Hackathon_Apps Dec 19 20:58:31 sugardave: lumberjack sounds good! :) Dec 19 20:58:57 loved lumberjack on my phone :) Dec 19 20:59:20 time for me to gtfo dodge. Dec 19 20:59:23 good luck guys Dec 19 20:59:29 swisstomcat: looking forward to what you come up with Dec 19 20:59:46 sugardave, swisstomcat: this may be of help Dec 19 20:59:46 https://github.com/webos-ports/webos-ports-template Dec 19 21:00:11 it's a basic deployable enyo2 app template with a screen size-aware layout (needed for phones) and back gesture handling Dec 19 21:00:21 nice, thanks Dec 19 21:00:30 also it has an example of service calling Dec 19 21:00:34 just whipped it up :) Dec 19 21:00:36 awesome Dec 19 21:01:16 is there one github organization to house all these repos, or should I just make my own? Dec 19 21:03:24 sugardave: make your own for now, we'll look into organizing later Dec 19 21:03:34 cool Dec 19 21:03:35 ShiftyAxel: Do you want to include my Enyo 2 AppMenu code with the webOS-ports bootplate project? https://github.com/ArthurThornton/enyo1-to-enyo2-kinds/wiki/AppMenu Dec 19 21:03:36 i guess preware and filemanage and so on will need services Dec 19 21:04:01 we should shift low-level webOS functionality to phonegap :) Dec 19 21:04:18 also if anyone's already cloned webos-ports-template, you'll be wanting to git pull again- just updated to bring in arthur's latest PR Dec 19 21:04:26 i can supply folks with the 2.3.0rc2 code Dec 19 21:04:34 that has the app-menu code ... Dec 19 21:04:46 eh, i'm not so hot on moving it over to phonegap Dec 19 21:04:58 whatever phonegap is Dec 19 21:05:00 unnecessary overhead if you just want to deploy to webOS, which is the case with these core apps Dec 19 21:05:27 stbuehler: phonegap is a wrapper that takes a webapp and outputs application packages for various mobile platforms Dec 19 21:05:41 it has it's own APIs Dec 19 21:05:56 ah. well for low level apps this doesn't sound useful Dec 19 21:06:26 good for third-party if the dev wants to go cross-platform, but for Ow core apps there's not really any point Dec 19 21:06:48 ArthurThornton: unsure about that Dec 19 21:07:00 I hear tell of a hackathon? Dec 19 21:07:06 lukegb: welcome! yes indeed! Dec 19 21:07:15 and my next guess is that the services should be implemented with nodejs Dec 19 21:07:20 http://webos-ports.org/wiki/Hackathon_Apps Dec 19 21:07:22 yes indeed Dec 19 21:07:40 that wikipage has the git repos for the mojo versions of those apps, which should have some services Dec 19 21:08:03 i'm not sure how compatible with Ow they are, but probably useful regardless Dec 19 21:08:10 should the old (enyo1+nodejs) way of packaging still work, for example in the ow emulator? Dec 19 21:08:13 I'm going to play my I-know-nothing-about-WebOS card ;) Dec 19 21:08:19 didn't try to install anything in the emulator yet Dec 19 21:08:49 stbuehler: it's a lot simpler for Ow Dec 19 21:09:03 just put the app folder in /usr/palm/applications/ with the correct name and appinfo.json Dec 19 21:09:48 with the template/bootplate, you can run 'node enyo/tools/deploy.js' to generate a 'minified' version of the app which can be used for packaging/sending to device Dec 19 21:10:33 will the launcher pick up the new app directly or does it need a restart? Dec 19 21:10:38 so many questions :) Dec 19 21:10:39 needs a restart Dec 19 21:10:50 I think there's a luna-send call you can use to force a rescan Dec 19 21:11:21 this is a dupliforked template repo for Lumberjack: https://github.com/sugardave/webos-lumberjack-enyo Dec 19 21:11:49 luna-send -n 1 palm://com.palm.applicationManager/rescan {} Dec 19 21:12:19 ShiftyAxel: as there is not currently a defined wrapper for making things like service calls from Enyo 2, hopefully you are using some kind of a nice wrapper for that, that can be changed easily in case the interface were to change Dec 19 21:12:41 EricBlade: I'm using jason's webos-ext for now, it's included with webos-ports-template Dec 19 21:12:53 again, phonegap 2.2 has service call wrapper :) Dec 19 21:13:37 navigator.service.request(...) Dec 19 21:14:02 the thought of adding an API abstraction layer between enyo2 and webOS makes me cringe Dec 19 21:14:22 ShiftyAxel: not enough abstraction. more abstraction! Dec 19 21:14:27 why? there's no webos support layer in enyo2 Dec 19 21:14:40 so phonegap makes the most sense imho Dec 19 21:14:54 so we would need to use cordova then Dec 19 21:15:11 cordova=phonegap Dec 19 21:15:18 :) Dec 19 21:15:19 because webOS runs web applications, natively. just a nice, small folder in /usr/palm/applications. Dec 19 21:15:25 cordova is the apache name, phonegap the adobe one .. same thing Dec 19 21:15:36 we'd need to add plugin support for webos to cordova, but that's not really an issue Dec 19 21:15:44 i'm just pointing out that it's entirely possible that in the future of Open webOS, PalmSystemBridge might not necessarily work in the same way. Dec 19 21:15:46 other platforms -need- a wrapper to run webapps as 'apps', so to speak, so it's necessary Dec 19 21:16:21 right .. but for webOS you need system support library Dec 19 21:16:35 ShiftyAxel: i think swisstomcat is saying that phonegap's layer of javascript that it injects may be the "standard" method Dec 19 21:16:47 so we have webos-ext, does the same thing and is significantly more lightweight Dec 19 21:16:47 why not use the same thing as on other platforms? most devs should be familiar with it Dec 19 21:17:19 so use phonegap for all other platforms and webos-ext for webOS? Dec 19 21:17:30 that doesn't make much sense for cross-platform work Dec 19 21:17:52 of course if you target webOS only, then that makes the argument less compelling Dec 19 21:18:01 well, these apps aren't really cross-platform, right? They're specific to webOS Dec 19 21:18:05 does cordova support back gestures? Dec 19 21:18:08 I can't see govnah becoming the #1 android cpu control app... Dec 19 21:18:11 swisstomcat: shifty isn't talking about cross-platform work .. but the whole thing does make sense, imo, because phonegap for webos is basically just some javascript stuff right Dec 19 21:18:29 ericblade: yeah, that's all it is Dec 19 21:18:39 ka6sox: not yet, but i'm ready to add it Dec 19 21:18:41 I mean, is the goal to turn Preware into a cross-platform solution? Dec 19 21:19:08 i'm the "owner" of phonegap/cordova for webOS ... full disclosure :) Dec 19 21:19:09 sugardave, have to ask the web people :D Dec 19 21:19:12 Preware is the package manger for webOS Dec 19 21:19:27 nay, app store equivalent at this point... Dec 19 21:19:37 preware is webOS only Dec 19 21:19:53 right....and not going to be supporting iOS/Android preware apps, right? so for preware you could get away with not cordova Dec 19 21:20:00 same for Lumberjack, I presume Dec 19 21:20:07 and being that swisstomcat is the owner of the webOS part of phonegap/cordova, that sounds about as close to the official "this is the official method of talking to PalmSystem/PalmServiceBridge for Enyo 2" as we've got right now Dec 19 21:20:18 then there's that :) Dec 19 21:20:26 same for pretty much everything on the hackathon apps list, they're all likely to be webOS-specific Dec 19 21:20:44 exactly Dec 19 21:20:57 but i didn't want it to put it that strongly :) Dec 19 21:20:59 things like Impostah make no sense on anything *but* webOS Dec 19 21:21:11 right Dec 19 21:21:17 feel free to use webos-ext if you want Dec 19 21:21:40 my point is: if there's a standard way why not use that Dec 19 21:21:51 webos-ext is ideally a stopgap until we can integrate service calls into webos-ports-lib Dec 19 21:22:02 It's not really about the webOS-ness of it. PhoneGap is pretty tiny, doesn't do any of the native stuff that it does on other platforms, when on webOS. But it is the thing that will be updated if / when the Open webOS interface to the system changes. Dec 19 21:22:06 but that requires new code, so long way off Dec 19 21:22:13 And in some ways phonegap/cordova make more sense - one library as opposed to several (webOS-ext, the BackGesture thing, webOS-ports-lib, and my AppMenu kind) Dec 19 21:22:43 my point Dec 19 21:23:05 ArthurThornton, swisstomcat unless we get things into the official phonegap libs then we will have to have all those libs Dec 19 21:23:07 it kind of goes against the modular nature of enyo though, no? Dec 19 21:23:39 the point is to get as much stuff into phonegap as possible Dec 19 21:23:43 so if swisstomcat wants to incorporate then into the official PhoneGap stuff then we go that way. Dec 19 21:24:16 phonegap is framework agnostic Dec 19 21:24:34 enough arguments, i want to start coding :) Dec 19 21:24:35 ShiftyAxel: well...there could be a kind called "webOS.Service" which is an enyo.Component communicating through PhoneGap/Cordova as opposed to directly with the service bridge Dec 19 21:25:12 no; in that case the kind should be named phonegap.service Dec 19 21:25:15 or just use webos-ext and update it yourselves if / when the interfaces change :) Dec 19 21:25:22 if you name it webos.service, you might as well use webos apis directly Dec 19 21:25:22 feel free to copy: https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=blob;f=lib/webos/plugin/webos/service.js;h=55ad1445b097b804c1e946ce6c752ca8cef2bd2a;hb=c46b14085ce80cda5f72d6af22bc22afe4c2151d Dec 19 21:25:41 it's all open-source ... Dec 19 21:26:27 I'm just saying in that case it's a webOS-specific component so it could be named webOS.Service..I'm not suggesting a way to do this, just indicating that the argument of being against Enyo's modular way isn't accurate, especially since Enyo works very well with PhoneGap and recommends it for x-plat development Dec 19 21:27:01 so what, enyo for UI + phonegap for actually hitting hitting services? Dec 19 21:27:01 converting this all to 1 backend lib is 2ondary to getting them out of Mojo into Enyo2 at this point I think. Dec 19 21:27:09 so which part of preware should i look at first? service calls? Dec 19 21:27:30 yes, that would be best...making it pretty should be 2ondary :D Dec 19 21:28:08 the first scene is package updates,available packages,installed packages,list of everything .. where does that come from? Dec 19 21:28:11 ka6sox: that's a bit tough for me to read now after all of the time I've spent on Sparrow/sprw ;) Dec 19 21:28:33 swisstomcat: ipkgservice.c? Dec 19 21:28:41 org.webosinternals.ipkgservice afaict Dec 19 21:29:18 morning pc-world Dec 19 21:29:29 it comes from the list of packages in memory Dec 19 21:29:40 hi ka6sox :) Dec 19 21:29:45 so if i test on a touchpad with preware, that service should already be installed, right? Dec 19 21:29:59 I'm not going to be able to do too much today - heading back East...but in around 22-24 hours I'll be available for some hackathon stuff ... will it still be open then? :) Dec 19 21:29:59 so i'd need to talk to that service Dec 19 21:30:23 ArthurThornton, yes Dec 19 21:30:30 its open till we get them done :D Dec 19 21:30:43 (I *might* be able to get some coding done at the airport tonight but am not entirely certain) Dec 19 21:31:03 ArthurThornton: consider the amount of time (weeks, months) needed to port all these apps... so, this seems more like an open-ended "hackathon" :P Dec 19 21:31:04 yeah, app/models/IPKGService.js has all the callbacks into ipkgservice, and packagesModel.parsePackages takes some rawdata and parses it out, but it also seems to cache the ipkg data locally (speed, I assume?) Dec 19 21:31:14 ka6sox: *that* long?! ;) Dec 19 21:31:24 ok, i'll look at that first and test it Dec 19 21:31:39 it doesnt cache the data Dec 19 21:31:48 oh, indeed Dec 19 21:31:55 well, unless you consider an array in memory a cache Dec 19 21:32:30 sorta :) Dec 19 21:33:50 oil: huh... so what does packageDB store... *investigates* Dec 19 21:34:11 that may be the saved package list Dec 19 21:34:17 mhm Dec 19 21:34:29 Well, luckily I've got quite a bit of experience porting Enyo 1 -> Enyo 2 ... now to do the Mojo -> Enyo 2 porting (which I was planning to do for another app of mine anyway).. Dec 19 21:34:31 OH, gotcha Dec 19 21:34:47 yeah, thats not used in normal operation Dec 19 21:34:53 just my opinion, but Preware should be completely rewritten instead of just "ported" to Enyo 2 Dec 19 21:35:16 because Preware's code is a mess (at least what I've seen so far) Dec 19 21:35:24 pc-world: agree, but we have start somewhere Dec 19 21:35:33 e.g the service calls Dec 19 21:35:46 'porting' from mojo to enyo2 is pretty much purely UI Dec 19 21:35:46 swisstomcat: preware installs the service with it Dec 19 21:35:58 they both talk to the same kind of services Dec 19 21:36:21 i didn't mean the service, the service calls from the app Dec 19 21:36:34 but Preware's UI is probably more effort than the backend-stuff Dec 19 21:37:00 ka6sox: did I read something about ipkgservice needing to be modified for Ow? Dec 19 21:37:05 its ui is basically a list of packages Dec 19 21:37:18 something about changing over to opkg or something...? Dec 19 21:37:44 let's test on 3.0.5 for now? Dec 19 21:37:50 apologies if I'm asking dumb questions, but are service calls restricted to specific apps? Dec 19 21:38:05 lukegb: no, my settings app uses the same calls as the palm settings apps Dec 19 21:38:19 I'm thinking that random apps calling restartDevice on ipkgservice, for example, would be bloody annoying Dec 19 21:38:30 or do you just have to trust the app author? :P Dec 19 21:38:35 swisstomcat: I say develop on whatever hardware you have, since 3.0.5 has working ipkgservice that sounds like a good route for preware Dec 19 21:39:00 yeah, i'm using a touchpad Dec 19 21:39:03 lukegb: trust Dec 19 21:39:04 lukegb: there's a permissions service, but I don't think it's functional under Ow Dec 19 21:39:18 under 3.0.5 only com.palm apps can use certain services Dec 19 21:39:37 what about an ipk that extracts Mojo from a webOS doctor? that would make Mojo apps work on Open webOS Dec 19 21:39:55 pc-world: don't make me smack you Dec 19 21:40:01 pc-world: this has been discussed, but this hackathon is about porting from mojo to enyo Dec 19 21:40:05 *enyo2 Dec 19 21:40:27 (this suggestion wasn't related to any hackathon) Dec 19 21:40:52 okay Dec 19 21:40:53 * swisstomcat smacks pc-world with a wet trout Dec 19 21:41:03 :D Dec 19 21:41:15 well, a meta-mojo has been discussed before, and is probably doable for compatibility Dec 19 21:41:16 okay not so many Mojo fans in here... Dec 19 21:41:22 :) Dec 19 21:41:25 i guess ow isn't ready to run apps with services yet Dec 19 21:41:25 pc-world: I agree. when I said "porting" I didn't mean literally taking one codebase and updating it - even with Sparrow -> sprw I reused very little code and rewrote it for performance/other enhancements Dec 19 21:41:30 * oil <3'd mojo Dec 19 21:41:36 it isn't ready to run enyo2 apps either Dec 19 21:41:54 stbuehler: tell that to my functioning settings app and port of memos :P Dec 19 21:42:12 * halfhalo burns mojo Dec 19 21:42:25 * oil pushes halfhalo onto the fire Dec 19 21:42:31 * ShiftyAxel nails mojo to a vending machine and sets it on fire Dec 19 21:42:55 webOS has officially lost its mojo Dec 19 21:43:02 lol Dec 19 21:43:02 Mojo is a real mess, but Enyo has some design problems too Dec 19 21:43:05 BAH-DUM pish Dec 19 21:43:20 insert austin powers picture here Dec 19 21:43:34 pc-world: we'd love to hear about the design problems ... Dec 19 21:43:48 * ShiftyAxel gets some popcorn and a large sofa Dec 19 21:43:54 so, I have oil's initial Enyo 1 Lumberjack...y'all want me to keep that app ID? org.webosinternals.lumberjack is the current one Dec 19 21:43:59 swisstomcat: in Java language you'd say, only instance variables, but no local variables Dec 19 21:44:13 sugardave: I'd go with org.webosports.app. Dec 19 21:44:22 roger Dec 19 21:44:32 heck, I should probably add that to the wikipage Dec 19 21:44:39 you can't create local "objects" in Enyo... all "objects" have to be in the components block Dec 19 21:44:58 is that a real problem? Dec 19 21:45:00 * oil noticed he originally wrote 60% of the apps in the hackathon :P Dec 19 21:45:39 nice to see webos-ports has more js devs then wosi did Dec 19 21:45:46 oil: I <3'd Mojo, too....until Enyo came along Dec 19 21:46:08 oil rocks Dec 19 21:46:17 * oil blushes Dec 19 21:46:17 pc-world: what do you mean? Dec 19 21:46:26 I suck at JS :D Dec 19 21:46:30 * lukegb writes horrific JS Dec 19 21:46:36 sugardave: I guess this is off-topic for #webos-ports Dec 19 21:47:14 lukegb: that's because JavaScript per se is a very... strange language :D Dec 19 21:47:28 strange in a good way Dec 19 21:47:39 so let's test this sucker and actually make a service-call (replaced all the mojo.service.request with navigator.service.request) Dec 19 21:47:42 off topic is what I do best. Dec 19 21:47:54 oil: yup, I noticed this when I started webOS development, that JS is actually very powerful Dec 19 21:48:00 like passing a function to a function which returns a function :) Dec 19 21:48:09 insert "yo dawg" meme picture Dec 19 21:49:39 pc-world: define local objects? I've been using a JS object as a member of my app via myObject: {key: "value"} Dec 19 21:49:43 oil: nah, that's just fun Dec 19 21:49:47 inside the app, but not the components block Dec 19 21:49:48 but what I really can't stand is this asynchronous stuff... Dec 19 21:49:50 I like doing that in Go, for instance :P Dec 19 21:49:55 async ftw Dec 19 21:49:58 pc-world: callbacks! callbacks are fun! :P Dec 19 21:50:02 +1 Dec 19 21:50:03 * oil throws async out the window Dec 19 21:50:03 callbacks are EVIL Dec 19 21:50:04 ShiftyAxel: I mean "Enyo components" by "objects" Dec 19 21:50:09 until you learn how they work :) Dec 19 21:50:09 async is fun. callbacks... not always :) Dec 19 21:50:10 also, passing callbacks from server to server is even runner Dec 19 21:50:29 pc-world: you can create enyo objects wherever you want Dec 19 21:50:42 easiest debugging ever for JS callbacks: enyo.log(inResponse); Dec 19 21:50:55 * sugardave creates enyo.Sun and enyo.Moon. Dec 19 21:50:56 stbuehler: only if they inherit from enyo.Object, but not if they inherit from enyo.Component Dec 19 21:50:57 then you just need to figure out where to put the data you're given Dec 19 21:51:38 enyo.kind({kind: enyo.Component}) not do what you want? Dec 19 21:51:43 pc-world: well, you'd better specify a parent and owner iirc. but i think you can create them without too Dec 19 21:51:49 do some I/O stuff, and you'll have a dozen functions with each one line... that's how I see callbacks Dec 19 21:52:17 stbuehler: e.g. for HTTP requests I don't think it makes much sense making the HTTP object "global" Dec 19 21:52:47 ShiftyAxel: for enyo.Component you have to specify a "parent" Dec 19 21:53:15 you can't just do var request = new HttpComponentSomething(); request.call("http://google.com/"); Dec 19 21:53:23 pc-world: the main control you create to start your app doesn't have owner/parent Dec 19 21:53:35 * ShiftyAxel buries his head in luna-sysmgr Dec 19 21:53:46 pc-world: you can do that, unless I'm mis-understanding Dec 19 21:54:08 * lukegb sets fire to luna-sysmgr with ShiftyAxel's head inside Dec 19 21:54:10 stbuehler: yes, but you can't create an object of it and call methods... you just call MyMainComponent.renderInto or something like that Dec 19 21:54:29 sugardave: only if they inherit from enyo.Object and not from enyo.Component, afaik Dec 19 21:54:42 everything inherits from enyo.Object, though Dec 19 21:55:02 Object -> Component -> UiComponent -> Control Dec 19 21:55:05 sugardave: yes, but enyo.Component destroys the ability of just creating a "local" instance Dec 19 21:55:21 HaDAk: total material cost for Nexus 7 touchstone mod was less than $20 Dec 19 21:55:25 pc-world: you can call methods. i think only event handling will be difficult - normally events would get dispatched to the bubbletarget (parent or owner, depending on kind) Dec 19 21:56:31 stbuehler: right, that's another problem that I can only pass strings (with a function name) for event handlers in components Dec 19 21:58:03 pc-world: you could try new enyo.WebService({onResponse:"handleResponse", handleResponse: function() { ... } }).send(...); Dec 19 21:58:56 stbuehler: for HTTP requests, there's luckily something that inherits directly from enyo.Object (in Enyo 1 at least) Dec 19 21:59:29 For that you'd need to do a handlers block (i.e. new enyo.WebService({handlers: {onResponse:"handleResponse}, handleResponse: function() {...} }).send(...); Dec 19 22:00:04 Yeah, with Enyo you can also just use enyo.Ajax (which has .response(callbackFunc) and .error(callbackFunc) method to add callbacks) Dec 19 22:00:07 pc-world: http://enyojs.com/api/#enyo.Ajax still in enyo2 Dec 19 22:00:19 first attempt of my app crashes :/ Dec 19 22:00:23 unrelated to hackathon announcement: I will give the first person who makes mesa spit out egl binaries that work with lsm 1 million monopoly dollars. Dec 19 22:00:53 halfhalo: free shipment included? Dec 19 22:01:07 digital delivery Dec 19 22:01:16 I want monopoly paper money Dec 19 22:01:34 uh, this enyojs api doc takes a few minutes to load o.O Dec 19 22:01:43 then i want mesa to work with gles as well. Dec 19 22:01:44 (at least it feels like a few minutes) Dec 19 22:01:51 pc-world: use a local version? Dec 19 22:01:56 much faster than waiting on the web one Dec 19 22:02:09 pc-world: because it's scans the source code of enyo :) Dec 19 22:02:43 swisstomcat: there should be some message that it might take a minute or two... newbies will close the site after a few seconds Dec 19 22:02:50 morning Dec 19 22:03:04 pc-world: you should tweet that at unwiredbed Dec 19 22:03:08 *unwiredben Dec 19 22:03:16 lol bed Dec 19 22:03:22 it's unwired! Dec 19 22:03:38 oil: and I did the other 40% ? Dec 19 22:03:38 ShiftyAxel: do you have any pointers how to debug enyo2 apps on ow? can't get mine running (http://hexagon-match.stbuehler.de/, https://github.com/stbuehler/hexagon-match) Dec 19 22:04:04 ka6sox: you get a gold star for truncating the topic! ;) Dec 19 22:04:13 heh Dec 19 22:04:20 lukegb: my suggestion, so apportion me some of that there blame :P Dec 19 22:04:26 swisstomcat: if you have any questions about how the ipkgservice works, or what data it returns, don't hesitate to ping me Dec 19 22:04:29 the other 40% was tweaks and internalz Dec 19 22:04:29 and I'll be the guy who has to fix it too... Dec 19 22:04:29 stbuehler: what steps are you taking to get it into Ow? Dec 19 22:04:43 oil: ah, good, so I did none ;) Dec 19 22:05:05 * rwhitby always did the hidden bits that did all the work :) Dec 19 22:05:08 certainly not how i meant it :) Dec 19 22:05:24 ShiftyAxel: created an appinfo.json, copied all to /usr/palm/a../de.stbuehler.hexagon-match, rescanned. i see the icon, start it, but it doesn't go fullscreen Dec 19 22:05:29 oil: any JS I wrote was usually just a cut and paste of your code anyway Dec 19 22:05:34 lol Dec 19 22:06:08 anythign I ever did never saw the light of day anyways... Dec 19 22:06:15 ShiftyAxel: 2012-12-20T05:44:59.962886Z [1986] qemux86 user.err mojodb-luna[1016]: [core.messageService] kind not registered: 'com.palm.contextupload:1' (-3970) - sender='com.palm.eventreporter.WebAppMgr' method='put' payload='{"objects":[{"_kind":"com.palm.contextupload:1","appid":"de.stbuehler.hexagon-match","event":"launch"}]}' Dec 19 22:06:39 stbuehler: that's a normal error Dec 19 22:06:49 what's your appid in appinfo.json? Dec 19 22:06:49 that was the only error. and i have no idea what to make of it. can nopaste the other 10-20 lines if you want Dec 19 22:06:51 rwhitby: when I looked through the Preware JS code, it just looked like there were three copies of each file, with different variable names ;P Dec 19 22:07:27 pc-world: yep, organically designed Dec 19 22:07:30 lol Dec 19 22:07:37 ShiftyAxel: app id matches the dirname, de.stbuehler.hexagon-match Dec 19 22:07:43 hmm Dec 19 22:07:51 that was the first error i got :) Dec 19 22:07:58 I think the issue may lie in copying the entire directory over Dec 19 22:08:11 I could say "if only" about Mojo but that wouldn't help... Dec 19 22:08:12 try running 'node enyo/tools/deploy.js' from your app dir Dec 19 22:08:29 yes, sry. i run deploy, and copied the deploy folder (with appinfo) Dec 19 22:08:33 hrm Dec 19 22:08:41 stbuehler: weinre is a nice way to do remote JS debugging... though I'm not sure if it will load in your case Dec 19 22:09:10 pc-world: if i don't get any output i don't see how a debugger would help :D Dec 19 22:09:26 stbuehler: can you start luna, open the launcher and then collect all the logs from tapping the icon through loading? Dec 19 22:09:28 stbuehler: a debugger can (usually) show JS errors Dec 19 22:09:31 pastebin them somewhere Dec 19 22:09:33 * oil always likes to look back at the original design mockup Templarian did http://www.webos-internals.org/images/5/57/OPS_App_Mockup1.png Dec 19 22:09:34 For those who missed it yesterday: Nexus 7 touchstone mod: http://goo.gl/KMy8n Dec 19 22:09:53 pc-world, stbuehler: JS errors are output to the syslog under Ow Dec 19 22:10:03 you just have to root through (or grep) Dec 19 22:10:06 or do JS error messages redirect to /var/log/messages? it's been a while since I last did webOS development Dec 19 22:10:15 i like to use the desktop webos build for open webos app stuff, since it's easy to start/restart/reload/refresh and errors in webapps go to it's console Dec 19 22:10:15 oh ok Dec 19 22:10:16 if you're running an OE build they do Dec 19 22:10:23 oil, interesting Dec 19 22:10:32 ShiftyAxel: but console.log is only available with debug, at least in the browser Dec 19 22:10:41 ka6sox: thats pretty much all there was when i got to it Dec 19 22:10:45 enyo.log, grasshoppa Dec 19 22:10:53 ShiftyAxel: i don't get errors in my /var/log/messages on my nexus .. ? ideas? Dec 19 22:11:06 not app errors anyway Dec 19 22:11:07 tail -f /var/log/messages | grep 'appid' Dec 19 22:11:17 at least in webOS, there was this palm-log --system-log-level info Dec 19 22:11:20 trust me, they do show up Dec 19 22:11:27 oil: and now it is beautiful...I hope we can keep the essence of how nice it is. Dec 19 22:11:30 they aren't very verbose Dec 19 22:11:35 not sure if you still need to set the loggin level in OWOS Dec 19 22:11:38 pc-world: Ow doesn't have that Dec 19 22:11:41 *OwOS Dec 19 22:11:47 ShiftyAxel: i got nada, went to look for them so i could try to diagnose, and it wouldn't put any in Dec 19 22:11:49 palm-log and friends are not present Dec 19 22:11:52 Ow Dec 19 22:12:00 ow Dec 19 22:12:08 I know, but it's still possible that you have to set the logging level somehwo Dec 19 22:12:09 *somehow Dec 19 22:12:19 EricBlade: are you logging via enyo.log, or just looking for errors atm? Dec 19 22:12:26 seriously, every time people say ow I think they're in pain ;) Dec 19 22:12:35 i was looking for errors, to see what the apps that don't start right were spewing Dec 19 22:12:38 pen ebOS Dec 19 22:12:56 EricBlade: com.palm.app.email then? Dec 19 22:13:10 i launched it, nothing logged Dec 19 22:13:12 "Ow" sounds like... "ouch" Dec 19 22:13:43 EricBlade: I think the email issue is more a service error, it runs just fine when it actually launches Dec 19 22:14:58 ShiftyAxel: http://paste.lighttpd.net/uc#4P9T1VHciwQR2bCAbXKyU2zZ Dec 19 22:15:06 normally, the logs are extremely chatty with apps though Dec 19 22:15:34 stbuehler: are you using phonegap? Dec 19 22:15:39 EricBlade: not in my experience Dec 19 22:15:44 swisstomcat: nope Dec 19 22:15:55 stbuehler: you'll need something to call PalmSystem.stageReady() Dec 19 22:15:57 i use layered canvas (i think 3 layers) Dec 19 22:16:31 enyo2 doesn't call that by default, so you can either do it manually or use webos-ext/webos-ports-template/phonegap Dec 19 22:16:36 yeah, phonegap does that for you :) Dec 19 22:17:10 aaah. Dec 19 22:17:31 did i mention there should be a wiki where you gather all those small details Dec 19 22:17:34 ? Dec 19 22:17:40 yeah, good idea Dec 19 22:17:50 i'm also working on a blogpost how to package enyo2 apps for webos/owos Dec 19 22:17:59 ShiftyAxel: yeah, I got how it was abbreviated :P Dec 19 22:18:37 thousand git repos, many bug trackers, forums, mailing lists, ow is pretty distributed. and you can't find any docs, i always have to go reading the source Dec 19 22:18:58 I've added a link to webos-ports-template to http://webos-ports.org/wiki/Hackathon_Apps Dec 19 22:19:11 when these apps are done being "ported" they should all still work on the Touchpad. Dec 19 22:19:12 the disadvantage of distributed VCS Dec 19 22:19:18 other than that... yeah, it's pretty much down to the user's searching :P Dec 19 22:19:35 +1 ka6sox Dec 19 22:20:14 ow should run on the touchpad... Dec 19 22:20:16 :) Dec 19 22:20:24 anyone who's tracking head on meta-webos, the installation of the fonts into the system should be showing up in a few minutes Dec 19 22:20:28 stbuehler: let us know when you get it working :) Dec 19 22:20:33 it might Dec 19 22:20:53 the service interfaces should be the same across CE and Ow for these apps, even if the services (may) differ Dec 19 22:21:32 happy hacking - wish I had more time to work on some of this stuff Dec 19 22:21:34 LJ might be one of the easiest. Dec 19 22:21:49 ShiftyAxel: well, that is another problem. the "official" docs for "how to port" are... just stupid. i guess the main problem will be getting a kernel running that can work with hardware, and egl driver Dec 19 22:22:19 stbuehler, the thing is we have had to feel our way on this... Dec 19 22:22:25 in some ways we are ahead of the curve Dec 19 22:22:29 (on porting) Dec 19 22:22:49 and LibHybris is helping make this easier. Dec 19 22:23:21 stbuehler: the issue is, there's not really any concrete way to 'port' Dec 19 22:23:39 devices differ, different hardware, drivers, kernels, bootloaders, etcetcetc Dec 19 22:27:25 hmm, why doesn't this work Dec 19 22:27:26 var service=new IPKGService(); service.version(this.showVersion); Dec 19 22:27:39 error: Uncaught TypeError: Object # has no method 'version', source/InitialUpdate.js:25 Dec 19 22:27:51 hmm Dec 19 22:29:01 swisstomcat: it's IPKGService.version Dec 19 22:29:03 swisstomcat: in context, what is IPKGService? Dec 19 22:29:19 note how everything is assigned onto IPKGService and not IPKGService.prototype? Dec 19 22:29:23 a class which abstracts the calls to the service Dec 19 22:29:28 * lukegb exercises his limited knowledge of JS Dec 19 22:29:33 service is an IPKGService though, surely? Dec 19 22:29:37 OOP Dec 19 22:29:57 oil: a JS class? Dec 19 22:30:19 ShiftyAxel: nope Dec 19 22:30:21 I don't think I'm familiar with this method of serviceing Dec 19 22:30:30 ShiftyAxel: it's just a class which CALLS the actual service Dec 19 22:30:36 ShiftyAxel: yeah Dec 19 22:30:39 IPKGService is ipkgservice.js from the mojo version, 1:1 Dec 19 22:30:50 swisstomcat: call it statically on IPKGService - don't instantiate it :P Dec 19 22:30:54 well, javascripts approximation of a class Dec 19 22:31:11 wait, what the hell Dec 19 22:31:12 prototype ftw Dec 19 22:31:15 IPKGService.identifier is set Dec 19 22:31:19 and THEN IPKGService is defined? Dec 19 22:31:33 swisstomcat: was ipkgservice ever instanced in preware? im not sure it was Dec 19 22:31:35 I'm guessing that calling IPKGService is not the same as calling a palm service then? Dec 19 22:31:45 it was always called IPKGService.method(args) Dec 19 22:31:50 ShiftyAxel: nope - IPKGService is a class which wraps a ton of Mojo.Service.Request Dec 19 22:32:00 though its been a year or so since ive looked at the preware code Dec 19 22:32:30 oil: i just "assumed" that you were instanciating somewhere :) Dec 19 22:32:32 well since we're porting things to enyo... perhaps it would be better to rewrite ipkgservice.js as an enyo kind first? Dec 19 22:32:49 I assume it's going to become a phonegap plugin? Dec 19 22:32:49 keep things consistent and all that Dec 19 22:32:58 oh, unless. hmm. Dec 19 22:33:22 error: Uncaught TypeError: Object # has no method 'version', source/InitialUpdate.js:25 Dec 19 22:33:32 hrmpf .. i feel stupid Dec 19 22:33:41 swisstomcat: (now that ive looked at it) its just IPKGService.version = function(callback) Dec 19 22:33:45 so you cant instance it like that Dec 19 22:33:48 it snot .prototype.version Dec 19 22:33:50 swisstomcat: yeah, I said that ^ :P Dec 19 22:33:52 oops Dec 19 22:33:54 oil: ^^^ :P Dec 19 22:34:07 its a singleton Dec 19 22:34:10 IPKGService.version(showVersion); Dec 19 22:34:16 should work, right? Dec 19 22:34:16 yeah Dec 19 22:34:18 mhm Dec 19 22:34:34 what's the sense of singletons? Dec 19 22:34:38 it's a service Dec 19 22:34:39 why not Dec 19 22:34:51 * swisstomcat puts idiot hat on Dec 19 22:35:05 angularjs singletons services, iirc Dec 19 22:35:06 maybe thats not the right word Dec 19 22:35:19 it's a one-of-a-kind object then! ;) Dec 19 22:35:22 yeah Dec 19 22:35:24 that Dec 19 22:35:38 so, what the hell is an enyo Kind anyway Dec 19 22:36:00 enyos version of a javascript class? Dec 19 22:36:03 oh, a constructor-with-prototype. Dec 19 22:36:09 lukegb: https://github.com/enyojs/enyo/wiki/Tutorial Dec 19 22:36:26 enyo kinds are object constructors Dec 19 22:36:35 or "factories" Dec 19 22:38:05 I guess I should go grab owdesktop Dec 19 22:38:28 oh great Dec 19 22:38:44 yup Dec 19 22:38:54 it only builds under ubuntu? :< Dec 19 22:39:46 yup Dec 19 22:40:03 * lukegb tries to make it run on Arch anyway Dec 19 22:40:05 webOS is a linux after all Dec 19 22:40:07 bugs ahoy! Dec 19 22:40:14 some have had success Dec 19 22:40:16 it *might* build under other things...but its been qualified under Ubuntu... Dec 19 22:40:17 iirc Dec 19 22:42:02 some people build desktop on Arch. I don't know about everything else Dec 19 22:44:12 for things like registering luna services, is that the same in ow? Dec 19 22:45:04 lukegb: can you post a code example? Dec 19 22:45:11 aka is this in-app or outside app? Dec 19 22:45:21 e.g. the actual ipkgservice Dec 19 22:45:23 https://github.com/webos-internals/preware/blob/master/src/ipkgservice.c Dec 19 22:46:06 hmm Dec 19 22:46:32 if compiled against Ow, it should theoretically be the same Dec 19 22:47:15 the luna-service2 repo on github may provide better answers though Dec 19 22:48:39 yay, ow desktop failed Dec 19 22:49:39 \o/ Dec 19 22:49:40 [20121219-14:49:50.640374] info: result={"returnValue":true,"version":"1.9.12","apiVersion":"17"}, enyo/source/kernel/log.js:36 Dec 19 22:49:58 :) Dec 19 22:50:56 ooh, I see interesting logs :D Dec 19 22:51:03 ooh, pbnjson requires yajl1 Dec 19 22:51:22 screw this Dec 19 22:51:23 VM time Dec 19 22:51:26 lol Dec 19 22:53:02 so, i can make service calls to ipkgservice from preware/enyo2 + phonegap Dec 19 22:53:17 swisstomcat: is it a phonegap plugin? :P Dec 19 22:53:40 no Dec 19 22:54:05 i basically replaced mojo.service.request with navigator.service.Request Dec 19 22:54:06 that's it Dec 19 22:54:11 heh Dec 19 22:55:04 well, it's kinda a "plugin" Dec 19 22:55:19 but not in the usual phonegap plugin sense (where a plugin is a native thing) Dec 19 22:55:34 mmm Dec 19 22:56:27 swisstomcat: how big of a dependency on phonegap is your preware rewrite going to have? Dec 19 22:56:39 intricate! say intricate! :P Dec 19 23:00:23 shiftyaxel: total :D Dec 19 23:01:26 does enyo2 still not have the palm service stuff enyo1 had? Dec 19 23:01:35 don't think it does Dec 19 23:01:36 no Dec 19 23:01:43 thats kind of sad Dec 19 23:01:53 well, I'd like to make it known that i'm not particularly comfortable shipping a -ports core app with phonegap Dec 19 23:01:58 for people working on preware: I did some work on preware in the past week. For example I did rewrite the IPKGService.js with enyo2 and I use webOS ext from the enyo2 gallery to convert the mojo.serviceRequest calls to something that should exist on ow. Dec 19 23:02:04 it's not tested on OW, though. Dec 19 23:02:32 Garfonso, do you have that posted somewhere we can look? Dec 19 23:02:35 I have nothing against phonegap for cross-platform development, that's great Dec 19 23:02:51 but for core webOS apps, there's simply no need for the overhead Dec 19 23:03:05 they're core, therefore they should interface directly with webOS Dec 19 23:03:07 @oil: I think that is what webos ext adds: http://enyojs.com/gallery/#JayCanuck.webOSExt Dec 19 23:03:16 where's the overhead in phonegap? Dec 19 23:03:28 yeah, forgot the link. Here it is: https://github.com/Garfonso/preware-enyo2 Dec 19 23:03:39 lots of cross-platform functionality that preware will never use? Dec 19 23:03:41 Garfonso: looks like it Dec 19 23:03:50 in source/model I did a file to file conversion of some of the stuff that was in app\model Dec 19 23:04:37 okay can you PR this to webos-ports/preware Dec 19 23:04:37 today I was working on package.js which gives me some headaches. Dec 19 23:05:02 Garfonso: like what? Dec 19 23:05:34 phonegap-webos doesn't have any cross-platform stuff in it :) Dec 19 23:05:39 like it is on the one hand organizing all that package data and on the other hand generating list items and icon stuff with mojo methods. Dec 19 23:05:49 yeah Dec 19 23:05:58 and it's a huge file, after all ;) Dec 19 23:06:28 @ka6sox: if you explain me what to do... ;) Dec 19 23:06:43 I vote phonegap/cordova purely from a higher-level outlook...we encourage developers to use phonegap to deliver their Enyo apps on iOS/Android....I understand that is not necessary for the lion's share of the apps we're hacking on today. But, IMO, it would be better to solidify around one solution than multiple different ones that essentially do the same thing Dec 19 23:07:04 except phonegap is missing things we are needing Dec 19 23:07:18 I have the whip and swisstomcat is RIGHT in front of me Dec 19 23:07:52 Garfonso: I'm the original author of all that stuff, so if any of it needs explaining I can try to give insight Dec 19 23:08:05 oil ++ Dec 19 23:08:22 ka6sox: you can't PR repos which don't share a common root, iirc Dec 19 23:08:33 it doesn't make sense, after all :P Dec 19 23:08:53 he can diff the 2 repos and push up the diffs. Dec 19 23:08:59 yeaahhhhh Dec 19 23:09:34 ok.. why do you load the icon in that way (package.js: iconInit, iconOnLoad, iconFill)? I'm still not really sure what that does... it's the icon in the list, isn't it? Dec 19 23:09:49 its the icon everywhere Dec 19 23:09:57 the icon is loaded in the package so the icon only needs to be downloaded once Dec 19 23:10:04 and used everywhere the package is referenced Dec 19 23:11:00 * rwhitby reckons we use Garfonso's service port Dec 19 23:11:40 +1 rwhitby Dec 19 23:12:02 Garfonso: what's the status of it? what works and what doesn't? Dec 19 23:12:29 his service port? you mean the code which basically just hits enyo.webOS.ServiceRequest? :P Dec 19 23:12:46 that said Dec 19 23:12:50 it is nicely de-duplicated Dec 19 23:12:55 garfonso's service port is nice because it's using an enyo singleton :) Dec 19 23:13:00 actually it is not tested. Dec 19 23:13:05 swisstomcat: :) Dec 19 23:13:17 yeah.. I like singletons. It's great enyo has them. :) Dec 19 23:13:19 changing it to use phonegap instead of webos-ext is one line to change Dec 19 23:13:33 (or viceversa) Dec 19 23:13:39 if it had been using phonegap ;) Dec 19 23:14:18 var request = new enyo.webOS.ServiceRequest({ -> var request=navigator.service.Request({ Dec 19 23:15:30 what would be the steps necessary to test my stuff on an enyo2 devices? That's where I got lost a bit... Dec 19 23:15:40 not sure how to get the ipkgservice build and sutff. Dec 19 23:15:42 phonegap :D Dec 19 23:15:49 Garfonso: we'd have to get the service up and running on-device Dec 19 23:15:52 it has a make file that does palm-package/install/run Dec 19 23:16:02 Ow devices don't have novacom yet Dec 19 23:16:10 i'm testing on my 3.0.5 touchpad which has preware installed Dec 19 23:16:13 Garfonso: then install your application and see if we get output Dec 19 23:16:25 huh Dec 19 23:16:28 ShiftyAxel: why not? :< Dec 19 23:16:30 issue is that there is not much of a gui, right now Dec 19 23:16:36 lukegb: hm? Dec 19 23:16:39 for OW, you can copy over the app to rootfs/usr/palm/applications Dec 19 23:16:41 (novacomd) Dec 19 23:17:09 it's not really needed yet, kernel support needs to be added Dec 19 23:17:22 we'll get there, but there are a fair few more important things first Dec 19 23:17:31 delete usb transport, use inet for everything, boom :P (kekeke) Dec 19 23:19:37 with adb support +rndis we haven't supported novacomd because it wasn't here yet. Dec 19 23:19:45 (for porting) Dec 19 23:21:22 so now that service calls work, what should be the next step? getting data from the service into a list in the UI? Dec 19 23:21:36 pretty much Dec 19 23:21:53 so, if I'm pushing a webos rom to a gnex and the fastboot just hangs.... Dec 19 23:21:58 a basic list of everything would be a nice first PoC Dec 19 23:22:06 no usb interface shows up Dec 19 23:22:47 yeah.. a list would be nice... but there is a bit missing, still.. Dec 19 23:22:52 Garfonso: https://github.com/webos-internals/preware/blob/master/app/assistants/pkg-view-assistant.js#L70 Dec 19 23:22:53 Darakians: what steps are you taking? Dec 19 23:23:11 the ones detailed on "testing the gnex" page Dec 19 23:23:17 http://webos-ports.org/wiki/Testing_Gnex Dec 19 23:23:37 where this.item is a package instance, and this.controller.get('icon' is a reference to the div to set its background to the icon Dec 19 23:24:38 the sudo fastboot boot etc... goes and the gnex just shows me the google logo Dec 19 23:24:49 so you load all the packages first via the service? Dec 19 23:25:04 Darakians: are you sure the kernel's OK? Dec 19 23:25:15 and that the rootfs is in the right place? Dec 19 23:25:34 I followed the guide to a T. The image built without error Dec 19 23:26:01 swisstomcat: in preware the first scene loads all the packages from the service and creates package objects in memory Dec 19 23:26:41 allright Dec 19 23:27:19 main-assistant? Dec 19 23:27:33 no, update- Dec 19 23:27:40 So... Dec 19 23:27:48 How can I help? Where can I jump in? Dec 19 23:27:57 main- is the package updates, installed packages, etc list Dec 19 23:33:52 Roy__, I'm a Lumberjack :D Dec 19 23:34:01 and you're OK Dec 19 23:34:10 * lukegb waits for Ubuntu to install Dec 19 23:34:10 slowly Dec 19 23:34:23 I think it's hung :/ Dec 19 23:34:32 sleeps all night and works all day Dec 19 23:34:47 is there a way to prevent deploy.bat from minifying enyo everytime? Dec 19 23:34:51 Roy__, Lumberjack would be good as we could use the logs to debug things. Dec 19 23:36:07 * lukegb steals Lumberjack Dec 19 23:36:26 remember guys, please update the wiki page if you've started work on an app Dec 19 23:36:57 am I a terrible person for stealing gnex binaries off build.webos-ports.org instead of building them myself? :P Dec 19 23:37:07 no, I do myself... Dec 19 23:37:27 only because I know it the latest clean build. Dec 19 23:37:38 * ShiftyAxel looks pointedly at the channel name Dec 19 23:37:46 * lukegb looks pointedly at ShiftyAxel Dec 19 23:38:13 Ubuntu: why do you suck so much :( Dec 19 23:38:55 ka6sox, lukegb: just didn't realise that was public knowledge now :) Dec 19 23:39:05 which what Dec 19 23:40:43 whowhat? Dec 19 23:41:36 build Dec 19 23:41:53 oh, I just guessed that it existed Dec 19 23:42:08 * ShiftyAxel facepalm Dec 19 23:42:31 well, if you're not going to call it akalenrbaipoehrb0anerb-build then of course someone's gonna at least guess that it exists ;) Dec 19 23:44:39 there are clean images available.... Dec 19 23:44:44 * Darakians eyetwitch Dec 19 23:45:02 Darakians: :) Dec 19 23:45:12 Darakians, they *built* without failing....doesn't mean they don't have "issues" Dec 19 23:45:13 >_< Dec 19 23:45:16 I'm too lazy to set up an Ubuntu build environment Dec 19 23:45:22 ka6sox: how are you building them, anyway? :P Dec 19 23:45:30 jenkins Dec 19 23:45:44 http://jenkins.webos-ports.org/ with a port? :P Dec 19 23:45:55 aha http://jenkins.webos-ports.org:8080/ Dec 19 23:45:59 however its going offline for a serous upgrade Dec 19 23:46:16 so you won't find it for a couple of days. Dec 19 23:47:03 the controlling server first..then the new slaves being added: http://www.flickr.com/photos/68099814@N00/8216012276/in/photostream Dec 19 23:47:24 Jenkins is great, but I wish workflows in it were nicer Dec 19 23:47:33 aww, you suck. you have actual hardware ;) Dec 19 23:48:17 my pet project http://dl.bukkit.org/ is in a freebsd jail with the buildserver somewhere in the states - woo corporate sponsorship Dec 19 23:51:20 installing ubuntu, attempt 2 Dec 19 23:52:20 dont do it Dec 19 23:53:57 ka6sox: I'll check out Lumberjack. Dec 19 23:56:01 well I feel stupid Dec 19 23:56:09 Darakians: hrm? Dec 19 23:56:23 this whole time I've been pushing the wrong file onto my gnex Dec 19 23:56:37 it never occurred to me to check the size of the image Dec 19 23:56:39 46 bytes Dec 19 23:56:46 >_< Dec 19 23:56:48 ... Dec 19 23:56:52 quite you Dec 19 23:57:12 in other news if you push a blank image to a gnex it doesn't brick it :) Dec 19 23:57:22 that's because you haven't flashed it :P Dec 19 23:57:36 fastboot boot... well, boots it Dec 19 23:57:38 also because you haven't overwritten fastboot Dec 19 23:57:40 the image is stored internally Dec 19 23:58:14 well I pushed the "image" then ran fastboot Dec 19 23:58:36 wow everything works now :D Dec 19 23:59:19 Darakians: if you mean "everything works to a given value of 'working'" then I suppose yes, it is ;) Dec 19 23:59:29 everything works* Dec 19 23:59:33 better? :p Dec 19 23:59:35 ;) Dec 20 00:00:39 ShiftyAxel: can you add me to the humans mediawiki group? kthx :P Dec 20 00:00:50 lukegb: I'll think about it Dec 20 00:01:07 it's sort of hard to edit the hackathon apps page when you don't have permission to edit it Dec 20 00:01:34 ikr? Dec 20 00:01:45 volunteering for an app? :) Dec 20 00:01:54 I was thinking about it ;) Dec 20 00:05:09 lukegb: username? Dec 20 00:05:16 'lukegb' isn't showing up in the search Dec 20 00:05:30 Lukegb Dec 20 00:05:40 because mediawiki, or me typoing Dec 20 00:05:42 I think the former. Dec 20 00:06:26 it always capitalizes the first letter. Dec 20 00:07:24 which app lukegb ? Dec 20 00:07:50 I was thinking Lumberjack, but I also wanted to add a link to Garfonso's Preware repo Dec 20 00:08:09 kk...good! Dec 20 00:08:12 was webos 3.x always caching apps? or why don't I see changes I make in the code if I restart the app? :( Dec 20 00:08:13 lukegb: consider yourself humanized Dec 20 00:08:19 * lukegb deletes the frontpage Dec 20 00:08:24 Garfonso: sounds like standard behaviour to me Dec 20 00:08:35 lukegb, you are human...not superhuman :P Dec 20 00:08:37 * ShiftyAxel adds lukegb to the 'cylon' group Dec 20 00:09:10 Garfonso: you might be able to mitigate that with luna-send -n 1 palm://com.palm.applicationManager/rescan {} Dec 20 00:09:32 I've been considering adding a button for it inside luna, because on-device development Dec 20 00:09:39 I'd like to get my wiki account humanized, too. :) Dec 20 00:09:54 * ShiftyAxel scans garfonso with the toaster-finder Dec 20 00:09:58 yeah.. that would be helpful. ;) Dec 20 00:10:00 BEEP BEEP BEEP Dec 20 00:10:17 IT LIIIIIIIIIVES Dec 20 00:10:57 * Garfonso feels humanized. :) Dec 20 00:11:18 hi everyone Dec 20 00:11:37 hiya JayCanuck Dec 20 00:11:48 ok.. my IPKGService.js can talk to the ipkg service from old preware on my touchpad.. Dec 20 00:12:02 but I'll have to look into how to download a feed and stuff.. ;) Dec 20 00:12:02 do you know what would be good? Dec 20 00:12:03 unit tests Dec 20 00:12:07 unit tests would be good :P Dec 20 00:12:30 unit tests are great to have. But if you ask me, they are a PITA to write... Dec 20 00:12:33 :ü Dec 20 00:12:34 oh, so much Dec 20 00:12:34 :P Dec 20 00:12:36 :p Dec 20 00:12:45 ShiftyAxel: don't look at the recent changes :3 Dec 20 00:13:13 /kickban lukegb Dec 20 00:16:02 oil: how/where do you store the feeds? this is done in ipkgservice somehow, right? Dec 20 00:16:51 Garfonso: ipkg package source, I think? Dec 20 00:17:29 hahahaha Dec 20 00:17:40 https://github.com/webos-internals/preware/blob/master/src/luna_methods.c#L634 just made me die a little inside Dec 20 00:17:45 Garfonso, the list of feeds we fetch or the feeds themselves? Dec 20 00:18:02 the list of feeds, i.e. the configured feeds Dec 20 00:18:47 Garfonso: getConfigs -> get_configs_method -> /media/cryptofs/apps/etc/ipkg/* Dec 20 00:18:58 ah. k. Dec 20 00:19:18 does some funky parsing Dec 20 00:19:55 it has to fetch and parse out the packages.gz file Dec 20 00:20:28 oh wait Dec 20 00:20:31 (for each feed) Dec 20 00:20:36 Garfonso: ka6sox's question Dec 20 00:20:51 the config for the feed, or the actual packages within it? Dec 20 00:23:03 where does the list of feeds come from where does it get stored? Dec 20 00:23:06 ;) Dec 20 00:23:22 the LIST of feeds is getConfigs, isn't it, ka6sox? Dec 20 00:25:14 ah.. k. makes sense.. that is what the feedsModel is for (on the js side) Dec 20 00:26:18 on the other hand Dec 20 00:26:23 I've created an Preware HD icon some time ago, feel free to use it in the new Preware - http://t.co/QWeEsPDH Dec 20 00:26:30 I really don't like the way that the ipkg config is just passed up to the JS level Dec 20 00:26:32 it feels icky Dec 20 00:28:57 ShiftyAxel: can i bother you? Dec 20 00:33:07 EricBlade: bother away Dec 20 00:42:32 virox, can you upload this to our graphics page? Dec 20 00:42:57 http://webos-ports.org/wiki/Graphics_Work Dec 20 00:43:25 looks like graphics progress has stalled a wee bit Dec 20 00:43:36 Finals Dec 20 00:43:43 ah YES Dec 20 00:43:45 *yes Dec 20 00:43:48 silly capslock Dec 20 00:43:50 (not the final 4....) Dec 20 00:45:22 virox, if you don't have access let me know so I can give it to you. Dec 20 00:47:07 does anybody know what the heck "bindAsEventListener" does compared to a simple bind? Is that a mojo method? Dec 20 00:49:50 rehi Dec 20 00:50:14 wb Dec 20 00:50:29 wb Dec 20 00:51:04 woo Dec 20 00:51:08 I broke ubuntu inside virtualbox Dec 20 00:54:39 lukegb: Anyone can do -that-. Dec 20 01:07:33 lukegb: that won't be the ickiest thing you will find in Preware, I can assure you of that. Dec 20 01:10:42 * Garfonso found just another "model" that he has to convert to get some feeds to load up. ;) Dec 20 01:10:42 rwhitby: dare I ask why? Just because parsing is easier in JS than in C? Dec 20 01:11:35 bindAsEventListener was required for some cases Dec 20 01:11:47 it's relatively mojo specific Dec 20 01:11:59 enyo has bind Dec 20 01:12:20 I always use .bind, tbh. Dec 20 01:12:37 what's the difference to enyo.bind? Dec 20 01:13:06 i remember bindAsEventListener was good for connecting references to events. you'd make an event, and bind that to a variable. then you'd bind the variable as an event listener. then you could stop listening on the variable later' Dec 20 01:13:26 i think that's my best explanation Dec 20 01:16:52 wow: http://mixture.io Dec 20 01:16:53 :P Dec 20 01:17:54 enyo.bind is good for binding functions too. Dec 20 01:21:13 Enyo's event system typically doesn't need binding. Dec 20 01:21:45 so Dec 20 01:21:50 openwebos and qt5. WHEN :P Dec 20 01:22:21 lukegb: When it's ready. Dec 20 01:22:42 Although, maybe we'll release it before it's ready. ;D Dec 20 01:22:47 Roy__: I'm joking, really. Doing a Qt5 port would be pretty intense ;) Dec 20 01:23:24 We already announced Qt5 is coming. Dec 20 01:23:39 lukegb: what sort of performance increases do you think qt5 will bring? Dec 20 01:23:48 I've seen demos, but the majority are in the context of Qt Quick Dec 20 01:24:49 still need a useful way to combine enyo events and enyo singletons... ;) Dec 20 01:27:55 Garfonso: what exactly are you doing now? :P Dec 20 01:28:46 hehe.. that's just me thinking about weired stuff... ;) Dec 20 01:29:26 currently I try to follow what the update-assitant does to load the feeds and get that to run in enyo2 Dec 20 01:36:14 Garfonso, if you have specific questions and need oil just say his nick :D Dec 20 01:37:02 and rub the magic desklamp :D Dec 20 01:43:57 garfonso: should i clone your repo and hack on that? Dec 20 01:44:33 blog post how to package enyo2 apps for webos is coming along BTW Dec 20 01:44:40 feel free to do that... but it's pretty much in a rough state. ;) Dec 20 01:45:31 i don't know where i should work on ... Dec 20 01:45:32 great. :) Dec 20 01:51:22 * ka6sox pleads the 5th... Dec 20 01:51:51 swisstomcat: preware should be our main focus for this hackathon, perhaps work with garfonso? Dec 20 01:52:56 * ka6sox concurs... Dec 20 01:53:43 yeah Dec 20 01:53:55 which parts need attention? Dec 20 01:54:00 where are open questions? Dec 20 02:15:58 updated repository: https://github.com/Garfonso/preware-enyo2 Dec 20 02:16:31 Garfonso, thanks! Dec 20 02:16:55 what I did in the last week was to convert stuff in the model folder.. there is still some stuff missing. especially package.js (which became packageModel.js because of the name clash) is what is needed next to parse the feed information Dec 20 02:18:59 hm.. I did break the app loading. :( Dec 20 02:28:38 ok.. hm.. not really working yet. Dec 20 02:29:29 but I get tired (it's half past 3 am here). Dec 20 02:29:35 Garfonso, to make an omelet you need to break a few eggs... Dec 20 02:29:43 yes, late! Dec 20 02:30:06 push up what you have and sleep..come back another time when you are feeling better :D Dec 20 02:30:45 hehe.. yes, pushed my last changes. App loads again and tries to update feeds if you tap "loadFeeds". Dec 20 02:30:49 but it fails. ;) Dec 20 02:31:16 so. yeah. good night. Dec 20 02:32:05 thanks! Dec 20 02:32:08 culaters **** ENDING LOGGING AT Thu Dec 20 02:59:59 2012