Flaque d'eau au Trocadero

http://img84.imageshack.us/img84/9416/knockitallmy2py6jk3.jpg





Using Twitter, a new social networking site, you can set up your laptop and connect it to your light switches (or any other electrical device) and control the device by sending text messages to your twitter account. It's a fairly simple setup using this software which controls this hightech lightswitch (which is suprisingly affordable). If you enjoyed this, be sure to check out the Emergency Party Button:


Emergency Party Button

j



I LOve These

These Too

And This


http://pupismyname.shackspace.com/Gabe_Perez.jpg

http://oddpicsblog.com/wp-content/uploads/2008/03/to-do-list-nothing.jpg

Road to heaven

Road to heaven




This
is an image I made last Winter up in Chino Hills behind a housing
development. I tried going back this year to make another version but I
guess it was a dryer Winter and nothing was green. When things did
finally turn green the sun was setting in the wrong place. I’ll
give it another go next season, if this hasn’t all been turned
into houses or shopping centers. I’ve got another shot coming up
in a couple of days that shows a wider view of this area.


This is my entry for the Photo Friday theme “The Road.”


Update: Voted noteworthy by Photo Friday fans. Thanks, folks!








Analogy
is a typographic clock which explores the numerical and spatial
qualities of digital and analogue clocks. This piece considers the
relationship between the two, fusing them together to create a new
hybrid format. It gives an everyday object a twist to make it something
that people will notice.


Jesson
is a London based freelance digital designer specialising in web,
interaction and visualisation. Latest clients include the Green Party,
Pure Productions and Sainsbury Center for Mental Health. Formerly a
senior designer at Lateral, working with clients such as Amnesty, Five,
Levi’s, Lexus, Nintendo and RSPCA.


The Evolution of a Programmer

High School/Jr.High

  10 PRINT "HELLO WORLD"
20 END

First year in College

  program Hello(input, output)
begin
writeln('Hello World')
end.

Senior year in College

  (defun hello
(print
(cons 'Hello (list 'World))))

New professional

  #include 
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;

for(i = 0; i <>

Seasoned professional

  #include 
#include

class string
{
private:
int size;
char *ptr;

string() : size(0), ptr(new char[1]) { ptr[0] = 0; }

string(const string &s) : size(s.size)
{
ptr = new char[size + 1];
strcpy(ptr, s.ptr);
}

~string()
{
delete [] ptr;
}

friend ostream &operator <<(ostream &, const string &); string &operator=(const char *); }; ostream &operator<<(ostream &stream, const string &s) { return(stream << operator="(const" size =" strlen(chrs);" ptr =" new" str = "Hello World">

Master Programmer

  [
uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)
]
library LHello
{
// bring in the master library
importlib("actimp.tlb");
importlib("actexp.tlb");

// bring in my interfaces
#include "pshlo.idl"

[
uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)
]
cotype THello
{
interface IHello;
interface IPersistFile;
};
};

[
exe,
uuid(2573F890-CFEE-101A-9A9F-00AA00342820)
]
module CHelloLib
{

// some code related header files
importheader();
importheader();
importheader();
importheader("pshlo.h");
importheader("shlo.hxx");
importheader("mycls.hxx");

// needed typelibs
importlib("actimp.tlb");
importlib("actexp.tlb");
importlib("thlo.tlb");

[
uuid(2573F891-CFEE-101A-9A9F-00AA00342820),
aggregatable
]
coclass CHello
{
cotype THello;
};
};


#include "ipfix.hxx"

extern HANDLE hEvent;

class CHello : public CHelloBase
{
public:
IPFIX(CLSID_CHello);

CHello(IUnknown *pUnk);
~CHello();

HRESULT __stdcall PrintSz(LPWSTR pwszString);

private:
static int cObjRef;
};


#include
#include
#include
#include
#include "thlo.h"
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"

int CHello::cObjRef = 0;

CHello::CHello(IUnknown *pUnk) : CHelloBase(pUnk)
{
cObjRef++;
return;
}

HRESULT __stdcall CHello::PrintSz(LPWSTR pwszString)
{
printf("%ws
", pwszString);
return(ResultFromScode(S_OK));
}


CHello::~CHello(void)
{

// when the object count goes to zero, stop the server
cObjRef--;
if( cObjRef == 0 )
PulseEvent(hEvent);

return;
}

#include
#include
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"

HANDLE hEvent;

int _cdecl main(
int argc,
char * argv[]
) {
ULONG ulRef;
DWORD dwRegistration;
CHelloCF *pCF = new CHelloCF();

hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);

// Initialize the OLE libraries
CoInitializeEx(NULL, COINIT_MULTITHREADED);

CoRegisterClassObject(CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,
REGCLS_MULTIPLEUSE, &dwRegistration);

// wait on an event to stop
WaitForSingleObject(hEvent, INFINITE);

// revoke and release the class object
CoRevokeClassObject(dwRegistration);
ulRef = pCF->Release();

// Tell OLE we are going away.
CoUninitialize();

return(0); }

extern CLSID CLSID_CHello;
extern UUID LIBID_CHelloLib;

CLSID CLSID_CHello = { /* 2573F891-CFEE-101A-9A9F-00AA00342820 */
0x2573F891,
0xCFEE,
0x101A,
{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
};

UUID LIBID_CHelloLib = { /* 2573F890-CFEE-101A-9A9F-00AA00342820 */
0x2573F890,
0xCFEE,
0x101A,
{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
};

#include
#include
#include
#include
#include
#include "pshlo.h"
#include "shlo.hxx"
#include "clsid.h"

int _cdecl main(
int argc,
char * argv[]
) {
HRESULT hRslt;
IHello *pHello;
ULONG ulCnt;
IMoniker * pmk;
WCHAR wcsT[_MAX_PATH];
WCHAR wcsPath[2 * _MAX_PATH];

// get object path
wcsPath[0] = '\0';
wcsT[0] = '\0';
if( argc > 1) {
mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);
wcsupr(wcsPath);
}
else {
fprintf(stderr, "Object path must be specified\n");
return(1);
}

// get print string
if(argc > 2)
mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1);
else
wcscpy(wcsT, L"Hello World");

printf("Linking to object %ws\n", wcsPath);
printf("Text String %ws\n", wcsT);

// Initialize the OLE libraries
hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED);

if(SUCCEEDED(hRslt)) {


hRslt = CreateFileMoniker(wcsPath, &pmk);
if(SUCCEEDED(hRslt))
hRslt = BindMoniker(pmk, 0, IID_IHello, (void **)&pHello);

if(SUCCEEDED(hRslt)) {

// print a string out
pHello->PrintSz(wcsT);

Sleep(2000);
ulCnt = pHello->Release();
}
else
printf("Failure to connect, status: %lx", hRslt);

// Tell OLE we are going away.
CoUninitialize();
}

return(0);
}

