Websites about Programming by Programmers

A few websites and articles by professional programmers about writing code and computer science:

Continue reading “Websites about Programming by Programmers”

Changing the VMWare vmnet IP Range when it Conflicts with a VPN on Mac OS X

If you are running both VMWare (in my case VMWare Fusion 5) and a VPN that uses the 192.168.203.0 subnet you will may need to update the ip range that is used for the vmnet.

In my case, vmnet8 was configured to use 192.168.203.0 and so was a VPN connection that I was using.

As a result, if I fired up VMWare first and then attempt to make a connection to the VPN, I could not route to any of → Continue reading “Changing the VMWare vmnet IP Range when it Conflicts with a VPN on Mac OS X”

Exploring Java Build Systems

Recently I have started working on some projects where the use of Maven has been mandated.  However, since these projects are in the early stages it has got me doing some searches for alternative Java build systems.

I found a interesting article on the topic written by Jess Johnson entitled ‘Java Build Systems: A Sad State of Affairs’.  From there I found some other links to Java build systems and some other articles written on the topic.

I’ll come → Continue reading “Exploring Java Build Systems”

A Quick and Easy Way to Lock Your Screen Under Mac OSX

If you want a quick way to lock your screen on your Mac do the following:

  • Go to System Preferences/Security & Privacy
  • Click on the checkbox next to “Require password … after sleep or screen save begins”
  • Select “immediately” in the dropdown within the aforementioned selection.

You will be asked to authenticate to make the change

Now you will be able to immediately lock your machine by pressing Control-Shift-Eject.

Continue reading “A Quick and Easy Way to Lock Your Screen Under Mac OSX”

Very Cool Free Mac OSX Font for Terminal Windows and Programming

I have just recently started working on a Mac again and am in the process of getting it set up to do some development.

First thing was to tweak my Terminal preferences and I found a really good article about Mac fonts for programming (Top 10 Programming Fonts).  I agreed with the author of that post and went with Inconsolata.→ Continue reading “Very Cool Free Mac OSX Font for Terminal Windows and Programming”

How To Disable the DTD Warning for Ant build.xml Files in Eclipse

Eclipse (at least Juno) will complain that there is “No grammar constraints (DTD or XML Schema) referenced in the document.”, even though there is no DTD for Ant build.xml files (see here for Ant faq about DTD for build.xml files).

To surpress the warning in Eclipse add

<!DOCTYPE project>

After the <?xml . . . XML declaration tag → Continue reading “How To Disable the DTD Warning for Ant build.xml Files in Eclipse”

Where to get a 64-bit Build of Mozilla Firefox for Linux

 

If you want to get a 64-bit build of Firefox for Linux, go to the following URL and browse to the most recent version, download and install.

http://releases.mozilla.org/pub/mozilla.org/firefox/releases/Continue reading “Where to get a 64-bit Build of Mozilla Firefox for Linux”