Author: C.J. Collier

  • 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
  • The great hair pruning of ‘010

    before
    snippy snippy
    I almost kept this look
    After
  • 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 ;)

  • Conversation with T-Mobile

    You have been connected to ^Carsheena H.
    C.J. Adams-Collier: hi there!
    ^Carsheena H: Hi C.J. , welcome to T-Mobile live Chat. I’m ^Carsheena and I will be happy to assist you. Please give me a moment to review your question.
    C.J. Adams-Collier: heh, no problem ;)
    ^Carsheena H: Thank you for your patience, C.J.
    C.J. Adams-Collier: I think I may have left my phone somewhere. I’m curious whether you can check the location of it, so I know whether I should re-trace my steps
    ^Carsheena H: I see that you are concern about your phone location. I know it’s very aggravating to lose your phone. I will be devastated if I lost my phone.
    C.J. Adams-Collier: :)
    C.J. Adams-Collier: you’re failing the Turing test!
    ^Carsheena H: Unfortunately, I have no way of tracking your phone from my system. However, depending on your device you my be able to track that device.
    C.J. Adams-Collier: cool. I’d love to hear the details.
    C.J. Adams-Collier: http://en.wikipedia.org/wiki/Turing_test
    ^Carsheena H: Can you please give me 1-2 minutes to pull up your account?
    C.J. Adams-Collier: no problem
    ^Carsheena H: Are you using a G1?
    C.J. Adams-Collier: yeppers
    ^Carsheena H: Unfortunately, you wouldn’t be able to track that device, C.J.
    C.J. Adams-Collier: you can’t determine which cell towers it is associated with?
    ^Carsheena H: However, we can get your line suspended so there won’t be any usage on your device.
    ^Carsheena H: Unfortunately, no I wouldn’t be able to determine that.
    C.J. Adams-Collier: heh, okay. how long does it take to un-suspend the line?
    ^Carsheena H: You can have you line suspended up to 30 days. Once you reach 30 days please give us a call or chat and let us know if you want to restore the line. After 30 days it will go into cancellation.
    C.J. Adams-Collier: erhm… how long does it take to *remove* the suspension if I decide to have you do the suspension?
    ^Carsheena H: You can restore it anytime you want.
    ^Carsheena H: As long as it’s within 30 days.
    C.J. Adams-Collier: okay. go ahead and suspend. what is the process to remove the suspension?
    ^Carsheena H: Just give us a call and say you want to restore you line.
    C.J. Adams-Collier: ok. thanks.
    ^Carsheena H: You are very welcome, can you please give me 2-3 minutes to suspend you line?
    C.J. Adams-Collier: sure. do you mind if I publish our conversation?
    ^Carsheena H: You are allowed to print this conversation if you would like to.
    ^Carsheena H: Thank you for your patience, C.J.
    ^Carsheena H: Your line is currently suspended.
    ^Carsheena H: Are you still there, C.J.?
    ^Carsheena H: I have attempted to get your attention. However, it seems that you have stepped away from your computer. I regret the fact that I have to end this chat. If you have any more questions or concerns please contact us via: chat, 611 from your handset, or 8009378997 from any phone. Thank you for chatting with T-mobile live chat have a wonderful rest of the day

  • Ohai!

    image

    image

    Scarlet, Zelda, Hannah and I are out and about on Queen Anne hill. We were going to meet someone, but she has pregnant brain and double-booked herself. We’re going to a park after we finish our coffee.

    Scarlet got her ears pierced and I got a new earring.

    And I thought I’d try out thisandroid app. Let’s see if it works…

  • John Hodgman is using software that I helped to write

    A recent blog post by The Hodg Man mentions that he uses (AND ENJOYS) a product I’ve helped to build. Yay.

    ***

    FULL DISCLOSURE NUMBER TWO

    FAITHFUL READERS OF THIS IMITATION BLOG know that, having crashed my own website repeatedly while linking to it Twitterphonically, I experimented with NEW INTERNET TECHNOLOGY to try to fix this problem.

    SPECIFICALLY, my host, LiquidWeb, called and offered their cloud computing solution STORM ON DEMAND. I think this means that instead of being stored on a single regular computer, my whole website is instead stored on dozens of semi-mechanical, murderous black clouds on various uncharted islands.

    Cloud Computing at Work

    THIS EXPERIMENT WAS SUCCESSFUL. So, in the spirit of full disclosure,

    I AM USING STORM ON DEMAND FOR A REDUCED PRICE, and unless it grabs me and pulls me in to the woods to murder me, I will continue to USE AND ENJOY IT.

    ***

  • Getting started with gtk♯

    This is a quick tutorial for getting a first gtk-sharp app up and going.

    Install MonoDevelop

    $ sudo apt-get install monodevelop libgtk2.0-cil-dev

    Start MonoDevelop

    It’ll be in your GNOME application menu under Applications->Programming->MonoDevelop

    Create a new Gtk# Project

    Create New Project
    Create New Project
    Select Gtk# 2.0 Project
    Select Gtk# 2.0 Project
    Select Project Features
    Select Project Features
    Hello World
    Hello World

    Run project

    You can run this boilerplate by pressing Ctrl-F5

    Using the Designer

    Double-click on the file named MainWindow.cs in the Solution section. When the file opens, click the Designer button below the code view.

    The Designer
    The Designer

    The Toolbox

    To add the Toolbox, press Alt-Shift-B or click View->Toolbox.

    Drag a VBox widget from the Toolbox to the main window.

    Add VBox
    Add VBox

    Drop a Menu Bar widget into the top cell of the VBox, and a Statusbar into the bottom.

    Insert Menu and Status Bar
    Insert Menu and Status Bar

    Properties grid

    Drop a Button widget into the middle cell of the VBox.
    Add the Properties grid from the View menu (Alt+Shift+P or View->Properties).
    Select the new button by clicking on it.
    In the Properties grid, expand the Button Properties section and click the value of the Label field. Delete the default content and replace it with a different string.

    Button with new Label
    Button with new Label

    Adding a Click handler

    Select the button in the Designer view
    In the Property grid, select the Signals tab
    Click twice on the text in the column to the right of the Clicked and replace Click here to add a new handler with MyButtonClickHandler

    Add a click handler
    Add a click handler

    Click on the Source Code button below the viewer window to switch to the C♯ code. You can use the find tool to search for the new handler you created, called MyButtonClickHandler. Ctrl-F will bring up the find dialogue.

    Browse to click handler
    Browse to click handler

    Add some code to update the status bar.

    	protected virtual void MyButtonClickHandler (object sender, System.EventArgs e)
    	{
    		var contextId = this.statusbar1.GetContextId("clicked");
    		this.statusbar1.Push(contextId, "Clicky-Clicky" );
    	}
    
    Click handler code
    Click handler code

    Modify button layout

    The size of the running window is a little weird. I fixed mine by un-setting the Auto Size boolean and setting the Expand and Fill in the Box Child Layout section of the Properties grid.

    Button layout changes
    Button layout changes

    Exercise button click handler

    Run your application with Ctrl-F5 and click on the button. You should see the new string show up in the status bar at the bottom left of the window.

    Not yet clicked
    Not yet clicked
    Clicked + Status update
    Clicked + Status update

    Add Menu items

    Create File Menu Entry
    Create File Menu Entry
    Create File->Quit Menu Item
    Add Quit event handler
    Add Quit event handler
    Add Clear Statusbar Activate Handler
    Add Clear Statusbar Activate Handler