buy Synthroid online consultation us Female Cialis online order saturday delivery buy Augmentin without prescription buy Cephalexin without prescription to ship overnight buying Ampicillin without a prescription purchase Clomid without prescription purchase Retin-A Gel 0.1% online without prescription purchase online Levaquin without rx purchase online prescription Flomax purchase Tretinoin Cream 0.05% online with overnight delivery Lisinopril without a presciption best Hydrochlorothiazide online pill Phenteramine pharmacy No prescripton Plavix Hydrochlorothiazide with free fedex overnight ordering Cephalexin over the counter online pharmacies no prescription Robaxin Buspar non perscription Baclofen with free fedex overnight Norvasc overnight no consult Buy Accutane online without a perscription cheap Lexapro for sale online no prescription required how to order Clomid online without a rx order Trazodone amex online without prescription Female Cialis deliver to uk fed ex overnight Tetracycline order online no membership overnight Doxycycline overnight online order prescription free Strattera Wellbutrin SR no dr contact cheap Cephalexin without rx Valtrex overnight no consult order Zyprexa pharmacy Flomax without a perscription shipped overnight express Atarax no s consult purchase Cephalexin paypal without prescription Buying Alesse online without a perscription purchase online rx Norvasc without purchase Zyprexa no visa without prescription purchase online Diflucan without rx purchase Tamoxifen money purchase Clomid without prescription mexico Order Viagra Plus online purchase online rx Tretinoin Cream 0.05% without cheap purchase Valtrex purchase Lexapro online without prescription Trazodone without prescriptions buy Fluoxetine without rx from us pharmacy Colchicine without prescription medications buy Nolvadex no visa without rx Amoxil with free fedex overnight Generic Female Cialis no prescription buy Hydrochlorothiazide without a rx overnight shipping Propranolol online no rx overnight Norvasc no doctors prescription Diflucan with no perscription and delivered over night online ordering Medrol Cheap Augmentin no script order Amoxil without prescription to ship overnight Online Motilium no perscription how to order Buspar online without prescription purchase Tadacip without rx to ship overnight order Xenical for cash on delivery purchase Tetracycline without prescription to ship overnight Zithromax buy fedex how to buy Lexapro online without rx order Alesse no prescription Buy Abilify without prescription Synthroid 40 mg online Buy perscription Trazodone online Xenical online consultant buy Valtrex amex online without prescription Order Revatio without a perscription from us purchase cheap online Elavil Zoloft without presciption buy Fluoxetine overnight delivery how to order Medrol online without a prescription Strattera online with next day shipping cheapest Aciphex available online best Cytotec online pill Seroquel no prior script Cephalexin with free dr consultation Buy Cheap generic Levaquin Buy Zovirax cost Buying Tadacip online without a perscription buy Abilify without Online consultation for Diflucan purchase rx Clavamox without Online pharmacies no perscription Lisinopril Elavil without dr order Glucophage online with overnight delivery purchase Wellbutrin SR cod next day delivery No script Furosemide Nizagara cod next day delivery where to purchase generic Nizagara online without a prescription Nizagara without presciption purchase Nizagara without a rx online purchase Nizagara amex online without rx Buspar online uk Where to buy generic Celebrex online without a perscription buy Baclofen without Female Cialis with free fedex overnight buy Female Cialis without a prescription overnight delivery Female Cialis fedex Female Cialis with free dr consultation buy cheap Female Cialis without prescription order Furosemide no visa Furosemide shipped overnight no prescription Furosemide without prescription mexico cheap order rx Furosemide where to purchase generic Hydrochlorothiazide online without a prescription how to purchase Hydrochlorothiazide online without rx Hydrochlorothiazide shipped over night without a perscription generic Buspar tablets purchase Buspar without rx to ship overnight Buspar cheap overnight fedex purchasing Buspar online without prescription generic Buspar buy 40 mg overnight Norvasc without a prescription free Norvasc how to buy Diflucan on line Generic Diflucan no prescription purchase Diflucan free consultation purchase Diflucan without a prescription overnight shipping buy rx Diflucan without order Hydrochlorothiazide without prescription to ship overnight purchase cheap online Hydrochlorothiazide purchase Prednisolone money purchase purchase Prednisolone money purchase free fedex delivery Prednisolone Prednisolone without prescription shipped overnight express buy Prednisolone without rx from us pharmacy buy online rx Norvasc without where to purchase generic Norvasc online without a prescription where can i purchase Norvasc no rx order Amitriptyline without rx needed buy Amitriptyline no visa without rx buy discount Amitriptyline online No script Amitriptyline purchase Amitriptyline no prescription cheap Online pharmacies no perscription Cephalexin buy Cephalexin pay pal without prescription Cephalexin overnight fed ex no prescription purchase Cephalexin visa online ordering Ventolin buy cheap online pharmacy Ventolin purchase Ventolin overnight delivery Strattera without a prescription canadian order Strattera overnight delivery how to get a Strattera prescription Strattera online no prescription overnight purchase Strattera without rx needed Nizagara shipped by cash on delivery ordering Hydrochlorothiazide online without a prescription purchase Hydrochlorothiazide prescription online fedex Hydrochlorothiazide without priscription Hydrochlorothiazide overnight delivery fed ex Hydrochlorothiazide no script fedex order Ventolin 100 mg without prescription order Ventolin without a prescription overnight shipping how to get a Brand Levitra rx Brand Levitra online with no perscription or membership Brand Levitra with no perscription overnight shipping Brand Levitra fedex shipping Brand Levitra without prescription medications purchasing Nizagara without a script buy Nizagara cod next day delivery how to purchase Nizagara online without a prescription buy Nizagara without a rx overnight shipping online pharmacy Cytotec no prescription Cytotec 40 mg online purchase online prescription Cytotec Phenergan without prescription overnight shipping Phenergan with free dr consultation Buy Phenergan next day delivery Phenergan without prescriptions Buy Phenergan online buy Flagyl ER without a rx overnight shipping Flagyl ER without prescriptions Buy Voltaren cost purchasing Voltaren online without prescription Buy perscription Voltaren online buy Voltaren next day delivery Overnight Voltaren without a perscription purchase online prescription Cytotec without canadian prescriptions Celebrex cheap Diflucan by money order Where to buy generic Diflucan online without a perscription Diflucan pharmacy generic Diflucan fedex order Diflucan amex online without prescription Flagyl ER 100 mg Flagyl ER online buy saturday delivery Flagyl ER shipped overnight without a prescription Lipitor overnight delivery fed ex purchase Lipitor without Lipitor with consult where can i buy Lipitor without a rx order Lipitor for cash on delivery Celebrex online buy saturday delivery How to get perscription of Celebrex Buy Celebrex online no membership fedex Celebrex overnight without a rx no perscription VPXL buy VPXL 250 mg Buy VPXL online overnight purchasing Wellbutrin SR with overnight delivery buy Wellbutrin SR without a prescription or membership Online Wellbutrin SR no perscription Wellbutrin SR with overnight fedex cheap Wellbutrin SR for sale online no prescription required order Glucophage without rx needed ordering Glucophage over the counter Online us Glucophage Norvasc 40 mg online buy Norvasc amex online without rx Norvasc online prescriptions with no membership Norvasc without a perscription or buy Norvasc free consultation purchase VPXL no visa without prescription buy Proventil without rx purchase Proventil online with overnight delivery buy Clomid without Overnight Clomid without a perscription Clomid online order saturday delivery cheap purchase Clomid where to buy Clomid no prescription no fees c.o.d Glucophage Glucophage overnight online free Baclofen buy Baclofen without rx from us pharmacy ordering Cipro over the counter Cipro shipped COD order Cipro no visa without rx Cipro without dr buy Cipro online consultation us Buy generic Proventil online Proventil doctor consult purchase Metformin pay pal online without prescription Metformin Online us Metformin no prescriptions needed for Metformin Baclofen overnight fed ex no perscription order Baclofen for cash on delivery order Hydrochlorothiazide no visa without rx Order Lisinopril online without a perscription order Cephalexin without rx needed purchase Cytotec paypal without prescription buy online rx VPXL without buy discount Proventil online no perscription Baclofen

