Access XML using variables in android
Android and getting a view with id cast as a string
Recover harddrive data I have a dell laptop that recently "died" (It would get the blue screen of death upon starting) and the hard drive would make a weird cyclic clicking noises.  I wanted to see if I could use some tools on my linux machine to recover the data, so I plugged it into there.  If I run "fdisk" I get:  Disk /dev/sdb: 20.0 GB, 20003880960 bytes 64 heads, 32 sectors/track, 19077 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Disk identifier: 0x64651a0a  Disk /dev/sdb doesn't contain a valid partition table   Fine, the partition table is messed up.  However if I run "testdisk" in attempt to fix the table, it freezes at this point, making the same cyclical clicking noises:  Disk /dev/sdb - 20 GB / 18 GiB - CHS 19078 64 32 Analyse cylinder   158/19077: 00%   I don't really care about the hard drive working again, and just the data, so I ran "gpart" to figure out where the partitions used to be.  I got this:  dev(/dev/sdb) mss(512) chs(19077/64/32)(LBA) #s(39069696) size(19077mb)  * Warning: strange partition table magic 0x2A55. Primary partition(1)    type: 222(0xDE)(UNKNOWN)    size: 15mb #s(31429) s(63-31491)    chs:  (0/1/1)-(3/126/63)d (0/1/32)-(15/24/4)r    hex:  00 01 01 00 DE 7E 3F 03 3F 00 00 00 C5 7A 00 00  Primary partition(2)    type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX) (BOOT)    size: 19021mb #s(38956987) s(31492-38988478)    chs:  (4/0/1)-(895/126/63)d (15/24/5)-(19037/21/31)r    hex:  80 00 01 04 07 7E FF 7F 04 7B 00 00 BB 6F 52 02   So I tried to mount just to the old NTFS partition, but got an error:  sudo mount -o loop,ro,offset=16123904 -t ntfs /dev/sdb /mnt/usb NTFS signature is missing.   Ugh.  Okay.  But then I tried to get a raw data dump by running  dd if=/dev/sdb of=/home/erik/brokenhd skip=31492 count=38956987    But the file got up to 59885568 bytes, and made the same cyclical clicking noises.  Obviously there is a bad sector, but I don't know what to do about it!  The data is still there... if I view that 57MB file in textpad... I can see raw data from files.  How can I get my data back?  Thanks for any suggestions,  Solution:  I was able to recover about 90% of my data:   Froze harddrive in freezer Used Ddrescue to make a copy of the drive Since Ddrescue wasn't able to get enough of my drive to use testdisk to recover my partitions/file system, I ended up using photorec to recover most of my files Question  I want to write a book in Arabic (I have an Arabic keyboard, so I don't need a converter). By Arabic book I mean literally Arabic:    title, table of contents  etc    all in Arabic.   The equations, however, I want to write them in English/Latin.  Related    This link helped a lot but it was for Arabic texts in an English main document.    I already checked these two (and plenty other sites). I'm trying to delete some folder but this error is preventing from doing it:     Cannot delete [FileName]: It is being used by another person or program.      Close any programs that might be using the file and try again.   How can I identify what application is using the file?   I want to end the application using a Task Manager, but I didn't know what application is using it.  The folder is not shared and my user account is an administrator. the root of $N$th transpose matrix For $n=3,$ $L$ matrix is as below:  $$ \left[\begin{matrix} 1&amp;0&amp;0\\ -1&amp;1&amp;0\\ -0.5&amp;-0.5&amp;1\\ \end{matrix}\right] $$  for $n=4$ we have:  $$ \left[\begin{matrix} 1&amp;0&amp;0&amp;0\\ -1&amp;1&amp;0&amp;0\\ -0.5&amp;-0.5&amp;1&amp;0\\ -1/3&amp;-1/3&amp;-1/3&amp;1 \end{matrix} \right] $$  and for $N$th we have: $$ \left[ \begin{matrix} 1&amp;0&amp;0&amp;0&amp;\cdots&amp;0&amp;0\\ -1&amp;1&amp;0&amp;0&amp;\cdots&amp;0&amp;0\\ -0.5&amp;-0.5&amp;1&amp;0&amp;\cdots&amp;0&amp;0\\ \vdots&amp;\vdots&amp;\vdots&amp;\vdots&amp; &amp; \vdots&amp;\vdots\\ -1/(N-2)&amp;-1/(N-2)&amp;-1/(N-2)&amp;-1/(N-2)&amp;\cdots&amp;1&amp;0\\ -1/(N-1)&amp;-1/(N-1)&amp;-1/(N-1)&amp;-1/(N-1)&amp;\cdots&amp;-1/(N-1)&amp;1 \end{matrix} \right] $$  How to get the roots (eigenvalues) of the $N$th order of the $L+L^T$ matrix? is there a specific logic between the roots of this matrix? How can Cooper communicate with his daughter before the time he went to space? In the movie Interstellar it's shown that after Cooper fell into the Black Hole, he communicates with his daughter Murph through some codes as Ghost. My doubt is how can he communicate to his daughter before he goes into space? I didn’t get the logic of that part. Can anyone please make it clear? No command 'bla' found, did you mean:? So, when a command is not found, by what means is the "did you mean:" list populated? What program finds these alternate commands?  What is the meaning of: "(main), (universe)..."? Can I change which program finds these? How to change the name of an iOS app? I began an iPhone project the other day with a silly development code name, and now I want to change the name of the project since it's nearly finished.   But I'm not sure how to do this with Xcode, trying the obvious of changing the application's name in the info.plist file, causes the signing process to go wrong (I think...) and my app won't launch giving me a Launcher error.  I guess I could make a new project and copy paste everything over, but it seems so primitive that I'm hoping for a more civilized solution. After the upgrade of salesforce to Spring 15, I am getting this error "Error: You have exceeded the maximum number (5) of Apex scheduled jobs." when scheduling more than 5 batches. I have this issue in several environment. I used to more than 20 batches scheduled at once.   On the link below, it says that I can schedule up to 100 batches but I am being restricted to 5 only.   I can't have more than 5 jobs here. How to scale dimensions proportionally to a specific size? I modeled a man and would like to scale him down to be exactly 6' tall (Z dimension), however I cannot find a way to do that. I know I can go to front ortho view and and use the normal scale S  key to scale it, however that requires some pretty specific fine tuning in order to get it to the right dimensions.  I'd like to be able to essentially type "6" into the Z dimension (don't worry I have it setup in imperial) and have it scale the X and Y dimensions proportionally. Who is the Maker? C-3PO frequently speaks of “the Maker.” Is this a true droid religion, or is this a religious reverence by droids for their specific creators (in this case, Anakin, even though C-3PO has forgotten who he is)? Is this even a droid thing or is it just C-3PO? What else do we know about this “Maker”-worship? Which statistical test to analyse? I am trying to find out how inflammatory markers change in response to a mechanical device change. I have daily readings for the 5 days before the event and for the 5 days after the event. I am expecting a rise in inflammatory markers in the pre readings followed by a fall after the device change. I also need to find out how the change differs in two subgroups (sample sizes of the subgroups are n=21 and n=88). The aim is to find out if the change is significant, to consider these markers as predictors of the device failing and hence needing to be changed.    I would like to know what test would be appropriate to analyse this. I need to keep things simple as I and the people reading the results are non-statisticians. Gnome Panel becomes fully transparent when window is not maximised! Can Windows use a Linux shell instead of cmd? What are the functions that are their own inverse?  (thus functions where $ f(f(x)) = x $ for a large domain)  I always thought there were only 4:  $f(x) = x , f(x) = -x , f(x) = \frac {1}{x} $ and $ f(x) = \frac {-1}{x} $   Later I heard about a fifth one     $$f(x) = \ln\left(\frac {e^x+1}{e^x-1}\right) $$ (for $x &gt; 0$)  This made me wonder are there more? What are conditions that apply to all these functions to get more, etc. Is any particular punctuation necessary when a quotation is the subject of a sentence? For example, in the sentence below, should there be a comma after export? Or anything else?     "Laughter is America's most important export" is a well-known quote of Walt Disney's. Does this exist: software for noise cancellation Does Change Data Capture (CDC) work in a SQL Server 2012 AlwaysOn Failover Cluster Instances setup? Does  work in a  setup?  There would be two nodes in the AlwaysOn Failover Cluster Instances setup and two Domain Controllers.  We are not using AlwaysOn Availability Groups.  Will CDC work? and will it failover? Accourding to ,   We often use "been to" when we refer to completed visits to a place:  Have you ever been to Budapest?  Not: Have you ever gone to Budapest?  If the visit is not complete, we use "gone to".  Joan’s just gone to the shop. She’ll be back in about ten minutes. (Joan has not yet returned from the shop.)  Joan’s just been to the shop. She bought some cakes. Would you like one? (Joan has returned from the shop.)  Now, does that rule apply to the  "Have been on a trip" &amp; "Have gone on a trip"?  So, "I have been on a trip" (I completed the trip &amp; currently I am staying at home)  "I have gone on a trip" (I haven't completed the trip &amp; currently I am on the trip)  And what about "gone crazy" &amp; "been crazy".  Does "He has gone crazy" mean now he is still crazy?  Does "He has been crazy" mean now he is not crazy any more?  Are there any differences between "Have been on a trip" vs "Have gone on a trip" and "Have been crazy" vs "Have gone crazy"?  Note: I am not asking about "been to" or "gone to". I am asking about "been on a trip" &amp; "gone on a trip". Do we apply the same rule of "been to" or "gone to" to "been on a trip" &amp; "gone on a trip"?  Note2:  seems to prove that my thinking is right. Seo: Change the title of a page Lets say my website looks like this:  News -Hello world -Foo -Bar  So the parent page will list the last 3 news messages. For each news message there is a sub-page. For the parent page I was thinking of setting the page title to: News - Hello world, Foo, Bar.  Now if somebody adds a new message the title tag will also change. I googled this and read a few blog posts where people said that changing the title actually hurts the ranking of that page.  So is this true? Should I just set a static title tag for all my pages? LWC Get Pick-list Field Values In LWC, is it possible to get a pick-list field's possible values?  I'm writing a component that is embded into a lightning record page. I need my component to be able to load the record from the page, get data from the fields and use that data to pre-populate my search form with default values.  I have this working with city/state and checkbox fields. Right now the city/state fields are built pull data from an aggregate query of contacts to find all possible state/city combinations (I know this is doomed to fail when the records reach over 50k contacts but Its good enough for now).  I have a pick-list field on my object called skill level, I need to be able to build a combo box that has all the possible values for skill level and set the default value to the value on the associated record.  I'd like to avoid hard-coding the available options if possible.  In LWC, is it possible to get a pick-list field's possible values?