Monthly Archives: March 2008

Prepare for a Layoff [Career]Lifehacker

cube.jpgWith all this recent hype about the stock market and rising unemployment rates, the best way to protect yourself from being laid off is to consistently look out for other opportunities. Always stay in the game. Even if you’re feeling smug at work, look around for the perfect dream job and keep your resume up-to-date. This will give you a head start if your company is negatively impacted by the economy. If you’re feeling worried, build upon your emergency fund and limit leisure spending. Ideally, you should have three to six months of expenses in your bank account. See these other ways to recession-proof your career.




The Many Advantages of the Nicholson benchPopular Woodworking

I hosted a sapfm chapter meeting in my tiny basement shop yesterday. My Nicholson
bench provided comfortable theater seating for 5.

A walnut plank, supported by hold fasts, served as a comfortable and stylish foot
rest. I pulled my workbench away from the wall and repositioned my CF powered worklights
to illuminate and focus attention on the demonstration.

12 woodworkers participated in lively discussions and tried their hands at filing,
planishing brass and steel, and filing and setting saw teeth. Despite the cramped
conditions, a good time was had by all. I think whenever you have a chance to gather
with fellow woodworkers, it’s gonna be fun.

Speaking of which, we had a special surprise visit from author, instructor and Philadelphia
windsor chair maker Jim Rendi. Jim is fantastic and it was a honor to have him join
us.

This meeting has given me the confidence to try this again. I was afraid the shop
would be too small and uncomfortable for a group of this size. But my collapsible
Nicholson bench and a few throw cushions made all the difference. This is just another
example of the many advantages of a long bench with hold fast holes on it’s front!

— Adam

Simplify Your Cleaning [How To]Lifehacker

dusty.jpgIf keeping a clean household is a top priority for you but you can’t make the time, simplify the task as much as possible. Keep your home clear of clutter on a regular basis. It is a lot easier to clean an uncluttered room than it is to clean a room that is filled to the brim with stuff. Tackle the task of cleaning different rooms consistently. The bathroom, for example, should be cleaned every other week and as you notice a mess to decrease the amount of labor required at any given cleaning period. If you see a spill, it only take a minute to clean it up, so don’t let it sit there. If you accumulate dirt and grime, it will only add to the clutter of your mind and your humble abode. By keeping everything simple, you avoid making cleaning seem like such a chore. What are your secret cleaning weapons? Let’s hear them in the comments.




Correct event invocation.NET Tip of The Day.org

Be aware that if there are no subscribers a .NET event will be null. Therefore when raising the event from C# test it for null first.

    public event EventHandler SelectedNodeChanged;

 

    protected virtual void OnSelectedNodeChanged(object sender, EventArgs e)

    {

        //Event will be null if there are no subscribers

        if (SelectedNodeChanged != null)

        {

            SelectedNodeChanged(this, e);

        }

    }

However in multithreaded application the last subscriber can unsubscribe immediately after the null check and before the event is raised. To avoid a null reference exception make a temporary copy of the event.

    public event EventHandler SelectedNodeChanged;

 

    protected virtual void OnSelectedNodeChanged(object sender, EventArgs e)

    {

        //Make a temporary copy of the event to avoid possibility of

        //a race condition if the last subscriber unsubscribes

        //immediately after the null check and before the event is raised.

        EventHandler handler = SelectedNodeChanged;

 

        //Event will be null if there are no subscribers

        if (handler != null)

        {

            handler(this, e);

        }

    }

submitted by Sergey P.

WP Like Button Plugin by Free WordPress Templates