Categories
Geeky/Programming Product Reviews

Browser Wars 08

Now that Google has released its browser, Chrome, that leaves us 4-5 big players in the browser wars.

1) Microsoft’s Internet Explorer (download)
2) Mozilla’s Firefox (download)
3) Apple’s Safari (download)
4) Opera’s Opera (Weird – their company name is the same as the browser name) (download)
5) Google’s Chrome (download)

Pretty much everyone has used IE, unless you are a main frame unix guy or something, you at least have probably used it to get Windows Updates. I think I started using it around IE3, then IE4, IE5, IE5.5, IE6, now IE7, and actually I am using IE8 Beta2 at work. IE works, but it has been plagued by security vulnerabilities, and stagnated from lack of innovation from the IE4 days till now, where they are finally picking up steam again. Although, you are kind of stuck to Windows if you want to use IE, one of the major factors I don’t use it as my main browser. IE has somewhere between 70% and 80% of the market share, so your site better work in IE. I do say death to IE6 though. MSFT should push IE7 as a mandatory update.

Firefox is multi-platform, a good thing. It also seems to have major releases more often, better auto update support, and of course, extensions, which really extend the browser to something way better than ever imagined. Firefox has security issues sometimes, but they are usually quick to fix, and they are also pushing the competition with every new release.

Safari, oh Safari. I did try to use this as my main browser when I picked up my MacBook Pro, but after about 2 weeks I had to switch to Firefox. It just lacks some key features that make me want to switch back to Firefox, little quirks. It does render fast and nice, and yeah, the iPhone version is much better than PocketIE – its not even a comparison. Safari works now on Windows and Mac, which is also a good thing, cross platform is always nice.

Opera – well, it has 1% or less of the market share, but it just won’t die. I only use it when I need to test a site that has to work on everything, other than that, not much. Seems that stuff renders different in Opera. They have made some strides in features, like mouse gesturing, and other things that other browsers have “stolen” if you will, but I just don’t see Opera being a big contender in the space. It is cross platform which is nice, but it just doesn’t have the steam the other browsers do.

And then the new player, Chrome. Some are saying it already has 1, 2 maybe eve 3% of the market share. I installed it and used it for about a week as my main browser. It uses WebKit, the same rendering engine as Safari, so sites that work in Safari for the most part work in Chrome. (Firefox uses Gecko by the way). Chrome is the fastest out of the bunch, at least from my experience. The new concept of tabs on top is different. The process model is different, where each tab is a process (IE8 Beta2 has this as well), and there are other “new” features in Chrome – most of which are in IE8, FF 3.1, or available as extensions on FF 3.1. It isn’t cross platform yet, but they say it will be in time, fair enough.

So from the list above, you have Firefox and Opera (which is not used by many) being cross platform. Which means, if you want to use Windows flavors 2000, XP, Vista, or Mac 10.4, or 10.5, or many flavors of Linux, Firefox is pretty much the way to go, to get the consistent experience from OS to OS.

Most companies and corporations are STUCK on Internet Explorer 6. This just makes me cringe. At least get to IE7, it has been out for two years, IE8 is coming out next month!!

I see chrome gaining market share, but Google is walking a fine line on privacy it seems, they have already backpeddled a few of their policies since they released Chrome.

Safari is good for Apple users, or someone who wants the “Apple Experience”. I suppose IE gives you the “Microsoft Experience” the best. Chrome will give you the “Google Experience” the best. Firefox just gives you the “Best Experience” 🙂

I would recommend every once in a while switching to a new browser for a week or two, just to keep up with the changes. I guess you should switch not just browsers, but everything if you can (OS, Media Players, etc, etc) – Try It!

Categories
Life Random

"Leinie's" Going Nationwide. Import or Domestic?

Now that I live in Wisconsin, I guess I have to write about this. Going to school at Saint Cloud State, which is a fairly good party school, you do end up going to happy hour now and then. At the bars there, they always have pretty good deals. “1 dollar for Domestic Taps” etc, etc.

