June 2004 Blog Posts

  • Congrats Mono team...

    Mono 1.0 has been released and there is now a new web site - http://www.mono-project.com/about/index.html Now I wonder how well it will run on my Mac... ASPX on the Mac, baby!  I can't wait to get rid of my JSP project (no offense to Java developers)!

  • Announcing my very lame XSLTTransform addin (For Roy's contest)

    So, I ran out of time.  Sometimes I do really well with pressure (this was not one of those times).  I did manage to clean up my work and submit it this morning.  I built an addin that when activated asks you for an XML file and then asks for an XSLT file.  It finally uses the XSLT to transform the XML doc and displays the results as a new file in the Visual Studio environment (I know it's not that big of a deal, but it does work).  The only thing I didn't do was give a sample set...

  • I miss Rory

    As I sit here listening to last week's .Net Rocks.  I have to say that I really miss Rory.  Recently some people mentioned Caustic Tech (I've forgotten the link) as a possible solution to my Rory-withdrawal, but it pales in comparison to the very smart (and sometimes bizarre) writing style of Rory.  Please come back soon Rory!  I'm missing the weirdness...  I was hoping that you would be back by now!

  • Are spammers stupid?

    I've been getting some weird spam the last several months.  I've been getting one word subject lines, and sometimes strange combinations of words.  My suspicion is that they are looking to see if the email address is real. In case, you don't know what they do is put a small hidden image tag in your email that goes back to their server.  If they get a hit then they know that you're email address is real.  I've thought about doing a strike back by writing a small .Net app that pings there page constantly... figuring that eventually you will wipe out their...

  • Announcing: SQL Permissions Addin for VS.Net

    Ok, as you all may be aware I have been wanting to put an entry into Roy's Add-in contest. I decided to go ahead and tell you all what I'm trying to do.  First of all, I've come up with a couple add-in ideas (none of which are possible in the short amount of time that I have); I know I've mentioned a few here... I'm sorry I'm not going to be able to do all of them.  Roy gave me the final piece of the puzzle here.  Boy, does creating addins suck or what... I really wish COM was dead...

  • My office problem... solved!

    Ok, I thought I would document my Office 2003 woes.  I discussed the problem here.  <disclaimer>Before I go any further, I want to say that I can't promise that what I'm going to tell you may or may not work for you.  It might work and then it might cause damage to your system.  For instance, it might cause your hard drive to be projectile vomited out of your machine and hit a car passing by, your machine might start sending spam for no apparent reason, your machine might start dialing the phone so that it can talk to strange computers in...

  • The Essence of OOP Thinking...

    <personal_note>Sorry it's been so long since I wrote anything... I've been very busy... I just excused myself from a project I was helping out with, and am now in the process of cleaning/painting/etc. my home so that we can sell it... we've outgrown our current home, or rather we will soon with another baby on the way (my second child).</personal_note> <post>(I'm in an XML mood can you tell?  This post has nothing to do with XML, BTW).  Today I had a really cool moment!  I needed to change the way my app was working.  I was using PageContext to transfer data...

  • dotNet Q&A!!!!!

    Woohoo!  Donny liked the Q&A idea, so we have made it liive!  EMail your Questions to then Q&A blog. I posted about this about a week and a half ago here. [be sure to pass the word!  Yeah, go ahead blog about it... I want Scoble to visit it and say on his blog that it is a good idea... (like that's going to happen)]

  • CodeSmith... clarification and a retraction

    Ok, This weekend I re-discovered CodeSmith.  With Eric's comments on my blog, I realized that I couldn't really remember why I laid CodeSmith aside.  I know why now, and I aim to fix some of the problems (for me...) I have 2 issues.  The first is that code doesn't automatically get written to the IDE (although I can save a file)... (For those who know, yes, I think there may be a solution, and intend to try to make one... Hint... Roy Osherove's contest comes to mind) The second issue is that at the time I first touched it there weren't that many VB templates. ...

  • I'm tired of Developing from Chaos...

    Henry showed me this (I just now realized that it is meant --partially-- as a joke).  It's called TODO-driven development.  I realize that the author is somewhat joking (So I won't give him/her too much crap), but it does strike a chord with me. I'm getting to a place where I want to create well-planned (the proper buzzword is “architected“) solutions.  Unfortunately, I find that much of what I do is not all that different from the methodology laid out (so Henry, you may have been playing with it for the weekend... I would contend that I've been doing this for...

  • I need some help...

    I'm having a problem at home and I'm hoping that someone can help me out.  I recently got a new hard drive for my machine at home.  I added the new drive and copied over the old C: drive using a utility that came from Western Digital.  Everything works perfectly except: Office 2003.  Here are the problems (BTW, I'm running the Windows XP SP2 Release Candidate).  1) The Email link in the start menu no longer launches Outlook, but opens the My Documents folder2) (this is the biggie).  At first when I launched Word or Outlook, I would get an installer dialog...

  • You can't stop Technology...

    you either roll with it and use it or you get steam rolled by it.  What am I talking about? d.code just emailed me this (and blogged about it here).  It seems that the RIAA is concerned about people stealing music over the airwaves and they want Digital radio to have some way of copy protecting their rights (you can read the story). These guys amaze me.  During the recession that we've been enduring where all industry has been down, they have been complaining that piracy was the reason that their sales were down (not that many of us were tightening the belt and music...

  • CodeSmith... What I was trying to accomplish

    This is a continuation of my conversation here.  Eric was wondering what in the world I was trying to accomplish I have attached a simple template.... Maybe I'm both stubborn and dumb... I'd rather hand craft classes to fit my will... All of this has convinced me that I need to revisit CodeSmith, BTW... Jay PS. All I'm trying to do is create a simple template to generate multiple properties for me in VB. <%@ CodeTemplate Language="VB" TargetLanguage="VB" Description="Multiple Property generator." %><%@ Property Name="CollectionOfProperties" Type="myCollectionOfProperties" Category="Misc" Description="Collection of Properties" %> <% for x as Integer = 0 to CollectionOfProperties.Count-1   With CollectionOfProperties(x) %> Protected _<%= .PropertyName %>...

  • Template Code Generation... and my plans

    In light of all the stuff I've been thinking about OOP, I'm beginning to understand the need/use for code generation tools.  Being able to generate a whole slew of files based on the way the database is laid out is becoming something I'm starting to warm up to.  I now have a way that I want to do things (given any data structure I know exactly how I'm going to produce code for that structure); I'm now realizing the amount of time it takes to produce a complex object model (even though I know exactly what I'm producing).  Things like...

  • Pocket C# compiler (PNET)

    Yeah!  The PNet C# compiler has been ported to the pocketpc.  Yeah!  I can now code on the PocketPC itself (I hope). Here's the URL to use to download it: http://www.pocketgear.com/software_detail.asp?id=14202. [you can also download form the main link] The project home is at  http://mifki.ru/pcsharp/  

  • Adventures In OOP: What not to do first...

    Ok, I believe that I made one mistake when I started this category on my blog (something I plan on fixing right now). I wrote the blog for the Daves of the world.  The people who know how to use .Net.  They understand terms like inheritance, but aren't sure how to get themselves in the right mode to use it. If you are a total newbie to OOP then this post is for you.  I want to define a couple terms (and I'm going to try to do so in an easy to understand manner).  If you are an OOP...

  • PocketGCC 3.3 and other PocketPC news...

    I joined the PocketGCC mailing list a few months ago.  Vitaly was the original porter of GCC to Windows CE (it runs on the device)... I believe that it is less than the latest version (I think it's version 3.3).  Vitaly also released an IDE written in the .NetCF.  I believe you can find the latest release on PocketGear (or you can go to the PocketGCC yahoo group. A few months later, Maimach released version a port of GCC 3.3 (his version also works with DLLs written in the MS compiler).  You can get his compiler here.  BTW, he released a version for the...

  • A crazy idea...

    Ok, I have this crazy idea, but I want to know what other bloggers think before I proceed.  I don't use the MS newsgroups.  I don't use forums on sites like asp.net or even dotnetjunkies.  When I have a problem there is one place that I go.  I go to google.  I type in some keywords and wade through what comes back.  If I don't get satisfactory results I go back and try some different keywords.  Meanwhile I begin to scan the documentation or look for libraries that get around my problem.  In fact I do everything in my power...

  • Add Ethics to your profession...

    I've been thinking about something that has recently begun to happen in my career.  I'm actively doing it now as opposed to passively doing it.  I'm starting to apply my ethics to what I do.  Now I know that some of you don't have my ethics (mealing that you'll work on porno, for instance)., but I think most of us agree that spam is an evil that must die! I owe part of what I've got to say to the Bob Reselman interview by Carl and Rory.  Bob said something along the lines that we as developers need to take control back. ...

  • Not quite "Google weirdos"

    [Note Google Werdos is a non-registered copyright of Neopoleon.com... used without permission] Ok, I check my referral logs today... I like to see if someone "famous" has discovered a blog post and they are about to flood me with traffic... when I notice this as a referral http://file://windows/default.htm So I check my windows folder and I don't find anything??!!!??  Maybe someone has an underground network of blogs...  In fact here's another one (I actually clicked on it to see who it was before I looked at the IP)http://192.168.1.111/pages/myaggregator/index.cfm?p0=jwoaieqmiszxmwjhvro6we9fcwt98m1sepvh5ajtbqic65zu3jch3a7+kaym0fncpvw2lzn88g== (This one goes way back) Those last 2 are almost as good as: http://iamstudying.com/wiki/wiki.asp?db=wikiasp&dbname=defaultdb&o=patternsandpractices Ok, so I'll bite what are...

  • N-Tier development

    [Sorry for the re-post.  The formatted code is messing with the overall formatting of this page.](Ok, I'm going to try to recapture the post as best as I can, but in less time... sorry it's going to seem a little more rushed than I would like). (Also, Chris be sure to read carefully... you may find an answer to your question.) Ok, so here's the “reader's digest version” of what n-Tier development is.  Originally this concept was called “3 tier development”  The 3 tiers are Presentation (your GUI), Data (getting data from the database), and Business (the actual rules associated with your...

  • A funny thing happened on my way to a post...

    I spent all afternoon (in and out of the web form while doing a bunch of other things) writing an awesome post on the glories of n-Tier development.  Only to have dotText tell me that my post had some illegal tag in it (I'm using SquishyWare's syntax colorizing software).  When this happened I lost the entire post... why? This is horrible!!!! My user would tell me to fix a problem like this...

  • Soon to be joining futuritis

    I just wanted you all to know that despite my rants about futuritis, I will be joining the race.  As soon as my new 200 GB hard drive gets here I will have the space necessary to run some of the goodness. Now if some MS employee (or connected blogger) could hook me up with a LEGITIMATE source for longhorn and Vs 2k5 Community Preview, I will start messing with them and blogging (BTW, I could utilize other less legitimate sources to get the bits, but I would prefer to get them from an official source)  Anyone?  Mr. Box has both posted here and referred...

  • Why should I use classes and objects? And how should I approach this task?

    (This post and others in the “Adventures in OOP“ category is focused at non-OOP programmers and attempts to help them make the jump into OOP programming). So why code with classes and objects?  Maybe the first question might be why someone doesn't use them?  I think there are a couple answers to this question (If you don't use them you know why you don't).   One answer is that you just don't know that much about them.  Or that you know about them, but don't know how to put your brain in the right line of thinking to produce classes/objects (BTW, I use these terms somewhat interchangably......

  • Adventures in OOP

    This marks the beginning of a new category.  I've had a bunch of things floating in my head.  A number of things have been floating around in my head for the last week, and it's now somewhat come together for me.  So, my parents recently bought a printer, and this caused me to begin to think of some stuff that we have wrong in the software industry.  My parents bought a new printer not because there was anything wrong with the old one (in fact they have about 6 or 7 printers at last count).  They bought a new printer...