file size validation before upload?

Posted on May 7th, 2008 in programming | No Comments »

Before uploading files via a HTML-form, I want to do some client-side validating.
E.g. to check the filesize of the file selected by the user to upload.
Filesize should be, say, between 5MB and 50 MB. Javascript solution?!?

Nope, not really. By design, a person’s browser isn’t allowed to snoop around the file system.

Fever vs. Fever

Posted on May 6th, 2008 in music | No Comments »


vs.

Into the Wild (2007)

Posted on May 5th, 2008 in movies | No Comments »

Lifeturning….

“The sea’s only gifts are harsh blows, and occasionally the chance to feel strong. Now I don’t know much about the sea, but I do know that that’s the way it is here. And I also know how important it is in life not necessarily to be strong but to feel strong. To measure yourself at least once. To find yourself at least once in the most ancient of human conditions. Facing the blind death stone alone, with nothing to help you but your hands and your own head.”

“HAPPINESS ONLY REAL WHEN SHARED”

Watch this movie here. (the 3 part version)

we need to keep our cool despite the stresses of web(related) working

Posted on May 4th, 2008 in life | No Comments »

One, and the most important thing:

Maintain a low-information diet. Many productivity gurus recommend keeping one’s information intake to a minimum. Just focus on what’s essential and ignore the rest. This is especially hard for web workers because the internet contains an infinite amount of information on a variety of subjects. Do you really need to know what Paris Hilton did last Saturday? Probably not, unless you’re a celebrity blogger.

Don’t get me wrong – being informed is a good thing. But too much of it can add to your personal tension and stress. When you take in more than you should, it consumes your time and attention, which can be better spent on relaxing activities. An hour of reading trivial RSS feeds could be used calling an old friend, catching up on your reading, or even napping.

via WWD.

Donald Trump

Posted on April 30th, 2008 in people | No Comments »

“What separates the winners from the losers is how a person reacts to each new twist of fate”

I was relentless, even in the face of total lack of encouragement, because much more often than you’d think, sheer persistence is the difference between success and failure. When somebody challenges you, fight back. Be brutal, be tough, Just go get them.

Cosbuc

Posted on April 30th, 2008 in life | 1 Comment »

Ori buni, ori răi, tot un mormânt!
Nu-i nimeni drac şi nimeni sfânt!
Credinţa-i val, iubirea vânt
Şi viaţa fum!

Sony Ericsson XPERIA X1

Posted on April 29th, 2008 in tech | 1 Comment »

Ok… this one woke the SE lover in me….

View full description here.

azi ascultam:

Posted on April 29th, 2008 in Uncategorized | No Comments »

haggard - herr manelig

The Mickey Mouse Club (history lesson#1)

Posted on April 29th, 2008 in Events | 1 Comment »

The Mickey Mouse Club was Walt Disney’s second venture into producing a television series, the first being the Walt Disney anthology television series, initially titled Disneyland. Disney used both shows to help finance and promote the building of the Disneyland theme park. Being busy with these projects and others, Disney turned The Mickey Mouse Club over to Bill Walsh to create and develop the format, initially aided by Hal Adelquist.[1]

The result was essentially a variety show for children, with such regular features as a newsreel, a cartoon, and a serial, as well as music, talent and comedy segments. One unique feature of the show was the Mouseketeer Roll Call, in which many (but not all) of that day’s line-up of regular performers would introduce themselves by name to the television audience. In the serials, teens faced challenges in everyday situations, often overcome by their common sense or through recourse to the advice of respected elders.

Full cast of 1990s Mouseketeers


External links

Britney Spears

Posted on April 29th, 2008 in Uncategorized | 1 Comment »

I’m such a Britney-er! :)

They seem to never get enough of her! She got drunk again/ she lost her kids/ she cut her hair/ she painted her hair/ she is fat / she got thin again/ she pissed on a lady bug/ she is such a drug addict/ she is a lousy singer/ she is such a bad mom/ she doesn’t love her kids/ her breath smells…. fucking bored american people, it’s almost a year now and only the election beated Britney on the covers of magazines.
Leave Britney alooonee! :))
You go brit!

P.s. God this sounds gay! :))
P.p.s. I had to write about Brit-o :)