All posts by Eric

What is the difference between NPM and Bower?

NPM is is a package manager for NodeJS. It installs packages so that they can be used with Node applications using the Node require() keyword. NPM uses a repository of NPM packages, similar to the NuGet Gallery package repository.

Bower, on the other hand, calls itself “A package manager for the web”. Bower installs front-end frameworks for your website. Bower doesn’t have a repository and can grab packages from many places, most notably straight from GitHub!

Continue reading What is the difference between NPM and Bower?

Advice for .NET Web Developers: Learn the command-line!

Visual Studio has spoiled us .NET developers. In Visual Studio we have a GUI that does everything for us: compiling, source-control, editing, you don’t even have to remember class or method names because of auto-complete and parameter guessing! It is all there and it holds your hand and it feels safe and easy.

The next version of ASP.NET is going to use a lot of the web functionality that many .NET devs have never seen: NPM, Bower, Grunt, and others. Visual Studio will probably cover the front-end of those things, but it will be invaluable for you to learn them the way they were meant to be used: from the command-line.

64-bit Mobile

Probably the least interesting and noticed and talked about feature of the new iPhone 5S and iPad is the 64-bit A7 processor.
I guess it had to happen eventually but why now? Maybe this is to get Apple ready to ditch Intel for desktop and move into A* processors across the board?

How do I parse HTML in C# using Regular Expressions

I ran into an interesting problem yesterday. All I wanted to do was some simple tokenizing of a partial HTML document, an HTML fragment (it was article content from the website I work on) based on certain elements. At first it seemed like a really simple string manipulation thing, but quickly blew out of proportion into something crazy.

Continue reading How do I parse HTML in C# using Regular Expressions

Blocking Stores

Recently, after an Apple Terms of Service change the Audible and Amazon Kindle apps had to update their apps removing links to their respective online stores. I’m assuming this is to force people to use the iTunes and iBooks stores instead. I think this is anti-competitive in its own right, but there is another problem I see for Apple here…
Apple has deliberately ruined the user experience for me on their devices! I can now buy books easier on other devices than I can on the iPad.
I do not feel compelled to use Apples stores instead because I already use these other services.
I wonder if this will ever cause people to stop using Apple products?