My Blog

Archive for April, 2008

AIRTube Video Downloader Application

Thursday, April 10th, 2008

Cool little AIR application that allows you to download YouTube FLV videos by simply dragging or pasting in the video’s URL. After the video downloads the application will expand and show you a preview of the video. The file is saved to the desktop as video.flv

Follow the steps below once you get it installed:

  1. Open the application. It will remain on top of all other applications.
  2. Navigate to the YouTube website. Either drag a link into the input box or simply copy and paste one in. The link should look similar to http://youtube.com/watch?v=KNaJ9WS5nCc.
  3. Click the download button. It will now make a request to YouTube to try and get the FLV URL.
  4. If everything goes well you will see a progress bar showing the download progress.
  5. After downloading is complete the file will be saved to the desktop and it will begin playing.

 from: theflashblog.com/

Top 30 Tips for Staying Productive and Sane While Working From Home

Thursday, April 10th, 2008

1. Define your spaces; separate work from home. Have a room dedicated to working. Don’t do it wherever you happen to be. Set aside some space, preferably a room (it doesn’t have to be big) to be your workspace. That way, when you enter it, you know consciously what you’re there to do: go to work. It changes the state of mind from “I’m at home” to “I’m at work”.

2. Set regular hours, and stick to the schedule.

3. Don’t stay unshaved in pajamas. Instead, have breakfast, have a shower, get dressed. Then make a list of sensible tasks for the day and get started.

4. Close the door. It’ll be very easy to leave the door to whatever room or space you set apart to be your workplace open. Don’t do it. If the door is open, that represents something to you, and to your family. To you, it represents the idea that if it’s a bit tough, or you don’t feel like working today, you don’t have to. To your family, it represents the idea that Dad is around, and I can go and talk to him.

5. Keep your desk and general work area tidy. A tidy workspace helps keep a tidy mind, which helps make your day more productive.

6. Turn off the telephone when you need to work without distraction. Turn off IM and email notifications too. In fact, if possible, shut off the Internet.

7. Don’t stop working if it’s a hard day. There’ll be times when you haven’t got any ideas, or just don’t feel productive. Train yourself to do some work anyway. It’s a short fall from “It’s just not happening at the moment” to “It’s a bit tough, I’ll stop for the day”. Next thing you know, you never seem to get anything done.

8. Keep three lists of three. The first list has three things you will do today. The second is three things you’d like to get done, but aren’t essential. The third is three things that need to be done at some point. That way, when you’ve trogged through your days work, you don’t end up sitting twiddling your thumbs.

9. Start the day properly
. Have a good breakfast, spend some time alone to just sit and do whatever. Relax, let your mind wander. Pray. Just make sure that your mind isn’t in the “I hate working” frame of mind.

10. Have a good chair. Mesh backed ones, or good comfy leather perhaps. It’s worth spending some money on.

11. Keep a notepad and pencil nearby. Jot down ideas for blog posts, projects, anything that springs to mind. Then have a pinboard to stick them on. Look at it twice a week to refresh your mind of things that could be done sometime. Some of the best work you’ll ever do will come from random bits of inspiration.

12. Give yourself breaks. Don’t be locked in the room all the time. For every hour you work, have a 15-30 minute break. Give your mind time to digest what it’s just done, then come back. You’ll improve the quality of what you produce a hundredfold.

13. Don’t go back to work when you’ve finished. Had a great idea for a post? Fantastic, write down the basics on a note, and pin it up. Don’t go back to work when you’ve finished.

14. Schedule, if possible, around your natural schedule. Some people peak in the morning, others in the afternoon, still others at the witching hour.

15. Have a pint of water by your desk all the time. Try and work up to drinking a few pints a day, if you don’t already.

16. Be careful what music you listen to while you work. Music, TV, the weather… Just about everything will influence your mood. Some you can’t change, some you can. Make sure that you surround yourself with things that will give you the best frame of mind for whatever you’re about to do.

17. No turning on the computer for a quick email check or to do 1 little thing until you’ve gotten “ready for work” as mentioned above. The nuance is if you have nowhere to be, that 1 little thing leads to showering at 2 in the afternoon with a splitting headache because you’ve forgotten to eat etc.

18. Know when to stop. Don’t work late into the night. Set defined times when you’re going to work, and then when it passes, stop. You can have a bit of leeway here, but make sure that you don’t end up letting work run your life.

19. Don’t work an eight hour day. One reader works about 5 hours, in four blocks of an hour, with a 20 minute gap between each. If you do more than that, your attention might start to wander, you’ll be restless and your work won’t have it’s normal level of quality.

20. Designate certain days for certain work. For example: file everything on Friday afternoon, no later than Saturday morning. This allows you to walk out of your office for your “weekend” without feeling like you left work unfinished.

21. Set boundaries for those around you as well. Schedule your work time and make sure the kids and spouse know that you are unavailable for playing, chores, etc. during this time.

22. Sound Canceling Headphones. Seriously useful if you have a 3-year-old.

23. Pay attention and crunch numbers with your accounts regularly. You are less inclined to watch television when you realise how much it can cost you to mess around. Put a reminder that “work NOT done = no money”.

24. Have a good lunch. One readers suggested that something with good carb content works best. Puts you in the mood for the second half of the day.

