Myself – v1.0.3
61–70 of 79 posts
Re: Myself – v1.0.3
#62This is outrageously cool. Really nicely executed. That said, it does rather illustrate just how nasty the syntax is for creating animations with CSS.
I was just thinking that. I don't do much with CSS directly (I know enough to be dangerous) but I kept thinking "Ok, now it will start beating" and then 2-3 more lines of practically gibberish and rinse and repeat until the end when it started beating. WAY too much CSS to do something like that. I'm not sure what the fix is though? A JS library to generate the CSS animation with a saner syntax (I realise CSS probably…
The most logical solution would be the way we extend CSS syntax today - preprocessors like LESS and SASS. You don't need to render the valid CSS clientside, you can just compile it into CSS before you deploy it.
Re: Myself – v1.0.3
#63Re: Myself – v1.0.3
#64Earlier quoted context omitted.
The best and earliest example I saw of this was Bret Victor's talk "Inventing on Principle" https://vimeo.com/36579366
I gave a talk at OOPSLA in Montreal in 2007, made a pacman game during my 30 minute talk slot using a live programming language/environment. I'm sure I wasn't even the first, as I got many of my ideas from Chris Hancock's PhD thesis published in 2003, "Real time programming and big ideas in computational literacy", and of course the multitudes of less but still interactive Lisp and smaltalk environments, and fully in…
Re: Myself – v1.0.3
#65Re: Myself – v1.0.3
#66I feel like someone could build a game with this. Where you see the code being writen as you make your choises. That would be super cool. Anyway, that's an amazing job you did OP.
There is a game called Odesk. You need some money to create new match and then just describe starting level in natural language. As game progresses, you will face choices, but only once per day at most. It's pay to win though.
Re: Myself – v1.0.3
#67Earlier quoted context omitted.
I gave a talk at OOPSLA in Montreal in 2007, made a pacman game during my 30 minute talk slot using a live programming language/environment. I'm sure I wasn't even the first, as I got many of my ideas from Chris Hancock's PhD thesis published in 2003, "Real time programming and big ideas in computational literacy", and of course the multitudes of less but still interactive Lisp and smaltalk environments, and fully in…
Is there a video of the talk?
http://research.microsoft.com/en-us/people/smcdirm/liveprogr...
Re: Myself – v1.0.3
#68Re: Myself – v1.0.3
#69This is called interactive development; if you liked this, check these out: * Interactive programming Flappy Bird in ClojureScript: https://www.youtube.com/watch?v=KZjFVdU8VLI * Live-editing React app without refresh: https://vimeo.com/100010922 These demos aren't smoke and mirrors, I and many others do interactive development, 8 hours a day, writing regular web apps.
Are there any good approaches for doing this without a specific framework?
Re: Myself – v1.0.3
#70This makes me think of a new requirement for a hypothetical programming language: this requirement is that the programming language supports a coding style where additions to the code (new functionality, or bugfixes) are appended at the end of the code text, rather than inserted inside the existing code. I wonder if a language like this would be feasible and practical.
Maybe literate programming ( http://en.wikipedia.org/wiki/Literate_programming ) goes some way towards that? Or at least could be extended to do that?
They would write text, then a code block:
func main() {
}
followed by another block of text, and then an expansion of the code =
var foo int
var bar int64
And so on. +=
var zed rune
Which, when run through the "tangler", would produce: func main () {
var foo int
var bar int64
var zed rune
}
The first really interesting implementation I've seen of literate programming, and it makes me want to implement it myself.