Cover photo
David Herron
Works at
Attended Univ of Kentucky
730 followers|1,744,235 views


David Herron

Shared publicly  - 
It appears that Syrian government forces plan to mount an offensive to retake Aleppo, where more than 100 people have reportedly been killed over the past week.
Add a comment...

David Herron

Shared publicly  - 
"Many of the refugees and migrants trying to enter Europe are fleeing war, violence or repression in the Middle East and South Asia. Most are coming from Syria, Iraq and Afghanistan.  The E.U. has been overwhelmingly hostile to their arrival, even while it fuels and intervenes in some of the conflicts they are fleeing.  Europe has setup “hotspot” registration centers for refugees in Greece. Varoufakis says, “When you see the word ‘hotspots,’ just translate it to ‘concentration camps.’ It’s very simple.”"
Yanis Varoufakis says Europe could help refugees, but instead forces Greece to "intern" and treat them inhumanely
Add a comment...

David Herron

Shared publicly  - 
Just the thing you needed for your little hemp farmer in the making.
Add a comment...

David Herron

Shared publicly  - 
Add a comment...

David Herron

Shared publicly  - 
Remember, Cruz===Theocracy.   And for him the sort of Christianity that would be predominant is kinda wacko.
In early March, the Cruz for President campaign announced the formation of an official Religious Liberty Advisory Council.
Add a comment...

David Herron

Question  - 
I have a question about the PATH variable on Windows to use with locally installed npm packages.  FYI - I'm not a newcomer to Node.js, I've been using it since 2011 and am now writing the 3rd edition of my book.  

There's a common practice being recommended to avoid "npm install -g" and instead install in the local folder.  When you do that the CLI tool that arrives with the package lands in ./node_modules/.bin, at least for Unix-like systems.  

To simplify using such tools it's recommended to add "./node_modules/.bin" to the $PATH environment variable.

What I'm curious about is the equivalent for Windows.

I spent a long while the other night yahoogling.  I'm not certain that a relative path works in a Windows PATH variable.  All the examples I found of Windows PATH variables have absolute pathnames for every component.

It does seem you can put variables into the PATH variable .... and under that theory, perhaps "%CD%\node_modules\.bin" would have the same effect on Windows.

Any idea/suggestion?
Vikas Bose's profile photoDavid Herron's profile photoVan Dame's profile photo
I've never seen relative path in PATH variable ever. PHP etc use it on Windows but the relative path is defined inside their own config file rather than the PATH variable. So I suspect it's not doable.

One thing you CAN do is define those binaries as scripts in package.json. E.g.