“I disapprove of what you say, but I will defend to the death your right to say it”

November 25th, 2008

Despite the title, the LA Times article below is well worth a read. It touches upon one of the issues that has arisen after the Prop 8 loss in California*: the silencing of the opposition. Personally, I feel that Prop 8 was an immense miscarriage of justice. However, it is very important to remember that there are a number of people out there - some in surprising spots - who whole heartedly disagree with me. That is their legal right. It is entirely inappropriate to go after anyone who may have supported Prop 8 on a personal level. No one’s job should be at risk for their politics. Discrimination based on support for Prop 8 is still discrimination. If nothing else folks, think about how you would feel if the shoe were on the other foot! (ENDA anyone?)

* In case you haven’t heard, the CA Supreme Court has taken up a case considering the constitutionality of Prop 8. I’d say there’s a close to even chance it gets struck down. Let us hope not.


Liberal Hollywood ponders next step in fight for same-sex marriage

After the passage of Proposition 8, some are calling for boycotts and firings. Others worry about free speech rights being trampled.
By Rachel Abramowitz and Tina Daunt, Los Angeles Times
November 23, 2008

In case you didn’t recognize the quote from the title of this post, it’s a famous one in support of free speech by Voltaire (probably).

Using an ostrsteam correctly

November 20th, 2008

