Posts

Showing posts from May, 2011

html - Navigating back to webpage when in a sub folder -

i'm designing new website , having few problems navigating page in root directory when i'm in sub folder. below how have got setup: index.htm page1.htm page2.htm folder/page1.htm so when i'm in folder/page1.htm, when try , click on page2.htm, thinks should in "folder/page2.htm" rather "website.com/page2.htm" in root directory. now maybe complicate things more, have links set in template file 1 editable region (just content inside). changes links, saved pages. is there anyway can navigate other pages such page2.htm when i'm in folder/page1.htm? thanks, chris add code @ folder/page1.htm <a href='../page2.htm' />page 2</a>

python syntax error in dict comprehension -

here i'm trying do: i want count letters frequency in sentence. here code in python far: for in line: if in my_count.keys(): my_count[i]+=1 else: my_count[i]=1 is there way fulfill same goal dict comprehension, same list comprehension? i have thought @ such : my_count = { x:(my_count[x]+=1) x in line if x in my_count else x:1 } but not pass syntax check (syntaxerror: invalid syntax @ +=). thanks , advices! counter in collections seems accomplish this. in [1]: line = 'the quick brown fox jumps on lazy dog' in [2]: collections import counter in [3]: c = counter(line) in [4]: c out[4]: counter({' ': 8, 'o': 4, 'e': 3, 'h': 2, 'r': 2, 'u': 2, 't': 2, 'a': 1, 'c': 1, 'b': 1, 'd': 1, 'g': 1, 'f': 1, 'i': 1, 'k': 1, 'j': 1, 'm': 1, 'l': 1, 'n': 1, 'q': 1, 'p':

ios - How to fetch a PFObject with all it's fields and related objects in one go? -

