Moving my non standard library

Dear friends,
I hope you'll be patient enough to bear with my question.
My music files are all stored on my iMac internal disk in a /Users/Bob/Music/rja directory with its own internal artist/album/tracks structure.
In my iTunes Preferences->Advanced, my music library is set to /Users/Bob/Music/rja2014 and NEITHER keep itunes organized nor copy files to iTunes media folder are checked.
Everything works beautifully, my metadata is now in good shape, artwork etc.
I am now in the need of moving this music to my external firewire storage and I am not sure how to go about it because of this non standard setup.
Any guidance would be receive with gratitude !
OS is Mavericks and iTunes is 11.1.5 (5)
Thank you in advance.
Robert

Because you manually manage music it won't be easy.  If you let iTunes manage your media then you could use iTunes' consolidate feature to move your files to a different drive and have it keep track of them.  If you were moving them to the same drive and manually manage then iTunes will keep track of them.  Moving them to a different drive means all your links will break and thrre's no way to stop it really.  "Moving" to a different drive is really copying and deleting.
Two options.  One is to copy them to a different drive, then re-add them to a new iTunes library.  Yes, yes, I hear you fuss, but for some who only have smart playlists and don't care about date added and ratings it works perfectly fine.  The smart playlists repopulate everything automatically and as long as you use tagged media most of the metadata travels with the files.
Another is to move the files, then use a text editor to search and replace the location information for all the tracks in the .xml version of the library file.  Use the .xml version to generate a new previous library with the changed information.  You will still lose some information because the .xml does not 100% duplicate information stored in the .itl file and only iTunes can open that.  If there is absolutely mission-critical information, using Applescripts you can try storing it in some non-standard location such as the comment field, then try to re-create things.  E.g. Make a playlist with all your 5-star ratings files, copy the playlist over to the new library, then use that playlist as a basis for assigning 5 stars to all the items in playlist in the new library.

