in

dotnet.org.za

South African .NET Developer Portal

Adam Heunis tech talk

Software mostly, but other techie stuff as well. I primarily use Notepad, Visual Studio, the Command Prompt, XmlSpy, SQL Server, MySQL and Photoshop. I speak
C# (incl. OO), XML, XSL, ASP.NET, VB.NET, VB6, SQL, UML and XForms.

October 2005 - Posts

  • Who says they're illegal?

    This is something that I've been wondering about for a long time. My big problem is that any file - whether the file is an mp3, mpeg or software - is essentially a combination of 0s and 1s. It doesn't mean anything until it gets interpreted by some software (like IE, Windows Media Player) etc.
     
    I'll explain further. So lets say I've downloaded an mp3 from the Internet. When do I break the law? Do I break the law when I download the offending file or do I break the law once I play the offending file for it to make music? If I do break the law when I download the file, how can it be proven that I knew it was an illegal file - it is just a serious of 0s and 1s - how can that be illegal? What if the file can be interpreted in more than way? If you open the file in one application it might be an harmless image, yet if you open the same file in another application it might be an mp3. Technically this is entirely feasable. I don't think there is a way in hell that you can be held liable for owning a series of 0s and 1s.
     
    They would have to prove that you've allready listened to your file for you to be held accountable. How they would do that, I have no idea.
     
    I think that the copyright big boys are still going to find many many digital challenges ahead. I'm not convinced that they'll be able to legally resolve all their issues either. And I have a feeling there could be a "house-of-cards" effect here - once one card fails, the whole lot will come crashing down. We could have a digital free-for-all!
     
    Just for the record: I don't download music illegally.
  • Flock: All the rave in Europe

    If Wikipedia, Skype and Flickr are the first kids on the Web 2.0 block, then Flock is very much the new kid on the block. It is certainly the buzzword in Europe at the moment. Some people like the tech pundit Robert Scoble are even calling it "Awesome"!

    Flock's experience director, Bert Decram, and his co-developers are claiming that Flock is to web browsing what VHS was to TV, but I don't know if it is that big at all. Unless I am misunderstanding something Flock sounds like just another browser, except it has a lot of "web writing" stuff integrated. I have downloaded it and I must say that the integration is very slick. Blogging & photo sharing (for now) is very easy - you just drag and drop paragraphs and photos onto your blogs or photo sites. A little bit like Google's Picasa.

    The idea is very good and it might help to force an IE rethink, but I'm not sure it is the "Office for the Web" (another Flock claim). Time will tell.

    The guys developing this are all from the Mozillla foundation and I think Flock is based on Firefox. You can download a developer preview (version 0.49) at their developer page.

  • IIS 7: Closer integration with .NET

    For those of you that read Scott Guthrie's blog, this will be old news, but it sounds like the folks (to use Dubya's expression) from Redmond have put some thought into the new release of IIS. Version 7 is supposed to be much more modular and as such much more accesible with .NET. As far as I can tell the idea is that most (if not all) configuration settings in IIS will be set in web.config. This coupled with the fact there will be one shared pipeline for all requests (for .aspx files as well as static content) means that:

    • The HttpModule will intercept requests at the lowest level (no more messy and often inaccesible ISAPI filters!). With 6 and earlier, you can use an HttpModule to do all sorts of awesome stuff with .aspx files, but unless you have access to ISAPI filters not static files. I host my site with Brinkster and as such I don't have access to ISAPI, so in my case this makes the very handy HttpModule option totally redundant.
    • Authentication and role-based authorization will be set for IIS and ASP.NET only in ASP.NET (the web.config again I'd think).
    • You will be able to change the default file just by adding a config element in your virtual directory.

    These are three of the items that immediately caught my attention as they are issues I have come accross, but the modular design is sure to have many more advantages. I do believe though that the hosting fraternity is not entirely happy with the new direction!

    It all sounds very promising; the bad news is that it sounds like it won't be out for at least another year.

  • MySQL 5 may ship in November - whoohoo!

    According to a CIO article published 5 days ago, New MySQL Database May Ship Next Month. This is something that the open-source and software community as a whole has been waiting for for what seems like eternity. Even MySQL themselves are calling version 5 its most significant upgrade yet. The BIG improvement that everyone is very aware of is that MySQL 5 will have proper stored procedures. It has other long sought features like triggers, views and better (or more recognised) error-handling as well, but Stored Procs are the biggest improvement. This will almost certainly see them mount more of a challenge to Microsoft's SQL Server and to a lesser extent Oracle.

    I am a huge fan of MySQL (see my previous post on MySQL and .NET) and there are ways to work around the stored procedure shortcomming, but it is without question a huge shortcomming. As anyone with some database knowledge knows SPs are quicker to run, easier to maintain & extend, easier to use with C# (for instance), type-safe & more secure (using type-safe parameters stops any malicious sql being run).

    According to the article they will not be changing their open-source and licensing policies - MySQL will still be available with a General Public License (GPL). This is in contrast to what Phil Armitage, a friend of mine and someone with his ear to the software ground, has been hearing. According to Phil, there could be some interesting (read: bad) news regarding Oracle involvement in MySQL and more specifically InnoDB. I do hope this is just scare-mongering and that MySQL will continue to aspire to those most noble of causes: open-source software. Judging by the job title they have given their co-founder, David Axmark, of "open-sorcerer" we're on the same page.

    I for one am about as excited about MySQL 5 as I am about VS2005!

    Posted Oct 17 2005, 08:04 PM by attie with 1 comment(s)
    Filed under:
  • ASP.NET Podcast

    I haven't posted anything in ages and I realise this is probably not my most researched post, but I do think this would be very useful to the rest of the ASP.NET community.

    Wallace B. McClure (a Yank) publishes the ASP.NET Podcast (rss). For those of you that are into podcasting as I am, this is well worth a listen. This week he interviewed Shanku Niyogi and Nikhil Kothari, two of Microsoft's top ASP.NET guys, regarding Microsoft's Atlas project for ASP.NET.

    Posted Oct 17 2005, 06:23 PM by attie with no comments
    Filed under:
Powered by Community Server (Commercial Edition), by Telligent Systems