If you’re a Web developer, you likely already know about Firebug - the amazing web development add-in for Firefox. But if you haven’t been following its development blog, you may not know the latest news: Firebug 1.2 has moved from alpha to beta, and it’s ready for Firefox 3.
The new release isn’t just a version port; it’s also got substantial new functionality. This includes a good deal of performance work, better javascript debugging, and a redesigned console. if you’re doing any work in Firefox 3 it’s definitely worth grabbing.
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.
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.