HNHacker News
TopNewBestAskShowJobs

dded

766 karma · joined December 13, 2013

submissionscomments
dded··on Dijkstra on Haskell and Java (2001)
Addendum: High schools also used to teach typing (on typewriters). Now that keyboards are ubiquitous, typing classes have inexplicably been dropped. Go figure.
dded··on Dijkstra on Haskell and Java (2001)
> Dijkstra assumes that students will already have been exposed to imperative languages before joining university

For those entering CS, this is probably true. But it's also probably true that that's because of the students' own initiative to investigate a topic that interests them.

I think high schools have gone the opposite direction. In the 80s, most high schools had some sort of computer class (often taught on TRS-80s or C-64s). These were introductions to programming taught in Basic.

Nowadays, most high schools still have a computer class. But now its Word, Powerpoint, Excel, and build a (static) web page. (There are, of course, some high schools with much better programs.)

dded··on Another go at Go failed
Well, yes, compile-time generics are compile-time. That's why I said "runtime".
dded··on Another go at Go failed
> [...] there are few circles where Java, or at least the JVM, isn't used

I was making the very opposite point. I think Java programmers tend to underestimate the circles where it is not used. In particular, it seems that those who would not describe themselves as professional programmers but who nevertheless need to program tend to not use Java. And it's not all Python/Perl/Basic/Tcl/Bash; C++ (and C) are also widely used.

dded··on Another go at Go failed
Yes, but so does run-time generics somewhere along the line.
dded··on Another go at Go failed
No, the problem is that SetUnion needs to be implemented six times for six different data types.
dded··on Another go at Go failed
> Go, as I said, is Java Lite

Or Python+.

Interesting all the comparisons to Java, with me coming from an environment where Java is never used, never considered, largely never thought about. If Java is mentioned at all, it's usually something like "my kid took a programming class in college, and they used Java, why would they use something like that?". I suppose Cobol was like that: widely used, very widely used, but not used at all in many circles.

dded··on Python code to solve xkcd 1313 by Peter Norvig
What's the best way to install ipython on a Mac? Mine's from Macports, and I have ipython notebook, but when I try to use nbconvert I'm told I'm missing pandoc. A 'port install pandoc' wants to install yet another copy of gcc (I have two--including one from Macports for another ipython dependency), ghc, and about three dozen packages prefixed with 'hs'.

Is there any nice bundle of everything you need for ipython, for the Mac, that's both easy to install and uninstall?

dded··on Python code to solve xkcd 1313 by Peter Norvig
> First, it is explained in the text above it.

A minor correction: the explanation for this heuristic was added later. (I first opened this in a tab, and then didn't read the tab till much later. I also wondered about the heuristic and didn't think to hit reload till I saw your reply.)

But you're right, there is certainly nothing ungenerous from Norvig here. Quite the opposite.

dded··on Pew Study Suggests That Snapchat Only Has 26 Million US Users
"Only"? That word isn't in the original title. In fact, the article states:

> though the study’s findings fit other recent indicators pointing to the app’s strength

And

> “Snapchat is really on the rise right now,” she says. “It’s been on our radar for some time, but we were pretty impressed with the number.”

dded··on The Rise and Rise of Television Torture
> Why shouldn't television reflect reality?

Because there's a cycle. TV reflects reality, but it also shapes reality. It shapes us.

> the evidence was [...] unashamedly destroyed

And without protest. I believe TV has made our society comfortable with torture, and thus we allow it to happen.

dded··on 10 Most (and Least) Stressful Jobs for 2014
A lot of manufacturing jobs are beyond monotonous.

In college one year, I worked 10 hours a week in a semiconductor testing facility. I plugged a chip into the tester, pushed the button, took the part out and penciled the two-letter code returned by the tester. Then I took the next chip, plugged it into the tester, ....

It did pay $13.xy/hr in the 80s, which was why I put up with it.

dded··on 160-Year-Old Documents Intentionally Destroyed in Franklin County, N.C.
The publicity should be early, to prevent the damage.
dded··on Never Mind the Résumé. How Hot Is the C.E.O.?
Agreed. And he famously believed that his "loss" to Kennedy in a televised debate was due to his not shaving.
dded··on 160-Year-Old Documents Intentionally Destroyed in Franklin County, N.C.
Lesson learned for me: if I ever discover a trove of old documents, I'll contact the historical society, but I'll also contact a couple of newspapers.
dded··on Never Mind the Résumé. How Hot Is the C.E.O.?
Who was the last unattractive US president?
dded··on 160-Year-Old Documents Intentionally Destroyed in Franklin County, N.C.
Another, of course speculative, motivation may have been that the destroyed records could have thrown existing land ownership into legal doubt.

