406 karma · joined Aug 3, 2009 (17y ago) · 84 submissions
comment 15y ago · link · parent
Scheme isn't perfect, of course, and I'd love to see a modern Scheme-like Lisp with a canonical implementation and borrowing freely from Haskell, Erlang, and friends while preserving its minimalist ethos (somehow neither Racket nor Clojure is this).
Of course, the readiness is all ... while there's a beauty in simplicity, can a novice without any higher mathematics really appreciate the style of programming one does in Scheme?
comment 15y ago · link · parent
> What is important are the big ideas.
Go back and read section 1.2 ("Procedures and the processes they generate") again. As far as its authors are concerned, this is one of the big ideas. Basic concepts of time and space complexity and recursive vs. iterative processes are so important that they appear as soon as the basics of Scheme have been introduced. It's a core theme of the book (Why is this n-queens program slow? How can we eliminate two extra stack saves in this register machine program?), and the main questions in chapter 5 that the evaluators in chapter 4 don't answer fully (but look closely at the CPS evaluator in section 4.3) are "how do procedures return values to their callers?" and the related "how can we write an evaluator that doesn't grow the stack when executing tail-recursive procedures?"
Ultimately, the beauty of SICP isn't in the paradigms covered but the understanding of how programs execute, and the beauty of Scheme is the simpleness of its control flow . It's far easier to a understand Scheme program than one written in Python, Haskell, Prolog, or any other high-level language. Do most people understand (modulo sophisticated optimizations) how the Python interpreter actually handles, say, comprehensions, iterators, generators, or its complex object-oriented features? Can a first-year student add these features by hand (forgetting completely about macros and first-class continuations) to an interpreter herself?
It amazes me that Berkeley professors don't want to teach Scheme (and worries me, as they're much cleverer than me). The whole magic of the language is that in the end there isn't any magic at all.
comment 15y ago · link · parent
It's the non-open license (forks seem not to be allowed) which is a bit more disappointing. I guess it's a reaction to historic Lisp fragmentation but I doubt this will help adoption.
comment 15y ago · link · parent
Might be worth it for a mod to kill them off...
edit: the '-----' appears in place of the 'reply' link when the post can't be replied to (in this case because the submission is dead?).
comment 15y ago · link · parent
The Khan video fails to clearly distinguish definitions and derived results, so his formulae are effectively God-given from a student's perspective.
However, the writer's attack on this video is wrong as well. Presenting slope from the "rate of change" definition before _defining_ the slope of a straight line is nonsensical. Questions of axis rescaling are important but inessential to the basic definition. Trying to discuss these points in order to connect to the "real world" (the theme of the site?) before the basic definition is given can only confuse and give a false sense of understanding.
This isn't to advocate a purely formal exposition, either: there are various points of view (Euclidean, Cartesian ...) and reconciling them is probably above the level of this lecture, but one should not define a straight line as "a graph of a function with constant derivative".
Ultimately this seems like a rather forced argument presumably designed to distinguish the poster's "real-world-focused" materials.
</pedantic>
comment 15y ago · link · parent
At the risk of stating the obvious, I'd strongly recommend against putting school projects in a public repo. You might disagree with the ethics of it, but if someone submits your code to your own school, you could conceivably be held responsible for facilitating plagiarism.
37.
Mini flash crashes worry traders(usatoday.com ↗)
2 points · by Fixnum · 15y ago · discuss
comment 15y ago · link · parent
1) I'd separate "Languages" and "Computer skills" 2) A couple of English spelling/punctuation errors 3) Write something concrete like "started with Slackware in 200x" instead of "interested in computers for as long as I can remember" -- cliche, overused phrase.
Hope this helps.
comment 15y ago · link · parent
The peer-review system basically establishes (a) the reviewers believe the result is non-trivial and (b) the reviewers believe the result is correct.
However, I'd say that the very existence of documents such as third-party tutorials/introductions/discussions, etc., can be adduced as evidence of notability. Think of determining notability more as "sociology" than some academic judgement about the intrinsic worth or originality of the topic.
For instance, "article citations as notability" is patently absurd in the case of, say, celebrity or TV show articles (the existence of both of which seems accepted on Wikipedia) or even news topics, and only somewhat less so in the case of PLs, especially those developed outside of academia. (It's arguably a bad criteria anywhere where results aren't very expensive to reproduce, such as population surveys and lab results -- surely many important results in math and physics living only on the arXiv are more notable than some minor topic which generates higher citation counts through constant re-citing by the same group of devotees).
In contrast, the three languages mentioned on the front page were all ones I'd previously heard of.
I see there is a paragraph in the Wikipedia guidelines for notability regarding refereed paper citations, but in line with my above comments I'd suggest that this not be read too literally. Perhaps it's personal preference, but I find such "long tail" articles useful, even if that means WP contains millions of articles on topics I personally find irrelevant.
Perhaps the reason you've incited such anger is that people feel you're imposing what can be seen as elitist and subjective views about how notability is defined (certainly it's not true that everyone's pet/undergrad PL project should have a page, but the three languages mentioned certainly have received wide attention). From this perspective, the question here is not about any particular property of these PLs but what the WP criteria are or should be, so it would certainly be best to err on the side of non-deletion in all cases.
I hope you reconsider your views on this topic (disclaimer: I am not associated with any of the projects mentioned).
comment 16y ago · link · parent
The Smalltalk library linked from that page: http://stephane.ducasse.free.fr/FreeBooks.html
O'Reilly open books: http://oreilly.com/openbook/
Some FP books (Ocaml, Scala, Haskell,...): http://news.ycombinator.com/item?id=1088594
Scheme:
"An introduction to Scheme and its implementation." ftp://ftp.cs.utexas.edu/pub/garbage/cs345/schintro-v14/schintro_toc.html
"The Scheme Programming Language, 4th edition." (Dyvbig) http://www.scheme.com/tspl4/
"Concrete Abstractions." http://gustavus.edu/+max/concrete-abstractions.html
Lisp:
"Common Lisp the language, 2nd edition." http://www.cs.cmu.edu/Groups/AI/html/cltl/cltl2.html
"Successful Lisp." http://www.psg.com/~dlamkins/sl/
"Common Lisp: an interactive approach". http://www.cse.buffalo.edu/~shapiro/Commonlisp/
Ocaml:
http://www.seas.upenn.edu/~cis500/cis500-f02/resources/ocaml... (draft)
Scala
"The Lift Book." http://groups.google.com/group/the-lift-book/?pli=1
Linux:
http://www.linuxlinks.com/article/20090405061458383/20oftheB... and http://www.linuxlinks.com/article/20100402190204972/12Moreof...
Programming Languages
"Programming Languages: Application and Interpretation". http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/200...
Other
"Communicating sequential processes." (Hoare) http://www.usingcsp.com/
"Foundations of Computer Science". (Aho and Ullman) http://infolab.stanford.edu/~ullman/focs.html
comment 16y ago · link · parent
Are you using Scheme or Common Lisp? For MIT Scheme or similar, you might want to take the Emacs tutorial in Edwin instead (start MIT Scheme with the "-edit" flag) since it contains Scheme-specific commands. Also check out http://www.gnu.org/software/mit-scheme/ and follow the directions to install xscheme.elc - it gives you a Scheme-mode optimized for MIT Scheme. This doesn't compare to SLIME mode for Common Lisp, but I don't know of a good substitute.
That said, there are QUITE a lot of Emacs and Scheme-mode commands, and the only way to learn them is through use. Once you're familiar with the basics (motions and evaluating), you might take a list of commands you want to master and put up two or three at a time, making a point of using them. Here's a very limited and basic set of Emacs/Scheme commands: http://github.com/bcdarwin/SICP/blob/master/emacs_bindings_s...
There is also customization via the .emacs file or Emacs Lisp programming; see the Emacs info documentation or the O'Reilly books on this.
comment 16y ago · link · parent
http://news.ycombinator.com/submitted?id=miriam .
Flagging this story so people don't have to waste their time.
comment 16y ago · link · parent
http://www.rebelscience.org/Seraphim/Physics.htm
("Abstract: Most people never think of the Bible as a source of scientific knowledge. In these pages, I argue that the Bible contains powerful secrets regarding the fundamental structure and composition of the physical universe.")
comment 16y ago · link · parent
Such a situation would basically be (is?) an admission that the educational/social system has failed to help the individual develop mentally [!] to the level which is probably possible for most people. Which is something that I find sad.
comment 16y ago · link · parent
50.
Building a better teacher [not about robots](nytimes.com ↗)
14 points · by Fixnum · 16y ago · discuss
comment 16y ago · link · parent
Don't get me wrong: I'm no fan of MS or IE. But I can see why they might deliberately fail to implement this correctly. [edit: ...]
comment 16y ago · link · parent
"Princeton’s 2009 graduating class found more jobs in financial services than in any other industry. According to Princeton’s career-services director, Beverly Hamilton-Chandler, campus visits and hiring by the big investment banks have been down, but that decline has been partly offset by an uptick in recruiting by hedge funds and boutique financial firms."
comment 16y ago · link · parent
From a security perspective, this is different from a compromised (say) Debian mirror because it's not a question of, "does this binary match the source I downloaded from?" but, rather, "does this binary do the right thing when I use it to compile my system?"
Think of it this way: you and a friend both compile GCC. But the native code which results is not necessarily the same - it depends on details of your machine and your existing compiler tools. So there is no way to say what "the binary for GCC 4.4.x on i686" should look like, so you cannot tell if your friend modified his compiler's source code just before compiling it. This is (sort of) the problem the paper is solving.
I am not an expert, but I hope this is clearer.
comment 16y ago · link · parent
Summary: To mitigate, either (a) tell your browser not to save any history, or (b) in Firefox, go to about:config and turn off layout.css.visited_links_enabled. (Chrome doesn't seem to have about:config ...)
This should probably be the default ...
comment 16y ago · link · parent
Intuitively, let's say I write a very early version of a (say) gcc, but insert code so that if the compiler detects that it's compiling a login program, it inserts logic into the binary so that "kt" can always login without a password. For this to survive beyond the next rebuild, the compiler also has to detect when it's compiling itself and insert the same logic. This 'Trojan horse' can survive as long as people keep compiling your compiler in itself, but is never detectable from looking at any later version of the source code.
So you need to trust each version of the compiler (assembler, linker, microcode) you are using all the way back in history. The claim of the PhD and the 2005 paper is that you can verify the integrity of a compiler using another compiler that you do trust, all the way back in history.
The apocryphal story is that Ken Thompson actually did this with an early Unix compiler. Here's his very short original paper: