149 karma · joined Nov 6, 2009 (17y ago) · 117 submissions
eric.bergstrome@gmail.com
comment 11y ago · link · parent
Edit: Here's a more direct page[2] if you just want the video.
[1] http://blogs.scientificamerican.com/guest-blog/voevodskye280...
[2] http://www.heidelberg-laureate-forum.org/blog/video/lecture-...
comment 11y ago · link · parent
In particular, it reflects the fact that I don't think readers of my work should be obliged to follow any rules I might set (license) when they turn to the creation of derived works. They should go and do as they like and, where appropriate, acknowledge prior art (as a matter of professionalism).
I also feel that the problem of associating each "expression" with it's legal creator is a nasty problem fraught with difficulties; certainly, in this regard, you can say that I choose public domain because of its simplicity.
By the way, djb has argued in defence of the public domain here:
http://cr.yp.to/publicdomain.html
Anyway, I'm interested to read other developers views on this topic but I'm no authority and don't want to give the impression that I think it's unreasonable to choose differently. And anyway, most do! GPL, BSD and the rest seem much more popular than public domain.
comment 11y ago · link · parent
One related resource that I can recommend is Digital Geometry Processing with Discrete Exterior Calculus:
http://www.cs.columbia.edu/~keenan/Projects/DGPDEC/
It's an introductory course in discrete differential geometry and it emphasizes the use of simplicial complexes (like tetrahedral meshes).
comment 12y ago · link · parent
// induction : ((t (Fix t), Fix t -> r) -> t r, t r -> r) -> Fix t -> r
function induction(map, f) {
// g : Fix t -> r
function g(x) {
return f(map(x.unfold(), g));
};
return g;
};
// coinduction : ((t s, s -> Fix t) -> t (Fix t), s -> t s) -> s -> Fix t
function coinduction(map, f) {
// g : s -> Fix t
function g(s) {
return {
unfold: function() {
return map(f(s), g);
}
};
};
return g;
};
// fold : t (Fix t) -> Fix t
function fold(w) {
return {
unfold: function() { return w; }
};
};comment 13y ago · link · parent
http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf
Easy to read, concise, and good for beginners.
comment 13y ago · link · parent
Ur-Scheme: http://canonical.org/~kragen/sw/urscheme/
An Incremental Approach to Compiler Construction: http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf
PicoLisp: http://picolisp.com/5000/!wiki?home
Lambda-the-Ultimate papers: http://library.readscheme.org/page1.html
SICP: http://mitpress.mit.edu/sicp/full-text/book/book.html
LiSP: http://www.amazon.com/Lisp-Small-Pieces-Christian-Queinnec/d...
Maru: http://piumarta.com/software/maru/
Edit: You might also enjoy Jonesforth (see jonesforth.S): http://git.annexia.org/?p=jonesforth.git;a=tree
comment 13y ago · link · parent
The licensing situation is really unclear. The Kickstarter page says, "In order to download packaged distributions, you'll need a license". But I expect that, if it's open source, I can get a packaged distribution by saying (I'm using Arch Linux):
# pacman -S lighttablecomment 13y ago · link · parent
When it comes to understanding memory in C, another important aspect is understanding how linkers and loaders work. Also, it's good to know something about calling conventions.
comment 13y ago · link · parent
cmd1 | tee input2 | cmd2 | tee input3 | cmd3
> - They are limited to text for visualization of output. Most of the time this is good, but what if you want to see a plot of 2D points?
GNU Plot
> - They're typically executed when you press Enter. Sometimes you might want to say "always execute this whenever source file changes."
I don't know how to solve that off the top of my head, but I'm sure you could do it with a small tool.
Although I'm challenging some of your statements here, I do really admire your work on this. Also, I'd like to know what you mean by "make unnecessary duplication optional".
comment 13y ago · link · parent
Based on the package naming, dependency management, and concurrency, it might even be argued that a Go user space is a bigger fundamental change than a Smalltalk or Lisp user space.
Btw, one probably wouldn't write a kernel in Go so I take the parent to be speculating about a system where new OS features were provided by integrating them first into a Go standard library rather than by integrating them into the C standard libraries.
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
My favorite system that supports hot-swapping is Linux.
It works with every language, there is an excellent scheduler, processes are protected from each other, there are all kinds of interprocess communication techniques available, you can choose between files and databases for persistence.
I think the lame workflows people have while working within a conventional OS are a failure of imagination and a lack of understanding about how operating systems work. In particular, I suspect that a lot of people overestimate the cost of exec and IPC. Or, for example, do you really appreciate the fact that the operating system keeps file system data in RAM even if you exit the program and start up another one accessing the same file a microsecond later? Image-based persistence is not necessary for responsiveness.
Use exec(), use a database, create the editors that make you productive. I've used Lisp and Smalltalk and I've created a miniature VM/OS running in the browser with processes and persistence and all that. These days I'm more excited about old fashioned Unix techniques.
comment 13y ago · link · parent
Edit 3: Notice that I forgot to close the "frames" channel. So if this were a long-running program, that goroutine running frameReceiver would be a leaked resource.
comment 13y ago · link · parent
And you're on the right track regarding how channels work. They can be synchronous if you like. Effectively, such channels have no buffering. Also, you don't need to use OS threading at all to solve such problems in Go. It's possible to run code with lots of cooperating goroutines in a single OS thread.
Edit: By the way, I'm not familiar with Python so I'm just guessing at how the send method and the yield form work.
comment 13y ago · link · parent
For an simple example--written in many languages including Python and Go--with two stateful coroutines, you can check this out: http://rosettacode.org/wiki/Synchronous_concurrency
comment 13y ago · link · parent
(1) Pike's is more static: there is no Machine struct and states are identified with handlers so that there is no table lookup in the loop.
(2) Pike chose to go with a modifiable lexer struct rather than threading a cargo value through the machine.
(3) Pike used nil for all end states.
The main design questions are probably:
(a) Do you need to construct machines at runtime?
(b) Do you need state names available at runtime?
comment 13y ago · link · parent
comment 13y ago · link · parent
And programmers in the New Jersey school (see Worse is Better) are unlikely to ever stomach Clojure.
These differences are more in the realm of deep allegiances and HN comments will probably be limited to revealing allegiances--they have little chance to sway the reader one way or the other.
Might as well say, "MIT type with love for the JVM? Choose Clojure. New Jersey type with love for native code? Choose Go".