Archive

Archive for the ‘Software’ Category

My experiments with Chrome, Opera

July 6th, 2010 Justin James 6 comments

I recently gave Firefox about a week of my life to see how I liked it. While I did not think it was perfect, it showed me that it is definitely worth exploring other browsers. So I decided to give Chrome a try, and then Opera. Chrome survived about a day as my default browser. To be honest, I really, really liked it… except for one huge problem: the tabs on the title bar. I work on two monitors, and the Web browser is almost always maximized on my main browser. About 20 years of computer use have trained me to click on title bars to switch applications, since they are larger than taskbar icons, and the application will not munge data or perform any actions when you do it. I also like to double click title bars to un-maximize. With Chrome, my behavior kept switching tabs and sometimes even closing them. Despite the fact that I really liked Chrome overall, this was a 100% deal breaker for me. So I gave Opera a download, and I saw that it took replicated this idiotic UI decision. I could force the tabs to be in their proper place, but only by also adding a useless toolbar above them, which was also unacceptable. As a result, Opera made it less than 10 minutes on my system.

Right now, I am back to using IE 8. I might give Firefox another week to see if I can deal with it, but it’s poor tab handling was driving me so nutty that all of the other things I liked about it were being overwhelmed.

J.Ja

Categories: Chrome, Firefox, Internet Explorer, Opera Tags:

My Firefox experiment

July 5th, 2010 Justin James 15 comments

At the advice of others, I’ve decided to give Firefox a one week trial (I’ve been an IE user since version 3 or 4 took me off of Netscape). I was willing to make the switch simply because IE is really, really slow. To be honest, the “usual suspect” list of reasons didn’t factor into the discussion for me:

  • Security – I think that once you turn off ActiveX for public sites (the IE default for a long time now), IE gets a lot more secure. Firefox has its share of security issues, and I think a switch for security gets you little advantage in the long run.
  • Stability – IE 8 has been rock solid for me. Even when Flash acts up, IE just closes the tab and if it keeps happening, IE stops it from loading on that page. Meanwhile, my Firefox using friends have been complaining about stability issues and memory leaks since version 1. In fact, it was a friend telling me that Firefox 3.6 really handles the crashing a leakages that encouraged me to try it out.
  • Add ons – From what I can tell, much of the problems that plague Firefox are actually problems with add ons. So for someone to tell me that I should move to Firefox for the add ons is really not a ringing endorsement.

For me, the user experience (UX) is everything, and IE 8 has been a good user experience. Firefox’s crashing and memory leakages have been showstoppers for me, the bad UX from those issues offset any positives. But with these issues solved, Firefox became a legitimate option for me. I am now at the end of a week of usage, and I’ve found a lot to like, and a lot to dislike. I am not sure if it is enough to convince me to make the switch permanent.

PROS

  • Speed – Firefox is noticeably faster than IE. I like that the most.
  • Form field handling – Some sites (Facebook, WordPress’ editor that I am using right now) do not handle vertical scrolling in IE properly, and they work fine in Firefox.
  • Spell checking – I love it.

CONS

  • Tab handling – Firefox may have invented tabs, but IE handles them much, much more nicely in terms of grouping them with colors and where newly opened tabs appear. I found an add on that seems to make the tabs better, but it does not work with the most recent versions of Firefox.
  • OneNote integration – IE’s “Send to OneNote” is much more useful than just printing to OneNote from Firefox.
  • Facebook – I hate to say it, but I use Facebook a lot. And it seems to work much better in IE than Firefox, other than the large textbox issue that I have in IE.
  • UI – The Firefox UI really reminds me of an X11 app, and that is not a compliment.
  • Accelerators – I got very used to the “accelerators” (especially “Map with Bing”) in IE, and I miss them in Firefox. Yes, there are similar items in Firefox via add ons, but they invariably use Google services when I prefer Bing (especially maps, where Google Maps have burned me too many times).

If I could give IE 8 the spell check and speed of Firefox, or if Firefox had the better tab handling and OneNote integration, I would be happy. For me, both browsers meet my needs on the really big UX stuff now (security, crashing, resource leaks), so the details are what are important. And right now, I don’t think either browser is so superior to the other than I won’t miss something from the other.

I think what I will do is give Chrome a similar one week trial, and perhaps Opera as well. While I am not convinced that switching browsers will revolutionize my life, I do spend enough time in one for it to make my life easier or more difficult.

J.Ja

Categories: Firefox, Internet Explorer Tags:

