Monday, October 12, 2009

Top Thirty

I was in the library, just about to get down to working on the BSC's broken online application and reservation system. Instead though, I wrote a script to extract some statistics from my iTunes library. Oh well, they can't all be productive days...

Top 30 artists by total play count
Harold Budd:           881
Uakti: 784
Yoko Kanno: 727
The Sea and Cake: 713
Andrew Pekler: 577
Boards of Canada: 551
Sam Powell: 510
Richard Bone: 508
Ten and Tracer: 433
Goldfrapp: 419
Capcom: 340
The Beta Band: 334
Talking Heads: 318
To Rococo Rot: 306
Juana Molina: 283
nagz: 271
Brian Eno: 235
Spoon: 233
Kraftwerk: 233
Moby: 229
I Am Robot And Proud: 228
Familjen: 219
Hossein Alizadeh: 218
Royksopp: 208
Plej: 192
José González: 191
Geinoh Yamashirogumi: 187
DJ Shadow: 187
Koji Kondo: 179
Queen: 177

And, just in case you'd like to assemble a playlist that's representative of my musical tastes, here we have the most played song by each of those artists:

Harold Budd - Luxa - Nove Alberi
Uakti - Aguas de Amazonas - Purus River
Yoko Kanno - Music for Freelance - Space Lion - 4 Hero Remix
The Sea and Cake - The Fawn - Sporting Life
Andrew Pekler - Cue - On
Boards of Canada - BOC Maxima - An Eagle In Your Mind
Sam Powell - Shadowrun - Mortimer Reed
Richard Bone - Joy of Radiation 12" - Radiation
Ten and Tracer - An Hour Brighter - Next Sun
Goldfrapp - Black Cherry - Train
Capcom - Mega Man 3 - Magnetman Stage
The Beta Band - Heroes to Zeros - Space
Talking Heads - Popular Favorites - I Zimbra
To Rococo Rot - staubgold - mit dir in der gegend (sehr)
Juana Molina - Segundo - El Desconfiado
nagz - Nagz's CV - GardenGuardin'Gordon
Brian Eno - Taking Tiger Mountain - China My China
Spoon - Girls Can Tell - Take the Fifth
Kraftwerk - Trans-Europe Express - Europe Endless
Moby - Play: The B Sides - Sunspot
I Am Robot And Proud - The Electricity In Your House Wants To Sing
Familjen - Det Snurrar I Min Skalle - Det Snurrar I Min Skalle
Hossein Alizadeh - Torkaman - Daramade Rast
Royksopp - Melody AM - Poor Leno
Plej - Electronic Music From The Swedish Leftcoast - Lay Of The Land
José González - In Our Nature - Time To Send Someone Away
Geinoh Yamashirogumi - Akira OST - Exodus from the Underground
DJ Shadow - The Private Press - Six Days
Koji Kondo - Super Mario Bros 3 - Nervous Breakdown BGM
Queen - Greatest Hits - Under Pressure

Friday, October 9, 2009

Oh Yeah, Oh No

I've had a song stuck in my head on and off for at least two years. I mean, it wasn't really stuck, it was just this song that I knew that I didn't know the name of. It infuriated me, and I would hum it sometimes, which just infuriated me more.

Well, today, at 10:50pm, I finally figured out what it was. Turns out it was Oh Yeah, Oh No, by Add N to (X). Now that I know, I feel like a more complete human being.

Monday, September 21, 2009

How to make dinner*

*assumes you are Casey Rodarmor

1. Get home to your coop at 3:30am after 8 semi-productive hours of studying and wasting time at Soda Hall

2. Make two open faced sandwiches, each consisting of half a bread roll spread with some sambal oelek from the gigantic jar in the fridge, and a whole avocado

3. Eat your sandwiches standing up in the kitchen while listening to this song over and over again on your ipod. Make sure you're mouthing the lyrics, dancing spasmodically, and thinking about writing this post

4. Go to sleep

PS Just kidding, don't go to bed. Instead, read about databases for an hour or two.

Sunday, August 9, 2009

I made a video

It is a mash up of lectures and presentations given at UC Berkeley. <link>

Sunday, August 2, 2009

How to appreciate professional wrestling

