Blogging Via Phone – Practical

An upgrade to the iPhone client for my blogging software has made it not only easier to blog via phone, but actually practical. For example, this entry was created on my iPhone. Many people wonder if perhaps we are in the post PC era, but I am wondering, do we even need a tablet like the iPad? I can actually type about as fast on the iPhone as I do on the iPad, and maybe a little faster. After all there is less travel on the keyboard. I just have to hold the phone sideways. I have also found that reading books on the iPhone is much better than I would have guessed and my hands and arms don’t get as tired. There are many things I use the iPad for still, but the iPhone has come to surprise me.

Share

Moving VS 2008 Web Apps to IIS 7

Moving off of Windows XP and over to Windows 7 on my work computer has been trying. My latest problem has been getting a Visual Studio 2008 web application to run. Every attempt to run the application in Debug mode resulted in the following error message:

Unable to start debugging on the web server. Check for one of the following.1) The application you are trying to debug uses a version of the Microsoft .NET Framework that is not supported by the debugger. 2) The debugger has made an incorrect assumption about the Microsoft .NET Framework version your application is going to use. 3) The Microsoft .NET Framework version specified by you for debugging is incorrect.Please see the Visual Studio .NET debugger documentation for correctly specifying the Microsoft .NET Framework version your application is going to use for debugging.

To correct this issue, I ran the IIS 7.5 Manager and located my web app on the tree. I right clicked it and selected Manage Application/Advanced Settings.

Then I set the Application Pool to ASP.NET V2.0 as shown below. This fixed the problem.

Share

Mobile App Resources

A list of web sites with resources for mobile application development. If you have cool resources to add to the list, please post them in the comments.

Design Tips

Mobile UI Design  Patterns

Matt Legend Gemmell:  iPad Application Design

Development Tools

Corona SDK

Mobile Browser ID (User-Agent) Strings

 

Magazine Articles

Infoworld: Escape the App Store: 4 ways to create smartphone Web apps

Infoworld: 5 simple rules for creating mobile-savvy websites

Service Providers

NetBiscuits – uses cloud technology.

 

Share

Internet Explorer Rendering Problems

Where I work, we ‘officially’ support Internet Explorer. In my web applications, I try to support Firefox, Opera and Chrome as well. It is not too hard these days. But I did find one issue recently with IE. On my local development box, IE was rendering the web site one way, but when I deployed it to our intranet, I was seeing a different (and less attractive) look.

Continue reading

Share

Opera and the System Tray

Serif "O" used by the Opera Software...
Image via Wikipedia

As my readers may know, I use the Opera web browser as my primary browser. In addition to having the usability features that I desire (and have grown used to), it also winds up seldom being the target of malware writers due to its low market share. But as much as I love it, I do have to complain about one issue. Opera insists on putting its big red ‘O’ icon in my system tray.  Continue reading

Share

Opera Web Browser

I’ve been using Opera as my main web browser for many years, since the 5.x version. A lot of the features we take for granted today were either popularized or invented in Opera. And despite great progress in the field of browsers , I still find that Opera still is the one that meets the most of my needs.


Despite all that, there are a couple of things I find annoying with the last few releases. After installing version 10.5 and today, 10.51, I have found that the status bar on the bottom of the page is losing my settings. I like to have the status field on the bottom in the status bar. The status field shows the user  what web site a link points to when you hover over the link. I never click on an unknown link without looking at the status field to see where it is taking me. So, it was very annoying when Opera 10.5 decided I didn’t need that on the status bar. I manually added it back. To do so, follow these steps.

  1. Right click the status bar.
  2. From the Customize menu, select Appearance…
  3. Go to the Buttons tab, and on the Category list, select Status
  4. Now find “Status Field” and drag it to your status bar.
  5. Click OK when done to dismiss the Appearance dialog.

The other annoyance is the Opera red “O” icon appearing in the system tray. I don’t need this icon as I don’t use Opera for email. To get rid of this, find the shortcut you use to launch Opera, right click it and select Properties. To the Target, after the endquote as a space following by: -notrayicon

Be sure to include the dash. Click OK, and then exit and relaunch Opera. It should load without the tray icon.