So you walk in, and see that, and ask for a “Leinie’s HoneyWeiss” which is usually on tap in most bars in MN, but then you get a crazy response..

“We consider Leinie’s to be an Import”

WTF? An import? All the way from WI huh, so you can charge 4 dollars a glass? Man..

Anyways, I subscribe to Slashfood in my RSS Feeds, it’s one of my “fun” subscriptions, like xkcd, or gullible info, etc. I read today about “Leinie’s takes small town Wisconsin nationwide” What I have to wonder though, is it going to be served up as a domestic or import? We will just have to see.

As a side note. I wish Madison WI’s cool blog site Dane101 would let you submit stories. This is a trackback to them to see if they see this and take note.

Categories
Geeky/Programming

When To Code To an Interface

When to code to interfaces? In my opinion only when you have to “INTERFACE” with a 3rd party component, or some external piece you might have to interact with. Writing an interface for every concrete class seems way to redundant. It is probably easier to convert a concrete class to an interface when you need to instead of coding and Interface and Class or every entity object you want to created. What you end up doing is just duplicating code that you will never use.

Oh yeah, your UML (who even uses UML?) will look good, but its usefulness is lacking. I say write interfaces for things like File System interaction, Database interaction, some other 3rd party or external thing you need to interact with. Then you can easily swap out the backend later
if you need to.

I just don’t get writing say, and IPerson interface for a Person object. They are just going to be exactly the same. Down the road I don’t see you swapping it out for a new “Person”. Maybe but at that point, you might as well just create your IPerson and then create your APerson, BPerson that use the IPerson interface.

I guess what I am saying is follow YAGNI (You aren’t gonna need it) principle, and you will see the benefits in your code.

Categories
Geeky/Programming

Maximum Length of a URL

Working on some ASP.NET, and making an email list that prints to the screen. Easy enough. But they want to click on a URL and have it auto email (BCC specifically). so..

<a href="mailto:?bcc=list of emails">Click here to Email</a>

but some email lists were huge, some small. By trial and error and searching around Google, I figure around 2000 characters is the optimal length for the “list of emails” I tested in IE6 and Firefox 3.01 and the same result for both. If it is longer, the link just doesn’t work at all. If you are close the boundry in IE 6 you sometimes will get a “Mail client” error, but I am guessing that is because of the mailto: in the link.

Categories
Geeky/Programming

Source Control – Visual Source Safe Sucks

Over the years I have went from using no source control whatsoever (from around 2000 to 2004-2005) – mostly because, I was a lone developer, and also you really don’t learn about it in college, and I just never looked into it. Another reason is that there weren’t many good source control apps for Windows NT/98/2000, or at least I didn’t know about them. CVS or VSS.

CVS is ok, but clunky. SVN the supposed replacement to CVS is pretty awesome, works well, and is easy to use. On the other hand, VSS, VSS 2005, and then TFS source control paths are different. VSS 2005 is OK, but still has issues with locking, you can tell they don’t use it at Microsoft. The version before that is even worse. File open dialogs from Windows 3.1 era. Just a mess.

I have seen places use VSS in a way where they would be better off just taking a zip file snapshot every hour and copying it off. Instead you have crazy directory structures and a hard to use “tool” that causes you more headaches than anything. Hard to see the status of the files in Windows Explorer, etc.

About a year ago I wrote about using source control at home, SVN to be specific.

I guess just from my experience steer clear of VSS if you can, and use SVN, get TortoiseSVN and/or VisualSVN or whatever you need, even CMD Line, just please don’t use VSS, it just makes life harder than it needs to be.

Categories
Blogging Geeky/Programming

Switching Hosting – Moving to Media Temple (MT)

A few months ago I decided to consolidate my hosting and sites to one server, and I went to Server Beach, and got my own Windows 2003 server. I needed ASP.net and PHP for some things I had so it was kind of a unique situation.