For me, professional wrestling has always been about the crazy moves. I would like to share that joy with you. My personal favorites include the dragonrana (#22), the go 2 sleep (#19), and the ranhei (#16).



PS Please just ignore #37, the "cattle mutilation", I don't know what the hell is going on with that one.

How to ask questions

Questions follow the Anna Karenina principle, which comes from the opening of Anna Karenina:

Happy families are all alike; every unhappy family is unhappy in its own way.


Like families, good questions are all the same, and bad questions are bad for many different reasons. Some kinds of bad questions really irritate me.

Leading Questions: These look like questions, but they're really just asking for confirmation of a piece of information. People ask them a lot when they think they know the answer, or they think that providing possible answers makes them look smart.
Bad: "Is this the gas cap?"
Bad: "Is the gas cap on the right or the left"
Good: "Where's the gas cap?"
(Actually, if someone is terrible at communicating information and you just need to get them to spit something out, you might have to resort to leading questions.)

Questions Asked to Make the Asker Look Good: General categories include inappropriately advanced or detailed questions, leading questions where the asker knows the answer, and questions which are actually statements. God knows you get plenty of these in a college setting, and they piss me off to no end.
Don't be this douche: "Is that similar to the behavior in Apache 1.2, where malformed cgi scripts could cause runaway memory usage?"
Me: "Shut it, motherfucker! This is CS 3!"

There is another type of question that lots of people don't like, and those are questions that you can answer yourself. I think this mostly only applies on the internet. After all, you're already on the net, so why not google it. But in real life, it's still probably a good idea to ask yourself the following, "Am I asking for data, or analysis?" If it's data you're after, check the web. The web is chock full of that shit: elimination half-lives of prescription drugs, dates of historical events, how to write a comment in c++, the nutritional contents of a bowl of cheerios, etc. But if it's analysis you want, go for it. Go ahead and ask your doctor for ideas for a healthy breakfast, or your programmer friends about which style of comments they prefer in python.

Good questions are motivated by curiosity, reveal ignorance, and are open ended. It's only one sentence, but I think it pretty much sums up most good questions.

You would think curiosity would be obvious, since questions that nobody cares about don't get asked, but think about questions that people ask to make themselves look good; they don't actually care about the answer.

Revealing ignorance is scary, but don't try to avoid it. The more ignorance you reveal, and the faster you reveal it, the faster the helpful, smart people around you will help you fill in the gaps.

Asking an open ended question means not supplying possible answers along with the questions, and fully putting yourself in the hands of the person you're asking. If you can, use question-word questions that start with "why", "how", and "what", as opposed to yes/no questions.

I'll also say that the fastest way to impress me is to ask an honest, open ended question that shows that you're not worried about looking stupid. If a pretty girl walked up to me and said, "Why can't I dereference a void*?" I would probably just throw in the towel right there and propose to her.

Tuesday, July 21, 2009

Auto tune the news

This is amazing, because it turns the non-stop stream of bullshit that is the news*, and turns it into something great.

And it's really equally absurd as the original broadcast, except by removing the pretensions of importance and adding some uplifting music, it's beautiful.

*Let me just tell you why I hate The News. I hate it because it's ugly, it's nothing but sound bytes and stupid little tickers, overwhelming you with useless information. It also turns the non-context-free grammar of the world's events, and turns it into a tune-in-at-any-time context-free show. It's like a cartoon where each episode resets from the same premise, so you don't need to know anything to watch one.

Monday, July 20, 2009

There's something about "A Treatise on the Astrolabe"

From this paper on natural language classification by character frequency:

A strange result I found was that nearly all of the incorrect classifications of Middle English were in a specific file of A Treatise on the Astrolabe by Chaucer. The other texts by Chaucer had much greater accuracy than the average shown in the graphs.

Driven Development

Why and how does software get made? While Nicholas and I were pondering ways to make program development easier, I decided to waste some time and search google for "* driven development". Here are the results, sorted into some pretty arbitrary categories:

development driven by your desires:
resume driven development
curiosity driven development
employee driven development
brain driven development
asshole driven development (based on avoiding suffering, assuming that someone else is the asshole)

specification:
test driven development (evolving specifications)
model driven development (executable specification)
feature driven development
example driven development
documentation driven development (non-executable specifications)
storytest driven development
dialogue driven development
annotation driven development
bug driven development (implicit specification)
behavior driven development (implicit specification)
interface driven development
specification driven development
exception driven development
user-guide driven development


outside desires:
dilemma driven development
turmoil driven development
demand driven development
community driven development
task driven development
mission driven development
omoiyari driven development (Japanese for "what other people are thinking")

beverage:
tea driven development
coffee driven development

ill defined:
anecdote driven development
neo-liberal driven development
reality driven development
secret driven development
worksheet driven development
rup driven development
ontology driven development
pattern generator driven development
pajama driven development - working remotely
platform driven development
semantics driven development
diary driven development

Friday, June 12, 2009

Humorous gmail rendering problems

[So this blog's title is now out of date, since I'm back from Sweden. But, as they say, whatever. -Ed.]

Huh, gmail?

Tuesday, May 26, 2009

Strange fruit, hanging from the web

Someone wrote a blog post right before they and their sister were murdered: http://toto247.xanga.com/261268578/item

The police used it to track down the killer.

Tuesday, May 12, 2009

Do your shoelaces come undone?

[Song of Sverige has been delivering the hard-hitting, relevant journalism that you demand for over two years, and we think you'll find this post to hit especially hard. -editor]

Do your shoelaces come undone? Mine do, all the time. Or at least, they did... Now, thanks in large part to Wikipedia's page on reef knots and Ian's Shoelace Site, I have corrected this terrible problem.

It is a fact almost too shameful to admit, but it is true... Unbeknownst to myself, I, a 26-year-old nearly-college-educated man, have been tying my shoes with granny knots for the whole of my adult life.

I'll leave the technical details out of this hard-hitting blog post, but if your shoelaces come undone, forcing you to resort to double knots, you too may have this problem.

Fortunately, there is hope. Visit Ian's page on slipping shoelaces, and rid yourself of undone-coming shoelaces once and for all!

Wednesday, April 29, 2009

Designing two nuclear reactors in latin while running a 10k

Designing two nuclear reactors in latin while running a 10k
The bundles of uranium should be at least 50 centimeters...

Tack vare random nätperson Anna P. för hjälp med latinet :-)

Monday, April 27, 2009

Libera Encyclopaedia

Check it out! Latin Wikipedia: http://la.wikipedia.org

Isn't it crazy that Pliny the Elder could time travel to the present and read about the atomic bomb in his mother tongue?

Friday, February 20, 2009

The most tortured physical analogy of all time

It is with great pleasure that I present to you, ladies and gentlemen, this, the most tortured physical analogy of all time.

It will come as no surprise that this analogy is from electrical engineering, a field filled nearly to bursting with absurd fictions.

Even if you aren't familier with basic electrical circuits, have a look at this circuit diagram of a camera's flash:

The circuit

Now, compare and contrast with this baffling and bafflingly unrelated diagram of a cabin's water supply:

The tortured physical analogy

Which part of the circuit is the ball valve? What about the other valve? Where the hell is lake superior in the circuit diagram?

Has anybody ever encountered something worse?

Ironically enough, while writing this post, I finally got the analogy. It's really not too bad!

Monday, February 16, 2009

1st Annual Fictitious Logo Contest: The English Language

It is with great pleasure that I announce the first annual Fictitious Logo Contest!

The rules are simple: create and submit a logo for the English language. It should be suitable for publications and advertisements promoting the language, both printed and electronic.

The winner, determined by online poll, will receive a small box of Solstickan matches, Sweden's preferred match since 1936.

The deadline for submissions is March 15th, 11:59pm.

Good luck!

Saturday, February 7, 2009

Fabulous abuse of the C Preprocessor

From an open source kernel extension I was making some changes to:

// warning: egregious abuse of preprocessor follows!
#define private public
#define protected public
#include <IOKit/hidsystem/IOHIDSystem.h>
#undef private
#undef protected


I really just have no words...

Friday, February 6, 2009

Famous trees

One of the most surprisingly interesting pages on wikipedia is this list of famous trees.

Wednesday, February 4, 2009

25 Random Things

1. I dropped out of high school when I was 16.

2. One of my first memories of using a computer was definitely *not* positive. I was around 4 or so, and my dad let me bang around on his computer. I have a really strong memory of pressing buttons on the keyboard, and thinking that it was dumb, since I didn't *actually* know how to use it.

3. I think my first memory ever is of a rainy day at preschool. I remember the mud squishing between my toes.

4. I can fly at will in my dreams, when I have the wherewithal to think of it. I kind of jump up and forward, into a kneeling position. I have to tense my calves in the air to stay aloft. Normally I can only glide around a few feet above the ground. Getting higher takes real effort, and usually can't be maintained. I'm always disappointed that I can't do it when I wake up, since it feels so logical when I'm asleep.

5. I did Brazilian jiujitsu pretty seriously for about one year, right before I got into Cal. I trained five or six days a week, and competed in a couple of tournaments. Sadly, the combination of school and BJJ was just too much, and I had to give it up. I still miss the feeling of fighting for my life on the mat, and the satisfaction of a good submission.

6. I hate physical possessions. Everything about them is a pain in the neck. If I can't fit everything I own into a car, it makes me nervous.

7. I've resented each object that, over the course of my life, I've been forced to start carrying around in my pockets. In order: wallet, keys, cellphone. But I don't mind lugging a laptop around, as it replaces so many special purpose devices.

8. I was seriously depressed for at least a decade when I was younger. It was definitely a big part of why I dropped out of high school. I'm not depressed anymore, thanks to four years of quite excellent therapy.

9. The famous person that I'm most proud of having met is Vinton Cerf. He was at Cal to give a talk and be inspiring, and he was great! I asked him a question and he said that he liked my tee-shirt. Then afterwards we talked about intellectual property law on the internet. It was super. :-)

10. I haven't owned a TV for the last 3 years. I can't stand commercials.

11. The best class I've ever taken was CS 61A, the introduction to programming at UC Berkeley. Brian Harvey, the professor, actually says that it's the best class in the world on the first day. I felt like I was at a school for wizards, and each week I was learning new spells. Week after week, it was just a huge rush of, "Oh my god! What are they going to teach me next!?!"

12. I have *no* idea what I'm going to do with the rest of my life.

13. The first time I took a programming class was at community college. It was a class in C++ for people who were already supposed to know C. I was terrified that I was going to suck at programming, something that I really wanted to be good at, so I did about 100 times the amount of work that was actually assigned. I remember doing basic programming exercises for 8 hours a day, three days in a row. I was convinced that syntax highlighting would make me weak, so I forced myself not to use it.

14. I'm *really* good at basic linear algebra. I think it's because, when I was little, I was convinced that being able to reason about higher dimensions was a kind of magical power. I spent a lot of time trying to think in four dimensions.

15. Sadly, linear algebra is the extent of my math skills. My worst math enemy is differential equations. Mechanically, it's almost exactly the same as linear algebra. But it's not about space, so I'm completely lost.

16. I still sleep with a stuffed animal. It's a seal that my parents got me at the Monterey bay aquarium millions of years ago.

17. I'm not good at saving money. I only have two spending modes. One is quite lavish, and applies whenever I've got more than two months rent in the bank. The other involves a lot of ramen.

18. One of the coolest things I've done is hitchhike around Iceland. I flew there with no plan, a couple days of accommodation, and a plane ticket back in 10 days. On day two I met this really cool Finnish guy (Paavo!!!) on a bus out of Reykjavik, and I wound up hitchhiking with him and his friends around the island. It sucks, but I didn't quite make it 100% around the island. I was a little worried about time a day before I had to go, so I took a bus the last 10% of the way. I still regret it. I think I could have made it.

19. I can blow three smoke rings simultaneously--one from the center, and two from the corners of my mouth. As far as I know, I'm the only person in the world who can do this. Sadly, I don't smoke anymore.

20. One thing I miss about smoking is rolling cigarettes. If I'm around anyone who's smoking rolling tobacco, I get excited and ask if I can roll one for them.

21. When I make food at home, I often eat standing up over a counter or something. I guess it's a bad habit, but taking food to a table seems like so much work.

22. I have a troubled relationship with sleep. It's way too easy for me to stay up late, and murder for me to get out of bed.

23. Whenever I fantasize about a perfect place in a utopian future, it always involves huge expanses of perfect green grass.

24. I used to be afraid of the dark, and of water. Those fears are pretty much gone. The only thing that worries me now is death. A major goal of mine is to come to terms with the fact that I am going to die.

25. Having email in my inbox that I haven't dealt with makes me nervous, even if it's only facebook spam, the background radiation of the internet.

Saturday, January 31, 2009

prose poem and haiku

prose poem

the glasses clink on their way out of the dishwasher and onto the shelves
they clink again, and slosh, as they are taken up and filled

drunk in gulps, with soft sighs and conversation, they make their way, eventually, back to the dishwasher


haiku

the winter blanket
unchanged by the falling snow
where did it come from?

Sunday, January 4, 2009

my only regret is *

that Don couldn’t share in the fun
that I wasn't more me
not curing my bone-itis
that I didn't kill her earlier
that I died without tasting panini
being tricked into wearing a sequined shirt
that I didn't force the issue last year
that I did not drink more Champagne
ever meeting you and letting you in
that I didn't
Takemoto's seeming unimportance towards the end
letting myself be tricked into saying ignorant shit at the end of the show which was not true
wasting money on cheap, noisy units that break after a year or two
that I didn't buy another skein of the Tilli
getting caught
that I have none
that the Pumpkin Spice Layer Cake with Caramel and Cream Cheese Frosting is all gone
that I signed away the world rights and in America they've been far and away my most successful books, but I never saw a cent from any of it.
that I didn't kill more
resisting Twitter for so long
buying a 220 dollar AMAZING bong a month ago and no longer being able to use it
that I totally forgot to bring a jacket