Better HN
topnewbestaskshowjobs
Log inSign up

msg

2,503 karma · joined Mar 30, 2008 (18y ago) · 697 submissions

Submissions

comment 18y ago · link · parent

If you've done stuff with logic and theory of computation before, the opening of GEB is not terribly difficult, and it will pull you through to the next parts. If you haven't, you might consider it a fun introduction to the subjects that you would have to read more slowly.

The upside is definitely worth a few reading struggles. It's one of those once-in-a-lifetime books (by which I mean that you don't come across books this great often; I don't mean you should read it once and throw it on the fire).

I encourage you to give it a shot.

662.

An Interview with Douglas R. Hofstadter(tal.forum2.org ↗)

41 points · by msg · 18y ago · 36 comments

comment 18y ago · link · parent

My first C++ instructor compared operator<< and operator>> to eating and vomiting. I am having trouble reconstructing how the analogy worked though.

comment 18y ago · link · parent

It's 97.3% times 96%, since it's a given that only those who got in got error pages. My calculator puts that at 93.4%.

The error is more pronounced if uptime was say, 20%, and error rate was 4%. If we do it your way, it's 16%. My way, it's 19.2%.

comment 18y ago · link · parent

I'm stuck with IE7 at work, Firefox 3 and Safari at home. So it all depends.

comment 18y ago · link · parent

This is a three-year-old blog post. I'm not sure how much still applies to current Firefox, especially the comparisons to other contemporary browsers.

That said, I often find Safari frustrating (cycle tabs with Cmd-Opt-arrows, for example, does not always work), but I have to resign myself to its foibles. To me, hitting the wall of the browser's functionality is what pulls me out of the dream. At least Firefox is getting ongoing extensions and patches.

comment 18y ago · link · parent

You don't deal with death. It deals with you.

In a short span when I was younger, a friend killed himself, my great grandmother died at 99 years 11 months of age, an acquaintance died in a car accident, and an old friend's brother died in a freak golf accident from a brain aneurysm.

It's not an exaggeration to say it all changed my life permanently. My advice is to let it. Don't go stoic and pretend it is something that happens every day. There is a quote by Camus that gives you a sense of the solemnity and the terror of the thing: "Don't wait for the Last Judgment; it happens every day."

This one may not be for everyone, but John Donne wrote some words about death that I have found useful at these times.

"No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were: any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bells tolls; it tolls for thee."

http://www.online-literature.com/donne/409/

Those words are not just about your friend... they're about you. Death is deeper than cells and physics. Be involved in mankind. Don't be an island. Lean on your friends and family.

And take time to process things. Life can wait.

comment 18y ago · link · parent

This made the news recently. Bell Canada, throttled traffic upstream of independent ISPs that resell their bandwidth. http://arstechnica.com/news.ars/post/20080325-canadian-isps-...

In a case like that, there's no getting around Bell Canada. Either you're throttled or you're out of the DSL business.

comment 18y ago · link · parent

I find it hard to believe that the telcos will succeed on this issue in the United States. Especially because they're also morphing into content providers, it's hard to see this as anything but an antitrust issue.

I think what's more likely is that if the situation gets this dire, we'll see lawsuits and legislation. There are too many powerful content providers (especially in the US) with a vested interest in seeing that nothing like this ever happens.

comment 18y ago · link · parent

My favorite part was at the end:

"Remember, it's FREE to join and there is NEVER any obligation to buy anything in order to earn. Just refer other free members and MAKE MONEY! WOW!

Click below to fill out the SHORT registration form!

[JOIN NOW button]

Completely Global | Safe | Friendly | Reliable | Fun | Lucrative"

comment 18y ago · link · parent

Post my MSCS, developing for a defense contractor in C++/Unix/Qt in a median COLA area, I started at 70k. So I don't think I'd say that career programmers are going to end up in that salary range. If you can't beat that over the course of several years in this business, you're doing something wrong.

comment 18y ago · link · parent

The other problem is, Unix is the worst operating system ever devised, except for the others that have been tried from time to time.

http://www.jwz.org/doc/worse-is-better.html

Google and Amazon seem to have post-Unix operating systems in some sense, but a lot of it's trade secrets to us proles.

comment 18y ago · link · parent

Taleb saved it on his website, as a pdf, ads and all.

http://www.fooledbyrandomness.com/wsj-patterson.pdf

