Addictive little online games

 

It's the Friday before Christmas weekend. Stop pretending you're trying to get any work done today. Your boss is either off on vacation already or has her feet up on the desk, waiting for the appropriate hour to sneak off for a "late lunch" and never come back. To help you in your final hours of pre-holiday work, I compiled a list of some addictive online games, easy to play but hard to master. Have hours of fun. Go on, you deserve it.

Line Rider - You know it, you love it. This is the new version, just released.

Winterbells - Jump a bunny from bell to bell.

Finger Frenzy - How fast can you type the alphabet? (My high is 8.54 seconds. (Slow typer.))

Sober Santa - Steer drunk Santa away from the rails.

Falling sand game - Part game, part physics experiment.

...and many more.

Source: Addictive little online games (kottke.org)

10 online operating systems

This is an interesting article about WebOS concept, also has links to 10 WebOSs and reviews about them.

Here is the list:

1. Craythur
2. Desktoptwo

3. EyeOS

4. Glide

5. Goowy

6. Orca

7. Purefect

8. SSOE

9. XinDESK

10. YouOS

Here's the excerpt from the link:

But what is a WebOS (not to be confused with another definition of the term, see here), or a Webtop, anyway ? Here’s a simple definition: WebOS is a virtual operating system that runs in your web browser. More precisely, it’s a set of applications running in a web browser that together mimic, replace or largely supplement a desktop OS environment. It’s a tough field to start in for a Web 2.0 entrepreneur, because to be successful you need to create several applications that are at least as good as other competitors, and you need to connect them all into a usable bundle. What’s also expected by most users is that all this looks decent, operates similarly to a “real” OS and behaves as a real “OS” would, and is relatively bug-free. Simply put, to gain real everyday users, your WebOS has to be damn good. We’ll see how these newcomers fare in the following months and when (and if) some big giant like Google decides to create their own WebOS.

Source: Big WebOS roundup - 10 online operating systems reviewed at franticindustries - web 2.0, social networking, IT technology trends.

Get distracted

This game also distracts you from playing it. Fun to play and get distracted! My highest till now 19832.

Linked List Code for Beginners

#include "stdafx.h"
#include <iostream>

#ifndef _DSCLASS_H_
#define _DSCLASS_H_
class linkedlist{
private:
struct node{
int data;
node *link;
}*list;
public:
linkedlist();
~linkedlist();
//stack methods
void push_item(int num);
void pop_item();

//queue methods
void append_item(int num);
void delete_item();

//other insertion and deletion methods
void insert_item(int pos,int num);
void delete_item(int pos);

//other operations
void reverse();
void merge(linkedlist l1, linkedlist l2);
linkedlist operator +(linkedlist l1);

void display();
};
linkedlist::linkedlist()
{
list = NULL;
}
linkedlist::~linkedlist()
{
//TODO: yet to be implemented
}

void linkedlist::insert_item(int pos, int num)
{

if (pos<0) return;
printf("inserting %d at %dth position...\n", num, pos);

node *newone;
node *ptr = list;

if (pos==0)
{
newone = new node();
newone->data = num;
newone->link = ptr;
list = newone;
return;
}

for (int i=0;i<pos-1;i++)
{
if (ptr!=NULL) ptr=ptr->link;
else return;
}

newone = new node();
newone->data = num;

if(ptr->link!=NULL) newone->link = ptr->link;
else newone->link = NULL;

ptr->link =newone;


}

void linkedlist::delete_item(int pos)
{
if (list == NULL && pos<0) return;
printf("deleting item at %d position...\n",pos);
if (pos==0)//deleting the head
{
node *temp = list;
list = list->link;
delete temp;
return;
}

node *ptr = list;
node *temp;
for (int i=0;i<pos-1;i++)
{
if (ptr!=NULL)
{
temp = ptr;
ptr = ptr->link;
}
else return;
}

if (ptr->link!=NULL)
temp->link = ptr->link;
else
temp->link = NULL;

delete ptr;

}

void linkedlist::push_item(int num)
{
printf("pushing %d..\n",num);
if (list == NULL)
{
list = new node();
list->data = num;
list->link = NULL;
}
else
{
node* t = new node();
t->data = num;
t->link = list;
list =t;
}

}

void linkedlist::append_item(int num)
{
printf("appending %d..\n",num);
if (list == NULL)
{
list = new node();
list->data = num;
list->link = NULL;
}
else
{
node* par = list;
while (par->link != NULL)
{
par=par->link;
}
//now we are at the end
node *newone = new node();
newone->data = num;
newone->link = NULL;
par->link = newone;
}
}


void linkedlist::pop_item()
{
printf("popping ..\n");
if (list ==NULL)
{
printf("empty list\n");
return;
}
else
{
node *del = list;
list = list->link;
delete del;
}
}