The only problem is, every time you update to a new version, you may have to repeat both of these sets of instructions to fix it again.

While Opera has a low market share (and has fallen behind Google‘s Chrome in fact), it still has a loyal following. One of the advantages of Opera is the fact that I don’t think anyone has ever crafted an exploit that is specific to flaws in Opera. Hackers would rather target browsers with more market share.


Share

Cloud Computing Worries

Outline of a cloud containing text 'The Cloud'
Image via Wikipedia

So, I first wrote about cloud computing a while back. It’s all the rage these days. But I’m skeptical, as are a number of others. I’ve been bitten by cloud computing before, way before cloud computing was a buzz word.

I’ve been a long time user of My.Yahoo.com. It’s a nice way to organize things that I use most, into one page full of widgets with various data, such as my stock portfolio, weather forecast, news headlines from various RSS readers, movie releases, and bookmarks, etc. And it is with bookmarks that I got my first lesson in the downside of cloud computing. One day, without warning, Yahoo broke their bookmark widget. I still had access, but it was awkward, as I had to go to a different page. Then, they ‘upgraded’ the bookmarks into a bloated, slow mess, that I found unusable. Fortunately, I was able to export my bookmarks, but then I had to scramble to find a replacement cloud tool to use. I decided I wanted control, so I installed open source software called Online Bookmarks onto my web host and have been using it ever since. While the author has stopped actively supporting the product, the fact is, it works, it does what I need, it ain’t broke, so I really don’t need support. It’s a tool that does one thing, it stores my bookmarks on the web, so I can get to them from any browser.

Following this philosophy, I have installed several cloud apps, such as eyeos, openGoo (aka FengOffice), and an RSS feed reader called FeedOnFeeds. FoF is a different story for me, as compared to the Online Bookmarks (OB). Like OB, FoF was mostly the work of one person. However, he did you a couple of libraries or classes if you will. Feed on Feeds is an RSS reader. It uses a feed reading class called SimplePie, which is maintained by others, and prototype, with is a javascript library, maintained by others. However, FoF itself is no longer maintained. It wasn’t long after I started using it that I noticed it was having problems with some of the feed subscriptions I added. So, I figured I’d see if I could update the SimplePie class and fix the problems. Unfortunately, that broke as many feeds as it fixed. It also broke some other features of FoF, but I partially fixed it, at least enough to make it workable.

However, as I continued to add new feed subscriptions, the problems continued. Granted, some of the problems related to corrupt feed sources, but the thing is, the built in feed reader on Opera Browser was able to work through these problems, and still show me the articles, and FoF was not. You might ask, well, if Opera was working, why bother with FoF? Just like with bookmarks, I wanted a central location, so I could get to the data from any of the four machines I regularly use. So, since Opera sync doesn’t sync feed data, I needed another solution. For now, I’ve gone to Google Reader. I had played with it before, but didn’t like it. Now, it is a bit nicer, but I’ve still got the cloud worries. I no longer have control. At least with FoF, I had source code and was able to play around with it. I did change the CSS and was going to make some other improvements, but it just isn’t in the cards.

I think the lesson here is, controlling your own cloud is nice, but it’s really much more workable if the open source software you use has a strong community behind it. An example is WordPress (the software that runs this blog and others that I maintain) which has massive support. I used to host this blog on a blogging site. But I imported it into my own site, where I have control.

Just as I don’t want Microsoft to own the world, I don’t want Google to either. Both companies play an important role is my professional and personal life, but it’s strategic to limit the number of eggs I put into each basket.




Share

Windows Home Server

SEE UPDATE BELOW.

So, Friday evening, the UPS man brought my pile of parts from Newegg and I began assembling my new file server. I could have just used my old hardware, except for the fact that the old hardware is not going to work with the new 2.0 release of Windows Home Server due to not having enough RAM and more importantly, only having a 32-bit processor. RAM, I could fix possibly, but not the CPU problem.

I bought really cheap stuff, because WHS just doesn’t require that much, and I also wanted low power. So, I got a really power frugal, single core AMD Sempron, a couple of gig of RAM, a cheap ATX case and motherboard, and a SATA 750 Gig hard drive (the 1TB drives are still not getting good reviews, so I’m waiting on those.) I originally was going to get 2 of these drives and just sync, like I did on the old server. However, I decided to save some money and use the two PATA drives (500 Gig each) out of the old server as the backup drives.