Server Beach is awesome, and if I needed more control I would definitely go back, but I decided it was too money for what I was doing, so I found Media Temple (MT). They have one click WordPress install which was nice, and you can host like up to 100 sites on one account on their “grid” service, for like 20 dollars a month.

What this did leave me with though, was I needed to convert the services I had in ASP.NET to PHP, so a week or so ago I decided to make the switch and converted those services over. PHP just reminds me too much of ASP Classic, very hacky and you have the ability to just put anything anywhere. Oh well, it works now and all my sites are over there for now (except a couple that I will move when their hosting expires). I am liking MT so far and hopefully it goes well, its cheap enough and allows me to do what I need.

I do like that they have the MySQL admin available so you can manage the DB’s directly. In one of my sites, I had to update all the posts at once, and I just wrote a query to do it, saved a ton of time.

Now if I can just get all my DNS and domain registrations in one place, I will be set 🙂

Categories
Geeky/Programming

Ubuntu 8.04 Hardy Heron – Second Chance, Wireless Works and was Easy!

So, last night I decided to give Ubuntu 8.04 Hardy Heron another try. I blogged previously about setting it up and getting wireless to work, and what a nightmare it was

What I did this time was this. First off, I have computers everywhere, a MacBook, MacBook Pro, Dell Desktop and Dell Laptop. I have Vista on the desktop, and the Dell laptop I wasn’t doing much with, so I decided to load up Ubuntu on it. After installing, I connected it to a wired connection, downloaded the OS updates and let is sit for a while. After a few minutes it popped up with an alert telling my that there were updated drivers for the BroadCom wireless nic card. Wha?!? I open the alert, hit enable, and it downloads new drivers and fwcutter and lo and behold, wireless starts working with no hassles. I am on Ubuntu right now dinking around. So what is the first thing I do? Well make it look like a Mac of course.

So now I have Mac OS 10.5, Vista, and Ubuntu 8.04 all running on different machines. I would say right now though I do like the Mac the best. I use Vista for anything that really needs Windows. I will probably setup VMWare Fusion again on the MBP, but a smaller partition. I moved all my music there (80+ GB) and had to free up some space, my Vista partition was 60 GB.

Categories
Geeky/Programming

Toad (Oracle) – Too Many Options

Toad is a tool to let you connect to Oracle with a GUI and browse the tables, run sql, write procedures. It is kind of like Query Analyzer/Enterprise Manager for SQL 2000 or SQL Server Management Studio (SSMS) for SQL 2005/2008. Except it’s not, it sucks. 🙂

Toad Options

As you can see from the options screen, there are hundreds of options. Tons of tabs, menu items, and tons of settings per tab. If you need a “search” on your options screen, you probably have too many options, or you need to redesign something. I don’t like it.

Categories
Random

The Real Reason Brett Favre Keeps Flip Flopping

PICT0034

He must have a deal with SI that he gets a percentage of the tribute book profits, so they can keep coming out with them every few years.

Categories
Geeky/Programming

.NET and Oracle – Match Made in Hell (Data provider internal error(-3000) [System.String])

At my new gig, I am working on a project that is ASP.NET with an Oracle Database backend. Today I ran into an error.

Data provider internal error(-3000) [System.String]

What does this error mean? Heck if I know, its a generic error basically telling you that something is wrong with your connection to the database more than likely.

After troubleshooting code, the CSLA framework, more code, stored procs, queries, more code and testing everything I could think of, I decided it had to be something with the Oracle driver on my machine. I remembered back in the day when I worked for SCWH using Oracle 8 and having a hell of a time getting it to work if the driver was even a .1 release off, or if you were using the wrong driver.

Reinstalled the 10g client and Oracle Data Provider for .NET stuff and it worked. What a waste of time. Just another reason why I hate Oracle, and SQL Server is the way to go. No stupid dot releases of drivers that cause headaches. Granted MSFT used to have MDAC which was a major pain, but with .NET it just connects, and works.