Tag Archives: Geek

Relationships and Geeks

Saw a post this morning on Geeks are Sexy, about “Why Geeks Shouldn’t Change For Anybody”, which has a clip from Diggnation (which, I would love to do a show like this, just need someone to do it with).. anyways..

Watch the video:

 

They are spot on. This is exactly right, and it is funny, because it does happen. I am going to be playing video games when you leave, and yes, when you come back I will be playing the same video game. Why? Because that is what we do. We are normal. Geeks are going to take over the world, they already are, so people should get used to it. :)

 

Via GaS

Technorati tags: , , , ,

Total Geekdom: Ordering Pizza Via Text Message

So I read last week you could order pizza via text message now, from Papa Johns. Was feeling like some pizza last night, so I decided to try it out. I already had an online account at Papa Johns, to order delivery, so I went there and checked it out. I set up 4 favorite orders, and then texted FAV to 47272. You have to have your mobile set up in your online account so it knows it is you first.

Once I texted FAV, it texted me back with my 4 options I set up, and I texted back FAV1 to order my first favorite. It wanted me to confirm, so I texted Y1 to confirm. Since I already had it set up online to deliver to my apt, and the tip amount set, and to use my check card as payment, I didn’t have to do anything. 35 minutes later, the pizza shows up, I sign the receipt, and all is good.

I think the next logical step is for me to just “think” about pizza and they just bring it to me automatically.

 

1729 – Saturday Night Programming before the bars: Natural Numbers…

Ok, so this afternoon I watched the movie “Proof” – really good movie. In the movie, they talk about the number 1729, about how it is the smallest number expressible as the sum of two cubes in two different ways. It also is a natural number – when its digits are added together, produces a sum which, when multiplied by its reversed self, yields the original number.

Just for the helluva it, I decided to write a little program in C# to do this. It would be nice if there was an easier way to reverse strings in .NET, maybe there is and I just don’t know. Anyways, I love how movies can get you into things you never thought you would get into.. now I only wonder what I will code up when I get back from the bars..

using System;
using System.Collections.Generic;
using System.Text;

namespace NaturalNumbers
{
    class Program
    {
        static void Main(string[] args)
        {
            // when its digits are added together, produces a sum which, 
            // when multiplied by its reversed self, yields the original number:

            for (System.UInt64 i = 1; i < 9223372036854775808; i++)
            {
                string nums = i.ToString();

                System.UInt64 sum = 0;
                System.UInt64 product = 0;

                // get the sum of each digit of the number
                for (int b = 0; b < nums.Length; b++)
                {
                    sum += System.Convert.ToUInt64(nums[b].ToString());
                }

                string nums2 = sum.ToString();

                // reverse the sum
                char[] temp = nums2.ToCharArray();
                Array.Reverse(temp);
                nums2 = new string(temp);

                // multiply the sum times the reversed sum
                product = sum * System.Convert.ToUInt64(nums2);

                // if they equal we hit the jackpot
                if (product == i)
                {
                    Console.WriteLine(i.ToString() + " is a natural number");
                }

                if (i % 10000000 == 0)
                {
                    Console.WriteLine(i.ToString());
                }
            }
        }
    }
}
 

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

Technorati tags: , , , ,

If you are going to clean in the 21st century…

Then you better use the technology. This weekend I cleaned the apt, spring cleaning if you will.

Bagless Vacuum (or even better, a robotic vacuum)

   

Automatic Shower Cleaner

Disposable Toilet Cleaners

Swiffer

Bleach Tablets

Crazy Dishwasher Tablets

Windex (not the plain ol Windex, scented of course)

Rosie

Well, kidding on the Rosie part, but I wish! Thing is, with all the cool stuff out there you can clean your pad easily, half the time you just set stuff up and go, no cleaning really involved. Still waiting for the home of the future from back in the 50′s though… :)