HomeBlog

npm update -g <foo> causes ENOENT on lstat

If you have tried to recently update your global node_modules, you may have had a series of errors saying ENOENT. For example:

global.asax.cs Application_Start not firing

If you run into the situation where a breakpoint in the Application_Start method of the global.asax.cs file does actually break when you run/debug your web app, you might want to check to see if your global.asax file is set up properly. I've found the best way to do this is to open the file in a separate text editor, such as notepad++. If your global.asax file looks like this:

<%@ Application Language="C#" %>

you will need to modify it to look like this:

A Brief History of Shopping

shaman sm

The effect of innovations on industry is historically significant and can be a guide to how to respond in future. If businesses and individuals are to adapt and flourish, they can either proactively be attuned to these forces and set a course for success or suffer the results of being washed along with the current.

The Cool Kid and the Geek

coolkid final

Since the birth of consumer computing we have had many companies come and go. It's a great business study of markets, personalities and crowd psychology. Current and past players include Apple, Linux, Microsoft, Oracle, Atari, Commodore, Borland, Netscape and thousands of others. Two, Apple and Microsoft, form an interesting diametrically opposed pair of market leaders that I've always called the Cool Kid and the Geek.

IPTV - An Overview

IPTV

Introduction

Television dates back to the 1920s, well before the widespread use of digital technologies. As television technologies matured, a vast investment in an analog-centric infrastructure was made which accumulated over decades on a global basis.

SOPA Dies - Smith Pulls Bill

Lamar Smith, the chief sponsor of SOPA, made a statement today that he is pulling the bill “until there is wider agreement on a solution.”

“I have heard from the critics and I take seriously their concerns regarding proposed legislation to address the problem of online piracy,” Smith (R-Texas) told Reuters. “It is clear that we need to revisit the approach on how best to address the problem of foreign thieves that steal and sell American inventions and products.”

Mobile JavaScript Libraries

JavaScript libraries for mobile applications have been around for many years, and the list keeps growing. Here's a quick list of some. Do you know of any others?

The Vanishing Computer

50 years ago: a computer filled a large room (i.e. a mainframe).

25 years ago: a computer filled a desk (i.e. a desktop).

10 years ago: a computer fit in your lap (i.e. a laptop).

5 years ago: a computer fit in your pocket (i.e a smartphone).

Soon: the concept of "a computer" will be meaningless.

Error - The pre-application start initialization method Start on type System.Web.WebPages.Deployment.PreApplicationStartCode

If you've recently explored adding a razor page to an existing ASP.NET site, you may begin to get a cryptic error as follows:

The pre-application start initialization method Start on type System.Web.WebPages.Deployment.PreApplicationStartCode threw an exception with the following error message: Exception has been thrown by the target of an invocation.

FBML Deprecated, Rise of iframe

FBML becomes deprecated this week as Facebook moves to iframes for custom content. Facebook Insider has a great article about this transition.

The transition to iframes, along with the new HTML5 capabilities, gives developers and businesses a huge boost in the richness of web sites and applications.

Although current FBML pages will continue to work, plans for migrating to iframes should be part of your maintenance strategy.

Enhancing Nagios to monitor Drupal using Drush commands

So, you are thinking about or decided to use Nagios to monitor your server. Nagios also provides a plugin, NRPE, to permit remote monitoring. But how can you use Nagios to monitor your Drupal installation? 

Nagios provides examples for monitoring various system stats. The check_users command is provided by Nagios as a plugin (nagios-plugins-1.4.15 and nrpe-2.12 -- start your search in /usr/local/nagios/etc).  If you are logged into the remote system, you could just execute it from a shell command line:

A Brief Look at the F# Progamming Language

If you've already upgraded to Visual Studio 2010 then you may have noticed a new language available for the .Net platform: F#. Although F# has been available for several years, it is getting a big boost by being included as a bundled language on the VS2010 install disc.

Technote: LINQ to the Rescue

This technote briefly explores one of Microsoft's best ideas over the last several years. Specifically, we're going to talk about LINQ, or Language-Integrated Query.

LINQ is an evolving method of using constructs in a language to perform queries on data. To understand what is meant by this, we need to revisit the traditional method of using SQL to access data. Let's assume we have a database table called Employees. To retrieve all elements from Employees with a first name of "Elizabeth", we might write something like the following in C#:

Metatag and Routing Additions to ASP.Net 4

Microsoft's .Net Framework 4 has added two new properties to the Page object for dealing with common SEO needs. The new properties are MetaKeywords and MetaDescription. These can be set in the page, in the code-behind or in the @Page tag to control the keywords and description metatags in <head>.

IFrame a Facebook App or Facebook Page

For the newby Facebook developer, setting up your first application is fairly straightforward until you need to decide whether to use FBML or an IFrame. FBML used to be both the default and the recommended approach, and for many developers, the method you started with has been the approach you've used since.

Save the dates! Upcoming Drupal Related Events You Should Probably Attend

Save the dates! Upcoming Drupal Related Events You Should Probably Attend:

