yeah, I don’t have one, but someone should write one.
Blog
-
IE error “expected identifier, string or number”
This probably means that you’ve got a trailing comma after an object/hash definition:
var myObj = { key0: 'val0', key1: 'val1', key2: 'val2', // ↠}; // ↑You’re on your own for trying to figure out which file it’s talking about and translating the line number into the correct value.
-
Building libvirt on CentOS5 (incomplete)
Much thanks to Brett for the pointers on rpm-fu.
http://grantmcwilliams.com/index.php?option=com_content&view=article&id=229:
$ sudo yum install \
xen-devel \
xhtml1-dtds \
hal-devel \
libpcap-devel \
cyrus-sasl-devel \
parted-devel \
numactl-devel \
avahi-devel \
slang-devel \
libvolume_id-devel \
openldap-devel# device-mapper-devel \
# xmlrpc-c-devel \for pkg in \
libssh2-devel-1.2.5-1.el5.pp.x86_64.rpm \
libssh2-1.2.5-1.el5.pp.x86_64.rpm \
libssh-0.2.1-0.2.svn193.el5.pp.x86_64.rpm \
libssh-devel-0.2.1-0.2.svn193.el5.pp.x86_64.rpm
do
wget ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel5/x86_64/$pkg
rpm -i $pkg
donewget http://www.fateyev.com/RPMS/RHEL5/x86_64/xmlrpc-c-devel-1.14.8-1.el5.x86_64.rpm
wget http://www.fateyev.com/RPMS/RHEL5/x86_64/xmlrpc-c-1.14.8-1.el5.x86_64.rpm
rpm -i xmlrpc-c-*1.14*el5*.rpmwget ftp://ftp.icm.edu.pl/vol/rzm1/linux-fedora-secondary/development/source/SRPMS/corosync-0.95-2.fc11.src.rpm
alien -t corosync-0.95-2.fc11.src.rpm
mv corosync-0.95.tgz /tmp
cd ~/rpm/SOURCES
tar xfz /tmp/corosync-0.95.tgz
patch -p0--- corosync.spec.orig 2010-05-26 19:17:15.000000000 +0000 +++ corosync.spec 2010-05-26 19:21:39.000000000 +0000 @@ -39,11 +39,7 @@ fi %endif -%{_configure} CFLAGS="$(echo '%{optflags}')" \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libdir=%{_libdir} +%{configure} CFLAGS="$(echo '%{optflags}')" %build make %{_smp_mflags} @@ -52,8 +48,8 @@ rm -rf %{buildroot} make install DESTDIR=%{buildroot} -install -d %{buildroot}%{_initddir} -install -m 755 init/redhat %{buildroot}%{_initddir}/corosync +install -d %{buildroot}%{_sysconfdir}/init.d +install -m 755 init/redhat %{buildroot}%{_sysconfdir}/init.d/corosync ## tree fixup # drop static libs @@ -95,7 +91,7 @@ %{_sbindir}/corosync-fplay %{_sbindir}/corosync-pload %config(noreplace) /etc/corosync.conf -%{_initddir}/corosync +%{_sysconfdir}/init.d/corosync %dir %{_libexecdir}/lcrso %{_libexecdir}/lcrso/coroparse.lcrso %{_libexecdir}/lcrso/objdb.lcrsorpmbuild -bb corosync.spec
sudo rpm -i ~/rpm/RPMS/x86_64/corosynclib*.rpmwget ftp://ftp.icm.edu.pl/vol/rzm1/linux-fedora-secondary/development/source/SRPMS/openais-0.94-1.fc11.src.rpm
alien -t openais-0.94-1.fc11.src.rpm
mv openais-0.94.tgz /tmp
cd ~/rpm/SOURCES
tar xfz /tmp/openais-0.94.tgz
rpmbuild -bb openais.spec
sudo rpm -i ~/rpm/RPMS/x86_64/openaislib-*.rpmwget ftp://ftp.icm.edu.pl/vol/rzm1/linux-fedora-secondary/development/source/SRPMS/lvm2-2.02.45-4.fc11.src.rpm
alien -t lvm2-2.02.45-4.fc11.src.rpm
mv lvm2-2.02.45.tgz /tmp
cd ~/rpm/SOURCES
tar xfz /tmp/lvm2-2.02.45.tgz
rpmbuild -bb lvm2.spec -
On a jetplane
Got on a plane bound for Lansing around 11 this morning. Prior to boarding, I talked for a moment with one of the officers of my former employers and one of my current investments, AMZN. (hi werner)
We discussed cloud computing and attempted to add some content to an otherwise semantically empty term. While I am in Lansing, I will be working on handing off the web-based dns zone editor to qa, starting in on libvirt/KVM stuff, pairing with the other devs and generally getting out of the basement for a week. Thanks for the advice, Lindsay.
I got the incorporation paperwork taken care of and a bank account set up. It’s nice to have some infrastructure in place. Hopefully I’ll be able to bring on some full-time help in the near future.
-
Rob McKenna’s response
I requested that Rob McKenna stop his nonsense, noting that he was harming my small business. Here is his response, in which he implies that he does not drive cars and is further not aware that one who drives cars must carry insurance.
Thank you for taking the time to contact my office to express your opinion about my decision to join the multi-state lawsuit, led by the Florida Attorney General's Office, challenging specific provisions of the recently enacted federal health care bill. I apologize for the delay in responding. Our office received more than 25,000 contacts via e-mail, phone and U.S. mail and due to the tremendous volume, cost and time involved, we are simply unable to respond personally to each one. I appreciate the opportunity to provide some additional background to you based on common questions we've received. Background: As you may know, in December 2009 I joined several state attorneys general in expressing concerns over provisions in the U.S. Senate health care bill which appeared to violate our federal Constitution. At that point, we were primarily concerned about the special arrangement in the Senate's health care proposal which permanently exempted Nebraska from paying its share of the additional Medicaid costs mandated by the bill – costs that all other states, including Washington, would bear. The attorneys general also indicated there could be legal or constitutional concerns with other provisions of the proposed legislation, and we were waiting to see what ultimately remained on final passage of the bill. On Tuesday, March 23, 2010, after further legal analysis and deliberation — and after notifying Governor Chris Gregoire of my decision -- I joined what was then 12 fellow AGs in a bi-partisan lawsuit challenging specific provisions as an expansion of federal power beyond that we believe is allowed under the U.S. Constitution. Florida AG Bill McCollum filed this suit in the U.S. District Court for the Northern District of Florida. As a party to this multi-state suit, Washington is one of 20 states now participating to date. As the lead state, Florida has negotiated with a Constitutional expert to cap his fees for the case at $50,000. Florida has also negotiated a cost-sharing agreement with the bulk of the states to cover the costs of resources and personnel to pursue the case. Washington is not participating in the cost-sharing agreement so the cost to the state will be minimal. What is this case about? As this state's independently elected attorney general, I take my duty to defend your constitutional rights very seriously. Health care reform is much too important to build on an unconstitutional foundation. The two main provisions of our lawsuit deal with: 1) The unprecedented and unconstitutional mandate that individuals lacking health insurance must purchase private insurance or face a fine; and 2) The massive expansion of the Medicaid program required by the bill, which will unconstitutionally require states to spend billions more on this federal program at a time when state budgets are already in crisis. The attorneys general who signed on to this lawsuit believe both of these mandates represent expansions of federal authority that violate the 10th Amendment, which states that "the powers not delegated to the United States by the Constitution, nor prohibited by it to the states, are reserved to the states respectively, or to the people." We're also concerned the individual mandate violates the Commerce Clause, because never before has Congress required all Americans to purchase a specific product in the private marketplace. Does this lawsuit overturn the health care bill? Contrary to what has been reported, I did not join this suit to "overturn" or "repeal" the new health care reform legislation. In fact, this lawsuit will not affect most provisions of the federal health care legislation, including among other things:
- Allowing children access to health insurance regardless of
pre-existing conditions; -
Providing seniors a rebate to fill the so-called "donut
hole" in Medicare drug coverage, which severely limits
prescription medication coverage expenditures over $2,700; -
Banning lifetime caps on the amount of insurance an individual
can have; -
Prohibiting insurance companies from denying coverage to
existing policy-holders when they get sick; and -
Allowing young adults to continue to be covered by their
parents' health insurance until they reach age 27.
While most provisions of the federal health care bill meet constitutional muster, my fellow AGs and I feel strongly that the federal government exceeded its constitutional authority in certain provisions of the health care bill, and that the individual rights of our citizens deserve to be given the respect that the Constitution requires. My office has received a tremendous amount of feedback on this issue both supportive of and in opposition to the suit. Some people claim that because the majority in Congress approved the bill, I should not pursue these constitutional concerns. However, the Constitution was adopted as a means to ensure people's basic rights are protected, using the judicial branch and other checks and balances in our system. These are issues of the utmost concern in our state and around the country. Regardless of the positions or viewpoints they express, it's important that Washington citizens are making their voices heard. Again, thank you for taking the time to contact me. I hope this information has been helpful to you. For answers to more frequently asked questions, a copy of the new law or a copy of our lawsuit, please visit our FAQ site: http://atg.wa.gov/page.aspx?id=25410
Sincerely, ROB MCKENNA Attorney General - Allowing children access to health insurance regardless of
-
PocketSphinx on android via the NDK
While working on my project for the Spring ’10 “NLP on Mobile Devices” course, I put together a PocketSphinx ndk build. You can pull it down from my git repo:
$ git clone git://colliertech.org/colliertech/PocketSphinx.git
I haven’t written any of the JNI marshaling functions yet, though.
-
GSoC 2010
Earlier this month, I applied to the Mono Project (and the University of Washington, and Ubuntu, and Debian, and The Perl Foundation) requesting a mentor to get Perl6 hosted on the DLR.
Last Tuesday, Miguel contacted me and asked that I chat with Michael Hutchinson about possibly taking up a different project. It seems that the group did not have any mentors who felt comfortable mentoring the Perl6 project. After a bit of consideration, I agreed to modify my application and take up a project to revive the regular expression compiler from 2.2.
Today, the project was officially accepted, and I met with my mentor for the first time (hi Rodrigo!).
I will also be working with Matthew Wilson (aka @diakopter), since he has purportedly implemented a number of regex-to-IL compilers ;) He also offered to mentor me if The Perl Foundation had accepted my application, and since he has already implemented a perl6 compiler in javascript, I have been looking forward to poking some code with him.
Although the GSoC doesn’t officially get started until 5/24, I’m making a git-svn checkout now. I’ve always committed the code directly to svn, but I’ve enjoyed working with git, and it seems about time to start contributing via git-svn. It will be easier to have local branches this way, too.
Anyway, I’m looking forward to it ;)




