Friday, August 24, 2012

PyCharm - Initial Setup - Don't use OpenJDK

I installed PyCharm today and for the life of me couldn't get it to run right.  Don't use OpenJDK.  There is a check in the pycharm.sh to check for OpenJDK and warn...but I didn't see it because I didn't launch it from terminal.  I launched it from Nautilus.

Monday, August 13, 2012

Mutiple Clipboard Plugin for Eclipse

If you don't have a multiple clipboard on your system and use Eclipse, check out Multi-Clipboard from the EasyEclipse project:



http://www.easyeclipse.org/site/plugins/multi-clipboard.html




Screenshot


It's as easy as punching ALT-V and then press number of the item you want in the clipboard.

Saturday, July 7, 2012

Mach-II Moving to GitHub

Mach-II is moving to GitHub. We're in the process of migrating the wiki, but the code has been mirgrated from SVN already:



https://github.com/Mach-II/Mach-II-Framework


Wednesday, June 20, 2012

Windows 7 - How To Fix Laptop Battery Won't Charge Issue (Plugged In,Not Charging)

We have a new HP laptop at work that is our audio recording and video production rig.  For some reason today, it would only run on AC and not the battery.  The battery indicator in the tray indicated:
Plugged In, Not Charging

Strange for a new laptop to have a bad battery especially when HP Support Assistant indicated a good battery.  After some searching, here a possible the fix that worked for me on Windows 7.  This may or may not not work if you.

  1. Go into Control Panel

  2. Go to the System category

  3. Select View Advanced System Settings

  4. Go to the Hardware tab and click the Device Manage button

  5. Under the Batteries section right click on the "Microsoft APCI-Compliant Control Method Battery" and select "Uninstall"

  6. Agree to the warning to uninstall

  7. Perform a Windows Update. If you don't this, your next update will probably break this fix

  8. Shutdown your computer

  9. Remove the battery for 1 minute

  10. Reinstall the battery

  11. Turn on your computer with your AC adapter since your battery is probably dead

  12. Windows should automatically recognize the "new" battery hardware and reinstall the driver for you

  13. Your battery should start charging again

If you have an HP laptop and this does not work for you, there have been reports that certain HP laptops need a firmware update.

Edit January 26th, 2014: Sadly I have had to disable comments since people have chosen to post hateful comments if the a solution did not work for them.

Friday, May 18, 2012

Dynamically setting up a H2 datasource on OpenBD


<cfset DatasourceCreate("enlist"
    , {
        drivername: "org.h2.Driver"
        , hoststring: "jdbc:h2:" & ExpandPath('./') & "/WEB-INF/bluedragon/h2databases/enlist;AUTO_SERVER=TRUE;IGNORECASE=false;MODE=MySQL"
        , initstring: "RUNSCRIPT FROM '#ExpandPath("../docs/sql")#/mysql_createDB.sql'\;"
        , databasename: "enlist"
        , username: "enlist"
        , password: "enlist"
    }) />


Thursday, May 17, 2012

cf.Objective() 2012 - Speedy Websites Presentation with Speaker Notes

My cf.Objective() 2012 presentation is now available including my speaker notes on my presentations page.


http://blog.maestropublishing.com/pages/presentations


Check it now out.  Also, please don't just give my presentation without permission. I spent a lot of time working out all the details.