Archive for 2009

Supporting Web Services

Thursday, December 24th, 2009

Web Services iconThe calendar is changing yet again on another decade and as we go from 2009 to 2010, it seems only natural to become a bit reflective on all things. Technology is always changing and what seems like life long disputes are now fading into obscurity, and before you know it, you will be sounding like an old timer talking about the old mainframe days of computing. In my case, the old local network model of client and server is where I made my professional career. However that model is dramatically different today. Today, I no longer work on Netware or Windows 2000 file servers and their Windows clients, as much as I work with browsers and the Internet. Instead of supporting a LAN, I mostly support Web Services; a term that describes pretty much anything if you really think about it. I tell most of my non-technical friends that essentially I support web sites, to make sure they are working the way they are suppose to. This is more easily said than having to explain that I spend most of my time trying to figure out where exactly my problem is.

The extraordinary situation is that supporting web services is kind of an unwritten subject matter. You will not be able to walk into Barnes & Noble and find it in the computer books section. Most of the time what you will find will be books that talk about making money with web services, by which they mean running your own website business or using eBay or Amazon to help your business. This is because web services, as we think of web services have not been around all that long. The prior file server and client model, what I call LAN support, has been around for more than two decades and it was properly evangelized by companies like Microsoft, Novell, and IBM.

For years, Microsoft sold and supported training for how to support your basic file server and local clients. You usually ended up with huge thick books and a paper certificate that you could hang on your wall saying you knew how to support Windows. Web services has no such certificate and even if you could point to one, it most likely would be so specialized that it really could not encompass much. For example right now, a web service could mean Apache Web Server connecting to a backend database that is serving up information to a browser on a Macintosh, a Windows machine, a mobile smartphone, or even a GPS device in your car! The technologies that make this happen are varied and when you think about the data it only starts to get more complicated. The iPhone as a platform for web services has been incredibly successful for Apple but even Apple did not foresee most of the web services that the iPhone is now capable of. As Apple has added more sensors to its device and given developers access to their data, it has allowed developers to change the way we think of web services. The iPhone will soon be able to not just tell you where you are, but inform you of what you are actually looking at or even what you should be looking at! Now if you look at it from the point of view of a person who wants to support that technology, where do you exactly start? It certainly is not going to be easy.

Since there is no one company behind the technology that powers web services, it is best to be a good problem solver who knows a little bit of everything and who can properly research problems.

Problem solving is all about being able to break things down to their rudimentary components and to be able to have a grasp on how something works. Experience counts a lot, but only if you develop good skills to begin with. Programmers are very good at breaking things down, so even if you do not see yourself as a developer, it is still important to learn the basics of programming. Languages like JavaScript, PHP, Python, and JAVA can teach you a lot about how to approach problems. Even if you never master a programming language, you can still take away a lot from the experience of just trying to program.

The absolute things to learn are HTML, CSS, and XML. These are the defacto data elements of pretty much all web services and are not at all difficult to learn. HTML is like learning to use different grammar, so pretty much anyone can learn to read and write it. One other subject matter to master for problem solving has to be networking. You must know how networking works, both at the protocol level and at the hardware level. You may not need to master CISCO routing, but you should learn the basics of what routing is, what TCP/IP is and how it works, and you must learn everything you can about HTTP, as this is the most common protocol you will be working with. Remember how I said there was not one book that you could pick up to learn web services? After all this reading, you will probably hate the computer section of the book store.

Once you have acquired some knowledge of the technologies involved, you will need to learn how to research problems. It amazes me how many people do not know how to research. This is the one skill that you need to acquire before you interview for any position. There is nothing more disappointing than to realize a candidate for a position has poor researching skills. If you never took a class on how to utilize Google Search, than pick up a book and learn how to mine Google for all sorts of data. This is an essential skill. No one can possibly know everything and remember you are getting paid to solve problems, so why not get ahead in life by using the immense knowledge out there on Google and other search engines. The other part of research is documentation. Effective people are organized. Find a system of organizing your researched data that makes sense to you, whether this is Outlook, a content management system like a wiki, or just a WordPress blog. Whatever you do, do not rely on your employer or someone else to tell you how to do this. What you will find is that it is a lot easier to stick to a system that works for you than it is to try to work within the limitations of someone else’s system.

