Skip to content

Commit

Permalink
Removes trailing whitespaces, replaces tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukpueh committed Mar 16, 2017
1 parent b954467 commit 95bf161
Show file tree
Hide file tree
Showing 7 changed files with 411 additions and 411 deletions.
16 changes: 8 additions & 8 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,32 +29,32 @@ Known Issues
- Thread Exceptions:
A thread exception in one thread does not exit the entire evaluation in a Virutal Namespace. So far exceptions in a thread are caught and logged but the execution of other healthy threads continues.
- TCP/UDP listeners are not isolated
A listener registered on one IP:PORT will override another listener previously registered on this IP:PORT
############
A listener registered on one IP:PORT will override another listener previously registered on this IP:PORT

############
Links

https://seattle.cs.washington.edu/wiki
https://seattle.cs.washington.edu/wiki/ProgrammersPage
https://seattle.cs.washington.edu/wiki/RepyApi

############
############
Description

- Editor
The editor is always displayed on the left side. You can write Repy code to it and evaluate it on the server. To submit the code press cmd + return (mac), ctrl + return (win), or the submit button beneath the editor window. Until the code has been evaluated, codesubmission is locked.

- Callargs
You can append space separated callarguments in the input line beneath the editor window, when submitting code.

- Standard Output
This displays the output of the program. It gives "real time" feedback.

- Session Log
This retrieves and displays the entire log for every submitted and evaluated code of a session

- Insert Files
Insert files to the editor window, whether at cursor position or at the top of the editor window.
Insert files to the editor window, whether at cursor position or at the top of the editor window.

- Special Characters
Insert special characters at cursor position.
Expand All @@ -67,7 +67,7 @@ Options to customize the editor window.

- Read Me
this.

Todo

- Network Ressource scheduling
Expand Down
48 changes: 24 additions & 24 deletions restrictions.tryrepy
Original file line number Diff line number Diff line change
Expand Up @@ -27,38 +27,38 @@ resource connport 63134

call gethostbyname_ex allow
call sendmess allow
call stopcomm allow # it doesn't make sense to restrict
call stopcomm allow # it doesn't make sense to restrict
call recvmess allow
call openconn allow
call waitforconn allow
call socket.close allow # let's not restrict
call socket.send allow # let's not restrict
call socket.recv allow # let's not restrict
call socket.close allow # let's not restrict
call socket.send allow # let's not restrict
call socket.recv allow # let's not restrict
# open and file.__init__ both have built in restrictions...
call open allow # can write to junk_test.out
call open allow # can write to junk_test.out
call file.__init__ allow # can write to junk_test.out
call file.close allow # shouldn't restrict
call file.flush allow # they are free to use
call file.next allow # free to use as well...
call file.read allow # allow read
call file.readline allow # shouldn't restrict
call file.readlines allow # shouldn't restrict
call file.seek allow # seek doesn't restrict
call file.write allow # shouldn't restrict (open restricts)
call file.writelines allow # shouldn't restrict (open restricts)
call sleep allow # harmless
call settimer allow # we can't really do anything smart
call canceltimer allow # should be okay
call exitall allow # should be harmless
call file.close allow # shouldn't restrict
call file.flush allow # they are free to use
call file.next allow # free to use as well...
call file.read allow # allow read
call file.readline allow # shouldn't restrict
call file.readlines allow # shouldn't restrict
call file.seek allow # seek doesn't restrict
call file.write allow # shouldn't restrict (open restricts)
call file.writelines allow # shouldn't restrict (open restricts)
call sleep allow # harmless
call settimer allow # we can't really do anything smart
call canceltimer allow # should be okay
call exitall allow # should be harmless

call log.write allow
call log.writelines allow
call getmyip allow # They can get the external IP address
call listdir allow # They can list the files they created
call removefile allow # They can remove the files they create
call randomfloat allow # can get random numbers
call getruntime allow # can get the elapsed time
call getlock allow # can get a mutex
call getmyip allow # They can get the external IP address
call listdir allow # They can list the files they created
call removefile allow # They can remove the files they create
call randomfloat allow # can get random numbers
call getruntime allow # can get the elapsed time
call getlock allow # can get a mutex
call get_thread_name allow # Allow getting the thread name
call VirtualNamespace allow # Allow using VirtualNamespace's

Loading

0 comments on commit 95bf161

Please sign in to comment.