| "Lifting Map" |
[Nov. 22nd, 2009|09:00 am] |
I feel like a college freshman again.
There's a one-to-one correspondence between the set of circles in the plane and intersections of planes with the parabaloid . So you can turn the InCircle question into a half space test by passing your test point through the "Lifting Map" |
|
|
| Comedia dell'Arte in Paris |
[May. 31st, 2009|11:50 am] |
 Arlecchino, Pantalone, Dottore and a Zanni
A month ago, Lynn and I took a vacation to Paris where we stopped in at the Musée Carnavalet. Mostly devoted to the History of Paris, one room contained the above statuettes of characters from Comedia dell'Arte. Thank you I Genisii ( devreux, cayeux, Brandough, parowa, alfiechat, blackpaladin) for making me smile. |
|
|
| Consistency, Survivability, Speed: Pick Two |
[Nov. 20th, 2008|01:13 pm] |
Legal Disclaimer: The views and opinions expressed in this article are mine only and do not necessarily reflect the views of Google. I spent my first two years at Google working on Google Checkout, and I walked away with two great lessons. One was the lesson I learned from Pat Helland on building scalable systems. The other was admitting a fundamental trade off in system design. Like many things, it seems obvious in retrospect, but you would be surprised at the number of people who keep trying for everything [cf, OceanStore]. When building a computing system, you only get to pick two: (1) Consistency (2) Survivability (3) Speed. What do I mean by these? Consistency: Someone in Tokyo and someone in Chicago make a query on a piece of data and both observe the same state. Survivability: The system continues to function even in the face of a catastrophic outage such as the loss of power in New York state in 2003. Speed: How long does it take to mutate a single piece of data. Scenario 1: Consistency and Survivability If you want consistency and survivability, then you are forced to make each write in your system to backends on different failure domains. Failure domains may be quite large, as shown by the New York State 2003 power outage of 2003. This implies geographically distributed backends, and you can't beat the speed of light. A ping from Mountain View to Atlanta takes 60 ms on Google's network; and the speed of light puts the lower bound at 22 ms. At Google, systems which choose consistency and survivability include Google Docs and our global Chubby cell. This trade off has the advantage of requiring no operator interaction when one of our clusters goes offline. However, it comes at a cost: writes which could have taken 2 ms take 200 ms. An application which makes 100 writes for each user action might work well enough in the former case but won't in the latter. Therefore, Google Docs and users of Global Chubby must be much more frugal with their writes. Brewer's Law: In a network partition, there is always a losing side. If two systems are independently modifying a piece of data, it may be difficult (or impossible) to resolve the combined effects of those modifications. What does it mean for an order to be canceled and shipped (so-called "forked state")1 ? To maintain consistency during a network partition, at most one side will win ownership of each piece of data. The other side will at best have a read-only version that may be stale. Scenario 2: Consistency and Speed If you're willing to forgo survivability, you can get consistency and speed in a variety of ways. The simplest way is to have one computer and a single copy of the data (a global "master"). To reduce your mean time between failure, you can put a quorum system like RAID or GFS in place so that when individual components fail, your system keeps humming along. However, if your entire site goes offline due to a fiber cut or other catastrophic failure, you have an outage. The common approximation to survivability chosen by people who choose consistency and speed is to have a replica which lags a certain distance behind the master and is located elsewhere. The replica has a consistent view of the world: it's just a bit out of date. Such replicas are often used to serve read-only versions of the data, and there are approaches to force-promote a replica to be master if the master is lost, but care must be taken regarding the possibly-stale state of existing objects. Scenario 3: Speed and Survivability How does Google provision web search for the world? We don't synchronize the index. Google has S search clusters each of which can serve Q search queries per second. Each search cluster receives a continuous stream of background updates that bring it to a close approximation of the "current" state of the Internet. However, there's no need for each cluster to be strictly in sync with the others. Maybe you have the blog post that was made ten minutes ago in your search results and I don't. In return for such small inconsistencies, Google provides web search which is always on and always fast. Postscript Even though I've framed the survivability versus speed trade off here as one involving geographically distributed backends, the trade off arises at lower levels as well. GFS trades some survivability for speed: write completion does not wait for disk commit, only memory commit to three chunk servers. If all three chunk servers lose power before their disk caches are flushed, the writes are lost. We've found this trade off acceptable given the speed up: disk seeks take about 10 ms, whereas memory references take only 10 ns. 1 Maybe Amazon knows what it means to have an order be independently shipped and canceled. Amazon's Dynamo Paper indicates that many of their objects are written to have mergable histories. -David Eger, November 2008
|
|
|
| Media List 2007 |
[Dec. 18th, 2007|12:13 am] |
I've stumbled upon a variety of good media this year which ended up falling into three broad categories: horror, curiosities and fantasy. The best of which I list below.
HorrorBoth real and imagined this genre has the ability to make us want to turn our eyes, hoping not to see the degradation and inhumanity that lays before us.
CuriositiesCuriosities give us something interesting to think about. They are full of details from which we can learn, or which we may simply enjoy.FantasyThe realm of fantasy is the realm of our dreams: worlds we can explore, people we wish we knew (or were!), or stories that are just plain fun.Key: Fiction, Non-Fiction |
|
|
| New Year's in Atlanta |
[Dec. 5th, 2007|06:20 pm] |
It's been five months and I'm settling in to life in the Bay Area. The San Francisco Bay Area is about as expensive as New York, but you get half again as much space for your money. Lots has happened this year: a cross country move, three weddings, a funeral, a new piano, getting promoted, moving projects, seeing asia for the first time, and listening to some good books.
I'll be in the Atlanta around the New Year (Dec 28 @ 7PM - Jan 6 @ 7AM), staying with Hammad and hopefully getting a chance to see you. Let me know if you're around.
Please post your current address (replies screened) if you'd like a christmas card. |
|
|
| Owl visit |
[Sep. 3rd, 2007|11:50 am] |
jalenstrix drove up from her new home as resident linguist in the desert to visit me this weekend, hooray! Her new boy is a lot of fun; and jalen continues to be the most fun girl on the dance floor. Skinny czech girls approve. |
|
|
| Dark and Imaginative Fiction |
[Aug. 12th, 2007|06:33 pm] |
I've been thinking of pigmassacre a lot lately, ever since I picked up a copy of Borderlands 3.
Dark fiction is something that brings back memories of Terrell Street -- the place where I was first introduced to the Borderlands series. My friend Pynk kept all manner of macabre games and books, so it's no surprise that he discovered some of the more imaginative books of the genre. Not all of the stories in Monteleone's series are great, but he does a good job of finding fresh ideas. The Borderlands series is a limited edition run, however. So it's a rare pleasure to find a copy of one of the five books.
Slightly easier to come by is the good stuff over at pseudopod.org. Pynk edits the podcast under very much the same rules as Monteleone, and there are enough up and coming writers to keep a good dark story coming out every week or so. |
|
|
| US Presidential Candidate Ron Paul |
[Jul. 3rd, 2007|02:26 pm] |
My sister told me the other day about a candidate for president: Ron Paul. He's one of the 133 congressmen who voted against the authorization of a war in Iraq, which is a nice quality in any candidate for president. Of the other popular candidates, Biden, Clinton, Edwards, Lieberman, and McCain all voted for the war. Feingold voted against it. Barack Obama didn't get elected to congress until 2004, two years after he might have voted. Senate Bill for Iraq War Authorization House Bill for Iraq War Authorization House Roll Call
Ron Paul is a reasonable candidate. His stances play out as follows according to his web site:
Agree
- The Iraq war was a mistake, a war sold on a folio of lies.
- The government has taken too broad a license to invade and monitor its citizens.
- Tariffs are just more government taxes - get rid of them.
Ambivalent
- We tax and spend too much.
- We must stop the government from taking land through eminent domain.
- America should withrdraw from the WTO and other meddling international organizations.
Disagree
- Fetuses should be protected by law.
He'll be stopping by Google in a couple of weeks, and his speech will likely end up on Google Video. Let's see if he's any more receptive to our concerns than McCain was. |
|
|
| Moving: NY -> CA |
[May. 17th, 2007|02:38 am] |
|
I'll be moving to the San Francisco bay area in about a month. |
|
|
| In Atlanta over New Year's |
[Dec. 3rd, 2006|05:33 pm] |
|
I'll be coming to Atlanta over New Year's (December 26 - January 7). Hope to see you all there. |
|
|
| Coming to the ATL |
[Jul. 11th, 2006|10:45 pm] |
|
After far too long toiling for e-Commerce, I will be returning to my second home of Atlanta to celebrate my 26th birthday this weekend. Join me at the Outback Steakhouse off of North Druid Hills this Friday, or catch me at Atari's Sexxxy Halloween Party Saturday. The lovely Lynn Chan has agreed to grace my presence in these escapades, and I hope you will as well. |
|
|
| Traveller's Nightmare: Extortion by the Airlines |
[Apr. 2nd, 2006|10:11 pm] |
Dear World,
What is one's recourse when faced with extortion by an airline?
Background: I had two trips arranged in sequence, one for business and one for vacation. Airline A was NY -> SF -> NY. Airline B was NY -> Montréal -> NY. Airline A fucked up the SF -> NY and as a service, just sent me to Montréal. When I arrived today to pick up my Montréal -> NY return trip, Airline B informed me that since I had not taken the first leg of my trip (which I had already paid for), my itinerary was cancelled, and if I wanted to go home I would have to purchase a new (much more expensive) ticket.
WTF?
Are there laws against this?
Yours truly, Miserable Traveller |
|
|
| K&R: Scoping By The λ Challenged |
[Apr. 1st, 2006|01:24 am] |
This evening I received a segmentation fault while hacking up a quick interpreter for a little language. C's interpretation of variable scope is not, dear reader, the simple elegance of syntactic sugar for lambda binding that SML gives you in its let-expressions. There is no beta-substitution going on here.
{ int c = 5;
{ int q = c + 1; // yes, that's the old c you're using
int c = c + 1; // no, that's not the old c you're using
}
}
And gcc -Wall won't warn you. |
|
|
| Breaking Codes |
[Mar. 18th, 2006|04:05 pm] |
Dear World,
I would like to offer a reward of $10 to the first person to correctly decrypt the following message, embedded in stone on the side of a European Commission building in Brussels:
 |
