**** BEGIN LOGGING AT Sun Aug 23 02:59:56 2009 Aug 23 03:14:25 What can you type into putty to find the pre's current GPS data Aug 23 04:17:46 hey all, quick quiestion RE: quilt: if I make a patch that I don't want to publish (it's a Global Search change), what's the best way to store it for later? can I just save it to a server and then re-download it if I need to replace my device? Aug 23 04:19:42 flare576: just put it in a safe place for later use Aug 23 04:20:17 ok, cool; I phrased the question poorly, just wanted to be sure it doesn't have to be in a git repository to work :) Aug 23 04:21:04 flare576: no, the git is just the easiet way "we" figured out of how to store and distribute the patches Aug 23 04:21:25 awesomeness :) I love you guys :D Aug 23 04:21:48 flare576: why dont you want to share it? Aug 23 04:23:02 It's very specific; it adds facebook, ebay, amazon, imdb, and Merriam-Webster to the Global Search Screen; I feel like it would be silly to just put up this one since there are so many other sites on the wiki to use as well. Aug 23 04:23:43 I made it so that the next time I have to patch webOS, it doesn't take me an hour to re-add them again. Aug 23 04:25:17 i'm still waiting to get added to the repo so i can share my patch Aug 23 04:25:45 flare576: ok, i guess makes sense Aug 23 04:26:22 I mean, I wish I had the skills to make a variable patch, or someway to easily specific "I want Amazon and Facebook on my global search" Aug 23 04:30:20 flare576: that would be cool, but i dont think its possible, or at least, easy to do Aug 23 04:31:29 gkatsev: is it possible to "stack" patches on a file? I think not, because it would see that the "old" file didn't match the patch... Aug 23 04:32:57 flare576: no, patches are line number based so once you apply one it screws all the others up Aug 23 04:37:46 hrm... I added .png files to the patch, but when I view the patch in a text editor, I don't see them mentioned... Does quilt not facilitate bringing in new images? Aug 23 04:38:23 * gkatsev wouldnt know... Aug 23 04:38:30 ok doke Aug 23 04:56:55 heh, quilt didn't pick up on the image files because they already existed. I fiddled around for a bit and I'm not sure quilt supports Binary files in general. Aug 23 04:58:51 nope Aug 23 04:59:06 it will support removing them, but it doesn't carry their data in the .patch file Aug 23 05:04:27 sleep now Aug 23 05:04:29 night Aug 23 05:09:04 exit Aug 23 05:10:57 can someone help me understand how to set up and use scripts and patches not already in the repository? like creating the reset-scroll patch Aug 23 05:21:07 you make a copy of the unpatched file, Aug 23 05:21:10 you patch it Aug 23 05:21:12 by hand Aug 23 05:21:18 and then run diff to make the diff file Aug 23 05:21:22 which IS the patch Aug 23 05:35:27 so sftp a copy of the file, make the changes, then run diff? Aug 23 05:36:50 what is the file type for the diff? Aug 23 13:22:29 * jettero is finally installing optware Aug 23 13:22:37 it's a lot easier than I thought... wget | sh Aug 23 13:23:29 although it appears to have gotten hng up Aug 23 13:23:40 is there a way for me to downgrade my pre from 1.1 to 1.0.3 or *.4? Aug 23 13:25:07 yes Aug 23 13:25:19 you'd have to find the appropriate webOS doctor installer Aug 23 13:25:28 as to why you'd want to is another question Aug 23 13:25:41 (and if you don't immediately root and disable the updater, it'll go back to 1.1) Aug 23 13:27:01 dang, I know.. darn phone updated itself.. I went to bed, so I shut it down cuz I did not want it to update. Find out this morning the phone rebooted instead and is updated to 1.1 Aug 23 13:27:26 and if I downgrade, I'll have everything working? Aug 23 13:27:27 why didn't you want 1.1? Aug 23 13:27:39 I know the iphone would screw up Aug 23 13:27:50 I have some more 'preparations' to do before Aug 23 13:34:32 I found that you can't really leave the device plugged into a charger turned off Aug 23 13:34:39 eventually it will notice it's charging and turn itself on Aug 23 13:35:01 Ok, yeah' that's what happened to me. left it plugged into usb Aug 23 13:37:33 how do I disable the updater? Aug 23 13:39:16 I dunno, but I'm still curious about why you want to do this... Aug 23 13:40:53 I'm not in US, so I'm manually activating it here Aug 23 13:45:40 and the update deactivates it? Aug 23 13:47:16 well, I first need to run other programs to read some codes from the phone, and write a new MEID to it Aug 23 13:48:45 and read SPC/MSL codes Aug 23 13:55:19 maybe you could just put it in airplane mode until you get the codes Aug 23 13:55:22 no hackery necessary Aug 23 15:46:32 good morning guys... I'm curious if there is a way to mount the pre, and perform a dd? Aug 23 15:47:12 branded: you can probable do it via novaterm or ssh Aug 23 15:47:30 i was messing with it last night, trying to do the USB bootloader option (volume up + power on) and i can't seem to mount the file system Aug 23 15:47:55 branded: sure is Aug 23 15:48:10 gkatsev: thanks, i'll check that out Aug 23 15:48:18 s/probable/probably/ Aug 23 15:48:27 branded: just ssh in Aug 23 15:48:28 PuffTheMagic: is that the correct method? Aug 23 15:48:31 and you can read everything Aug 23 15:48:32 infobot: RIP Aug 23 15:48:58 okay cool, i'm getting all crazy trying to read the device, but ubuntu can't see the device... etc etc Aug 23 15:49:03 branded: im just curious what part are you trying to dd Aug 23 15:49:09 just ssh in and i should be able to dd? Aug 23 15:49:11 the main fs Aug 23 15:49:22 or whatever, the main device Aug 23 15:49:36 yeah in "usb storage mode" you arent gonna get access to the linux user land Aug 23 15:49:37 branded: webosdr isnt good enough for you? Aug 23 15:49:42 that would be way to easy to hack Aug 23 15:49:43 ;) Aug 23 15:49:51 if i remember correctly, from dealing with lvm on one of my servers at work, you need to unmount the fs, then you can dd Aug 23 15:50:04 no Aug 23 15:50:07 gkatsev: what can I say? I'm messing around :D Aug 23 15:50:09 u can dd a running filesystem Aug 23 15:50:21 branded: but yeah the webos dr image has the whole userland in a tar.gz Aug 23 15:50:38 its better to not dd a running filesystem because it will copy the /dev and you dont want to copy that Aug 23 15:51:02 gkatsev: well that is more of a rootfs issue ;) Aug 23 15:51:08 in general you dont need to unmount Aug 23 15:51:09 but yeah Aug 23 15:51:14 i wouldnt want to do that over /dev Aug 23 15:51:22 that could get interesting Aug 23 15:51:26 yeah, i guess Aug 23 15:51:35 so, i should be able to dd over ssh? Aug 23 15:51:43 not over ssh Aug 23 15:51:50 over novaterm? Aug 23 15:51:52 :) Aug 23 15:51:53 no Aug 23 15:51:54 * gkatsev doesnt really have that much experience with that Aug 23 15:52:04 over magic? Aug 23 15:52:06 you could dd onto media-internal Aug 23 15:52:11 and then mount it and retrieve it Aug 23 15:52:31 or do u want the whole 8 gig image? Aug 23 15:52:40 hell yea i do! Aug 23 15:52:48 then you are sol Aug 23 15:52:53 :'( Aug 23 15:53:00 you can get all the pieces Aug 23 15:53:05 and put it together Aug 23 15:53:09 but u cant get it as 1 Aug 23 15:53:13 i think i understand Aug 23 15:53:18 but actually Aug 23 15:53:29 what state is the phone in when you do the usb + volume up thing? Aug 23 15:53:47 very low level Aug 23 15:53:47 PuffTheMagic: if you dd /, wont you get /media/internal as well? Aug 23 15:54:16 gkatsev: you dont dd / you dd /dev/lvm/rootfs Aug 23 15:54:21 i run vista, so i booted into ubuntu live and attached the device, and put it in that "bootloader mode" Aug 23 15:54:21 or what ever the path to the device is Aug 23 15:54:28 the device was listed under lsusb Aug 23 15:54:31 branded: it wont be Aug 23 15:54:32 PuffTheMagic: ah, ok, makes sense Aug 23 15:54:40 but was i found no fs or dev in dmesg Aug 23 15:54:43 branded: the bootloader mode is so low level Aug 23 15:54:49 only enough support to talk over usb Aug 23 15:54:54 and light up the display with a logo Aug 23 15:54:59 and some other basic functions Aug 23 15:54:59 i see Aug 23 15:55:07 most of the hardware isnt initialized at that point Aug 23 15:55:37 but... you could probbaly build a custom kernel Aug 23 15:55:39 i see... so webos doctor must send stuff over serial to load the storage etc? Aug 23 15:55:47 and modify the code that export media-internal Aug 23 15:55:49 in usb mode Aug 23 15:55:55 yea, that's a little criznazy Aug 23 15:55:56 and make it expose the whole disk Aug 23 15:56:03 or maybe that is luna code Aug 23 15:56:03 idk Aug 23 15:56:33 branded: the bootloaded knows how to write to the disk Aug 23 15:56:34 alright... i'll try "dding" on the root and see what happens :) Aug 23 15:56:41 ahh... okay Aug 23 15:56:48 so, it does know that the device exists Aug 23 15:56:54 but it obviously isn't mounted? Aug 23 15:57:26 well it knows a disk is there and hwo to write to it, what it cant do it present the device as a mass storage device to your linux box Aug 23 15:57:51 the bootloader is only like 64k or less Aug 23 15:57:59 not much room for code Aug 23 15:58:36 ahh okay... i mean, if it's not a mass storage device... there must be a way to read it if it can be written? Aug 23 15:58:51 yeah you can read it... you just cant use dd Aug 23 15:59:26 but everything is in the webos dr stuff Aug 23 15:59:30 so, it's not a device? Aug 23 15:59:32 it would be so much eaiser to hack in that Aug 23 15:59:36 (maybe i need to read up on dd?) Aug 23 15:59:44 dd is a linux command Aug 23 15:59:51 you need to be in linux to use it Aug 23 15:59:57 the bootloader is not linux Aug 23 16:00:27 right, but i'm talking about booting into linux on my machine and hooking up the device externally over usb Aug 23 16:00:33 so i can utilize dd from linux on my pc Aug 23 16:01:03 but from what i'm reading, dd needs to interface to a device Aug 23 16:01:10 right Aug 23 16:01:21 and you're saying that the bootloader doesn't "make the pre" a device Aug 23 16:01:23 but if you want to do this from your ubuntu livecd.... Aug 23 16:01:35 you will only get access to media-internal Aug 23 16:01:41 and only when its on in usb disk mode Aug 23 16:01:56 so what is so magical about webos doctor? Aug 23 16:02:16 its the tool palm gave us to restore our messed up Pre's Aug 23 16:02:23 right Aug 23 16:02:26 its got EVERYTHING to put a palm back to out of the box state Aug 23 16:02:30 anyone ever reverse engineer it? how does it communicate with the pre? Aug 23 16:02:36 yup Aug 23 16:02:42 its all java Aug 23 16:02:45 you can decompile it Aug 23 16:02:50 okay, so how does webos doctor communicate with the pre? Aug 23 16:02:50 to readable code Aug 23 16:02:54 that's cool Aug 23 16:03:01 novacom Aug 23 16:03:54 maybe i'm disconnected from the idea that novacom can read and write to the pre, but you can't redirect output of the low-level system using dd Aug 23 16:03:57 what am i missing? Aug 23 16:04:29 i dont get what you are missing Aug 23 16:04:38 maybe i need to read more on dd Aug 23 16:04:44 no Aug 23 16:04:47 you understand dd Aug 23 16:04:51 okay Aug 23 16:05:05 there must be a way to read "the entire thing" to something that is restorable? Aug 23 16:05:10 dd works with things that show up on the linux userland Aug 23 16:05:10 you're implying there isn't? Aug 23 16:05:15 devices that show up in /dev Aug 23 16:05:27 okay discounting dd... Aug 23 16:05:49 branded: sure you could probably use novacom to dump the disk contents Aug 23 16:05:55 neat Aug 23 16:06:00 but why you would try to do that beats me Aug 23 16:06:09 its all as images and raw files in the webos dr Aug 23 16:06:24 what about all my settings? and patches, etc? Aug 23 16:06:33 what about them Aug 23 16:06:47 they are lost, ey? Aug 23 16:07:02 how/when did they get lost? Aug 23 16:07:05 im not following Aug 23 16:07:12 how? Aug 23 16:07:48 if you're telling me that webos doctor pulls the image from a file, this file contains the system, but not my system... the original "factory" system Aug 23 16:07:53 so, my setings are lost Aug 23 16:07:58 they aren't there Aug 23 16:08:07 but at that point, i suppose the rsync method would work fine! so it's kind of pointless Aug 23 16:08:09 right? Aug 23 16:08:18 i didnt tell you to write the image back to your pre Aug 23 16:08:32 i don't know what's more fun, research, testing, or just talking to you about it Aug 23 16:08:33 you started saying you wanted to dump the whole disk to a file Aug 23 16:08:54 i mean, i was supposing the was the best way to take an image of the system for a complete restore Aug 23 16:08:56 now you are sounding like you want a backup Aug 23 16:09:09 a backup of the entire system and all changes i've made Aug 23 16:09:30 well you dont really need to copy the boot partition Aug 23 16:09:38 and you can already back up your media Aug 23 16:09:49 so you just need a backup of the root userland part Aug 23 16:09:54 the part with all the mojo and shit Aug 23 16:09:59 and you can back that up lots of way Aug 23 16:10:09 dd being one of them... but not how I would do it Aug 23 16:10:12 right... so rsyncing the mounted fs would work fine? Aug 23 16:10:25 yeah rsync would be a good method Aug 23 16:10:26 how would you do it? Aug 23 16:10:33 what other methods are available? Aug 23 16:10:44 wel you could tar it up and scp Aug 23 16:10:45 or Aug 23 16:10:48 you could track it with git Aug 23 16:10:55 :O Aug 23 16:11:00 hah Aug 23 16:11:02 alright :D Aug 23 16:11:06 interesting Aug 23 16:11:07 but dont put that on a public repo Aug 23 16:11:13 hahahhaha Aug 23 16:11:14 cause the palm files are copyrighted Aug 23 16:11:17 yea! :D Aug 23 16:11:32 and my personal info is copyrighted :) Aug 23 16:11:40 but you could make a loopback file on media interal Aug 23 16:11:47 and format it ext3 or what ever Aug 23 16:11:57 and use that to hold your .git/ dir Aug 23 16:12:07 which really tracks your root / Aug 23 16:12:12 that's very interesting Aug 23 16:12:27 why use git over other SCM? Aug 23 16:12:31 then every little change you make you can just have tracked with git Aug 23 16:12:42 branded: depends what you do Aug 23 16:13:01 probably dont really matter what you use Aug 23 16:13:06 i hated cvs Aug 23 16:13:17 and used svn for a very short period of time Aug 23 16:13:18 i'm familiar with mercurial Aug 23 16:13:26 the devs at work use that Aug 23 16:13:32 i got using git cause of all the kernel work i do Aug 23 16:13:33 so i have administrative experience with it Aug 23 16:13:41 hg should be fine Aug 23 16:13:51 that's a very interesting idea Aug 23 16:13:58 idk if anyone has build hg for the pre yet Aug 23 16:14:02 i know thre is git though Aug 23 16:14:07 ahh i see Aug 23 16:14:23 you're one of those devs who's a genius, i can smell it Aug 23 16:14:28 yes, mercurial exists via optware Aug 23 16:14:30 thanks for the input Aug 23 16:14:36 but rsync would probably easiest Aug 23 16:14:51 jsut for backups Aug 23 16:14:56 all the packages: http://www.nslu2-linux.org/wiki/Optware/Packages?from=Unslung.Packages Aug 23 16:15:02 gkatsev: thanks Aug 23 16:15:04 and if you didnt want to mess with git/hg on the pre Aug 23 16:15:10 you could rsync it to your local box Aug 23 16:15:19 then do the tracking on your localbox Aug 23 16:15:19 yea, that sounds like what i'll do Aug 23 16:15:23 even make changes Aug 23 16:15:27 work on something that does it auto-magically Aug 23 16:15:29 then rsync back Aug 23 16:15:35 right right! Aug 23 16:15:42 kick ass... Aug 23 16:16:09 and if you were really slick Aug 23 16:16:15 (which i am) Aug 23 16:16:23 you could use the same mojo in the emulator first Aug 23 16:16:25 and test it Aug 23 16:16:30 before you rsync it to the pre Aug 23 16:16:39 awesome Aug 23 16:16:51 cool man Aug 23 16:16:54 i'll probably do that Aug 23 16:17:08 make a single hg repo for the entire rsync thing Aug 23 16:17:47 do you use trak? Aug 23 16:17:54 no Aug 23 16:18:01 what do you use? Aug 23 16:18:12 we use redmine... and i'm working on integrating hg repos into it right now Aug 23 16:18:23 gitweb or cgit Aug 23 16:18:38 so you use git for your professional work as well? Aug 23 16:18:45 yeah Aug 23 16:19:14 i like its workflow and what you can do with it Aug 23 16:20:25 wow i like cgit's logo, it wins :D Aug 23 16:20:50 interesting... i'm not quite sure why the lead dev chose hg Aug 23 16:21:06 hg and git are pretty similar i hear Aug 23 16:21:07 but it doesn't matter to me what the use, obviously... since i'm not using it :) Aug 23 16:22:22 this is totally off topic (i would have said "sort of..." but that'd be a lie)... are there plugins/addons for [open office] that use scm? Aug 23 16:22:55 it seems like utilizing git or hg for a document management system would be fine Aug 23 16:22:57 you arent editing code in OO are you? Aug 23 16:23:15 well, no, but it should work fine anyway, right? Aug 23 16:23:35 as long as "you" integrated the ability to read the docs in plain english so humans could read the differences? Aug 23 16:24:04 let's start a company Aug 23 16:24:38 i'll see if i can entice the senior dev enough with that idea that he writes something that we can integrate into redmine, and that will solve our document management system need Aug 23 16:24:55 alright i'm tangenting Aug 23 16:24:58 gotta get out of the house Aug 23 16:25:05 thanks for all the discussion Aug 23 16:25:08 have a good day Aug 23 16:25:11 np Aug 23 16:53:15 what would cause this error: Exception caught in V8Proxy::CallFunction (0) (Uncaught TypeError: Cannot call method 'bind' of undefined) Aug 23 16:58:39 Ikyo: it says exactly what caused it Aug 23 17:03:16 I am not that familiar with js and luna/webos. Can you tell me what is causing it? I know it is a function call, but not sure which Aug 23 17:04:53 Cannot call method 'bind' of undefined Aug 23 17:05:03 you called bind() somewhere that you cant Aug 23 17:10:23 hmmmm, not seeing where I am calling a bind anywhere. I am guessing this has something to do with the original pull of the data Aug 23 17:10:42 idk what "the data" you are talking about Aug 23 17:11:37 I found 2 fields in the Palmdatabase that are not being used from everything I can see. Aug 23 17:11:58 They are for messagingRingtones. I was modifying the contacts app to change those fields. Aug 23 17:12:26 why dont you make a standalone app to change those Aug 23 17:12:31 then you can distribute it Aug 23 17:13:38 I will probably work with HattCzech to get those edited. Then have to look at patching the sounds to check those fields. Aug 23 17:14:10 puff, that's what i've done :) Aug 23 17:15:10 although, if i can modify that database, it'll give me a location for the sound storage Aug 23 17:15:17 HattCzech: i didnt say it wasnt done already Aug 23 17:34:52 Ikyo: yo!!! Aug 23 17:34:59 i just noticed that thread on precentral Aug 23 17:35:16 for making the led blink with notifications Aug 23 17:35:22 but they dont use my ledservice Aug 23 17:35:32 they use the dangerous shell script executor Aug 23 17:35:34 wtf Aug 23 17:35:55 I was hacking something together really quick. Aug 23 17:36:27 that was your design from the get go? Aug 23 17:36:53 I was modifying Jackie's script to allow it to control LED's and vibrate Aug 23 17:36:57 cause the very first thing my dad reqested of me was to add a feature to make the LEDs flash for notifications when the display is off Aug 23 17:37:03 so thats why i made the LEDservice Aug 23 17:37:14 but i never got around to using it Aug 23 17:37:20 but that is why i made it Aug 23 17:37:24 and its secure Aug 23 17:37:30 unlike the shell script thing Aug 23 17:38:12 if you want to refactor the patch to use the LEDservice that would be cool Aug 23 17:38:16 and i can add some more functions Aug 23 17:38:16 Yeah, it would require an ipk that runs in the background that wakes the phone at certain times and points based on if there is a text or not. Aug 23 17:38:22 for different type of flash styles Aug 23 17:38:41 why would it have to wake up? Aug 23 17:38:59 When the phone goes into suspend, it will suspend everything running including the script. Aug 23 17:39:17 Even if you remove the LED portion, the script will halt when the phone goes into suspend. Aug 23 17:39:32 then how is it that it gets notifications while suspended? Aug 23 17:39:53 It doesn't right now. Aug 23 17:40:13 seems like it Aug 23 17:40:18 like it does Aug 23 17:40:19 The phone is woken up form suspend when a new message comes in. Aug 23 17:40:50 ehhh yeah i see Aug 23 17:41:02 It doesn't go into suspend when on a touchstone or charger. Aug 23 17:41:24 i forgot the phone part can wake it up Aug 23 17:41:32 how else would calls come though ;) Aug 23 17:42:11 Yeah, that is pushing that into a background app would be a great thing. Aug 23 17:42:27 what? Aug 23 17:42:42 the pager nager script Aug 23 17:43:11 It could pop open like every 5 minutes to see if there are any unread messages. If there are, do what ever it needs to then let the phone go back to sleep. Aug 23 17:43:47 how would that even be possible if its suspended? Aug 23 17:46:02 according to a link Hatt sent me, you can issue a wakeup command. Aug 23 17:53:32 link to link? Aug 23 17:55:08 http://developer.palm.com/index.php?option=com_content&view=article&id=1572 Aug 23 17:59:57 Ikyo: ahh so then that would be dead simple Aug 23 18:00:09 using Alarms and LEDservice services Aug 23 18:01:07 but how "usefull" is this Aug 23 18:01:15 to wake up the phone every 5 seconds Aug 23 18:01:20 just to blink a led Aug 23 18:01:45 You could make it an option so it doesn't have to do it. Aug 23 18:02:36 have to do what? Aug 23 18:03:01 blink the PED Aug 23 18:03:04 err LED Aug 23 18:03:11 that is the whole point isnt it Aug 23 18:03:21 not of pager nagger Aug 23 18:13:06 this whole converstion started about making the LED blink for notifications.... idk what the pager nagger is Aug 23 18:19:48 combines the LED function with vibrate and sounds Aug 23 18:39:52 is there a known bug where preware will simply say "updating" Aug 23 18:51:11 mine is doing the same Aug 23 18:54:05 "Note that you *must* use version 2.01 or later of WebOS Quick Install. Verision 2.0 had a bug which causes the installation of the Package Management Service to fail, and Preware then hangs on the initial "Updating" screen. A reinstallation with version 2.01 should fix that. " Aug 23 18:55:52 also make sure you have the service installed Aug 23 19:02:15 scasplte2: what version of Preware are you using? Aug 23 19:25:26 finally installed the addon vs toolbox Aug 23 19:25:36 only thing I miss is my ctrl-enter to quicklaunch to emulator Aug 23 19:34:55 has anyone tried using webos doctor to clear their phone, then restore databases to it? Aug 23 19:39:35 hey everyone Aug 23 19:43:54 hiya Aug 23 19:45:11 jettero: what you up 2 my man Aug 23 19:46:24 I'm trying to find a way to get a service (arm cross compiled) to do something every some many seconds... but I'm finding that when powerd suspends the phone (screen off) it intercepts usleep and sleep ... Aug 23 19:46:50 I don't think there's any way around it. I'm reading that phoned also does not fire when in sleep mode Aug 23 19:47:27 the phone does seem to wake for incoming sms though, so there's probably some way to trap an event or something Aug 23 19:47:33 if so, it's not a signal() in the unix sense Aug 23 19:47:36 :) Aug 23 19:47:38 answer your question? Aug 23 19:48:20 ... reading that *crond* also does not fire in sleep mode... made a typo Aug 23 19:48:51 jettero: alerts service Aug 23 19:48:54 will help you Aug 23 19:49:40 url? Aug 23 19:50:10 its a palm service Aug 23 19:50:20 its in their service api section of their website Aug 23 19:50:39 and how are you gonna make a native service Aug 23 19:50:44 you dont have lunaservices.h Aug 23 19:50:47 so you cant compile it Aug 23 19:50:55 I made a regular old linux daemon Aug 23 19:50:57 any service right now has to be java Aug 23 19:51:00 fork() setsid() ... Aug 23 19:51:07 ewww Aug 23 19:51:08 it runs just fine, it just goes to sleep in sleep mode Aug 23 19:52:17 frankly, I think luna goes to sleep too... Aug 23 19:53:16 yes it does Aug 23 19:53:20 you need to use alerts Aug 23 19:53:22 I don't see an alerts service, alarms? Aug 23 19:53:29 yes Aug 23 19:53:30 alarms Aug 23 19:53:32 my bad Aug 23 19:58:49 writing apps using the app assistant is one huge pain in the ass Aug 23 19:59:52 its pretty damn easy Aug 23 20:00:02 terminal and preware do it Aug 23 20:00:05 use them as a model Aug 23 20:00:41 it reminds me of early flash days when it was hard to keep track of things with _parent._parent and crap Aug 23 20:00:54 gonna take a break and reattempt it after taking a look @ this book Aug 23 20:01:08 just look at examples Aug 23 20:01:19 i looked at the browser app Aug 23 20:01:22 as an example Aug 23 20:01:30 for when i converted terminal to app-assistant Aug 23 20:01:32 well getting it to run isn't an issue really Aug 23 20:01:53 my back swipes jsut arent working and I have to figure out why, and it's likely because of how the scenes were pushed Aug 23 20:04:25 hmmm, I did a remote whipe and the phone won't boot Aug 23 20:04:34 web os doctor seems to fail too Aug 23 20:04:48 gets to 6% and then the phone starts booting Aug 23 20:05:01 Exstatica: i know what you can do Aug 23 20:05:07 plug it in via usb Aug 23 20:05:17 and reboot into recovery mode Aug 23 20:05:22 then start novaterm Aug 23 20:05:26 and type: Aug 23 20:05:35 charging enable 500ma Aug 23 20:05:46 and charge it manually Aug 23 20:06:06 ok i have the giant usb logo on the screen Aug 23 20:08:35 ok then what? Aug 23 20:08:39 i typed the command Aug 23 20:08:42 got a ] Aug 23 20:10:45 ok now i have a battery charging icon Aug 23 20:11:36 did u type the command Aug 23 20:11:41 i beleive i had it correct Aug 23 20:11:44 if you type help Aug 23 20:11:47 at the ] Aug 23 20:11:47 yeah "charging enable 500ma" Aug 23 20:11:50 :D Aug 23 20:11:51 ok Aug 23 20:11:59 the pre screen shows a big battery with a charging icon Aug 23 20:12:03 i would leave it there for a while then try webosdr again Aug 23 20:12:50 oh you think its the battery? Aug 23 20:30:42 Puff, when you push a scene in an app-assistant app Aug 23 20:31:21 say he app assistant pushes the scene "home" and from home you push a new scene, how do you do it? I've tried a number of methods and so far they either do not work, or when I backswipe (or use escape int he emulator) the app freezes Aug 23 20:31:27 or rather deactivates Aug 23 20:34:24 you should just be able to push a scene like normal Aug 23 20:34:30 you do mean scene not stage right? Aug 23 20:34:54 mmhmm Aug 23 20:35:37 Mojo.Controller.stageController.pushScene("myscene", event.item.mid); Aug 23 20:35:44 so that method should work correct? Aug 23 20:35:48 gona try that again Aug 23 20:36:28 yeah that "should" work Aug 23 20:37:09 agreed, but it doesnt. i left my webos book @ the office else id just plow through that Aug 23 20:39:01 http://webos.pastebin.com/d4e5c9891 Aug 23 20:39:22 this works btw, only I can't backout of the scene once pushed Aug 23 20:39:42 even if i comment out popScenesTo -- this was grabbed from dev.palm Aug 23 20:53:42 why are you doing popScenesTo Aug 23 20:53:44 and activate Aug 23 20:53:52 though you just had to push scene Aug 23 20:53:52 PuffTheMagic: still is not working Aug 23 20:54:09 yeah Aug 23 20:54:12 just pushScene Aug 23 20:54:30 it pushes the new scene on top of the current scene Aug 23 20:54:34 and runs the activate fucntion Aug 23 20:54:40 you dont have to call it yourself Aug 23 20:55:43 hey oil how do you make it so the app scene doesnt scrool Aug 23 20:55:52 uh Aug 23 20:55:57 when you push it you send options Aug 23 20:56:25 Is anyone working on a longer vibrate? Aug 23 20:56:41 ok i thought it was a way to do it in appinfo Aug 23 20:56:46 atlanta: its in developer.palm.com somewhere Aug 23 20:56:55 i dont remember exactly how off the top of my head Aug 23 20:56:57 yea looking around now Aug 23 20:57:00 thanks Aug 23 20:57:17 oh Aug 23 20:57:18 its disableSceneScroller: true Aug 23 20:57:53 this.controller.stageController.pushScene({name: 'myScene', disableSceneScroller: true}, options); Aug 23 21:01:15 thanks Aug 23 21:09:47 oil, if that was to me, simple pushScene doesnt work Aug 23 21:10:05 Mojo.Controller.stageController.pushScene("myscene", event.item.mid); Aug 23 21:25:15 whew, got off my 64bit vista machine, went to a 32bit win7 machine, hacked the installer, and now its installing the rom Aug 23 21:29:02 So for the webOS-Internals icons it has come down to two icons for the "Service" icon. It will show up in the corner of services the same way the plugin icon will. What we need from you guys is to let us know which icon you feel better says "Service". The choices are "Gear" or "Wrench" http://www.webos-internals.org/wiki/Icons Aug 23 21:29:43 gear i think Aug 23 21:29:46 or a mixture of the two Aug 23 21:30:18 (a mix of the two is not possible due to it losing it's meaning as such a small dpi) Aug 23 21:30:43 it COULD, but I see your point Aug 23 21:30:48 in any case, I'd stick with gears Aug 23 21:30:52 use the wrench for tools Aug 23 21:52:01 Does anyone know if there is any possible way to change the carrier string without having to root the pre (via an app)? Aug 23 21:56:46 Yes Aug 23 21:57:16 quickinstall ftw Aug 23 21:57:20 Ya lol Aug 23 22:02:28 damn, json is slowly kicking xml's ass Aug 23 22:16:44 they both have their uses Aug 23 22:47:57 egaudet: you there Aug 23 22:50:56 yea Aug 23 22:51:44 egaudet: the keyboard doesnt show in the messaging app correctly Aug 23 22:51:54 how so Aug 23 22:52:00 when i double tap you only can see the bottom row of the buttons Aug 23 22:52:09 and its all the way at the top of the screen Aug 23 22:52:16 you need the updated patch Aug 23 22:52:27 oh lalala Aug 23 22:53:26 when did you fix it last night Aug 23 22:53:26 ? Aug 23 22:53:55 yea Aug 23 22:54:14 oh ok cool cuz i was trying to hit you up last night but u was away Aug 23 22:54:19 now I am working on the duplication/drag issue in messaging app Aug 23 22:54:33 yea I fixed it and then went out Aug 23 22:54:35 oh the dragging in the background Aug 23 23:18:01 i've enabled developer mode, and the drivers are installed Aug 23 23:18:10 but i can't seem to get novaproxy to work Aug 23 23:18:48 it used to work Aug 23 23:30:46 is there a way to force a button to have certain text (by using html) instead of passing it when i setup the widget? Aug 23 23:32:46 meh, i guess the attributes work, but shouldn't be necessary Aug 23 23:37:52 css probably Aug 23 23:39:20 i dont think you can set text with css xD Aug 23 23:39:31 yeah, i'm not sure about that either Aug 23 23:39:53 i was able to do it with an attribute, that way i can still change the model without throwing that in there Aug 23 23:42:43 can you just use get().update() Aug 23 23:42:58 yeah, that would probably work Aug 24 00:02:50 okay, I have a question about WebkitTransform.rotate...I have one scene where it works...then, I copied the same divs/canvases/code to another scene and it will not rotate the canvas anymore Aug 24 00:03:00 what would the difference be? Aug 24 00:05:44 er, this.controller.get('canvas_id').style.WebkitTransform = 'rotate(' + degrees + 'deg)'; Aug 24 00:05:55 not, WebkitTransform.rotate Aug 24 00:08:49 oil: wats uppppp Aug 24 00:08:55 does anyone have sound working on the emulator? Aug 24 00:09:24 I didnt manage it.. ended up just getting a pre haha Aug 24 00:09:40 hahaha Aug 24 00:09:47 i have one of those, too :) Aug 24 00:09:49 aye Aug 24 00:09:55 just wanted to test first Aug 24 00:51:12 what is the command to remove just one patch? on the wiki it only shows to use "quilt pop -a" to remove all. Aug 24 00:51:36 instead of -a specify the patch name Aug 24 00:52:14 does it need the full path like /opt/src/patches/message-forwarding.patch or just the patch name? Aug 24 00:52:25 no Aug 24 00:56:57 has anyone had their messaging application not show previous conversations? if I send a text to someone that I previously texted, it then pops up the history, but if I swipe back to the main screen, there are no convos again. Aug 24 01:09:30 mornin Aug 24 01:09:41 what's new in webos-internals land? Aug 24 01:09:58 * rwhitby is refreshed after a couple of days camping with no internet connectivity Aug 24 01:10:53 * AnOutsider is wishing it were morning instead of 9PM Aug 24 01:12:24 morning Aug 24 01:14:58 does anyone know where the messaging app stores history? Aug 24 01:18:51 WillJitsu: /var/luna/data/dbdata/PalmDatabase.db3 Aug 24 01:19:02 com_palm_messaging_data_ChatThread Aug 24 01:22:25 guess I'm not the only one having this problem: http://forums.precentral.net/palm-pre-tips-information-resources/186130-messaging-bug.html Aug 24 01:24:01 damn delete text message bug killed me Aug 24 01:24:36 i just had to do a webosdoctor restore Aug 24 01:24:38 to fix everything Aug 24 01:24:54 for reason none of the full erases or remote whipes were working Aug 24 01:25:11 yeah I've used the webos doctor once for this problem already Aug 24 01:25:45 I just thought it was me editing files, but apparently it's b/c my conversations get too long Aug 24 01:26:05 gonna try a partial erase and see if that works. if not, gotta erase it all again. ugh. Aug 24 01:26:43 mine didn't work Aug 24 01:26:49 partal, full, or remote whipe Aug 24 01:27:04 when the phone came back up it was still the way i had it before Aug 24 01:27:08 the wipes didn't do anything Aug 24 01:27:20 not sure if its because i had it hosed up somewhere else Aug 24 01:27:29 but a remote wipe made my pre not bootable Aug 24 01:28:43 I wonder what file is getting messed up Aug 24 01:28:54 and if simply replacing it would fix it back Aug 24 01:30:19 you can edit the db and purge all the data Aug 24 01:30:29 is that simple to do? Aug 24 01:31:34 hmmm, maybe Aug 24 01:31:37 hold on let me test Aug 24 01:43:23 rwhitby: why is the server upgrade still in topic? Aug 24 01:44:01 what server upgrade ;-) Aug 24 01:44:13 (thx) Aug 24 01:45:29 i think i have a text messaging solution Aug 24 01:45:54 requires rooting, but ya know Aug 24 01:46:01 gotta test it first Aug 24 01:53:34 is there any sort of 'sleep' or 'wait' function i can use in apps? Aug 24 01:53:50 settimeout/setinterval Aug 24 01:54:33 ahhh, okay, i'll look that up Aug 24 01:57:06 Exstatica: I tried the partial erase and that didn't work. Aug 24 01:57:35 yeah Aug 24 01:57:44 messages are stored somewhere else Aug 24 01:57:49 only the last message is stored in the db Aug 24 02:02:41 if i have an array of objects, can i concat a specific element in that array? or would i need to create a function to do that? Aug 24 02:03:05 HattCzech: I don't understand what you want to do.... Aug 24 02:03:14 heheh, okay... example... Aug 24 02:03:36 item[x] = {name: blah, phone: blah} Aug 24 02:03:46 can i concat just the names? Aug 24 02:06:23 again, I don't understand what you want to do. you have item 3 with a name and item 4 with a name and you want to concatinate them? Aug 24 02:06:30 or something INSIDE the item Aug 24 02:07:24 well, an object within the array Aug 24 02:08:10 item[0] = {name: Jim, phone: 00000}, item[1] = {name: Bob, phone: 11111} Aug 24 02:08:31 i'd want to concat the name section so i get 'JimBob' Aug 24 02:08:58 Would Jim be item[1].name ? Aug 24 02:09:04 yes Aug 24 02:09:35 urg... sorry Aug 24 02:09:40 so could you do y = item[0].name + item[1].name Aug 24 02:09:41 i'm thinking join, not concat Aug 24 02:10:22 HattCzech: what are you tryig to accomplish Aug 24 02:10:29 right... but if i don't know how many there are... a join would come in handy Aug 24 02:10:45 i have an array of numbers, and i'd like to join them so it's easier to display Aug 24 02:10:55 when you say join Aug 24 02:10:59 but each number will be an array within an object Aug 24 02:11:31 do you mean you want to create a single string? like "select num1 from thatTable into cursor mynums" Aug 24 02:11:39 I love finding stuff like Aug 24 02:11:40 NumOfSatellite: 8, //TODO:Remove when service won't crash without it Aug 24 02:12:12 yeah, single string, but not from sql :) Aug 24 02:12:16 right Aug 24 02:12:38 so, you want to end up with "1, 4, 72, 3, 4, 5" Aug 24 02:12:56 i'd like to do item.name.join(delimiter) but i know that wouldn't work Aug 24 02:12:59 yup Aug 24 02:13:27 you're going to have to write a for/next loop Aug 24 02:13:36 okay, that's what i figured Aug 24 02:13:41 there is no one-line javascript command to do that Aug 24 02:14:07 okay, i didn't think there would be, but hoped that some magic might work Aug 24 02:14:15 sorry for the confusion, but thanks for the help Aug 24 02:15:08 the problem was, you were using the term join in a way I had never seen. What language will do that? Aug 24 02:33:17 i was using concat before, which was the wrong term... concat is to join multiple arrays Aug 24 02:33:39 instead of join (which is what i meant), where it'll join the items WITHIN the array Aug 24 02:33:59 i knew what i was thinking, just didn't say it right Aug 24 02:54:45 heya.. for those of you that have the pre... what screen protectors do you have and would recommend? Aug 24 02:55:02 * oil has no screen protector Aug 24 02:55:37 in mother russia, the protector screens you Aug 24 02:57:57 i use a holster Aug 24 02:58:06 the 3 prong holster by seidio **** ENDING LOGGING AT Mon Aug 24 02:59:57 2009