BitBuffer or somesuch?

I'm looking for a class to help with protocol decode where the fields in the message aren't all a whole number of bytes. So, something that
(1) you initialise from a string of bytes somehow
(2) keeps track of a current bit position
(2) has methods you can call to do things like "get me the next nine bits from the bit buffer as an integer" (optionally signed or unsigned).
Surely there must be something like this somewhere in the Java platform, as its the sort of thing people do all the time, but I can't find it?

Yeah, I'm giving up and writing my own, but of course I'll only implement the functions I need and won't end up with a generally useful solution.
It's not "the sort of thing people do all the time"
Oh Yes It Is -- if you're writing telecoms protocol stacks. (No, I wouldn't have chosen to do this in Java either ...)
big endian or little endian
Yes, exactly. A proper BitBuffer class would have that as an option. (Mine won't have because I don't need both.)

Similar Messages

  • Ipod Shuffle wont be recognized on Itunes and wont update/restore

    Its driving me crazy.
    the Itunes wont recognize it because it says there is another user using the softwear and all of the other acounts are logged out.
    when I tried restore or update it, it tells me "Ipod service error". so bassicaly im stuck and I cant format it or nothing. and I tried like a million times to take it out and plug it back in.
    Ipod and apple stuff in general have too many restriction and standards that you have to have for their stuff to work right.

    Neither of 2 iPod Shuffles (both 1GB) will allow version 1.1.4 software to install - various errors occur: "can't unmount", another user is using it, an unexpected error occurred (-147 or somesuch), and of all these, the last one most frequent and varied in timing (i.e. doesn't return immediately but takes between 10 seconds and 2 minutes to return error).
    So the nicely buillt-in iPod Updated does download the appropriate software (cool!) but seems to hang up with the Shuffle with various errors. Tried the 5 Rs per ipod on support.apple.com, and also made Shuffle was only connected iPod, as there are 2 firewire-based 30 and 60 GB iPods, 1 60 GB USB iPod, a mini, and 2 shuffles. Lots of wires but all connected to a powered hub or two, so easy to disconnect. Nice wanrings on low USB power levels but just in case…

  • What size should external back-up drive be for use with Time Machine?

    I am very new to Macs.
    My iMac has a 500GB hard disc - not much on it yet.
    I want to back the hard disc up daily and automatically to an external hard drive using Time Machine. So that I could restore everything if the iMac failed.
    1. Does the external hard drive that I buy need to be larger than the iMac's hard disc, e.g 1Tb? Or is 500Gb enough in my case?
    2. Should it be pre-formatted for Mac when I buy it? Or do I have to do this?
    3. Should it use firewire or USB?
    4. Presumably I need to leave the external drive plugged in all the time? Or will this stop the iMac from switching on and off?
    I really want the easiest solution possible as I am not very techie and I want the minimum amount of fiddling with it. So I am confused between whether to choose a Western Digital My Book Office edition or Studio edition, 500Gb or 1TB, firewire or USB, or maybe a Lacie?
    Would be grateful for advice.
    Thanks very much.

    Welcome to the Apple forums. If you have a 500G external disk, that will work fine for quite a while with hourly, daily and weekly backups, but sooner or later it will fill up, but then it begins to delete weekly backups. The same will happen with whichever size of external disk you buy: sooner or later. . . . Nonetheless, that disk will be fine for most purposes. I have 250G and use a 200G partition for my MacBook Pro and while that was fine, it tends to delete weekly backups so I have about 6 months of backups stored. (I also make other backups of all data).
    It may be preformatted, but that is unlikely. Use Disk Utility (in Applications>Utilities) and use MacOS Extended, which is selected in the Partition tab (you do this even if you only use a single partition).
    The system works with either Firewire or USB 2..
    You do not need to leave it in all the time. If it is connected, it will make the backups, if not, nothing will happen and it will indicate that the next backup will occur when the disk is attached. To disconnect, you would highlight the disk in a Finder panel and press the Eject icon (not while TM is running of course) then disconnect the cable.
    I am not able to suggest which disk is best, although my LaCie one has not missed a beat. Others may have a different idea. Try a Google search with the disk manufacturer's name and "problems" or somesuch. No disk is perfect of course.

  • Library Syncing Question

    OK I have two Macs and an iPad and an iPhone.
    Here's what I currently do, using non-Aperture products:
    1) I transfer RAW+JPEG from my camera to my iPad.
    2) I use Image Capture to transfer the images from iPad into an "Unsorted" folder.
    3) I sort the pictures using Adobe Bridge, then organize them into folders, which are also organized into other folders, and so-on. They are done by main category such as "Events/Shows", "Work", "Trips", "Cats", "Friends", "House", "Landscape", "Macro", etc. ((The categories aren't perfect though and I started to realize I have a lot of pictures that fit multiple categories, hence why I want to start using an image management software like Aperture.))
    4) When I edit a file, I open the RAW into Photoshop CS5 or Olympus Studio and use that software to make a new .PSD or .TIF file, appending the file name with single letter codes that indicate what I have done to the file (+o for olympus studio, +a for adobe CS5, +s for sharpened, +h for hdr, +p for pano, +w for web resolution version,+f for flattened version of a multi-layer file, etc.). I also add a 1.1 or 1.2 to the filename if I make successive versions. Then I save it to the same folder that the original was saved in so that I don't have to go looking for it should I want to burn it to CD to take into the lab to get printed.
    5) I sync all my JPEGs only to the MacBook Pro, and keep the RAW+JPEG on the Mac Pro since it has 7 TB of storage and redundant backed up arrays. But I do most of my photo editing on the MacBook Pro, then sync the new edited versions back to the Mac Pro. I use ChronoSync to do the syncing.
    Problem with my current method: I cannot sync to the iPad in an organized way nor add location information to my photos.
    Here's what I'd like to do:
    1) On the MacBook Pro and Mac Pro, maintain a *referenced* Aperture library by adding referenced links into Aperture to all my existing files, which would stay where they currently are. ((I don't feel like giving up my folder organization scheme that I've been building up for 15 years, and which contains over 50,000 images.)) Then I would sync Aperture between the MacBook Pro and Mac Pro whenever I also sync the folders (any changes to one would become reflected in the other).
    2) When I would add JPEGs to the MacBook Pro's Aperture library via referenced links, then on the Mac Pro the referenced links would point at the copies of the files that are on *its* local hard drive. So in other words, the referenced links in the Aperture library *must* be something like: ~/Pictures/MyFolder/myimage001.jpg INSTEAD of something like: /MyHardDriveName/Users/MyUserName/Pictures/MyFolder/myimage001.jpg. If Aperture is able to use links that reference to the User directory, then syncing between the computers will go smoothly. Otherwise it won't work at all. So this step is critical. I'd like to know before I attempt this whether or not this will work.
    3) I will also want Aperture to automatically use a Spotlight search scope that I define to find files that have been moved. I organize my files by moving them around in folders; if something gets moved then I need Aperture to go look for it. It should keep a checksum for the key metadata of each file and the filename in its database so that it can intelligently search and automatically repair broken links using Spotlight. Or, failing that, it needs to allow me to manually tell it where I have moved files in the (somewhat rare) cases when I move them after adding them to Aperture.
    4) I want Aperture to let me use Adobe Photoshop CS5 or Olympus Studio to convert RAW to JPG, whenever I want, and automatically add any edited versions of the files that I manipulate back into its database. So in other words it would watch the folders that I have added images from, and if any new files appear there, then it would automatically add links to them to the Aperture database (like how Picasa does with its watch folders).
    5) I want to be able to download images from my camera's memory card to my iPad, then organize them into new Projects/Albums and rate them, etc., then sync those Projects/Albums into Aperture but have the files be placed in a folder I specify (not into the Aperture library!! arghh!!!).
    6) I also want to sync my Aperture library to my iPad using iTunes from my MacBook Pro. (I already started doing this on an experimental basis, but I noticed there is still no way to rate pictures on the iPad and I haven't tried making new albums from the iPad yet and syncing them back.)
    I'm sure I'll think of some other requirements but those are the must-haves. Does anyone know if Aperture is capable of doing this, or is it not a professional application quite yet?
    On point 3), perhaps it's possible to use AppleScripts to add files that are added to certain folders into Aperture instead of having Aperture do it upon launch? Anyone know? If so does anyone know of such scripts?
    Are there any pros out there who actually let Aperture store your photos in its library? If so then how did you transition your existing large image library into Aperture? I don't think I have enough spare hard drive space to import my 1.5TB photo library into a new copy of it, plus all the frakking previews and everything else that Aperture generates. I guess I just fail to see why Aperture insists on using a Library instead of doing things in a Mac-like way (folders). It seems very strange and odd to me that Apple would have written a program that does not even obey the Macintosh user interface principles like having a standard open/save dialog box, file/folder interface, using the trash can to delete things, etc. Am I the only one who feels like they are starting to smoke something weird in Cupertino?
    - Mac Daddie

    1. There is no need to use Aperture in Managed Mode - where it stores the files in its own Library. Aperture is perfectly happy running in Referenced Mode - the files are stored where you prefer - and its an option in the import dialogue.
    2. It's not a photo editor or file browser. You seem to be confusing it with Bridge or somesuch. It's a Photo Manager -   database forcussed on processing the output of a shoot in a losslessly. That's why it doesn't use Open and Save dialogues and so on. The point of Aperture is that you import your Photos and store the files whereever, and get on with working on the Photos.
    If you're very attached to your current workflow I would skip Aperture. An alternative workflow using Aperture would be much simpler. Import to Aperture (storing the files where you will) sort them in Aperture, process them in Aperture etc. No need to save as tiffs or psds - in fact, the only time you need to decide what to do with the product of your effort is when you export for some reason. You can create multiple versions (and append whatever codes you prefer to these versions and so on.) Photos you want to further edit, send to Photoshop or whatever you prefer. Though the very common  experience is that you will use these editors a lot less than you do now.
    You can have multiple Libraries, export projects as Libraries to keep Libraries on two machines in sync and so on.
    So, working with Aperture in your current workflow would only be adding unnecessary complexity to an already complex workflow. If you're prepared to negotiate on the workflow, you may find an easier way to get the same results with Aperture.
    Regards
    TD

  • I cannot increase volume on Voice Memo

    Does anyone know how to increase volume on Voice Memo?
    I almost do not hear my messages (unless I shout or put my phone in front of my lips and talk loud).

    Just got a 3GS today and this volume problem was one of the first things I noticed. This has to be fixed - teling people they have to use a headset mic or somesuch, when the speakerphone usage of the built-in mic works just fine, is a cop-out. Obviously an oversight ("bug") in the code. Now if someone could just figure out what the file type of the voice memos is, one could take the files of 3rd party apps that do record at a proper volume and make iTunes recognize them as voice memos. If Apple's going to release something they consider a core iPhone app in this shoddy condition, it's only fair if we get some sort of functional workaround rather than wait for someone's bugfix inbox queue in Cupertino to get caught up on.

  • Replicating Safari, Mail records of iMac apps to Macbook apps using TM

    My IMac HDD died which is no prob since I have 3yr extended warranty and while it is out of commission (and just for plain convenience anyways) I wish to replicate my entire email archives PLUS and more importantly my autofill, history, cookies et al from the Safari backups on my WD Tb to my MacBook.
    I have long used the false security of Back to my Mac screen sharing which appears to have been only a rather lame and weak even if somewhat more secure substitute for full synchronization which does not seem to be possible.
    I have this same beef with .mac(MobilMe) because due to the disparity between drive sizes on IMacs and MacBooks it is impractical to do complete synching between them due to the much larger installed software capability of the IMac (notably bloatware like AdobeCS, Iwork, ILife and WinXP on it's own VMware NTFS partition). Thus in spite of using password and username redundancy (for my own sanity) I've had to settle for synching keychains and preferences only even though not Tray and Widget items and trial or seldom used apps etc. for which there is simply not enough room on a 120Gb drive.
    Thus I used both Backup.app for special cases backing up selected document backups(avoiding Downloads) to .mac and Time Machine avoiding all/most media, and applications folders (since those software updates plus Miro and EyeTV deletes (and reorganizing/re-filing editing my own pictures music & videos were eating up my Terabyte drive alarmingly with useless duplications of often quite disposable or redundantly relocated hugeitems in document workspaces)
    So now my question is how do I replicate my master mail account, which used different (leave on server mail pickup preferences and never synched fully with the archive on my IMac, and my master Safari history (which I never erase since I'm more worried about me not bookmarking it than someone else checking it out) and Safari's autofill and cookie files or folders replaced on this MacBook, to get my life, which was backed up at 5:40AM moments before my HDD choked it's last moved over and replicated to my mundane basic MacBook apps?
    My MacBook Safari has the preferences and OS-spam bloated plus my basic sparse general bookmarks synched only, not the important stuff like history, cookies and autofill in spite of my synching keychains which apparently doesn't work since I've read Safari has my autofills strewn around in Address Book or somesuch irrational craziness??
    At least does anybody know how to do a simple Netscape type whole User file swap on Safari?

    What on earth is wrong with this OSX nightmare?
    First of all my second MacBook computer (which is a bit newer) has information on it that was unfortunately never properly or completely synchronized despite my reasonable attempts to do so, (not including that complete "first edition" of incremental laptop apps and data lost when the HDD died the first month I attempted to set it up, 3 months after I bought it) due to the several email accounts POP server settings that had to be different in order to assure that I could use my many older pre-existing POP server accounts in READ ONLY MODE in MAIL on the rare occasions I needed a laptop.
    Second of all I am "userme" (*example) and "userme's" folder is userme's initials "UM" and that remains the same as does "userme's password" regardless of what ever mac it is I shall ever use or own! It is irrational for me to have to have 2 or 3 or 5 different admin passwords, usernames, shortuser names and login passwords for as many Macs as I should want to own (and moreover, use screen sharing, Time Machine and .mac with! This is why UNIX invented machine names...
    Third of all, I am paying for a .mac account which only one Mac which I own and run OSX on can use Time Machine on which unfortunately due to it's stingy disk space and woefully slothful speeds and bandwidth limitations is useless for Time Machine, and of course it appears that I need a separate Terabyte+ Time Machine backup external drive for each computer since Time Machine cannot differentiate (it's duplicatfile+ uselessbloatfile+ redundantly named) non-unique backups on a single sharable external drive let alone access a shared network one should I wish to use my Airport Extreme's slothful local network clogging USB port to do so.
    Thus i have to have a Firewire Terabyte WD MyBook that is 60% consumed by/for IMac backups and a spare TrekStore 500Gb USB (that I have yet to setup) for Time Machine backups on for the MacBook. This is solely because the IMac and MacBook are incompatible in file system size, and cannot host anywhere near a similar compliment of apps or documents, because Apple refused to allow me to exchange and pay for the difference in price between the price of a system-compatible (then 250Gb) HDD I was insistent on for my MacBook HDD after the lame 120GB one suppled with it croaked on arrival! Now the the 250Gb one in the Imac is croaked too this may be a silver lining since i shall not accept it back as repaired unless I am allowed to have the defective device replaced with a 320Gb replacement regardless of warranty policy, charge nor price! (the IMac is so frighteningly and mysteriously constructed it is apparently in no way user replace or upgradable)
    Thirdly for my old Windows PC "My Documents" archives (which I still have thankfully on my pile of old PC's) and the few newer software receipts and junk I did backup on .mac the Backup app that you have suppled appears to be likewise similarly totally dysfunctional as well as is the Migration Assistant app since the Migration Assistant app will ruin the Time Machine backups on my WD Terabyte drive and the Backup app WILL NOT RESTORE any files stored at .mac backed up from my IMac onto my MacBook because even though it appears to mount them after a prodigious unmonitored period of waiting selecting any (actually had to try 11 times till I discovered only the last one) of the dozen 'fullbackup' documents or the 20 random differently dated and all incomplete "incrementalbackup" documents and selecting all or any part within them whether choosing to "restore to a different location" (since the IMac locations don't exist on the MacBook) or not, the "Restore files" button remains grayed out!!!
    Just what business is it of Time Machine or Backup what my username and user folder is called?

  • Guide TV Show Names

    Who progams the TV show names on the guide?  The DVR does not work correctly because of the wording on the guide.  For example MTV Real World, instead of it saying just Real World our guides say Real World "San diego" then "Chicago" or whatever city the show is in during that season, but now our DVR thinks it is a totally different show and will not record it.  Same thing happened with Party Down South our guides call the new cast Party Down South 2 so the DVR did not record the show.  I checked Direct TV, and Time Warner Guides and neither of them have this issue.  The shows say Real World and Party Down South.  This happens on other channels as well any time the guide gets too "detailed."

    PotatoeGuru wrote:
    cdemot02 wrote:
    Who progams the TV show names on the guide?  The DVR does not work correctly because of the wording on the guide.  For example MTV Real World, instead of it saying just Real World our guides say Real World "San diego" then "Chicago" or whatever city the show is in during that season, but now our DVR thinks it is a totally different show and will not record it.  Same thing happened with Party Down South our guides call the new cast Party Down South 2 so the DVR did not record the show.  I checked Direct TV, and Time Warner Guides and neither of them have this issue.  The shows say Real World and Party Down South.  This happens on other channels as well any time the guide gets too "detailed."
    Like most things in life, it's marketing's fault and they most only care about their 'brand approval synergy' or somesuch drivel.
    ... and don't EVEN get me started on the latest nonense of slapping pop-ups or 'social content' into existing content and trying to pass them off as new episodes. i.e, Naked and Afraid becoming Naked and Afraid Pop-Up Edition, The Little Couple becoming The Little Couple Big Updates)
    Repeats w/tweets that add no value except to the people who's tweets make the show.
    Chris
    Please NO SD stretch-o-vision or 480 SD HD Channels
    Need Help? PM ATT Uverse Care (all service problems)
    ATT Customer Care(all other problems)
    Your Results May Vary, In My Humble Opinion
    I Call It Like I See It, Simply a U-verse user, nothing more

  • One PC, Multiple Apple ID's, how to integrate?

    Im not sure if this problem of mine is as a result of the latest iTunes update, but suddenly Im getting told that I can't download my purchases as for some reason my son's apple id is now the only one that can be associated with the pc (for 90 days..).
    We have:
    3 Apple id's
    -Main/parent id
    -Child 1 id
    -Child 2 id.
    The kids are each responsible for their own purchases.
    Up until my last attempt to download my purchases I haven't noticed any problems sharing purchases on the single computer.
    Today, I was warned that to download I would need to change authorisations or somesuch, which couldn't be changed again for 90 days.
    Either I haven't noticed this restriction before, or the updated iTunes is imposing restrictions.
    We all have our own playlists, and when syncing our devices (iphones/ipods) we simply choose our own playlist, but the playlists are made up from everyone's music, no restrictions.
    Why is it now that I am finding restrictions on downloading music? How can I get around this in future?

    Thanks Limnos.
    Crisis averted.
    Im not sure how/why I encountered the problem yesterday, but today I selected the 'transfer purchases from xxx' in the File menu, and it transferred my purchases to my music library without a problem.
    I am signed in to itunes at the moment, but I haven't re-associated the computer with any particular ID (was previously mine, but showing its associated with my sons since last year, but I've not even noticed until yesterday).
    For future questions on multiple ID's on a single computer, we run ours with multiple Apple IDs, all our contacts are shared (which I've discovered is useful when I get a message "Im at so and sos" and I look and 'so and so' is in  my contacts without me even knowing) on our Apple devices, and a purchase is downloaded from a device on first syncing.
    We keep a playlist per child in itunes, which we can update anytime and select to sync. Any playlist they create is downloaded into itunes and saved, and kept by default on their device anyway.
    Aside from the 'check for available downloads' yesterday I don't seem to have a problem. BUT I can't just borrow someone's ID and log in then download all their purchases. I have to plug in my device, then download purchases, and then I can manouevre them as i wish between playlists.
    I hope this helps someone else, but feel free to answer my 'check for available downloads' doesn't work!

  • How to batch change all iPhoto imported movies and keep them in same event?

    I have several years of AVI movies that won't be read in iMovie 08 but can be viewed and played using QT from iPhoto 08.
    Anybody know how i can batch convert the entire library of movies in my iPhoto library to mac happy format and keep their creation date, save them back into the same location, and modify iPHoto database to re-path to new clips then remove old? I must maintain organization as these videos are labeled, and dated and sorted according to my daughters entire life! I don't want a new folder with 1000 vidoes, I like to keep them in the 'event' folder they live in and have iPhoto point to them instead of the .avi files that iphoto has no problem with but iMovie does.
    Sounds insane, but it's the only solution i can think of to use iLife products with one of the most popular compact digital camera's in the world which saves in a format that works perfectly everywhere else within my mac other then iLife.
    I'm sorry if i sound a little peeved.. i've been desperately trying to make a solid pipeline for personal media out of my mac since i've switched over, and found that unless your media is born and dies in quicktime, the mac isn't really that friendly.

    vfman
    Not quite an answer, but perhaps the way towards an answer:
    You want to round trip these avi files out of iPhoto, convert them to a different file type and the bring them back into iphoto whole preserving all of the arrangements you have for them in iPhoto. Correct?
    You cannot do that for a very simple reason, and that is converting the file type will create a new file with a new file name.
    SO we have to be clever... and this might be a way to do that:
    1. Title the files in iPhoto to use their Creation date in the title (so we get Jan 01 2005 - Her First Steps.avi, or somesuch.) I suggest this, but there may be a way to change the file date on the new movies that I don't know about.
    2. Export the files in batches - month by month say - to the desktop and there, process them into the new format. (You'll need to research the Software for that job yourself, I'm no help there)
    Now we have a file called Jan 01 2005 - Her First Steps.mov (or whatever the suffix is going to be.
    3. Create a new library in iPhoto (hold down the option (or alt) key and launch iPhoto, choose 'Create Library' Give it a distinctive name: The great library fix, or somesuch)
    4. When you have the new library organised to mirror - as much as possible, delete the avi's from your main library, and use iPhoto Library Manager to move the reformatted files back...
    That's an approach to the issue. Have a think about it, maybe it'll spark you - or someone else to come up with some improvements - or a whole better model.
    Or, we could try and get v7 to read the movies like v6 did... what are the symptoms?
    Regards
    TD
    Message was edited by: Terence Devlin

  • Internal Hard Drive Problems

    Ok, here's the deal.
    I have a macbook pro. Its a 2.16 that I bought back in the beginning of 2006. I am currently running Snow Leopard on it. I have used up pretty much all the space on my 120 gig hard drive. I decided it was time to get a new hard drive. I got the 640GB Western Digital "Scorpio Blue" one off of newegg. The model number is WD6400BEVT. First, I transferred my entire hard drive onto an external hd (My Book) using a program called Carbon Copy Cloner. It took a couple of hours to transfer everything, but no big deal, it got done.
    Next, I took my laptop apart and installed the new hard drive. I re-hooked up everything and I also plugged in the external hard drive so I could boot directly from it. I turned on my laptop and booted from the external drive. Everything worked fine and the computer recognized the new 640GB hd. I then used Carbon Copy Cloner to get everything from the external onto the new hard drive I had just installed. I shut down my laptop.
    I then unhooked my external hd and tried to boot like normal using the internal hd. While holding the "option" button, I wasn't able to boot from, or even see my internal hd. I tried turning the laptop on and off a couple times hoping that it would give me options and it didn't. I then tried plugging in my external so I could boot from that hd, but when I turned on my computer, it didn't give me any boot options. Didn't recognize my internal or external hd.
    I was confused and thought that maybe a connection was loose or something, so I took the whole thing apart again and put it back together. Same result. My buddy was over helping me with everything, and he has a newer macbook pro (not sure on the year, but it had the black keypad and the hatch on the bottom that reveals the battery and the hd so you don't have to tear apart the entire computer to get to the hd). We decided to install the new 640gb internal hd into his computer to try it. After it was installed, we turned on the laptop (his) and booted from the internal hd we had just installed in it. It worked just fine and my desktop and all my files and such showed up on his screen. This was bittersweet, because (in our minds) that meant that the hard drive was working just fine and the copying program had worked how it was supposed to, but it also angered us because we couldn't get it to work in my macbook pro.
    We attempted again to install the new hd into my laptop and got the same result that was making us mad earlier, no boot options, just a light white screen. I thought maybe it was the screen connection the entire time, but you could see and use the mouse, there was just nothing to click on.
    I told my roommate of this problem and he thought that maybe this laptop just can't handle a SATA 3.0, and my laptop originally came with a 1.5 SATA hd (I believe?) This might explain why it worked on my buddy's newer macbook pro and not on mine, but I'm not sure. Any help or ideas would be greatly appreciated!

    Thanks for the update with extra information, It_crabby,
    (My suggestion wasn't that your problem wasn't the same, but rather that without additional information it was impossible to know - we see many, many people who think they have the same issue as someone else, only to find out later that their circumstances are substantially different. Without the excellent additional material you subsequently provided it was impossible to know if this was the case with you. There are lots of reasons why one or another HD may not work.)
    The HP Launcher "ghost" is interesting. This usually appears with disks that have previously been fitted in an Hewlett Packard external drive enclosure and relates to HP's "Simple Save" processes. Perhaps yours is one that was originally intended for this purpose that got diverted because of the arrival of a new model or somesuch. The vendor may be able to tell you.
    I wouldn't be at all surprised if it is the cause of your particular problem and I'm afraid it may not be possible to actually overcome it.
    It is easy enough to "hide" it when the disk is used as an external, non-boot, drive on a Mac - from a web post that is now no longer there:
    +1) Go to Applications+
    +2) Click on Utilities+
    +3) Open AppleScript Editor+
    +4) Copy and past this coding+
    +tell application "Finder"+
    +if exists "HP Launcher" then+
    +do shell script "diskutil unmount /Volumes/HP\\ Launcher/"+
    +end if+
    +end tell+
    +5) Save as an application. -use whatever name you wish, such as "HPUnmount"+
    +6) Go to System Preferences...+
    +7) Click on accounts+
    +8) Click Login Items+
    +9) Click the Plus sign to add an application, then select the file you created.+
    The trouble is this that this approach will only work once you have got the normal boot process well and truly underway and the "Finder" is in control. It won't disable it during the boot process itself and unfortunately it seems to be "taking over" at this stage, preventing use of the drive as a boot drive.
    The second problem is that, according to many posts I've seen, it can't actually be removed through partitioning / reformatting etc by normal mortals. THis is because it is apparently incorporated in the drive's firmware , rather than a "normal" disk partition. (see http://h30434.www3.hp.com/t5/Other-Desktop-PC-questions/HP-Simplesave-500gb-USB- 2-0/td-p/163205 and "Max from Toronto"'s comment at http://www.chipchick.com/2009/09/hp_simplesave.html )
    There may just possibly be some way of overcoming the problem by hacking the Mac's own Boot EFI file, but you'd need a much gamer, and more knowledgeable, person than me to play around with that, and the consequences of getting it wrong could be very nasty! Even this may not be possible if the code is actually embed in a ROM on the drive that is automatically accessed first when it starts up. Perhaps HP or WD's technical staff could deal with the problem, but I suspect they would charge you for the privilege.
    My suggestion would be that you take the drive back to the vendor and either ask for a replacement that hasn't been set up for use in an HP external drive or ask for your money back.
    Cheers
    Rod

  • HT2506 I use Preview to edit photos, and would like to know if there are any Preview updates in the works. I find there is a problem with Preview crashing, or taking a very long time to "catch up" (spinning beachball of death) while I'm editing.

    I use Preview to edit photos, and would like to know if there are any updates to this program in the works. It seems Apple is constantly updating its software, except for Preview. I find it crashes all too often, and also takes forever to "catch up" with me (as in spinning beachball of death) when I'm editing a lrge amount of photos. Yes, I know I should be using Photoshop or somesuch, but it's just too **** confusing, and I don't have the time to figure it out. Thanks!!

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Error while Executing Unix Shell Commands Using Runtime clas

    I am trying to run the following code in java on unix machine to execute cat command.
    Runtime runtime = Runtime.getRuntime();
              try {
                   System.out.println("before catexecute");
                   Process process = runtime.exec("cat /export/home/shankerr/local.profile > /export/home/shankerr/local1.txt");
                   try {
                        if (process.waitFor() != 0) {
                        System.err.println("exit value = " +
                                  process.exitValue());
                        catch (InterruptedException e) {
                        System.err.println(e);
    But i get the following error on the console
    exit value = 2
    cat: cannot open >
    cat: cannot open /export/home/shankerr/local1.txt
    The same command if i run on unix console directly it creates a new file and copies the content into the new file local1.txt
    kindly help me on the same

    The redirection operator > along with stuff like pipe | history !$ etc. is interpreted by the shell, not by the cat program.
    When you do cat X > Ycat only sees the X. The rest is interpreted by the shell to redirect the cat program's stdout.
    However, when you Runtime.exec(), you don't have the shell, so cat sees X > Y as its arguments, and interprets them all as file names. Since there's no file named > you get the error.
    The solution is to first man cat on your system and see if it happens to have a -o or somesuch operator that lets it (rather than the shell) send its output to a file. If not, then you need to invoke a shell, and pass it cat and all of cat's args as the command to execute.
    Read the man pages for you shell of choice, but for bash, I believe you'd give Runtime.exec() something like /bin/bash -c 'cat X > Y'

  • IPod wont be recognized on windows

    I am helping a Friend out that doesn't own a computer and trying to add music to his ipod classic. I had to buy a new adapter for it to hook up to the computer b/c he only had charger hook-ups, the adapter I got is a GigaWare but doesn't seem to be responding. I downloaded iTunes and read all the manuals for both iPod and iTunes and it says I need to look for an Icon to respond to iTunes so I can be able to upload music to the iPod but it doesn't want to be seen. What am I doing wrong?

    Neither of 2 iPod Shuffles (both 1GB) will allow version 1.1.4 software to install - various errors occur: "can't unmount", another user is using it, an unexpected error occurred (-147 or somesuch), and of all these, the last one most frequent and varied in timing (i.e. doesn't return immediately but takes between 10 seconds and 2 minutes to return error).
    So the nicely buillt-in iPod Updated does download the appropriate software (cool!) but seems to hang up with the Shuffle with various errors. Tried the 5 Rs per ipod on support.apple.com, and also made Shuffle was only connected iPod, as there are 2 firewire-based 30 and 60 GB iPods, 1 60 GB USB iPod, a mini, and 2 shuffles. Lots of wires but all connected to a powered hub or two, so easy to disconnect. Nice wanrings on low USB power levels but just in case…

  • Always trust these certificates option no longer working

    Hello all,
    I'm using MacOS X 10.4.4. My firm uses a lot of sites with self-signed server and CA certificates. Safari, of course, pops up a box saying "this is signed by an unknown issuer" or somesuch. Showing the details of the certificates and then checking the "always trust these certificates" used to prevent that pop-up from showing again (after entering your password).
    Safari no longer does this, and each time I start Safari, I get the certificate warning even though I've checked the always trust box.
    This is a major annoyance. Does anyone have any idea how to get it to stop doing this and remembering my "always trust" click?
    Thanks,
    Doug

    I have only the "login" keychain, which was not locked when I ran Keychain Access.
    I'll try this again with the application open.
    Thanks,
    Doug

  • Suggestion for a [wiki] tag in the forum BBCode

    So...would it be possible to have something like
    [wiki=HAL]this[/wiki]
    and have it work like  the normal url bbcode, except for the wiki?
    [url=wiki.archlinux.org/index.php/HAL]this[/url]
    Maybe not KISS, but definately useful

    Alright, I have a (somewhat messy) patch for fluxBB 1.2.22.
    281,296d280
    < //
    < //Turns a [wiki=pagename]link[/wiki] bbcode into <a href="http://wikibase/pagename">link</a>
    < //
    < function handle_wiki_tag($pagename, $link = '')
    < {
    < global $pun_user;
    <
    < $wikiurl = 'http://wiki.archlinux.org/index.php/';
    <
    < $full_url = str_replace(' ', '_', $wikiurl.$pagename);
    <
    < $link = ($link == '' || $link == $pagename) ? ((strlen($pagename) > 55) ? substr($pagename, 0 , 39).' … '.substr($pagename, -10) : $pagename) : stripslashes($link);
    <
    < return '<a href="'.$full_url.'">'.$link.'</a>';
    < }
    <
    337,339c321
    < '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s',
    < '#\[wiki\]([^\[<]*?)\[/wiki\]#e',
    < '#\[wiki=([^\[<]*?)\](.*?)\[/wiki\]#e');
    > '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s');
    348,350c330
    < '<span style="color: $1">$2</span>',
    < 'handle_wiki_tag(\'$1\')',
    < 'handle_wiki_tag(\'$1\', \'$2\')');
    > '<span style="color: $1">$2</span>');
    It is based on the handle_url_tag function and supports the following syntax:
    [wiki]Arch Linux[/wiki] (returns <a href="http://wiki.archlinux.org/index.php/Arch_Linux">Arch Linux</a>)
    [wiki=Arch Linux]Somesuch[/wiki] (returns <a href="http://wiki.archlinux.org/index.php/Arch_Linux">Somesuch</a>)
    EDIT: The above patch is for /include/parser.php
    Last edited by techprophet (2009-09-08 15:11:47)

Maybe you are looking for

  • No sound during import from camcorder

    When I am importing video from a DV tape in a camcorder I don't hear any sound. After the clip is captured, you can hear the sound during playback. Is there a setting that allows you to hear the sound during import? I have tried importing HDV format

  • HELP : MP3 icons in finder (quicklook)

    After a restauration (leopard after a crash), my finder does not present my MP3 files with their covers (in otunes, all is ok) : in finder, MP3 files are now with generic pictures (mp3 files and a note) : no more original cover arts. How can i see my

  • System status ECUS in equipment

    Hi experts, I have a doubt:from standard when the system status in equipment is ECUS (BS22 I0188), for example after movement 601, do the stock informations in label 'Ser.data' must be update automatically by the system or not?i have not found refere

  • Connecting to MAC (Snow Leopard) from Windows 7 PC

    Been trying to get the iMac to connect with a windows 7 pc. Have successfully connected to the PC from the iMac using the Go/Connect to server method. From the windows 7 PC perspective, the iMac shows up in network neighborhood, but when I double cli

  • Find mode of execution of a report program

    Hi,    How can i find if the execution of the report is online or via batch mode. I need to store different results depending on the mode of execution of the report. Thanks & Regards, Amit