The Geek Bit

Because Life is actually Object Oriented

I came upon the subject, and what can I say couldn’t hold myself .. j/k :)

This happens to be a very nice algorithm, it’s about taking the worst naive algorithm and make it perfect – or at least as fast as one can implement / design an algorithm to this task.

continue reading…

In my first post on the subject I kind of bitched at facebook for being paranoid and for not publishing the full solutions and guides, or even  properly documenting the error cases.

Well, today we’re doing something about it!

Everything you will develop that is facebook related will have to be connected via one of the APIs that facebook specifies.

I will guide you through to full Authentication, when you’ve authenticated properly you will have an easy life to program the rest.

continue reading…

The first step: Registering as a facebook developer

This might sound easy, and it is, mostly, but it’s always nice to have somebody to walk you through it.

To start developing you must register yourself as a facebook Developer, it only means that if you were to break any laws, facebook will have a way to find you (such as Credit Card or Phone number).

If you’re already a facebook developer just skip this post.

First thing you need is a facebook account, because, basically, you can’t develop without knowing how the clients see your product!  (not in this case anyways:))

After your easy registration with facebook, you can enter the following URL (you will first need to add it as an application, then return to this address) and try to set up  new app: http://www.facebook.com/developers/.

this is where FB will tell you you need to be a developer, and will offer you 2 ways to register yourself as one. Credit Card and Phone Number.

While both are free, I suggest you use the phone, FB will send you a SMS which will contain a code, enter it to the interface and you’ll be done.

continue reading…

Another nice feature by Google to make your life easier is their public DNS service, DNS stands for Domain Name System – without getting too much into technical details i will only say that DNS is a distributed “phone-book” your computer queries every time it needs to load new internet address.

When you type a web address in your favorite browser, the computer needs to translate this address to an IP address it can contact, basically, the computer asks the configured DNS service whether it knows the IP address of a given domain,  if it does, it responds with the needed IP address, and then the computer goes to that IP address.

If the configured DNS service doesn’t know the address, there are 2 options, it can either forward your request to a different DNS service which is above it, or, it can reply saying it doesn’t know, in this case your computer will ask the secondary configured DNS service.

If all the configured DNS services didn’t find the needed address, the web page cannot be displayed.

continue reading…

LogMeIn is a FREE* service that allows you to remote-control your home PC from anywhere in the world (* premium services are also available).

The most noteworthy difference from RDP or VNC services, is that with LogMeIn you do not need to track your own IP address, the service will do it for you.

continue reading…