Similar Messages

  • Relocating a non-standard library with Applescript

    Hello everyone,
    I have been using an ibook for a while now and consequently had my entire 10,000 song library on an external firewire harddrive. Until now...
    Just purchased a new iMac with a nice big 500gb internal harddrive.
    I'd like to relocate the entire library to the new internal harddrive. Although most of my library is structured the way iTunes does it (artists/album folders), about 1000 or so random songs are in other folders. (I only keep complete albums in folders using the "iTunes way") Therefore the iTunes-provided "Consolidate Library" feature will not help me. I want to keep my own structure.
    Through searching the internet, I've found this link that appears to be the solution I'm looking for. http://www.xs4all.nl/~smulleke/2004/06/10/index.html#post200406101029
    However before I do this, the article does make mention of Applescript being able to help my in my cause.
    Are there Applescripts that will ease the process of relocating a non-standard library structure? Or should I go ahead and try this.
    Also, has anyone had any success in a similar situation?
    Thanks.

    Well, you could create your own presets, but that's an awful lot of work. The smart brush is just using gradient map adjustment layers, so you could get the same effect by selecting what you want,  choosing a gradient, and then creating a new gradient adjustment layer. But me, I'd just do a hue/saturation adjustment layer or plain layer in color mode instead.

  • How To: Use FCPX to create iPhone Portrait Movies (and other non-standard formats)

    Goal: Use Final Cut Pro X 10.0.7 to produce a 640x1136 video (iPhone 5 Portrait). You can use these same steps to produce virtually any dimensions you want. My example is for the iPhone 5, in Portrait mode.
    This information is available in various places, but you have to realy work to find it, so I thought I'd post a step-by-step guide here.
    By the way, you might think you could just create a FCPX Project with your desired dimensions, but you can't (at least with 10.0.7). Projects only support certainly dimensions. But there are other ways, as the rest of this post describes:
    1) Create an initial movie with the desired dimensions, to serve as a template. We'll call it "Template.mov". The only thing that matters is the dimensions. It can be in any codec FCPX understands, and virtually any length.
    I'm using a 2 second video shot on my iPhone for the template. You could also create a blank image (.png, whatever) with the proper dimensions, copy and paste it into a new Quick Time Pro 7 window, and Export it using custom settings. There's lots of different ways to do this.
    2) Drop Template.mov into a FCPX event.
    3) Select Template.mov in the Event browser, and select File->Duplicate (or command-D). You probably could just edit "Template.mov", but it's a good idea to save it for reuse.
    3) Change the name of the copied video. I'm using "iPhone Video".
    4) Right-click "iPhone Video" and select "Open in Timeline".
    5) If you made the Template video from a still image, you may need to change the duration (ctrl+D). You don't have to make it very long, but it needs to be longer than 1 frame. A few seconds should be enough.
    6) Use this timeline like you'd use a project's timeline. Drop in new content, trim, transition, etc. There may be things you can't do in it, but I haven't found any yet. I'm guessing Chapters may not work, but I haven't tried them.
    7) Note that when you drop new content into the timeline, it may size funny. That's because the default setting for "Spacial Conform" is "Fit". Simply select the newly-dropped content, and in the Video settings inspector, scroll down to "Spacial Conform" and change it. You could use "Fill", which fills the frame vertically, or "None", which uses the source's original height. Then crop/transform/whatever to get what you want.
    8) When you're ready to render, select "iPhone Video" in the Event browser, then use the "Share" button. You want to use the "Export File" destination, which you may have to add. Pick your codec, and let 'er rip.
    9) When the rendering is done, you should have a video in your desired dimensions.
    That's all there is to it. Hope this helps someone.
    Dan
    PS: Don't ask why someone would want to create an iPod video using FCPX. The point is that you may need to create a video with non-standard  dimensions at some point in time, and this is how to do it.
    PPS: Most of this information came from http://library.creativecow.net/articles/payton_t/FCPX_Custom-Resolution-Timeline s/video-tutorial. I just wrote it down, while I tried to do what the video suggested.

    Instructions for using QuickTime Pro 7 to create a template video with unusual dimensions.
    I suspect that anyone savy enough to be using FCPX has probably already figured out how to do this, either using my technique or another, so there probably isn't a real need for me to post this. For that matter, I may be the only person who cares about this at all. However, while I was trying to learn how to do all of this, I would have really appreciated having all the information in one place, so here goes.
    If you want to create a video with unusual dimensions (like 640x1136) using my steps above, you'll need a "template" video first. Here's an easy way to create one, using any image editor, and QuickTime Pro 7.
    1) Open QuickTime Pro 7 (QTP for short).
    2) From the menu, select File->New Player. You'll get a window with just the bottom portion of the player, i.e. the playback controls.
    3) Using an image editor, create a still image in the desired dimensions. You can use any image editor. It doesn't matter what the image contains (although it will end up showing as a thumbnail in FCPX).
    4) Copy the image to the clipboard.
    5) Switch back to QTP, and paste the image into the new player. Don't worry that there isn't a video window showing - just paste it into the window that has only playback controls. As soon as you do, the video window appears.
    6) Advance to the end of the movie (the short, 1-frame movie), then hold down Command+V (paste) and keep holding it down to paste multiple images in. Watch the time advance. You could, if you want, just hold down Command+V until you get the length you want. But if you want a long video, there's an easier way:
    7) When you reach a few seconds (or whatever duration your patience allows), select all (Command+A) and copy (Command+C). Then hold down Command+V to keep pasting in the longer clips. Wait until you reach a longer duration, then repeat the process. So, for example, 1 second, then 10 seconds, then 1 minute, then 10 minutes, then 1 hour. Or whatever you want.
    8) Save the video however you want. I usually use File->Export with H.264, with Quality set to "Least". Just make sure you don't let it change the dimensions. If you resized the player window, depending on which "save" or "export" method you've chosen, it might default to the resized dimensions, so double check that to make sure.
    That's it. You now have a template video you can use with my previous post(s).
    Dan

  • Using non-standard sshd port after 10.8 upgrade

    After spending hours tracking down this solution as a result of losing my ssh settings after the upgrade to Mountain Lion, I thought it might be useful to post the steps taken to restore the configuration I used with Snow Leopard.
    Changing the sshd default listening port
    Disclaimer: This tutorial is specific to Mountain Lion (OS X 10.8). I was able to accomplish this using Snow Leopard (OS X 10.6) in fewer steps, but upgrading required this more involved solution. 
    Steps:
    1.) You must first enable the root user account in order to change the relevant files. This can be done from the terminal, or by going to System Preferences --> Users & Groups. Once there, click on 'Login Options' at the bottom of the Current User list, and 'Join' where it says 'Network Account Server'.
    This will bring up a smaller window. Click on 'Open Directory Utility' at the bottom. You will be prompted for your admin password. Now go to the 'Edit' tab at the top of the screen and toggle down to 'Enable Root User'.  You will be prompted to enter your admin password twice.
    2.) Log out of your regular user account. At the log in screen you will now see an additional entry for 'other'. Click on that and log in with the username 'root' and your admin password. If are inexperienced as a root-level user, be careful as you can cause problems to your system can be difficult to undo.
    Once in your root account, the first step is to create a new 'service definition' in the etc/services file. Open the file with text editor of choice and scroll to the current entry for sshd listening port, which will look like this:
    ssh    22/udp    # SSH Remote Login Protocol
    ssh    22/tcp     # SSH Remote Login Protocol
    Overwrite the '22' with the port number you would like sshd to listen on:
    ssh    12345/udp   # SSH Remote Login Protocol
    ssh    12345/tcp    # SSH Remote Login Protocol
    *12345 being our hypothetical, non-standard port.
    It is important to note that the new port number will not take by simply adding a new uncommented line to the file (I tried), unless of course you comment the original ssh entries. Easiest way is just to overwrite what is there already. Save changes.
    3.) You now need to edit the ssh.plist file, which is located at /System/Library/LaunchDaemons/ssh.plist. A word to those familiar with Linux/BSD environments: changing the default port in the sshd_config file, which exists in OS X, does NOT change the listening port. Simply changing the default port, saving the config file, and restarting the server (the sensible way) won't work. The OS X sshd server (openssh) is configured to get launch instructions from the ssh.plist file, as opposed to sshd_config. If you are more interested in this aspect of OS X, read up on LaunchDaemons (e.g. launchd).
    Before altering the ssh.plist file, you should save a backup copy in case of mistakes, or if you need to revert back to it in the future. Name your backup file something like original.ssh.plist, etc.
    In the ssh.plist file, locate the SocksServiceName entry and change it from the default:
    <key>SockServiceName</key>
    <string>ssh</string>
    To the following:
    <key>SockServiceName</key>
    <string>$alternate port number</string>
    In our example from above this value would be 12345.
    4.) Save your changes, and exit ssh.plist. You now need to move the backup file you created (original.ssh.plist) out of the System/Library/LaunchDaemons path.
    The updated sshd port will not take until you have only one ssh.plist file in the LaunchDaemons directory - this has to do with how launchd is configured to load files which is outside the scope of the current discussion.  (*If you've found a way around this, please share.) 
    5.) Restart the sshd server. Easiest way to accomplish this is going to System Preferences --> Sharing and clicking off 'Remote Login', then clicking back on it. 
    6.) Test the configuration by logging into the machine running the sshd server from another host using:
    ssh username@ipaddress -p 12345
    There are a few good tutorials out there that capture some of these steps, but many are dated and/or incomplete. If you are running a standard setup of OS X 10.8, this should work for you.
    Of course, don't be fooled into thinking that changing the default listening port from the ubiquitously-probed 22 equates to actual security. At best, it will cut down on the number of dubious connection attempts and probing.

    Hi all, above helped me change the sshd port number, thank you very much.
    Just upgraded to OS X 10.9.3 on my macbook pro.
    My findings were:
    Step 1(become a root user or sudo)
    Step 2 (/etc/services)
    This may not be required unless you want ssh to work without the "-p XXXX" option to connect to other ssh hosts.  I favor such as "ssh -p 2222 user@hostname" just to be sure I know what I am doing and also to leave ssh known port as its default "22".
    Step 3 (/System/Library/LaunchDaemons/ssh.plist)
    This is required if you want to change the sshd port number, I changed both "ssh" to "2222" in this file.
    Step 4 (launchctl)
    Below is a must as I understood:
    launchctl unload /System/Library/LaunchDaemons/ssh.plist
    launchctl load /System/Library/LaunchDaemons/ssh.plist
    it should be already working with the new port number.
    You can "ssh -p 2222 user@localhost" in the console terminal and see if its working.
    Since I am no expert on MacOS X, and it is a macbook pro that I am using, I also rebooted the system and changes were reflected permanantly.
    Thank you guys!

  • Non-standard configuration macbook Pro in Apple Store

    After a few weeks I'll be in a tourist trip in Hong Kong. And I want to buy a macbook pro 13' non-standard configuration (i7 256gb 16gb RAM). All configurations are sold at the apple store? If not, can I have something to pre-book macbook and pick up on arrival? Or to apple brought him to the hotel?
    (через несколько недель я буду в туристической поездке в гонк конге. И я хочу купить macbook pro 13' нестандартной комплектации (i7 256gb 16gb RAM). Все ли configurations продаются в apple store? Если нет, то смогу ли я как нибудь заранее заказать macbook и забрать по приезду? Или чтобы apple доставили его в hotel?)

    I had to open my Macbook to change hard drives today. I used one of these guides. http://eshop.macsales.com/installvideos/
    While I had it open I thought of cleaning the dust. I used a dust blower and a vaccum but I could see the fan was still dirty. I deciced to remove it. It was just 3 screws, I didn't disconnect any wires, just moved it to the side. There I saw 1/4 inch thick dust on the grill that separates the fan from the external. Looked something like this
    Dust sticks on the grill like lint on a dryer and there is no way to remove it without removing the fan. Now that it's clean I can't hear the fan anymore unless I put my ear on the keyboard, plus it doesn't have to run all the time because when it runs it's much more effective.

  • Non standard Year member in Planning Years dimension

    We have a non standard (to Planning) member of the Years dimension called 'No Year'. In order to add it initially, I had to go to the back end of Planning (HSP_OBJECT and HSP_UNIQUE_NAMES tables) and modify the members there. This was in version 9. The order of the Years members was then FY95 through FY14, then came No Year, then FY15. This worked for our start and end years within Planning, as our start year was FY09 and our end year was No Year, which allowed us to Plan through FY14 and also entered non-year specific data to No Year on forms. It also allowed us to omit 'No Year' from our scripts using a range of years FY09:FY14 (using substitution variables). Now that the year has rolled over (and, incidentally, we've upgraded to version 11), and our Planning years are FY10 through FY15, I would like to move No Year to be after FY15. However, I don't seem to be able to do that by updating the underlying tables above. I make the changes to the two tables, but it is not reflected in Planning (they display in the same order), and if I try to edit either of the two members in Planning (No Year or FY15), it gives me an error saying the member already exists. Does anyone know how I can accomplish moving the No Year member? I need to do it not only this year, but to have a process my client can follow each year, moving that member in the outline to be directly after the last Planning year.
    Thanks,
    Sabrina

    If you want to go about hacking the tables and changing the order of 'No Year'.
    If you run the following SQL against your planning application
    select * from hsp_object where object_type = 38
    You will see the position column and will have values like 1000000 = First place, 1000010 = Second Place and so on.
    To alter the position then you need to note down the position value of 'No Year' and 'FY15'
    update hsp_object set position = '1000070'
    where object_type = 38 and object_name='No Year'
    update hsp_object set position = '1000080'
    where object_type = 38 and object_name='FY14'
    Restart planning. Now this is all done at your own risk and when you app goes boom don't blame me :)
    If 'No Year' was added in the correct way when you add year's it should always stay as the last position.
    Planning assigns object ids between set ranges, normal year values (FY..) are 50002 onwards
    No Year is out of that range e.g 50412
    When No Year is added correctly then planning will add a new to the normal range of values for year (last year value + 1) and then alters the position order
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Non-standard interfaces must be server-side before de-serializing?

    Classes which implement non-standard interfaces are a problem for de-serialization? In the below code SomeInterface is the problem. If the "SomeInterface.class" is not server-side when the de-serialization starts then the de-serialization can't happen? Please look at this test code:
    client
    public class Main {
      public static void main(String[] args) {
        try {
          Socket sok = new Socket("192.168.2.2", 1638);
          MyOOS moos = new MyOOS(sok.getOutputStream());
          moos.writeObject(new ClassA(222));
          try { Thread.sleep(3000); } catch(InterruptedException e) { }
          sok.close();
        } catch(Exception e) { e.printStackTrace() ; }
      private static byte[] getClassImage() throws Exception {
        InputStream in = new FileInputStream(new File("/dev/ClassA.class"));
        List<Byte> objClassImage = new ArrayList<Byte>();
        int b = in.read();
        while(b != -1) {
          objClassImage.add(Byte.valueOf((byte) b));
          b = in.read();
        byte[] classImage = new byte[objClassImage.size()];
        for(int i = 0; i < classImage.length; i++) {
          classImage[i] = ((Byte) objClassImage.get(i)).byteValue();
        in.close();
        return classImage;
            static class MyOOS extends ObjectOutputStream {
              MyOOS() throws Exception { super(); }
              MyOOS(OutputStream out) throws Exception { super(out); }
              protected void annotateClass(Class<?> cl) throws IOException {
                try {
                  byte[] classImage = getClassImage();
                  writeInt(classImage.length);
                  write(classImage);
                } catch(Exception e) { e.printStackTrace(); }
    // public class ClassA implements Serializable, SomeInterface  {  // <-- bad
    public class ClassA implements Serializable  { // <-- good
      int id;
      ClassA(int i) { id = i; }
      public void foo() {
        System.out.println("ClassA::foo--> id = " + id);
    public Interface SomeInterface { public void foo(); }
    server
    public class Hello {
      static MyClassLoader myLoader = new MyClassLoader();
      public static void main(String[] args) { new Hello().run(); }
      void run() {
        try {
          ServerSocket servSok = new ServerSocket(1638);
          Socket sok = servSok.accept();
          MyOIS mois = new MyOIS(sok.getInputStream());
          Object obj = (Object) mois.readObject();
          Method m = obj.getClass().getMethod("foo", null);
          m.invoke(obj, null);
        } catch (Exception e) { e.printStackTrace(); }
          static class MyClassLoader extends ClassLoader {
            byte[] classImage;
            // is this a normal way to program Java? Because I am unsure about how to handle the byte[] in
            // resolveClass(), I am jamming them in here. Would a good programmer do stuff like this?
            public Class<?> loadClass(String name, byte[] classImage) throws Exception {
              this.classImage = classImage;
              return loadClass(name);
            protected Class<?> findClass(String name) throws ClassNotFoundException {
              return defineClass(name, classImage, 0, classImage.length);
          static class MyOIS extends ObjectInputStream {
            private MyClassLoader myLoader = new MyClassLoader();
            MyOIS() throws IOException { super(); }
            MyOIS(InputStream in) throws IOException { super(in); }
            protected Class<?> resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException {
              try {
                int classImageSize = readInt();
                byte[] classImage = new byte[classImageSize];
                read(classImage);
                return myLoader.loadClass(desc.getName(), classImage);
              } catch (Exception e) { e.printStackTrace(); }
              return null;
    }If a serialized object implements an interface that is not already on the de-serializing jvm end, then serialization is not possible? Am I suppose to put the SomeInterface object on the server (somehow) before de-serializing an object that actually implements SomeInterface .
    I have heard of object graphs. So, would not the implemented interfaces be part of an object's object graph? Thanks.

    ejp wrote:
    I have no idea what any of that means, if anything, but RMI comes with a dynamic codebase facility if that's what you're looking for.I successfully moved an object with a non-standard pure abstract class to a remote jvm:
    client
    public class Main {
      public static void main(String[] args) {
        try {
          Socket sok = new Socket("192.168.2.2", 1638);
          MyOOS moos = new MyOOS(sok.getOutputStream());
          DataOutputStream dos = new DataOutputStream(sok.getOutputStream());
          byte[] classImage = getClassImage("/dev/PureAbstractClass.class");
          dos.writeInt(classImage.length);
          dos.write(classImage, 0, classImage.length);
          moos.writeObject(new ClassA(5));
          try { Thread.sleep(3000); } catch(InterruptedException e) { }
          sok.close();
        } catch(Exception e) { e.printStackTrace() ; }
      private static byte[] getClassImage(String path) throws Exception {
        InputStream in = new FileInputStream(new File(path));
        List<Byte> objClassImage = new ArrayList<Byte>();
        int b = in.read();
        while(b != -1) {
          objClassImage.add(Byte.valueOf((byte) b));
          b = in.read();
        byte[] classImage = new byte[objClassImage.size()];
        for(int i = 0; i < classImage.length; i++) {
          classImage[i] = ((Byte) objClassImage.get(i)).byteValue();
        in.close();
        return classImage;
            static class MyOOS extends ObjectOutputStream {
              MyOOS() throws Exception { super(); }
              MyOOS(OutputStream out) throws Exception { super(out); }
              protected void annotateClass(Class<?> cl) throws IOException {
                try {
                  byte[] classImage = getClassImage("/dev/ClassA.class");
                  writeInt(classImage.length);
                  write(classImage);
                } catch(Exception e) { e.printStackTrace(); }
    public abstract class PureAbstractClass {
      public abstract void foo();
      public abstract void bar();
    public class ClassA extends PureAbstractClass implements Serializable {
      int id;
      ClassA(int i) { id = i; }
      public void foo() { System.out.println("PureAbstractClass::ClassA::foo id = " + id); }
      public void bar() { System.out.println("PureAbstractClass::ClassA::bar id = " + id); }
    server
    public class Hello {
      static MyClassLoader myLoader = new MyClassLoader();
      public static void main(String[] args) { new Hello().run(); }
      void run() {
        try {
          ServerSocket servSok = new ServerSocket(1638);
          Socket sok = servSok.accept();
          MyOIS mois = new MyOIS(sok.getInputStream());
          DataInputStream dis = new DataInputStream(sok.getInputStream());
          int classImageSize = dis.readInt();
          byte[] classImage = new byte[classImageSize];
          dis.read(classImage, 0, classImageSize);
          myLoader.myDefineClass("PureAbstractClass", classImage, 0, classImage.length);
          Object obj = (Object) mois.readObject();
          Method m = obj.getClass().getMethod("bar", null);
          m.invoke(obj, null);
        } catch (Exception e) { e.printStackTrace(); }
            static class MyClassLoader extends ClassLoader {
              byte[] classImage;
              public Class<?> loadClass(String name, byte[] classImage) throws Exception {
                this.classImage = classImage;
                return loadClass(name);
              protected Class<?> findClass(String name) throws ClassNotFoundException {
                return defineClass(name, classImage, 0, classImage.length);
              public Class<?> myDefineClass(String name, byte[] classImage, int x, int y) {
                return defineClass(name, classImage, x, y);
            static class MyOIS extends ObjectInputStream {
              MyOIS() throws IOException { super(); }
              MyOIS(InputStream in) throws IOException { super(in); }
              protected Class<?> resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException {
                try {
                  int classImageSize = readInt();
                  byte[] classImage = new byte[classImageSize];
                  read(classImage);
                  return myLoader.loadClass(desc.getName(), classImage);
                } catch (Exception e) { e.printStackTrace(); }
                return null;
    }I hope this relates to understanding RMI. Moving objects that extend non-standard classes and implementing non-standard interfaces is not easy. Or, maybe there is an easier way. Anyway, thanks ejp. Yesterday I was extremely confused. Now, I am just a little confused but think I have basic understanding. I feel big progress was made.

  • Kvirc from SVN {NON-Standard-Install-Method} and Overcoming 2 Problems

    Hello, everyone.  Firefishe here.
    There are certain programs I like to compile from source code, outside of the normal arch hierarchy of PKGBUILD's.  One such program is the Internet Relay Chat client, "KVIRC".
    I've been using kvirc for years, and I like to keep it as up-to-date as possible, just like Arch!
    This is why I like to use the svn version, so I can update it quickly and uniformly.  I like--as a user--to contribute back to the project.  (I had one of my bug reports translated into an instant commit by the main project author, himself, once.  That made me feel quite good, so it really does help to do a few things like this now and again.
    Okay, on to the main topic.
    I'm writing this to alleviate a nagging problem that had been plaguing me for months in 2013.  Qt5 just wasn't compiling kvirc very well back then.  The fact is, the echoing strains of "qt5 is broken in kvirc" from the #kvirc channel on Freenode, resounded soundly throughout that entire year.  Qt5 was still a bit buggy, and not all the libraries (32bit or 64bit) were quite finished.
    Move forward to (now) July, 2014!  I have now compiled kvirc successfully on my 64bit (with 32bit multilib installation) laptop, and kvirc is purring away with a current svn build of kvirc.
    However, I ran into some issues, which I would like to share with you, below:
    I usually go about compiling kvirc from svn like this: (I usually start from my /home/userNameHere directory.)
    {arch@homedir}$ svn co https://svn.kvirc.de/svn/trunk/kvirc
    {arch@homedir}$ cd kvirc
    {arch@homedir}$ mkdir release
    {arch@homedir}$ cd release
    {arch@homedir}$ ccmake ..
    [At this point, the 'ccmake ..' command invokes cmake-gui, an ncurses-like graphical user interface, with a list of menu items pertaining to various libraries and flags that can be set.  cmake-gui makes selecting these flags and libraries quite easy, and also gives a clear indication of what directories may not have been found (which will be discussed a bit later.) ]
    Press the 'C' Letter Key -- (This runs the Configure Routine.  I sometimes do this twice, just to be sure it configured properly. I've had it miss a few times for unknown reasons.)
    Press the 'G' Letter Key -- This 'Generates' Cmake files.
    After the 'G' command, the system takes you back to the command prompt.
    {arch@homedir}$ make ***WAIT A WHILE, COULD TAKE A BIT LONGER ON SLOWER SYSTEMS!***
    {arch@homedir}$ sudo make install  (Or 'su -' to root, then do 'make install'; your preference.  I prefer using sudo.)
    {arch@homedir}$ sudo ldconfig  (Or 'ldconfig' if still at root prompt #)
    {arch@homedir}$ kvirc (or 'kvirc &' if you don't want the terminal window to hold onto the process.)
    Kvirc should run at this point, but I ran into a couple of problems.  Once during the ccmake configuration (which prevented ccmake from configuring), and at the end, which prevented kvirc from running.)
    The first had to do with two (2) packages that were not installed.  The were, as follows:
    qt5-webkit
    qt5-multimedia
    I installed those files, then did the  'ccmake ..' portion.   That ran fine, as well as the 'make' and 'sudo make install' and 'sudo ldconfig' parts.
    What didn't work was when I tried to run kvirc.  I got the following error:
    {arch@homedirc}$ kvirc
    kvirc: error while loading shared libraries: libkvilib.so.4: cannot open shared object file: No such file or directory
    I remember, back when kvirc was wanting Qt4, and not Qt5, that if I didn't do the first 'sudo ldconfig' command before trying to run kvirc, it would give something similar.  However, since this compile run was wanting Qt5, and not qt4, I was puzzled.
    Well, it turned out to be something quite simple.  This is a non-standard process of software installation on a new(er) arch system.  The 'uname -r' command on my system yields the following:  3.15.4-1-ARCH .  It is no surprise, then, that at this late date, Qt5 is complete (or at least more complete) than back in 2013 when I had the original problems, and had to select the 'WANTS-QT4' section during the 'ccmake ..' command.
    **** Building kvirc this way places the kvirc binary in /usr/local/bin, and a certain 'libkvilib.so.4' library in /usr/local/lib ****.
    This is to be expected from a standard source compile on most gnu/linux systems; and this *is* a standard compile, even though we're using the 'ccmake ..' command to do the preliminary configuration and cmakefile generation.)
    The problem is, is that Arch is looking for libkvilib.so.4 in /usr/lib, and not /usr/local/lib.  So the following was, for me, the solution that got everything squared away:
    I made a symlink in /usr/lib to /usr/local/lib/libkvilib.so.4, like this:
    {arch@homedir}$ cd /usr/lib
    {arch@homedir}$ sudo ln -s /usr/local/lib/libkvilib.so.4 libkvilib.so.4
    After doing this, I did:
    {arch@homedir}$ kvirc (or kvirc &)
    And It Ran Beautifully! :-)
    I hope you've enjoyed this HOWTO.  I know most people may just want to use the 4.2.x version of kvirc, currently residing safely in the standard repositories.  However, if you're like me, and want a bit of bleeding edge, Qt5 goodness with kvirc, I might suggest doing the above!
    I can be reached at firefishe At gmail DOT com if anyone has any questions.
    Last edited by Firefishe (2014-07-11 09:23:20)

    Hi Dareen,
    Looking at the information shared and also the error message ( Update Failed,Updates could not be applied.Please contact your Administrator if you wish to apply updates on your machine. Updates have been suppressed by the Administrator.If the problems persist, contact customer support for further assistance" ),
    It suggests that the updates were to be managed by the Admin only. Lets try the following step and suggest if this was able to resolve the concern that you have or not.
    1) Navigate to C:\Program Files (x86)\Common Files\Adobe\AAMUpdaterInventory\1.0 and you will find a .dat file ( AdobeUpdaterAdminPrefs.dat).
    2) Please open the file in question and you will find a line item : <Suppressed>1</Suppressed> .
    3) Please change the Value from 1 to 0 and save the file back in the same location.
    post the above step, try the installation once again and share the end result please.
    Cheers,
    Kartikay Sharma

  • Java legal stuff-  modifications to the standard library

    I have been programming with Java for about a few months now. I find Java to be a wonderful language. Now I am wondering am I allowed to make a modification to the standard library and use that modification in my programs? Refering to Sun Java SDK. I am just wondering.

    Thank you for the code, never tought about usign reflection. I tend to stay away from reflection as much as I can. Btw: very nicely done.
    We have a really silly task to in Java as part of the lab excersizes for the lessons in programming. We have to make a program that simulates the motion of balls in a panel, the trick is that the balls ofcourse bounce off the enges of the panel but they also collide and bounce of each other. Ok, no problem, soo I did the task with just one Timer. It workd very well. But the assistant didnt accept my solution. Since it was written in the description of the excersize that each ball must be moved by a thread. How stupid is that! Soo I didnt have any good idea on how to achive that. But I do think that a Barrier is the best way to go in this unfortunate circumastance. If you have a better idea please I will be very interested. I mean what I do is I create a barrier and then each ball has
    while(true){
    move()
    barrier.await()
    in the run method. That means each out of n balls will move and then wait. When all the balls will move then I will do collision detection, redraw the panel and pause the frame for about 30 ms thus achivieng the illusion of having about 30 fps and then repeting the process. Soo the Barrier pattern I think should do good in this case. Well I have just been programming for a few months in Java soo I really can only speculate. Now the tricky part is that what if I add a new ball? What I want is simply to increment the nr of parties that the barrier has to n + 1. That will not cause any problems. If I were to decrement there might be some problems. But I dont want to create a new CyclicBarrier everytime a new Ball is created. Soo one way I think might work is to get the source of the CyclicBarrier and add an incrementParties method. Again I am a very inexperienced java beginner soo ....

  • G5 Second Display using the GeForce FX 5200 - Non-Standard

    I have a Dual 1.8 GHz PowerPC G5 Macintosh.
    The display adapter installed is as follows:
    GeForce FX 5200:
    Chipset Model: GeForce FX 5200
    Type: Display
    Bus: AGP
    Slot: SLOT-1
    VRAM (Total): 64 MB
    Vendor: nVIDIA (0x10de)
    Device ID: 0x0321
    Revision ID: 0x00a2
    ROM Revision: 2060
    Displays:
    VX2235wm-3:
    Resolution: 1680 x 1050 @ 60 Hz
    Depth: 32-bit Color
    Core Image: Supported
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    Display:
    Status: No display connected
    I want to attach a second display to my machine, but the second plug on the card is a non-standard DVI-type connector. It looks like this:
    x x x x x x x x x x X X
    x x x x x x x x x x -----
    x x x x x x x x x x X X
    ...with 10 rows of 3 as opposed to 8.
    I have had trouble finding an adapter to use to convert this to VGA (which is what I meed to connect my second monitor). I've searched the Apple Store online to no avail, as well as Google. Perhaps I've had no luck because I don't know the name of this part.
    Any help is much appreciated!
    ~Rob Blaze

    Hello! Does the port look like the one below? If so you'll need an adapter. Tom
    Actually, HERE is the page i was looking for that shows and describes all dvi connections.
    Apple ADC Connector
    [IMG]http://img300.imageshack.us/img300/9497/appleadcconnectorve2.jpg[/IMG]
    Message was edited by: Thomas Bryant

  • How to use a standard library binary search if I'm not searching for a key?

    Hi all,
    I'm looking for the tidiest way to code something with maximum use of the standard libraries. I have a sorted set of ints that represent quality levels (let's call the set qualSet ). I want to find the maximum quality level (choosing only from those within qualSet ) for a limited budget. I have a method isAffordable(int) that returns boolean. So one way to find the highest affordable quality is to start at the lowest quality level, iterate through qualSet (it is sorted), and wait until the first time that isAffordable returns false. eg.
    int i=-1;
    for (int qual : qualSet) {
         if !(isAffordable(qual))
              return i;
         i++;
    }However isAffordable is a slightly complicated fn, so I'd like to use a binary search to make the process more efficient. I don't want to write the code for a binary search as that is something that should be reused, ideally from the standard libraries. So my question is what's the best way of reusing standard library code in this situation so as to not write my own binary search?
    I have a solution, but I don't find it very elegant. Here are the important classes and objects.
    //simple wrapper for an int representing quality level
    class QualityElement implements Comparable<QualityElement>
    //element to use to search for highest quality
    class HiQualFinderEl extends QualityElement {
         HiQualFinderEl(ComponentList cl) {...}
    //class that contains fair amount of data and isAffordable method
    class ComponentList {
         boolean isAffordable(int qual) {...}
    //sorted set of QualityElements
    TreeSet<QualityElement> qualSet When you create an instance of HiQualFinderEl, you pass it a reference to a ComponentList (because it has the isAffordable() method). The HiQualFinderEl.compareTo() function returns 1 or -1 depending on whether the QualityElement being compared to is affordable or not. This approach means that the binary search returns an appropriate insertion point within the list (it will never act as if it found the key).
    I don't like this because semantically the HiQualFinderEl is not really an element of the list, it's certainly not a QualityElement (but it inherits from it), and it just feels ugly! Any clever suggestions? Btw, I'm new to Java, old to C++.
    If this is unclear pls ask,
    Andy

    Thanks Peter for the reply
    Peter__Lawrey wrote:
    you are not looking for a standard binary searchI'm not using a binary search in the very common I'm searching for a particular key sense, which is the Collections.binarySearch sense. But binary searches are used in other situations as well. In this case I'm finding a local maximum of a function, I could also be solving f(x)=0... is there a nice generic way to handle other uses of binary search that anyone knows of?
    I would just copy the code from Collections.binarySearch and modify itI have this thing about reusing; just can't bring myself to do that :)
    It would be quicker and more efficient than trying to shoe horn a solution which expects a trinary result.Not sure I understand the last bit. Are you referring to my bastardised compareTo method with only two results? If so, I know, it is ugly! I don't see how it could be less efficient though???
    Thanks,
    Andy

  • I moved my entire iPhoto Library to an external hard drive, which seems to have worked. But now my Mac Pro shows a backup of the same size in the storage info and has not freed up any space. help!

    I moved my entire Iphoto Library from my Macbook Pro to an external hard drive. (Prior to this, I also copied the entire library to a different ehd, plus I have 2 other ehdrives with backups). I was trying to get more space on my hd. It has a capacity of 500GB, but was down to 70GB usable, with about 300GB used up by photos. I moved the library by going to Finder, using Command+Drag+Drop onto the new Seagate ext hard drive icon. The move seems to have worked, as the library shows up on the ehd, plus will open from there. My problem is that now my Macbook Pro shows that I STILL have only 70GB available out of the 500, and that 300GB is used up by "Backups", which it did not indicate before.
    I cannot find this 300GB "Backup" in the Finder, only in the Storage info when I check "About This Mac".
    I have restarted my computer, but the information remains the same. How do I reclaim the use of the 300GB? Why is it showing up as "Backups" when it used to indicate "Photos"? Are my photos safe on the external drive?
    Thanks for any and all help!

    I cannot find this 300GB "Backup" in the Finder, only in the Storage info when I check "About This Mac".
    You are probably using Time Machine to backup your MacBook Pro, right? Then the additional 300 GB could be local Time Machine snapshots.  Time Machine will write the hourly backups to the free space on your hard disk, if the backup drive is temporarily not connected. You do not see these local backups in the Finder, and MacOS will delete them, when you make a regular backup to Time Machine, or when you need the space for other data.
    See Pondini's page for more explanation:   What are Local Snapshots?   http://pondini.org/TM/FAQ.html
    I have restarted my computer, but the information remains the same. How do I reclaim the use of the 300GB? Why is it showing up as "Backups" when it used to indicate "Photos"? Are my photos safe on the external drive?
    You have tested the library on the external drive, and so your photos are save there.  
    The local TimeMachine snapshot probably now contains a backup of the moved library.  Try, if connecting your Time Machine drive will reduce the size of your local Time Machine snapshots.

  • Problem with HP-UX extended procedures that use C++ Standard library

    I am experiencing a problem with using the C++ standard library on HP-UX inside my extended procedures.
    Here is the definition for the library and procedures:
    -bash-3.2$ more nuhash2.sql
    CREATE OR REPLACE LIBRARY xp_nuencryption_l
    AS
    '/home/jchamber/datasecure/lib/libxp_nuencryption.sl';
    CREATE OR REPLACE PACKAGE xp_nuencryption
    AS
    PROCEDURE xp_nuhash2;
    END xp_nuencryption;
    CREATE OR REPLACE PACKAGE BODY xp_nuencryption
    IS
    PROCEDURE xp_nuhash2
    IS EXTERNAL
    LIBRARY xp_nuencryption_l
    NAME "xp_nuhash2"
    LANGUAGE C;
    END xp_nuencryption;
    Here is the PL/SQL test program:
    -bash-3.2$ more testnuhash2.sql
    SET SERVEROUTPUT ON SIZE 1000000
    DECLARE
    BEGIN
    xp_nuencryption.xp_nuhash2 ();
    END;
    Here is the implementation of the extended procudure - notice how we are using the C++ Standard library:
    -bash-3.2$ more xp_nuhash2.cpp
    #include <string.h>
    #include <iostream>
    #include <fstream>
    class MyException {
    public:
    MyException() {}
    int func(std::ofstream& fout )
    fout << "func: About to throw exception in func()" << std::endl;
    throw MyException();
    extern "C"
    void xp_nuhash2 ()
    std::ofstream fout("/home/jchamber/xp_nuhash2.txt");
    try {
    fout << "xp_nuhash2: About to call func()" << std::endl;
    func(fout);
    catch (MyException& ex) {
    fout << "xp_nuhash2: caught MyException" << std::endl;
    fout << std::flush;
    fout.close();
    Here is how we build the library on HP-UX:
    # compile
    aCC -g -AA DA2.0W DS2.0 +z -c xp_nuhash2.cpp -o xp_nuhash.o
    #link using aCC
    aCC -g -AA DA2.0W DS2.0 +z -b -o /home/jchamber/datasecure/lib/libxp_nuencryption.sl xp_nuhash.o \
    /usr/lib/pa20_64/libstd_v2.a \
    /usr/lib/pa20_64/libCsup_v2.a
    chatr +dbg enable /home/jchamber/datasecure/lib/libxp_nuencryption.sl
    Here is how we test:
    SQL> @nuhash2
    Library created.
    Package created.
    Package body created.
    SQL> @testnuhash2
    DECLARE
    ERROR at line 1:
    ORA-28576: lost RPC connection to external procedure agent
    ORA-06512: at "JCHAMBER.XP_NUENCRYPTION", line 0
    ORA-06512: at line 3
    Now, if i use classic C++ (aCC -AP) it works. The trouble is, we have a lot of code that uses the Standard C++ library and we don't have the time to port it back to classic C++.
    The problem seems to be with an incompatibility with the standard C++ library. What is the magic potion of linker and/or compiler switches that would enable my extended procedures to use the standard C++ library?
    Here is the environment we are using:
    Oracle 9i (64-bit)
    HP UX 11.11
    Regards

    I am experiencing a problem with using the C++ standard library on HP-UX inside my extended procedures.
    Here is the definition for the library and procedures:
    -bash-3.2$ more nuhash2.sql
    CREATE OR REPLACE LIBRARY xp_nuencryption_l
    AS
    '/home/jchamber/datasecure/lib/libxp_nuencryption.sl';
    CREATE OR REPLACE PACKAGE xp_nuencryption
    AS
    PROCEDURE xp_nuhash2;
    END xp_nuencryption;
    CREATE OR REPLACE PACKAGE BODY xp_nuencryption
    IS
    PROCEDURE xp_nuhash2
    IS EXTERNAL
    LIBRARY xp_nuencryption_l
    NAME "xp_nuhash2"
    LANGUAGE C;
    END xp_nuencryption;
    Here is the PL/SQL test program:
    -bash-3.2$ more testnuhash2.sql
    SET SERVEROUTPUT ON SIZE 1000000
    DECLARE
    BEGIN
    xp_nuencryption.xp_nuhash2 ();
    END;
    Here is the implementation of the extended procudure - notice how we are using the C++ Standard library:
    -bash-3.2$ more xp_nuhash2.cpp
    #include <string.h>
    #include <iostream>
    #include <fstream>
    class MyException {
    public:
    MyException() {}
    int func(std::ofstream& fout )
    fout << "func: About to throw exception in func()" << std::endl;
    throw MyException();
    extern "C"
    void xp_nuhash2 ()
    std::ofstream fout("/home/jchamber/xp_nuhash2.txt");
    try {
    fout << "xp_nuhash2: About to call func()" << std::endl;
    func(fout);
    catch (MyException& ex) {
    fout << "xp_nuhash2: caught MyException" << std::endl;
    fout << std::flush;
    fout.close();
    Here is how we build the library on HP-UX:
    # compile
    aCC -g -AA DA2.0W DS2.0 +z -c xp_nuhash2.cpp -o xp_nuhash.o
    #link using aCC
    aCC -g -AA DA2.0W DS2.0 +z -b -o /home/jchamber/datasecure/lib/libxp_nuencryption.sl xp_nuhash.o \
    /usr/lib/pa20_64/libstd_v2.a \
    /usr/lib/pa20_64/libCsup_v2.a
    chatr +dbg enable /home/jchamber/datasecure/lib/libxp_nuencryption.sl
    Here is how we test:
    SQL> @nuhash2
    Library created.
    Package created.
    Package body created.
    SQL> @testnuhash2
    DECLARE
    ERROR at line 1:
    ORA-28576: lost RPC connection to external procedure agent
    ORA-06512: at "JCHAMBER.XP_NUENCRYPTION", line 0
    ORA-06512: at line 3
    Now, if i use classic C++ (aCC -AP) it works. The trouble is, we have a lot of code that uses the Standard C++ library and we don't have the time to port it back to classic C++.
    The problem seems to be with an incompatibility with the standard C++ library. What is the magic potion of linker and/or compiler switches that would enable my extended procedures to use the standard C++ library?
    Here is the environment we are using:
    Oracle 9i (64-bit)
    HP UX 11.11
    Regards

  • Moving an entire iTunes library from PC to Mac

    My Dell Inspiron is basically shot right now and I have to move my ENTIRE iTunes library (literally everything; music, music videos, podcasts, and apps for iOS devices) from it to my sister's MacBook Pro before the Dell is completely dead. My music is already on an external drive, but I think everything else (music videos, podcasts, and apps) is on the main hard drive, which I am planning to move to the external drive. I don't want to lose the data on my apps (such as game high scores and saved to-do lists). I don't want to have to restore and re-sync my iDevice as it takes a very long time. I also don't want to lose minor song information such as year, composer, genre, track number, and album artwork. Basically, I want my iTunes library on the MacBook Pro to be exactly like the one I had on the Dell.
    How do I go about moving my entire iTunes library with everything intact as smoothly as possible with little or no problems from PC to Mac?

    It's important that you copy the xml file inside the iTunes folder on Windows (Documents / Music) along with all your files. Then you have to transfer the iTunes folder into your Mac (usually is located inside the Music folder) and start iTunes. Inside iTunes pref make sure you select the right folder for your music. Another important thing is to have the same iTunes version on Windows and Mac when doing such operations. I hope that helps, bye

  • I moved my itunes media library to an external drive to free up 40gigs.  How do I recoup my 40gigs?

    I moved my iTunes media library to an external drive to free up 40gigs on my hard drive.  When I checked in about this Mac to see if the space was gained it now seems to be replaced by a category "backups".  How do I recoup my 40gigs?

    When you moved the iTunes data to the external HDD, I assume you deleted it from your MBP.  Backup are not to worry about.  Read this:
    http://support.apple.com/kb/PH14329
    They will be deleted when disk space is required.
    Ciao.
    In addition, read this Apple support article:
    http://support.apple.com/en-us/HT4878

Maybe you are looking for

  • Satellite 1900-303: saving on CD is not possible

    My 1900-303 doesnt let me save to CD. It appears to work then comes up with an error message asking me to "...change disk or update firmware..." I went to the Toshiba download pages and downloaded the firmware stuff and then extracted it and uploaded

  • Feature Requests for BlackBerry10 OS

    hi i want to know how i can get download your softwere because i having problem in my device actually show me this error bb 10-0015, i could not download the softwere please get me support,acctually i should say sorry because i live in iran.

  • Row not creating in the results table of search page,

    hi, i had created searchpage, and after giving the criteria ,after press the go button, its giving exception the row is not created oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row

  • SAAJ and namespace

    Hi, I am having a problem in running SAAJ client for Axis running on Tomcat. My SAAJ code is as follows; SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance(); SOAPConnection connection = soapConnectionFactory.createConnec

  • Why am I getting an error when I place two OAM files one after the other in different pages?

    Why am I getting an error when I place two OAM files one after the other in different pages? They do not load or play correctly.  They are both configured to play automatically with a .125 second delay and both have a white rectangle "poster" over fo