HNHacker News
TopNewBestAskShowJobs

DaveInTucson

98 karma · joined April 26, 2011

If you Google for DaveInTucson, most of those guys are not me.
submissionscomments
DaveInTucson··on What I wish I knew before moving to San Francisco
> the Tucson experience of insane heat for about five months of the year.

I've got to object to this. Yeah, June and July (and to a lesser extent August) are pretty intense, but I'd hardly characterize the rest of the summer heat as "insane".

> I still a) went running most days,

I suppose this could be an issue. Especially during the summer rainy season (usually July-early September) it's still pretty hot and the humidity means it doesn't much cool off at night, which makes strenuous outdoor activity harder even if you do it at the coolest part of the day.

DaveInTucson··on Steve Huffman - Teaching thousands of students to program on Udacity
I took the Web Development course at Udacity too. It was probably more work than some were expecting (especially for a 2xx-level course), but Steve's knowledge and enthusiasm made for a great, challenging course.
DaveInTucson··on Machine Learning Video Library - Learning From Data (Abu-Mostafa)
Somewhat of a side-topic, but I just finished the Coursera compilers class. It didn't seem watered down to me, covering regular expression (including NFA and DFA representations), parsing theory and various top-down and bottom-up parsing algorithms, semantics checking (including a formal semantics notation), code generation (with formal operational notation), local and global optimization, register allocation and garbage collection.

I guess it was partially watered down in that the programming part of the class was optional.

DaveInTucson··on C.S. Lewis on Writing
Since this is already a post about language and writing:

> Point 3 peaked my interest

The homonym you want here is pique[1]

[1] http://dictionary.reference.com/browse/pique definition 3

DaveInTucson··on How Many C Programs Are There?
How many functionally inequivalent C programs are there?

Surely this is undecidable?

DaveInTucson··on Picking holes in mathematics: Finitely stated, undecidable propositions
It's been a long time since I had my Theory of Computation class, but as I recall, the proof that there are computationally undecidable questions uses the same diagonalization technique[1] used to demonstrate that the real numbers are not countably infinite.

The same technique can be used to show there are still computationally undecidable questions if you have a Turing Machine with an Oracle.

This proof technique suggests not only are there undecidable questions, there are uncountably many of them. Even if you have an Oracle.

[1] c.f. http://en.wikipedia.org/wiki/Cantors_diagonal_argument

DaveInTucson··on Usefulness of inventing programming languages
why this does not work: [1,2,3].map({2:4}) (in JavaScript)?

It does (or, at least, it can) if you give Array.prototype.map a suitable value. Here's one possible implementation:

  Array.prototype.map = function(o) {
    var copy = this.slice(0); // copy semantics
    for (var i in o) copy[i] = o[i];
    return copy;
  }
← PreviousPage 2 of 2