Archives

Archives / 2003 / August
  • dScribe update

    Wow! My CMS project dScribe take a great shape today when I was able to see the front-end getting the content from my database ;-)

    For the moment I just have to declare this in the different sections of the test site
    Scoilnet, and voila!

  • The Unofficial blogs.gotdotnet.com main feed

    Well rather then complain about the lack of a main feed for http://blogs.gotdotnet.com/ I decided to code up a little app to create a feed.  The current feed only includes the blogs running BlogX so guys like Don Box are currently not included.  I'll write more about how I created the main feed as well as release the source for the feed creator in a later post.  For the time being point your aggregators over to http://www.emxtechnologies.com/gotdotnet-blogs/mainfeed.xml and let me know what you think!

  • Code magazine

    We are all saying good things about MSDN magazine, the last issue is sadly not the best IMHO.

    But I would like to give some kudos to the excellent Code, going on better and better every month.

    The last issue cover a large area, from first steps to develop on a Tablet PC to the complexity of .Net threads.

    Add to this that they have most of the best .Net writers like Dino Esposito and you finish with an excellent reading.

    BTW does somebody know if Dino has a blog ? It will be a fanatstic news.

  • ASP.NET and xHTML Compliance

    On this blog, you can find a rant about ASP.Net and the fact that it's not compliant with XHTML standards.

    I read the comments, but I didn't found a suitable positive answer to this issue, sadly most of them are negative views.

    The only one interesting is about this article “
    Valid XHTML within .NET” and it's a good start for a solution.

    You can download the source here.

    Any comments ?

  • Datareader HasRows but don't read back or forward

    In my previous post I submit this 'little' annoyance I have with Datareader.

    Unfortunatly Matt and Dave your answer is wrong, I already tested with.Hasrows before, I should mention it in my post.

    Hasrows is a valid test but don't read any data.

  • Bridging the gap between .NET and J2EE

    In his article David Longworth talk about interoperability between J2EE and .Net.
    What I liked to read there is a sort of neutral point of view on the subject, putting Java and .Net on their real application and strength.

    For David .Net win certainly in the productivity area, where J2EE seems to be overcomplicated for many.

  • Generics as Type Constructors

    From Don Box:
     
    The CLR began its life with three fixed type constructors:
     
    • Array (T[])
    • Managed Pointer (T&)
    • Unmanaged Pointer (T*)
     
    Each of these type constructors acts as an operator on another type and allows you to construct new types without an explicit definition.
     
    For example, given this type:
     
    public struct Person { public string SSN; public double Age; }
     
    I can now ask the CLR to create new types by applying one or more type constructors:
     
    Console.WriteLine(Type.GetType("Person[]"));
    Console.WriteLine(Type.GetType("Person*"));
    Console.WriteLine(Type.GetType("Person&"));
    Console.WriteLine(Type.GetType("Person[][]"));
    Console.WriteLine(Type.GetType("Person[][]&"));
    Console.WriteLine(Type.GetType("Person[][][][]&"));
     
    The six types that are loaded by these statements have no a priori definition - rather, they are synthesized out of thin air by applying one or more operators to a "real" type.
     
    Generics in the CLR allow anyone to write a type constructor. For example, consider this generic type:
     
    public struct Named<T> {
      public T Value;
      pubic string Name;
    }
     
    Given this new "operator", I can do the following (note that GetType uses [] not <> for parameters):
     
    Console.WriteLine(Type.GetType("Named[Person]"));
    Console.WriteLine(Type.GetType("Named[Person][]"));
    Console.WriteLine(Type.GetType("Named[Person[]]"));
    Console.WriteLine(Type.GetType("Named[Named[Person]]"));
    Console.WriteLine(Type.GetType("Named[Named[Named[Person]]]"));
     
    which is roughly equivalent to this more direct version:
     
    Console.WriteLine(typeof(Named<Person>));
    Console.WriteLine(typeof(Named<Person>[]));
    Console.WriteLine(typeof(Named<Person[]>));
    Console.WriteLine(typeof(Named<Named<Person>>));
    Console.WriteLine(typeof(Named<Named<Named<Person>>>));
     
    As this example shows, Named<T> is yet another operator I can compose with other operators (both the built-in and user-defined type operators). 
     
    This compositional style of taking two or more abstractions that know nothing about one another and combining them to get higher-order functionality has really changed the way I look at designing object models. 

  • Microsoft bloggers on the grill

    Interesting thoughts from John Udell about the fact that you can find more interesting posts in the blogs than in MSDN .Reading this make me think that some growing conflicts are raising slowly in Microsoft. I hope it will not be the start of the end for some very good MS bloggers.

  • Rollover navigation bar with 2 images

    I promised yesterday to post my trick to create an easy navigation bar with only two images.
    When you have a basic navigation bar with multiple images, it can make the web page very heavy if you have to preload a lot of multiple images to  do a rollover with every image.
    In this example, I have 8 buttons, so that's means 16 images to have a rollover effect with mouse over and mouse out.
    So what you can do is to prepare your navigation bar with Photoshop or ImageReady or Paintshop Pro.
    You create the two bar states like this with an imagemap for each button:

  • Autoupdate SQL Server

    Paschal, why couldn't you manage this with a server with a DMZ server with a hole opened up to the inside with IPSec to keep it secure? I agree that the box can't be hit directly, but surely there is a reasonable way to accomplish this objective.

  • Blogarithm

    Wow! I just discovered a coool blog service called Blogarithm.

    The purpose there is to send you by email an alert everytime your favorites blogs are updated.

    Coool ;-)

  • Fast rollovers, no preload needed

    When using CSS rollovers with images, two, three, or more images must be loaded (and preloaded for best results) - one imgae for each state (normal, hover, active, visited etc). Putting all pictures into one image makes dynamic changes faster and requires no preload.

  • Mini-Tabs Shapes

    This is a really cool thing to inaugurate the new category I added to my blog.

    I really enjoy playing with CSS, and the amazing thing you can do with this.

    The proof ? This nice Mini shape tabs article published by Simplebits

    It's a method to implement little graphic shapes in your list-based navigation

  • BBC News Styleguide

    I think all bloogers (include me of course ;-)) should read this PDF document from the BBC, a good lesson in writing news.

  • ASP.NET Side-by-Side Execution of .NET Framework 1.0 and 1.1

    In ASP.NET, applications are said to be running side by side when they are installed on the same computer, but use different versions of the .NET Framework. The following topic describes how to configure ASP.NET applications for side-by-side execution and provides detailed steps to:

  • .NET 18,000 mile checkup

    A nice article summarizing some companies opinions about what's in .NET that they like 18 months after it's release (has it really been only that long ago :-)) and what they wish was "in the box".

  • My experience with a Sysadmin

    I don't like to talk about my personal relations with my colleagues, but here I have to deal with a very *stubborn* Sysadmin, who don't take seriously the recent threats coming from MSBlast or Sobig.

    I really don't understand this attitude, so because we are a small group, I decided to pass over him and do the different patches myself.

    So now things seems to be better, but what an experience to deal with that.

    I probably have to take some advice on 'How to deal with the Sysadmin without being rude' ;-)

    I also heard many times that virus are only for Windows, and we are all morons to not jumping on the Linux wagon.

    Well I think that people who develops such pesty things are only attracted by the mass effect.

  • .Net couple

    Scott post about his collaborative work on dotnetToolbox with his fiancee.

    What a lucky man, somebody who can probably understand what is it to be a developer ;-)

    Imagine the conversation at home, about Reflection, abstract classes or OOP.

    Please pass me the salt, thanks darling... Oh by the way darling how was your day with System.XML ?

  • Spam strategy ;-)

    Dave seems to have received the dumbest spam I ever seen (until the next one) ;-).

    Whatever we think about those spammers, they have a great sense of creativity !

  • Blaster Form and windows Update

    My two cents on this story with Blaster worm:

    Why, when I choose Windows Update from the start menu, and asked for the latest updates, the patch for Blaster worn doesn't come in the Critical Updates ?
    And it doesn't appear at all !

  • WS-I Announces General Availability of the Basic Profile 1.0

    BOSTON, Aug. 12, 2003 — Today, at XML Web Services One, the Web Services Interoperability Organization (WS-I) announced the general availability of the Basic Profile 1.0.  The Basic Profile 1.0, which has been formally approved by the WS-I member community, consists of implementation guidelines on how core Web services specifications should be used together to develop interoperable Web services.  The specifications covered by the Basic Profile include SOAP 1.1, WSDL 1.1, UDDI 2.0, XML 1.0 and XML Schema.

  • Folder rights access

    I have a good question there. I have a .Net hosted outside my network this time.

    what I have in my code is a small CMS to let some users uploading images in a specific folder of the website.

    What's baffle me is that after deploying the site to the hosting provider, I am unable to upload images to the specified folder.

  • ASP Today is back!

    Well the first article by alex Homer is a bit disappointing to say the least !

    It's more a brochure about what you have in Windows 2003. It should be a free article as as a starter for the new site.

    As many surely I was eagerly waiting for a 'bang' article not something that you can find almost everywhere for free.

    I was also expecting some new design to introduce the new site.

  • A-list bloggers parody

    Cool , here we go with Robert Scoble:

    I am nice, reasonable, normal smart type, not always given to the usual Blog Groupthink. I am not like all those other Bloggers. So why I am a Blogger? I am just gaming this meme. Link to friends. Link to more friends. Link to other friends. Link to these friends. Link to more friends. Link to my boss, he’s way way cool. Hey, didyah know, I used to work for Radio Userland. And I used to plan Tech Conferences, I know every Geek in the world! They all like me. Link to other friends. Link to Microsoft developers. NEC Tablet PC rocks. See this picture of Bill Gates holding one, here’s another picture. But I have a Toshiba Tablet PC at Microsoft, as the NEC Tablet PC is not on Microsoft’s approved list. Link to .NET developers. Link to friends. Link to other friends. I like Apple too. Link to other friends. Microsoft stories. Working at Microsoft is so very super cool. I love this place. Woz is my friend. Don Box is my friend. Chris Sells is my friend. Chris Pirillo is my friend. I am Dave Winer’s only friend. Name drop here, name drop there. Link to this Developer here, link to that Developer there. Blogs are like everything. So what if I don’t have that many readers? I want quality. Its all about quality. People who don’t read me, obviously aren’t quality material. Blogs are power. Link to friends. I am friends of all. And now look who I am having lunch with. I know lots of people, used to be Silicon Valley Geek Schmooze King, now I am playing the same game in Seattle. Name drop here, name drop there. Blogger Movie Night. Blogger Food Court Night. Blogger Shopping Spree. Blogger Wal-Mart Blueberry Slurpee run. Link to friends. Link to other friends. Career advice. Link to friends. Link to other friends. I love working at Microsoft. Come to the Professional Developers Conference. Link to friends. Link to other friends. If you are an important person, wanta do lunch? Link to friends. Name drop here, name drop there.

    Read other bloggers here

  • Blogstreet

    Blogstreet is another Blogs search engine. This one is interesting, because they have some nice features like a RSS Generator, to create RSS from non RSS blogs, a profile search, and a blogs top ranking system.

  • Open your blog mind

    The blogosphere itself may be free of geographic constraints, but the cultural and linguistic differences between countries are still present.

  • HasRows logic flaw

    Well maybe the title of this post is a bit strong. It's not really a flaw, but something occurs to me today using this new Datareader property.

    If you use Hasrows it doesn't mean that you have indeed read any data !

    I know it looks strange, but Hasrows is just there to check that some data are in your reader.

    What is the point to open a datareader, tell me that I have rows, and not reading the data ;-)

    Where is the logic of this ?

    So unless someone tell me I am a stupid man (and I am surely going to receive hundreds of comments with something like that ;-)) I stay with the 'old' version of my code which test and read the first record in the same time:

    If MyDataReader.Read then

  • Meaning map

    Meaning Map is a client-server software alternative to online message boards, and a whole new way of looking at political space. Because of its complexity, it has to run as a stand-alone client application on your computer (much like a web browser), instead of running directly in a web page. For now, the Meaning Map client is only available on Windows.

  • Epitaph

    Fun comment from Addy on a previous post :

    Hey guess what - if you could see the source code it wouldn't help anyway because everyone knows that the world would be "sealed" :)

  • VB.Net language design

    MSDN has posted a transcript of the chat that I and other members of my team had a few weeks ago about VB.NET language design. It ended up being much more about future features than past decisions, but that's to be expected. It was a fun chat for us, and we hope to be able to do another one in the not-too-distant future!

    From
    Paul

  • Joke of the day :-)

    A girl asks her boyfriend to come over Friday night and have dinner with her parents. This being a big event, the girl tells her boyfriend that after dinner, she would like to go out and “do it” for the first time.

    Well, the boy is ecstatic, but he has never done it before, so he takes a trip to the pharmacist to get some protection. The pharmacist helps the boy for about an hour. He tells the boy everything there is to know about protection and doing it.

    At the register, the pharmacist asks the boy how many he’d like to buy; a 3-pack, a 10-pack, or a family pack. The boy insists on the family pack because he says he expects to be “pretty busy.”

    That night, the boy shows up at the girl’s parent’s house and meets his girlfriend at the door “Oh I’m so excited for you to meet my parents, come on in.” The boy goes inside and is taken to the dinner table where the girl’s parents are seated.

    The boy quickly offers to say grace and bows his head. A minute passes, and the boy still deep in prayer with his head down.

    Ten minutes pass and still no movement from the boy.

    Finally, after 20 minutes with his head down, the girlfriend leans over and whispers to her boyfriend, “I had no idea you were so religious.”

    The boy turns and whispers back, “I had no idea your father was a pharmacist
    .”

  • VS Code Generator Shim

    The VS Code Generator Shim is a generic custom tool for Visual Studio .NET 2002 and 2003 that enables code generators to be written easily and quickly in just about any .NET language and using familiar .NET Framework constructs. A standard custom tool designed for Visual Studio must use COM interoperability (when written in managed code) and register with the IDE to be fully operational, but the shim help eliminates these requirements entirely. You only need to create a class and expose a single method to write a code generator now. What's more, the code generator can be completely idependent of Visual Studio releases.

  • New Abstract DAAB - Some details please

    This is a new version for the DAAB supporting a common base code which uses only ADO.NET interfaces in an abstract base class. Then simple providers sets the correct instances for each ADO.NET provider.

    If somebody wants to add a new provider NUnit test cases are provided so you can reuse them to test you provider.

  • PDC - the comments

    One problem: there can only be one PDC. Why? Because the PDC only happens when Microsoft is going to unveil a big new platform. Or, in the case of this year's PDC, three new platforms (new VS, new SQL, new Windows).

    Also, what makes the PDC the PDC? Microsoft employee participation. Do you realize that every Microsoft employee has to justify attending to their boss (and their boss has to pick up the cost?)

    Turns out we're not expecting to make a profit on the PDC, even with Microsoft paying for employees to attend.

    For a Microsoft employee, it's already hard to justify going to a conference like this. If you add in a 19-hour flight somewhere, it'll be even more difficult. And, there can only be one PDC, not a series. So, no matter where we put it, people are gonna gripe about having to fly 19 hours to come to it (if it's in Europe, Asia, for instance, would have to fly, and most of America). If it's in Asia, then everyone else won't come. It's a real hard problem.

    When I planned the VBITS conferences we held them all over the world, but the ones in San Francisco were always better than the rest (and demonstratably so). Why? Most of the world's Microsoft developers live within a five hour flight of San Francisco. Our European and Asian conferences were always about 1/5th the attendance, and not as good technical content.

  • You Just Can't Kill Visual Basic

    To add more fuel to the debate Julia initiated regarding the language of choice, I found this article very enlightning:
    Pundits are still predicting an uncertain future for VB, showing a complete misunderstanding of the issues that make a programming language popular and ignoring the very spirit of VB itself. 
    Source: Devx

    The title of the second page is more aggressive: Will C# Replace VB?
     

  • PDC location

    Pascal, not even being in America would have to spend a small fortune to attend.  Now, neither of us wouldn't have much of a problem with this if we could somehow purchase the DVDs of the confs, and get whatever code/software is released to the developers.  Heck, I'd pay around $500 bucks for that.

  • Your Guide to Looking Busy at Work

    The computer has irreversibly changed the workplace. E-mail has replaced memos, Winamp has replaced the portable FM radio and stupid Far Side desktop wallpapers have replaced stupid Far Side wall calendars.

    With all these changes, we often overlook the single greatest boon that computers have brough to the employed masses: the ability to look busy.

  • SCO Announces Intellectual Property License for Linux

    LINDON, Utah, Aug. 5 /PRNewswire-FirstCall/ -- The SCO Group, Inc. (Nasdaq: SCOX - News), the owner and licensor of the core UNIX® operating system source code, today announced the availability of the SCO Intellectual Property License for Linux®. The run-time license permits the use of SCO's intellectual property, in binary form only, as contained in Linux distributions. By purchasing a SCO Intellectual Property License, customers avoid infringement of SCO's intellectual property rights in Linux 2.4 and Linux 2.5 kernels. Because the SCO license authorizes run-time use only, customers also comply with the General Public License, under which Linux is distributed.
    SCO announced in July that it had registered the copyrights to its software releases of UNIX System V and UnixWare® with the U.S. Copyright office and that it would offer licenses to cure the SCO IP infringement issues for Linux operating systems. Beginning this week, SCO will start meeting with commercial Linux customers to present the details of this right to use SCO intellectual property binary licensing program.

  • Synonyms search in Google

    As Google Weblog reports, there is a new operator in Google Search Engine, in which you can search for synonyms of a key word while you are searching for the main key word. Adding a "~" to your key word, will make Google to search for synonyms of the key word as well as itself. I tried its Farsi edition, but it wasn't available. I think only English edition got this feature for the moment. What's more, you can look for synonyms of a word, using the method Waxy discusses here. Google is a dictionary now! And a complete report by Microdoc News.

  • The .NET Language Paradigm

    This is really the most stupid article recently published on the Code Project.

    Is it because it's holidays time and they can't find any good stuff ?

    Rai Umair is surely a good developer, no doubt about that, but his article has a wrong summary and a wrong title:

  • Blogging in the Sun

    Have you ever try to use your laptop outdoors with a blazing Sun ?

    Well for me look like a dark screen experience :-)

    That's why I didn't blogged too much this week end.

    The choice was having a tan, or stay in the shadows to dotnetblog !

    Guess what I choosed :-)