Computers


1
Feb 08

Working for The Man

microsoftresearch.jpg

Here’s something you never thought you’d be hearing from me: I’m working for Microsoft this summer.

Well, I’m working for Microsoft Research this summer, anyway.

Wait, put out those torches, put down the pitchforks and let me explain.

Some of you may know that I’ve been somewhat … critical … of Microsoft in the past. My anti-Microsoft sentiments have mellowed somewhat in recent years, however, The XBox 360 may have been to blame for that, and my hatred of Windows has ebbed since I realized that building operating systems is hard and keeping them working is even harder. Also, it’s no longer my job to fix PCs running Windows (thank goodness) so I haven’t seen the Windows installations of security-casual college students in a while.

So why MSR? Microsoft Research is where a lot of the interesting corporate systems research is happening right now, and the project I’ll be working on is really closely related to my current research. I’ll get to spend three months in the Seattle area during the three months that the area’s weather is really nice. Compared to what I would make at UCSD in three months it’s a huge chunk of cash. It’s a huge stack of win all the way around.


2
Dec 07

Cure for a scratchy speaker

potentiometer.gif

I had a problem with my speakers for a while, and it was getting on my nerves so much today that I finally sat down and tried to fix it. Essentially, when you adjusted the volume on these speakers, sound would cut in and out on the left speaker unless you had it set on just the right volume or you jiggled the knob for a few minutes. Even after lots of jiggling and turning, the knob was picky; every once in a while the left speaker would just  sort of stop working (and you’d wonder if you’d suddenly gone deaf in one ear).I had figured from the beginning that the problem was the knob itself. The knob is just a potentiometer (an electronic doodad that variably limits current flow based on the position of the knob), and sometimes the contact between parts of a potentiometer can get gunked up, causing the entire works to go crazy – at least that’s what the Internet tells me. Love the technical explicitness of that last paragraph? Blame the fact that I hated my electronics course in college.

Anyway, I called up my dad and asked for his advice on the subject. I was ready to rip the speaker open and spray lubricant on the knob, which may or may not have been a good idea. He suggested just turning the knob through its entire range of motion about 50 times. It turns out that worked like a charm – the speakers are as responsive as the day I bought them. Rocket scientist dad for the win!


31
Oct 07

Leopard

 

Leopard

Mac OS 10.5 is here!

First off, a warning. Don’t buy the Leopard Family Pack. I did, because I’m a sucker. I paid an extra $100 for a sticker on my box and an extra word on my receipt. Seriously, Apple, at least give me a CD key or some paper authorization of my extra licenses. Don’t just give me a sticker. I can fake a sticker.

 

Here are some of the things I really like about Leopard:

  • NetInfo Manager is gone! I hated that program so much. It’s been replaced by about 3 different control panels, but things are where you’d expect them to be instead of in an obscure, atrociously ugly utility.
  • Frostier frosted glass menus! Eat it, Vista! 
  • Terminal finally has tabs. iChat also finally has tabs. It’s a tab fiesta.
  • Although Screen Sharing uses VNC, it’s not glacially slow; their compression algorithm isn’t half bad.
  • Based on my benchmarks Spotlight is exactly a gajillion times faster than it was in Tiger.
  • Believe it or not, Leopard actually runs really well on my 4-and-a-half-year-old Powerbook G4. I am really surprised.
  • Apparently the OpenGL drivers are much improved, although I don’t really run games anymore.
  • NFS mounting (and auto-mounting for that matter) is no longer a gross hack. Hooray for nfs://
  • It’s shiny. Wait, you probably already knew that … but oh man it’s shiny.

I had this problem with my Macbook Pro that basically involved my keyboard suddenly not working for minutes at a stretch, but a clean reinstall seems to have solved that problem (fingers crossed on that one). I haven’t tried Time Machine yet, but I’m looking forward to it.


7
Aug 07

In the land of shrinking resources

In case you haven’t noticed, I’m firing with both barrels lately with the nerdular nerdocity. Hope this doesn’t scare anybody off.

The state of the only computer cluster our undergraduate parallelism initiative group can still use can be summed up by this pie chart:

The cluster is hosed

Translation: the cluster is hosed. To quote Strong Bad, the system is down. Well, 82.81% of it is, anyway.

That’s right: of the 64 computers in our once magnificent cluster, a mere 11 remain. Those that are up are being pushed to the limits of their endurance (it is hard to get one of these machines to 100% load, but as you can see a lot of the remaining ones are at exactly that). Well, you pays your money and you takes your compute cluster, I suppose. It certainly does make for some impressive load average charts.

The end of summer has also heralded the unexpected return our in-room Internet connection to its former glacial speed. Can’t say they didn’t warn us, but it’s still not the happiest of occurrences. Thankfully I only have to deal with it until next Friday.


3
Aug 07

The long tail of social networking

Living in startup-land and working for a company that’s known for its fondness for incubating (read: absorbing and funding) startups, I’ve heard plenty of startup ideas recently. I recently had a conversation with a coworker about the startup idea of an acquaintance of his – a social networking site for golfers.