I also pulled a power supply out of one of my old PCs I had lying around. Unfortunately, that PS was too old. It was 20 pin and I needed a newer 24 pin. Fortunately, I had one of those in another old box (and it is a fairly new PS with good efficiency and hybrid modular outputs, sweeeet!).

The initial building of the box went well, and other than the fact that the Phoenix BIOS writer couldn’t spell device correctly, I was pretty well pleased with everything. I didn’t initially install the PATA drives, just the SATA, but it was working fine. I had decided I would have no optical drives in the server, so I took my external, USB case that I had a CD ROM drive in, pulled that out, and threw in an old Sony DVD/ROM/Burner. This will be handy, as I can use it on my NetBook as well, and there’s no optical drive in the server sucking power and restricting airflow.

Speaking of airflow, the case fan was quite loud. I ran the box for awhile without that fan plugged in, and while I think it would have been just fine that way, I decided I should really plug it back in. I also had an issue when I installed the WHS software. It couldn’t recognize the Realtek onboard network chip. Fortunately, I had an old 3Com card in another box (this is why I don’t throw this old stuff out folks). I popped that card in, added the two PATA drives, and reconnected the case fan. I also configured the BIOS to enable smart fan control. This had the effect of reducing the CPU and case fan to half their previous RPM, and made the noise accetable, though it is still louder than the old Dell GX260 that I was using as a server (I had specifically bought a refurb GX260 because it was quiet). I still may unplug the case fan if the noise is too high. The drives will be spun down most of the time, there’s not video processing going on, and with the single, low power core, it just doesn’t need much cooling. This will be even more true when I put it on the floor of the downstairs level of my house which is a good 10 degrees cooler than anywhere else in the house.

After putting the 3Com card in, my server got onto the network with no problems. I validated the OS, and then started the updates. This part took awhile. They’ve made a lot of updates since the RTM of WHS. Also, got tons of patches for Windows Server 2003, upon which WHS is built. I enabled remote connections to the box, so I can run it headless, and yet still get to the innards of the OS if (well, when) I need to. Adding the PATA drives required installing a third party partition manager since the drives were in a FreeBSD native format that no one else supports.

Hardware list:

Rosewill R102-P-BK 120mm Fan MicroATX Mid Tower Computer Case – Retail

BIOSTAR MCP6P M2+ 6.X AM3/AM2+/AM2 NVIDIA GeForce 6150 / nForce 430 Micro ATX AMD Motherboard – Retail

Western Digital Caviar Black WD7501AALS 750GB 7200 RPM SATA 3.0Gb/s 3.5″ Hard Drive -Bare Drive

AMD Sempron 140 Sargas 2.7GHz Socket AM3 45W Single-Core Processor Model SDX140HBGQBOX – Retail

Crucial Vostro 2GB 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Desktop Memory Model CTVOS2GBD2S806C – Retail

For the above components, I paid $224 delivered. Then, from my old computers, I scavenged these parts:

2 x Seagate Barracuda 7200.10 ST3500630A 500GB 7200 RPM 16MB Cache IDE Ultra ATA100 3.5″ Hard Drive (Perpendicular recording) -Bare Drive (Discontinued, but I paid $119 each on 11/28/2007).

Antec NeoPower 550 550W ATX12V SLI Certified CrossFire Ready Active PFC Power Supply – Retail (Discontinued, but paid $69.99 on 8/26/2008)

3Com 100/10 PCI Ethernet card. No idea what I paid or when I bought it.

So, that’s the hardware. Reusing parts saved me a good bit. I could have saved more if I had just wanted 1 Gig of DDR2-400 RAM instead of the 2 Gig of DDR2-800 and if i had just used my old drives.

Software:

The setup of the software was very easy. It took quite a learning curve to get the old FreeNAS box set up, and upgrading was also a pain. While WHS, out of the box, is much more limited than FreeNAS, it does come with a https web server that is very easy to set up so you can remotely access your files. It was also easy to set up a remote backup of my PC’s OS partition. While I don’t have SSH/FTP access to the WHS box, the web interface will do most of what I really need, which is allow me to access my data from anywhere. There are also plugins that extend its abilities, and some of these are free. In addition, I am sure I could just administer the box as a 2003 Server and change some things around if I needed to. (And indeed, I already did custom power settings to make the drives spin down after 10 minutes of inactivity.)

While I love to hate Microsoft, the experience of getting this box up and running was very easy compared to FreeNAS. I love my old FreeNAS box and hated to give it up, but it was just going to be too much of a hassle to upgrade it (and hope the upgrade fixed my problems with it.) Maybe one day, someone in the open source community will get it right, but so far, I haven’t found a solution as easy to set up as Microsoft (and I’ve tried several, from Ubuntu server to OpenFiler.)

UPDATE: Almost one year later, I would like to update my experiences. After having problems with the Windows Home Server domain service, I was unable to connect to my machine over the Internet. After reading about the new version of WHS and seeing that it was having important features removed, and vendors have pulled out of supporting it, I decided to abandon the OS and instead, go with Windows Server 2008 R2.  I am able to access it easily through DynDNS and also it will allow me to set up IIS, SQL Server and Sharepoint. I might even set up Exchange. MS is just not putting money into WHS. It was a good idea, but the industry seems to regard it as a dying product. To beef up my box, I replaced the Sempron with a Triple core Athlon II X3 450 Processor (3.2 GHz) and added 4 more gig of RAM bringing the total to 6 gig. I also put a total of 4 half terabyte drives into it, with 3 of them in a RAID 5 (software) configuration.


Related articles by Zemanta








Share

The FREENAS Experiment

In November of 2007, I built a file server using the FreeBSD based FreeNAS. I have blogged about it many times. However, I think my experiment is coming to an end.

Back in late 2007, I purchased a refurbished Dell Tower (GX260) which, from my experience at work, was a fairly quiet PC. I added a couple of 500 gig PATA drives to the existing 80 gig drive and configured the server. I upgraded the OS to new releases a couple of times, but mostly, I just left it alone and it worked. However, over the past week and a half, I’ve had problems with it. At first, I thought that my Windows 7 x64 box was crashing it when I tried to do large I/O operations such as backups. However, after much playing around, I’ve not been able to pin it down to that. Last night, I tried one last time to back up the box under Windows XP SP3 and I still had the CIFS/SMB service crash. So, while I have no idea what has caused the box to start behaving badly, it has become unusable.

My choices at this point are:

  1. Rebuild with the latest stable FreeNAS image.
  2. Go to another OS such as Windows Home Server (WHS).

As much as I love to use and support free open source software (FOSS), I’m really leaning toward WHS. It has the capabilities I need from FreeNAS and some advantages that FreeNAS will never have, such as acting as a gateway to allow me to remote into my home computers. It also has the support of an entire company, whereas FreeNAS is mainly two guys and they are taking FreeNAS in some new directions, that while promising, are just not going to get anywhere very quickly.

And this whole incident has gotten me scared of FreeNAS. You see, one problem with it is that the disks are of a format that is supported only by FreeBSD. There’s no support in Windows or Linux. So, the only way to read the drives is to have a bootable FreeBSD or FreeNAS system. To get around this severe risk, I added a 500 gig drive to my Windows desktop and began a nightly backup of the server to that drive. However, due to the nature of the bug, my backup software got confused and thought that I had deleted most of the files off my server, so it proceeded to delete them off the backup drive as well. And with the CIFS/SMB service unable to work for backing up, I had to resort to using an FTP client on the SSH service to get all the files back over to my backup drive. So, I’ve got my data, but now I’ve had a good scare, so I know I must do something different. (Also, I should mention that I did have one more copy of most of the data on the server stored on yet another hard drive on my desktop box, so I wouldn’t have lost everything anyway, but still scary enough.)

So, I’ll be rebuilding my network and backup infrastructure, and most likely, on WHS. At least I’m going to give that a try. I’ll write some new posts on that as I get it set up. Looks like it should work on my existing FreeNAS hardware, so I hope to get started right away.

Share