i have nsarray of pfobjects , want fetch data related objects in array in 1 go, afterwards there no need make new call parse. how can this? my answer assuming array want contained in pfobject. can query object , use include key include array contained within key. pfquery *query = [pfquery querywithclassname:@"<object's class name>"]; [query wherekey:@"objectid" equalto:object.objectid]; [query includekey:@"<array key>"]; if objects in array have pointers other objects within them can use dot syntax fetch @ once. [query includekey@"<array key>.<pointer in object array key>"]; run query once set , should retrieve array of 1 object since objectids unique, within object array. [query findobjectsinbackgroundwithblock:^(nsarray *objects, nserror *error){ if(error){ // handle error }else{ if([objects count] > 0){ pfobject *o

java - How to access all components beneath top JFrame -

partly learning purposes, made jframe 4 jpanel s, 2 jlabel s, , jmenubar . put various components (buttons, textboxes, textarea) 4 jpanels. disabled every 1 of components throughout. i wrote 2 methods try enable everything. worked partially. here's code: public void enableeverything(){ component [] p = this.getcontentpane().getcomponents(); for(component pp : p) if(pp instanceof jpanel) enableall((jpanel) pp); } public void enableall(jpanel p){ component [] c = p.getcomponents(); for(component cc: c) cc.setenabled(true); jtextarea1.setenabled(true); jscrollpane1.setenabled(true); } the jtextarea (inside jscrollpane ) didn't enabled last 2 lines above. why? i tried: component [] s = jscrollpane1.getcomponents(); for(component ss: s) ss.enableinputmethods(true); how enable textarea? and jmenubar didn't enabled either. don't know find it. read it's in jlayeredpane, ... tried didn't work:

r - Getting factor analysis scores when using the factanal function -

i have used factanal function in r factor analysis on data set. viewing summary of output, see have access loading , other objects, interested in scores of factor analysis. how can scores when using factanal function? i attempted calculate scores myself: m <- t(as.matrix(factor$loadings)) n <- (as.matrix(dataset)) scores <- m%*%n and got error: error in m %*% n : non-conformable arrays which i'm not sure why, since double checked dimension of data , dimensionality in agreement. thanks help. ah. factormodel$loadings[,1] %*% t(dataset)

c# - Keydown Eventhandler Process -

i trying process keydown event below code process first char of string , not able remove second char of string. private void game_keydown(object sender, keyeventargs e) { if(birdsarray[selectedindex].this_string.first()== (char)e.keydata) { birdsarray[selectedindex].this_string = birdsarray[selectedindex].this_string.remove(0, 1); this.validate(); } } in below code birdsarray array of panels, this_string string type of string object in birdsarray . the keydown event gives virtual key code of key pressed. keys.a if press a-key. tells key, not letter that's produced key. depends on active keyboard layout (it not in japan or russia example) , modifier keys down. shift being obvious example, producing either a or a . or alt which, when down, doesn't produce letter @ all. so code work accident if first letter of string capitalized. you'll run out of luck when rest not. a not match a . it pretty unclear me why need feat

How to get button Response/Request URLs in QTP? -

how response/request urls (which shown in f12 developer tools - network tab) using qtp 11? based on these urls, need perform action in application. there alternate solution urls? scenario: open ie browser , navigate url, press f12, go 'network' tab. click on 'start capturing' button. click on button or link on page, set of urls in developer tool (f12). firstly, need of url requests generated button and/or link click? remember "network" tab in developer tools include url's fetching e.g. javascript , css in addition to, instance request external api. i'll try provide alternative approach. if requiring url associated each interactive element, should able using getroproperty method so: strurl = browser("yourbrowser").page("mainpage").webbutton("abutton").getroproperty("href") a more generic script fetching e.g. "href" properties links on page may found in following post: (hp quicktest)

ruby - How to solve error "Missing `secret_key_base` for 'production' environment" (Rails 4.1) -

i've created rails app (rails 4.1) scratch , facing strange problem not able solve. every time try deploy app on heroku error 500: missing secret_key_base 'production' environment, set value in config/secrets.yml the secret.yml file contains following configuration: secret_key_base: <%= env["secret_key_base"] %> on heroku have configured environment variable "secret_key_base" result of "rake secret" command. if launch "heroku config", can see variable correct name , value. why still getting error? thanks lot i had same problem , solved creating environment variable loaded every time logged in production server , made mini guide of steps configure it: https://gist.github.com/pablosalgadom/4d75f30517edc6230a67 i using rails 4.1 unicorn v4.8.2, when tried deploy app didn't start , in unicorn.log file found error message: app error: missing `secret_key_base` 'production' environment,

java - "Base queue manager name" in Websphere MQ Explorer/ -

good time! when application try start after deploying on wasce 3.0 fails error. in log got exception: caused by: com.ibm.msg.client.jms.detailedinvaliddestinationexception: jmswmq2008: Не удалось открыть очередь mq 'ozi_input'. При попытке jms выполнить mqopen websphere mq сообщил об ошибке. Для определения причины ошибки обратитесь к связанной исключительной ситуации. Проверьте правильность определения указанной очереди или администратора очередей. @ com.ibm.msg.client.wmq.common.internal.reason.reasontoexception(reason.java:503) @ com.ibm.msg.client.wmq.common.internal.reason.createexception(reason.java:221) ... caused by: com.ibm.mq.mqexception: jmscmq0001: Не удалось выполнить вызов websphere mq с кодом '2' ('mqcc_failed') причина '2085' ('mqrc_unknown_object_name'). @ com.ibm.msg.client.wmq.common.internal.reason.createexception(reason.java:209) ... 98 more i checked queue name (it's right) , can messages ozi_in

java - "Simple" Trie Implementation -

Image
i need implement trie (in java) college project. trie should able add , remove strings (for phase 1). i have spent several hours each day (for last few days) trying figure out how , failed miserably each time. i require help, examples on internet , textbook (data structures , algorithms in java adam drozdek) not helping. information node classes working with: class node { public boolean isleaf; } class internalnode extends node { public string letters; //letter[0] = '$' always. //see image -> if letter[1] = 'a' children[1] refers child node "ammo" //see image -> if letter[2] = 'b' children[2] refers internal node "#eu" public trienode[] children = new trienode[2]; public trieinternalnode(char ch) { letters = "#" + string.valueof(ch);//letter[0] = '$' always. isleaf = false; } } class leafnode extends node { public string word; public trieleafno

.net - Migration of big database from SQL Server 2008R2 Express to SQL Server 2008 Enterprise -

although there several topics on subject, question bit different. have large number of records on sql server 2008r2, , have purchased sql server 2008 enterprise manage data in better form, worried database online , being used hundred of customers right now, can shut down database time, thing mode should use migrate data, there several modes like using mdf using script file objects , data using bak file i confused mode suitable data in large number, data important , dont want loose foreign keys relationships. fyi, current database 2008expressr2 going on 2008 enterprise not r2.

html - Check-box form validation and submitting the form itself in PHP -

the following program php i've written asks user select languages know, , displays selected languages in same page itself. able display error message if user has not selected languages. need display selected check-box items i.e, lanaguages result in same page itself. example: languages know english, french. can in this? <?php $languages_error = $languages_result = $languages_list = ""; if($_server['request_method'] == 'post') { if(empty($_post["languages"])){ $languages_error = "*select languages know"; } else { $languages_result = "languages selected are"; } } ?> <!doctype html> <html> <head> <title>check box page</title> </head> <body> <div id="contact"> <h1>what languages know?</h1><br> <form action="checkbox.php" method="post"> <fieldset>

java - What exactly application of RESTful web services? -

i developing java application 2 java applications communicate each other share data between them. wrote code restful webservice , shared data. problem while doing data visible publicly means application can put uri , full data. there secure way so? , purpose of restful webservices? it used sharing data , fastest way send , receive data between 2 application in order use need have way of encryption , key sharing mechanism implemented try see 1 http://www.keyczar.org/ @suku in brief used develop crud (collect record update delete) commends store , retrieval of information using http or post commands server side program, and depending on context decide of crud command executed database. why restful framework in sharing data between 2 system need expose 4 basic commands sync or share want share by make use of http commands (get post put , delete) same crud operations. fyi http commands i think purpose exchanging data between systems in more light weight way.not

jquery - How do I update specific key value of the local storage array? -

i have local storage array below pageitems = {"stationid":"145","categoryid":"-1","pickupdate":"2014-04-22","pickuptime":"08:00","returndate":"2014-04-23","returntime":"08:00","milage":"false","miles":"","attributes":[[],[]],"additionals":[[],[]]} i need update categoryid value 65 pageitems = {"stationid":"145","categoryid":"65","pickupdate":"2014-04-22","pickuptime":"08:00","returndate":"2014-04-23","returntime":"08:00","milage":"false","miles":"","attributes":[[],[]],"additionals":[[],[]]} you can use following; var pageitems = '{"stationid":"145","categoryid":"-1"

string - strsplit with vertical bar (pipe) -

here, > r<-c("aaandbb", "bbandcc") > strsplit(as.character(r),'and') [[1]] [1] "aa" "bb" [[2]] [1] "bb" "cc" working well, but > r<-c("aa|andbb", "bb|andcc") > strsplit(as.character(r),'|and') [[1]] [1] "a" "a" "|" "" "b" "b" [[2]] [1] "b" "b" "|" "" "c" "c" here, answer not correct. how "aa" , "bb", when use '|and'? in advance. as can read on ?strsplit, argument split in function strsplit regular expression . hence either need escape vertical bar (it special character) strsplit(r,split='\\|and') or can choose fixed=true indicate split not regular expression strsplit(r,split='|and',fixed=true)

python - How to send file from Client to Server and save it with same filename? -

i'm trying send file client server in python. sending without problem want save received file same file name. i'm not getting idea how save file same file name sent client server.the code i've wrote : client code import socket, os, shutil stat import st_size host=raw_input("please enter ip-address : ") port=int(raw_input("please enter port number : ")) s = socket.socket(socket.af_inet, socket.sock_stream) s.connect((host,port)) if s.recv(8)!='ready': raw_input('unable connect \n\n press key exit ...') s.close() exit() path=raw_input("please enter complete path of file : ") f=open(path,'rb') fsize=os.stat(f.name)[st_size] s.sendall(str(fsize).zfill(8)) sfile = s.makefile("wb") shutil.copyfileobj(f, sfile) sfile.close() s.close() f.close() server code import socket import shutil s = socket.socket(socket.af_inet, socket.sock_stream) host = '' port = 23240 s.bind((host, port))

java - Accessing Resources from JSP inside WEB-INF -

this question has answer here: browser can't access/find relative resources css, images , links when calling servlet forwards jsp 7 answers i'm having trouble accessing images , css file jsp stored in web-inf. servlet calls jsp , loads fine page unable find images , css file. i'm new sort of thing , appreciate help. aware there have been questions on in past , i've tried suggestions posed can't seem head around it. here's contents of jsp (i tried bunch of different methods): <%@ page language="java" contenttype="text/html; charset=iso-8859-1" pageencoding="iso-8859-1"%> <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-88

ios - GameCenter Leaderboard in SpriteKit causing error -

i finished game in sprite kit , trying store highscore in gamecenter's leaderboards. followed tutorials worked great none-spritekit-projects. steps error: i debug app without errors, warnings no harm. app runs great, , starting skactions work flawless. i log in gamecenter succesfully. when touch screen freezes , gives me "missed method" log error , "thread 1:exc_bad_access (code=1, address=0x80000012)". whenever delete line of code causing bad_acess error pops other place in code. my log: 2014-04-21 19:51:26.893 sharky[3417:60b] missed method 2014-04-21 19:51:27.683 sharky[3417:60b] -[nsmethodsignature copywithzone:]: unrecognized selector sent instance 0xacbdc20 2014-04-21 19:51:27.685 sharky[3417:60b] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[nsmethodsignature copywithzone:]: unrecognized selector sent instance 0xacbdc20' *** first throw call stack: ( 0 corefoundation

sql - How to use Replace with % -

i need exclude text "<==#" end (like %) "testdescription <==# info "dynamic text" ==>" i tried use replace % not work select replace ( testfield, '<==# %', '') table the following want: select left(testfield, charindex('<==#', testfield) - 1) there no reason use wildcards this. want left part of string before substring.

angularjs - success is not defined in Angular $http.jsonp -

i'm making $http.jsonp request in angular/phonegap app. data being delivered remote server, can't response success function in angular app. console telling me 'success not defined.' here angular code: app.controller('maincontrol' , function($scope , $http){ $scope.credentials = {username: '' , password: ''}; $scope.login = function(){ console.log($scope); var url = "http://127.0.0.1:3000/endpoint?callback=json_callback"; var responsepromise = $http.jsonp(url, {params: { username:$scope.credentials.username, password:$scope.credentials.password }}); responsepromise.success(function (data){ console.log(data); }) } }) am missing step in order define success? i believe jsonp have use .then method of handling promise resolution: responsepromise.then(function (data){ //success things go here console.log(data); }, function(data({ //error things go here });

windows embedded compact - Setting up a Smart Device Project in VS 2012 with CF3.9 -

i need work on compact framework project again. used time ago vs 2008, don't have license anymore. have licenses 2012, , seemed timing me given recent announcements ( get started developing windows embedded compact in visual studio (compact 2013) ). i downloaded , installed application builder windows embedded compact 2013 and install embedded compact 2013 update 5 (full setup). unfortunately after these steps project templates still won't show up. my current understanding template visible when install sdk. the sdk provided windows embedded compact 2013 product targeting. typically, sdk provided oem. however, don't have device development, used use emulator , used available in visual studio without big fuzz. i tried find emulator using preferred web search, without success. using windows embedded compact 2013 (wec2013) it's impossible develop net cf 3.9 application without sdk. there isn't default sdk. in general, when have embedded

Writing a byte(which may not correspond to an ASCII character) to a file in C -

i writing compression program in c. uses run length , rice golomb encoding, applied @ bit leve. have written program , when print out 1's , 0's screen, correct. need able take file, compress , output file. so have attempted store bits char, recieve them, , once have added 8 bits, print new file. not working me. nothing output file. think issue of bytes, not corresponding ascii character. suggestions please? this code, recieve bit, add char , print char file once, 'filled' void writebyte(char byte){ file *comp; comp = fopen("compfile.txt" "wb"); fprintf(comp,"%c", byte); putc(byte,comp); putchar(byte); printf("%c\n",byte); } void writebit(int bit){ if(ind >= 0){ byte|=(bit<<ind); ind-- } else{//if byte full writebyte(byte); //write byte file; reset(); writebit(bit); } } when call fopen("compfile.txt", "wb"

my site (ASP.NET webForm ) log out with out user request -

my site (asp.net webform ) log out out user request , user forced login page , interrupt work ? please advice ... line web.config <authentication mode="forms"> <forms loginurl="~/account/xxxxxxx.aspx" timeout="2880" /> </authentication> try increasing session timeout value, default 30 minutes. <system.web> <authentication mode="forms"> <forms loginurl="~/account/xxxxxxx.aspx" timeout="2880"/> </authentication> <sessionstate timeout="3000" /> </system.web>

c# - RadGrid Countdown Clock in Template Column -

i have telerik radgrid bound sqldatasource (items databound), in 1 of data bound columns there value of type datetime format h:mm:ss {0:h:mm:ss} . added template column shows "time left" so: start time - = time left i wanted ajaxified added timer , label inside updatepanel in template column - every tick (1000ms) recalculate time left . this seems work first row in radgrid here code snippets asp <telerik:gridtemplatecolumn filtercontrolalttext="filter templatecolumn column" uniquename="templatecolumn" headertext="starting in"> <itemtemplate> <contenttemplate> <asp:updatepanel id="updatepanel1" runat="server"> <contenttemplate> <asp:label id="lbltime" runat="server" text="00:00:00"></asp:label> <asp:timer id="timer1" runat="server" interval="1000&q

pointers - Enforce NULL checking in c++ -

my method can return kind of pointer ( example boost::shared_ptr ) , pointer may null. there way enforce users of code check, if empty or not ? some example of such things - scals's option container, may boost has boost::option ? you can following: return smart pointer type throws exception if accessed , set null. throw exception instead of returning null pointer return std::optional (or boost::optional) expresses intent (i.e. "value may missing") better pointer

javascript - Update JS object based on local storeage -

i'm trying create setup object app url's in of url values dynamic , stored in local storage. question how update setup object based on latest local storage? html: <a href="javascript:slideonlyone('addon1')">addon 1</a> <a href="javascript:slideonlyone('addon2')">addon 2</a> <a href="javascript:slideonlyone('addon3')">addon 3</a> javascript: window.localstorage.setitem('tmpadd','default'); var appurl = { 'jsonurl1' : 'http://myurl.com/' + window.localstorage.getitem('tmpadd'), 'jsonurl2' : 'http://myurl.com/category/' + window.localstorage.getitem('tmpadd') }; function slideonlyone(item) { window.localstorage.setitem('tmpadd', item ); console.log(window.localstorage.getitem('tmpadd'),appurl.jsonurl1); } see working example here: http://codepen.io/anon/pen/bebve/ u

mysql - Constructor queries on a non-persistent entity unexpectedly fail to supply a Boolean parameter as a constructor argument -

there 2 tables in mysql database user_table feedback the relationship between them intuitive - 1 many user_table feedback . i need fetch list of selected columns these tables are from feedback feedbackid (java.lang.long) feedbacktitle (java.lang.string) feedbackdescription (string, decorated @lob ) feedbackdate (org.joda.time.datetime) testimonial (java.lang.boolean) from user_table userid (java.lang.long) firstname (java.lang.string) these many fields out of many others required executing query. the criteria query follows. criteriabuilder criteriabuilder=entitymanager.getcriteriabuilder(); criteriaquery<feedbackutils>criteriaquery = criteriabuilder.createquery(feedbackutils.class); metamodel metamodel = entitymanager.getmetamodel(); entitytype<feedback> entitytype = metamodel.entity(feedback.class); root<feedback> root = criteriaquery.from(entitytype); list<selection<?>>selections=new arraylist<selection<?

shift - Allign the words to the specified column in vim using commands -

how can move or shift words in entire file specified column? example below: before : 123 abc 112 xyzs 15925 asdf 1111 25asd 1 qwer after : 123 abc 112 xyzs 15925 asdf 1111 25asd 1 qwer how can done using command mode? here thing need shift 2nd word specified column here specified column 8 approach built-in commands first :substitute whitespace tab character, , :retab tab stop column 8, expanding spaces (for given example): :.,.+4substitute/\s\+/\t/ | set tabstop=7 expandtab | '[,']retab (i'm omitting resetting of modified options, should matter you.) approach plugin my alignfromcursor plugin has commands align text right of cursor column. combine :global command invokes lines in range, , w motion go second word in each, , you'll get: .,.+4global/^/exe 'normal! w' | leftalignfromcursor 8

c++ - "launching 'project' has encountered .." , project file does not exist -

Image
i wanted write 'hello world' in eclipse c++, not work i go run configurations, config options c++ programs should give? i know don't care 'debug' - 'release', how that? here did: file->new->c++ project pop window. type name of project want. then, below says executable , inside folder, have (by default guess) empty project. click next , finish. now project appears in left column of eclipse. right click , select new->file , name main.cpp the main window of eclipse opens file main.cpp , write inside: #include <iostream> int main() { std::cout << "hello erjan\n" << std::endl; return 0; } then click on build , it's hammer icon in middle of toolbar. code compiles , ready launch it! so, click on run icon (3 positions right of build icon) , should see output in console.

logic - how to generate list of records using list of lists data in erlang -

i have list of lists itemlistdata = [[1,"abc","def",30],[2,"axn","foo",23],[3,"bde","fo1",21],..] , form list of records using record item{itemno, name, description, quantity} . items list length varying. best way create new list of records using itemlistdata . @graymalkin's answer involves lot of copying through use of ++ binary operator. 1 should prefer list comprehensions here: make_records(records) -> [#item{'#'=no, name=name, descr=descr, qty=qty} || [no,name,descr,qty] <- records]. edit: use function thusly: (in shell) 1> rd(item, {'#', name, descr, qty}). 2> itemlistdata = [[1,"abc","def",30],[2,"axn","foo",23],[3,"bde","fo1",21]]. 3> some_module:make_records(itemlistdata).

node.js - How do I access the instagram API with Express JS and Jade? -

i having trouble getting information instagram's api , sending jade rendered on front end. app.route("/api") .get(function(req, res){ var url = "https://api.instagram.com/v1/users/1234/media/recent/?client_id=xxxx"; request(url, function(err, res, data){ console.log(json.parse(data)); // go here res.render('show', {media : data}); }); // or here? res.render('show', {media : data}); }); i trying collect 10 images api path , send them jade. getting parsed response in terminal of several entries. having hard time figuring out how send multiple responses jade file, having jade file loop through them. i know user id , client id in url variable not correct. if have alternate method using request() , open well. so answering own question on one. rendering has inside of request() function. issue in callbacks. issue had "res" response .get , request() callback. when changed &

google apps script - Restrict notifications sent for changes referenced in columns -

i referenced this post make launch calendar dates , names: the 2 columns have 1 date (a) , other launch name/description (b). in ideal state, wanted send notifications when: there new launch entry name (b); not date entered yet (a) separately, sending update date changes (a) , referencing launch name (b); there won't case have date no launch name (unless i'm in process of entering 1 after other), there should not notifications sent if there's date entered , no corresponding b cell yet. i'm seeing false positives code in following ways: 1.) if don't enter date (a) put text in column (b), i'm getting date email empty referencing (b); i'd restrict not send notification if corresponding cell in column empty 2.) i'm getting duplicate date (a) emails; has adding date when second 'if' condition present check column b (launch name); it's when add new date, receive 2 emails adding date. 3.) if enter launch name (b) no date (a), i&#

Why doesn't Python use ^ to denote squaring a number but uses ** instead? -

a few languages i've seen utilise ^ symbol, , doesn't seem reserved in python. sort of confuses me since ^ symbol (very) known , python supposed easy use, not case in using ** . is there logical explanation this? mean it's not huge difference, curious choice? as guido says "python’s first , foremost influence abc, language designed in 1980s lambert meertens, leo geurts , others @ cwi.". x raised power y implemented x**y in abc . abc influenced setl & algol 68.

Android Eclipse Emulator trouble -

for past couple of days have not been able android emulator in eclipse launch successfully. i've gotten several different errors including: process system isn't responding, app has unfortunately closed, , emulator squatting @ splash screen hours. have tried several things listed on forum, no luck. thought if posted logcat output, may have idea going on. ?:??: w/?(?): --------- beginning of /dev/log/system 04-22 19:16:05.610: i/vold(45): vold 2.1 (the revenge) firing 04-22 19:16:06.310: d/vold(45): volume sdcard state changing -1 (initializing) -> 0 (no-media) 04-22 19:22:06.040: i/systemserver(382): entered android system server! 04-22 19:22:08.100: i/systemserver(382): waiting installd ready. 04-22 19:22:08.110: i/systemserver(382): enabled strictmode logging wm looper 04-22 19:22:08.110: i/installer(382): connecting... 04-22 19:22:08.590: i/systemserver(382): power manager 04-22 19:22:09.110: i/systemserver(382): activity manager 04-22 19:22:11.540: i/activitymanage