Archive for the ‘Software Development’ Category

Google maps Australia’s bushfires to help emergency services

Sunday, February 8th, 2009

Jason, one of our business analysts and senior programmers, moved back to Melbourne Australia in 2000 after spending 4 years with us. I was on an Instant Messenger chat with him today and we talked about the wild bush fires in his state of Victoria. The fires started a few days ago when the temperature in Melbourne reached 47.6C (116F). He said, “It was so hot and dry, everything just exploded.”

I asked him if they effected him and his family and he said that the “closest were about an hour ago [away] – we were booked to go to a weekend away in a place call Marysville in May, but the reports say that town has been wiped out.  All but 2 buildings left I hear, so not so good for the owners of that B&B.” Also one of his mates had one of the fires come as close as the mailbox. His mate’s father was in the thick of the fires and has not been heard from for a couple of days. Hopefully the father escaped and will be in touch as soon as he has a means of communication.

I was checking out Twitter and there was a tweet from Robert Scoble on how Google maps help the emergency services and the residents know the locate of the fires.  The fire map (Feb 08 09 22:00 EST) looks like this: 

Google maps Australian bushfires

Google maps Australian bushfires

More on the Google Victoria fire maps story is at Google Australian bushfire maps.

Watch out when saving Printer Environment in VFP

Sunday, January 25th, 2009

When creating reports in Visual FoxPro, it’s important to watch when the printer environment is saved on reports. If you create or modify reports in the client’s office, saving the printer environment should produce the desired outcome on the printed report. Generally VFP programmers don’t always have the same printer that their client do. We go about creating and modifying reports without a concern for the printer environment. We test the printed report on our printers and they produce what the client asked for. Then the report gets updated to the client’s version of the program and it doesn’t work. This happened to me last week.

I modified a report and tested it on my computer and it produced the result. Uploaded it to the client site and a part was missing. I tried it again with the same data and the report printed as requested. After further digging, Mike, our senior programmer, found the problem. In the report properties of the particular report, the Printer Environment had been checked. Mike made a rule for our development efforts – make sure that the Printer Environemt on any report is not checked. Inadvertently or accidentally, I broke the rule. So I unchecked the box, recompiled and it worked correctly on the client site. Another happy client.

Table name prefixes are important in VFP

Sunday, January 25th, 2009

Our client asked for a change to an order entry screen in one of our Visual FoxPro applications.  Our senior programmer Mike, accidentally left off the table prefix for one of the fields in a SQL SELECT statement. The net result was that the work tickets printed from the final SQL cursor, sometimes printed customer information and some times didn’t.  After some digging, I found that 2 of the tables in the SQL SELECT statement had the same field name.  The SQL SELECT got confused and sometimes returned the customer information and sometimes didn’t on the printed work ticket. I added the table name prefix to the field and did some testing.

Sure enough, the work tickets that didn’t print the customer information now had the relevant information printed in the proper spot. Our client was happy with the result.

The outer space Christmas tree

Wednesday, December 17th, 2008

This is an example how software takes the readings of radio telescopes and converts them into beautiful pictures to allow us to better appreciate outer space.

Known as the Christmas Tree cluster, this colorful collection of stars lies 2,600 light-years from Earth in the constellation of Monoceros, the unicorn.

This is the way this region of space was first seen through a telescope on an 18th-century Christmas Day–and you’ve got a celestial “tannenbaum”, complete with “ornamental” blue stars and gas clouds turned a festive red by young stars’ light.

Seen anew in this image from Chile’s La Silla Paranal Observatory released Tuesday Dec 16 2008, the so-called Christmas Tree star cluster includes many stellar “nurseries,” providing brilliant opportunities for the study of star birth.

The cluster was first discovered in the 18th century but was captured anew in this stunning image by by the 2.2-meter Max Planck Society/ESO telescope at La Silla observatory in the Atacama Desert. The telescope was outfitted with a specialized astronomical camera called the Wide Field Imager and a series of filters, and then aimed at the cluster for 10 hours to get the full-color image above.

The swirling gas clouds appear red because of ultraviolet light emanating from the young, hot stars that look like blue ornaments on a Christmas tree. The triangular feature near the bottom of the photo is an area of gas called the Cone Nebula.

The brightest star, at the top of the image, can be seen by the naked eye. The furry texture of the light to its right earned that area the name Fox Fur Nebula.

The whole cluster is in a star-forming molecular cloud, and the area between the brightest star and the tip of the cone is a great place for studying how stars are born.

Planning is important in deploying software applications.

Friday, October 3rd, 2008

I spent the last three days doing work that I thought was someone else’s responsibility. Normally we’re responsible for installing one of our software applications on a network that has already been set up with servers, workstations and servers functioning properly with remote access to the head office.

