February 2008
21 posts
Psychological Gang Bang of Hillary is Proof We... →
Really? You’re gonna use “Gang Bang” in this context?
Feb 1st
Colorblindness, Innarticulate Reporters, and Race →
Feb 1st
1 tag
The 5 stages of learning $stuff
Denial : “I don’t need to learn $stuff” Anger: “This syntax sucks! “ Bargaining: “If only I knew how to do this using $stuff, I’d be done sooner” Depression: “Learning this $stuff really sucks and I don’t think I’ll ever get it” Acceptance: “I know $stuff now so I can put that on my CV” I’m...
Feb 1st
“ […] the Clintons’ worst nightmare — a very dynamic, talented...”
– BET Founder Johnson Defends His Recent Criticisms of Obama - washingtonpost.com
Feb 1st
Add syphilis to Columbus' discoveries →
Feb 1st
1 note
January 2008
44 posts
Simple [SQL] script to iterate through db objects →
I never met a bunch of tables I didn’t want to iterate through
Jan 31st
“A talented undergraduate student could write something like this in a few months...”
– stiffx, on the release of Arc, the vaporware Paul Graham has been talking about for some years
Jan 30th
The Associated Press: Poor Haitians Resort to... →
Jan 30th
“There is no evidence to suggest that African-Americans were in a better economic...”
– Black Americans’ love for Bill Clinton is built on a fallacy. - By Melissa Harris-Lacewell - Slate Magazine
Jan 29th
“How it is that the editors and reporters of the nation’s leading newspaper -...”
– Alisa Valdes-Rodriguez on the NY Times’ using “black” and “latino” as if they were mutually exclusive
Jan 29th
Georgia names since 1990  →
There are 147 Georgia girls named Chanel, 31 named Cinnamon, 1,435 named Diamond … and just a half dozen boys named Bubba.
Jan 29th
“What is driving a lot of programmers towards the ‘art form’ theory...”
– Paul W. Homer on the nonsensical notion of software as an art form
Jan 29th
“To err is human, but to really foul things up requires a computer.”
–  Farmers’ Almanac, 1978
Jan 29th
Commodity Grid Computing With Amazon S3 and EC2... →
Jan 29th
2 tags
The tinyurl algorithm
TinyUrl takes long url’s and turns them into short ones. There are at least a dozen of clones sites just like it that essentially provide the same service. I’m surprised there’s not an open-source implementation. Here’s an algorithm for storing long urls as short ones. We assume that our shortened url will have a maximum of 4 “digits” and pick from an alphabet...
Jan 29th
“[…] for many lower-level problems there’s The Right Answer (IEEE floating...”
– Low-level is easy
Jan 28th
“Why is Python so easy to not learn, and what should I copy from it if I want my...”
– Teeth marks at the rear end - Proper Fixation
Jan 28th
2 tags
Stop wasting your time on TeX
If you’re using TeX a lot like I did, you might want to read this: Everyone has a favorite way to design their favorite symbol. For example, did you know that there is no “official” function for the absolute value of an element? Here’s the worst part: 50 different mathematicians will have 50 different ways to define the absolute value bars. Some will think the bars...
Jan 28th
VM's... What's the best? | Lambda the Ultimate →
What’s the best VM to write a compiler for? Right now, I would bet most of my money on the .NET CLR.
Jan 28th
WatchWatch
Marketing to school age students is now a 2 billion dollar industry. The way corporate sponsors are stepping up to the plate, offering … all » promotions, sponsorships and even free curriculum there is no stopping the flow of advertising in covert forms.
Jan 28th
“You can use PageRank to asses importance of countries in international trade,...”
– taw’s blog: PageRank - a new addition to your Data Processing Toolkit
Jan 28th
“The twin role played by the skin – protection from excessive UV radiation and...”
– Skin colour map (indigenous people) - Maps and Graphics at UNEP/GRID-Arendal
Jan 27th
[WorldCat.org] Search for books, music, videos,... →
Jan 27th
Jan 27th
Code with less noise →
Less noise -> less accidental complexity -> more meaning -> less maintenance cost.
Jan 27th
WatchWatch
Money As Debt
Jan 27th
tumblry.py - A Python library for posting to your... →
Jan 27th
“JOHN BOGLE: Its CEOs, well, the upper level of five or six top officers. And...”
– Bill Moyers Journal . Transcripts of interview with John Bogle | PBS
Jan 26th
“And it’s no secret that this lack of savings in our economy — just about...”
– Bill Moyers Journal . Transcripts of interview with John Bogle | PBS
Jan 26th
The Entrepreneurship Myth →
Jan 26th
“Somewhere there is something that you find interesting, wonderful and beautiful....”
– Shawn Blanc » Why We Began Blogging
Jan 26th
1 note
3 tags
Dynamic attribute names: an application
Here’s a neat application of the dynamic “attribute name extraction” hack I posted earlier. I’m writing an program that posts stuff on tumblr in python, using their API. Here’s how it should work ideally: >>T=Tumblr('email@domain.com','password') >>T.post(Quote('the quote','the source')) >>T.post(Regular('a title')) Python doesn’t...
Jan 26th
“Rails improperly pluralizes the word “penis”. From the New Oxford...”
–  Bug #10919: incorrect pluralization of penis
Jan 25th
“They’re called design patterns, not design templates. Designing to them is...”
– Giles Bowkett: Let The System Design Itself
Jan 25th
“And you over there, the one who just wants a job as a programmer, the one who...”
– Ragnawald, giving us all that warm, fuzzy feeling we so crave
Jan 25th
Stevey's Blog Rants: Emergency Elisp →
An (e) lisp primer.
Jan 25th
“I think it’s important in this day and age of polyglot programming to...”
– Meme Agora: C# MVP & Polyglot Programmer
Jan 24th
“Slavery is the legal fiction that a person is property. Corporate Personhood is...”
– Corporate Personhood
Jan 24th
“Talk of “moral sentiments” may seem surprising from a man whose...”
– Bill Gates Issues Call For Kinder Capitalism - WSJ.com
Jan 24th
Extracting attribute names dynamically in Python
Here’s the problem: you have a Quote class that has 2 attributes, but you don’t know what they are. How do you find what they are? Let’s assume that the variable q is an instance of the Quote class: In [5]: attrs = [ method for method in dir(q) \ if not callable(getattr(q,method)) \ and '__' not in method ] In [6]:...
Jan 24th
Real World Haskell →
Looks like a useful Haskell tutorial
Jan 22nd
1 tag
Managed runtimes are good for obscure languages
The most common complaint of newbies looking to learn languages like Scheme or Haskell is the fact that the libraries just aren’t there. Implementing these languages in mananged runtimes like the JVM and the .NET platform take care of this problem instantly. Currently, this seems easier to do on .NET and you can see people are frantically implementing their language of choice here:...
Jan 22nd
Much ado about nothing (new)
http://enfranchisedmind.com/blog/2008/01/21/what-good-is-a-cs-degree/ http://www.ekinoderm.com/wordpress/?p=27 http://weblog.raganwald.com/2008/01/no-disrespect.html http://weblog.raganwald.com/2008/01/no-disrespect.html Bloggers react to a reactionary article that seems to find a correlation between Java and dumb programmers. Most seem to realize for the first time in their life that some...
Jan 22nd
“For all my wide range of skills, I’ve found I have been valued less in the...”
– http://ask.slashdot.org/comments.pl?sid=412412&cid=21974390
Jan 22nd