How to get a Samsung Captivate with AT&T for $0 or $25

  1. Go to Samsung.com.
  2. Hover the mouse over Mobile at the top of the screen and click Cell Phones
  3. Then select AT&T cell phones and click on the Samsung Captivate. On the next page click on the samsung captivate again.
  4. Open the Where to Buy options (top right) and select Find Online Retailers. This will take you to the letstalk.com Samsung store
  5. Select the type of plan and then Add To Cart (you might have to Add To Cart twice).
  6. If it's a new contract or new line, the price will be $0. If it's an upgrade, the price will be $50. If you get the $50 price, enter the following coupon code before checking out: 25rafpcver1 and you will get $25 off.

And that's all!

Note that if you're upgrading a family plan, your phone number has to be the main number for the account, otherwise, go to Amazon Wireless and you can get it for $175.

Microbenchmark: Mono's new generational GC vs Boehm GC

The Mono Generational GC (a.k.a. SGEN) has been in the works for quite some time now. Given the no-hassle way to use it these days, I decided to compare the performance of both garbage collectors.

The test itself is very simple. I used xsp listening on port 8080 and hit empty.ashx, which is an IHttpHandler that serves a 0-length web page. In both cases, Boehm and SGEN, I warmed up the server by hitting it once and then ran the following command:

ab -c 20 -n 100000 -k http://127.0.0.1:8080/1.1/handlers/empty.ashx

This will fetch 100k empty pages with 20 concurrent requests over keep-alive connections. The results at the end of each run follows:

Boehm SGEN
Time (s) 29.194 24.687
Memory in use (MB, RSS) 80 61
Requests per second 3425.36 4050.70
Average CPU use (%) 82 93

Over 600 req/s more and using 19MB less memory! Amazing! Kudos to the guys doing all the work, specially Mark.

This is a personal web page. Things said here do not represent the position of my employer.