Thursday, July 9, 2009

Interview!

I interviewed with Tricom today. They are a small company that supplies talent to local government agencies and schools.

I think the interview went well. They seem a decent set of chaps and they have a good process for their interview. The interview consists of three parts: an review of their company, a test for the candidate, and a discussion of the position. They put some thought into each of these parts.

For the test, I picked the SQL database access question. My first through was "Oh this will be hard". After building a small GUI, my second thought was "This isn't so hard". Then moving to the database access, my initial thought was "oh my gosh I have no idea how to do this", quickly replaced with "use the help!". With the on-line Microsoft help, I was able to use a set of classes and methods to extract the desired data. Why does my brain, when confronted with a problem and have no immediate solution, think that I will fail? Has it no confidence in the rest of my brain?

They have some other candidates, and should get back to me next week.

Wednesday, July 8, 2009

Networking and GnuPG

Two things to report today: some networking tonight and an interview with a staffing company for tomorrow.

I went to the CALUG (Columbia Area Linux User Group) meeting tonight. At this meeting, like last night's, was a recruiter! (A different recruiter from a different company.) The main topic of the meeting was GnuPG, but we talked with the recruiter first about a challenge that she had: interviewing and identifying competent Linux administrators.

Vetting a Linux administrator (or a Unix administrator) is easy... if you are an experienced administrator. If you're not, then the problem is quite hard. Various folks had suggestions. The recruiter was hoping to come up with a list of questions for candidates. This method has two problems: administration is general and some questions may not apply in some cases, and a candidate can easily answer a question and fool the questioner (unless they are an administrator).

Tomorrow I interview at Tricom, a small staffing company in Crofton. They e-mailed me this morning about a local position which requires VB.NET; I sent them a response with the good/bad matches to my skills; they want to see me tomorrow. I have the time, so off I will go! If anything, the interview will be good practice. (The position is local which is nice, and connected to the University of Maryland which may give me some good connections, but it uses VB.NET which I have never used, and has no (apparent) connection to web development. An interview should provide more information.)

Tuesday, July 7, 2009

Silverlight: pretty but confusing

I went to the CMAP (Central Maryland Assotiation of .NET Professionals) tonght, and attended a presentation on Silverlight version 3. The presenter was knowledgeable and competent. His material covered  a lot and in a clear manner, and he answered questions quickly and precisely. So I think that I have a good understanding of SIlverlight.

What I don't understand in Microsoft's overall strategy for development platforms. They have several, with lots of overlap.

First is Windows Presentation Framework (WPF), or the "classic" .NET development environment. Applications run under .NET on Windows and nowhere else. Except maybe on Linux under Mono, the .NET clone (not a Microsoft product). Mono lets many WPF applications run, but not all, since not everything in .NET has been ported to Mono. So an app can run under Mono, unless it can't.

Second is ASP.NET, which handles web applications. These may include Javascript in the client and AJAX between client and server. The server will always be Windows Server with IIS and the browser is always Internet Explorer except in some cases when it can be Firefox on Windows or Safari on OSX.

Third is Silverlight, which has morphed from a video player into a full-blown development platform capable of executing logic and displaying a GUI to the user. Silverlight runs in the browser (Internet Explorer, Firefox, or Safari) except when it runs in non-browser mode. There is a clone called Moonlight (also a non-Microsoft product) that lets Silverlight applications run on Linux. Unless they do something that isn't supported in Moonlight, in which case they can't run on Linux.

Fourth is something called "RIA services" (the RIA stands for "Rich Internet Application") which can be used for, well, rich internet applications.

All of these platforms overlap. If I were starting to build an application today, I wouldn't know which one to pick. I don't have time to learn them all (each is quite complex with various strengths and limitations, many of them not obvious) and once I picked one I would immediately have "buyer's regret", fearing that a different platform would have been a better choice.

In sum, I think the meeting was good, and the presentation was good, but now I even more convinced that the Microsoft platform is expensive and time-consuming.

Networking opportunities

In an earlier post, I said that I would put more effort into networking. I've made some progress.

I have two networking opportunities lined up for this week. First is a meeting of CMAP, the Central Maryland Association of .NET Professionals. (That acronym doesn't look quite right. Where's the ".NET"?) They will have a presentation on the latest version of Silverlight. This will be the first CMAP meeting that I attend.

The second opportunity is a meeting of CALUG, the Columbia Area Lunix User Group. I've attended a few of their meetings and they always have interesting topics. This month's meeting is about GnuPG, the excryption tool for Linux. Previous meetings had presentations on the Google Android phone platform and the KDE desktop manager.

I want to look around for other opportunities, perhaps on a slightly more professional level. The GBTC group (Greater Baltimore Technical Council) may be a good start.

Web services are easy; web systems are not

I've successfully built a web service!

It was easier than I expected. I leveraged my existing "source statistics" web application and created a new "page" that provides the statistics data in XML format. The PHP program for the web service is simpler than the PHP program for the standard web page, since it doesn't need the descriptive text and graphics.

I also created a small program to use the web service (the client program). I wrote it in Ruby. I picked that language for two reasons: I want more experience with Ruby and the examples in the RESTful Web Services book are in Ruby. The web service client program took longer than the web service, mostly for me to learn about parsing XML in Ruby.

Ruby has a very nice XML parser! The REXML library pulled in the XML document and let me iterate over the desired elements. After a little experimentation, I had the program I wanted.

The more I learn about web services, the more I understand the issues. Web services, by themselves, are easy. The difficult part is composing a system of web services. The higher level requires a good understanding of the low-level services available, plus an understanding of performance and scalability.

What tools and techniques are available to architects?

Friday, July 3, 2009

Web services are easy

I started reading about web services today, using the on-line Safari book collection. I'm reading O'Reilly's RESTful Web Services, which seems a good introduction to them.

Web services are easier than I thought. Here's a quick run-down:

Web services run on top of HTTP just like the web. With a "normal" web request, a human uses a browser to request a document. The web server returns the document in HTML format. (There are some variations on this, such as dynamically generated documents.) The browser renders the HTML for the human.

With a web service, a program makes the request, not a human. The request goes to the web server, which returns data in XML format, not HTML. Like a normal request, the result may be static or dynamically generated. The program then picks apart the XML and does whatever it needs with the data. There are some differences between REST and SOAP, but the idea is the same.

I suspect that the big challenge is not the technicals of requests and responses, but organizing the front-end and back-end programs. Web services define an interface, and they are always important to get right.

Wednesday, July 1, 2009

Phone interview with CACI

I had a phone interview with CACI today. This was the second phone interview. The first one was a few weeks ago with the project manager. This one was with a technical lead. He described the work that they do, asked me a few questions about C#, and let me ask a few questions.

The C# questions were fairly easy, although I  stumbled on the "what is the difference between a shared and private assembly?" question. He also asked about PHP, which was not on the original description. I told him a little about my first web app using PHP and MySQL.

I think that the interview went fairly well, but I'm not pinning my hopes on this position. They are migrating a system from C++ (and other languages) to C#. I would rather move to dynamic languages (Python or Ruby).

Their offices are close to a stop on the MARC rail line: about a one mile walk. This is an advantage; I would like a situation where I do not have to drive.