scripts : {
'webpack' : './node_modules/bin/webpack'
Add a comment...
Have them in circles
730 people
Razors Edge's profile photo
Kowsik Guruswamy's profile photo
My Beachcruiser's profile photo
Celine Demeuse's profile photo
Chris Dohman's profile photo
ameer shaik's profile photo
anand jha's profile photo
Morteza Milani's profile photo
Adewunmi Adeyemi Dada's profile photo

David Herron

Shared publicly  - 
Michael Colson's profile photofrank erck's profile photoGarbad Kishkashta's profile photoBruno Mercy's profile photo
has CNN connected in some way with Fox...??
Add a comment...

David Herron

Shared publicly  - 
VICE News heads to Los Angeles to investigate the effects of urban oil drilling on local communities.
Add a comment...

David Herron

Shared publicly  - 
Edward Morbius's profile photo
Nice write-up. A few observations.

600 kWh ~= 15 gallons of petroleum. Given the Solar Impulse has an electric drive, and probably sees 85% rather than 35% motive efficiency, we can multiply that by about 2.4, to get the equivalent energy of 36 gallons of petrol.

Also, from the flight profiles you provide, SI2 has two batteries. One is the electric batteries it carries. The other is its daytime elevation. By climbing to 30k ft and gliding to 5k, the aircraft acts as a glider for several hours. Battery drain doesn't start in earnest until the plane has arrived at 5k ft. But the SI2 is banking gravitational potential just as much as it is electric.

And the mean speed-over-ground is about 28 mph.

While the experiment is interesting, I see the real lessons here as the challenges facing flight in a world without abundant liquid hydrocarbon fuels. A wingspan longer than that of a 747, a groundspeed only modestly challenging to an accomplished cyclist, and a need to squeeze every bit of storage from both batteries and altitude, and the aircraft can only carry a single human pilot.

One thing this isn't is the future of commercial aviation.
Add a comment...
Have them in circles
730 people
Razors Edge's profile photo
Kowsik Guruswamy's profile photo
My Beachcruiser's profile photo
Celine Demeuse's profile photo
Chris Dohman's profile photo
ameer shaik's profile photo
anand jha's profile photo
Morteza Milani's profile photo
Adewunmi Adeyemi Dada's profile photo
Blogger, Green Transportation and Technology Advocate, Software Engineer, Mouth Breather
Journalism, Blogging, Software Engineering, Online community management
    Blogger, 2009 - present
  • V is for Voltage -
    Owner, 2006 - present
    Owner of online discussion forum focusing on electric bicycles, electric scooters, electric motorcycles, electric cars, etc
  • - writer
    Green Transportation Examiner, 2009 - present
    Covering news about Green Transportation, Green Living and the Environment
  • Packt
    Book author, 2011 - 2013
    Written Node Web Development, an introductory guide to software development with Node.js. First version was in 2011, second version was in 2013.
    Reporter, 2013 - 2014
    News and journalism covering the electric vehicle scene.
  • Recargo
    Website Developer, 2013 - 2014
    Upgrading look/feel/implementation of, one of the leading news and information websites in the electric vehicle field. This means Drupal theming work.
  • TorqueNews
    Reporter, 2011 - 2014
    News and journalism about electric vehicles, focusing specifically on Tesla Motors
  • Charged EV's Magazine
    Writer, 2012 - 2014
    Magazine articles covering the unfolding electric vehicle scene
  • Yahoo
    Principle Engineer - Mobile Test Software Automation, 2009 - 2011
    Architect of Software Quality Engineering for Yahoo's Node.js hosting stack
  • Sun Microsystems
    Staff Engineer, 1998 - 2009
    Architect of Software Quality Engineering for the Java SE platform.
  • VXtreme
    Senior Software Engineer, 1996 - 1997
    Software engineer developing video streaming server software
  • MainSoft
    Senior Software Engineer, 1994 - 1996
    Software engineer developing GUI toolkit for Unix/X11 that's compatible with WIN32 API.
  • The Wollongong Group
    Senior Software Engineer, 1990 - 1994
    Software engineer developing X.400/RFC-822 compatible email systems.
Basic Information
In a relationship
Other names
robogeek, hey you
Electric Vehicle Journalism, Software Development, Node.js book author
Journalist covering electric vehicles via, and, as well as other green technology and environmental topics on

Software engineer, most recently with Yahoo working on their Node.js stack; formerly with Sun working in the Java SE team

Software Quality Engineering Test Automation Architect

Author of a Node.js book, Node Web Development

Blogging about Sustainability issues, Green Transportation, the full-life-cycle of the transportation system, and technology and other stuff

Helping to launch Transition Silicon Valley and Transition Mountain View (Transition Towns movement)

Developer of Java's java.awt.Robot class
  • Univ of Kentucky
    Computer Science, 1981 - 1988
  • Barbara Brennan School of Healing
Contact Information
David Herron's +1's are the things they like, agree with, or want to recommend.
Fox News’ demented poster boy: Why angry rancher Cliven Bundy is no patriot

The right's new fixation: An angry old white man who thinks freedom means not having to follow the law

Green Transportation Examiner

Reporting on the electric vehicle revolution

Electric cars are safer than gasoline cars

Date: Thu Oct 17 2013 19:19:37 GMT-0700 (PDT). Tags: EV Truths. As of this writing there have been a couple electric car fires. The fires we

Tesla Motors

Accelerating the world's transition to electric mobility.

Celebrating Craig Childers: A Powerful Force for Electric Car Legislatio...

The electric car world lost one of its great unsung heroes on Aug. 22, when Craig Childers died at the age of 57. Childers—a rare breed of h

Does the Tea Party understand the Constitution?

The Right constantly claims devotion to our founding documents. The problem: Its policies completely violate them

Mission Motors teases highest performance electric vehicle ever

Coming June 3, Mission Motors promises to unveil the most advanced production motorcycle, that will also be the highest performance electric

Transcript: GM CEO Daniel Akerson at Brainstorm Green - Fortune Tech

General Motors CEO Daniel Akerson joined Fortune's Geoff Colvin on stage at the Fortune Brainstorm Green conference. He shared his perspecti

Obama rejects Keystone XL project while staying in bed with the oil indu...

Today the Obama Administration released a statement rejecting the Keystone XL pipeline project citing obstructionist Republicans.   The anno

Ford, GM, Toyota, Nissan following different paths to electric car nirvana

If electric cars are our future, the automakers are following different paths to that goal, where most are focusing attention on one or two

The Long Tail Pipe: Ultra low energy required, high fun and exercise

Cargo bicycles are a great way to get around, do some shopping, catch some fresh air, exercise the legs, contribute to our city being a nice

The Long Tail Pipe: Is GM going to build the Chevy Volt in China, and do...

Reports have been circulating since last year that GM is planning to move electric car development and/or manufacturing to China. In some ci

The Long Tail Pipe: Electric cars do not have a virtual coal tender that...

Are electric car sales "bogged down" and "slow"? It depends on whether you compare sales figures to sales of equivalent gasoline cars, or wh

The Long Tail Pipe: Transportation infrastructure creates JOBS that Amer...

Transportation infrastructure creates JOBS that America needs, and cements in place certain transportation choices. There are a pair of comp

The Long Tail Pipe: Re: The American Way to Natural Gas Vehicles -- and ...

On the Motley Fool is a piece about how Heckmann Corporation is looking to expand the use of liquified natural gas use in big trucks. The st

The Long Tail Pipe: Why are Ford and Toyota teaming up on hybrid truck d...

Why are Ford and Toyota teaming up on hybrid truck development? It's the new 54.5 MPG CAFE Standards! The other day Ford and Toyota anno

Electric race cars from Yokohama and Kleenspeed at REFUEL 2012

While there are plenty of electric cars being built nowadays, there are few outright electric race cars in existence, so it was rare that tw

Tesla Motors reports massive losses for 2012, profitability in 1st quart...

Tesla Motors' management expects to immediately shift from massive losses while preparing for Model S sales, to immediately become profitabl

Honda upgrades rare earth metals recycling from used nickel-metal hybrid...

Rare earth metal recycling could resolve a geopolitical power headache, and Honda's new process is a big step in that direction.

Blink and ChargePoint join for electric car charging station sharing

The two companies will mitigate one of the frustration points of electric car ownership, the necessity to join multiple charging station net