Categories
Books Technology

Node’s the thing

I just finished my fourth chapter for my newest book for O’Reilly. I never feel a book is solid and real until the fourth chapter. By the fourth chapter, you have a book, not just an idea or outline.

My newest work is titled “Learning Node”, about Node, or Node.js for the purists among you. It’s a good fit with my other JavaScript books, and is focused on an interesting and rather fun technology.

I wasn’t sure about Node when it first came out. My very first JavaScript gig wasn’t client-side development, it was a server application for a company in Portland, Oregon. I can’t remember the name of the company, or even what the application was about (I have done a lot of contract work in the last 25 years) but I remember working with a contractor from Vietnam who is one of the nicest people I have ever worked with.

I also remember that server-side development with JavaScript died quickly, and there went another skill down the toilet. So when Node came around, I didn’t embrace it as profoundly as many people did.

In time, though, Node won me over. I like it—not in the giddy, bubbling-over-with-enthusiasm embrace I may have felt about server-side JavaScript (and Java, and EJB, and the earlier Cloud computing, and DHTML), but I like it. I think it’s useful. I think it is a very solid technology.

What won me over to Node? The fact that it’s based in JavaScript helped. I’m not going to join the effete in condemning JavaScript, because I like JavaScript. I think Dart is dead on arrival, and JavaScript is only going to get better over time. However, there’s also CoffeeScript for those who just can’t embrace JavaScript.

I like that we don’t have to worry about working with threads, that modules are the norm, and that Node doesn’t pretend to be the definitive solution for every problem. I also like the community support and how uncomplicated it is to create complicated applications. I don’t want to use “easy”, but Node doesn’t demand that the developer jump through an extraordinary number of loops to get a job done. For all the new geewhiz quality about Node, it’s a very pragmatic technology.

Node is also mature enough to last—no lost skills with it. The very fact that the creator of Node, Ryan Dahl, decided to step down as gatekeeper for Node, and his decision didn’t cause any earthquakes in the Node community, attests to the maturity of both the technology and the community.

The HTML5 community could learn a lot from the Node community in this regard.

If there’s a problem with Node is that many of the those who work with Node come from a Ruby/Rails/Extreme Programming background, and many of the concepts and explanations about Node reflect assumptions that can actually form a barrier to understanding. In some ways, Node can present itself as more complex than it really is, primarily because much of the terminology reflects a background that not everyone shares.

Another problem is that documentation is an interesting mix of the nonexistent, cryptic, and/or flippant—none of which is generally helpful. Then there’s the oddly peculiar “Node web style”, with web sites in dark gray backgrounds with pale gray writing, (or white background with pale tan/green/gray writing) where the only way you can see the text is by turning up the brightness of your monitor until your head hurts.

Still, times are a changing. Cloud9’s new new Node Manual web site is a solid start in the right direction, and I have high hopes for the official Node.js site, too.

Then there’s my book, which I’m sure you’ll want—if for no other reason in that it’s a nice break from me bitching about HTML5.

Categories
Burningbird

Kernel panics and nodes

Something is up with my VPS (virtual private server) the last 24 hours. I’ve twice had memory spikes that caused a kernel panic, which basically flat lined my system.

I did find out I was using an outdated Linode kernel, so hoping this might have led to the problem. Otherwise, I’ll have to indulge in some detective work.

I run my own email server, too, so if perchance you sent me an email in the last 24 hours, you’re not a spammer, and you’re expecting an answer, you might want to re-send. I shouldn’t be losing any email, but life is funny that way.

And if you see my site down, no worries: I’ve not packed up my marbles and run away from the web. I’m just dealing with some technical issues.

Categories
Just Shelley

Golden Girl: This old broad

If you’ve been reading my weblogs in their various incarnations since the painful beginning, you’ve read me talking about my car, Golden Girl.

Golden Girl isn’t a fancy car. It’s a 4 door 2002 Ford Focus with a Zetec engine and painted in metallic gold. It is my very first car.

No, I’m not so young. I’m just one of those who didn’t decide to drive until I was…well, older than most people when they learn to drive. I started to learn to drive in Boston, practiced cross country, and received my first driver’s license in San Francisco. I bought Golden Girl a few months later via the internet, at a time when this was still a very new idea. I test drove a Focus, but didn’t meet Golden Girl until I picked her up.

