Bite my bytes

What I learn by day I blog at night.

  Home :: Contact :: Syndication  
  816 Posts :: 4360 Comments :: 235 Trackbacks

Search

Recent Comments.

Recent Posts

Most popular posts
in last 180 days

Categories

My Projects

Archives

Stuff


Copyright © by David Vidmar
 
Contact me!
 
LinkedIn Profile
 
 
 
Server Monitor

Sunday, January 04, 2009 #

Development

Games

  • World of Goo - Great and simple game. Available for 20 USd or at nearest p2p site.

Photography

Software

  • Gmail Unread Message Count in Favicon for Greasemonkey - Cool Greasemonkey script.
  • Ketarin - Keep your setup packages up to date.
  • Screamer Radio - Screamer Radio is a freeware Internet Radio player for Microsoft Windows. Also command line. How geek is that!?
  • Ubiquity - "Launcher" for Firefox.
  • Open Links - pen Links is a Ubiquity plugin that allows you to open links on a page or normal URLs.
  • AddThis - Social Bookmark & Feed Button Builder
  • FeedMyTorrents.com - Cleaned up RSS feed for TV torrents. You can also create and manage your personal feed and only add that to torrent client. Great!

System

Web

  • Shelfari - Social network for people who love books.

Software Updates

Sunday, January 04, 2009 10:41 PM, 0 comment(s)

Monday, December 29, 2008 #

Development

Photography

Shopping

Software

  • Tweak UI For Windows Vista
  • Open DBDiff - Open source database schema comparison tool for SQL Server 2005.
  • Gaea+ - Google Earth clone in Java by Slovenian company. Web start enabled, so you can just run it, no install needed.
  • LaptopLock - Data protection and recovery help for lost or stolen laptops (computer theft recovery)
  • PA Server Monitor - Get PA Server Monitor Lite for Free.
  • Photodex ProShow - The professional’s choice for slide show software. (commercial)

Software Updates

Jobs

HiddenNetwork.com Banner

Monday, December 29, 2008 12:20 PM, 0 comment(s)

Friday, December 26, 2008 #

I needed a second DVI connector on my desktop computer for attaching LCD TV so I went with Gigabit Radeon 3650, removed stock cooler and attached Scythe Musashi aftermarket cooler.

When assembled it looked and worked so good I had to share this picture with the world.

3138553867_03fd0e9ccd_b 

With it’s massive fans and speed controls I can run this on slowest possible speed, cooler is completely cool and it’s completely silent. Cool & cool!

Friday, December 26, 2008 9:58 PM, 3 comment(s)

Friday, December 19, 2008 #

It’s when error handling code hangs the application.

Friday, December 19, 2008 10:32 PM, 0 comment(s)

Monday, December 15, 2008 #

Development

Design

Photography

Shopping

Software

  • JavE - JavE is a free Ascii Editor. Rather than for editing texts, it is intended for drawing simple diagrams by using Ascii characters. It is like a graphics editor for editing texts instead of images.
  • Small Basic - Small Basic is a project that's aimed at bringing "fun" back to programming. By providing a small and easy to learn programming language in a friendly and inviting development environment, Small Basic makes programming a breeze. Ideal for kids and adults alike, Small Basic helps beginners take the first step into the wonderful world of programming.
  • DiffMerge - SourceGear's diff and merge application. Free, portable. It's supposed to be better that TortoiseMerge.

Software Updates

Byte my bites Jobs

HiddenNetwork.com Banner

Monday, December 15, 2008 10:25 PM, 0 comment(s)

Sunday, December 07, 2008 #

Development

Books

  • .NET Book Zero - What the C or C++ Programmer Needs to Know About C# and the .NET Framework by Charles Petzold

Design

Photography

Software

Web

  • TextFlow - Fascinating parallel word processing.

Software Updates

Jobs

HiddenNetwork.com Banner

Sunday, December 07, 2008 11:19 PM, 0 comment(s)

Wednesday, December 03, 2008 #

If you are in the market for simple but efficient program for doing web and desktop UI mockups, I would recommend Balsamiq. They offer web based tool (Flash), a desktop app (Adobe Air) and Confluence / Jira add-in. It’s quite inexpensive - $79 for a single user.

image

I have been using it on and off for few weeks and I liked it very. Is pretty, fun to used and highly efficient – simple forms can be mocked in seconds. Since we are heavy Jira users at work, its cool that Balsamiq can be integrated and with a click of a button mockup can be added to Jira issue. I'm currently pushing request for purchase up the corporate ladder, but I think once other project managers at our company see it, it's a no brainer…

