Click here to Skip to main content
15,915,093 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: A Sad day in my personal Computing History Pin
Jörgen Andersson3-Jun-15 0:54
professionalJörgen Andersson3-Jun-15 0:54 
GeneralRe: A Sad day in my personal Computing History Pin
Simon_Whale3-Jun-15 1:11
Simon_Whale3-Jun-15 1:11 
GeneralRe: A Sad day in my personal Computing History Pin
Jörgen Andersson3-Jun-15 1:22
professionalJörgen Andersson3-Jun-15 1:22 
GeneralRe: A Sad day in my personal Computing History Pin
_Maxxx_3-Jun-15 0:56
professional_Maxxx_3-Jun-15 0:56 
GeneralRe: A Sad day in my personal Computing History Pin
Slacker0073-Jun-15 1:01
professionalSlacker0073-Jun-15 1:01 
GeneralRe: A Sad day in my personal Computing History Pin
Nagy Vilmos3-Jun-15 1:40
professionalNagy Vilmos3-Jun-15 1:40 
GeneralRe: A Sad day in my personal Computing History Pin
S Houghtelin3-Jun-15 1:36
professionalS Houghtelin3-Jun-15 1:36 
GeneralRe: A Sad day in my personal Computing History Pin
newton.saber3-Jun-15 1:42
newton.saber3-Jun-15 1:42 
Keith Barrow wrote:
the file-watcher in the OS is sub-par

Okay, as soon as I attempt to discuss this, someone is going to call me a Windows FanBoi or something, but I would like to explain.

Are you talking about the FileSystemWatcher (FSW)?
If you are I originally thought there were issues too.

However, what I learned is that I didn't understand what the File System itself does.
I wrote a program that allows you to watch all file events (Changed, Created, Deleted, Renamed ) on any particular drive and then exclude any paths you want as it runs.

Anyways, while writing that program I learned that what people think is "wrong" is

When a file is copied to a directory, the OS/file system gives it a temp name so whenever you copy a file to a directory you actually get more events than you expect.

You get something like:*
1. file created (with temp file name)
2. file renamed (to the target name you know the file as)
3. file created (then another file created as the file name you know it as)
* - It's been a while so I forget the exact file system events.

My point here is that every dev I know says that the FSW is broken and records multiple entries for one file, but that is because they don't understand the File System / OS and what it does.

Again, not trying to defend FSW or OS or whatever, but thought this might be interesting.
GeneralRe: A Sad day in my personal Computing History Pin
Keith Barrow3-Jun-15 2:12
professionalKeith Barrow3-Jun-15 2:12 
GeneralRe: A Sad day in my personal Computing History Pin
newton.saber3-Jun-15 2:22
newton.saber3-Jun-15 2:22 
GeneralRe: A Sad day in my personal Computing History Pin
BillWoodruff3-Jun-15 1:43
professionalBillWoodruff3-Jun-15 1:43 
GeneralRe: A Sad day in my personal Computing History Pin
Keith Barrow3-Jun-15 2:09
professionalKeith Barrow3-Jun-15 2:09 
GeneralRe: A Sad day in my personal Computing History Pin
Pete O'Hanlon3-Jun-15 2:01
mvePete O'Hanlon3-Jun-15 2:01 
GeneralRe: A Sad day in my personal Computing History Pin
S Houghtelin3-Jun-15 2:11
professionalS Houghtelin3-Jun-15 2:11 
GeneralRe: A Sad day in my personal Computing History Pin
Pete O'Hanlon3-Jun-15 3:22
mvePete O'Hanlon3-Jun-15 3:22 
GeneralRe: A Sad day in my personal Computing History Pin
User 84203-Jun-15 2:18
User 84203-Jun-15 2:18 
JokeRe: A Sad day in my personal Computing History Pin
S Houghtelin3-Jun-15 2:21
professionalS Houghtelin3-Jun-15 2:21 
GeneralRe: A Sad day in my personal Computing History PinPopular
User 84203-Jun-15 2:32
User 84203-Jun-15 2:32 
GeneralRe: A Sad day in my personal Computing History Pin
S Houghtelin3-Jun-15 2:35
professionalS Houghtelin3-Jun-15 2:35 
GeneralRe: A Sad day in my personal Computing History Pin
User 84203-Jun-15 2:40
User 84203-Jun-15 2:40 
GeneralRe: A Sad day in my personal Computing History Pin
Chris Quinn3-Jun-15 2:44
Chris Quinn3-Jun-15 2:44 
GeneralRe: A Sad day in my personal Computing History Pin
clientSurfer3-Jun-15 15:48
professionalclientSurfer3-Jun-15 15:48 
GeneralWSO CCC June 03 Pin
Motor Viper2-Jun-15 23:10
professionalMotor Viper2-Jun-15 23:10 
GeneralRe: WSO CCC June 03 Pin
OriginalGriff2-Jun-15 23:13
mveOriginalGriff2-Jun-15 23:13 
GeneralRe: WSO CCC June 03 Pin
Pirate Guy2-Jun-15 23:16
Pirate Guy2-Jun-15 23:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.