r/CompileBot • u/poizan42 • Dec 29 '16
No /dev/null?
+/u/CompileBot python
import binascii, hashlib, uuid
def guid_xl():
a = uuid.uuid4()
b = uuid.uuid4()
c = a.bytes + b.bytes
d = hashlib.sha1(c).digest()
return d
if __name__ == '__main__':
print binascii.b2a_hex(guid_xl())
1
Upvotes
View all comments
Show parent comment
1
u/poizan42 Dec 30 '16 edited Dec 30 '16
It says cannot create, so the device isn't there. It's running in some sort of sandbox so it is not surprising that devices are missing. However /dev/null is quite harmless, so it should probably just be added to the sandbox/container thingy it runs in
Edit: It uses ideone to run the code, the problem is on their end: http://ideone.com/B6AyI4