Supporting web services is always changing, and so there will always be new browsers to test, new tools to use in your analysis. You will need to devote some small part of your day to reading about these new developments. And who knows maybe someday there will be a good book on how to do all this, but until then you will probably have to do all of the above. Good luck and remember it is just a website, right?

Faster Internet Browsing in Windows

Friday, October 23rd, 2009

Browser Speedometer GraphicsOn the Windows platform there is a memory wall that many people are experiencing. Namely, that Windows does not utilize all of your physical memory once you have 4GB or more of RAM, unless you are using Windows XP 64-bit or Vista 64. Instead of letting that extra memory go to waste, I thought why not utilize it in some other way. A long time ago we had the opposite problem with computers, where processors were slow and we tried to speed things up in any way possible. Today, we have a lot of processing power and abundant memory and now it is the software that needs to catch up to the hardware. Given this, I thought why not use a some of that extra memory and load it as a RAM disk. Then if you think about it, the most often used application in today’s computing is the web browser, which uses your hard drive to cache content. This sounds like a perfect opportunity to use a RAM disk and speed up your browser’s disk caching. IE and Firefox both make it easy to modify your disk cache directory too, so the biggest problem seems to be trying to setup the RAM disk in Windows. There are multiple commercial solutions, but only one free solution that I could find that works well.

First thing to do is setup the RAM disk. If you do not want to purchase a commercial RAM disk driver, you can implement this free RAM disk driver for Windows Vista, XP, 2000 and 2003 Server. You will want to have a RAM disk that is slightly larger than both IE and Firefox disk cache sizes put together.

Firefox:

  1. Type about:config in Firefox’s address bar and enter
  2. Right-click and choose New – Integer
  3. Input the following in the dialog box: browser.cache.memory.capacity
  4. Input a value in the next dialog box, such as 24000, which means 24MB
  5. Then in the Filter: bar enter browser.cache.disk.parent_directory
  6. If this setting does not appear, then you will have to create a New – String with the above name
  7. The value should be a drive path to your RAM disk, such as M:\Firefox
  8. Once you have both settings, close out of Firefox and start it back up again.

IE:

  1. In Internet Explorer, click Tools – Internet Options
  2. Locate Temporary Internet Files and click the Settings… button
  3. Change the Amount of disk space to use: to the appropriate size you want
  4. Click the Move Folder… button to select a folder on your RAM Disk. If you used the free RAM Disk, your RAM disk should have a TEMP folder at the root, just choose this folder.
  5. Click OK and close out of IE

Note:

Depending on your computer, your experience may vary. On my Windows laptop and desktop, the speed with which Firefox 3.5 launches is vastly improved. I do not use IE much, so it is hard for me to evaluate the differences there.

Apache 2.2 on Windows Session Cache Error

Tuesday, October 13th, 2009

Apache IconThere appears to be a bug with Apache 2.2.13 which I ran into on Windows Server. See the following bug entry: Bug 23403. Opening the error.log for Apache showed the following warning:

warn Init: Session Cache is not configured (hint: SSLSessionCache)

Adding the following lines to the httpd.conf fixed the problem:

SSLSessionCache "shmcb:c:/Apache/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300

Note: your Apache installation directory is probably different, so you will want to modify the above file path.

iTunes Install on Windows 2003

Monday, September 28th, 2009

