Wednesday, April 28, 2010

Deus Ex: Invisible War Crashing: Fix

Symptom: Deus Ex:Invisible War (DEIW) runs fine initially but then becomes 'sped-up'. When you move your character the movement is extremely fast. Other characters move extremely fast. Menu items flash fast, tooltips appear and disappear to quickly. In short it looks like time has sped up. Eventually IW will crash.

Solution (from a tip here): Go to the AMD website and search for "Dual-core optimizer". Install this software.

For other platforms look at the three other suggestions on the linked page.

Monday, April 12, 2010

Print a number in binary in python

bin(x)

as in

bin(2010)
'0b11111011010'

Endnote X bug for years 2010 and later

No you aren't crazy. Endnote does really screwup when the citation date is 2010 or later. There is a fix here.

Among the new "features" added in this "enhancement" is:
Can import records properly from a wider range of years than ever before, including 2010 and later

Someone overdid it in marketing school.

Vista anti-malware

A computer got infected with this. It pretends that your computer is infected with x amount of spyware/malware and you have to get the registered version to remove the (fake) malware. From the page here the steps to getting rid of this annoyance are:

  1. Type Ctrl/Shift/Escape to bring up the task manager (or right click on the task bar).
  2. Kill the ave.exe process. The popups will disappear. Leave the task scheduler up.[NOTE: you can use procexp too]
  3. Type Windows/R (to get the Run box) and type regedit and OK.
  4. Ave.exe will start again, just do step #2 again.
    [Note: Be careful with regedit. If you are not familiar with it, use other solutions for this infection]
  5. In Regedit, go to HKCR\.exe\shell\open\command. You will see something like this for (default):
    "C:\Documents and Settings\[your account]\Local Settings\Application Data\ave.exe" /START "%1" %*
  6. Modify the value to be:
    "%1" %*
  7. Do the same with HKCR\secfile\shell\open\command.
  8. Delete ave.exe from the location in step 5. [NOTE: I could just not find this program]
    At this point, you have control back and no more popups.
  9. Download the current version of Malwarebytes' Anti-Malware and run it.
  10. Choose to fix the items the scan found.
  11. Run a scan of your regular anit-virus program.

Friday, April 9, 2010

Trying out alternative mac browsers

From this page:

Sunrise: small, can't go to http://localhost:3000/ (keeps interpreting it as search term), no ad block
Shira: last update was in 2007 - did not try
Camino: looks fine, kept trying to launch bloglines, MyYahoo and something else

Thursday, April 1, 2010

Playing with Spyder

Since they advertise so nicely how it works with numpy and matplotlib... not that there is anything wrong with eclipse and ipython - sometimes you need a quick way to test and idea.

  1. Install SIP from source package (python configure.py; make; sudo make install)
  2. Download and install PyQT from reiverbank (python configure.py; make; sudo make instll)
  3. QScintilla
    (In /QT4 qmake qscintilla.pro -spec macx-g++; make; sudo make install)
    (In Python/ python configure.py; make; sudo make install)
  4. Download Spyder source package and install.

April fools

I'm hardened to April Fool's foolishness. But this eclipse rebranding thing really caught me off guard. I was there to see if there was a new version of Eclipse, and I found this:

Rails ajax confirmation (are you sure?)

<%= link_to_remote 'Delete source', :url => { :action => "delete", :id => source},
    :confirm => 'Are you sure?',
    :html => {:title => 'Destroy source'} %>   
</div>