Fix for 0x80072f0c error (502.3 – Bad Gateway) for reverse proxy to SSL with IIS

June 20th, 2010 Justin James No comments

I’ve spent most of a week struggling with this error. I set up IIS to reverse proxy to a backend server using the URL Rewrite module and the Application Request Routing (ARR) module. The first problem I encountered was that when using the “Reverse Proxy” wizard/template under URL Rewrite, it kept blowing up, giving me an error 500. The solution for this was to first go to “Server Variables” and add “HTTP_ACCEPT_ENCODING” as an allowed server variable. Next, I had to go into the configuration and set HTTP_ACCEPT_ENCODING to be passed to the destination server with an EMTPY value. You can’t do this direction from the configuration screen, because that demands a value. You can do it in web.config (or anywhere in the configuration chain). I did it by going to the “configuration editor” in IIS Manager to edit the value raw with no validation.

The next problem was much trickier. The reverse proxy template was able to handle carrying over SSL just fine to the backend server, but when I tried to access those links, it would blow up, giving me an error 502.3. Turning on detailed error reporting showed me an error code of 0x80072f0c and the text “HTTP Error 502.3 – Bad Gateway”. Full details showed more confusion under “possible causes”:

The CGI application did not return a valid set of HTTP errors.
A server acting as a proxy or gateway was unable to process the request due to an error in a parent gateway.

This made no sense to me at all. After hours of work on this issue, I finally found the problem. The virtual directory on the destination server (the one BEHIND the proxy) had been set to “Accept” client SSL certificates; this needs to be set to “Ignore”. While the site itself was set to “Ignore”, the virtual directory had been created with “Accept”, causing the problems.

J.Ja

Categories: IIS, Windows Server 2008 Tags:

“Open Source Strategy” is a red herring

April 6th, 2010 Justin James 4 comments

One of the biggest objections I have to the typical VC or IT analyst view of the world is this concept of “open source strategy”. If you talk to an analyst or a VC, there is this conviction that open source is some special magic that gets folks working on your project for free, and makes things “disruptive”. The reality does not bear that out. First and foremost, the typical customer (as in, “probably 99% of customers”) could not care less if something is “open source” or merely “free”, except in rare cases (like some Web apps). Why? Because having access to the source isn’t useful:

    It takes a large degree of sophistication to modify an application in a way that keeps it from breaking when you try to upgrade it.

  • A developer trying to tweak an existing codebase which is unfamiliar operates at a very low efficiency rate.
  • Only the best run OSS projects have things like code standards in place (the same can be said of closed source, of course); the majority of the open source code that I’ve personally looked at was an absolute nightmare.
  • Most IT shops barely have the resources to keep the lights on, let alone spend time inspecting source code to ensure that it doesn’t have bugs, security holes, etc.

In other words, actually leveraging the source code itself is not happening for the overwhelming majority of shops.

Secondly, take a look at the actual numbers. The bulk of people who contribute to most major open source projects are being paid by their employers to work on that project during their 9 – 5 hours. Even more telling, those paid workers perform an overwhelming majority of the commits to a typical project. The “just so story” of the army of hackers sweating away in their nights and weekends to produce great code for the love of humanity… it’s a myth for the most part.

Thirdly, this classification of software into “open source” and “closed source” is bogus. The status of the code itself (closed or open) is merely an attribute, an adjective, and hardly the most important one. Do you really think that the typical IT department (based on the information I’ve provided) really cares if it is “open” or “closed” source? Not really. The adjectives they care much, much more about are “TCO”, “ROI”, “ownership headaches”, “does it do what we need?”, “support options” and “upfront cost”. Who cares if it is “open source” if it is a huge pain in the neck? What IT manager is going to turn down the solution that best meets their needs because it isn’t open source?

Here is a good example. My employer is a Microsoft Certified Partner, so we get most of the Microsoft apps for free. We will never make use of the source code to an open source app for the reasons stated above. For us, open source apps are equivalent to the Microsoft apps, because they have the same licensing price point (free) and the only guaranteed advantage of open source (access to the code) is useless to us. Even for companies that pay for software, with the exception of certain “enterprise class” vendors that charge a mint, the cost of a software license is a wash compared to the cost of maintenance, integration, and other TCO items in most cases. Compare MySQL to SQL Server, for example… unless you have a large data center, the few thousand for SQL Server is peanuts, unless your company is broke (in which case, you have bigger fish to fry).

