Monday, April 16, 2012

Postgres not starting due to 1069 error

Problem: The postgres service fails to start with a 1069 (logon failure) error, even after I reset the password for the service login (postgres). Windows 7

Solution: The account was locked. Unlock it using the User and Groups tool, right click the user and look for the 'Account is locked out' checkbox.

Friday, March 23, 2012

Vaadin Sub-Window Scroll Bars not Appearing

Create a Sub-Window. Add more content than what fits in view. No scroll bars appear and I can't see some of the content. Why?

The cause: I was using VerticalLayout as the content of the Window and I had called setSizeFull(). VerticalLayout.setSizeFull() sets the Height to 100%. This effectively disables scolling in the sub-window. It seems that sub window content should always have undefined height.

From the Book of Vaadin: https://vaadin.com/book/-/page/layout.settings.html
The default layout of Window and Panel is VerticalLayout with undefined height. If you insert enough components in such a layout, it will grow outside the bottom of the view area and scrollbars will appear in the browser. If you want your application to use all the browser view, nothing more or less, you should use setFullSize() for the root layout.

Friday, February 24, 2012

Monday, January 2, 2012

NFCU Scan Deposit on OSX

NFCU's scan deposit feature wasn't working for me. The applet was complaining about 64 bit Java. I fixed this by opening Java Preferences >> General and moving 32 bit java above 64 bit java. Upon retrying the scan deposit feature, the applet complained about not finding a TWAIN compliant scanner, but also a dialog popped up asking if I wanted to install Rosetta to run TwainProxy. I agreed to install Rosetta, and the now it works.

Wednesday, December 21, 2011

Fix for Ubuntu Theme Change

I am running Ubuntu in VirtualBox. At random times, Gnome decides to switch the Theme from Ambiance to some ugly generic one that is hard on the eyes. Until today, I've been logging out and back in to restore Ambiance. Today I discovered that simply opening the Themes settings sets the theme back to Ambiance: System>>Preferences>>Appearance>>Themes

Thursday, December 15, 2011

Restore Eclipse subversion project connection

Using Eclipse-Indigo and Subversive, Eclipse frequently 'forgets' that my project is under SVN control. (The Project explorer lacks the revision numbers, The Team menu is missing most functions). Happens most often after an Eclipse crash or forced restart. Finally found the solution:

1. Right Click Project:
2. Team >> Share Project >> SVN
3. The URL should just show up.
4. 'Something like Keep existing project settings' *Can't reproduce the steps while writing this.
5. Finish

The Subversive functionality should be back.

Source: http://stackoverflow.com/questions/166220/restore-eclipse-subversion-project-connection

Monday, November 7, 2011

Problem installing Subversive Connectors

For some reason, I can't install Subversive Connectors from Work. The installation times out while downloading files. Installs fine from home. Clearly a site specific network issue. (this is a note to myself so I don't waste any more time troubleshooting this problem.)