**** BEGIN LOGGING AT Tue Jan 18 02:59:57 2011 Jan 18 05:09:42 * rick-home posted a rant on that thread. Jan 18 05:10:39 wooo ssds! Jan 18 05:10:54 makes for fast file transfers Jan 18 05:21:20 re Jan 18 05:22:55 Any webOSI gurus got tips on how to fix corruption of my Pre's filesystem(s)? Jan 18 05:31:25 fsck ? Jan 18 05:31:36 webos doctor? Jan 18 05:32:03 either or both of those. Jan 18 05:32:48 I am running a fsck from linux, it says Orphaned long file name part "ringtones" (and saverestore) with option to leave or delete. I want to save Jan 18 05:34:16 Can I fsck on-device? (Dunno if that would provide different results or not) Jan 18 05:34:36 sure, fsck on device would be best in fact Jan 18 05:34:49 even better from a recovery memboot Jan 18 05:34:54 ooo Jan 18 05:35:02 that sounds like a good plan Jan 18 05:35:13 that's the one where I take out the battery and hold vol up? Jan 18 05:35:31 and then memboot the installer image Jan 18 05:35:33 everything is fine, i just want to save those 2 dirs Jan 18 05:35:50 meta-doctor "make DEVICE=foo memboot- mount" will do the trick Jan 18 05:37:07 installer image? that sounds scary.. will it just be a non-graphical boot? Jan 18 05:37:56 installer kernel and initramfs Jan 18 05:38:21 the flash partitions are not touched - it's a memboot Jan 18 05:41:18 sounds sweet. not familiar with this terminology, regardless.. you guys are on point and mad webOS knowledgeable! Jan 18 05:50:08 hi wahts good Jan 18 05:50:28 be messin with bitbake Jan 18 05:51:11 anyone have an enviroment set up ? Jan 18 05:51:22 trying to bake an ipkg Jan 18 05:51:27 oc80z: not for webSO Jan 18 05:51:33 for openwrt-sdk? Jan 18 05:51:44 we don't bitbreak Jan 18 05:51:50 hrmph Jan 18 05:51:55 breakdance, MAYBE Jan 18 05:52:11 oc80z, the base OS does...but apps don't Jan 18 05:52:14 oc80z: used bitbake/OE on prev projects. never got it set up for webOS Jan 18 05:52:23 hmmph Jan 18 05:52:36 yeah i saw+ Jan 18 05:52:47 ok! Jan 18 05:56:37 oc80z, they use an OLD version of OE Jan 18 06:00:31 Hmmph Jan 18 06:06:52 oil: ping Jan 18 06:07:12 hey Jan 18 06:07:29 so I'm going to rearchitect save/restore to use node.js, since running 200 scripts to load the info is too slow at startup Jan 18 06:07:56 node services can be unjailed? Jan 18 06:08:00 nice! Jan 18 06:08:21 I'm figuring the build can merge a whole heap of individual .js files into a single big minified file, which will be instantaneous to load the initial data from. Jan 18 06:08:32 oil: yeah, worked out how. Jan 18 06:08:36 nice Jan 18 06:08:53 rwhitby: no need to heap them together Jan 18 06:09:14 halfhalo: why not? Jan 18 06:09:17 if you do it right, there wont be a perf impact Jan 18 06:09:22 and easier to navigate Jan 18 06:10:06 halfhalo: they'll be separate files in the repo, just merge on-device Jan 18 06:10:35 i mean, its still a bunch of what, checking files? Jan 18 06:10:37 but if you know a way to read and parse 500 json files as quickly as one, I'm all ears. Jan 18 06:11:53 oil: so I'm looking for a js object/class type schema for each file, so that they can be munged together into a single file without colliding Jan 18 06:12:02 if its json and not js runtime files, then merge em Jan 18 06:12:33 well, it could be either - haven't decided yet Jan 18 06:12:59 basically, here's the deal: Jan 18 06:13:10 so each is its own object Jan 18 06:13:13 1) folks submit easy-to-write backup scripts Jan 18 06:13:17 {foo: bar} Jan 18 06:13:28 2) each script has info, save and restore methods Jan 18 06:13:51 and when build joines it, var scripts = [{foo: bar},{foo: bar}] Jan 18 06:13:52 so.. scratchbox Jan 18 06:14:00 3) the info method needs to look in the filesystem to see the current list of backup files for that appid Jan 18 06:14:29 I would go the class way personally Jan 18 06:15:10 each app would be instatiated as a class with info, save, and restore methods, and then only created when needed Jan 18 06:15:11 like, {appid: "org.webosinternals.preware", save: function(){}, restore function(){}} Jan 18 06:15:13 4) the list service method calls the info methods for all the appid's Jan 18 06:16:15 5) each of the info, save and restore method will need to call upon methods from common classes, so that each individual script is only a couple of lines, and all the work is done in the common classes Jan 18 06:17:14 the 'list' service method (which calls the info method for each appid, which looks in the filesystem for a list of timestamped files for that appid) needs to be pretty much instantaneous, up to 1000 apps. Jan 18 06:17:30 oil: except you can't pass functions in json Jan 18 06:17:34 the save and restore methods can be slow Jan 18 06:17:49 halfhalo: he is merging them when its packaged in build.git Jan 18 06:17:55 he can put that into a .js file and include it Jan 18 06:18:24 i don't see how it can check up to 1000 files instantaneously Jan 18 06:18:42 lol Jan 18 06:18:45 well, could always run a test with the different methods Jan 18 06:18:48 cat header.js scripts/*.js footer.js > merged.js Jan 18 06:18:48 can anything do that? Jan 18 06:19:02 lol Jan 18 06:19:20 * halfhalo keeps thinking from a purely node point of view Jan 18 06:19:34 oc80z: I wonder if you could just take a nokia scratchbox env and build with it instead.. Jan 18 06:19:35 oc80z: we use sb2 for widk Jan 18 06:19:36 * oil has never used node Jan 18 06:19:51 * ajay hahas Jan 18 06:20:17 that was like, scripted Jan 18 06:20:34 oil: it should be able to get a recursive directory listing of up to 1000 filenames, and use js to weave that info into the returned data, pretty much instantaneously Jan 18 06:21:21 would it be checking to see if the files are there or just returning them? Jan 18 06:21:35 ls -1R Jan 18 06:22:11 less than 5 filenames in each of 200 directories Jan 18 06:22:50 don't need to open or stat the files, only talking dirents here Jan 18 06:23:11 i think nodes fs.readDir would work, and is node native Jan 18 06:23:50 is ls faster/more effic than find? (I guess if you're already happy with the results tho doesn't matter.. tho find could have other ads, like -exec) Jan 18 06:24:17 ajay: I'll be using fs.readdir in node.js Jan 18 06:24:26 preferably not going to the shell for anything Jan 18 06:25:23 so saverestore isn't, and doesn't plan to be, a hybrid app? impressive Jan 18 06:25:27 so it will be one readdir to get the list of app directories in /media/internal/saverestore, and then a further readdir for each of those to get the filenames Jan 18 06:26:03 ajay: sure it's a hybrid - the service is node.js Jan 18 06:26:29 the service is currently C, calling out to the shell for just about everything. that's why it's so slow. Jan 18 06:26:54 201 fs.readdir's should be pretty fast. Jan 18 06:27:01 huh Jan 18 06:27:14 rwhitby: don't forget we can do more than one at a time Jan 18 06:27:38 but is reading different areas of flash at hte same time going to increase anything? Jan 18 06:28:13 won't impact much now, but would scale much better if needed Jan 18 06:28:15 oil: I doubt it. theres no spindle, so it should be indentical Jan 18 06:28:23 identical even Jan 18 06:29:04 and plus, would help keep the whole chain in node async Jan 18 06:29:17 halfhalo: how would 100 sequential mtd reads differ from 100 parallel reads? it's the same number of accesses to the flash, and it's all CPU cycles. Jan 18 06:29:19 ok Jan 18 06:29:49 but its for an ar71xx target Jan 18 06:30:22 rwhitby, for a flash it *doesn't* matter as there is no seek or rotational latency Jan 18 06:30:32 ka6sox: exactly. Jan 18 06:31:33 for 100, it would make _no_difference, but for node it is usually best practice to go async. Jan 18 06:31:51 node on a HD...probably Jan 18 06:31:55 but is node a single thread? Jan 18 06:31:58 node on a flash? no difference Jan 18 06:32:07 yeah, node is single threaded Jan 18 06:32:25 * halfhalo hit the thread memlimit only once... stupid v8 Jan 18 06:32:39 so queuing up a hundred async requests is no different from doing them one at a time Jan 18 06:32:42 halfhalo: right, so on a flash read, there is never a yield, so your 200 parallels happen sequentially anyway Jan 18 06:33:50 halfhalo: on that note, if I were to use your method, and spawn off 200 readdir's, how do I know when they are all finished so that I can send a single message back to the caller with the combined results? Jan 18 06:34:53 seems to me that the bookkeeping of knowing when all 200 are finished might even make it slower ... Jan 18 06:35:04 I use a counter that only fires off the callback on the last fs.readdir Jan 18 06:35:29 blah Jan 18 06:35:42 with sync, node has to check, wait, check, wait, then fire off a new fs.readdir Jan 18 06:35:52 and in any case, we are quibbling over nanoseconds here Jan 18 06:35:52 check what? Jan 18 06:36:00 check if the previous read is done Jan 18 06:36:08 there is no yield on a flash read Jan 18 06:36:25 the read is done before node's async system call returns Jan 18 06:37:01 so doing it async and incrementing and checking a counter will be slower :) Jan 18 06:37:49 halfhalo: what would your scheme do if one of the replies gets lost and the counter never terminates? Jan 18 06:38:06 I guess that's the same in both Jan 18 06:38:20 wouldn't happen in either case Jan 18 06:38:26 yeah Jan 18 06:38:29 thats why async sucks Jan 18 06:38:50 no, async sucks due to callback hell, but only in larger programs Jan 18 06:38:50 haha Jan 18 06:38:55 async rules when there is actual I/O with yields happening Jan 18 06:40:41 so, back to the original question Jan 18 06:41:10 do I make each app a class, or do I just do each js fragment as an object with an inline function for each method Jan 18 06:41:38 object==class in this case Jan 18 06:41:41 oh, is there a way to do a conditional load in node.js? Jan 18 06:42:10 as in, only load in the stuff related to installed programs? Jan 18 06:42:14 so I can have a preloaded set of classes, and then someone can cp over a new .js file with an appid.js name and it will load that if it is references Jan 18 06:42:32 so people can easily test the scripts for new apps Jan 18 06:42:56 wouldn't be that hard to write Jan 18 06:42:57 rwhitby: probably Jan 18 06:43:42 just have an object that contains all the loaded in appid.js contents, and it something is asked for thats not there, do a fs.readFile and load it in Jan 18 06:44:38 would use less ram in any case Jan 18 06:45:30 did something similar for a node config loader and psuedo json files Jan 18 06:51:06 the tradeoff would be it would be slower to load for people who have a larger set of scripts to load. How much slower, no idea, but I'm thinking nanoseconds Jan 18 06:52:11 99.99% of users will load the single merged .js file from the package build. Jan 18 06:52:48 1 or 2 people at any time might test a new script Jan 18 06:54:28 now to work out how to have a single package with both a C service and a node.js service, and have the postinstall script switch between them at install time. Jan 18 06:54:50 lol Jan 18 06:54:58 just check to see if node is on the device Jan 18 06:55:17 the check is not the hard part Jan 18 06:58:21 * halfhalo dunnos about such things Jan 18 07:25:26 rwhitby: 'make DEVICE=foo memboot-verizonwireless mount' is looking for downloads/webosdoctorverizonwireless-.jar .. hmm, doesn't seem quite right? Jan 18 07:32:44 ajay: what did you use for "foo" ? Jan 18 07:35:00 * rwhitby bbl Jan 18 07:36:20 oh got it Jan 18 07:36:40 but ya know, without a power button, it's pretty impossible to powerdown the device.. ;^) Jan 18 07:37:02 (with the cable plugged in, i mean) Jan 18 07:37:18 and poweron too.. damn, that was sloppily written Jan 18 07:39:51 I ran it, got the phone to put a USB symbol on the screen, but.. now just sittin.. Jan 18 07:41:29 oh i can novaterm in.. but can't seem to run cmds Jan 18 07:41:45 oh Jan 18 07:44:05 what was the cmd to boot that installer img? Jan 18 07:56:28 oh is it just the novacom boot mem:// < nova-installer-image-castle.uImage got it.. what I'm really not sure about is how to fsck /media/internal Jan 18 07:56:37 I don't know much about the whole LVM scene Jan 18 08:03:06 ok think I got it.. ;^) but it didn't offer to restore my dirs, gah fsck Jan 18 08:05:19 fat needs a lost+found Jan 18 08:07:33 hm, maybe dos wants to have a crack at it.. if not, then time for doctorin anyways.. Jan 18 08:07:40 g'nite! Jan 18 08:14:42 blah Jan 18 08:14:54 i cant get squidview on this router Jan 18 09:49:58 Is there another update to preware coming? Jan 18 11:26:47 hello hello Jan 18 11:38:59 what palm can access when you install the facebook for webos app. Jan 18 11:39:05 https://img.skitch.com/20110118-dkxqg5hnbmeakq9he3pea18ggb.jpg Jan 18 11:41:09 Chat huh? **** BEGIN LOGGING AT Tue Jan 18 14:13:58 2011 Jan 18 14:44:20 Hello Sir, I have got palm pre with webOS 20 Jan 18 14:44:30 not able to enable developers mode Jan 18 14:44:45 http://developer.palm.com/index.php?option=com_content&view=article&id=1639&Itemid=19#InstallingEclipsewiththeSDK-dev_mode Jan 18 14:44:51 follwed this link. Jan 18 14:45:04 but I don't know what is the phone app Jan 18 14:45:14 I recieved palm yesterday Jan 18 14:45:16 plz help Jan 18 14:45:34 URGENT,, dying to try my app on phone Jan 18 17:55:17 hi all Jan 18 17:56:19 hi Jan 18 17:58:22 I'm following the http://www.webos-internals.org/wiki/WebOS_Internals_PDK#Installation_on_Ubuntu_for_webOS_PDK_cross_compiling how to to cross compile a program. I have a error during `make stage' about navit. Here is the output: http://pastebin.com/BpZkjGRT Jan 18 18:00:18 Someone has an idea about that? Jan 18 18:57:21 well, if would have been good if he had waited Jan 18 18:57:25 oh well Jan 18 18:57:52 this is the internet, people don't wait Jan 18 19:46:28 http://www.engadget.com/2011/01/18/exclusive-hp-palms-webos-tablets-pictures-plans-and-mor/ Jan 18 19:46:43 saw it Jan 18 19:47:21 Opal September, Topaz hopefully much sooner Jan 18 19:47:55 if not HP may be in trouble with this Jan 18 19:57:59 looks pretty Jan 18 19:58:30 * mikewx looks at his ipad...looks at his pre...looks at his ipad.... Jan 18 20:00:48 duct tape them Jan 18 20:02:10 i'm just hoping sprint ahs something decent to say at their feb announcement Jan 18 20:02:23 if i have to move to vzw i'm most likely to iphone it Jan 18 20:09:45 gesture area for all orientations, front facing camera :) Jan 18 20:11:39 yeah looks really nice Jan 18 20:12:03 apps matter though, and so far... not seein the webos lovin from devs Jan 18 20:12:17 awesome hardware and design only get ya so far Jan 18 20:23:55 mikewx: considering all the other major US Players being represented in the Opal leak but not Sprint, I think Sprint is probably out of the webos device game after pixi Jan 18 20:24:36 so a sprintified / comm board swap hacked pre2 may be the latest / last we Sprint users can get Jan 18 20:26:18 destinal: yeah, sad :( My sprint monthly bill is $56/mo taxes fees and all included. The same plan on vzw (for iphone) would cost me $78+taxes and fees. Sprint has great coverage for me, and superior network performance and they're cheaper. That's a lot to give up... Jan 18 20:27:21 but unless something changes, the pre isn't enough to make me jump network Jan 18 20:27:46 i'm not even sure the iphone is enough to make me jump, but the free mobile hotspot mode that it supposedly has helps level the cost aspect Jan 18 20:28:34 mikewx: hopefully someone will start marketing a service to sprintify pre2's. still without a subsidy we'll only get the die-hards Jan 18 20:30:01 Verizon users want to do coms board swaps on a Pre 2 as well ;) Jan 18 20:30:30 seb_or_sam: well, vzw is *supposed* to be coming out with a pre2 Jan 18 20:30:52 and ATT presumable Jan 18 20:30:54 y Jan 18 20:30:58 destinal: Yeah, but I got my GSM Pre 2 at dev day and I want it to work on Verizon... I don't wanna buy a new one Jan 18 20:31:18 seb_or_sam: oh, yeah, well comm board swap should be good then, agreed. Jan 18 20:31:39 destinal: Yeah. I'm worried about profile issues though. Jan 18 20:33:00 seb_or_sam: we'll get to the bottom of that Jan 18 20:33:21 destinal: how are things going with that? anyone done it without issues? Jan 18 20:33:58 seb_or_sam: we think that the moment that if you keep all the pre tokens, ie the device claims it's a sprint pre, everything just works. Jan 18 20:34:28 what's the fun in that Jan 18 20:34:29 except for some issues where hanging up calls returns errors as if they were disconnected, etc Jan 18 20:35:28 destinal: Really? So I save the tokens and it works as if it were a verizon pre 2? Jan 18 20:35:33 seb_or_sam: of course you have to disable updates so you don't get pushed an OTA update with a kernel that doesn't match your device etc Jan 18 20:35:44 seb_or_sam: I don't think anyone's tried with vzw pre2 but presumably. Jan 18 20:35:55 destinal: Well yeah, then it's time to meta-doctor ;) Jan 18 20:36:25 destinal: or pretending to be a verizon pre plus, whatever works Jan 18 20:36:35 seb_or_sam: I still wouldn't use your same palm profile. 1.4.5 -> 2.0 is a one way street with your profile Jan 18 20:36:39 and if there are issues... Jan 18 20:36:47 destinal: that's the problem Jan 18 20:37:08 now, once 2.0 comes out for vwz pre+ Jan 18 20:37:09 destinal: I wanna keep the apps I've bought... which is a lot Jan 18 20:37:13 then things will be safer Jan 18 20:37:19 destinal: true Jan 18 20:37:44 I want to say "in the coming years" Jan 18 20:37:44 destinal: I'm going crazy with my Verizon Pre Plus though. I wanna through it against the wall. Jan 18 20:37:46 :P Jan 18 20:38:12 since 2.0 is taking sooooo long Jan 18 20:38:25 haha Jan 18 20:38:30 yeah, it's painful Jan 18 20:59:14 is it possible to disable updates? o_o Jan 18 20:59:19 ota Jan 18 21:21:05 lumines: yes Jan 18 22:15:22 scoutcamper|sick: sick? Jan 18 22:19:30 is there any brief description of the pixi's touchscreen? Jan 18 22:19:58 i want to remove some of the tslib config options on the palmpre Jan 18 22:20:45 if it's the same driver, we might be able to reuse these options to configure it for the pixi Jan 18 22:48:58 HP/Palm !!!!!!!!!!!!!!!!!!!!!!!!!!!!! Where is 2.0 for pixie????????????????????????????????? Jan 18 22:50:52 sitting right next to 2.0 for pre Jan 18 22:51:01 mostly. Jan 18 22:52:38 Man man man, I sure hope that September 2011 is like, WAY off :C Jan 18 22:52:44 because that's stupid stupid Jan 18 22:55:41 SineOt: it's probably right on. but it may not apply to Topaz. Jan 18 22:56:05 or phones Jan 18 22:56:09 or netbooks Jan 18 22:57:40 I'm just looking at it off the basis that Motorola wants to ship like 800,000 Xoom tablets by the end of March Jan 18 23:32:12 hello Jan 18 23:32:35 how do i uninstall the preware from my palm pre Jan 18 23:33:23 ? Jan 18 23:34:33 why would you want to? Jan 18 23:36:03 ? Jan 18 23:36:17 anyone here Jan 18 23:36:48 yes Jan 18 23:36:58 quit leaving and you'll get your question answered much faster :3 Jan 18 23:37:13 i got disconnected sorry Jan 18 23:37:47 i have a palm and after installing the preware i am having problems with the phone Jan 18 23:38:12 Preware won't cause problems with the phone by itself Jan 18 23:38:13 i wanted to know how to uninstall it to see if the problem is with the preware Jan 18 23:38:18 Have you installed anything via Preware? Jan 18 23:38:26 applications Jan 18 23:38:28 thats all Jan 18 23:38:56 what is the problem? Jan 18 23:39:28 the phone freezes and doesnt let me do anything i have to restart it and or nothing updates on the phone Jan 18 23:39:49 alarm doesnt go off, time gets stuck, shuts off Jan 18 23:40:11 and i only have had it for 6 month but after the preware all this happened Jan 18 23:40:13 Yeah, that's a problem that runs way deeper than just installing Preware Jan 18 23:40:23 what do you suggest Jan 18 23:40:25 How did you install it? Jan 18 23:40:44 by the instruction in preware website Jan 18 23:41:11 There are 3 sets of instructions on the site :I Jan 18 23:41:20 the first one Jan 18 23:41:55 which is... (?) Jan 18 23:42:27 well hold on let me look at it again i dont remember Jan 18 23:43:08 webos quick install Jan 19 00:18:07 http://www.engadget.com/2011/01/18/hp-calls-us-out-implies-its-got-even-better-scoops-at-february/ Jan 19 00:33:06 destinal: I'm glad to see they're staying on top of things Jan 19 00:33:37 I think that's an awesome reply, and pleasantly quick :) Jan 19 00:33:46 lamawithonel: and hopefully not just that they're releasing phones too Jan 19 00:34:01 as much as I like seeing news on webOS, everytime I do I cringe at the thought that they are loosing control of their message Jan 19 00:34:02 lamawithonel: with that kind of response, they need to have something up their sleeves Jan 19 00:35:12 true that Jan 19 02:15:41 what up party ppl! destinal, you around? Jan 19 02:25:49 rsync to backup my phones media/internal ? Jan 19 02:25:51 overkill? Jan 19 02:26:11 though staged backups would be more useful Jan 19 02:26:35 anyone have backuppc installed and use it to keep backups of their pre? **** ENDING LOGGING AT Wed Jan 19 02:59:57 2011