Bite my bytes

What I learn by day I blog at night.

  Home :: Contact :: Syndication  
  758 Posts :: 3414 Comments :: 235 Trackbacks

Godaddy Promo Code
Save 25% with "gds0124a"
More 30+ live codes
livecodes.blogspot.com

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
 
 

Sunday, May 11, 2008 #

Two weeks edition due to strange times at Vidmar's house.

Development

Design

Other

Photography

  • ExifTool - THE (command line) tool for managing EXIF info in digital photographs.
  • ExifTool GUI - Windows GUI for Exif tool. Looks to me like it is from my contryman. Way to go!

Software

System

Software Updates

Jobs

Sunday, May 11, 2008 10:30 PM, 0 comment(s)

Monday, April 28, 2008 #

Due to special circumstances this weeks links are very light. More in a few days.

Local

System

Webdesign

Software Updates

Jobs

HiddenNetwork.com Banner

Monday, April 28, 2008 1:23 AM, 3 comment(s)

Monday, April 21, 2008 #

I just published version 1.3 of GetSysinternals script to CodePlex.

Download:

Changes:

Monday, April 21, 2008 11:36 PM, 0 comment(s)

Sunday, April 20, 2008 #

Development

Humor

Internet

Photography

System

Software Updates

Jobs

Sunday, April 20, 2008 10:38 PM, 2 comment(s)

Monday, April 14, 2008 #

I never though about it, but printing (not creating!)  PDF documents from code without user intervention is not a trivial task. Nearly everyone has Adobe Reader or an alternative PDF viewer installed doesn't help a lot.

Let's look at the options:

But if you dig deep enough you will find out that there is a way to automate printing. By using DDE, of all things (if you don't know what DDE is, you probably didn't use a phone with a rotary dial, either).

Here is a sample code I used to print PDF files:

bool tryStart = false;
bool connected = false;
do
{
    try
    {
        // Connect to the server.  It must be running or an exception will be thrown.
        client.Connect();
        connected = true;
    }
    catch (DdeException)
    {
        // try running Adobe Reader
        System.Diagnostics.Process p = new System.Diagnostics.Process();
        p.StartInfo.FileName = "AcroRd32.exe";
        p.Start();
        p.WaitForInputIdle();
        // try this once
        tryStart = !tryStart;                            
    }
} while (tryStart && !connected);

// sucessfully connected?
if (connected)
{
    // Synchronous Execute Operation
    client.Execute("[DocOpen(\"C:\\Test.pdf\")]", 60000);
    client.Execute("[FilePrintSilent(\"C:\\Test.pdf\")]", 60000);
    client.Execute("[DocClose(\"C:\\Test.pdf\")]", 60000);
    client.Execute("[AppExit]", 60000);
}

Since .NET doesn't natively support DDE, I used free .NET library that was published on GotDotNet, which was moved to MSDN Code Gallery. The sample was not ported so it isn't available for download, which is a real shame. There is another .NET DDE library on CodePlex, which will work too.

Next best thing is an C++ article on CodeProject that inspired the code above.

 

Technorati tags: , , , , ,
Monday, April 14, 2008 10:46 PM, 0 comment(s)

Sunday, April 13, 2008 #

Development

Blogging

Games

  • Bloxorz - Heavily addictive flash puzzle game. (found via non other than Dr.T!)

Internet

Photography

Slovenia

Software

System

Video

Web design

Software Updates

Sunday, April 13, 2008 10:13 PM, 0 comment(s)

Saturday, April 12, 2008 #

I often create account (Jira, Subversion, FTP,...) so I need good password generator. For long time I used PC Tools Secure Password Generator web page with two presets and it worked. Except there was a lot of copy-pasting.

Lately I try to simplify my life so I had a "what if I could just..." moment and that instance the wapgUI was born.

It's a user interface for an ancient pronounceable password generator called APG, or in the case of Win32 port wapg.

image

Using AutoHotKey I can now press Win + S to start wapgUI which will display a list of 10 freshly generated passwords. I pick one (using enter or double click) and the password is copied on the clipboard for instant pasting where new password is needed.

Here is the AHK script I use for launching:

<#S::
    SetTitleMatchMode, 2
    IfWinExist, wapgUI
    {
        WinActivate
    }
    Else
    {
        Run, C:\Shared Folder\Tools\wapgUI\wapgUI.exe
        WinWait, wapgUI
        WinActivate
    }
    Return

The password strength, length and allowed characters parameters for wapg can be set in wapgUI.exe.file.

Includes wapg binaries by Adel I. Mirzazhanov and famfamfam silk icon.

 

Download:
wapgUI 1.0 (with wapg.exe)

Source code:
wapgUI 1.0 VS 2008 C# source code

History:
1.0 (12th April 2008) - Initial release.

 

Saturday, April 12, 2008 10:42 PM, 0 comment(s)

Friday, April 11, 2008 #

image Following one of most popular posts on this blog about Free Software for Nokia 6600, this is some more free titles, collected by Robert:

Tools

Information

Games

You can find a more software in lists on N95 blog and Lifehacker.

 

Similar articles:

 

Technorati tags: , , ,
Friday, April 11, 2008 11:07 PM, 3 comment(s)

Sunday, April 06, 2008 #

Blogging

  • CodeColorizer - Another code highlighter Windows Live Writer plugin.
  • Copyscape - Search the web for copies of your page content.

Development

Local

  • Precenimo cene - General products price comparison for Slovenian stores.

Photography

  • CHDK - Custom firmware for Canon digital cameras. Whoa! Love this. Unfortunately I own G5 and 400D which are both not supported.

Software

System

Web

  • Google Email Uploader - Upload your email from Outlook & co. directly to Google Apps accounts for easy migration.

Software Updates

Jobs

Sunday, April 06, 2008 11:36 PM, 1 comment(s)

Sunday, March 30, 2008 #

Development

Blogging

Design

Local

Photography

Software

System

Web

  • WOWIO - Free Books + Free Minds - there is also Programming section.

Software Updates

Jobs

Sunday, March 30, 2008 11:49 PM, 3 comment(s)

Monday, March 24, 2008 #

It's been a while since I reviewed a book on this blog. It's also been a while since I last read through a technical/software development book and wanted everyone know what I think about it. Last week I picked up a copy of LINQ in Action for my work and for three snowy morning I flipped pages.

When I first started reading about LINQ and playing with it I got a feeling LINQ is HUGE. That regular developer that doesn't have a lot of time to learn will need years to conquer the art of all that is LINQ.

But after reading LINQ in Action I realized this is not the case. The book systematically explains LINQ and since you probably already know something about LINQ fills the gaps. It's fast to red, has a nice flow. First it covers the basics, then explains about LINQ Objects, followed by LINQ to SQL and LINQ to XML and closes with a nice wrap-up. On books homepage you will find extra chapter dealing with LINQ to DataSet.

What I missed in the book is more about using LINQ in three-tiered designs. There are just a few statements about this in the book and few lines in sample code. What I would like to see is a chapter on how to use LINQ when there is WCF service in application design. I know it's a painful subject, but some guidelines would still be nice.

More info:

 

Technorati tags: , ,
Monday, March 24, 2008 12:53 PM, 3 comment(s)

Sunday, March 23, 2008 #

Everyone that runs a web server or even a site needs to run a DNS check from time to time. For a long time I have been a happy user of a site DNSstuff.com. But couple of months ago they started charging for their main check called DNSReport.

For few queries a month I'm not willing to subscribe for $80 a year, and I'm certainly not alone.

Finally I have done some research and tried to find alternatives. Here are the results with ratings, where 10/10 is what DNSReport gave us.

CheckDNS.net - 7/10 - Sample

Clear design, errors and warning are nicely visible. Quite fast too. Too bad it check for only basic stuff.

ZoneCheck - 6/10

AJAXy. Only reports error and/or warning. Had a batch mode for multiple domains and desktop program which I don't want to even try. DNS test should be available anywhere anytime.

intoDNS - 8/10 - Sample

Simple, powerful, web2.0-ish. Results are almost identical to DNSReport, it's just that the explanations are not that concise. For example, it says my SOA REFRESH is not ok, but I don't get any recommendations on how to fix it.

Network Tools - 5/10

Only stand alone tools, not DNSReport- like check. Trace and ping are nice though.

pingability - 7/10 - Sample

Solid report, too bad it is terribly hard to read.

iptools.com - 4/10

Similar to Network tools, it only has standalone tools, but no big all-round DNS test. Boring.

DomainTools - 2/10 - Sample

Too simple. Only lists DNS entries.

Free DNS Report - 8/10 (scam?) - Sample

The report looks remarkably similar to that of the original, but the site looks terribly like a scam. I'm kind of scared to enter my domain name in there. If this is real test, please pimp it up a bit!

you get signal - not rated

Doesn't really belong on the list, but it is a nice tool anyway. I use it for port forwarding tests and reverse IP domain check.

 

My pick is intoDNS. If I need a second opinion, I'll go for CheckDNS.net or pingability. For port scanning and trace router I like you get signal the best.

 

Technorati tags: , , , , ,
Sunday, March 23, 2008 11:11 PM, 0 comment(s)

Development

Internet

Photography

Software

System

Web

Software Updates

Jobs

Sunday, March 23, 2008 10:02 PM, 0 comment(s)

Saturday, March 22, 2008 #

It's one thing to force a software on people, but it's even worse when that software isn't working very well.

When Apple Update offered me to install Safari, I said to myself "why not?". It's been a while since I gave Safari a spin, so it would be time to give it another shot.

At first, I was delighted. It's fast, displays fonts like newspaper. It's, different, it makes me want to buy a Mac! (I guess that was Apple's plan in the first place!)

But my fascination didn't last long. While I played with the plan that I would use Safari for my Gmail and have it open all the time, and only use Firefox for surfing, I checked RAM consumption.

Looks like Safari has a terrible memory leak. Everyone knows Firefox is a memory hog. But in just few minutes, Safari manages to occupy more memory that Firefox running not-stop for couple of day.

image

I bet some people will try to convince me, that it's all Windows/Microsoft/Bill's fault. :)

 

Saturday, March 22, 2008 10:27 PM, 18 comment(s)

Sunday, March 16, 2008 #

Development

  • MSDN Code Gallery - This is CodePlex's sister site to publish samples, snippets, instructions and everything else that is not a complete project.
  • Unified SCC - Another SVN client that integrates with Visual Studio. The company is also working in semantic file diff program that looks very promising. Check out screenshots.
  • FluidKit - Open source WPF component library.
  • MonoDevelop 1.0 has been Released - MonoDevelop, The alternative IDE for .NET/mono development has reached most important milestone in any app's life - 1.0. Congratulations.

Software

Design

Fun

  • Best Firefox extension ever - This might offend someone, but I see it as a great prank. If you find this on your machine some day - it wasn't me!

Internet

Local

Software Updates

Jobs

Sunday, March 16, 2008 10:15 PM, 2 comment(s)