News for hackers. Stuff that matters.
Re:The Programming Interview from Hell by zhte415 on Monday February 20, 2017 @10:33AM (#13688071)
> 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.

Re:The Programming Interview from Hell by Ntrails on Monday February 20, 2017 @10:37AM (#13688106)
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...

Re:The Programming Interview from Hell by willis77 on Monday February 20, 2017 @10:50AM (#13688214)
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 :)
Re:The Programming Interview from Hell by zhte415 on Monday February 20, 2017 @10:52AM (#13688236)
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...