Click here to Skip to main content
15,885,216 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: An idea I just had to get out there before it dies Pin
Daniel Pfeffer27-Jul-20 7:04
professionalDaniel Pfeffer27-Jul-20 7:04 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch27-Jul-20 7:07
mvahoney the codewitch27-Jul-20 7:07 
GeneralRe: An idea I just had to get out there before it dies Pin
Peltier Cooler28-Jul-20 4:15
professionalPeltier Cooler28-Jul-20 4:15 
GeneralRe: An idea I just had to get out there before it dies Pin
Greg Utas27-Jul-20 7:11
professionalGreg Utas27-Jul-20 7:11 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch27-Jul-20 7:26
mvahoney the codewitch27-Jul-20 7:26 
GeneralRe: An idea I just had to get out there before it dies Pin
Greg Utas27-Jul-20 7:35
professionalGreg Utas27-Jul-20 7:35 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch27-Jul-20 7:38
mvahoney the codewitch27-Jul-20 7:38 
GeneralRe: An idea I just had to get out there before it dies Pin
Marc Clifton27-Jul-20 7:18
mvaMarc Clifton27-Jul-20 7:18 
honey the codewitch wrote:
but what if you could send *code* in the stream, even across process or network?


I did a test case of that using Docker and Python, including the ability to do some basic UI layout, etc. I really liked the idea and it worked well - spin up a Docker instance, run the code, and after a period of inactivity or when the user logs out, kill the Docker instance. Given that one is working in essentially a VM, the only thing one has access to is one's own Linux instance, so I wasn't too concerned with security, haha. For example, you could, in Python, list the contents of the OS folders, etc., but I didn't really care.

The impetus for this are those sites that let you run C# code snippets, and I was curious how they might do such a thing, especially given the security issues.

GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch27-Jul-20 7:23
mvahoney the codewitch27-Jul-20 7:23 
QuestionRe: An idea I just had to get out there before it dies Pin
Eddy Vluggen27-Jul-20 7:47
professionalEddy Vluggen27-Jul-20 7:47 
AnswerRe: An idea I just had to get out there before it dies Pin
honey the codewitch27-Jul-20 7:51
mvahoney the codewitch27-Jul-20 7:51 
GeneralRe: An idea I just had to get out there before it dies Pin
Member 1330167927-Jul-20 21:26
Member 1330167927-Jul-20 21:26 
GeneralRe: An idea I just had to get out there before it dies Pin
NelsonGoncalves27-Jul-20 21:30
NelsonGoncalves27-Jul-20 21:30 
GeneralRe: An idea I just had to get out there before it dies Pin
AReady28-Jul-20 1:12
AReady28-Jul-20 1:12 
GeneralRe: An idea I just had to get out there before it dies Pin
DerekT-P28-Jul-20 1:48
professionalDerekT-P28-Jul-20 1:48 
GeneralRe: An idea I just had to get out there before it dies Pin
DidiKunz28-Jul-20 3:10
DidiKunz28-Jul-20 3:10 
GeneralRe: An idea I just had to get out there before it dies Pin
patbob28-Jul-20 5:33
patbob28-Jul-20 5:33 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch28-Jul-20 5:44
mvahoney the codewitch28-Jul-20 5:44 
GeneralRe: An idea I just had to get out there before it dies Pin
patbob28-Jul-20 5:53
patbob28-Jul-20 5:53 
GeneralRe: An idea I just had to get out there before it dies Pin
honey the codewitch28-Jul-20 6:41
mvahoney the codewitch28-Jul-20 6:41 
GeneralRe: An idea I just had to get out there before it dies Pin
Dan Sutton28-Jul-20 5:45
Dan Sutton28-Jul-20 5:45 
GeneralRe: An idea I just had to get out there before it dies Pin
Sr_Dogmeat29-Jul-20 10:17
professionalSr_Dogmeat29-Jul-20 10:17 
GeneralRe: An idea I just had to get out there before it dies Pin
Mark Starr29-Jul-20 12:49
professionalMark Starr29-Jul-20 12:49 
GeneralThought of the Day Pin
OriginalGriff27-Jul-20 4:48
mveOriginalGriff27-Jul-20 4:48 
GeneralRe: Thought of the Day Pin
W Balboos, GHB27-Jul-20 5:06
W Balboos, GHB27-Jul-20 5:06 

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.