Apprentice Hacker

  #!/usr/local/bin/perl
$msg="Hello, world.\n";
if ($#ARGV >= 0) {
while(defined($arg=shift(@ARGV))) {
$outfilename = $arg;
open(FILE, ">" . $outfilename) || die "Can't write $arg: $!\n";
print (FILE $msg);
close(FILE) || die "Can't close $arg: $!\n";
}
} else {
print ($msg);
}
1;

Experienced Hacker

  #include 
#define S "Hello, World\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}

Seasoned Hacker

  % cc -o a.out ~/src/misc/hw/hw.c
% a.out

Guru Hacker

  % echo "Hello, world."

New Manager

  10 PRINT "HELLO WORLD"
20 END

Middle Manager

  mail -s "Hello, world." bob@b12
Bob, could you please write me a program that prints "Hello, world."?
I need it by tomorrow.
^D

Senior Manager

  % zmail jim
I need a "Hello, world." program by this afternoon.

Chief Executive

  % letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout

Anonymous




The temperature in Harbin reaches forty below zero, both Fahrenheit
and Celsius, and stays below freezing nearly half the year. This
Chinese city is actually further north than notoriously cold
Vladivostok, Russia, just 300 miles away. So what does one do here
every winter? Hold an outdoor festival, of course! Rather than suffer
the cold, the residents of Harbin celebrate it, with an annual festival
of snow and ice sculptures and competitions. The festival officially
runs from January 5 through February 15, but often opens a week early
and runs into March, since it’s usually still cold enough. This is the
amazing sculpture made of snow greeting visitors to the snow festival
in 2003.




Snow and ice sculpture in Harbin dates back to Manchu times, but the
first organized show was held in 1963, and the annual festival itself
only started in 1985. Since then, the festival has grown into a
massive event, bringing in over a million tourists from all over the
world every winter. The sculptures have become more elaborate and
artistic over time; this bear and cub are just one small part of a
fifty-meter-wide mural sculpture.




Most of the sculptures appearing at the snow festival are
competitive entries. Each team starts with a cube of packed snow that
appears to measure about three meters on a side, and then starts
carving away. Teams come in from all over the world - Russia, Japan,
Canada, France, even South Africa. Part of the fun is guessing the
nationality of the team, based on their sculpture’s artistic style,
before reading the signs. I believe this was a Russian entry.




