Skip to main content

Who wants lottery tickets!

File under

You know those lottery games where you pick five or six numbers from 1 to 42, or 1 to 55, and if you pick the same numbers that the lottery does, you win some obscene amount of money? A couple of years ago, my wonderful gamblin' grandma bought me a season ticket to a game here in Massachusetts called Megabuck$ (the dollar sign emphasizes that there is big money to be won here, folks). She was a steady long-time lotto player and won some big prizes over the years (though she never won the jackpot). After she got me the ticket, naturally I wanted to know what my odds of winning were.

Getting the RSS feed icon to appear in the address bar

File under

I'd been wondering for some time how to get the familiar little RSS icon to show up in Firefox's address bar, like so:

RSS icon in the address bar

Turns out it's remarkably simple. Just add one line of code to your <head>:

<link rel="alternate" type="application/rss+xml" 
title="Your Feed Title" href="/path/to/feed.xml" />

It's just that easy.

Next time, just spell it out

File under

I work from home, and I occasionally use Skype to dial in to lengthy meetings so I don't have to burn my cell minutes. In order to dial regular landlines, you have to purchase Skype Credits, which I have done. But since most of the numbers I call are 1-800 numbers (which Skype lets you call for free), I guess I haven't used any credits for a while. Thus, every time I sign in to Skype, this little message appears in the GUI:

skype

Recursion: an example with no code

File under

You are using recursion right now. Right this very second. You use it hundreds of times a day without even realizing it, and so does everybody else. And you’ve been using it ever since you read your first Hardy Boys caper, or said something to Mommy and Daddy that wasn’t baby talk.

Here’s why: language is a recursive system.

Adding Flash that links to an external site

It should be so simple.

All you want to do is embed a Flash file in one of your pages. You want it to display properly in IE and Firefox (sorry, Opera!), and you also want a new window to open when the user clicks the link.

Seems easy, but there are a few problems that you'll probably encounter:

Syndicate content