I was checking out Balsamiq home page today and found out they are offering number of ways how to get a free license. In matter of minutes nice lady replied to my email and now I'm a licensed user!

Wednesday, December 03, 2008 10:28 PM, 0 comment(s)

Sunday, November 30, 2008 #

Development

Fun

  • Jon Skeet Facts? - Some developer humor. If you are not programmer, DO NOT CLICK THIS LINK!

Photography

Project management

Software

Software Updates

Sunday, November 30, 2008 11:00 PM, 2 comment(s)

Sunday, November 23, 2008 #

Development

Design

Fun

Photography

Software

Web

  • Cameroid - Use your webcam to take photos online!

Software Updates

Jobs

HiddenNetwork.com Banner

Sunday, November 23, 2008 10:07 PM, 1 comment(s)

Monday, November 17, 2008 #

Design

Graphics

Humor

Software

  • SystemExplorer Homepage - Free system management tool. Process Explorer + AutoRuns + Services + Open Files + ...
  • Balsamiq Mockups Home - Software for designing software mockups. Also available as Jira & Confluence add-ins. Not free.

Webdesign

Software Updates

Jobs

HiddenNetwork.com Banner

Monday, November 17, 2008 11:09 PM, 0 comment(s)

Saturday, November 15, 2008 #

If you get this error when trying to connect to your Home Server using Windows Home Server Console, welcome to the club.

When Googling you’ll find all kinds of advices to reinstall Connector software or even whole server. Luckily, all of those are wrong.

It turns out that all other components, like shared folder and backup connect to server using NETBIOS, but Console is using DNS resolution.

Sometimes (!) that resolves to server.your-isp.net or similar.

Solution? Stick servers IP in hosts, and restart!

Saturday, November 15, 2008 9:42 PM, 1 comment(s)

Sunday, November 09, 2008 #

Development

Shopping

Software

Software Updates

Jobs

HiddenNetwork.com Banner

Sunday, November 09, 2008 9:39 PM, 0 comment(s)

Wednesday, November 05, 2008 #

I can't remember last time I have seen all my emails take care of! I just had to share this with the world...

image

Wednesday, November 05, 2008 11:41 PM, 0 comment(s)

Phew! It's been a while since I posted some code here! Here goes...

I had a modest request from a part-time-UI-designer of application I'm currently working on. He wanted watermarked input boxes as we sometimes see on the web, except that he wanted them in desktop application.

So instead of something like this:

image

We would have this:

 image

Fair enough, I liked it.

I immediately started thinking about Enter and Leave events and overlaying Label control over TextBox control and I had a good starting point with my old LinkTextBox control.

But, man, I'm glad I googled before I started coding. It turns out, the feature is only SendMessage away.

So here are two implementations:

First one is done with subclassing  and creating WatermarkTextBox.

class WatermarkTextBox : TextBox
{
    private const uint ECM_FIRST = 0x1500;
    private const uint EM_SETCUEBANNER = ECM_FIRST + 1;

    [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]
    static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, uint wParam, [MarshalAs(UnmanagedType.LPWStr)] string lParam);

    private string watermarkText;
    public string WatermarkText
    {
        get { return watermarkText; }
        set
        {
            watermarkText = value;
            SetWatermark(watermarkText);
        }
    }

    private void SetWatermark(string watermarkText)
    {
        SendMessage(this.Handle, EM_SETCUEBANNER, 0, watermarkText);
    }       

}

Other one is a simple Extension Method.

public static class TextBoxWatermarkExtensionMethod
{
    private const uint ECM_FIRST = 0x1500;
    private const uint EM_SETCUEBANNER = ECM_FIRST + 1;

    [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]
    private static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, uint wParam, [MarshalAs(UnmanagedType.LPWStr)] string lParam);

    public static void SetWatermark(this TextBox textBox, string watermarkText)
    {
        SendMessage(textBox.Handle, EM_SETCUEBANNER, 0, watermarkText);
    }

}
Wednesday, November 05, 2008 11:36 PM, 0 comment(s)

Tuesday, November 04, 2008 #

While checking news about Live Mesh for Mac I realized that Live Mesh is finally available outside US.

That's great news, but why didn't MS notify me as they promised when I signed up for beta?!

Can't wait to put Live Mesh through some serious testing. This should be a kick as tool!

Tuesday, November 04, 2008 7:46 AM, 0 comment(s)