Finally, the concept of “open source” is quickly being demolished by Web apps and SaaS, which do a neat little end run around the GPL. Look at Google. Google has done some absolutely amazing things to the open source that they built their empire on. But they rarely even talk about it in general terms, let alone release the actual source code. While I am not a fan of the GPL for personal reasons (I prefer BSD and MIT style licenses, and I have released a number of items under MIT license myself), I understand the motivations behind it; it is designed to coerce a particular behavior from those who profit from using GPL’ed code. By not actually redistributing the applications (and therefore not triggering the requirement to release the source code), people who are in these *aaS scenarious are just as closed source as any proprietary vendor, but they have the benefit of starting with someone else’s code. It’s basically stealing according to the spirit of GPL, but not the letter.

Here is where open source really makes a difference:

  • Startups with little or no working capital (the person trying to start a business on their nights and weekends)
  • Companies that have the brains and need to make a giant application, and can use open source as the basis for it (Google with their homebrewed stuff is an excellent example)
  • A select few applications (usually written in dynamic languages) which are well architected and allow the end user to customize functionality in a way that upgrades to the base system can still be made

As you can see, there is very little evidence for this concept of an “open source strategy” in the trenches, because whether or not an application is open source is just not relevant to the typical business or user.

J.Ja

Categories: Open source Tags:

A few tips on installing Microsoft Forefront Client Security

December 8th, 2009 Justin James 14 comments

We decided to try out Microsoft Forefront Client Security, since we get free licenses, and it’s time to end the hodgepdge of third-party antivirus apps we have. Once again, Microsoft has proven to me “the Linux lesson”: just because the software license is free, does not mean that my time working with a cranky system is cheaper than buying something better. In this case, it took me over a week to get it installed! Here are a few of the pitfalls I ran into along the way:

  • It will not install on Windows 2008 R2.
  • It will not install on 64 bit Windows.
  • It is not compatable with SQL Server 2008; only SQL Server 2005.
  • SSRS (SQL Server Reporting Services) is still a pain in the neck to install and get working right. On Windows 2008, you need to go into the IIS Management Console, select the “ReportServer” application for the installation, click “Handler Mappings” and then “Edit Feature Permissions” and enable “Script” and “Execute”. This is the hidden, undocumented trick.
  • The “Distribution Server” will not install on 64 bit Windows either, but that’s OK if you have an existing WSUS 3.X install, since that can handle the definition updates. You’ll need to manually deploy (or use SCCM) the client yourself in that scenario, though.

Yes, I basically tried every permutation of Windows 2008, 32 and 64 bit, and SQL Server (the requirements documentation is not very clear on most of this, other than the 32 bit requirement which I overlooked) until I finally got this thing installed.

I haven’t gotten to use it yet, but given the installation nightmare, I already strongly prefer TrendMicro which I had great success with a few years ago.

J.Ja

Categories: Microsoft Forefront Security Tags:

How to perform a P2V conversion for FreeBSD to run on Hyper-V

November 29th, 2009 Justin James 6 comments

One of my big projects with my personal server setup, was to turn my current physical FreeBSD server into a Hyper-V VM. Why would I do this? Don’t ask, because I don’t want to start a religous war here… let’s just say that as much as I like FreeBSD for a lot of purposes, I do not like living with it as a sys admin without a paycheck attached.