For what it's worth, the same article has him still in as of October last year with a new fund called Universa, doing basically the same thing.

comment 18y ago · link · parent

"You make a better door than a window"

seriously, though: "on their own grounds / in context". But you're right, no pithy phrase comes to mind.

OT: I was looking for stuff like this: "Linux: can't blend margaritas", which is kind of the idea.

and I found this fun Google query: http://www.google.com/search?q=%22worst+*+in+*%22

comment 18y ago · link · parent

I don't think it's bad to want to abstract away the low-levels of client-side JavaScript, but you might want to start with JavaScript first to know what and why you are abstracting away.

There's a good introduction in the form of lectures from Douglas Crockford. I watched them recently and they were informative and interesting.

http://www.catonmat.net/blog/learning-javascript-programming...

comment 18y ago · link · parent

I forgot another all-time favorite. I must've read this one when I was about 10 and a couple of times since. Genghis Khan: Emperor of All Men, by Harold Lamb.

comment 18y ago · link · parent

Linus's biography, Just For Fun, is not bad.

I have sentimental attachments to Man Out of Time, the Tesla biography.

No Man Knows My History is about Joseph Smith, founder of the Mormon church. It is naturally controversial to the LDS, for its depiction of Smith as a polygamist con man who fell sideways into a religious racket and never quite fell out. I found it very readable, full of color. It might depend on your interest in the period and the subject matter.

Stephen King's On Writing is about half biography, half writing manual. I thought it was terrific. It's had several rereads already.

comment 18y ago · link · parent

Seattle: You should be unique.

Logan, UT: You should be one of us.

Denver, CO: You should be healthier.

comment 18y ago · link · parent

http://steve-yegge.blogspot.com/2008/05/dynamic-languages-st...

So one way to say it is that high-level languages are like porno, "I know it when I see it." Another way to say it is that there's machine language... and everything else. Or fill in the blank for machine language, "C is the last low-level language, everything more abstract is a high-level language".

It's tempting to think of memory-managed languages as high-level languages, but then there's Java...

Ratio of code size to payload is of course another metric.

http://paulgraham.com/power.html

Maybe it's the functional languages.

Why do you ask?

comment 18y ago · link · parent

This comment will be a little roundabout, but it has a real conclusion.

It seems like the subject of this Google Tech Talk keeps coming up over and over again.

http://video.google.com/videoplay?docid=-2469649805161172416

Here's a summary. Yann Le Cun discusses his research on deep learning. The basic problem with standard learning, SVMs, neural networks and the like is that they are limited to coming up with shallow templates for classification, with more or less fancy versions of linear and nonlinear combinations of weights. The number of such templates you need in a highly dimensional space like computer vision is exponential (think about how much data you need to represent one object at different combinations of distance, lighting, orientation, focus, etc.).

Instead, he suggests, we need to learn how to get past shallow template-matching and train, essentially, features of features or networks of networks. This gives us a shot at discovering highly abstract features of the data we have and doing real learning.

If you have any interest in the subject, I strongly suggest you carve out an hour for the video.

TD-Gammon is another example. It is a learning program that plays backgammon. Training from simple board features, it eventually derived what you might call first-order expert features by doing shallow learning. But, when similar first-order expert features (presence of an anchor, etc.) were added by hand to the initial state space, TD-Gammon derived deeper expert features to the point that it and similar programs became better than the best players in the world.

The point here is that there was no way to transition from the shallow features to the deep features without recoding the system from scratch. That obviously won't scale to the kinds of AI problems that are interesting.

Big finish: The advantage humans have over computers (at the moment) is that we work on those multiple levels of abstraction all the time. We do deep learning in every field of human endeavor. That's what the deeply connected neural networks in our brain are all about. In fields where such expertise is possible, humans have it all over the computers. In fields where brute-force calculation can win, the computers have it all over the humans.

What that implies to me is that we can't train computers to think as deeply about catastrophes as we do. It requires a new paradigm of learning to get the computer to that point.

comment 18y ago · link · parent

Lots of people have probably read these, but Steve Yegge wrote some great posts about interview loops on his old Amazon blog.

http://steve.yegge.googlepages.com/five-essential-phone-scre...

http://steve.yegge.googlepages.com/why-phone-screens-matter

http://steve.yegge.googlepages.com/what-you-need-to-know

Here's an excerpt from that last one that is on point:

"My point today is that although I don't feel you need to have a Computer Science degree in order to be a good developer, I do believe that there is a set of learnings, which you normally acquire in the course of a CS degree, that I would consider to be part of the core set of ideas that are 'software common sense'. If you don't know them, then I will feel that you lack common sense.

"In our CS degree, we saw a lot of proofs, and had to work through many of them by hand. I feel that this was to some extent unnecessary, since it obscured the importance of the things we were proving by putting us all to sleep. Being able to prove something does allow you to reason through it to assure yourself of its correctness, and to derive it from first principles if you've forgotten it. But in everyday programming, you don't need to do proofs. You ought to have a feel for the outline of the proof, the sort of intuitive derivation of a rule, so you can reason through it with yourself and with others. But you don't need to be ultra-formal about it unless you happen to love proofs, as some folks do.

"Instead, you need to be aware of the major findings and learnings of Computer Science, and the rough reasons for them. I realize this opinion is going to displease two audiences: CS theory folks, who will think it's too weak, and professional programmers with no CS degree, who will think it's too strong. But it's my opinion and I'll stick with it."

comment 18y ago · link · parent

I agree to a certain extent. All sciences specialize as they mature. Computer scientists looking to make their mark are inevitably driven out from the core into security, bioinformatics, robotics, data mining, distributed systems, what have you.

I don't know Knuth's mind exactly, but it seems to me he decided to set up shop at the core, at theory and algorithms, to set the science on a solid foundation going forward. So it's fundamental algorithms, arithmetic, searching, sorting, and lately graphs and combinations.

There are enough people writing in their specialties, and there will always be incentives to go baroque and novel. That's how we get stupid stuff like my thesis, or 8% faster neural network training, or the paper on implementing a Turing machine in C++ templates.

http://ubiety.uwaterloo.ca/~tveldhui/papers/2003/turing.pdf

It takes a special kind of person to forge ahead slowly, for decades, on the field-defining work that he does. The other kinds of scientists (and software engineers, for that matter) are all too easy to find.

http://edward.oconnor.cx/2002/04/don-knuth-sells-out

comment 18y ago · link · parent

There's not a slim chance you'll never have a fat chance of unapplying that locally to unnatural language.

comment 18y ago · link · parent

You were not misremembering. Volume 4 is in beta, and a planned rewrite of Volumes 1 to 3 (after Volume 5! eta: 2015) to take advantage of MMIX (the new version of the MIX language) is not even on the horizon yet.

http://www-cs-staff.stanford.edu/~uno/taocp.html

comment 18y ago · link · parent

I've always thought Knuth was quite entertaining and droll, even in his scientific work. Like the time he showed up for Randall Munroe's Google talk and asked about the n log (log n) sort algorithm discovered by his dark apprentice Elaine. http://xkcd.com/342/