25. Track your time. One reader suggested a simple program called gtimelog (http://mg.pov.lt/gtimelog/). You enter what you’ve done when you’ve completed it. It’s very simple and stays out of your way. At the end of the day, week, you can see a summary. It also allows you to break out work time vs. fun time in a simple manner.

26. Set online times. You don’t always need to be accessible for chit chat. This may be more applicable to telecommuters than the self-employed.

27. Don’t allow work to consume your life. Easier said than done when working from home. Make sure you set limits for the amount of time you will work.

28. Make time for people. When people ask, give them what you can. Respond in some way to every email. It doesn’t matter how long it takes you to get around to it. You don’t have to reply that day. Just make sure you do. It matters.

29. Say thank you a lot. Figure out who the people who have helped you and your blog (or your business) the most. If you’re a blogger, that’s the readers, not the people who gave you mentions on their big blogs. The people who have given their time and energy to helping you get where you are. You owe your life from this point on to them. Make sure they know you’re greatful.

30. Be grateful you’re working from home and not in some cubicle! That gratitude will motivate you to work harder, so you can continue to work from home.

 

from: zenhabits.net

Vector graphics in browser

Tuesday, April 8th, 2008

from gwt.org.ua

First of all look at the demo:

http://gwt.org.ua/demos/gwt-dojo-drawdemo/DojoSimpleDemo.html

if you are interested - download project archive for Eclipse. For correct work with project under Eclipse you need to configure variable GWT_HOME as described in previous publication.

Demo:

Vector demo

Windows vista source :)

Tuesday, April 8th, 2008

from: http://habrahabr.ru/

 

Wista code

Yahoo to Microsoft: Price must be right

Tuesday, April 8th, 2008

from: news.com

Below is the edited text of a letter sent by Yahoo CEO Jerry Yang and Chairman Roy Bostock to Microsoft CEO Steve Ballmer on Monday.

(more…)

GMail and Microsoft Outlook® ?

Tuesday, April 8th, 2008

Google announce a new application The Google Email Uploader.

The Google Email Uploader is a open source desktop utility for Microsoft Windows. It uploads email and contacts from desktop email programs (like Microsoft Outlook® ) into your Google Apps mailbox. It preserves information such as sent dates and sender/recipient data, as well as the folder structure used by email programs.

System requirements

  • Windows XP and Vista
  • Outlook 2003 and greater for Outlook support.
  • A Google Apps account

 

10 impossibilities conquered by science

Tuesday, April 8th, 2008

from: technology.newscientist.com

What is truly impossible? To accompany Michio Kaku’s article on the physics of impossibility, we have rounded up 10 things that were once thought scientifically impossible. Some were disproved centuries ago but others have only recently begun to enter the realm of possibility.

1. Analysing stars

In his 1842 book The Positive Philosophy, the French philosopher Auguste Comte wrote of the stars: "We can never learn their internal constitution, nor, in regard to some of them, how heat is absorbed by their atmosphere." In a similar vein, he said of the planets: "We can never know anything of their chemical or mineralogical structure; and, much less, that of organized beings living on their surface."

Comte’s argument was that the stars and planets are so far away as to be beyond the limits of our sense of sight and geometry. He reasoned that, while we could work out their distance, their motion and their mass, nothing more could realistically be discerned. There was certainly no way to chemically analyse them.

Ironically, the discovery that would prove Comte wrong had already been made. In the early 19th century, William Hyde Wollaston and Joseph von Fraunhofer independently discovered that the spectrum of the Sun contained a great many dark lines.

By 1859 these had been shown to be atomic absorption lines. Each chemical element present in the Sun could be identified by analysing this pattern of lines, making it possible to discover just what a star is made of.

(more…)

Google App Engine

Tuesday, April 8th, 2008

New google service http://code.google.com/appengine/

Google App Engine lets you run your web applications on Google’s infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow. With App Engine, there are no servers to maintain: You just upload your application, and it’s ready to serve your users.

You can serve your app using a free domain name on the appspot.com domain, or use Google Apps to serve it from your own domain. You can share your application with the world, or limit access to members of your organization.

App Engine costs nothing to get started. Sign up for a free account, and you can develop and publish your application for the world to see, at no charge and with no obligation. A free account can use up to 500MB of persistent storage and enough CPU and bandwidth for about 5 million page views a month.

During the preview release of Google App Engine, only free accounts are available. In the near future, you will be able to purchase additional computing resources.

from: http://code.google.com

(more…)

Project creation

Tuesday, April 8th, 2008

Old joke. I hope you did not see it later

Project

Reinhold Weber - 40 Tips for optimizing your php code

Friday, April 4th, 2008
  1. If a method can be static, declare it static. Speed improvement is by a factor of 4.
  2. echo is faster than print.
  3. Use echo’s multiple parameters instead of string concatenation.
  4. Set the maxvalue for your for-loops before and not in the loop.
  5. Unset your variables to free memory, especially large arrays.
  6. Avoid magic like __get, __set, __autoload
  7. require_once() is expensive
  8. Use full paths in includes and requires, less time spent on resolving the OS paths.
  9. If you need to find out the time when the script started executing, $_SERVER[’REQUEST_TIME’] is preferred to time()
  10. See if you can use strncasecmp, strpbrk and stripos instead of regex

(more…)