13 June 2013

Copying Songs from iTunes to a Sansa Clip

Unfortunately Windows Media player was having trouble syncing all my new songs under the iTunes folders, so I was wanting to sync directly from iTunes. However, there does not appear to be any way to do this only inside iTunes.

Here are the steps that I took to remedy my problem:
  1. Ensure all the files are MP3 and not AAC (You can convert them inside iTunes).
  2. Create an empty folder on your desktop.
  3. Drag the MP3 songs that you want from the Music Library to the new folder on your desktop
  4. Once all the songs you want are in that folder, Plug in your Sansa
  5. Now open up the Sansa in My Computer (should show up as a removable drive) and go into the Music directory
  6. Remove any songs you don't want
  7. Drag (or copy&paste) all the songs from your folder on the desktop to your Music directory on your Sansa

Hopefully, this helped you!

08 June 2013

Root and ROM LG Spectrum VS920ZV8


Since, I became tired of waiting on Verizon and LG to issue Jelly Bean for my Spectrum, I decided to take matters into my own hands.

Here is the series of steps that I followed.

Backed up my device before rooting:


 Rooted and installed CWM using this:
  • AndroidForums
  • Followed the above instructions to root and install CWM
  • Used google play to download and install ROM Manager by CLOCKWORKMOD
  • Used ROM Manager to install CWM 6.0.1.1 (not touch!) using Recovery Setup Option

Created a nandroid Backup:
  •  Used ROM Manager

 Downloaded my ROM and Google Apps:

Installed them:
  • Rebooted into Recovery
  • Wiped Data and Cache (factory reset)
  • Installed from SD Card (CM 10.1)
  • Installed from SD Card (Gapps)
  • Rebooted

Everything seems to be working great, but have yet to try bluetooth.

6/12/2013 Update: Bluetooth works!


06 May 2013

Convert Comma Delimited CSV to Pipe Delimited


Problem Statement

I have a comma delimited csv file that contained quoted strings that could contain commas and newlines. Unfortunately the program needed to process this file could not handle quoted strings, so it was treating commas as new fields and newlines as creating a new record.

Solution

I came up with the below code that uses awk to convert the csv to pipe delimited, replace the newlines with a space, and strip out the quotes. You can change the delimiter to anything, but since my data did not contain pipes, I used that.

Disclaimer

This does not handle escaped quotes, but since my data did not have any it works for me.

Code

awk -F"\"" '
     BEGIN{
          j=0; OFS="\"";
     }
     {
     if (NF%2==1 && j == 0){
          ORS="\n";
          for(i=1;i<=NF;i++){
               if(i%2){gsub(",","|",$i);}
          }
     }
     else if(NF%2==0 && j == 0){
          ORS=" ";
          for(i=1;i<=NF;i++){
               if(i%2){gsub(",","|",$i);}
          }
          j=1;
     }
     else if(NF%2==0 && j == 1){
          ORS="\n";
          for(i=1;i<=NF;i++){
               if(i+1%2){gsub(",","|",$i);}
          }
          j=0;
     }
     else if(NF%2==1 && j == 1){
          ORS=" ";
          for(i=1;i<=NF;i++){
               if(i+1%2){gsub(",","|",$i);}
          }
          j=1;
     }
     print $0;}
     ' file.csv | tr -d '"' > file.pipe

12 April 2013

Folding on a HD 7850

I have been folding for years, but I just recently found out that adding a couple configuration options have doubled my PPD on my HD7850.


Enable Core17 beta units. Add the two following gpu extra slot options:
  1.  First
    •  Name: client-type
    •  Value: beta
  2. Second
    • Name: extra-core-args
    • Value: -gpu-vendor=ati

I found out about the options on this forum post: http://www.overclock.net/t/1367557/core-17-beta-wu


This took my HD7850 from 6-7k PPD to 12-13k PPD!

This is using the 12.8 drivers. I am letting it stabilize before trying 13.3 Beta drivers, because I had problems folding on 13.1 drivers. I will update this post when I try the new drivers.


4/20/2013 Update: I installed the 13.3 Beta 3 drivers (including the new APP SDK) and my cpu usage went from ~25% to ~2%. I am also seeing about a 40 second reduction in TPF resulting in about 3k more PPD. I have also seen some Bad work units that lower my PPD.

