HNHacker News
TopNewBestAskShowJobs

yaxu

149 karma · joined January 14, 2008

submissionscomments
yaxu··on 'Algorave' Is the Future of Dance Music (if You're a Nerd)
Yes it was a relaxed noodley experiment. More video is on http://algorave.com/ around the artist pages
yaxu··on 'Algorave' Is the Future of Dance Music (if You're a Nerd)
Because titles aren't written by journalists, they're written by sub editors, and so tend to be totally out of step with the rest of the article.
yaxu··on 'Algorave' is the future of dance music (if you're a nerd)
Yep this stuff isn't new, we just found a new stupid name for it (algorave)
yaxu··on Show HN: YinYang, a usable live programming language
I don't see a need for pessimism there. If speech is text plus prosody, then I see adding a prosodic channel to the programming interface as augmenting/enriching programming languages, not replacing them. I also don't think speech is 'special' in terms of intelligence (e.g. Deaf people are just as intelligent), so enriching text could just as easily come in a different form of imagery (prosody being a form of mental imagery) such as drawing. And that is the area that Victor is working in.
yaxu··on Show HN: YinYang, a usable live programming language
Yes I agree with your implication that improvised performance requires preparation, and interesting to think of this as abstraction. I think of it as developing a personal 'style', which I suppose is abstract.

I do like to prepare for a performance by making a new abstraction (i.e. a new combinator) but then learn how to use it during a performance. So yes, I make new abstractions in preparation offline, but I'm still working out what that abstraction 'means' online.

I think listening to music is more akin to abstraction in machine learning, as Whitehead puts it, "Art is the imposing of a pattern on experience, and our aesthetic enjoyment is recognition of the pattern." [1]

When I'm performing I think I'm listening to my own music in this machine learning sense, recognising musical abstractions which might not be explicit in the code which generates it.

Also if it's group improvisation there's learning from each other..

[1] I use this quote out a lot, but ironically it's taken from a passage that is protesting against soundbites.

yaxu··on Show HN: YinYang, a usable live programming language
Yes his learnable programming is about improving existing programming tools, but he treats that as a diversion, his other stuff seems quite different.

His recent talk calls for a break from established norms and a return to the free thinking of the early days of computer science. His work combining geometry with syntax (which is also an interest of mine) follows on from that early work, it's as though he's treating the last few decades of software engineering as a diversion.

To me it's quite clear that Victor is calling for something more akin to augmenting and extending human thought, maybe your 'cybernetic melding'. He argues that this software will be used in ways which we cannot yet understand -- he thinks it'll be future generations who develop use and understanding for such technology, he's just chipping away at the possibilities.

But maybe your more approach is more optimistic in this regard, in that you're finding ways that could improve programmers' lives now.

I think my approach is optimistic too, in developing technology through use, taking communities of practice as a starting point, not an end goal.

yaxu··on Show HN: YinYang, a usable live programming language
I think this is an insightful distinction, and as you've said before such incremental work could lead to a major shift.

But you can't claim Victor for your cause, he is explicitly concerned with reinventing programming, and not incremental improvement.

For example he says his "Up and Down the Ladder of Abstraction" essay is his personal manifesto, and that "it's not about programming. It's about a way of thinking". http://worrydream.com/MediaForThinkingTheUnthinkable/note.ht...

He says in that same note that he was goaded into writing his "learnable programming" essay by people relating his work with live coding. It seems that for him, discussing improving programming tools was a diversion from his long term aims of uncovering a new way of thinking with computers. His disassociation from live coding seems to be a direct criticism of Khan Academy's approach but maybe he has a more general criticism of live coding... In any case, I wouldn't claim him for my cause either.

yaxu··on Show HN: YinYang, a usable live programming language
Yes and good point about abstraction - I was surprised when Mark Guzdial noted that live coders don't do abstraction, but I think that's generally true during live coded music performance. I'd like to work on making abstraction more accessible to live coders, and moving away from REPLs should help.
yaxu··on Show HN: YinYang, a usable live programming language
I think you're mixing up different kinds of feedback, then..

In a REPL, execution feedback can be continuous, not only line-by-line as you said earlier.

If we're talking about 'code feedback', in general yes you do just get feedback on the line you entered.

There's complexity here though. I think of any editor where you execute lines or blocks of code at a time as a REPL, mainly because they're often implemented by piping said blocks to a commandline..

I'd include IXI Lang in this category, and it certainly does have code feedback. You might 'execute' one line, which could set a process going which periodically changes another line of code (and therefore its associated running process).

Perhaps at this point IXI Lang stops being a REPL, and starts just being a live programming language, but I'm not sure at what point that happens. Or maybe REPL is just an outdated term, as they do tend to do a lot more than a linear read-eval-print loop.

yaxu··on Show HN: YinYang, a usable live programming language
Ok here's two quotes from you:

"Live coding is about programming while the program is actively running"

"Live programming [Hancock03] promises for much more fluid feedback between the programmer and a program that is executing while it is being edited."

These statements are connected.

Yes software engineering is a different activity from making music. But, if I want to address live coding of music in particular I just add a word or two. I'm often interested in cross-disciplinary discussion though.

We've been around this a couple of times though, and I think can probably predict each other's points by now. :)

yaxu··on Show HN: YinYang, a usable live programming language
That's not true for REPLs which allow interaction with running processes, which is probably most of them.
yaxu··on Show HN: YinYang, a usable live programming language
I think you're complaining about someone calling a live programming environment livecoding.io. I think that's nitpicking.

The feedback loops are not orthogonal, because programming a running process is rather difficult if not impossible without that programmer feedback loop. The program feedback loop exists within the process feedback loop. A change in programming feedback is highly likely to profoundly affect the wider feedback loop with the running process, and perhaps vice-versa.

In this case livecoding.io only seems to be for coding fixed media. Is the program actively running or not? In terms of UX it doesn't really matter either way, so our live coding/live programming distinction is pretty much irrelevant.

If it was possible to do animation in livecoding.io then it would be a clearer case of live coding by our definition, but obviously that wouldn't stop it from also being a live programming environment.

yaxu··on Show HN: YinYang, a usable live programming language
In practice the two feedback loops are generally complementary, and I don't see a real need to nitpick or claim ownership of general terms.
yaxu··on Algoraves: dancing to algorithms
I'm not clear on your point (the video shows music improvisation, not DJing), but "soundactic sugar" is fantastic.
yaxu··on What we've learned from a year of live coding
I think it looks quite nice. I was looking for more about what you'd actually learned, rather than a list of projects though.
yaxu··on Live Coding in CoffeeScript
Nice point about your keyboard, but I'd still contend that a series of fast keystrokes is perceived as a thrum, not necessarily a series of clicks.

If you're programming DSP, then the haptic upper limits of typing is much slower than the limits of aural perception. But I understand more about what you mean by "steady frame" now.

Yes I think you're right in our point of disagreement. In Chris Nash's terms, you're interested in liveness solely in terms of manipulation-driven feedback loop, and I'm interested in it predominantly in terms of performance-driven feedback loop, and only secondarily in manipulation-driven feedback.

The diagrams at the end of this paper might clarify: http://www.eecs.umich.edu/nime2012/Proceedings/papers/217_Fi...

(I've seen a more detailed version of this somewhere, maybe his PhD thesis)

yaxu··on Live Coding in CoffeeScript
Heh, well I'm happy to help with this situation, wikipedia might be a good place to start.

Are there good examples of live programming literature that doesn't primarily use media generation in its examples? That might be part of the problem - programming with media is an obvious use case for live programming languages, so people assume the low hanging fruit is all there is?

yaxu··on Live Coding in CoffeeScript
Great stuff!

See also "livecodelab" and "gibber": http://www.sketchpatch.net/livecodelab/index.html http://www.charlie-roberts.com/gibber/

Gibber is multi-user live coding in the browser.

There are many more live coding systems here: http://toplap.org/

yaxu··on Live Coding in CoffeeScript
Yes great, lets try to work this out - you should have an overlong email in your inbox from me as a starter :)

I think I disagree with your definition of "edit". Perhaps this comes down to "chunking" in human perception and action. When I type 100, I don't consciously instruct my fingers to type each character, what I enact and perceive is the number "100". From this perspective, it seems natural for the programmer to control what an edit is.

I've heard VI users talk about edits in terms of breathing. You hit 'w' (or whatever it is they do), type in your edit, then hit escape when you're done. They describe this as natural in terms of breathing rhythm.

Of course in a performance context there is a more concrete requirement that edits need to be timed to happen in a certain way, and everything that happens it part of the output, so you want complete control over what gets interpreted when.. The temporal relationship between programming and output is different from the debugging case which you are more interested in. Both cases are concerned with liveness, but the constraints are different.

yaxu··on Live Coding in CoffeeScript
The research field trying to tackle this is called "music information retrieval", that may help with your search.. I think they have made some headway but it involves quite a few challenges - auditory scene analysis, source separation, pitch labelling etc.
yaxu··on Live Coding in CoffeeScript
One more point from my phone on the train.. I've also been frustrated with people assuming "live" in live coding refers to a live audience. I prefer to think of it as live electricity. But it is just a really easy way to explain live coding to non programmers.. For whom seeing the results of what you are doing, while you are doing it, is the natural way of things.
yaxu··on Live Coding in CoffeeScript
Hi Sean, yes there may well be different intentions at play, the but also huge overlaps on the technical level. We are all concerned with liveness, and your debugging is my (and I think Bret Victors) exploratory programming.

I can understand your frustrations, lets talk by email about establishing a clearer distinction between performance and more general contexts, if you don't mind. But I think not on the basis that they are completely unrelated, to me it makes sense to think of live coding in social situations (including lectures, dojos,conference talks as well as a/v performances and group music making) is an application for live programming languages.

I can agree reinterpretation per key press is useful in some very particular circumstances, but not others. The difference is not in delay, but in what constitutes an edit.

yaxu··on Live Coding in CoffeeScript
Sean, I wish you'd take a closer look at live coding before saying this kind of thing, you've very much got the wrong idea about live coding. I'm just off to work but I'll send you some references later.

Live coding is absolutely everything about live feedback. This gives you access to performing in front of a live audience, but that is only part of it. It also allows new styles of collaborative programming, and exploring of ideas in composition.

Live coding is about using programming languages to manipulate running code, maintaining state (if there is any).

Check out the code in the "hacking perl in nightclubs" article that this one links to. The software it discusses takes on live updates without restarts or losing state (in fact, the code in the editor is part of the state). It also has an option to take on edits every keypress, but it's off by default, because it's impractical. Sometimes you just don't want 1 and 10 to be interpreted on the way to 100.

Live coding arose in an interdisciplinary context of music performance, pedagogy, media theory, psychology and computer science.

The thesis you link to is really excellent, but has shared roots with live coding and is referenced in the live coding literature.

yaxu··on Bret Victor: Learnable Programming
Yes we are probably talking past each other here a little, but I enjoy and respect your work on SuperGlue. Not having used Self I don't understand the distinction between it and Morphic.

There clearly is a distinction between textual and visual, but at the same time they support one another: text is made out of pictures, pictures can be described with text (e.g. svg). For me the aim of visual programming language research shouldn't be to disparage or get away from the composition of symbols, but to supplement that with mental imagery. As I see it, mental imagery and language are most valuable in combination.

I'll look into sketchpad and toontalk properly though, "truly" visual language is a fascinating area.

yaxu··on Bret Victor: Learnable Programming
I haven't actually used Self, but from reading the paper, discussion of embodiment, tangible objects, and direct manipulation makes it interesting from a visual perspective.

Personally I think all computer languages are textual by definition, and vary in the amount of extra visual support for syntax and more often secondary notation. The Reactable perhaps pushes beyond this limit by making proximity and orientation part of the syntax, but still is basically about composing textual symbols.

If we're doing that thing, I wrote a chapter on this in my thesis :) http://yaxu.org/thesis/

[ For the benefit of any others, here's a link to Sean's preprint: http://lamp.epfl.ch/~mcdirmid/mcdirmid07live.pdf ]

yaxu··on Bret Victor: Learnable Programming
Self is certainly one. http://selflanguage.org/documentation/published/programming-...

But why do you think liveness requires visual programming? I see them as pretty much orthogonal.

Separately, when I see "visual programming language" I see "unusual programming language". When language features become normal (like 2D syntax in Python/haskell), then we stop calling them visual. A great deal of visual features are just alternative ways of structuring text, ways of constraining syntax, or ways of constructing high dimensional (and therefore non-visual) graphs. To a large extent, all programming languages are visual.

yaxu··on Bret Victor: Learnable Programming
He's also being naive about live coding as a whole: http://toplap.org/?p=212
yaxu··on Bret Victor: Learnable Programming
Like the ones I mentioned.
yaxu··on Bret Victor: Learnable Programming
He could have delivered the "this is something to build on" message without the "almost worthless" value judgement.
yaxu··on Bret Victor: Learnable Programming
As Bret Victor says in his essay, live coding is not a new concept and he did not create it.

The current trend in live coding seems to have spawned from a discussion between two computer musicians (Fabrice Mogini and Julian Rohrhuber) in 2001, with masses of related prior art going back to Lisp machines, Self, Smalltalk, corewar etc.

← PreviousPage 3 of 4Next →