Deep search

Hi,
I'm trying to proceed a pretty complicated search. Here's the structure of my custom architecture ; all these are PublicObject Instances,and they all extend the 'Document' Class :
class Po3 with a single String-type attribute : 'bob'
class Po2 with an Po3-type array attribute : 'po3Array'
class Po1 with an Po2-type array attribute : 'po2Array'
All I'm trying to do is to retrieve all Po1 objects with 'bob'attribute matching a certain value.
Following this post advice :
Re: Advance search
I made some Relationship objects during the creation of each of my custom objects. So, each object is left-related in a Relationship as many times as the size of its array attribute.
But when I'm trying to use all this stuff within JointureQualifications (for Relationship )and AttributeQualification (for the 'bob' value), the SearchResultObject returned is always empty...The SQL query may look like this :
SELECT Po1
FROM Po1,Po2,Po3,Relationship
WHERE
     (Po1.id=Relationship.leftobject)
     AND
     (Relationship.rightobject=Po2.id)
     AND
     (Po2.id=Relationship.leftobject)
     AND
     (Relationship.rightobject=Po3.id)
     AND
     Po3.bob="myString"
Here's the code I'm using to build such a Search object:
Search s=null;
try
          SearchClassSpecification classSpec = new SearchClassSpecification();
          //Setting up the FROM Classes
          classSpec.addSearchClass(Po1");
          classSpec.addSearchClass("Po2");
          classSpec.addSearchClass("Po3");
          classSpec.addSearchClass("Relationship");
          //Setting up the SELECT Class
          classSpec.addResultClass("Po1");
          //Setting up the SORT specification
          SearchSortSpecification sortSpec = new SearchSortSpecification();
          sortSpec.add(PublicObject.CREATEDATE_ATTRIBUTE,true);
          //Creation of the Relation between Po1 and Po2
          JoinQualification jq1 = new JoinQualification();
          jq1.setLeftAttribute("Po1",null);
          jq1.setRightAttribute("Relationship","LEFTOBJECT");
          JoinQualification jq2 = new JoinQualification();
          jq2.setLeftAttribute("Relationship","RIGHTOBJECT");
          jq2.setRightAttribute("Po2",null);
          SearchClause sc2=new SearchClause(jq1,jq2,SearchClause.AND);
          //Creation of the Relation between Po2 and Po3
          JoinQualification jq3 = new JoinQualification();
          jq3.setLeftAttribute("Po2",null);
          jq3.setRightAttribute("Relationship","LEFTOBJECT");
          JoinQualification jq4 = new JoinQualification();
          jq4.setLeftAttribute("Relationship","RIGHTOBJECT");
          jq4.setRightAttribute("Po3",null);
          SearchClause sc3=new SearchClause(jq3,jq4,SearchClause.AND);
          //Condition for Po3's 'bob' attribute
          AttributeQualification aq1=new AttributeQualification();
          aq1.setAttribute("Po3","NIMP");
          aq1.setOperatorType(AttributeQualification.LIKE);
          aq1.setValue(AttributeValue.newAttributeValue("%alpha%"));
          SearchClause sc4=new SearchClause(sc2,sc3,SearchClause.AND);
          SearchClause finalSc= new SearchClause(sc4,aq1,SearchClause.AND);
          AttributeSearchSpecification sp=new AttributeSearchSpecification();
          sp.setSearchClassSpecification(classSpec);
          s = new Search(ifsSession,sp);
catch(Exception e)
If anyone has an idea to improve my code, or even another completly different method, please tell me. Of course I could recursively use the 'getter' methods of each object, but in fact my architecture has a real attribute depth of seven consecutive arrays, and I'm afraid this would be dramatically slow...
Thanks

I'm afraid I haven't been clear enough in my previous post...
My purpose is to get all PO1 objects whose 'bob' attribute matches a certain value. I must mention that the technique I explained in the other post works well with only a depth of two, ie I can retrieve all Po2 objects with a given 'bob' in Po3.
The previous code doesn't work at all with 3 levels of depth (ie PO1, PO2 and PO3).
How could I do to make this kind of search ???
Thanks

Similar Messages

  • Forcing a "deep search" Time Machine backup (to catch all changes)

    Time Machine normally depends upon the new, Leopard, file system event logs to know what to include in an incremental backup. But if there is a problem with a backup due to file system corruption or whatever, Time Machine may miss some files AND NOT CATCH THEM LATER when the subsequent backups happen, apparently because they are no longer marked as having been changed since the last backup.
    If you have removed a corrupted file/directory or otherwise want to make sure Time Machine really does catch everything, you could of course erase the Time Machine disk and have it start over.
    OR you could force a "deep search" backup. A deep search backup happens whenever Time Machine decides the file system event log can not be trusted. In that case Time Machine digs through the entire source file system to decide what to include in the next incremental backup. You will know this is happening because the "preparing" phase takes a long time (perhaps 20 minutes or so) even though the amount of data eventually backed up is not that big. The time of the preparing phase will probably be comparable to the time to do a Repair Permissions pass in Disk Utility. There is also a message added to the Console by the "backupd" process indicating it is also going "deep".
    Well it turns out that one of the easiest ways to make Time Machine decide not to trust the file system event log is to boot from the Leopard install DVD. Apparently the event log is marked as non-trustable since a source external to the file system (the software running from the install DVD) may have altered it.
    So boot from the install DVD and then immediately Restart from your main hard drive. The next incremental backup Time Machine does will be a "deep search" backup.
    --Bob

    BobP1776 wrote:
    Well it turns out that one of the easiest ways to make Time Machine decide not to trust the file system event log is to boot from the Leopard install DVD. Apparently the event log is marked as non-trustable since a source external to the file system (the software running from the install DVD) may have altered it.
    Thanks, this was very useful information to me this evening! I was puzzled that the TM backup of my daughter's MacBook was missing several changed files. I tried your "DVD trick", and it solved the problems!
    Now the question is why Time Machine didn't understand that it should have done a deep traversal? It seems it has logged its own bug: The log says: "Avoided deep traversal due to exclusion list change". Indeed, I did change the exclusion list, as I wanted to add a portable external drive. I guess I should report this bug to Apple...

  • What exactly does the search portlet searches?

    Hi there, I'm wondering if the search portlet searches in the entire Portal? Does it searche also in the documents of the Portal?
    Thanks

    Documents are regarded as Portal items and so yes Search Portlets "can" search documents metadata. Additionally if Oracle Text is enabled for the Portal instance then the document content can also be deep searched/indexed by terms entered in the Search Terms box of a search portlet.

  • Search KM resources involved in approval process

    Hi all,
    I would like to know if there is any way to search documents not published in SAPKM through TREX or some feature better than a deep search through the collection hierarchy using SAPKM APIs. The last approach is very CPU time and RAM consuming, and probably not very scalable in my (or any) system landscape.
    Thank you very much.
    Best Regards.
    Jonathan

    Hi,
    just an idea. TREX uses an user called INDEX_SERVICE (search in System Configuration -> KM -> Content Management -> Utilities -> System Principals)which has read permissions all over the repositories. You know that the not published documents are visible for users with admin privileges. So maybe chenging the TREX user permissions in yor repository should lead to indexing the documents not published yet.
    This is theory, you have to try it on your own
    hope this helps a bit,
    Romano

  • Hard Drives Bare After Forced Restart!!! HELP!!!

    Running new Mac Pro w/ plenty of RAM, and the latest OS.
    Was installing Xcode with a few programs running in the background.
    Time Machine appeared to have kicked in during the install and Xcode just seemed to hang. Then, suddenly all text disappeared from all Firefox tabs, and all other programs stopped responding. I let it sit for over an hour with no response. I couldn't force quit things, though I was able to quit Mail and Calculator without issue. I could not, however, interact with their windows directly.
    After another 30 minutes of total system lock-out (even the dock was stuck) I pressed and held the power button on the front of the unit to turn it off.
    When I turned the machine back on it could not find the start-up disk. So, I started up with the Install DVD and ran Disk Utility...
    The two internal drives on my machine both registered and were verified in good working order, but they were now BLANK DU registered them as having a tiny bit of information on them when only 2 hours before there was literally hundreds of gigs on board... years worth of valuable data.
    I'm not looking for a scolding regarding my not regularly backing up, nor to be admonished for shutting the machine off the way I did.
    Has anyone ever seen something like this?
    I'll be calling Applecare first thing tomorrow, but am wondering if this might be something Disk Warrior can lend a hand with. Thoughts and recommendations welcome.
    Thanks all for your consideration.
    Best,
    Jason
    ps > wary of recovering from Time Machine back-up due to the fact that I'm not sure one of the drives was backing up, and I dare not overwrite the drive while the chance to recover wholesale through the use of a tool like Disk Warrior exists.
    Message was edited by: jhcovert

    UPDATE
    I spoke with Applecare this morning and they instructed me to restore from my TimeMachine back-up and that my secondary internal drive (ie. the MORE important drive) would have definitely been backed up as well.
    I restored and... voila!... my basic desktop operating system is back.
    That's the good news, however, the bad is that the secondary internal drive DID NOT restore.
    As I mentioned before, the drive is being read as healthy and EMPTY, which is mind boggling. I assumed that this was a directory issue, but neither DiskWarrior nor Data Rescue can determine that there is anything wrong with the directory. Data Rescue's "Quick Search" revealed no additional files save for the basics you would find on a barren drive. I am currently running their "Deep Search" which should take several hours, but my question for you guys is this: should Data Rescue come up empty is there anything else I can do? Or is the drive well and truly borked... empty... caput?!? Do I let DiskWarrior attempt to rebuild the directory or am I just throwing fuel on the fire and potentially overwriting data that might be useful in recovery.
    Do I then take it to a forensic pro to go over the drive with a fine tooth comb?
    Recovering this data is approaching a "no price too high" situation.

  • LabVIEW 8.6.1 crashes

    Good Day All,
       I've got an application where I'm getting intermittent crashes, sometime when in edit mode, sometimes when my program is actually running. I have gotten a couple of "MemoryManager.cpp  line 437" crashes, but more often, but still intermittently, I just get the window that says something has happened to LabVIEW and it needs to be terminated. When you click on the more information link it pops up a window that says:
    "AppName:labview.exe   AppVer: 8.6.0.4001  ModName: Unknown
    ModVer.: 0.0.0.0        Offset 6f636974"
    This happens when running the application or when editing. It may happen twice in an hour, or after several hours of running. I've watched the memory and thread usage in "Task Manager" and they seem to be stable.
    The program has two main parts, a UI that at the beginning of the test run uses a .NET call to read back data over the network from the Unit Under Test, parse the returned XML string (using string functions, no "XML parsing" functions from LabVIEW or Windows) and a user interface to start the program. The UI sends a message over a queue to the "Test Engine" which then, depending on the "test recipe" installs and launches the appropriate test program using a "Call by Reference Node". The test program makes measurements of the UUT and saves the results to an Excel file using NI Report vi's from the NI Report Generation Toolkit. The measurements are visa calls to standard "rack and stack" instruments like spectrum analyzers and signal generators.
    I've done a moderately deep search on the NI site, haven't found anything that looks like the issue, need ideas how to trap this beast and eliminate it.
    I hope that many of the major players being at NIWeek won't impact the response time. It seems like those years I haven't been able to attend are the ones where I hit a snag like this one. I guess the moral is that I should always attend
    Thanks in advance,
    Putnam
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion
    Solved!
    Go to Solution.

    Looking at this specific error, LabVIEW's memory manager has decided that a memory handle is invalid. One case in which this can happen is when different versions of LabVIEW are in use simultaneously and a data handle is passed from one version of LV to another. One such scenario would be:
    LabVIEW 2009 calls the function 'myFunc' from 'foo.dll'
    'foo.dll' was built using LabVIEW 8.6
    'myFunc' expects an array of data, passed as a LabVIEW array handle
    The problem arises in this case because the array handle allocated by the LabVIEW 2009 instance of the LV memory manager is sent to a VI running in the LabVIEW 8.6 Run-Time Engine, which has the LabVIEW 8.6 version of the memory manager. Because the data is an array handle, and LabVIEW may need to resize the handle, the code in the LV 8.6 Run-Time inspects the data handle to see if its memory manager considers it a 'good' memory handle (i.e. one that it allocated itself). It discovers that the LV 8.6 Run-Time didn't allocate the handle, and, being mistrustful of data from other memory managers ( ;-) ) it has no choice but to abort the application. It's either that or corrupt memory.
    In such cases, a workaround is to pass array pointers (or strings) that cannot be resized -- an unsavory situation if the underlying implementation must resize the array (or string). The workaround in that case is more complex - e.g.. having two functions - a 'preflight' that tells you how big the output will be, and the 'actual' function that requires a properly sized output buffer.
    For more complex data structures (e.g.. clusters) the workaround is to break apart the cluster into individual, simple types that can be passed as pointers to data or simple scalar values.
    Whether this is at all similar to your case is unclear - it sounds like there are several component layers involved with different technologies. But the crash itself is still that LabVIEW 8.6 has gotten a memory handle from somewhere that's *not* been allocated by the LabVIEW 8.6 memory manager.
    One thing you could do with Process Explorer and similar tools is determine if there are multiple versions of LabVIEW in the main process. For example, if both LabVIEW.exe and one or more lvrt.dll instances from different locations on disk are in memory, you've found a red flag. The quest then is to find out which components in your software stack are responsible for bringing in those different versions of LabVIEW, and how they're interacting via code.
    Best regards,
    intvsteve
    LabVIEW R&D

  • My macbook pro is running slower than normal, is there a way to speed it back up?

    Lately my Macbook pro has been slowing way down. This primarily happens when working in Photoshop (or at least that is where I notice it most) and if I shut down then start back up it is slightly faster. I am an old PC guy and have only been on a Mac for a year now. With PC's you could clean out a cache or do some other things to "clean out the system". Is there something I can do on the Mac to bring the working speed back up to where it was when I bought the system? I have already cleaned out the trash and I transfer most of my images and large file to an external drive so I have over 1/2 my HD space still available.

    Memories Photography PNW wrote:
    Is there something I can do on the Mac to bring the working speed back up to where it was when I bought the system?
    1: Max out your RAM. Crucial.com has a excellent method to make sure you get the exact RAM specifications and tells you the amount of RAM slots available (you have two, both filled with the default RAM) Buy your RAM wherever you like of course once you get the information.
    2: If you have a more recent machine, OtherWorld Computing has 16GB of RAM available for $1500 if your game. That would most certainly speed up Photoshop as it wouldn't have to swap the extra memory to the hard drive (slow). I don't know who else sells 16GB of RAM at this time.
    3: You can install a 500GB OCZ Vertex SSD drive and use that as the boot drive, your Photoshop will most certainly scream. But the fastest 500GB OCZ Vertex SSD on the market is $1800. Apple's is slower (needs a new Mac) and is about $1500. You could go with a smaller/faster SSD, but lack significant storage space. SSD's are not 100% erasable and have limited write capacity. You could opt for a 7,200 RPM hard drive replacement and gain some more speed and large storage capicity without breaking the bank.
    4: You can run ALL the maintenance and cleaning aspects of the free OnyX and reboot, that will perform the "cache cleaning" your looking for and perhaps solve something that is messed up and slowing your machine down, but it's not a significant performance enhancer.
    Since your a new Mac user, there is a lot of free "extras" including OnyX, that a Mac user might have great need for, included in this list.
    (as always I receive no compensation for any site or product mention, all below are free/donationware)
    VLC (plays anything)
    Perian (installs additionalQuicktimecodecs)
    FlipForMac (Windows media in Quicktime)
    TheUnarchiver(unpacks just about everything)
    Carbon Copy Cloner (clonesbootdrive to another HFS+j drive, hold option bootable)
    2 free 3D games - NexiuZClassic and Cube 2 Sauerbraten
    LibreOffice (freeofficesuit, reads/writes Office files
    Gimp (free image editor)
    OnyX (free maintainenceandcleaning)
    Pacifist (opens DMG filesforextraction)
    Mactracker (inforonApple products)
    NTFS Mounter (for WindowsNTFSdrives)
    EasyFind(deep search)
    TimeMachineEditor
    TinkerTool
    ClamXav (free anti-virus)
    Caffine (keeps yourMacawake)
    Browswerplug-in check (especially for Flash!)

  • ThreadOpt values - is it possible to set them and what are the ranges?

    Hi there,
    I have a problem on my TestStand 4.2 platform, with test step result, formed and received from called external sequences results. In my Main sequence, in Post-Expression I defined condition, according to which the "Step.Result.Status" is passed or failed, and it works. But the problem is that in Status Expression field there is following statement: "(Step.Result.Status == "Done" && (Step.TS.SData.ThreadOpt == 0 || Step.TS.SData.ThreadOpt == 3)) ? "Passed" : Step.Result.Status". After deep search in the user manual, I found that (Note from "Expression Tab - Step Properties Dialog Box"): "Certain types of steps, such as Numeric Limit Tests, Multiple Numeric Limit Tests, String Value Tests, Pass/Fail Tests, and Statement steps, reserve one or more of these expressions to perform operations specific to the type of step or a substep performs the operation. In these cases, you cannot use the expressions the step type reserves, which appear dimmed on the tab." 
    Now, my problem is that at this specific step I call to an external sequence, which returns results and it is correct, but if these results, compared to expected are not the same, my step in the main sequence fails. Which is OK. But when the final report is generated I see there "Number of Tests Failed: 0", which is not OK. Since I can't change the "Step.Result.Status == Done", which comes from the external sequence, I thought that may be there is a place to change the "Step.TS.SData.ThreadOpt" and this way to cause to main sequence to correctly report "Failed Tests <> 0"??? 
    Does anyone has an idea whether it is possible to set this the ThreadOpt value and what is the accepted range?
    Your feedbacks and inputs are highly appreciated.
    Stephan

    GSinMN wrote:
    Hello Doug,
      I didn't think I was modifying any hidden properties.  It's just configuring a sequence call step when you add it to the sequence.  The "Execution Options" are clearly shown in a dropdown menu on the Module tab.  I was just pointing out that this seems to be what sets the ThreadOpt variable.  
    GSinMN
    Maybe I misunderstood. When you said "My normal process is to set it to 1, but based on this info, it needs to be either set to None or Use Remote Computer if you want anything other than "Done" to be returned." I thought you meant that you were setting the property directly rather than setting your sequence call steps to "New Thread" with the combobox.
    -Doug

  • My iPhone 4 from the Apple store. Now changing provider and it appears locked. Should it be?

    I bought my iPhone 4 from an Apple store a couple of years ago and understood it to be unlocked.  Now I am changing provider and it appears to be locked. I have tried the new SIM card with other phones and it is okay.  Originally I was with Vodafone and have recently moved to GiffGaff as I reached the end of my contract.  The iPhone won't start up instead it says "Only compatible SIM cards from a supported carrier may be used to activate iPhone.  Please insert the SIM card that came with your iPhone or visit a supported carrier's store to receive a replacement SIM card."Although my number has been ported across I place the old SIM back in the iPhone and it starts up.  Can anyone offer any advice?

    If you are in UK
    Apple sell unlocked but they will also sell an iPhone with a contract
    especially back in iPhone 4 days
    If you purchased fron an Apple Retail store ( Apple owned) and paid
    full price it should be unlocked as your Apple receipt should show
    If not , it is locked but (if in UK ) Vodafone do offer unlocking .
    Do a deep search of their site and you will find guidance not easy to find

  • LaCie external hard drive no longer readable after being connected to a PC

    Hi all,
    First post here and I really worried.
    I have a Lacie external drive which I normally connect to my Mac - no problems.
    Tried to connect it to my Windows 7 pc to transfer some files and it wasn't recognised. It installs the drivers and says its ready to use, but doesn't appear as a drive. So I read about it and the advice was to go to Computer Management - Disk Managment and mark drive 1 / partition as active and then assign a drive letter. So I did that and then Windows tells me that I must format the drive to use it.
    Obviously I don't want to as I can't loose my data - my wedding pictures are on the drive!
    So I've plugged the Lacie back into my mac, and the drive is unusable and says I need to format too. Even the repair function doesn't work.
    Now I've read the another post and downloaded Test Disk (I'm working off my mac though as I know the drive worked and all my files where added from the Mac).
    Its currently Anaylsing the cylinder but its taking a long time. 24hours and still on 30% (1TB drive, firewire)
    I've read the help guide but once this stage completes, having read the next few steps, I'm lost.
    Any ideas on what might have happened and what I need to do next?
    I'll report back once its finished its 'deeper search' and analysing.
    Or do I abort the above process and do something else?
    Please help.
    Thanks in advance,
    Nick

    I've read the help guide but once this stage completes, having read the next few steps, I'm lost.
    And those few steps were?  Care to share?
    Lacie has great tech support.  Call them - http://www.lacie.com/support/faq/faq.htm?faqid=10338

  • Windows 7 partition (bootcamp) missing after Yosemite update

    Hi, I just recently updated my OS to Yosemite and now my windows partition is missing. I saw LonerT was helping others with a similar problem and was hoping if I could get some help as well since I am very bad with computers.
    As for the command outputs:
    Last login: Sun Jan  4 16:50:25 on console
    Jamess-MacBook-Pro:~ jamesrhee$ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *500.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         350.0 GB   disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
       4:       Microsoft Basic Data                         70.4 GB    disk0s4
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Macintosh HD           *349.6 GB   disk1
                                     Logical Volume on disk0s2
                                     A2DFE5A5-01F0-44A6-B5DB-E47A17372B23
                                     Unencrypted
    Jamess-MacBook-Pro:~ jamesrhee$ diskutil cs list
    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group 8CD970FC-C3B9-49C1-8C04-AB6A87B90D43
        =========================================================
        Name:         Macintosh HD
        Status:       Online
        Size:         349999996928 B (350.0 GB)
        Free Space:   18882560 B (18.9 MB)
        |
        +-< Physical Volume 14E3361B-B8FC-4FE4-8112-DBA81BDBD154
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk0s2
        |   Status:   Online
        |   Size:     349999996928 B (350.0 GB)
        |
        +-> Logical Volume Family 81BEBCE6-658C-4E20-93B8-4F89FC3591C9
            Encryption Status:       Unlocked
            Encryption Type:         None
            Conversion Status:       NoConversion
            Conversion Direction:    -none-
            Has Encrypted Extents:   No
            Fully Secure:            No
            Passphrase Required:     No
            |
            +-> Logical Volume A2DFE5A5-01F0-44A6-B5DB-E47A17372B23
                Disk:                  disk1
                Status:                Online
                Size (Total):          349628792832 B (349.6 GB)
                Conversion Progress:   -none-
                Revertible:            Yes (no decryption required)
                LV Name:               Macintosh HD
                Volume Name:           Macintosh HD
                Content Hint:          Apple_HFS
    Jamess-MacBook-Pro:~ jamesrhee$ sudo gpt -vv -r show /dev/disk0
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060
    gpt show: /dev/disk0: Suspicious MBR at sector 0
    gpt show: /dev/disk0: Pri GPT at sector 1
    gpt show: /dev/disk0: Sec GPT at sector 977105059
          start       size  index  contents
              0          1         MBR
              1          1         Pri GPT header
              2         32         Pri GPT table
             34          6        
             40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
         409640  683593744      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
      684003384    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
      685272920  154298536        
      839571456  137533440      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
      977104896        131        
      977105027         32         Sec GPT table
      977105059          1         Sec GPT header
    Jamess-MacBook-Pro:~ jamesrhee$ sudo fdisk /dev/disk0
    Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]
    Signature: 0xAA55
             Starting       Ending
    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>
    2: AC 1023 254  63 - 1023 254  63 [    409640 -  683593744] <Unknown ID>
    3: AB 1023 254  63 - 1023 254  63 [ 684003384 -    1269536] Darwin Boot
    4: 0C 1023 254  63 - 1023 254  63 [ 839571456 -  137533440] Win95 FAT32L
    Jamess-MacBook-Pro:~ jamesrhee$ sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C
    Password:
    00000000  22 46 69 6c 74 65 72 73  22 0a 7b 0a 09 22 66 61  |"Filters".{.."fa|
    00000010  76 6f 72 69 74 65 73 22  0a 09 7b 0a 09 7d 0a 09  |vorites"..{..}..|
    00000020  22 68 69 73 74 6f 72 79  22 0a 09 7b 0a 09 09 22  |"history"..{..."|
    00000030  31 22 0a 09 09 7b 0a 09  09 09 22 6e 61 6d 65 22  |1"...{...."name"|
    00000040  09 09 22 32 30 38 2e 37  38 2e 31 36 35 2e 32 31  |.."208.78.165.21|
    00000050  38 3a 32 37 30 35 39 22  0a 09 09 09 22 61 64 64  |8:27059"...."add|
    00000060  72 65 73 73 22 09 09 22  32 30 38 2e 37 38 2e 31  |ress".."208.78.1|
    00000070  36 35 2e 32 31 38 3a 32  37 30 35 39 22 0a 09 09  |65.218:27059"...|
    00000080  09 22 4c 61 73 74 50 6c  61 79 65 64 22 09 09 22  |."LastPlayed".."|
    00000090  31 33 39 30 35 33 36 35  34 32 22 0a 09 09 09 22  |1390536542"...."|
    000000a0  61 70 70 69 64 22 09 09  22 30 22 0a 09 09 09 22  |appid".."0"...."|
    000000b0  61 63 63 6f 75 6e 74 69  64 22 09 09 22 30 22 0a  |accountid".."0".|
    000000c0  09 09 7d 0a 09 09 22 32  22 0a 09 09 7b 0a 09 09  |..}..."2"...{...|
    000000d0  09 22 6e 61 6d 65 22 09  09 22 32 30 38 2e 37 38  |."name".."208.78|
    000000e0  2e 31 36 35 2e 32 31 36  3a 32 37 30 34 31 22 0a  |.165.216:27041".|
    000000f0  09 09 09 22 61 64 64 72  65 73 73 22 09 09 22 32  |..."address".."2|
    00000100  30 38 2e 37 38 2e 31 36  35 2e 32 31 36 3a 32 37  |08.78.165.216:27|
    00000110  30 34 31 22 0a 09 09 09  22 4c 61 73 74 50 6c 61  |041"...."LastPla|
    00000120  79 65 64 22 09 09 22 31  33 39 30 35 33 39 30 32  |yed".."139053902|
    00000130  34 22 0a 09 09 09 22 61  70 70 69 64 22 09 09 22  |4"...."appid".."|
    00000140  30 22 0a 09 09 09 22 61  63 63 6f 75 6e 74 69 64  |0"...."accountid|
    00000150  22 09 09 22 30 22 0a 09  09 7d 0a 09 09 22 33 22  |".."0"...}..."3"|
    00000160  0a 09 09 7b 0a 09 09 09  22 6e 61 6d 65 22 09 09  |...{...."name"..|
    00000170  22 32 30 38 2e 37 38 2e  31 36 35 2e 36 33 3a 32  |"208.78.165.63:2|
    00000180  37 30 32 32 22 0a 09 09  09 22 61 64 64 72 65 73  |7022"...."addres|
    00000190  73 22 09 09 22 32 30 38  2e 37 38 2e 31 36 35 2e  |s".."208.78.165.|
    000001a0  36 33 3a 32 37 30 32 32  22 0a 09 09 09 22 4c 61  |63:27022"...."La|
    000001b0  73 74 50 6c 61 79 65 64  22 09 09 22 31 33 39 30  |stPlayed".."1390|
    000001c0  37 32 35 37 30 36 22 0a  09 09 09 22 61 70 70 69  |725706"...."appi|
    000001d0  64 22 09 09 22 30 22 0a  09 09 09 22 61 63 63 6f  |d".."0"...."acco|
    000001e0  75 6e 74 69 64 22 09 09  22 30 22 0a 09 09 7d 0a  |untid".."0"...}.|
    000001f0  09 09 22 34 22 0a 09 09  7b 0a 09 09 09 22 6e 61  |.."4"...{...."na|
    00000200
    Jamess-MacBook-Pro:~ jamesrhee$
    I tried running deeper search via testdisk but I came across about 20 different MS data and thought I must've done something wrong. Thanks in advance!

    Twenty entries may seem overwhelming, but checking each one using P - List Files should be fairly quick and painless. Most partitions will be damaged anyway.

  • After a crash with Win XP Professional, I am missing all the important Profile files. How can I recover passwords and history if the key3.db and places.sqlite files are not shown in the profile folder?

    I only have a large urlclassifier3.sqlite file in the old default profile folder. Help!

    Sounds like boot sector corruption to me! I suggest you download Testdisk a product of CG Security. Use the latest version that is NOT beta. Boot the computer to a bootable CD such as Hiren's Boot CD. Run the DOS version. Do NOT write anything to the hard disk, such as a log! Do a deep search for lost partitions. When given the opportunity, look at files and folders. Finally, do a rebuild of the boot sector, and compare that to the current boot sector and backup sector. The write a verified version of the boot sector back to the hard disk. Note: Testdisk 6.11.3, under DOS, will show DELETED FILES IN RED. You can then OFFLOAD them to another drive or USB stick. Good luck.

  • Cannot boot to Windows 8.1 after updating to Yosemite

    I am using a MacBook Pro (Retina 13-inch Late 2013) computer, and mainly use Windows 8.1 via bootcamp on it for work. I have just updated OS X Maverick to OS X Yosemite 10.10, and now when booting and holding option, the Windows and Backup partition no longer show.
    I have read a few threads on here with similar problems, and I believe that I understand the crux of the problem, but I am having difficulties actually using TestDisk as I'm not exactly sure what options to use and what to look for.
    Below is a screenshot of my Disk Utility:
    And here is the output of TestDisk so far (I analyzed the disk0):
    It looks like the Bootcamp partition is still there, but I'm not sure what steps to take next -- any help would be most appreciated!

    The deep search finally finished:
    And here's the text version:
    MS Data                338695552  651468152  312772601
       MS Data                340391264  653163864  312772601
       MS Data                490233848  803006448  312772601
       MS Data                490233855  803006455  312772601
       Mac HFS                490234708  491504243    1269536
    And after continue:
    And text:
    Disk /dev/rdisk0 - 251 GB / 233 GiB - 490234752 sectors (RO)
         Partition               Start        End    Size in sectors
    >D EFI System                    40     409639     409600 [EFI]
    D EFI System                    46     409645     409600 [EFI]
    D MS Data                 12844161  247217280  234373120
    D MS Data                 25922952  338695552  312772601
    D MS Data                 27618664  340391264  312772601
    D Mac HFS                 97104348  235516637  138412290
    D Mac HFS                 97154892  235567181  138412290
    D Mac HFS                174921356  176190891    1269536
    D Mac HFS                174921727  176191262    1269536
    D Mac HFS                174921894  176191429    1269536
    D Mac HFS                174922198  176191733    1269536
    D Mac HFS                174922470  176192005    1269536
    Structure: Ok.  Use Up/Down Arrow keys to select partition.
    Use Left/Right Arrow keys to CHANGE partition characteristics:

  • How to Restore Backup *.arc files on nokia 5800?

    I have backed up my 5800 data to my memory card E:Backup and there are below files in Backup
    Bookmark.arc
    Calendar.arc
    Contacts.arc
    Messages.arc
    Settings.arc
    UserFiles.arc
    but how to restore the backup to my mobile?
    or atleast how do i view the content of the important file like contacts.arc? ( unless with nokisoft) 
    or Can any one help me to convert the Contact.arc to Contact.txt or  cvs or xls?

    After a deeper search on the same forums found the solution. 
    Go to Menu-->Applications --> File Manager
    Click on Backup.
    Then Options->Restore
    Select everything! (again you have the time and date of the backup)
    Then click "OK"
    That's it.
    Note : Before you start this process..take the backup of Backup hidden folder present in SD card on to your PC.

  • How do I revert OS X back to a time before the last update on 28th June?

    Hi.
    Last Tuesday, 28th June, I authorised Mac Update to update two things. One was something to do with my Epson printer, and the other was some sort of security update for Mac OS X itself. The update, presumably the latter part, invoked a requirement to restart my Mac.
    Since then things have not been good.
    I have noticed that the fans in my MacBook Pro are on more or less continuously, even when it is asleep. Prior to last Tuesday they hardly ever ran, even when I was using it. (According to iStat my CPU is currently 76 degrees C, and both fans are running at about 6000 rpm.)
    When I try to quit Safari it doesn't quit straight away as it used to. Instead I get the spinning ball for a while and then, after it quits I get a 'Safari quit unexpectedly' report, even though it was I who initiated the quitting...
    Several apps have been acting oddly too, such as MS Word taking ages to launch.
    So I want to revert my MacBook Pro to how it was prior to this last update. I have Time Machine enabled, but I can't work out how to get the actual OS back to a state it was on a date prior to 28th June. The OS isn't in the Apps folder, and I can't work out where it might be.
    Can someone please point me in the right direction, or is this something that Time Machine cannot do?

    Your slow down issues sound like it's internet related.
    http://support.apple.com/kb/TS3802
    Under your System Prefs > Network > Advanced > Airport > TCP/IP  Configure IPv6: OFF  Reboot.
    Run ALL of the free OnyX cleaning and maintainence
    features and reboot.
    Also run the Verify>Preferences and write down any corrupted
    ones, move these files to your desktop (out of yourLibrary/
    Preferences folder) and reboot, they get rebuilt automatically.
    (more free good stuff you'll likely wind up needing)
    VLC (plays anything)
    Perian (installs additionalQuicktimecodecs)
    FlipForMac (Windows media in Quicktime)
    TheUnarchiver(unpacks just about everything)
    Carbon Copy Cloner (clonesbootdrive to another HFS+j drive, hold option bootable)
    2 free 3D games - NexiuZClassic and Cube 2 Sauerbraten
    LibreOffice (freeofficesuit, reads/writes Office files
    Gimp (free image editor)
    OnyX (free maintainenceandcleaning)
    Pacifist (opens DMG filesforextraction)
    Mactracker (inforonApple products)
    NTFS Mounter (for WindowsNTFSdrives)
    EasyFind(deep search)
    TimeMachineEditor
    TinkerTool
    ClamXav (free anti-virus)
    Caffine (keeps yourMacawake)
    Browswerplug-in check (especially for Flash!)

Maybe you are looking for

  • Interference on display.

    I'm getting random interference patterns on the display. Sometimes an image will become distorted and have lines run through it. Has anyone had this problem? I've had this on iOS 4.2 &4.3 so I'm hesitant to say it's a software issue. These issues hav

  • Creating a Display View and passing back the selected items

    Hello All, I will like to create the below scenario and will like to seek feedbacks and suggestions on how to do so in the best way. <u><b>Scenario</b></u> 1) User enters his lastname and press a submit button (this is done in the initial window whic

  • Convert vhd

    Hi, can i convert a dynamic vhd to fixed vhd or vhdx but only insert to the fixed vhd the actual size of the used space that is in the dynamic vhd? THX

  • FIFO doesn't work for transactions in the same second

    I have order dependant transactions going into an A.Q in a 8.1.7.4 database. The default priority is based on time. ENQ_TIME wgich is a date field. I have transactions going into the que in the same second. They are not comming out in the correct ord

  • No songs burned on cd after cd is ejected

    No songs show up on the cd after burning. I burned a cd this morning without a problem, went to burn one a few minutes later( same brand) and I got this message after cd was finalized. You have inserted a disk containing no volumes that Mac OS X can