We enjoyed Doug Vann’s Post Six Drupal Events in June and thought it would be a good idea to do a little checking on which upcoming Drupal conferences look interesting. We learn a lot by meeting other Drupalists in person at DrupalConSF and it is always good to talk in person. Two of these upcoming events are in our backyard of Texas. Here is our top 7 list to save a date for:

CMS Turf Wars go Mainstream: Drupal, WordPress, Joomla, TypePad aka Entrepreneur Magazine compares Content Management Systems

Entrepreneur magazine is a great resource covering many topics impacting entrepreneurs. The magazine recently took a look at the current CMS Turf War. Most small business owners know that the days for a simple landing page or brochure are over. These business owners "get it" and know that they need video, Social Media, SEO, and most importantly content.

Live at DrupalConSF – Drupal Song and the Thriving Drupal Community

We at Guidelight Business Solutions are proud that we attended our first DrupalCon in San Francisco. Our blog is truely not long enough to say Thank You to all who made the DrupalConSF experience extraordinary. However, we encourage you to take a look at our video highlighting the DrupalConSF experience with the Drupal Song as our audio. Yes, Drupal has its own song.

My favorite ways to use drush

Drush is by far my favorite tool when it comes to working with Drupal. While graphical tools are often easier to use initially, command-line tools more often give you more power and control. The drush project is an active Drupal project with a major release (3.x) in the works. While it does change some of the basic command names, it organizes and restructures the design to make it easier to extend.

My First DrupalCon: Insights from a DrupalConSF Attendee.

Guidelight attended DrupalCon in San Francisco April 19-21, 2010. It was an amazing experience to meet over 3000 people all interested in Drupal. The Drupal Project is full of brilliant people who give back to the Open Source community and at DrupalCon it was possible to meet face to face with the creator Dries Buytaert and other core Drupal developers.

Attack of the Malicious Clouds

Clouds and cloud services are being used by consumers everywhere and have impacted our lives but are we safe? A few examples are Facebook, Twitter, and the various Google Apps. According to Radu Sion, a computer scientist at the State University of New York at Stony Brook, “If you don’t have everybody using the cloud, you can’t have a cheap service.

Drupal and Dries

I had the pleasure of meeting the creator of Drupal, Dries Buytaert, at SXSWinteractive. In addition to creating Drupal, he’s the CTO of Acquia, and Mollom the spam fighter. The following blog post is a compilation or my notes (tweets) from the @Guidelight account.

First and foremost, Webmasters don’t scale. One challenge they face is the slow pace of innovation from proprietary CMSs. Worse, they have the daunting managing task of administrating content from a universe of end users – each with different styles, goals, and work habits.

Cloudy with a Chance of Computing!

I had the fortunate experience as a new member of the Guidelight team to attend both AITP Austin session, “Cloudy with a Chance of Computing” and SXSW Interactive. Both events were very informative and had several interesting and highly opinioned panelists on Cloud Computing. The following blog is a compilation of @Guidelight’s Tweets (Notes) from the related cloud discussions from both of these events. The most interesting panelists from both of these events were Brian Wilson (Surgient), Mark Cathcart (Dell), @whurley, and Josh Koenig (Chapter Three).

@equintanilla newest blogger on the Guidelight Team!

Hi world, today is my first blog at Guidelight Business Solutions. I am so excited to be a fellow brain at Guidelight and work with amazingly talented people who rescue troubled software projects as veteran paratroopers.

So, why Guidelight Business Solutions? We steer troubled projects to success; saving our clients and their time and money.

I guess my excitement is justified. Because who wouldn’t want to a part of that?

Look forward to learning more about Drupal and Cloud Computing!

This is what I have learned so far about Clouds:

Browser Wars - Part 2

Google's Chrome just passed Apple's Safari as the number 3 browser on the market today. The number 1 and 2 spots are still held by IE and Firefox respectively:

  • 62.9% IE
  • 24.61% Firefox
  • 4.63% Chrome
  • 4.46% Safari
  • 2.4% Opera
  • 1.16% Others

For details, check out Market Share.

Amazon Web Services for Managers

I am asked often about the ins and outs of Amazon Web Services by C-levels, directors and managers. They aren't looking for nitty gritty nuances of scripting with the API of the Elastic Compute Cloud, they are just interested in the general overview of how the 'cloud' works.

URL Shorteners

We've all taken monsterously long URLs and pasted them into documents, emails and elsewhere. We've also seen shorter URLs - very often used in print material like magazines - that point to odd domain names like bit.ly or tinyurl.com. These shorter links are created by pasting the long URL into one of the many online URL Shortener service providers. Basically, they take your long URL, shorten it into a URL on their site and simply redirect all traffic from the short URL to the long URL you provided.

Legacy Infrastructure and Capacity Expansion in the Cloud

In addition to the announcement of EC2 Spot Instances, Amazon has also announced the unlimited beta availability of their VPC service offering. The Virtual Private Cloud extends your local network over a VPN connection to the EC2 environment.