My car was my delight. I drove her from California to Missouri, and from Missouri to Idaho, and back to Missouri, and on to Florida, then Missouri, and back to California and then returning, once more, to Missouri. Once in Missouri, I visited every nook and cranny in the state—including many dark hollows posted “Do Not Trespass”, with guard dogs that look at you as if sizing up which part to bite first.

Golden Girl is no longer young. A broken strut earlier has today been joined by a cracked thermostat housing, which followed a massive amount of work last year. There’s a short in the car somewhere, most likely in the instrument cluster that causes the instruments to peg out, go to zero, and then eventually recover. One could live with hyperactive instruments but the car’s lighting also dims as the same time, which can makes things a bit interesting at night.

I take her in to be worked on more frequently than I take her in to have her oil changed. And I no longer trust her for driving outside the city. Heck, half the time I don’t trust her for driving in the city.

I can’t afford to get a new car, and I won’t buy a used car full of someone else’s problems. I have to consider that at this point I’m driving Golden Girl until she can go no further, and then hopefully some charitable organization can get a little extra good from her.

Then I’ll be as I was before I bought Golden Girl—living carless.

It’s hard to think about going without Golden Girl, though. This last decade has not always been easy, with some sad losses along the way, but I’ve always had my car.

Categories
Documents Legal, Laws, and Regs

The money game

One of the problems I kept running into when preparing stories for this site is the fact that Missouri’s Department of Agriculture seems to have abysmal data systems. Every Sunshine Law request, no matter how small, exceeded whatever amount of money I had set as a cap for the request.

Now it would seem the same problem occurs elsewhere in state government. When asked about Lt. Governor Kinder’s calendar, journalists were first told the entries were not available. Later, though, it was discovered that the entries were available, but the cost would be well over several thousand dollars in order to get the information.

I had turned in a Sunshine Law violation complaint to the Attorney General’s office and was told by the person who responded that my main concern seemed to be not that the information wasn’t available, but that the cost was too high. According to the AG office rep, high cost to access the information does not form a Sunshine Law violation. However, when the price tag is invariably high—too high for the average person—cost does form a barrier against transparency.

Either Missouri has the worst data systems in the country—in which case there’s another first we can’t take pride in—or cost is being used as a barrier to information.

Categories
Just Shelley

Letter to Governor Nixon on SB 113 and Proposition B

Governor Nixon:

SB 113 should be on your desk and you’re now faced with a decision: sign or veto the bill.

It’s tempting to think that you should sign the bill and move on. After all, didn’t you work with the Agricultural Appropriations committee to get more funding for the Department of Agriculture to enforce existing laws? Hasn’t the same committee said that you’ll only get these funds if you sign SB 113? And if you don’t sign the bill, won’t you be facing the wrath of the people in your rural communities?

However, you can’t deny one thing: the people of Missouri have stated that we want Proposition B, and no matter how SB 113 is worded, it is a repeal of Proposition B. It is a rejection of the voters of this state.

Can we get by without the $1.1 million in new funding for enforcement? I truly believe we can.

Proposition B provides teeth where existing laws do not. I believe we will find that the worst of the licensed breeders will shut down rather than comply. The worst of the licensed breeders take the most inspector time–what with re-inspections and possibly legal action. Proposition B will, in effect, weed out the worst actors, even before it needs to be enforced.

In addition, other breeders who have over 50 dogs, including those with hundreds, will need to downsize. This should simplify inspections on their kennels, and again save inspector time.

The Prop B rules are more objective, easier to verify than the vague regulations outlined in SB 113.

I strongly believe it is better for the dogs, and for the state, to have Proposition B and no new Department of Agriculture funding, then to have SB 113 and any amount of additional funding.

Proposition B isn’t just a set of regulations and new rules: it is a pronouncement. With Proposition B, we told the world that no, Missouri no longer wants to be the Puppy Mill Capital of the US.

All SB 113 does is tell the world that yes, Missouri wants to keep our puppy mills. Yes, we want to keep this title.

Though I didn’t have the room to say more, there is something else for Governor Nixon to consider:

If he signs SB 113 into law, we will come back with another initiative in 2012 to replace what we lost. This initiative, and the initiative to provide a Constitutional Amendment to protect the citizen initiative process, will be on the same ballot as the one related to Governor Nixon’s re-election.

This is a decision that won’t be forgotten and will be painfully obvious on the ballot and in the months and weeks leading up to the election. We will hear, again and again, about representatives who let us down; who disregarded our vote; who disrespected the voters of this state in order to ensure continued cruelty for dogs.

On election day, on the ballot screen or in the ballot page, we will be reminded one last time that many of our leaders let us down.