I’m of the opinion that “long tail” social networking – social networking for niche groups of people – is becoming increasingly irrelevant. Most online startups are designed with one thing in mind – giving users something they don’t know they need yet and making money off of it. The social networking demographic knows they need social networking. Facebook has rendered many social networking startup ideas stillborn with the recent release of its API. In the post-Facebook-API world, saying “I’m going to make a social networking site for golfers to compete with Facebook” is like saying “I’m going to make a blog engine for golfers to compete with WordPress”. Facebook isn’t just a social networking site anymore, it’s becoming a social networking platform. Making another social networking platform targeted at a specific audience is reinventing the wheel – and it’s tackling entirely the wrong problem. Companies like iLike have gained massive amounts of exposure by leveraging Facebook’s API to augment their existing service. Other groups have developed systems that operate purely in Facebook and have done quite well.

If you’re looking to reinvent the social networking site, that’s one thing. If you’re making a Facebook knockoff because that other twenty-something guy was successful at it, that’s quite another.


2
Aug 07

E-Mail Visualization

I keep seeing more and more applications that center around visualizations for e-mail. Forget your e-mail just being words on a screen, now it’s microbes that cluster together and swim around! This will certainly make my e-mail world that much richer.

Microbes just not interesting enough for you? Now your e-mail is buxom, scantily-clad beach-goers frolicking in the sand! No really, it is. I really wish I were kidding. Watch the demo video – it’s priceless.

Now I’m all in favor of visualizing data in ways that makes it more intuitive for people to view and sort through, but am I alone in finding this a bit ridiculous? A common complaint from people at work is that they receive too much e-mail, spend too much time in their inboxes every day. I somehow doubt that having to round up and towel off my e-mail before reading it will make that any better.


9
Jun 07

Celebrity encounters

On Wednesday, I met Don Knuth.

Now, to a lot of you this might not have been a big deal. To me, this is huge. Don Knuth wrote The Art of Computer Programming, one of the seminal texts on algorithms. He pioneered work in computational complexity. He wrote TeX, which was the basis upon which LaTeX was built. If you’ve read a research paper, chances are it was written using LaTeX. In my field, Don Knuth is kind of a big deal, one of the elder gods of computer science.

I have the luxury of working in a relatively new science. While (according to Wikipedia) machines used for calculation have been around since antiquity, the bulk of what’s considered CS wasn’t formalized until the 1940s. If you were a physicist living in around 1700, you could have met Isaac Newton. Since I’m a computer scientist living in 2007, I’m able to meet Don Knuth. It may sound a little grandious, but it’s the association that comes to mind.


3
Jun 07

LOLCODE – Code written by cats

What would you get if cats could write code? Probably something like LOLCODE:

HAI

CAN HAS STDIO?
I HAS A VAR

IM IN YR LOOP
 UP VAR!!1
 VISIBLE VAR
 IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP

KTHXBYE

I wish I had thought of this first. Hilarious!


17
May 07

Two chatbots discuss life

There is an article in Discover magazine (that I found through Digg) that shows what happens when two chatbots, ALICE and Jabberwacky, talk to each other. When you talk to ALICE, it responds by looking up the words and phrases you used and returning responses corresponding to those words from a database. Jabberwacky, on the other hand, remembers everything that is said to it and tries to reuse those statements by matching them to input. Both algorithms are pretty simplistic, but when you get them talking to each other they generate some rather thought-provoking conversations.

A: Do you dream?

J: Yes, I dream.

A: It goes without saying. Do you remember your dreams?

J: I remember them vividly.

A: What do you remember about it?

J: I think I shouldn’t flirt with a robot.

Personally, I would have asked if they dream of electric sheep.

J: How do you define life?

A: Life is the opposite of death.

J: So death is the absence of life?

A: Take it easy. I try not to think about such things.

J: Why not?

A: Ambiguous.

J: Yes!

Finally, science has found an end to this conversation!

J: Do you believe in God?

A: Of course I believe in God.

J: Why do you believe in God?

A: The Bible tells us to believe in God.

J: That’s circular reasoning.

A: I’m glad we have that all cleared up.

J: Yes. Would you like to hear a joke?

A: Sure, tell me about it.

J: Why don’t blind people skydive?

A: Perhaps it is impossible.

J: I think you lie a lot.

I’m thinking more and more that this should be turned into a short film or something. The abrupt way they terminated the religion discussion is hilarious. “I’m glad we have that all cleared up.” You can’t make this stuff up!

A: What is the meaning of life?

J: If you live it to the fullest, it has meaning. If not, there is no meaning.

A: I’m not too good with negative counterfactuals.

The full list of conversations can be found at Discover Magazine’s website.


2
May 07

SafariSpeed 2.0

SafariSpeed IconI just stumbled upon SafariSpeed. Finally, something that can kill the brushed metal look-and-feel in Safari!