Blog Insights
  • infrastructure icon

    Ubuntu Live Network Boot using PXE

    Requirements Linux server with NFS (or compatible) TFTP server DHCP server syslinux / pxelinux files To simplify these instructions we are going to make the following assumptions. DHCP server is 10.0.0.2 TFTP server is 10.0.0.3 NFS is a Ubuntu server at 10.0.0.4 In reality it’s likely your TFTP and NFS...
  • development icon

    Replacing and Patching Java Application and Core classes

    Why would you ever need that? Say you get a jar file. After using the jar for a while you realize that there is a bug in a class in the jar file. Unfortunately you also find out that the jar is no longer supported and there is no way...
  • development icon

    IP Addresses in PHP/MySQL

    I’ve been working on a web-based tool that stores, among other network-related things, IP addresses. When I first started I stored each IP address as four TINYINTS (0-255 for each octet): mysql> desc ipaddresses; +----------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +----------+---------------------+------+-----+---------+----------------+ |...
  • development icon

    Taking Advantage of Spring MVC's Default Behavior

    Over the last several months I have worked on several content heavy websites for one of our partners. When I say “content heavy”, I mean that 80%-90% of the pages in the application are static, or at least mostly static, a customer name, membership number, etc may need to be...
  • culture icon

    A Modern Parable

    I recently ran across the following article on a blog: A Japanese company (Toyota) and an American company (General Motors) decided to have a canoe race on the Missouri River. Both teams practiced long and hard to reach their peak performance before the race. On the big day, the Japanese...
  • testing icon

    Sonar - Code Quality Analysis Tool

    What is Sonar? Sonar is a web based code quality analysis tool for Maven based Java projects. It covers a wide area of code quality check points which include: Architecture & Design, Complexity, Duplications, Coding Rules, Potential Bugs, Unit Test etc. Sonar has a rich set of features like what...
  • development icon

    Magento Customization

    Magento is an e-commerce framework that is used as an online shopping cart. I am going to talk a little bit about Magento extensions and why they are useful when wanting to customize your shopping cart. Magento extensions allow you to change functionality of the shopping cart while modifying little...
  • development icon

    Automating the Web with WWW::Mechanize

    And yes, the double colon does mean Perl. However, I know that Python also has the same class modeled after the Perl module. So even if py- is your favorite prefix, this should still be useful. WWW::Mechanize gives you basic access to a “web browser” from your Perl scripts. It...
  • infrastructure icon

    Creating Services using SMF in OpenSolaris

    OpenSolaris has by far, one of the best service management interfaces that I have used. Below I am going to go over a simple way to turn in shell script into a service managed by the OS. Step 1: Create the Service Manifest <?xml version='1.0'?>; <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> <service_bundle...
  • development icon

    Hibernate Embeddable Objects

    Hibernate Embeddable Objects are a really neat way to organize your data model.  Especially, if you have the same few columns in a number of different tables, that all pertain to the same thing. The example commonly used is Addresses.  You may have a number of tables that each have...