Can you digg it?

7 11 2005

Hi.

How you doing?

Me, fine…((smile)) ((wave)) So, I was full of hot air last month, wasn’t I? Needless to say my work is never done at the client, and after a hectic month of final, final, final design, things are finally settling…just in time for the holidays ;)

Anyway, thought I’d drop in my new ‘cool’ site, at least for us techies. We all know /. is the godfather of geek sites. I recently stumbled upon digg.com. Once again, user-posted articles (which can include blogs, etc.), except this is a user-moderated site. Looks like you give a ‘digg’ to each article you digg, and that helps it make the front-page. It’s an interesting (albeit not original) concept…I’ve only read it for a couple of days, and really like the variety and quality of articles…

I mean, c’mon, who hasn’t wanted to read the manual for Pong?





The Macintosh Hell(vetica)

25 08 2005

As I was toiling away on my wife’s website, I came across an extremely weird and frustrating bug/problem. She adamantly wanted to use Helvetica as the font for the text on her e-commerce site; being a non-designer myself, I had no objections, and I put it in the font-family list in the CSS, and then added more mainstream fonts as backups.

After doing so, we noticed all of a sudden that the site was acting strangely in Safari. Most of the pages displayed gibberish, actually what looked like a bunch of numbers and fractions, instead of the text copy. Not being a Mac fan or guru, I struggled to find any semblance of an answer, as I wasn’t sure if it was the browser, or Mac OS X, or what.

Finally I found this Usenet posting that finally described my symptoms in detail. Bullet point 1 was my issue. Looks like for some reason Helvetica Fractions font gets used instead of Helvetica by the OS/Mac browser. Whether it’s due to a font cache issue, or a corrupt font, I’m not sure. Regardless, it’s random (can happen to any Safari user) and I can’t afford to do much else other than make the site work out of the gates for all users (I can’t afford any display issues for any potential user).

So we ended up removing the use of Helvetica altogether; even one unhappy or confused/lost customer is too many. Arial was a nice compromise….but I share this to warn others considering that font, or those who use Safari and wonder what’s going on when some sites have garbled text.





MasterPages in ASP.NET 1.x

16 08 2005

A few people have asked me recently if there is a templating approach that works well for ASP.NET 1.x applications, since we have to wait until version 2.0 for MasterPages. Sure, I say, Master Pages.

Ha, and then I wait for the clarification they were talking about 1.x, and reply, so am I. The beauty of .NET is being able to create such powerful mechanisms or approaches before they are even a ’standard’ tool used by a majority of developers. And that’s just what Paul Wilson did in this example of how to use Master Pages in ASP.NET 1.x. I believe this was Paul’s second go-round at Master Pages, improving upon his first version, which was based partially on the ASP.NET team’s reference implementation from awhile back. Back then Master Pages were mainly an experiment as far as I know, but now I can’t wait for them to become a standard tool everyone uses.

I’ve used Paul’s approach from this article at a few client now, and it’s worked extremely well. You won’t get quite the built-in designer (or WYSIWYG) support of 2.0’s version, but it’s more than adequate. Plus you’ll have a head-start on 2.0!





I’m baaaaaaaack! Search-engine safe URLs

8 08 2005

OK, my time off/away from the tech world is over, so non-techies, look away else be blinded by the light…

Contrary to prior promises, I still haven’t gotten organized enough to create articles here. I mean I have alot of ideas, but alot of my stuff fits more into an FAQ, not an article per topic. It’s the same approach I use in the newsgroups; I try to get people the info they need, I’m not going to re-explain how the wheel was created, I’ll help give some introduction, and then let another site do the talking. There’s no need for me to create yet another FAQ, to provide yet another site to monitor to look for perhaps your one question. And sometimes I’ll have plenty of original content of my own, related to some problem I had to solve today, etc.

Which is why this blog fits that so well; I’ll keep posting techie entries, under the appropriate category, and you can always use the search function of this site to see if I’ve ever talked about your question/quandry. Remember, my specialty is the .NET world, although as other topics come up (such as XML, etc.), don’t be surprised if I drop a link here and there.