At work, I recently ran across a bug in some legacy code using ostrstream. As it turns out ostrsteam is extremely bug prone. In fact, ostrsteam has actually been deprecated in favor of stringstream. If you’re writing new code, do yourself a favor, stop now, and go use stringstream.

If you can’t - say you’re maintaining legacy code - I strongly advise checking to ensure that your code follows the pattern below. If you’re not - and you’re using dynamic buffering (the default) - you probably have at least one bug and one memory leak in your code.


/* By default the constructor allocates a 512 byte block of memory which is managed by the object itself. */
ostrstream stream;

stream << /* some data */;

/* This is the first bug fix. An ostrstream is a BINARY stream. It is not NULL terminated by default, even when calling str(). Since an allocator is not guaranteed to give you a zeroed block of memory, your string may be much longer then you expect. This could cause memory corruption, data corruption, or stack dumps. (Mine was the first two and was a royal pain in the ass to track down.) */
stream << std::ends;

/* Not absolutely required, but the second parameter is an example of paranoid programming. Just in case someone comments out the line above, you'll still be safe from memory corruption. Note: Depending on you're implementation of string, you might get a string with two null characters at the end. This shouldn't cause any problems, but is worth mentioning for clarity sake. */
std::string str( stream.str(), stream.pcount() );

/* This is the fix for the memory leak. The str() call above gave the caller (you) responsibility for deleting the dynamically created buffer. Rather than worry about how that buffer was allocated (new[] versus malloc), you can just tell ostrstream that you don't have a reference to its internal buffer and it will take ownership of the buffer again. Thus the dynamic buffer gets deleted when stream goes out of scope. */
str.freeze(false);

Now if only more UI designers would read this

November 18th, 2008

I have occasionally been tempted to write a post/rant about about interface design. Instead, I’ll just refer you to a couple of useful resources, and say “what they said!”

What reading Tufte won’t teach you: Interface design guidelines - Simply stated rules for designing UIs.

User Interface Design for Programmers by Joel - If you haven’t read this, and you claim to be a UI programmer, who the heck are you kidding?

more to come.. Suggestions welcome.

Join the Impact Rallies/Protest TOMORROW Nov 15th

November 14th, 2008

If you’re friends with me on Facebook, you just a got an event invitation for a series of rallies that occurring all over the nation tomorrow. I usually don’t spam everyone I know with political events since I hate it when people do so to me. This time though, I’m making an exception.

Enough is enough folks! Proposition 8 was a f*cking slap in the face. Its time we, queer folks and straight allies alike, stood up and said something about it. Please take some time tomorrow and join a local protest in your town. Don’t just stand by and let this go unopposed.

