See, I was gonna go with Data.txt in a shared network drive.
Btw = if you're worried about conflicts - it's Ok there's a second file called "writeStatus.txt" which you have to claim by replacing the String NULL with your processId - thereby claiming write access to data.txt and causing any other processes to Thread.Sleep until it's free.
Unrelated, who's hiring...
But who has access to writeStatus.txt? Classic rookie mistake. You needed a writeStatusWriteStatus.txt.
Re:The Programming Interview from Hell
by btschaegg on Tuesday February 21, 2017 @06:35AM
(#13694828)
Sounds like playing Byzantine Generals on the file system :)
Flat files FTW, Just need to re-invent server-client architecture using freely available tools and you're at management level kudos,
Re:The Programming Interview from Hell
by TuringTest on Monday February 20, 2017 @12:16PM
(#13688957)
>> I never found out the BEST way to share data between programs. In fact, I'm still looking. I think we all are.
>Copy-paste.
You may joke, but it's the most universally supported, and therefore the most likely to be available.
Re:The Programming Interview from Hell
by TheGrassyKnoll on Monday February 20, 2017 @01:20PM
(#13689564)
For Linux users its gotta be the pipe. Works great.
Re:The Programming Interview from Hell
by StreamBright on Wednesday February 22, 2017 @03:13AM
(#13704022)
You guys... Forgot about email...
Copy-paste.