When I arrived at the branch office on Tuesday, all the equipment was sitting piled in a corner. The final network hook ups had not been terminated. The electrician, who left 30 minutes before I arrived, thought that I was going to terminate the network cables. Although I could have done the final hook up, I didn’t bring my tools to do the job. My understanding, based on the head office personnel instructions, was that all of the network infrastructure was already in place. While we waited for the electrician, I went about physically locating all the equipment I could. Again not our responsibility. The electrician arrived about an hour after I arrived. He stayed and waited to make sure that all equipment was functioning on the network. After about 2 hours, we were able get down to the application.

Part of our agreement with the client was that head office and we would have remote access to each branch. This would allow them to get reports and make changes to data without traveling to the branch. It would also give us access to branch servers for software upgrades and trouble shooting support without having to be on site. Another person from head office was responsible for setting up the remote access. We didn’t have remote access.The branch was closing so I agreed to return the next day.

On Wednesday, I worked on the remote connection. Still no remote connection. So after talking to the individual responsible, we tried a few things and in the process crashed the modem to the internet. Tried a few other fixes that didn’t work. So I called Bell Business Internet. See the blog entry on resolving the crash modem at http://www.softwarestrategies.ca/blog/?cat=5 .

After getting the modem working, I went to install Ultra VNC

Using Photoshop CS2 to build a website

Monday, September 22nd, 2008

I’m in Thunder Bay, ON visiting family and friends. Since most still work, the visiting is limited to the weekend and evenings. So during the day, I’ve been learning new skills. If you don’t learn new skills in this industry, you can fall behind very quickly.

Last year, I picked up a book called Photoshop CS2 for the Web – Hands on Training by Tanya Staples. It’s one of the best training books I’ve used. It’s well laid out and takes you step by step through the various tools and features in Adobe Photoshop CS2. There are many colour screen shots to assist you. It’s available from your favourite book store or directly from www.lynda.com. More info on Photoshop CS2 for the Web is at www.lynda.com/store/ProductInfo.aspx?productid=361.

In nearly 6 hours, I’ve learned more about Photoshop, its tools and features and how to use them, than I’ve struggled with over the years. I have a better understanding of the interface, how to use colours and the importance of using layers in creating graphics and pages for websites. Hopefully you will see the results in the company website I’m working on now.

Visual FoxPro generic projects

Friday, September 19th, 2008

This morning, Mike, our senior program developer, and I got around to discussing how I could use the base classes and generic tools we have developed over the years to develop a simple VFP application. We want to manage the data for a mailing and the responses in our latest marketing campaign.

Mike suggested that he could come up with a generic VFP project with all of these tools, screens and class libraries we’ve developed over the years. This would allow me to get the marketing campaign system up and running quicker. It would also serve as a template for new VFP projects we hope to get as a result of the campaign. More later on how this helps.

Visual FoxPro and Norton Internet Security

Tuesday, September 16th, 2008

Visual FoxPro and Norton Internet Security (NIS) don’t play well together without some tweaking especially across a network. We found that within NIS, the network drives have to be ignored in the scanning of drives. Also ensure that NIS does not scan database files and tables. The relevant files have extensions like .dbc, .dbx, .dct, .dbf, cdx and fpt. Anything that will help to minimize blocks on the network always helps.

Visual FoxPro on a network

Tuesday, September 16th, 2008

One of our clients asked us to update an application we wrote originally 20 plus years ago in Basic in the Microsoft Basic Professional Development System. Over the years, we upgraded the application to Visual FoxPro (VFP) 3.0 and VFP 5.0. Since we upgraded to VFP 9.0, the main screen they use to create packing slips and invoices slowed to a crawl compared to the previous VFP 5.0 version. About the same time as the VFP 9.0 upgrade, the client got a new server and upgraded their physical network, cables and hardware.

My first thought was to point to the network upgrade as the reason for the slow down. My associate Francis, a network troubleshooting expert, and I did some network analysis last week. There was a mixture of 100 Megabit and Gigabit network cards. We found that, while there were some issues with the client network, our focus now shifted to the VFP 9.0 application.

Mike, our VFP programmer, now thinks that what was a valid way of creating the screen in VFP 5.0, no longer works in VFP 9.0. So he is currently reworking the code to create the screen. More to come on what he finds.

Website development

Thursday, September 11th, 2008

Yesterday I spent a large part of the afternoon trying to update our website. I didn’t get far. I was working on a registration form for a webinar we are having next month. I got lost in the detail. I may have to call on an associate to help out.

One thing I’ve learned over the years is that software development doesn’t always go smoothly. Yesterday basically proved that theory.

You just have to be persistent and look out for the detail. The detail is usually what gets you.