void linkedlist::delete_item()
{
printf("deleting ..\n");
if (list==NULL)
{
printf("empty list\n");
return;
}
else
{
node *del = list;
node *temp = NULL;
while(del->link!=NULL)
{
temp = del;
del = del->link;
}
if (temp!=NULL) temp->link = NULL;
delete del;
if(del==list) list = NULL;

}
}
void linkedlist::display()
{
if (list==NULL)
return;

node *dis = list;
char str[100]="";
while (dis!=NULL)
{
sprintf(str,"%s%d->",str,dis->data);
dis=dis->link;
}
printf("%sNULL\n",str);
}

void linkedlist::reverse()
{
printf("reversing...");
if (list == NULL && list->link == NULL) return;
node *current = list;
node *prev = NULL;
node *next = NULL;
while (current!=NULL)
{
next = current->link;
current->link = prev;
prev= current;
current = next;
}
list = prev;

}

void linkedlist::merge(linkedlist l1, linkedlist l2)
{

node *top = l1.list;
while (top!=NULL)
{
append_item(top->data);
top = top->link;
}
top = l2.list;
while (top!=NULL)
{
append_item(top->data);
top = top->link;
}

}

linkedlist linkedlist:: operator +(linkedlist l1)
{
linkedlist temp;

node *top = this->list;
while (top!=NULL)
{
temp.append_item(top->data);
top = top->link;
}

top = l1.list;
while (top!=NULL)
{
temp.append_item(top->data);
top = top->link;
}
return temp;
}
#endif

How does a rice cooker know when to turn off?

How does a rice cooker know when to turn off?

There are a number of appliances that "know" when they should turn off. A rice cooker is one of them. The water-heating portion of a drip coffee maker (as opposed to the burner under the pot) is another. Automatic hard-boiled-egg makers work the same way.

All of these appliances use the same principle. If there is water in a heated container and the water is boiling, the container will maintain a constant temperature. See How Refrigerators Work for two experiments you can perform to prove this fact to yourself.

At sea level, the boiling temperature for water is 212 degrees F or 100 degrees C. As soon as all of the liquid water has evaporated (or, in the case of the rice cooker, as soon as all of the water is absorbed by the rice), the temperature inside the container immediately rises. The appliance has a thermostat that can detect when the temperature rises above 212 degrees F in the container, and it turns itself off.

Source: Howstuffworks "How does a rice cooker know when to turn off?"

50 Things to do with Google Maps

1. Measure your run route or commute
2. Check the time in a world location
3. Look up a US zip code
4. Measure Area
5. Make your own Google Map out of any map
6. Map your photos
7. Check what's on the other side of the world
8. Find a person in the US
9. Check the weather anywhere
10. Find the nearest Starbucks
11. Discover an eBay real estate deal
12. Find airport parking in the US.. or the UK
13. Create a running route
14. Watch a travel video
15. Find Fast Food in the US
16. Buy beer in Ontario
17. Check the news for your zip code
18. Avoid disease outbreak
19. Beat traffic
20. Make your own Google Maps mashup
21. Avoid red light cameras
22. Find cheap gas
23. Check sunrise or sunset times
24. Convert currency
25. Find a place to live in the US
26. Find out where the daylight is right now
27. Find a ski resort anywhere in the world
28. Track a flight on Google Maps
29. Calculate the distance between two world airports
30. Find the elevation/height above sea level
31. Map the 7 Wonders of the World
32. Find a golf course anywhere in the world
33. Click anywhere and get travel info
34. Simulate a flood to show damage effects
35. Fly a plane
36. Search Google Maps in full screen
37. Find a world webcam
38. Find a US or Canadian Library
39. Find a world port
40. Map the fish in your tank
41. Find high risk areas for modern marine pirates
42. Find a world dive site
43. Map Wikipedia articles to their location
44. See where UFOs have been sighted
45. Pray in the direction of Mecca
46. Search eBay items by US zip code
47. Map flight turbulence and pollution
48. Plan a London tube journey
49. Calculate cab fare in New York City
50. Map where movies were filmed in the US and Canada

Source: Google Maps Mania: 25 Things to do with Google Maps mashups

Skytopia : Illusion that is supposed to be scary

Copied from Source: Skytopia : Dynamic optical illusions. Pictures, 3D and animation

Vision distorter (v2.0)
Watch your very world around you distort!

Seeing is believing..... or so they say. Well believe it no more, because as these animations will show, your very world is going to distort around you!
Improved over time, this ranks as one of the more scary optical illusions. There are anims to make everything shrink, grow, stretch, and a mix of these.
For this stunning illusion, you'll want to download this small and easy to install
ultra-efficient AVI lossless codec created by Kenji Oshima. Otherwise, you may download the standard "Microsoft Video 1" AVI versions here (20k zipped), but then you'll need to follow the instructions in the blue box-out to the right.