|
|
| Asylum Street Spankers Reassembly Tour! |
[Jan. 29th, 2006|09:00 am] |
"God's Favorite Band" will fill your heart with joy and laughter like no others. Nowhere outside of a full orchestra will you find such a wide variety of instruments played for your enjoyment: mandolin, guitar, kazoo, washboard, banjo, clarinet, upright bass, violin, drum, musical saw, harmonica, and yes, the musical beer bottle.
The Spankers play a refreshing fun mix of blues and humor, naughty irreverent ditties, and refreshingly light-hearted commentary on this American life :-D The Asylum Street Spanker's full tour schedule is here, though I've selected a few of the more important dates to you my readers here below:
| 31 Jan 2006 | Austin, TX | The Saxon Pub |
| 4 Feb 2006 | Nashville, TN | 3rd and Lindsley |
| 11 Feb 2006 | Pittsburgh, PA | Club Café |
| 12 Feb 2006 | Philadelphia, PA | World Café Live |
| 14 Feb 2006 | New York, NY | Joe's Pub |
| 19 Feb 2006 | Atlanta, GA | Smith's Olde Bar |
| 24 Feb 2006 | Austin, TX | Ruta Maya |
| 10 Mar 2006 | San Francisco, CA | 12 Galaxies |
| 17 Mar 2006 | Austin, TX | The Saxon Pub |
| 25 Mar 2006 | Dallas, TX | Allgood Café |
|
|
|
| New York City Transit Strike |
[Dec. 21st, 2005|08:34 pm] |
So in a city where seven million people take the subway every day, the subway closing down is really bad.
I walked 7.4 miles to work in the cold today. Ick. And why did I do this? Why, because I have to get my trip reimbursement forms (for expenses totalling $1000+) in, or I don't get reimbursed. I'm so not doing this trek tomorrow. |
|
|
| Where did the sun go? |
[Dec. 2nd, 2005|12:11 am] |
California was supposed to be warm and sunny. The Googleplex is very cool, nonetheless.
I'll be around SF till Dec 20. *kisses*! |
|
|
| This Post Brought to you by JuSquare |
[Nov. 11th, 2005|09:05 pm] |
I have been busybusybusy with the new job in Manhattan. Much to learn, much to do.
Getting very slowly settled into my new place in Brooklyn, and am finding that I spent most of my non-work hours in a place called the Tea Lounge, pictured below.
![[The Tea Lounge]](http://www.yak.net/random/4lj/tea_lounge.jpg)
And now for the central core of the post, a silly meme: ( silly memeage ) |
|
|
| Lamp |
[Oct. 23rd, 2005|06:24 pm] |

Though my apartment is now an utter mess, and consequently my life feels the same, I am made happy by my new lamp. |
|
|
| And the Winner is... |
[Sep. 25th, 2005|04:02 pm] |
I am off to join datavortex and jessejoe to seek my fortune with the good ship:

I'll be living in Manhattan. New address coming soon. The old phone number should continue to work indefinitely. If you know someone wanting to sublet a swank place in Pittsburgh, let me know. |
|
|
| navigation |
| [ |
viewing |
| |
most recent entries |
] |
| [ |
go |
| |
earlier |
] |
| |
|
|