IRC Logs for #io Thursday, 2015-01-29

*** ijon_ has quit IRC00:02
*** springbok has joined #io02:25
*** stevedekorte has joined #io03:24
*** gatesphere has quit IRC04:13
*** stevedekorte has quit IRC04:36
*** AKASkip has joined #io04:58
*** ElMonkey_ has quit IRC05:09
*** ElMonkey_ has joined #io05:09
*** stevedekorte has joined #io05:32
*** AKASkip has quit IRC06:53
*** bjz has joined #io07:13
*** bjz has quit IRC07:15
*** pchalupa has joined #io07:16
*** AKASkip has joined #io07:30
*** bjz has joined #io08:05
*** bjz has quit IRC08:19
*** pchalupa has quit IRC08:47
*** pitr-ch has joined #io08:48
*** stevedekorte has quit IRC09:11
*** ijon_ has joined #io09:18
*** ijon_1 has joined #io09:29
*** ijon_ has quit IRC09:32
*** braindancer22 has quit IRC09:44
*** braindancer2 has joined #io09:53
*** ijon_1 has quit IRC10:02
*** ijon_ has joined #io10:03
*** bjz has joined #io10:18
*** bjz has quit IRC10:29
*** bjz has joined #io10:50
*** stevedekorte has joined #io10:50
*** stevedekorte has quit IRC10:50
*** pitr-ch has quit IRC11:05
*** bjz has quit IRC11:59
*** bjz has joined #io12:05
*** AKASkip has quit IRC12:13
*** ijon_ has quit IRC12:15
*** ijon_ has joined #io12:16
*** ijon_ has quit IRC13:08
*** whaletechno has quit IRC13:08
*** pitr-ch has joined #io13:21
*** ijon_ has joined #io15:24
*** whaletechno has joined #io17:06
*** TheMonkey has joined #io17:46
*** ElMonkey_ has quit IRC17:50
*** pitr-ch has quit IRC18:07
*** bb010g has quit IRC18:08
*** ijon_ has quit IRC18:56
*** braindancer2 has quit IRC19:14
*** braindancer2 has joined #io20:13
*** bjz has quit IRC20:34
*** bjz has joined #io20:54
*** bjz has quit IRC21:04
*** miasma has joined #io21:15
miasmahi there, io's still alive?21:15
*** bjz has joined #io21:29
miasmathis has probably been asked million times, but i was curious about sandboxing some Io program21:29
miasmaso I guess a simple way to do that would be to hide the references to the core objects that you want to protect21:30
miasmaor use the removeSlots method21:30
miasmabut then again, I totally forgot how the imports work in Io. the documents didn't explain it to me. e.g. if I hide Core, how can I still access Date21:31
*** bjz has quit IRC21:44
jeralright, so io's inheritance model pretty much doesn't allow you (or rather makes it hard to) hide certain things22:20
jermethods aren't copied to subclasses, nor is there any special machinery in the lookup logic to make inheritance works22:20
jerit simply walks the list22:20
jerdepth first22:20
jerif you have an object and you say removeSlot("removeSlot") you'll still be able to call removeSlot22:21
jersince your object still inherits from the object which defines it22:21
jernow you could hack a primitive into the runtime on Object that says "ignoreSlot" which will cause the lookup mechanism to fail if the slot being looked up is in that list22:21
jerbut it doesn't currently exist22:22
*** gatesphere has joined #io22:28
*** TheMonkey has quit IRC23:22
*** TheMonkey has joined #io23:22
miasmajer: how about hiding stuff like IO objects?23:28
miasmaat the beginning when the VM is up, modify the builtin objects so that all of them lose references to IO stuff23:29
miasmai guess eventually no object refers to IO anymore so it cannot be called23:29
miasmajer: what about the imports? how do they work? i kind of assumed if you e.g. reassign something to Core, the "contents" also disappear23:30
miasmai mean e.g. Data wouldn't be available23:31
miasmain some Java style languages you would do import std.lang.Core;23:31
miasmathen import Core.Date;23:31
miasmai tried to manipulate various methods in the Lobby and Object, but a reference to Date still succeeded23:32
*** braindancer22 has joined #io23:40
*** braindancer2 has quit IRC23:44
miasmaah nevermind23:50
miasmaso there's some circular thing going on23:50
miasmaObject -> Lobby -> Protos -> Core -> Object23:51
miasmaso yea, basically masking stuff from Core hides it23:53

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!