github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today
Set by moderator on 27 September 2013.
01:44 FROGGS_ joined 02:41 benabik joined 03:58 eternaleye joined 05:03 japhb_ joined 05:59 FROGGS[mobile] joined 06:30 japhb_ joined 06:53 japhb_ joined
diakopter JimmyZ: would you like to tackle the moarvm issue moritz added? (make a safemode compile flag that makes all IO/side-effects ops panic) 07:57
JimmyZ: actually it's really easy 07:58
moritz is it? don't dependencies need to be loaded dynamically or so? 07:59
diakopter make a version of the OP() macro named OP_SE (for OP with side-effects) and just inject a panic call in that one
yeah we can disable that too
or whitelist the 9 built-ins
of nqp initially 08:00
jnthn Can't really do it this way as normal IO is needed for loading modules, etc. 08:13
diakopter boo 08:14
jnthn It maybe wants to be per comp-unit
JimmyZ mabye HLL level? like RESTRICTED.setting
jnthn No, we should have something VM level
JimmyZ ok :-) 08:15
maybe need --include-path ?
jnthn ? 08:17
JimmyZ an secure path for loading modules 08:18
or openfiles?
moritz or maybe an instruction that switches off unsafe IO after a it is called 08:19
diakopter I ike that idea 08:20
*ike
*like
jnthn moritz: Yeah, that's closer to it perhaps. But when to call it? :) 08:21
diakopter I suppose you could have a trusted compunit that could call the "enable/disable unsafe" op
signed or something ;)
moritz jnthn: in a 'RESTRICTED' setting 08:22
diakopter: or simply don't have an "enable unsafe" op
diakopter hm, true 08:23
moritz std: say 'test'
jnthn moritz: Yeah, but then "use Foo;" won't work in such a mode. :)
diakopter but that's fine.. 08:24
why would we want use Foo to work?
moritz jnthn: for NQP level evalbot that's fine
jnthn well, people often do stuff like
r: use Test; ok ....
moritz not in nqp 08:25
jnthn Sure. :)
diakopter jnthn: surely we can preload Test in that rakudo 08:26
moritz but we shouldn't 08:27
we want evalbot usage experience to be as closely as possible to the command line 08:28
jnthn diakopter: Well, with what I suggested (per-compunit) we could bless ModuleLoader with the capability to do IO, somehow.
moritz if 'ok 1' work with camelia, it should work on the command line too
jnthn diakopter: But I shouldn't be doing security design just after waking up.
:)
diakopter AWAKEN YOUR VRAIN
jnthn shower & :) 08:29
JimmyZ btw: so moarvm will be installed as moarvm or moar? :P 08:31
diakopter Polish has too many Zs 08:32
JimmyZ didn't see any vm installs with postfix vm though ;)
jnthn diakopter: but many are forming digraphs, or whatever they're called... 08:50
cz is just č, for example... :)
.oO( that really helped... :) )
09:21 FROGGS[mobile] joined
masak diakopter: I once got the slogan "brain in a way that sticks" from a Markov-spouting spam bot. been a favorite phrase ever since. :) 12:38
13:57 jnap joined
TimToady is in favor of stealing "moar" as a four-letter word, and leaving the "vm" silent 14:28
or whatever the opposite of that is
timotimo is that going to be one of the four-letter words to be banned from public television broadcasts? 14:31
14:33 lizmat joined
TimToady we can but hope 14:34
you'll notice those words became all the more popular after that 14:35
if you *don't* steal the command "moar", someone else will, with resulting great confusion 14:37
timotimo yeah 14:38
14:49 benabik joined
JimmyZ well, git was gnu command, and now is not 14:52
s/command/tools
JimmyZ is in favor of moar too
or parrot, haha 14:53
TimToady if we grab "moar" as a command, we can initially target it to just running .moarvm files, but it could also be retargeted to other purposes later. but it really wants a short command for that: "git" is much better in that regard than "apt-get" or "aptitude" 14:57
JimmyZ it was git-core in apt-get 15:04
JimmyZ still does not like .moarvm .... 15:05
TimToady .moar would be fine 15:14
JimmyZ either .moar or .mbc 15:15
TimToady wishes the term "byte code" had not been invented 15:16
it is simultaneously too specific and too general 15:17
amazing achievement for a two word phrase
.mmc -> Moar Machine Code is closer to the truth, and easier to type :) 15:21
that fact that it's being (currently) interpreted by a virtual machine is, to my mind, completely irrelevant to its nature 15:22
nwc10 yes. Does an ARM binary become ARM bytecode when it's being run by qemu? 15:23
TimToady 'course, any 3-letter extension you pick is probably taken... 15:25
microsoft media catalog
diakopter .misc moar instruction set code 15:26
TimToady .moa and .moar appear to be less used
that's kinda silly, when "machine code" is already the name for that in the industry 15:27
(less used according to fileinfo.com) 15:28
ss/less used/not taken/
hmm, they don't list .mc either, so maybe just "moarcode" 15:29
timotimo i like .moar, to be honest 15:33
moar operations archive
TimToady moar opcode archive, but "archive" is too passive 15:40
15:41 donaldh joined
TimToady one wants a word that is bursting with potential :) 15:41
moar opcode artwork :) 15:42
timotimo oh that's sweet
moar opcode's absolutely radical
TimToady moar opcode argot :) 15:43
moar opcode arquebus 15:44
argosy, archery, arbor...hmm... 15:45
moar op art :) 16:21
16:50 colomon joined 17:36 FROGGS[mobile] joined
PerlJam Does moar have some sort of mascot yet? 18:37
18:44 foo_bar_baz joined 18:59 grondilu joined 19:17 FROGGS joined
FROGGS o/ 19:39
19:45 jnap joined 19:58 japhb_ joined
diakopter PerlJam: you're the mascot 20:04
timotimo a boar?
PerlJam impales diakopter on one of his tusks ;) 20:05
TimToady
.oO(if you're sitting at the table, and don't see the mascot, you're the mascot)
21:08 donaldh joined 21:12 ssutch joined
diakopter
.oO( also, if you're the only one at the table and you don't know it, you're the mascot )
21:24
benabik If you're the only one at the table and don't know it, you probably should be wearing a nice white coat. 21:27
diakopter yes, but you're also the mascot.
jnthn I'm +1 to making the executable moar.exe 22:18
Or just moar on non-Windows, I guess :)
diakopter me too +1 moar.exe 22:25
EVEN ON UNIX
and NOTUNIX
jnthn: ping 22:37
jnthn diakopter: pong 22:48
diakopter jnthn: wanted to point out that nqp on moarvm - --$f does something different than $f:=$f-1 22:50
haven't tried it in nqp parrot or jvm because man-or-boy doesn't seem to work there at all 22:51
$k:=$k-1 does the right thing
--$k leads to an off-by-one at the end
jnthn Probalby something silly :) 22:52
ticket it, unless you fancy fixing it :)
diakopter of course :)
fanciful thinking is my middle name
jnthn Any look on the --target=mbc bug? 22:53
diakopter I got distracted booking weekend trips to Dubai 22:54
jnthn Du bai them for a good price?
diakopter
.oO( if only I were kidding )
*was
jnthn: yeah but canceled 22:55
jnthn aww 22:57
jnthn never went to Dubai yet
diakopter $1024 22:58
tadzik PerlJam | Does moar have some sort of mascot yet? 23:00
jnthn What a binarily pleasing number...
tadzik I thought we agreed on Chimeras
jnthn tadzik: :)
kiev++ # mascot inspiration :) 23:01
diakopter our mascot should be TimToady's cat, which as far as I can tell is named "cat" 23:02
talk about cat-licensing...
jnthn Just add butterfly wings to the cat and then it's a Chimera... :) 23:03
TimToady her name is "Mary", but she's older than Perl 6, so I'm not sure that'll fly 23:04
diakopter cats eat butterflies, right? 23:08
well, kill them anyway 23:09
jnthn Mine just ineptly chased them... :)
diakopter www.catster.com/files/kitten-butterflies.jpg
grondilu looks at images for Moar and smiles 23:11
jnthn btw, my new laptop is lovely and light :)
grondilu think that Mary kind sounds like Moary
TimToady Moary sounds like a horse 23:24
probably not a pony though
diakopter Hoary sounds wrong too 23:25
TimToady Moaris would sound more like a cat :)
diakopter Moarty is ... I dunno 23:26
jnthn A killer name? :P
diakopter Moariarty on the other hand..