I think the problem with reviews like this one that say "I wish this guy had written a different book" is that they refuse to take the work and the author on their own terms. TAoCP is obviously on a mission to rigorously define algorithms at the heart of computer science, compare them, and make provable statements about their complexity. On those grounds, none of the pedagogical texts the author prefers holds a candle to the blinding glory of TAoCP. (Of course, they weren't really trying to.)

It's the same with all kinds of art. Come to it full of expectations that the art doesn't fulfill, and you won't make the connection... but that's not the art's fault.

comment 18y ago · link · parent

There is a Borges story about this, "Of Exactitude in Science."

... In that Empire, the craft of Cartography attained such Perfection that the Map of a Single province covered the space of an entire City, and the Map of the Empire itself an entire Province. In the course of Time, these Extensive maps were found somehow wanting, and so the College of Cartographers evolved a Map of the Empire that was of the same Scale as the Empire and that coincided with it point for point. Less attentive to the Study of Cartography, succeeding Generations came to judge a map of such Magnitude cumbersome, and, not without Irreverence, they abandoned it to the Rigours of sun and Rain. In the western Deserts, tattered Fragments of the Map are still to be found, Sheltering an occasional Beast or beggar; in the whole Nation, no other relic is left of the Discipline of Geography. -- From Travels of Praiseworthy Men (1658) by J. A. Suarez Miranda

comment 18y ago · link · parent

Here's a first impression.

Download it. It's Win or Intel Mac at the moment. You have to register at the top right of the page (just username, password, email). http://www.fold.it/

I found this game very absorbing. Kudos to the team for making biochemistry interactive and interesting to a lay audience.

With a little imagination, you can see kind of how the proteins are supposed to collapse down. I could use a little more information about how hydrophilic and hydrophobic play to raise or lower the energy of the protein. It's been a decade since I took ochem.

One thing that needs a little work is the 2D control of the 3D object. Like doing a Rubik's cube with your mouse, it is a little hard to make it clear whether you are trying to pull to the right or rotate topwise. Adding move/rotate handles when you hover over a piece might be nice, like doing Bezier curves in Illustrator (creature creator in Spore maybe).

The About page mentions that these guys are trying to record human play in order to teach the computer how to search more quickly. "We’re collecting data to find out if humans' pattern-recognition and puzzle-solving abilities make them more efficient than existing computer programs at pattern-folding tasks. If this turns out to be true, we can then teach human strategies to computers and fold proteins faster than ever!" Sure, there's some hype, but analyzing human play and feeding the data to your agent is a time-honored supervised learning tradition. http://www.fold.it/portal/info/science

One of the current features is to get things mostly correct, then press a couple of buttons that make the computer search for the local minimum in the neighborhood you've set up. That is, it's relatively good at the endgame (probably faster and better than you). But the computer could learn a lot from watching how humans quickly get the protein into shape when things are all jumbled up in the opening.

comment 18y ago · link · parent

This continues to be a troll, but I'll bite. Hopefully in such a way that no one else has to.

Arguing from obviousness about religious beliefs? Come on, people have fought wars over the iota in homoiousious. Arguing from obviousness in interpreting a passage in the New Testament? Learn about hermeneutics. One text, many interpretations, and as many as there are people willing to approach the text authentically.

And let me give you something only a Christian would say, so you can be educated. Bible study is not an end in itself. It is a means to becoming more like Jesus, becoming closer to Jesus. So I take a dim view of arguments that purport to assume a Christian belief and the status quo, then derive a contradiction. These arguments are about the periphery of Christianity. If you want to create some cognitive dissonance, head for the center.

I read that (crappy) Wikipedia article on usury, including the strands of Christian thought that disagree with the non-interpretation of those New Testament passages in the Wikipedia. For instance, the section on the scholastics. http://en.wikipedia.org/wiki/Usury#Usury_in_scholastic_theol...

So instead of taking the reductionist appeal to obviousness and playing word games with quotations that you interpret privately, maybe you can go through the two millennia of source material on the question and offer the definitive breakdown. Send me a link to your dissertation when you're done.

More to the point, this and many other religious beliefs inhere in systems of thought, not random answers to random questions. You just asked, "When did you stop feeling cognitive dissonance about your beliefs?", and I might rightly be skeptical that you even cared about the answer.

You don't understand a religion until you understand it from the perspective of someone who lives it. You don't understand a religious belief unless you locate it in the network of beliefs, the worldview, that it belongs to. And you don't discredit a religion by raising questions about disputable matters.

comment 18y ago · link · parent

I'd say that the algorithms are key in AI, not necessarily the language. You can program neural networks, genetic algorithms, search in Blub.

The early AI programs tended to solve toy problems. No one had thought much then about the implications of the curse of dimensionality: that each entity you add to the problem (say, throw another object into your object-manipulating robot's environment) increases the problem space exponentially (or even factorially).

But you're right, there has been a ton of progress in AI. The initial bias toward ontologies, expert systems, and top-down algorithms has given way to bottom-up systems that are data-driven rather than abstraction-driven.

One major example is using neural networks, SVMs, RBFs to discover implicit features in a data set rather than depending on an expert to code up those features explicitly. Experts don't scale, but data will always be with us. Thus we've seen increasing interest in information retrieval as opposed to ontological knowledge engineering.

But a lot is going on in the field even today. I found this talk very interesting:

http://video.google.com/videoplay?docid=-2469649805161172416

comment 18y ago · link · parent

There's specific stuff in the article about this. Emacs is much more discoverable than your average IDE. It is much easier to write plugins. You don't have to bow to the gods to get a working, documented interface (see the Stevey post just before when he tries to implement focus-follows-mouse in an OS X accessibility API which is basically undocumented and, fatally, doesn't work as advertised in its comments).

Here's another way to think about it: cobbling together myriad programs at the terminal and getting them to talk is an ad hoc, informally-specified, bug-ridden, slow implementation of half of GNU Emacs. Like it or not, you're going to work in some kind of environment, so it might as well give you awesoma powah in every window you open.

1
2021222324