Samuel Mimram

Results 67 comments of Samuel Mimram

Yes, nobody know about it / use it. Although, be careful, it's still in use in some scripts...

Note that `output.file` allows specifying the filename depending on current metadata, which is going to be difficult to reimplement with getters.

Minimized version (which does not require standard library): ``` s = sine() j = sine() def once((s:source)) sine() end def f(a) ignore([a, once(j)]) end def cross((f : (source) -> unit),...

Thanks for the further analysis. From the log you are using inotify, which watches for a file, even if it changes its name. This means that if you replace it...

Found my way with ``` s = json.stringify(x) ``` as third line.

Hum, "interesting"... A slightly minified version: ``` a = sine() b = a.{xxx = 5} output.file(%vorbis, "/tmp/a.ogg", a, fallible = true) c = [b, a] ``` The strange thing is...

Narrowing down: this works with ``` def f(s) ignore((s:source)) end def g(s) ignore((s:source(audio=pcm(stereo)))) end a = sine() b = a.{xxx = 5} f(a) c = [b, a] ``` but not...

More narrowing: ``` a = (sine():source) b = a.{xxx = 5} _ = (a : source(audio=pcm(stereo))) _ = [b, a] ``` It works if I remove the penultimate line.

New finding: - it works if I print the type I we cast to in the penultimate line (yes, heisenbug, printing makes the bug disappear) - it does not work...