5/3/2013 Update: Folding has put the beta units back into a closed beta and I am only seeing Core16 units. So to maximize my PPD, I have gone back to 12.8 drivers and AMD APP SDK 2.7.

 Process:
  • Disable Folding and make sure it does not restart automatically on reboot
  • Download 64bit DRIVERS or 32bit DRIVERS 
  • Download APP SDK 2.7
  • Uninstall all AMD software/drivers using control panel
  • Reboot
  • Use Driver Fusion to remove all remnants of the AMD drivers
  • Reboot
  • Install drivers using custom install and uncheck AMD APP SDK runtime
  • Install AMD APP SDK
  • Reboot
  • Restart Folding
5/7/2013 Update: They have released the Core17 work units again and now I am getting 18-20K PPD with them now.

6/14/2013 Update: With the release of the 8900 work units, I have moved to the 13.4 drivers and am now getting 28-30K PPD now.


11 March 2013

Darksiders and Thrustmaster Dual Power


So when trying to use my Thrustmaster Dual Power with Darksiders in Steam, it would just spin me in a circle.

After some googling I found XBOX 360 Controller Emulator.

I simply downloaded the App from: http://code.google.com/p/x360ce/downloads/list

I placed it in the Apps directory: "C:\Program Files (x86)\Steam\steamapps\common\Darksiders\"

Run it and it will ask you if it should create:
  1. xinput1_3.dll
  2. x360ce.ini
Allow it to create both.

I use the following configuration:
  • Left
    • Trigger: Button 6
    • Bumper: Button 5
    • Back: Button 9
    • Start: Button 10
    • D-Pad: DPad 1
    • Stick Axis X: Axis 1
    • Stick Axis Y: Inverted Axis 2
    • Stick Button: Button 11
  • Right
    • Trigger: Button 8
    • Bumper: Button 7
    • Y Button: Button 4
    • X Button: Button 2
    • B Button: Button 3
    • A Button: Button 1
    • Stick Axis X: Axis 6
    • Stick Axis Y: Inverted Slider1
    • Stick Button: Button 13


If it says that it cannot find msvcp110.dll, download and install the trial: http://www.microsoft.com/visualstudio/eng/downloads

Windows 8 ABIT IP35 Pro


When installing Windows 8 64bit on my IP35 Pro, everything worked out of the box except raid monitoring and I wanted the sound software. However, since ABIT is now out of business, I had to find them on the vendors website.

Intel Matrix Storage Console:
Realtek Sound Driver:
  • Realtek - 64bit Vista, Windows7, Windows8 Driver only (Executable file)

Hope this helps someone out there looking for it.


Update 2016-06-28:

Apparently Windows 8.1 update broke the Intel Raid utility. I was getting the following errors when trying to use it:
The Raid Plug in failed to load because the driver is not installed correctly
The serial ATA plug-in failed to load because the driver is not installed correctly
The solution was to simply install the updated utility. Intel

18 November 2012

Eliminating UAC prompt for individual programs


Here is how I was able to stop the annoying UAC prompt in Windows 7 everytime I started Fraps without disabling it completely.

  1. Download the Windows Compatibility Toolkit from: http://www.microsoft.com/en-us/download/details.aspx?id=7352
    • ApplicationCompatibilityToolkitSetup.exe
    • And install it
  2. Open the Compatibility Administrator (use 32 bit for 32 bit programs and 64 for 64)
  3.  Click the Fix Button which will bring up a wizard
    • Type the name of the program (eg. Fraps)
    • Click the browse button and select the program
    • Check the RunAsInvoker box and nothing else
    • Click Next twice and then Finish
  4. Click Save
    • Type in a name for the database, I used Fraps
    • Select a location/name for the save, I used the same directory as the program and fraps.sdb
  5. Exit Windows Compatibility Toolkit
  6. Start an elevated command prompt
    • Click the start button
    • Type: cmd
    • Right click on the cmd result and select "Run as administrator"
  7. Navigate to the directory you saved the sdb file to
  8. Type: sdbinst Fraps.sdb
  9. You should see the following result:
    • Installation of Fraps complete.
  10. All done! Enjoy your starting of the program without UAC prompts!

Source: http://pcsplace.com/windows-vista/how-to-turn-off-user-account-control-for-individual-programs-in-vista/