EDIT: The article speculates a cover-up. I'm speculating a make-this-messy-problem-go-away action, perhaps by someone who'd have to deal with the mess as opposed to someone who'd be embarrassed by it. On the other hand, I'm not denying that it's a cover-up.

dded··on LG Unveils Internet-Connected TV Running WebOS Acquired From HP
My take is that they simply want independence from Android. Maybe no longer possible in phones, but they could make a go in TV.

There were reports of bad behavior from LG w.r.t smart TVs [1].

[1] http://arstechnica.com/security/2013/11/smart-tv-from-lg-pho...

dded··on Bought and Unread Books
I didn't say that I stop if I find a book difficult. I stop if I decide that I don't like the book. But you're right, some times skipping some pages can get you going again with a dry spot in a novel.

(And I wasn't commenting on Black Swan, just on the concept of not finishing a book. I'm unfamiliar with Black Swan.)

dded··on Bought and Unread Books
> Some of this I'm saving for my "cargo freighter around the world" trip.

Do they still have tramp steamers?

dded··on Bought and Unread Books
It's a great book to pick up "every now and then". Most of the chapters can be read as independent essays, and even the ones that continue ideas from before stand on their own pretty well. It's also a good book to bring along on a flight.
dded··on Bought and Unread Books
> If I don’t find Black Swan interesting I should probably just donate it instead of suffering through it, for example.

I'm not only willing, I'm eager to give up on a book I don't either enjoy or find interesting. But I know a surprising number of people who force themselves to finish any book that they start.

dded··on New York Times Redesign
Did you actually find the redesigned site? When I go to nytimes.com, it doesn't look any different than it has for quite a while. The nytimes.com/redesign link itself vaguely reminds me of the Mavericks announcement page that Apple had up before they actually released it.

In any case, nothing looks odd with kerning on Mac/Safari or Firefox.

dded··on Introducing the Open Automotive Alliance
Maybe more will be announced at CES, as hinted here: http://www.businessweek.com/articles/2014-01-06/google-teams...
dded··on Python 3.3: Trust Me, It's Better Than Python 2.7 (2013)
> May I ask why?

Independence. When you upgrade to RH7, you don't need to worry if all your scripts will run with Python 2.7, they'll still point to your own 2.6. You can decide to upgrade to 2.7 (or not) on your own time. You can do it before or after your migration to RH7; they're independent decisions. Even ignoring Python3, Python occasionally breaks backwards compatibility (the deprecate, warnings, then errors dance). It's nice to control your own situation.

But our programs are internal-use only. So we don't have the same concerns with security updates, ease of deployment to customers, etc., that you may face.

dded··on Why You Should Probably Stop Using Antibacterial Soap
Points 3 and 4 are reasons why I should stop using antibacterial soap. But the others are reasons why all the rest of you should stop using it. There might still be some benefit to me if I use it.

This is why it's important for its removal from soap to be public policy. We only benefit when we all stop using it. If I stop using it, but everyone else continues, I gain nothing (excluding reasons 3 and 4). So I have no individual motivation to stop.

(I hope it's obvious that I intend "I" in some sort of generic sense in the above.)

dded··on Why You Should Probably Stop Using Antibacterial Soap
That is about the most awful casual analogy I've ever heard. I doubt hurt was intended, but do be aware that many people have lost children and would find this hurtful.
dded··on 17 High-Tech Gizmos From 1927's Version of CES
A lot on washers and driers in here. I firmly believe that the three types of devices that have saved the most labor in history are clothes washers, power excavators, and powered field equipment for farming.

Also interesting that so many of these "gizmos" are more-or-less current today. We still use most of this stuff.

dded··on How Python 3 Should Have Worked (2012)
Not everyone's needs are the same. I'll not say that my concerns are better than anyone else's (of course), but they're certainly different than yours.

If Python were 10x slower than it is, I'd use Perl. When I started using Python for real (2004), I'd have stuck with Perl if Python had been 2x slower. (Note that I very much dislike Perl, and thought of Python as a nicer Perl when I first learned it.) I care about speed, and I also care about convenience. Python has a very nice balance of the two for me.

On the other hand, I only use threads in one script that I've ever written (and the GIL isn't a problem with it). So I just don't care about the GIL.

(Edit: re-worded second paragraph)

dded··on Please tell us what features you'd like in news.ycombinator
Please relocate "delete" in new submission.

I just submitted a question. Under the entry in new is this text:

  	1 point by dded 0 minutes ago | discuss | edit | delete
This puts "delete" where "discuss" usually is. I intended to click on "discuss" to see what my entry looked like, but clicked "delete" instead. Luckily there was a confirmation dialog. Could the text be made to look like this:

  	1 point by dded 0 minutes ago | delete | edit | discuss
← PreviousPage 4 of 7Next →