To find out about a rally in your town, see http://jointheimpact.com/. Or if you’re as much of a Facebook junkie as I am, check out http://www.facebook.com/event.php?eid=33598248873#/event.php?eid=45356108205. There are events in literally every state in the nation. You won’t have to go far to find one.

Please make a gift that matters

October 26th, 2008

Everyone, I have a birthday coming up at the end of November and I’d like to ask a favor of you. If you were otherwise considering giving me a gift, please don’t. Instead, I ask you to do two things: 1) Vote against Proposition 8 if you’re a California resident, and 2) make a donation to the No on 8 Campaign whether you are a Californian or not. The upcoming vote is likely to be a very close one and your support is much more valuable to me than any physical gift could be.

Here’s a few (of the many) reasons you should oppose Proposition 8:
- You believe in separation of church and state. Proposition 8 is a direct effort to introduce religious morality into the state constitution. Even if you don’t personally support gay marriage, the thought of having one particular religion’s idea of morality inscribed in the state constitution should scare you.
- You don’t believe a minority should be at the whim of the majority. Proposition 8 takes rights away from a minority group. If it passes, the majority of the population will be voting to directly strip rights from a minority. Given that everyone is a minority in some way (race, sex, age, occupation, etc..), do you really want to be setting that precedent?
- You believe in equal rights under the law for all. However you look at it, the CA Supreme Court has very clearly stated that denying gay people the right to marry is discrimination. Proposition 8 wouldn’t change that fact; it would simply inscribe discrimination into the state constitution.
- Finally, and most importantly, because I’m asking you to. This is an issue that is important to me personally, and I am asking for your support.

For the record, the above is not a generic form letter or anything like that. I wrote it (from scratch) because this is a cause I personally believe strongly in. I would greatly appreciate your support in opposing Proposition 8.

Yours,
Philip

I am sending an email with the text above to many of my friends and family in California and around the country. This is a cause I believe in, and I’m asking my friends and family to stand with me.

If you’re reading this, I encourage you to do the same. From what I’ve heard, this is going to come down to a very close vote. Every single person you talk to, and every single dollar you raise will make a potentially critical difference.

Update (11-20-08; Yes, after we lost.): Pam’s House Blend has a really good argument about why everyone - gay or not - should be downright scared by the Prop 8 decision. Go read it! But first, I’ll leave you with a poem to think on.
“In Germany, they came first for the Communists, And I didn’t speak up because I wasn’t a Communist;
And then they came for the trade unionists, And I didn’t speak up because I wasn’t a trade unionist;
And then they came for the Jews, And I didn’t speak up because I wasn’t a Jew;
And then . . . they came for me . . . And by that time there was no one left to speak up.”

CT has marriage! (was: Connecticut marriage case to be announced shortly)

October 10th, 2008

The case that has been before the Connecticut Supreme Court on marriage equality has been decided. They’re announcing the results within the next 1/2 hour. We don’t know what they are yet, but we know it was a very close decision. If you’re a person of faith, please join me in praying for a pro-equality result. I will be.

Love Makes a Family

CT Supreme Court

UPDATE (10:40 am): The case has been released and is a pro-equality decision! Connecticut is the 3rd state to have gay marriage!

Check out the actual decision!

Nice to see some public officials have a backbone

October 9th, 2008

I ran across the news story below and felt like cheering. Apparently, the banks have - no surprise - not being doing their legal duty before evicting people from foreclosed homes. The Cook County sheriff has essentially said “enough is enough!”. Frankly, I couldn’t agree with him more.

I absolutely loved this quote from the Illinois Bankers Association:

“The reality is that by ignoring the law and his legal responsibilities, he is carrying out ‘vigilantism’ at the highest level of an elected official,” it said. “The Illinois banking industry is working hard to help troubled homeowners in many ways, but Sheriff Dart’s declaration of ‘martial law’ should not be tolerated.”

Bullshit. The sheriff is doing his job and saying that the banks must do theirs. If they haven’t met the legal requirements for eviction, he shouldn’t be evicting anyone. Period. End of story. He is in the right here; not them.

Illinois sheriff scolds banks for evictions of ‘innocent’ renters
CNN, 10-9-08

Thoughts on the VP Debate

October 2nd, 2008

I’m currently listening to the VP debate live. Honestly, I’m somewhat surprised at how well Palin is handling herself. I was expecting this to be somewhat like watching a train wreck. Instead, she’s actually doing a fairly damn decent job. Of course, even as I type this she just dodged the question about restricted budgets and first things to cut.

For the record, I love this moderator. She’s cutting them off and forcing them to actually answer the questions!

<--- Missing sections first 1/2 hour --->

Update (9:32pm): Climate Change
Palin - “we’re allowing them to …pollute more than America would ever stand for.” - Any body else concerned by that wording
Biden - faced man-made impact face on, support for clean coal & safe nuclear, export clean coal technology

Update (9:34pm) - Carbon Caps
Palin - Seemingly ignored carbon caps question. Two word answer. (”I do.”) Support for large scale domestic drilling and energy production
Biden - Yes, strict caps.

Update (9:38pm) - Same Sex Rights
Biden - Support for equal constitution rights. Do not support same-sex marriage.
Palin - Can’t support “redefine marriage”. Emphasizing tolerance. No civil rights discussion. Dodged the equal civil rights part of questions.

Update (9:43pm) - Iraq
Palin - Plan for withdrawal, but no early withdrawal. Emphasis on surge and NATO allies (what allies?). Attack with “white flag of surrender”. Slander about voting not to fund the troops.
Biden - Shift responsibility to Iraqis and draw troops over 18 months. Defense of Obama.

Update (9:50pm) - Pakistan vs Iran
Biden - Solid comparison. Redirect issue towards Afghanistan. Build schools to compete for hearts and minds. Point about control of Iran not in the hands of nut job (whose name I can’t remember.)
Palin - Mention nut job leader of Iran and says should not have nuclear power or weapons. Attack on “meet without preconditions”.

Update (9:53pm) - Israel solution
Palin - Two state solution is the solution. Israel is our strongest ally and we will not allow a second holocausts. Enough is enough looking backwards. (After everything she’s said so far? Hah!) Divert to domestic issues.
Bidin - Both friends on Israel. Attack on elections in Gaza strip, not putting NATO troops in Lebanon. “I haven’t heard how his policy on [] will be different from George Bush’s”

Update (10:10pm) - Usage of Nuclear Weapons
Palin - Dodged main question. Went in direction of proliferation. Then went to Afghanistan. Disputed claim of general in Iraq.
Bidin - “Facts matter”. General said, surge will not work. 3 weeks in Iraq is more than 6.5 years in Afghanistan. Caught own over extension about McCain’s record, stepped back.

Update (10:05pm) - Interventionism
Biden - Dafur (no fly zone, “rally the world to act”). genocide -> does not have right to national sovereignty
Palin - Attack on Biden for reversed stance war vote. Agreement on Dafur. Also “all options are on the table” statement. (Does that worry anyone else? Isn’t that a Bushism we can avoid?)

Update (10:07) - “A heat beat away”
Bidin - Carry out Obama’s policies. Rinse repeat.
Palin - Acknowledge differences in positions. Continue policies. Rinse repeat.

<--- Questions are less straight forward and descrete. As such, I'm breaking out by issue, not question now. -->

Education (from a couple of different questions)
Palin - More focus on education, need flexibility in NCLB, profession of teaching, working with special needs
Bidin - NCLB not funded properly

VP Power
Palin - Flexibility of VP office in congress etc. (Very dangerous expansion of past policy in my opinion.)
Bidin - Cheney violated article 1 of constitution. Very dangerous. (I agree entirely.)

Own weaknesses
Palin - Did not answer at all. (Amusingly she drew attention to her own record, but refuses to let Bidin use McCian.)
Bidin - Faced question straight on.

Unfortunately, I have to stop now. My laptop battery is about to die. I may add some extra comments latter.

Good discussion of Credit Default Swaps (CDS)

September 30th, 2008

If you’re like me, you’ve probably heard some mention of these things over the last couple of weeks, but had absolutely no idea what the heck they were. If so, I strongly recommend reading the article below. It provides a good overview of them in a way that I actually feel like I (somewhat) understand the issues.

The $55 trillion question
The financial crisis has put a spotlight on the obscure world of credit default swaps - which trade in a vast, unregulated market that most people haven’t heard of and even fewer understand. Will this be the next disaster?
By Nicholas Varchaver, senior editor and Katie Benner, writer-reporter, CNN Money
Last Updated: September 30, 2008: 12:28 PM ET

Thoughts on the bailout

September 24th, 2008

If you’ve been following the news this week, I’m sure you’ve heard about how the US economy is in desperate straights and that we desperately need to bail out Wall Street. Do I believe that the US economy is about to collapse? Not really. Do I think we face a serious recession and possibly even a depression? Yes. But remember folks, they happen periodically. It sucks to be one, but we will get through it and recover.

Let’s consider the reason for the economic problems we’re now facing. The price of real estate has gotten completely out of sync with its actual value and people’s ability to pay. About 10 years ago, prices started going up exponentially versus the fairly linear increases they’d followed for the last hundreds of years. Given this, it was really only a matter of time before a reset had to happen. Well, now is that time. The price of real estate has fallen dramatically and probably will keep falling for a while yet. Even the current prices are still too high. They haven’t fallen enough to get back to where they should be yet.

Before you start panicking too much folks, remember this is a good thing for most of us! Now, if you bought a home in the last ten years or so, you’re screwed. Sorry. For the rest of us though, I’m frankly looking forward to the day when I can actually afford to buy a home in Fairfield County.

However, the problem our economy is facing is a little broader than that. The brilliant folks on Wall Street decided that since real estate and mortgages were risky they were going to spread the risk around (diversify) as much as possible. (Note: By itself, that isn’t actually a bad idea.) The problem came when everyone decided that since *they* weren’t exposed to any risk, why should they be careful about who the loaned money to or how much they loaned? After all, *they* would still get their money back right? Well, once everyone started doing this, the quality of the average mortgage went *way* down and the average amount went up - which of course just helped the price explosion described above. End result, we have a lot of low quality debt (mortgages, CDOs, etc..) spread all over the US and world financial system.

Well, people finally realized that no one has any idea how much this crappy debt is actually worth. (Answer: Probably not much.) As such, no one is willing to buy it. Since a lot of businesses depended on being able to buy and sell assets to keep cash flow up, they found themselves in a bad situation. With a lot of assets they can’t sell, even if those assets were actually worth something, they can’t stay in business. This is what happened to a lot of the major investment banks which were (in)famous for their high leveraged business models.

Frankly, I wish we could just let them all hang. They got themselves into this; they should suffer the consequences. The problem with that is that they drug the rest of us in too.

On the lending side of things, since what were perfectly stable businesses are failing left and right, no one wants to loan anyone else money since there is a chance they might not get it back. End result, no one can borrow money and even more businesses go “boom”. The big worry at this point is that the bad debt is so widely held and that there is so much of it, that we could see a cascade effect well outside of the financial industry. When banks are in trouble - like now - they tend not to want to loan anyone money. End result, recession or possibly even a depression.

Now, let’s not kid ourselves, what I’ve described above could be bad. *Really bad.* As in, a lot of people loose jobs bad. (For the record, I work in the finance industry. As such, I’m definitely not ignoring this aspect.) However, in all honesty I think the $700 BILLION - nearly as much as Iraq & Afghanistan combined* - bailout of Wall Street would be worse in the long run. Bailing them out once does nothing to address the fundamental problems and frankly just encourages them to do it again. If we’re going to fix this, we need to fix the root causes.

If we absolutely must bail them out, let’s give them a loan instead. One with 10% interest a year, and first right of repayment. (In other words, let’s make a profit and minimize our – the taxpayers’ – risk.) After that though, let’s go after the fundamental causes of the crisis so this doesn’t happen again.

* This used to read “more than Iraq & Afghanistan combined”. I got this statement from someone else - don’t remember who unfortunately - and it turns out to be not quite accurate anymore. According to the Government Accountability Office, we’d spent $635.9 billion on the “War on Terror” as of December 2007. However, if you include the spending this year to Sept 15, the total jumps to $807 billion. Updated: 9-26-08