The sun begins to set behind the magnificent entryway sculpture.
The snow festival is actually separate from the ice festival; both take
place on the wide open spaces of Sun Island north of Harbin’s river,
Songhua Jiang. Harbin is situated south of the river, so it’s a chilly
ride over to the sites. It seems even chillier when crossing the
bridge over the very wide and very frozen Songhua Jiang.




I was surprised to discover this sculpture of a Native American
sitting in the frozen northeast of China; sure enough, I read on the
sign that a Canadian team sculpted this entry. Chinese teams had many
sculptures at the festival as well, off in another section, but a vast
majority didn’t measure up to these amazing works.




Too cold and tired to walk around Sun Island Park to view the snow
festival sculptures? No problem; these folks are just waiting to show
you around. It’s difficult to imagine sitting outside for hours in
this temperature, but these guys do it. The dogs seemed to take it all
in stride; some were lounging about and napping on the ice.




Even the sunsets in Harbin look cold. Though only mid-afternoon,
the sun was setting over the snow festival and the temperature was
falling even further below freezing. But the coming darkness was
actually good news, because it meant that the ice festival was about to
begin.




The ice festival, a few miles away from the snow festival, is
anything but dull and colorless. Crowds flocking to the entrance are
greeted by dance music booming in the distance, as if at an outdoor pop
concert. And bright neon colors shine everywhere, buried within huge
blocks of ice forming structures as high as thirty meters, such as this
huge structure beyond the entryway. You can just make out people
standing atop its blue and red stairway.




A view from atop that structure, looking back on a Russian-styled
building and a mock Great Wall, both constructed out of ice. Making it
to the top of this structure is an accomplishment in itself - imagine
walking up a stairway of solid ice for two floors with no handrails.
The yellow block wall on the right and the balconywork on the lower
left are all ice, with no internal support structure - just lights.




The Great Wall doubles as a long ice slide; just sit and go. You
can pick up some serious speed and wipe out spectacularly at the bottom
if you’re wearing a slick coat, but you won’t go anywhere if you’re
wearing corduroy pants.




An overview of the ice festival from atop the Great Wall of ice.
It’s like a Disney theme park, with multiple attractions and food
hawkers and kids running around and people lined up for bathrooms. The
only differences are that the temperature is about a hundred degrees
colder than the typical Disney park, and all the structures are made
out of ice rather than plastic - and slipping and falling here doesn’t
result in tremendous lawsuits.




One of the popular activities at the festival is climbing a wall of
solid ice. Amazingly, I didn’t see a single person fall, and most
everyone made it to the top. All the ice comes from Songhua Jiang, the
nearby river, which provides a limitless supply; huge chainsaws are
required to cut through the ice, which can be meters thick.




The snow festival is mostly a display of art; the ice festival is
mostly a display of architecture. Nevertheless, a number of sculptures
can be found at the ice festival, such as this life-sized horse.
Notice the layers of ice in the horse; blocks of ice are fused together
to form larger blocks so that sculptures - or huge buildings - can be
made.




Agile youngsters with good balance can climb atop the horses to have
their pictures taken. This horse appears to be taking a break from all
that. Notice the see-through horse right behind this one, also grazing.




An entire ship constructed of ice, with passengers onboard. Though
it might not be seaworthy, the ship would certainly float - after all,
it’s made of ice. Hundreds of years ago during the Manchu days of ice
lantern art, the sculptures were lit only by candles.




With all this ice around, it was inevitable that someone would try
this. No, her tongue did not get stuck - it would have taken licking a
frozen metal pole to do that - but goodness knows how many people tried
this same thing on this same spot of ice before she did; and Songhua
Jiang river ice is not exactly clean.




A bridge of ice, spanning ice, leading to more icy ground. Atop the
bridge columns are dozens of intricately carved fu dogs, just like
those that would appear on old traditional bridges in China.




A Thai temple of ice...




...complete with hallways and rooms inside.




Outside the main entrance to the ice festival, called “The Fourth
Annual Harbin Ice and Snow World.” Long ago, Disney made a
CircleVision 360 film called “Wonders of China” - still showing at the
China pavillion in the World Showcase at EPCOT - which includes a brief
section on Harbin’s ice festival. In the movie, the sculptures are
quite low-key, little more than blinking light bulbs inside small
globes and ice carvings. Things have changed a bit since those days.