iTunes LogoFor some reason, Apple has stopped supporting iTunes on Windows 2003 and changed their MSI installer to fail. However if you still prefer to run iTunes on your Windows 2003 Server, you can still modify the iTunes installer by using installer tools such as Microsoft Orca (see Microsoft’s Tutorial on how to modify MSI files) or InstEd. Using InstEd, I was able to install iTunes 9 on my Windows 2003 machine.

  1. First download the iTunes installer from http://www.apple.com/itunes/download/.
  2. Next use WinZip or WinRar to extract the contents of iTunesSetup.exe to a folder.
  3. Now comes the difficult part, you will need to check each of the .MSI files with InstEd or Orca. Open each file one at a time and look for the LaunchCondition settings. You will need to remove this parameter and its value: ((VersionNT=501 And ServicePackLevel>=2) OR VersionNT>501). Once you do that just Save and Exit.
  4. With the modified MSI files, now start installing them one at at time. Leave the iTunes.msi for last though. The SetupAdmin.exe can be ignored. You do not need to run that one.

If this was a perfect world, you would now be able to launch iTunes 9 on your machine, but since it is far from perfect, you might be staring at this error message:

The iPod Service service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.

To complete the install, leave the error up on the screen and go launch Services.msc, find the iPod Service and open its properties. You will need to add an account with admin rights and then save the changes. Now click Retry on the error and see if it works.

Additional Resources:

Waiting On Apple To Buy

Wednesday, August 19th, 2009

Dollar SignsThis seems to happen to me every two years, I become bored with all my technology and wait on Apple to wow me with something new. The unconverted peers around me just scoff at the idea of just throwing money away on another expensive Apple product that isn’t worth it to them. Then again, most of them admit they secretly love their iPod, even though they hate Apple. Coming back to my need for a technology fix, I have even walked down the NetBook displays at the local BestBuy and touched one or two NetBooks, thinking to myself, “Why Not?” only to come away with a sense of utter disappointment at how bare boned these NetBooks really are. The majority of them, remind me of the cheap knockoff toys I bought when I was a kid, when I really could not afford the actual Voltron. Pretty much, NetBooks kind of suck. The iPod Touch and current iPhone GS have more appeal than any $400 NetBook.

Aside from Apple, I was in Houston Texas a week ago and stopped by the Sony Store in The Galleria Mall. Other than Apple, Sony is equally appealing when it comes to technology, after all I have only bought like thirty or so Walkmans in my lifetime. It seems Sony is the only PC vendor who makes interesting consumer laptops, but even the coolness of a Sony design was not enough to satisfy me. I guess that is one thing that Microsoft totally dismisses about consumers in their commercials. Sometimes people just want to buy something cool, and all reason goes out the window. I remember years ago, consumers had to buy a Pentium computer for no reason other than it came with that shiny new Windows95 that let you do things like multi-task. Microsoft should remember that for many consumers Minesweeper and Solitaire were the most used applications on Windows. What impressed me more than computers at the Sony Store, were their televisions. The higher end models are internet enabled and allow you to browse the web and access media servers. I assume this is similar to the Playstation 3, so most likely Flash video performance will be disappointing, but still I think this is interesting. Regular television is dying, and consumers really want to see YouTube and other Internet content on their television, especially now that HD Television is standard. Although I did not walk out of the Sony Store that day with a new television, I am considering a new television for this holiday season. Price wise, it was impressive that Sony’s lower end LCD televisions are more affordable than ever. A basic 32 inch with 720 resolution is now $500 and a 42 inch is not that much more. These sets use to cost about $3000 a few years ago.

Due to the economic recession, most companies are in save mode. The best example I can note is the video game industry in which most game developers have scrapped new product releases and instead are pushing out repeat sequels of past successful games. Their hope is that they can save on expenses and survive the economic situation. However we are in now the third or fourth quarter of this recession, and the effect of cost cutting has come and gone and now all you have left is whatever current income you have. This makes it difficult for most companies because the products they have out there are totally unappealing and no matter how you dress them up, consumers know this and won’t put good money towards products that are based on past technology. The coolness factor matters now, more than ever! Without a shiny product, consumers who want to buy will think twice. Impulse buying will be hard to come by this holiday season and this means more bad news for companies.

Given all this, I am still waiting on Apple to deliver. Sure, I will go ahead and get my Snow Leopard Upgrade and think about replacing my iPhone come 2010, but I still need something with a wow factor to burn my money on and I am sure Apple will eventually deliver, but the wait always feels like an eternity.

Close
Powered by ShareThis