So, here’s how I went from FreeBSD on a physical machine (garbage x64 hardware) to a Hyper-V VM (Windows 2008 R2 on garbage x64 hardware).

  1. Upgrade the FreeBSD machine to version 8.0-RELEASE. This is mandatory.
  2. Get Hyper-V installed and configured, including enabling Intel VT in the BIOS.
  3. Shut down both machines. Transfer the physical hard drive from the FreeBSD machine to the Windows 2008 R2 machine. Turn on the 2008 R2 machine, and verify in Disk Management that the transferred drive is visible.
  4. Create a new Hyper-V VM for the machine, but do not specify a hard disk. Go back into the settings, and remove the NIC that was put into the VM. Do “Add new hardware” and select “Legacy Network Adapter”, and connect the new NIC to the network of choice.
  5. Create a new virtual disk. Select “Fixed” type, and on the next page in the wizard, tell it to copy the contents of a physical disk. Choose the disk you transferred from the FreeBSD machine.
  6. Go eat dinner, walk the dog, read a magazine. You’ll be here a while during the disk copy. To be on the safe side, go download the “Live FS” FreeBSD ISO appropriate for your installed FreeBSD version.
  7. Once the new virtual disk has been created, go back into the VM settings, move the optical drive to postion 1 on the IDE chain, and then add the newly created disk to the VM on position 0 on the IDE chain.
  8. Start the VM. If you receive errors like “Invalid slice”, you need to do the following:
    1. Insert the Live FS ISO into the virtual DVD drive and reboot the VM.
    2. Go to “Configure” and then “Fdisk”. Set the main drive slice (the big one) to be bootable, and then press “W” to write the information to disk. Before it writes, it will ask about a boot loader; choose the standard one, unless you have a good reason not to and know what you are doing.
    3. Exit the Live FS system, eject the ISO, and reboot the VM.

    This should take care of the “bad” boot loader.

  9. If the physical disk in the original server was not device “ad0″ (for example, it was a SCSI drive or a RAID 1 member), then the system will spaz when you boot and drop to single user mode. Not to worry! In single user mode, do the following: (note: if you can’t even get into single user mode, boot off of the Live FS CD and use the “Fixit” shell)
    1. Re-mount the root partition as writeable with:mount -u /
      mount -a
      Likewise, mount /usr and /tmp with:
      mount /dev/ad0s1f /usr
      mount /dev/ad0s1e /tmp
    2. Now you can actually use your text editor of choice to edit /etc/fstab and set the references to the old drive to be references to the new drive as ad0. Do that and reboot.
  10. You are in the home stretch now! You should be booted into FreeBSD, albeit a crippled one, because the NIC isn’t configured. Go edit /etc/rc.conf and change the reference to your old NIC to be a reference to de0 (the NIC that Hyper-V provides). Reboot again, and you should be done!

This is what I did… it might not work 100% for you, for better or for worse.

J.Ja

Introducing “CNB ImageGuide”

November 28th, 2009 Charles N. Burns No comments

Should you save your image as PNG or JPG? ImageGuide is a program which helps you choose the best format..

Web images are usually saved in either .JPG or .PNG format, but unfortunately most people have no idea which is best for their picture.

The top image should be saved as JPG. The bottom should be saved as PNG.

Top: Photos should be saved as JPG. Bottom: Simple images should be saved as PNG. Both: Notice the lost detail and corruption when the wrong format is used.

The very simplest rule of thumb is:

  • If it’s a photograph, use .JPG
  • Otherwise use .PNG

Graphs, charts, and screenshots are often (incorrectly) saved as .JPG even though as PNG they would look better and be smaller. An extreme example is this image of every color. Saved as .PNG, it’s only 58KB. As .JPG, it is 1.1MB — 19 times larger and even at that size it looks blocky compared to the PNG version.

Unfortunately, even many supposedly knowledgeable website authors seem to lack this knowledge.

In order to help people make the most of their pictures and their time, I’ve written ImageGuide — a program which aims to make it absolutely as easy as possible to pick the best image format, or even choose for you. You can download it here ForMortals.com.

Read more…

Categories: Software Tags: , , , ,

I can haz ur data?

October 13th, 2009 George Ou 4 comments

lol-baby-leopard

Snow Leopard cat is growing and he needs to eat a lot.  Just make sure you have your data backed up because he may eat all your data.  CNET has a good article for how you might recover this data.

Categories: Apple, Backup, Crapware Tags:

KB974571 + OCS or LCS = BAD NEWS! DO NOT INSTALL!

October 13th, 2009 Justin James 1 comment

WARNING!

I just got off the phone with Microsoft support. After installing my patches and rebooting, my OCS 2007 R2 server would not start the “Front End” service internally or the Access Edge service externally. The error IEs in event log were 12299 and 12290, and it was saying that an evaluation copy had expired.

It turns out, KB974571 is causing the problem. At this time, DO NOT INSTALL KB974571 on any servers running OCS or LCS, Microsoft support informed me that both products are impacted.

J.Ja

Categories: OCS Tags:

Spiceworks shows the value of crowdsourcing

October 13th, 2009 Justin James 1 comment

Spiceworks, a company that I’ve been covering for a while, announced that their community has doubled its activity in supporting the application over the last six months. This includes articles, rating & reviews of products, support for each other, and extenions to the product. I think this is pretty cool to read, because I’ve always been a bit dubious about “crowdsourcing” myself.

J.Ja

Note: I am under contract to Spiceworks write articles for their site from time to time about various topics, such as backup technologies.

Categories: Software Tags: