25 December 2013

Windows CD Rip to MP3


Windows CD Rip to MP3


As I bought my first cd in a long time thanks to Pandora :-) I needed to get some software to create MP3s out of it so that I could transfer them to my phone and audio players. iTunes would have been the obvious choice, but I do not use that so here is what I used.

I chose Exact Audio Copy: http://www.exactaudiocopy.de/
I also needed to download LAME from here: http://www.rarewares.org/mp3-lame-bundle.php

It worked like a charm.

23 December 2013

Review Sony Blu Ray Player BDP-BX110


Review of Sony Blu Ray Player BDP-BX110

Here is my review of the Sony Blu Ray Player BDP-BX110. The only difference between this model and the BDP-S1100 is the inclusion of a HDMI cable. Also similiar are the BDP-BX310 and BDP-S3100 which include Wi-Fi and the BDP-BX510 and BDP-S5100 which include 3D playback.

Pros:
  • I got it for $40 refurbished from Newegg (about the price of a new DVD player)
  • DVD playback is very quick to start
  • Blu Ray playback takes longer to start, but is still fairly fast
  • Internet apps include: Amazon Instant Video, Netflix, and Hulu Plus (among others)
  • Amazon Instant Video works well (don't have Netflix or Hulu Plus account to try) and is easy to navigate on the TV using the remote
  • Nice looking small enclosure
  • Only the power button lights up in a non-obtrusive white 

Cons:
  • Ethernet Only. I really wish I shelled out more cash for the Wi-Fi version ($78 on Amazon new)
  • Had to sign up for a Bravia account to use Amazon Instant Video - however, it easily allows you to sign up for a free account right through the Blu Ray player
  • Battery door on remote squeaks when pressing buttons for me (my wife does not have this problem)
  • Remote is not universal, but can turn on the TV and adjust the volume, it just does not allow you to scroll up and down through the channels

Other Thoughts:
  • Includes a quick start mode that increases the start up speed, but requires more power when "off" (I do not use this mode)
  • Did have to apply approximately 100MB of updates before the internet apps would work

16 October 2013

Installing perl in a User Directory


Here is the procedure that I went thru to add perl into a user directory:

  1. Setup the directories:
    • cd 
    • mkdir perl5 
    • mkdir perl5/bin 
    • mkdir perl5/lib 
    • mkdir perl5/man 
    • mkdir perl5/man/man1 
  2. Download the source (See this link for URLs: http://www.cpan.org/src/README.html)
    • wget http://www.cpan.org/src/5.0/perl-5.10.1.tar.gz 
  3. Unpack it
    • tar zxvf perl-5.10.1.tar.gz 
  4. Install it
    • cd perl\-5.10.1 
    • ./Configure -des -Dusethreads -Dprefix=$HOME/perl5
    • make test && make install 
  5. Configure PERL5LIB (add to .profile)
    • export PERL5LIB=$HOME/perl5:$HOME/perl5/site_perl 
  6. Install cpanm
    • $HOME/perl5/bin/cpan App::cpanminus 
  7. Install LWP
    • $HOME/perl5/bin/cpanm LWP 

Install XML::Parse and Expat:

  1. Download Expat: http://sourceforge.net/projects/expat/files/expat/
    • wget http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz/download 
  2. Compile Expat
    • tar -zxvf expat-2.1.0.tar.gz 
    • cd expat-2.1.0 
    • ./configure --prefix=$HOME/usr 
    • make 
    • make install 
  3. Install XML::Parser
    • cd 
    • perl5/bin/cpan 
    • o conf makepl_arg "EXPATLIBPATH=/prod/user/home/boz604/usr/lib EXPATINCPATH=/prod/user/home/boz604/usr/include" 
    • o conf commit 
    • install XML::Parser 
    • quit 

Install Net::SSLeay and OpenSSL and Zlib:

  1. Download OpenSSL
    • wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz 
  2. Compile OpenSSL
    • tar -zxvf openssl-1.0.1e.tar.gz 
    • cd openssl-1.0.1e 
    • ./config shared --prefix=$HOME/usr --openssldir=$HOME/usr/openssl
    • make 
    • make test && make install 
  3. Download Zlib
    • wget http://www.zlib.net/zlib-1.2.8.tar.gz 
  4. Compile Zlib
    • tar -zxvf zlib-1.2.8.tar.gz 
    • cd zlib-1.2.8 
    • ./configure --prefix=$HOME/usr 
    • make 
    • make test && make install 
  5. Install Net::SSLeay
    • cd 
    • OPENSSL_PREFIX=$HOME/usr perl5/bin/cpan Net::SSLeay 
  6. Install LWP::Protocol::https
    • cd 
    • perl5/bin/cpanm LWP::Protocol::https 

Here is how to set custom Include and Lib directories:

  •  In CPAN:
    • perl5/bin/cpan 
    • o conf makepl_arg "LIBS=-L$HOME/usr INC=-I$HOME/usr/include" 
    • o conf commit 
  • When running perl:
    • perl -I $HOME/perl5/lib/site_perl 
  • Inside your perl script
    • use lib "/home/user/perl5/lib/site_perl"; 


17 September 2013

LG 32LN5310 Review


Over Labor Day weekend, I purchased the LG 32LN5310 from Best Buy for $259.99 +tax. Here is my review of it.



Pros:
  - Assembly of the base was easy
  - Good auto channel detection
  - Seems to use Direct LED back-lighting instead of edge-lit
  - 1080p
  - Excellent viewing angles
  - Has an Optical Audio out


Cons:
  - Eco mode seems to be too dark and I can't seem to find a way to increase the backlighting without going to normal mode since it is automatic
  - Does not appear to support HDMI 1.4 and Audio Return Channel


Other Thoughts:
  - Does not support local dimming and 3D, but at this price point not to be expected
  - Switching the tv from Eco to Normal mode and adjusting the brightness down gives an excellent picture
  - I know that 1080p at this tv size does not make any difference, but at the same price it certainly doesn't hurt :-)
  - This is the perfect size for a bedroom (or small living room)
  - I cannot find the tv on LG's website, but the best theory I have found is that it is just a rebranding of the 32LN5300 to be a Best Buy exclusive.

20 June 2013

Convert Cisco Linksys E2000 into a Wireless Bridge using dd-wrt


My recent purchase of a refurbished Asus AC66R wireless router has left my previous router, a Cisco Linksys E2000, free to become a wireless bridge to upgrade my ps3 from 2.4GHz G to 5GHz N. Here are the steps that I followed to do it.

Disclaimer: All activity you do is at your own risk. I am not liable for any damage you do to your equipment.
  1. First setup my new router and ensured that the encryption used was WPA2 Personal-AES on both spectrums
  2. Downloaded dd-wrt.v24-21061_NEWD-2_K2.6_mini-e2000.bin from the dd-wrt page: http://www.dd-wrt.com/site/support/router-database (search E2000)
  3. Followed the flashing instructions on the wiki: http://www.dd-wrt.com/wiki/index.php/Linksys_E2000
    1. Disconnected all ethernet cables and wireless clients
    2. Did a 30/30/30 reset using a pen
    3. Connected my laptop using an ethernet cable (also turned wireless off on my laptop)
    4. Log into Linksys Web Interface Firmware Upgrade page at 192.168.1.1 using the default password (admin), went the Administration tab and then the Upgrade sub-tab
    5. Wait 10 minutes until WLAN (wireless) light turns on.
    6. Power cycle by unplugging E2000 for 30 secs.
    7. Plug E2000 back in and wait about 5 minutes until it finishes booting.
    8. Do a 30/30/30 reset on router.
    9. Wait 3 minutes and log into web interface using the default user/pass (root/admin)
    10. The router then made me change the password
    11. You are done. There is no NEED to flash any other build.
  4. I then configured the E2000 to be a wireless bridge using this wiki: http://www.dd-wrt.com/wiki/index.php/Wireless_Bridge
    1. My new and old router both use the ip 192.168.1.1, so if you use a different subnet be sure to modify accordingly
    2. Changed the E2000 to a static ip
      • Setup Tab -> Basic Setup sub-tab -> Network Setup heading
        • Local IP Address: 192.168.1.2
        • Subnet Mask: 255.255.255.0
        • Gateway: 192.168.1.1
        • Local DNS: 192.168.1.1
    3. I also disabled the WAN port at this point
    4. Hard-coded a static ip onto my laptop wired connection
      1. Control Panel -> Network and Sharing Center
      2. Left side -> Manage Adapter Settings
      3. Right Click on your wired connection -> Properties
      4. Highlight TCP/IPv4 -> Click on Properties Button
      5. Use the following IP Address:
        • ip: 192.168.1.100 (or a similar unused one on your network)
        • subnet: 255.255.255.0
        • gateway: 192.168.1.1
    5. Disable the DHCP server on the E2000
    6. Change the E2000 into wireless bridge mode
      1. Wireless Tab -> Basic Settings Sub-Tab
        • Wireless Mode: Client Bridge
        • Wireless Network Mode: N-Only (5Ghz)
        • Channel Width: Auto
        • Wireless Network Name (SSID): type in your 5GHz network SSID
      2. Wireless Tab -> Wireless Security Sub-Tab
        1. Security Mode: WPA2 Personal
        2. Encryption: AES
        3. Password/Passkey: type in your network password
After all this I was able to successfully connect to the internet and the rest of my network. It also maxed out my 100Mbps laptop ethernet port.

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