Sign the Get FISA Right Open Letter
This open letter is the product of a long and thoughtful process that I've been paying attention to, associated with a mailing list led by Jon Pincus.
This open letter is the product of a long and thoughtful process that I've been paying attention to, associated with a mailing list led by Jon Pincus.
I'm playing with Node.js right now for one of my side projects and found that it was a little more difficult to read a file than I had anticipated. First, I looked for an "obvious" function that would read in an entire file, but there didn't seem to be anything like Ruby's IO.read (I was wrong, however, see the posix.cat solution below).
var prepareTemplate = function(file, callback) {posix.open(file, posix.O_RDONLY).addCallback(function(fd) {if (fd) {posix.read(fd, 100000, 0).addCallback(function(data, bytes_read) {var template = jsont.fromString(data);callback(template);});posix.close(fd);} else {sys.puts("Unable to read file: " + file);}});};
/Users/duanejohnson/Projects/hello.js:15posix.open(file, process.O_RDONLY);^TypeError: Bad argument
var prepareTemplate = function(file, callback) {posix.open(file, posix.O_RDONLY).addCallback(function(fd) {if (fd) {posix.open(file, process.O_RDONLY, 438).addCallback(function(fd) {
var data = posix.cat(file).wait();
Comments [0]
Kelty and I just went for a walk in Millenium Park and happened across an End the Fed rally. It was neat to see support for Ron Paul's "Audit the Federal Reserve" bill there.
Comments [0]
The House Financial Services Committee has approved Rep. Ron Paul’s measure to drastically expand the government’s power to audit the Federal Reserve.
Comments [0]
Demonstrating the efficacy (or lack thereof) of vaccine and antivirals during flu season would not be hard to do, given the proper resources. Take a group of people who are at risk of getting the flu, and randomly assign half to get vaccine and the other half a dummy shot. Then count the people in each group who come down with flu, suffer serious illness, or die. (A similarly designed trial would suffice for the antivirals.) It might sound coldhearted, but it is the only way to know for certain whether, and for whom, current remedies actually work.
In the absence of such evidence, we are left with two possibilities. One is that flu vaccine is in fact highly beneficial, or at least helpful. Solid evidence to that effect would encourage more citizens—and particularly more health professionals—to get their shots and prevent the flu’s spread. As it stands, more than 50 percent of health-care workers say they do not intend to get vaccinated for swine flu and don’t routinely get their shots for seasonal flu, in part because many of them doubt the vaccines’ efficacy. The other possibility, of course, is that we’re relying heavily on vaccines and antivirals that simply don’t work, or don’t work as well as we believe. And as a result, we may be neglecting other, proven measures that could minimize the death rate during pandemics.
Comments [0]
Announced today. I definitely support Obama's direction (see his remarkable Cairo speech from last June). I'd like to see faster resolution in Iraq and Afghanistan but I know it's a difficult situation. He didn't start the wars, so I give him credibility there.
Comments [0]
I've been less verbose than usual over the past two weeks: in fact, I didn't even email anyone except while at work. I've been on a two-week "computer fast" while at home after business hours, and it's been a neat experience.
Comments [0]
This is a fascinating new way to help groups make an honest valuation of something they will share: check if their brains say "that's fair" when they assign a price for their portion.
Comments [1]
I think this may be the first in a series of exciting milestones over the next 5 years: Nanosolar has opened its robotic manufacturing facility in Germany for mass-production of thin-film solar panels.
Comments [0]
Tomorrow is the AJAX conference in Boston where I and my colleagues from Getco will be learning about ways to improve our javascript and web interface style. If you're in the area, give me a tweet or an email!
Comments [0]
Comments [0]