If It Weren't So Sad, It Would Be Funny: The New York Monaghan Association decided against carrying its traditional banner in the New York St. Patrick's Day parade, because apparently County Monaghan (a map of which is featured on the banner) bears a striking resemblance to Iraq.
New Yorkers, of course, are still angry with Iraq due to its involvement in the Sept. 11 attacks.
In the vb.dotnet.discussion group at DevX, .NOT-regular Mike Mitchell rants that VB.NET is too complex to be considered "BASIC." Not surprisingly, I disagree:
Just this past week,...my employer wanted a simple app for importing data from flat files into a relational database. I decided that a "Wizard" UI made the most sense (Step 1: Select data source; Step 2: Select destination; Step 3: Perform import).
Now, I've created plenty of wizard-type apps in VB3 through 6: In 1996, I wrote a VBPJ article about how to create efficient, maintainable multi-page UIs, and I gave VBITS presentations in 2000 and 2001 which featured an updated technique for VB6 based on UserControls.
Guess what? VB.NET was much less complex, but just as efficient, as the techniques (read: hacks) I had devised for VB3-6. I wrote the entire app in less than one day.
How do you explain that, Mike? If VB.NET is so inherently complex, how could I have developed a polished VB.NET UI in a fraction of the time it took me to create the same UI in VB6?
The technique I used for this app, incidentally, is visual inheritance: I created a generic wizard form to serve as a base class, then I inherited from this form to create each page of the wizard. Cake!
J2EE vs .NET: In a piece for Java Pro Magazine, Budi Kurniawan compares and contrasts J2EE with .NET, and concludes that J2EE had better watch its back. I'm curious whether other Java programmers feel it's a fair comparison?
Manipulating data is a primary capability of any dynamic Web app. Unlike rich clients, providing a user-friendly interface to do so can be painful. Users want dropdowns, checkboxes, radio buttons... and ASP.NET has made it easy!
See how using the TemplateColumn provides a richer UI when working with the ASP.NET DataGrid control.
[Ironically, Chris' article on the virtues of ASP.NET appears on a JSP page! :-) -- PW]
Source: Chris Goldfarb's Radio Weblog
Over in the FTPOnline discussion groups, Ray asks:
Now that foreign H-1Bs have flooded the IT job market in the USA and many firms are simply "off-shoring" their IT work to Asia, is there a future?
First of all, I'm not sure I accept that "H-1Bs have flooded the IT job market in the USA." What exactly does that mean? Are there more H-1B workers than Americans in the U.S. IT industry? I think not. But setting that aside for the moment...
I think there is a future for IT professionals who are willing to adapt in order to remain competitive in
today's changing market.
In the 1970s, the U.S. auto industry faced stiff competition from Japan. Protectionism didn't work; Americans bought Japanese cars because they offered consumers what they wanted: improved fuel efficiency at lower cost. In order to compete, Detroit had to adapt in order to meet Americans' needs as effectively as the Japanese were.
Similarly, if U.S. companies are hiring H-1B employees or sending IT work offshore, it's because foreign workers are meeting those companies' needs better than Americans are willing or able to. In order to compete, Americans must adapt: Are we willing to relocate to where the jobs are? Are we willing to work as diligently as foreign workers without demanding unreasonably high compensation? If coding becomes a commodity, are we willing to learn new skills, such as architecture, design, or project management, to distinguish ourselves and justify the salaries we desire?
Where do Americans work in, say, the garment industry? Hint: It's not in the sewing sweatshops. We learned long ago that, to make a decent wage in that industry, we needed to learn new skills to justify that wage. The IT industry now faces a similar situation. Those willing to adapt will remain competitive and employable; the others should perhaps consider changing careers. Or moving to India.
Fran Lebowitz: "Ask your child what he wants for dinner only if he's buying."
I implemented an RSS feed for FTPOnline last night; .NET's XML serialization capabilities made it relatively painless.
First, I created this class to model the feed. (I actually cheated and used .NET's xsd.exe utility, first to create a schema based on my own RSS feed, then to generate a VB.NET class from that schema. All I had to do then was tweak the code to use a collection instead of an array for the items.)
Now all it takes to update the feed is to populate the RSS object and serialize it to XML:
Dim rssFeed As New rss()
Const BaseURL As String = "http://www.ftponline.com"
With rssFeed.channel
.title = "FTPOnline"
.description = "Technical information for " & _
"developers and IT professionals from " & _
"the FTP family of publications and conferences."
.link = BaseURL
End With
' -- Query database for recent items
' Loop through DataReader, adding items to feed
Do While drFeatures.Read
Dim rssItem As New rssChannelItem()
With rssItem
.link = CStr(drFeatures!headerLink)
' Fully-qualify relative links
If InStr(.link, "http://") = 0 Then
.link = BaseURL & .link
End If
.title = CStr(drFeatures!headerText)
.description = CStr(drFeatures!text)
.pubDate = Format(drFeatures!dateCreated, "R")
End With
rssFeed.channel.item.Add(rssItem)
Loop
drFeatures.Close()
' Serialize RSS object to file
Dim xml As New XmlSerializer(GetType(rss))
Dim strFile As New FileStream("d:\path\rss.xml", FileMode.Create)
' Empty namespaces collection eliminates
' default namespace attributes from XML root
Dim xmlns As New XmlSerializerNamespaces()
xmlns.Add(String.Empty, String.Empty)
xml.Serialize(strFile, rssFeed, xmlns)
J. W. Eagan: "Never judge a book by its movie."
Dave's Web of Lies: An hilarious repository of Internet "facts," such as:
It is against U.S. Department of Agriculture regulations to advertise or sell as "Prime Rib" any cut of meat containing a non-prime number of ribs.
Source: JWalk Blog
This cool applet creates an interactive map of sites similar to one you specify. Here's my "neighborhood":
Source: Scott Hanselman's Weblog