January 31, 2010, 22:57
I’ve been moving all my code to a centralized version control system and had everything setup using CVS when I noticed that some of my NS-2 code started to break due to soft-link problems (CVS doesn’t support it). So I downloaded and install GIT (only to find out that it doesn’t natively handle it as well). So I ended up with SVN, however, I didn’t want to do it through WebDAV or as a new service… SVN however allows for SSH tunneling (i.e. with a subversion repository url of svn+ssh://talmai@talmai.com.br/myrepo) and I can use integrate it using the Subclipse subversion integration with Eclipse.
When I used JavaHL (JNI) I got the following error, “svn: Can’t create tunnel: The system cannot find the file specified“. After some googling, I discoved that I needed to configure eclipse to use the JavaSVN interface (In Eclipse, under Windows –> Preferences –> Team –> SVN –> SVN interface: make sure you have selected JavaSVN). The next error that popped-up was “svn: Handshake failed, received:“, and when I tried to connect using a shell (“svn list –verbose snv+ssh://talmai@talmai.com.br/myrepo“) I got “‘bash: svnserve: Command not found“. Obviously this was a path problem, but my PATH was correctly, so I ended up adding a link to svnserve on /usr/bin. Things magically worked from that point on.
January 20, 2010, 09:36

When you use the PopupManager in Flex by default it will include a blur effect, as well as place a transparent layer on top of the background. This looks very nice, but it was slightly too light for my taste. After what seems too long of a search, I finally found something. As expected, it can be configured using css.
For example, to remove the blur effect, one can:
global{
modalTransparencyBlur: 0;
}
In my case, this is what I used for the “after” you see in the image above:
global{
modalTransparency: 0.6;
modalTransparencyBlur: 5;
modalTransparencyColor: #000000;
modalTransparencyDuration: 100;
}
January 15, 2010, 16:21
It seems that anytime I really need this, I forget how to set it up. These are the instructions for setting up Android inside a WPA2-Enterprise scenario:
- Click the Menu button and select ‘Settings’.
- Scroll to the top and select ‘Wireless & Networks’.
- Make sure the that ‘Wi-Fi’ selection is checked
- Select ‘Wi=Fi Settings’
- Under Wi-Fi networks you will see a list of available networks, in case of the University of Cincinnati, one can select ‘Securewireless’ to configure. If you do not see it, proceed to manual configure below.
- In the pull down menu of ‘EAP Method’, select ‘PEAP’.
- In the pull down menu of ‘Phase 2 authentication’, select ‘MSCHAPV2′.
- Scroll past CA certificate and Client certificate
- In the ‘Identity’ field enter your login at UCIT (your 6+2 login)
- Skip the ‘Anonymous identity’ field.
- In the password field enter your wireless password. (If your cursor is stuck at ‘Identity’ click “next” on your keypad twice to get to Password).
- Select Connect. The account settings, including username/password are now saved and you will connect automatically when ‘Securewireless’ is in range.
For Manual configuration, you need to…
- Scroll to the bottom and select ‘Add Wi-Fi Network’
- In ‘Network SSID’ enter ‘Securewireless’
- Scroll down to ‘Security’ and select ‘802.1x Enterprise’
- Scroll down to ‘EAP Type’ and select ‘PEAP’
- Scroll down to ‘Phase 2 authentication’ and select ‘MSCHAPV2′.
- Scroll down and enter your login in the ‘Identity’ field, skip the ‘Anonymous Identity’ field, and enter your password in the ‘Wireless password’ field.
- Select save and you with connect. The account settings, including username/password are now saved and you will connect automatically when ‘Securewireless’ is in range.