<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>James N. Sears</title>
      <link>http://www.jamesnsears.com/</link>
      <description></description>
      <language>en</language>
      <copyright>Copyright 2008</copyright>
      <lastBuildDate>Wed, 18 Jun 2008 22:49:18 -0500</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>Mac Pro Optical Digital Audio Output and the Mute button</title>
         <description><![CDATA[<p>One of the great things about the new <a href='http://www.apple.com/macpro/'>Mac Pro</a> is its full size optical digital output, which feeds pure and clean digital audio to my receiver and on to the speakers in the office or main room.  The downside of this is that the implementation is such that there is no master volume or mute capability; the optical out is a direct hard line out of whatever your apps hand it.  Controlling volume with iTunes is no big deal, but it's really really annoying when you open a website with blaring loud awful music and have no way to quickly mute the sound.  The best way I know is to open the System Prefs and change the audio output.  So I figured what better time to hack a little <a href='http://www.apple.com/applescript/'>AppleScript</a> to at least automate the output switch.</p>

<p>I've only touched AppleScript on one other occasion, and I must say it's a bit of a mystery to me.  It's sort of like the developers tried so hard to make the code like English that it turns into a confusing mess of pseudocode, and I've yet to find any comprehensive reference of what's possible in quick glances at what seems to be a maze of documentation.  (Any pointers to such a reference would be much appreciated, BTW)  But, there's always Google.  To be fair, I've only spent a few moments with it and was able to figure out what I needed to make my mute button work, albeit with a big chunk of copy and paste from the <a href='http://www.oreillynet.com/mac/blog/2006/07/applescript_audio_output_switc.html'>O'Reilly Mac Devcenter blog</a>.</p>

<p>So, without further ado, here's the code.  You'll need to use AppleScript Utility (in /Applications/Applescript) to "Enable GUI Scripting" for this to work (the script will help you out with this if you haven't already done so).  Use the Applescript Editor (also in /Applications/Applescript) to save the code (it seems to do some compilation in the process).</p>

<p>The long lines are hard to read here on the site, so the code is also available <a href='http://jamesnsears.com/dev/mac/mute.txt'>here</a>.</p>

<blockquote><pre>
(*
Modified from the script found at http://www.oreillynet.com/mac/blog/2006/07/applescript_audio_output_switc.html to
switch between Digital output and Internal speakers, to act as a mute when using Digital out
*)

(*
This script toggles between two audio outputs in the "Sound" pane in "System Preferences" and adjusts the volume. 
Modified from a script at http://forums.macosxhints.com/showthread.php?t=45384 
to add volume control and GUI scripting detection. --David Battino, www.batmosphere.com.

USES GUI SCRIPTING; "ENABLE ASSISTIVE DEVICES" OPTION MUST BE CHECKED IN THE "UNIVERSAL ACCESS" PREFERENCE PANE
*)

tell application "System Preferences"
	activate
	set current pane to pane "com.apple.preference.sound"
end tell
tell application "System Events"
	if UI elements enabled then
		try
			tell application process "System Preferences"
				tell tab group 1 of window "Sound"
					click radio button "Output"
					if (selected of row 3 of table 1 of scroll area 1) then -- Digital out is selected
						set selected of row 1 of table 1 of scroll area 1 to true
						tell application "Finder"
							set volume 0
						end tell
					else
						set selected of row 3 of table 1 of scroll area 1 to true -- Internal speakers are selected
						tell application "Finder"
							set volume 2
						end tell
					end if
				end tell
			end tell
			tell application "System Preferences" to quit
		on error
			tell me to activate
			display dialog "Problem selecting audio device." buttons {"Whoops!"} default button 1
		end try
	else --GUI scripting is disabled
		tell application "System Preferences"
			activate
			set current pane to pane "com.apple.preference.universalaccess"
		end tell
		display dialog "Please check the box called \"Enable access for assistive devices.\"" buttons {"Okay"} with icon 1 default button 1
	end if
end tell

</pre></blockquote>

<p>The script opens the System Preferences dialog, clicks on Sound, selects the Output tab, and toggles between outputs 1 and 3, which in my case are "Internal Speakers" and "Digital Out".  When setting the output to the internal speakers it also sets the volume to 0 (mute).  Perfect.</p>

<p>Now with a <a href='http://www.blacktree.com/'>Quicksilver</a> trigger, the script runs when I press F10 (in my case fn+F10, since I have the other special keys enabled) and mute is toggled.  I also used the Quicksilver triggers and the iTunes plugin to map F11 and F12 to iTunes volume up and down.  Not quite as nice as master volume + mute, but hey, it's digital to the amp &mdash; worth a little annoyance.</p>]]></description>
         <link>http://www.jamesnsears.com/2008/06/mac_pro_optical_digital_audio.php</link>
         <guid>http://www.jamesnsears.com/2008/06/mac_pro_optical_digital_audio.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Development</category>
        
        
         <pubDate>Wed, 18 Jun 2008 22:49:18 -0500</pubDate>
      </item>
            <item>
         <title>Multiple Database Connections in Ruby on Rails</title>
         <description><![CDATA[<p>I've been doing a lot of work in <a href='http://rubyonrails.org'>Ruby on Rails</a> lately and absolutely love it.  In the past few days I've needed to port an existing database over to a new schema for comparisons and benchmarking.  It took a bit of digging to find what turned out to be a typical RoR (read: elegant) answer to the related problem of maintaining connections to multiple databases in Rails, so I thought I'd offer a link to <a href='http://drnicwilliams.com/2007/04/12/magic-multi-connections-a-facility-in-rails-to-talk-to-more-than-one-database-at-a-time/'>Dr Nic</a> here.</p>

]]></description>
         <link>http://www.jamesnsears.com/2008/06/multiple_database_connections.php</link>
         <guid>http://www.jamesnsears.com/2008/06/multiple_database_connections.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Development</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Web</category>
        
        
         <pubDate>Tue, 10 Jun 2008 01:54:08 -0500</pubDate>
      </item>
            <item>
         <title>New Tools</title>
         <description><![CDATA[<p><img src='http://images.jamesnsears.com/010-pwm.png'/></p>
<p>It's also worth mentioning with respect to the new piece for Coachella, that I've acquired a few new tools that are making the process much quicker and easier.  First and foremost, and really the centerpiece of it all, is the new Tektronix <a href='http://www.tek.com/site/ps/0,,41-12482-INTRO_EN,00.html'>TDS3024B Oscilloscope</a>.  This baby has been on my wishlist ever since playing such a huge role in my <a href='http://courses.ece.uiuc.edu/ece445/?f=Projects&sem=spring2002&proj=2#a2'>senior design project</a> success back at UIUC, and with the days counting down fast to Coachella, I decided I needed all the help I could get, and it really has been a big help.</p>

<p>I often describe working on electronics without a good scope as being comparable to trying to work with your eyes closed.  It's not necessarily impossible but it increases both the time and frustration of even simple tasks by orders of magnitude.  It's much easier to work intuitively when you can see what's happening right before your eyes.  The image above, which I grabbed just to confirm that the duty cycle of the PWM was changing (in this design, the duty cycle of the PWM is also capable of changing faster than the eye can perceive), shows in yellow, pink, and green the CS, MOSI, and MISO lines from the FPGA to the SD card, and in cyan one of the channels of PWM out to an LED.  Prior to this I had an old Tek265 analog scope which was useful in many circumstances, but for things like the serial bus debugging of the past few days, just didn't do the job.  The 3024 has 4 channels @ 200MHz with all sorts of advanced measurement capabilities, FFT, advanced trigger, and a 640x480 color LCD.  It also sports its own internal web server so getting screen captures is as simple as opening a web browser.  The only negative is that when debugging a 50MHz serial bus on a 200MHz scope, the waves are pretty distorted, so a higher bandwidth wouldn't hurt.  I wouldn't trade the advanced features for more bandwidth though, and to up the bandwidth to 500MHz crosses the line into 5-figure territory, which just wasn't in the cards this time.  The reality is that the 3024 has been capable of everything I've asked, and I couldn't be more pleased with my decision on this one.</p>

<p>Also very helpful has been the Intronix <a href='http://www.pctestinstruments.com/'>LA1034 LogicPort</a> USB Logic Analyzer.  A logic analyzer is essentially an oscilloscope that trades the ability to see analog voltage levels for the ability to see lots of channels at once &mdash; in the case of the LogicPort, 34.  It's somewhat limited in its sample storage capacity, which limits the length of data you can view at one time, but it mostly makes up for this with really smart triggering, which lets you focus that limited view on exactly what you want to see.  The software also decodes serial buses, so it turns the SPI data and clock wave forms into hex that you can read directly (shown in the image below), which has been invaluable in the past few days.  It's also an incredible bargain, when you compare with hardware solutions that (in Tektronix) <em>start at</em> $10k.  The LogicPort is no $10k piece of gear, but it's a great addition to the lab that I'm very glad to have made.  Plus, it's made in the USA by a small American company doing great work, which is always nice to support when the opportunity arises.</p>

<p><img src='http://images.jamesnsears.com/la_crop.png'/></p>
]]></description>
         <link>http://www.jamesnsears.com/2008/03/new_tools_1.php</link>
         <guid>http://www.jamesnsears.com/2008/03/new_tools_1.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">PhysicalComputing</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Projects</category>
        
        
         <pubDate>Sun, 23 Mar 2008 23:16:13 -0500</pubDate>
      </item>
            <item>
         <title>Verizon FiOS FTW</title>
         <description><![CDATA[<p>A few months back I switched to <a href='https://www22.verizon.com/Residential/Broadband/'>Verizon FiOS</a> Internet service, which I had been watching for some time and had just become available.  My big motivation for the switch was a really nice advertised upload speed of 5mbps (with the premium package: ~$58/mo).  This blows anything previously in the "even close to affordable" category out of the water and is nice if you're sending big files frequently.</p>

<p>I've been happy with the service since day one, but today I was sending some 10 megapixel images up to my webserver and thought I'd used the time I saved to post this plug for FiOS.</p>

<p><img src='http://images.jamesnsears.com/fios_upload.png'/></p>

<p>Now how about getting that franchise deal with the city worked out so I can get switched over to FiOS TV too?  <a href='http://gizmodo.com/gadgets/patience/verizon-fios-tv-subscribers-getting-150-hd-channels-by-end-of-2008-317982.php'>Rumor</a> has it that FiOS will be carrying 150 HD channels by EOY 2008.</p>]]></description>
         <link>http://www.jamesnsears.com/2008/03/verizon_fios_ftw.php</link>
         <guid>http://www.jamesnsears.com/2008/03/verizon_fios_ftw.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Web</category>
        
        
         <pubDate>Thu, 20 Mar 2008 19:39:13 -0500</pubDate>
      </item>
            <item>
         <title>New York Senate S.66, Continued</title>
         <description><![CDATA[<p>I was just searching to see what happened with the vote on New York Senate Bill S66 (either scroll down two posts or <a href='http://www.jamesnsears.com/2008/03/in_defense_of_poker_and_a_free_1.php'>click</a> to read my thoughts about the bill) today, and while it was unsurprisingly impossible to find any information on the outcome (it's quite possible that it's been postponed due to the juicier issues of the day in Albany), I found a brief paper on the topic by a group perhaps a bit more knowledgeable about the law than myself, The New York City Bar Association.  The paper is available <a href='http://www.nycbar.org/pdf/report/GamblingBill.pdf'>here</a>, but in case you don't follow the link, suffice it to say that it opens with the words: <b>THIS BILL IS DISAPPROVED</b> (caps and bold from the source).</p>

<p>The NYC Bar specifically denounces the idea that we should be prohibiting even the <em>endorsement</em> of such an activity, "illegalizing or at least chilling a considerable
amount of constitutionally protected speech."  With specific regard to the restrictions the bill would place upon the Internet, they write, "Nor it is in the public interest for the New York State Legislature to attempt to keep information from U.S. web users: such an attempt can only prove futile, given the vastness of the Internet; waste public resources; and as discussed above, chill valid and protected speech."</p>

<p>My thoughts exactly.</p>

<p>It's also quite disappointing (although, as I said before, unsurprising) that there is so little information on this matter readily available on the web.  A <a href='http://www.google.com/search?q=new+york+senate+S66'>Google search for <em>New York Senate S66</em></a> yields only three relevant results (at least in the first two pages of results), two of which are links to this site (one to my previous post and one to my copy of the text of the bill) and the other being the PDF of the NYC Bar paper linked above.  Is it any wonder legislation like this slips through our system unnoticed?  Hats off to projects and organizations like <a href='http://readablelaws.org'>Readable Laws</a> and <a href='http://sunlightfoundation.com/'>Sunlight Foundation</a> who are trying to change that.</p>]]></description>
         <link>http://www.jamesnsears.com/2008/03/new_york_senate_s66_continued.php</link>
         <guid>http://www.jamesnsears.com/2008/03/new_york_senate_s66_continued.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Poker</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Politics</category>
        
        
         <pubDate>Tue, 11 Mar 2008 23:11:32 -0500</pubDate>
      </item>
            <item>
         <title>Coachella</title>
         <description><![CDATA[<p><img src='http://images.jamesnsears.com/DSC_0364_sm.jpg'/></p>

<p>For the past few months, and really accelerating in the last couple of weeks, <a href='http://artmagnitude.com'>Dad</a> and I have been working on a new piece, set to debut at the <a href='http://coachella.com'>Coachella Valley Music and Arts Festival</a> April 25-27.  At its core will be a much improved spherical display with high-res surface complemented by volumetric accents, all in 24-bit color.  On-board will be on the order of 10GB of removable flash memory, combining the increased resolution and color depth with a much greater potential show length as well as much easier program changes.  All of this will lend itself toward a renewed focus on content, which is a very exciting thing for me as a big step toward the high-definition three-dimensional canvas which I originally envisioned with the ORB.</p>

<p>To make this a reality, I've finally crossed the void into the world of FPGA, and I'm loving it.  The ability to quickly create massively parallel hardware in a few lines of code is really powerful.  It takes a bit of getting used to, but within a few days I was generating the beginnings of working code in VHDL, largely with the help of Volnei A. Pedroni's <a href='http://books.google.com/books?id=b5NEgENaEn4C&dq=pedroni+circuit+design+with+vhdl&pg=PP1&ots=LMbFovlO7s&sig=kglFB_enlJaWlEdJ1rBRMA_AjDM&hl=en&prev=http://www.google.com/search?hl=en&q=pedroni+circuit+design+with+vhdl&sa=X&oi=print&ct=title&cad=one-book-with-thumbnail#PPA96,M1'>Circuit Design with VHDL</a> and the Altera Cyclone III <a href='http://www.altera.com/products/devkits/altera/kit-cyc3-starter.html'>Starter Kit</a>.  Now, just under a week into serious development, I feel as though I've got a pretty good handle on things, so the learning curve isn't as steep as it initially seemed, particularly if you've got some crossover experience developing both software and hardware.</p>

<p>As is unfortunately too often the case though, the learning curve seemed steeper when it came to using some of the pre-existing libraries I found.  I needed SPI to access the flash memory, and so I started looking for libraries.  The Altera board shipped with Quartus II which I'm using for all of my development and is a pretty nice package.  Quartus leads you directly to Altera's NIOS soft-core processors with all kinds of great add on modules.  These designs are cool because they allow you to set up part of the FPGA to act as a microprocessor meaning you can develop in a typical procedural language like C where appropriate, using the hardware definition languages only where necessary.  The demos were easy to walk through and I thought I had everything figured out &mdash; until I read about the $2500 per seat licensing fee.</p>

<p>I'd heard of <a href='http://opencores.org'>OpenCores</a> and it sounded like a really cool project so I thought I'd check it out.  OpenCores is essentially <a href='http://www.sourceforge.org'>Sourceforge</a> for HDL (hardware definition language) designs, albeit much less trafficked.  It appears that there is some great work going on there, but at my level of knowledge, the documentation was just insufficient for my needs.  If I really needed a fully-featured CPU running on my chip I'm sure I could have figured it out given enough time, but as it stands it's far from plug and play.  And as the countdown timer on <a href='http://coachella.com'>coachella.com</a> continually reminds me, the show starts in 45 days, 17 hours, 28 minutes and 26 seconds.  So it's time for action.</p>

<p>As it turned out, I spent a bit more time tweaking the SPI module I had been writing prior to looking at the soft cores, and with just a bit more effort, got it up and running.  I then began work on a state machine that controls the SPI module and passes the data out to a set of PWM modules which actually control the LEDs.  I'm still working on scaling the code and getting some of the finer control functionality implemented, but all indications are that with a few more days of work the code will be 99% complete.  Then its on to PCB design, construction, and content.</p>

<p>In parallel with the electronics, Dad's hard at work building two chassis, one to ship to Manhattan for me to use as a framework to finish the electronic development and another to finish out in time for Coachella.  We've got a totally new look this time, a bit more design-influenced and incorporating some cool high-tech materials.  I'll get some photos of that part of the process up here as soon as they become available.</p>

<p>In the meantime, it's back to work.</p>]]></description>
         <link>http://www.jamesnsears.com/2008/03/coachella.php</link>
         <guid>http://www.jamesnsears.com/2008/03/coachella.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Art</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Design</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Orb</category>
                  <category domain="http://www.sixapart.com/ns/types#category">PhysicalComputing</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Projects</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Travel</category>
        
        
         <pubDate>Mon, 10 Mar 2008 05:23:58 -0500</pubDate>
      </item>
            <item>
         <title>In Defense of Poker and a Free Internet</title>
         <description><![CDATA[<p>Here they go again.  This time, we've got New York State Senate bill 66 which aims to step up the restrictions on internet gaming (including of course, poker).  Now we're not just going for the sites, but also the internet service providers for providing the access, which is a bold political move with clear implications well beyond the world of online poker.</p>

<blockquote>
A person "profits from gambling activity" when, other than as a player, he accepts or receives money  or other property pursuant to an agreement or understanding with any person whereby he participates or is to participate in the proceeds of gambling activity,  including but not limited to an agreement or understanding to act as an internet service provider. "Internet service  provider"  means any  information  service,  system,  or  access  software  provider that provides or enables computer access by  multiple  users  to  a  computer server,  including specifically a service or system that provides access to the Internet.
</blockquote>

<p>The three sponsors of this legislation are Senator <a href='http://en.wikipedia.org/wiki/Frank_Padavan'>Frank Padavan</a> (R) of Queens and Senators <a href='http://en.wikipedia.org/wiki/Mary_Lou_Rath'>Mary Lou Rath</a> (R) and <a href='http://en.wikipedia.org/wiki/Dale_Volker'>Dale Volker</a> (R) of eastern NY state.  You can read it in its entirety <a href='http://jamesnsears.com/extras/ny_senate_s66.html'>here</a>, or go straight to the <a href='http://public.leginfo.state.ny.us/menugetf.cgi'>Senate website</a> and search for [Bill] [S66] [2008] with all of the boxes checked. (As an aside, how about giving us the ability to search and link directly to your work, Senators, instead of hiding from Google and the rest of us behind a clumsy CGI interface?)</p>

<p>If you read this blog with any regularity, it shouldn't be news that I'm a big advocate of the game of poker.  I support it both as a player and as an unwavering advocate of the freedom and independence of American citizens.</p>

<p>Poker's been very good to me.  Not because I've won a fortune playing it (although I am some thousands of dollars financially better off for the game), but more because of the things it has taught (and continues to teach) me.  Learning firsthand about how people (most of all me) react under pressure and learning to deal more gracefully with that pressure has made me more effective in business and in life.  Likewise, sharpening skills of observation and attention toward the end of understanding the true motivations of other people and evaluating the truthfulness of their statements and actions is of clear value across all aspects of everyday life.  And finally, I happen to enjoy it.  I don't have time these days to play as much as I'd like but it ranks high on a shrinking list of leisure activities in an ever more time-crunched life as a (judging by the Senators' standards crossed with my love of poker, apparently degenerate, albeit well-employed) technologist.  So, Senators Padavan, Rath, and Volker, you intend to tell me that after working a 12 hour day that I can't open up the <a href='http://fulltiltpoker.com'>Full Tilt</a> client and play a $10 poker tournament?  You've all got to be out of your f**king minds.</p>

<p>You've got to be out of your minds to belong to a political party that campaigns on freedom and patriotism and smaller government, while bristling at the opportunity to get more involved in my personal and private life.  See, I think I might actually be something of a conservative at heart.  I like my freedom.  I definitely like less government intervention in my personal life, and I'm not so crazy about the government getting overly involved in the business world either.  When I hear people talk about conservatism or look at a definition of the term, those things seem to be at the core, but when I see the government trying to waste my tax dollars to prevent me from taking part in one of my favorite pastimes, led by people who call themselves 'conservatives', I have a <em>lot</em> of trouble figuring out how those three little brains of yours and the fellow members of your party reconcile that discrepancy.</p>

<p>You've got to be out of your minds to think that blocking access to pieces of the internet that a few people in Washington or Albany find offensive, dangerous, immoral, or (most importantly as you will see) unprofitable to your district, is a good idea.  I know of a few other places that have formed a habit of this sort of policy.  <a href='http://en.wikipedia.org/wiki/Golden_Shield_Project'>China</a>, <a href='http://arstechnica.com/news.ars/post/20061205-8357.html'>Iran</a>, and <a href='http://blogs.zdnet.com/threatchaos/?p=548'>Pakistan</a> come to mind.  I don't think that many of us here care to start down that road.  A lot of the people reading this probably don't care too much about poker, but there's an above average chance that they do care a lot about the Internet.  I, for one, certainly do, and I intend that it remain free (as in freedom) and open.  Free and open doesn't mean free and open as the U.S. and NY state governments see fit.  It means free and open.</p>

<p>So most of all, you've got to be out of your minds to think that this will work.  In a world where corporations who specialize in developing technology spend millions of dollars to secure products, only to have them, almost without exception, cracked open by individuals and loosely banded groups of high school and college kids within days of their release, do you really think the government is going to be able to do a better job at putting the genie back in the bottle?  So, Senators, ever hear of a proxy?  Ever hear of <a href='http://www.torproject.org/'>Tor</a>?  Didn't think so.</p>

<p>In every case posted above, hackers have found <a href='http://www.technologyreview.com/Infotech/19963/'>ways to circumvent</a> the government imposed censorship.  Don't you think we crazy, free-spirited Americans will do the same?  Want to make that illegal too?  Then you'd better start lobbying for some new taxes to build some new prisons, because they'll be bursting at the seams.  Incidentally, there is reason to believe that this is one of Sen. Volker's political goals, since as the April 26, 2007 op-ed in the Times Union, <em>Spitzer must lead drug law reform</em> points out, he has a disproportionately large number of the state's prisoners in his district, making him an economic proponent of an active correctional system.  Beyond that, a Prison Policy Initiative <a href=http://www.prisonpolicy.org/importing/importing.html'>article</a> places Volker high on the list of NY politicians who are benefiting from gerrymandering which is pushed across the boundary of legality only by counting the population of their districts' packed prisons.</p>

<p>Does Senator Volker plan to fill more prisons with thousands of online poker players?  I doubt it, or at least I hope not.  In fact, the text of the bill continues to absolve the players of our sins.  But he does like keeping his districts stuffed full of non-violent minor drug offenders, and it's tough to promote the cruel hand of justice to one politically marginalized group and tolerance to another.  So when his district's financial well-being depends on full prisons, tolerance becomes a dirty word.</p>

<p>But, all of that is really a secondary concern, and now it's time for the payoff&mdash;the <a href='http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fwww.amazon.com%2FAce-River-Advanced-Poker-Guide%2Fdp%2F0972044221&ei=a0XUR__gCaOCywTHy9iSDw&usg=AFQjCNFlmIh3uTN2l3wjT15HL-_aTr9z3g&sig2=yfGeAjwoEUbsnypzsAZonQ'>Ace on the River</a> if you will.  The real reason the government is, both at the state and federal level, against online gaming is (big surprise) that they want their hand in the rake bucket.  <a href='http://www.senatorvolker.com/59/news/08-03-03/senator_volker_introduces_legislation_recommending_equal_distribution_of_casino_revenues_between_city_of_buffalo_and_erie_county.aspx'>This press release</a> from Senator Volker's own website describes another new piece of legislation that he has just introduced that would provide an equal share of casino profits to his rural constituents.  Gone is the ruse of the moral high ground, and we're left with the truth.  The senator wants a thriving casino pumping money into his district's budget.  Some coincidence that in the process, he wishes he could just get rid of that pesky little computer network that happens to be providing stiff competition.</p>

<p>The Senators should not be blamed for this.  Their job is to stand up for their constituents, but their methods and judgment are horribly wrong.  Devise a plan to tax online gaming, fine.  Start a successful online casino of your own, fine.  Find a way to use online gaming to promote your district's casino (which for anyone who's waited for a table at a brick and mortar cardroom since the online and TV poker boom is not a difficult thing to imagine), fine.  But don't tamper with the freedom of the Internet and the freedom of your state's citizens in an effort to funnel a few extra dollars into your  district's coffers.  That's just wrong.  And so yes, for shamelessly sponsoring that idea in the NY state legislature, all of you, Senator Volker, Senator Padavan, and Senator Roth, are out of your f**king minds.</p>

<hr/>

<p>So what are we to do?  If you support the fight for the freedom of poker, consider joining the <a href='http://www.pokerplayersalliance.org'>Poker Players Alliance</a>, an organization chaired by retired NY State Senator <a href="http://en.wikipedia.org/wiki/Al_D'Amato">Alfonse D'Amato</a> that lobbies for the rights of poker players and keeps us informed of current affairs like New York State Senate bill S66, through email alerts like this:</p>

<blockquote>
<p>Poker needs your help! On Tuesday, March 11th your state Senator will vote on legislation (S.66) which will force Internet Service Providers like AOL, Google and MSN to block their customers from accessing lawful Internet poker Web sites and other gaming on the Internet.</p>

<p>This is a direct assault by the New York State Senate to censure your rights to access the Internet to play poker or similar games in the comfort and security of your own home.</p>

<p>Before Tuesday, please call Sen. Martin Connor at (518) 455-2625.</p>

<p>Tell them:</p>
<ul>
    <li>I am voter in your district and a poker player</li>
    <li>I strongly oppose S.66 because it restricts the free flow of information and services over the Internet</li>
    <li>New York should not follow the example of repressive countries that censor the activities of their citizens on the Internet.</li>
    <li>Please vote NO on S.66</li>
</ul>

<p>With your help we can stop this outrageous bill. Please call your Senator TODAY!</p>

<p>After your call, tell us how it went by <a href='http://capwiz.com/pokerplayersalliance/utr/1/GDLIIEOAAJ/NHXIIEOAJL/1798133721'>clicking here</a>.</p>

<p>
Proud to Play Poker,<br/>
Alfonse D'Amato, Chairman<br/>
Poker Players Alliance <br/>
</p>
</blockquote>

<p>Whether or not you specifically support the game of poker, if you dislike the idea of the flow of Internet traffic being restricted by the government, <a href='http://www.senate.state.ny.us/sdlookup.nsf/Public_search?OpenForm'>find your Senator</a> and call and tell them so.  The vote is on Tuesday, March 11.</p>

<p>My sincere thanks go out to Al D'Amato and the rest of the members of PPA for taking a stand for the rights of poker players and ultimately, all Americans.</p>]]></description>
         <link>http://www.jamesnsears.com/2008/03/in_defense_of_poker_and_a_free_1.php</link>
         <guid>http://www.jamesnsears.com/2008/03/in_defense_of_poker_and_a_free_1.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Poker</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Politics</category>
        
        
         <pubDate>Sun, 09 Mar 2008 15:37:27 -0500</pubDate>
      </item>
            <item>
         <title>Iowa Caucus: Success</title>
         <description><![CDATA[<p>Finally a candidate who seems not just passable, but someone to be excited about.  What I want for Christmas next year: a trip to Obama's inauguration next January.</p>

<p><object width="425" height="373"><param name="movie" value="http://www.youtube.com/v/yqoFwZUp5vc&rel=1&border=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/yqoFwZUp5vc&rel=1&border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"></embed></object></p>

<p>On a related note, on my way back from the holiday I enjoyed a nice read in <em>The Atlantic</em> on <a href='http://www.theatlantic.com/doc/200712/obama'>Why Obama Matters</a>.</p>

<p>Happy 2008.</p>
]]></description>
         <link>http://www.jamesnsears.com/2008/01/iowa_caucus_success.php</link>
         <guid>http://www.jamesnsears.com/2008/01/iowa_caucus_success.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Politics</category>
        
        
         <pubDate>Fri, 04 Jan 2008 12:03:05 -0500</pubDate>
      </item>
            <item>
         <title>Here we go again...</title>
         <description><![CDATA[<p><a href='http://blog.wired.com/27bstroke6/2007/12/clinton-would-c.html'>Clinton Would Crack Down on Computer-Generated Cartoon Sex</a> (<a href='http://blog.wired.com/27bstroke6/2007/12/clinton-would-c.html'>Wired Blog Network</a>, via <a href='http://games.slashdot.org/article.pl?sid=07/12/23/0011252&from=rss'>/.</a>)</p>

<p>Ugh.</p>]]></description>
         <link>http://www.jamesnsears.com/2007/12/here_we_go_again.php</link>
         <guid>http://www.jamesnsears.com/2007/12/here_we_go_again.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Politics</category>
        
        
         <pubDate>Sun, 23 Dec 2007 11:26:45 -0500</pubDate>
      </item>
            <item>
         <title>WIRED NextFest</title>
         <description><![CDATA[<p>Just loading up and ready to leave LA after an incredible NextFest 2007 at the LA Convention Center.  We met a great number of attendees and fellow exhibitors and had a great time making contacts for the future.  Also exhibiting were fellow ITP '07 grads Jury Hahn, Dan Albritton, and Chris Kairalla with <a href='http://playmegaphone.com/index.php'>MegaPhone</a>, a cool platform for playing interactive games using any mobile phone as a ubiquitous controller and ITP grad and former faculty Jen Lewin with one of her <a href='http://www.blueink.com/lasers/index.htm'>Light Harps</a>, which provided a beautifully ambient musical underscore to our NextFest experience.</p>

<p>For those of you who made it to NextFest before my business cards, my contact info can be found <a href='http://www.jamesnsears.com/2005/12/about_me.php'>here</a>.</p>

<p><img src='http://images.jamesnsears.com/orbnf001.jpg'/></p>
<p><img src='http://images.jamesnsears.com/orbnf002.jpg'/></p>]]></description>
         <link>http://www.jamesnsears.com/2007/09/wired_nextfest.php</link>
         <guid>http://www.jamesnsears.com/2007/09/wired_nextfest.php</guid>
        
        
         <pubDate>Mon, 17 Sep 2007 12:38:41 -0500</pubDate>
      </item>
            <item>
         <title>Amen.</title>
         <description><![CDATA[<p>
	<a href="http://www.flickr.com/photos/relevante/1331215895/" title="photo sharing"><img src="http://farm2.static.flickr.com/1155/1331215895_15c1682345.jpg" class="" alt="Amen." title="Amen." /></a>
</p>
				
<p>
	
</p>]]></description>
         <link>http://www.jamesnsears.com/2007/09/amen.php</link>
         <guid>http://www.jamesnsears.com/2007/09/amen.php</guid>
        
        
         <pubDate>Wed, 05 Sep 2007 14:16:56 -0500</pubDate>
      </item>
            <item>
         <title>Material Connexion</title>
         <description><![CDATA[<p><img src='http://images.jamesnsears.com/mc_party.jpg'/></p>

<p>Thanks to everyone who came out tonight to the closing party of the <a href='http://itp.tisch.nyu.edu/object/itp_news_18086.html'>Interactive Youth</a> exhibition at <a href='http://materialconnexion.com/pa1.asp'>Material Connexion</a>.  I'd also like to thank everyone at Material Connexion, who hosted a great event, especially the outstanding <a href='http://www.flickr.com/photos/relevante/1142161081/'>Ben Rosenthal</a>, Project Manager for Public Programs.</p>

<p>Also, in from the archives is a link from back in May from the Popular Science How 2.0 Blog about the <a href='http://popsci.typepad.com/how20blog/2007/05/topnotch_persis.html'>ORB at Maker Faire</a>.</p>]]></description>
         <link>http://www.jamesnsears.com/2007/08/material_connexion.php</link>
         <guid>http://www.jamesnsears.com/2007/08/material_connexion.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Art</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Design</category>
                  <category domain="http://www.sixapart.com/ns/types#category">ITP</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Orb</category>
                  <category domain="http://www.sixapart.com/ns/types#category">PhysicalComputing</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Projects</category>
        
        
         <pubDate>Fri, 17 Aug 2007 01:27:45 -0500</pubDate>
      </item>
            <item>
         <title>YouTube Badge</title>
         <description><![CDATA[<p>I finally set up <a href='http://www.youtube.com/'>YouTube</a> to take videos directly from my mobile phone, so I wanted to automatically embed my most recent video on this blog (find it in the sidebar above the Flickr photos).  I couldn't find anything exactly like what I wanted (i.e. plain and simple), so I threw together a little PHP script to do the job.  Here's the <a href='http://jamesnsears.com/dev/youtube/youtube.phps'>source</a>.  After changing the username, width, height, and optionally the API key (get yours from YouTube), either paste the source directly into your template files or save it to its own separate file and include it.  In either case, your site must run on PHP for this to work.  No guarantees on this one, it's just thrown together, but it works for me.  Good luck.</p>]]></description>
         <link>http://www.jamesnsears.com/2007/08/youtube_badge.php</link>
         <guid>http://www.jamesnsears.com/2007/08/youtube_badge.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Development</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Web</category>
        
        
         <pubDate>Sat, 11 Aug 2007 19:10:24 -0500</pubDate>
      </item>
            <item>
         <title>Why OLPC is a good idea:</title>
         <description><![CDATA[<p>Information is power.  <small><a href="http://laptop.org">OLPC link</a></small></p>

<p>
<!--cut and paste--><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="285" id="VE_Player" align="middle"><param name="movie" value="http://static.videoegg.com/ted/flash/loader.swf"><PARAM NAME="FlashVars" VALUE="bgColor=FFFFFF&file=http://static.videoegg.com/ted/movies/WILLIAMKAMKWAMBA-2007G_high.flv&autoPlay=false&fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&forcePlay=false&logo=&allowFullscreen=true"><param name="quality" value="high"><param name="allowScriptAccess" value="always"><param name="bgcolor" value="#FFFFFF"><param name="scale" value="noscale"><param name="wmode" value="window"><embed src="http://static.videoegg.com/ted/flash/loader.swf" FlashVars="bgColor=FFFFFF&file=http://static.videoegg.com/ted/movies/WILLIAMKAMKWAMBA-2007G_high.flv&autoPlay=false&fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&forcePlay=false&logo=&allowFullscreen=true" quality="high" allowScriptAccess="always" bgcolor="#FFFFFF" scale="noscale" wmode="window" width="320" height="285" name="VE_Player" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object>
</p>]]></description>
         <link>http://www.jamesnsears.com/2007/08/why_olpc_is_a_good_idea.php</link>
         <guid>http://www.jamesnsears.com/2007/08/why_olpc_is_a_good_idea.php</guid>
        
        
         <pubDate>Thu, 02 Aug 2007 11:47:45 -0500</pubDate>
      </item>
            <item>
         <title>Material Connexion: Interactive Youth</title>
         <description><![CDATA[<p><a href="http://www.materialconnexion.com/">Material Connexion, New York</a> has installed an exhibition entitled <em>Interactive Youth</em> which is an assortment of work from <a href="http://michaeldelgaudio.com/">Michael DelGaudio</a>, <a href="http://annehong.com">Anne Hong</a>, <a href="http://andrewjs.com/">Andrew Schneider</a>, and <a href="http://artmagnitude.com">my father</a> and me, including <em>Storyteller</em>, <em>Sasu Bracelets and Ochie's Cube</em>, <em>Solar Bikini</em>, <em>The Alphabet Machine</em>, <em>Mutherboards</em>, <em>City Streets, Northern Lights</em>, and <em>The ORB</em>.</p>

<p>The exhibition was just <a href="http://www.core77.com/blog/events/interactive_youth_exhibit_6840.asp">blogged</a> by the industrial design site Core77, and yesterday I took some photos, a few of which are posted below.</p>

<div style="width:700px;float:left;">
<img src="http://images.jamesnsears.com/iay_sign.jpg" style="float:left;" />
<img src="http://images.jamesnsears.com/solar_bikini.jpg" style="float:left;" />
<img src="http://images.jamesnsears.com/storyteller.jpg" style="float:left;" />
<img src="http://images.jamesnsears.com/sasu.jpg" style="float:left;" />
<img src="http://images.jamesnsears.com/alphabet.jpg" style="float:left;" />
<img src="http://images.jamesnsears.com/mutherboard.jpg" style="float:left;" />
<img src="http://images.jamesnsears.com/csnl_orb.jpg" style="float:left;" />
<img src="http://images.jamesnsears.com/orb_from_above.jpg" style="float:left;" />
</div>
<br/><br/>
<p>The exhibition will be on display through Aug. 3, 2007.  Material Connexion is located at 127 W. 25th St., NYC.  Many thanks to Ben Rosenthal @ MC for all of his hard work in making this exhibition a reality.</p>
]]></description>
         <link>http://www.jamesnsears.com/2007/07/material_connexion_interactive.php</link>
         <guid>http://www.jamesnsears.com/2007/07/material_connexion_interactive.php</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Art</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Design</category>
                  <category domain="http://www.sixapart.com/ns/types#category">ITP</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Orb</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Photos</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Projects</category>
        
        
         <pubDate>Wed, 11 Jul 2007 20:04:17 -0500</pubDate>
      </item>
      
   </channel>
</rss>