And feel free to drop me questions; I’ll always try to answer what I can. I can’t be all your R&D, but I can help either answer or direct you to the answer.

OK, enough of the disclaimer/instructions, onto the goods! My first tidbit comes partly from work, but also a question posed by a direct email I received; it’s related to search-engine friendly URLs (aka search-engine safe URLs). URL rewriting with ASP.NET has always been possible, so with a little ingenuity, we can create an HttpModule that supports search-engine safe URLs. It filters/rewrites the URL not only on the inbound request, but within the outbound stream. This way you can still use your ‘normal’ URLs in your pages/code, and not have to recode all of your links…

The ONLY problem with this approach is that you are using an ASP.NET mechanism; unless the request actually makes it to the aspnet_wp process, none of this code can do its magic. Therefore, the request must be mapped to be handled by the aspnet_wp process (i.e. the file extension is handled by aspnet_wp), which is not necessarily ideal for all file types, or if you wish to really mask the URL by making it look like you’re running PHP, e.g., excluding .aspx from the URL.

Therefore, still the most complete (and easiest) method to accomplish this is via an ISAPI rewriter. These dlls are injected sooner into the request handling cycle of IIS, and can therefore influence all incoming requests. But of course they are usually written in C++, making them harder to create/maintain yourself.





Don’t worry, techies!

4 08 2005

I only took a month or 2 off from the technical stuff, to recharge the brain. I’m slowly integrating my technical content from the old site, and also adding new stuff. So don’t fret, there will be more, albeit more of the blog, less articles…





Learning .NET 2.0

16 07 2005

Want to learn .NET 2.0 the quickest way possible? I highly recommend the Developer’s Notebooks line of books. Definitely not for the 1.x beginner, as they start out assuming you know 1.x and explain the differences through short lectures (more like a paragraph or 2), and then show through example. There are always plenty of links provided in each section, to find more information or explanation. I found myself doing both (reading this book and following the links), as sometimes the explanations were a little too quick. But they will also serve as a good reference resource down the road, quick intros to topics you can’t remember the details about.

Hence their name….





Pokeware

15 07 2005

‘Gag order’ lifted: here is the latest technology that could be huge on the interactive web, Pokeware, which is currently in beta. Basically Pokeware allows you to point and click on a music video, e.g., and find out who did so-and-so’s hair, or what conditioner they use, or that couch in the background you wouldn’t mind buying. In essence, embedding ads and info into the viewing experience.

You know, at first I was ambivalent about it, as I’m not the biggest proponent of commercial advertising, especially on the web. I just feel over-saturated at times; but thinking more about it, this could actually be a good technology in that aspect. I’m amazed videos don’t have more blatant advertising, Pepsi cans on every table, etc. I could see product placement being huge and think it’s inevitable, but this technology could let it happen with a better user experience…

But check it out, there’s a sample site linked to from their homepage…

BTW, you think with all the money Ticktmaster has, they could get their TV ads for concerts to show at the correct times, even such ‘localized’ commercials. As reported earlier (and incorrectly) on this blog, SOAD tix for their concert in Saint Paul are already on sale; it was LAST Saturday. I saw the commercial on Sunday…I should have learned by now, this happens all the time with their commercials…





WordPress 1.5.1.3 released

1 07 2005

Released a couple of days ago, WordPress 1.5.1.3 was released to address a security issue, and a few other changes I assume.





TechEd info -AND- VS, BizTalk, SqlServer 2005 launch dates announced

7 06 2005

Check out the Press Pass for all the latest from TechEd, which is going on this week. Of most importance, they announced the release dates of Visual Studio 2005 (.NET 2.0), BizTalk 2005 and SqlServer 2005. Look out November!





Thunderbird 1.1 Alpha released

2 06 2005

Ha ha! Finally the same day response you’ve been waiting for….ThunderBird 1.1 Alpha 1 was released today. As mail clients are not as sexy as web browsers, I have no comment on good/bad, etc.