sb | 12 years ago | on: Start Using Emacs – A Thorough Guide for Beginners
sb's comments
sb | 12 years ago | on: Start Using Emacs – A Thorough Guide for Beginners
Another good emacs guide that I came across recently is:
http://m00natic.github.io/emacs/emacs-wiki.html
Additional resources I found helpful:
http://www.emacswiki.org/emacs/EmacsNiftyTricks
http://web.psung.name/emacstips/essential.html
Plus, check out the videos from Magnar Sveen's emacs rocks:
sb | 12 years ago | on: Why does France insist school pupils master philosophy?
There is an interesting comment that illustrates the distinction between US/Europe education systems by observing that in Europe high schools are general followed by focused specific subject studies, whereas in the US there is a lot of focusing already happening in the high schools. Interestingly, though, there seems to be a general education requirement for an undergraduate degree; since I am from Europe this seems to have the purpose of ensuring that all admitted students get to the same level before specializing.
sb | 13 years ago | on: Memory Allocators 101
https://en.wikipedia.org/wiki/Buddy_memory_allocation
Unfortunately, the article is not a very good explanation, I remember having seen a drawing of the data structure, but cannot recall from where...
edit:
It turns out that the mentioned jemalloc internally uses buddy lists as well.
sb | 13 years ago | on: John C. Reynolds, Eminent Programming Language Researcher, has Died
[1] http://repository.readscheme.org/ftp/papers/plsemantics/reyn...
sb | 13 years ago | on: Show HN: Most mentioned movies on HN
sb | 13 years ago | on: Oberon – The Overlooked Jewel [pdf]
There were several novel research ideas tried for the Oberon system. I remember there was some paper called "Active Text" that allowed putting videos into code comments. (Probably that could have been done in Smalltalk, too.)
Finally, all of the books explaining details are heartily recommended. Wirth's compiler book (referred to at HN several times) is a classic easy-going introduction (the Oberon-0 grammar fits on only two pages IIRC! [1]), his algorithm book (also available for download, also referred to multiple times at HN) has some of the nicest descriptions that I did not find anywhere else (showing a divide-and-conquer approach to computing the median [near the Quicksort treatment]; plus polyphase sort, which might be useful again in data centers), and finally the Project Oberon book contains some unique treatment on system software that is not easily found anywhere else. For example, it contains the details on what's called PieceLinkText, which is the (at least AFAIK) best data structure to implement a text editor and it's operations. (Predating rope-strings by a fair amount of time, too.)
edit:
[1]: just checked my own copy; Oberon-0's grammar actually fits on one page, the full Oberon grammar fits on two pages!
[2]: URLs:
- Compiler book: http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf
- Algorithm book: http://www.inf.ethz.ch/personal/wirth/books/AlgorithmE1/AD20...
- Project Oberon: http://www.inf.ethz.ch/personal/wirth/books/ProjectOberon.pd...
sb | 13 years ago | on: The other side of "academic freedom"
I also do agree with the other comment regarding funding agencies. Another problematic way that NSF does business (inviting professors for peer review that is) is that this virtually guarantees that some of your peers know exactly what you're doing, which reduces effectiveness of double-blind submissions substantially (to the point where it is hard to believe it works at all; didn't it ever occur strange to anyone that the same people from the same top schools are consistently successful? [with grants and publications in the top venues])
sb | 13 years ago | on: Why Python, Ruby, and Javascript are Slow
What I actually wanted to know, what the biggest application is, i.e., a not benchmark.
sb | 13 years ago | on: Why Python, Ruby, and Javascript are Slow
ad 3) I am well aware of that. However, I remember that at PLDI'11 there was a talk from Univ. of Edinburgh chaps doing parallel trace-based dynamic binary translation. Obviously, DBT is less work than a high level, full-blown JIT, but at least it's not nil :)
sb | 13 years ago | on: Why Python, Ruby, and Javascript are Slow
The issue with benchmarks is surely well known, also by the PyPy authors; I wonder what the biggest application is that they have benchmarked or that runs on PyPy.
Your point on the JIT compiler interrupting program execution is certainly valid, too, but not necessarily so. One could easily do the code generation in a separate background thread and let execution switch over only if necessary. But, as you have already said, a latency issue certainly exists. This is one of the cases where interpreters usually have a leg up, and there are promising ways of optimizing interpreters.
sb | 13 years ago | on: SpoofMAC - Spoof your MAC address in Mac OS X
sb | 13 years ago | on: Novel Optimization Technique
sb | 13 years ago | on: Make the Metric system the standard in the United States
sb | 13 years ago | on: Ask HN: Best books you read in 2012
Mathematics: Form and Function by Saunders Mac Lane. This is one of my favorite books concerning the "build-up" of mathematics (it also contains nice diagrams of "relatedness" of subjects). On HN somebody once recommended Mathematics: Its contents, methods, and meaning (from Russian mathematicians in the 50s) which is similar but without the cross references.
Proofs and Refutations by Imre Lakatos. I have started reading this only recently and have to say that I find the approach and idea excellent. It would be great if we had something comparable for CS theory as well.
Notes on Introductory Combinatorics by Polya, Tarjan, and Woods. Have not read this exhaustively, but the introduction with Pascal's triangle and some of Polya' legendary problem solving insights (paraphrased from my memory: "you are on to something once you find a pattern") are definitely highlights in this book.
Mathematical Discovery: On Understanding, Learning and Teaching Problem Solving by George Polya. Based on the previous book and my fond memories of reading "How to Solve it", I got this one from the library. Again I can't attest for all of the contents, but AFAICT now it's another gem from Polya.
From HN advice in previous years I read The Tibetan Book on Living and Dying, which I can heartily recommend, too. It is an anti-thesis to Christian theology and I find it to contain many insightful comments and different views on leading a good, meaningful life. I disagree with some of the church-y comments on that it really is important to have a master and that only the master can do certain things, but that's probably just me being an atheist all along.
I actually read some other books, but the list is already kind of long and might hold interesting pointers for other mathematically inclined readers, too. I for one am always fascinated on how much advice on problem solving in mathematics translates to CS.
sb | 13 years ago | on: The Lambda Calculus
http://www.cse.chalmers.se/research/group/logic/TypesSS05/Ex... (also covers typed lambda calculus AFAIR)
sb | 13 years ago | on: How do we tell truths that might hurt? (E. Dijkstra, 1975)
There is also an interesting video of Dijkstra from a Netherland's television station (http://www.cs.utexas.edu/~EWD/video-audio/NoorderlichtVideo....)
sb | 13 years ago | on: How do we tell truths that might hurt? (E. Dijkstra, 1975)
There are some fun quotations of him about APL and Basic.
sb | 13 years ago | on: The Most Dangerous Equation [pdf]
To get the "logic of science" part, you also need to have (IMHO) some fairly decent grasp of combinatorics, for which I quite recently stumbled upon one of the best books in this field: "Notes on Introductory to Combinatorics." (I like the links to many of Polya's gems of "How to solve it.")
For many other references, a quick HN search for publicly available references will result in other endorsements, too (a preliminary version of the Jaynes' book used to be available, too)
sb | 13 years ago | on: Holding a Program in One's Head (2007)