real (1,796)


How do I use Java to read from a file that is actively being written to?

How do I use Java to read from a file that is actively being written to?

I have an application that writes information to file. This information is used post-execution to determine pass/failure/correctness of the application. I'd like to be able to read the file as it is b…


.net - What real world WPF applications are out there?

I'm currently working with WPF and Ive seen a couple of examples on dnrtv and some other places. I'd like to see more real stuff. Anybody knows of good examples? The list so far: http://en.wikipedia.o…


Custom WPF command pattern example

I've done some WPF programing and one thing I never got was the command pattern. Every example seems to be for built in ones, edit, cut, paste. Anyone have an example or suggestion of best practice…


sql server - How do you keep two related, but separate, systems in sync with each other?

My current development project has two aspects to it. First, there is a public website where external users can submit and update information for various purposes. This information is then saved to a…


monitoring - How to monitor a text file in realtime

For debugging purposes in a somewhat closed system, I have to output text to a file. Does anyone know of a tool that runs on windows(console based or not) that detects changes to a file and outputs th…


synchronization - Securely sync folders over a public network

I need to keep the files & folders on two Windows-based, non-domain machines synchronized across a public network. I was thinking rsync over SSH-but I was wondering if there is a simpler solution…


c# - How to abort threads created with ThreadPool.QueueUserWorkItem

is there a way to abort threads created with QueueUserWorkItem? Or maybe I don't need to? What happens if the main application exits? Are all thread created from it aborted automatically?…


How to know if a line intersects a plane in C#?-Basic 2D geometry

my school maths are very rusty and I think this is a good opportunity to take advance of this community:D I have two points(a line) and a rectangle, I would like to know how to calculate if the lin…



asp.net - What do you do when you can't use ViewState?

I have a rather complex page that dynamically builds user controls inside of a repeater. This repeater must be bound during the Init page event before ViewState is initialized or the dynamically crea…


Justification for Reflection in C#

I have wondered about the appropriateness of reflection in C# code. For example I have written a function which iterates through the properties of a given source object and creates a new instance of…




time example with java how and class use world tutorial