Better HN
topnewbestaskshowjobs
Log inSign up

Turing_Machine

10,789 karma · joined May 28, 2010 (16y ago) · 6,160 submissions

Submissions

comment 13y ago · link · parent

Interesting theory.

Why don't we take it to its logical conclusion and remove all services for anyone who doesn't live in Washington, DC?

comment 13y ago · link · parent

Which network doesn't publish crap?

comment 13y ago · link · parent

The mesh wouldn't need to be that fine if it just had to exclude whole coffee beans.

I think I'd use a bottomless bean bin that pulls out with a handle. While it's pulled out, it's over a grid that lets water pass through (and ideally makes it clear that any water added is just going to be dumped right on the counter). When it's pushed back in, the beans fall into the actual bean reservoir.

comment 13y ago · link · parent

Unless, of course, you're actually buying coffee and/or food periodically.

comment 13y ago · link · parent

Unless they've changed it recently, it's possible to use any name as a tag regardless of whether that individual is on Facebook.

I know this because pictures of long-dead relatives posted by family members are tagged.

comment 13y ago · link · parent

Not sure why they would give the students access to the raw Google Spreadsheet rather than using a write-only Google form.

1) Collect name, email address with Google form. 2) Run simple macro to assign to groups. 3) Sorted. As it were.

comment 13y ago · link · parent

Something like thing.horizontalPositionInTransformedAndScaledUnits may be slightly clearer the first time but becomes counterproductive when there are 20 of them on the same screen, especially if there are 20 thing.verticalPositionInTransformedAndScaledUnits mixed in.

Your eyes just start to glaze over (or at least mine do).

If you're only ever using one coordinate system, just use thing.x and thing.y or thing.h and thing.v, maybe with a comment that explains that these are in transformed and scaled units. Your eyes will thank you. :-)

comment 13y ago · link · parent

Reading is arguably more important than typing. Being able to fit more code on the screen has its advantages, too.

comment 13y ago · link · parent

Right. Some of these are legitimate issues, but not that one.

Given that the Ruby code in the gem has full access to the file system with the privileges of whoever is running it, I don't see how this makes things any worse (assuming you're not installing the gems as root or whatever).

comment 13y ago · link · parent

My advice would be to learn Sinatra first. The time investment will be much lower than with Rails, IMO, and will let you know if Ruby is a good fit for you.

You might even find that Sinatra does everything you need. :-)

comment 13y ago · link · parent

When I used to TA a very large freshman class, we handled it by letting the students know on the syllabus that in such cases we would send a sympathy card to their home address.

The theory was that if the story was legit, it would be a nice gesture by the course staff. If it wasn't, the student would have some 'splainin' to do at home.

comment 13y ago · link · parent

Here's an example of it causing problems with no warning of any kind:

http://codepad.org/vnYtqRBM

Note that this is precisely why Javascript has ===, widely regarded as one of its "flaws".

comment 13y ago · link · parent

"==" implies that one can be substituted for the other at will without changing the result. In C, that's not the case for 2 and 2.0.

Compilers have gotten a lot better about warning about these situations, but they're far from perfect. In any case, "produces a compiler warning" and "doesn't produce a compiler warning" isn't "==" behavior.

We won't even go into why having a logical comparison return an integer result is questionable. Yes, it's very convenient sometimes, but it's still an example of the type of "flaw" that he doesn't like in Javascript.

comment 13y ago · link · parent

You were comparing Javascript with the "utter stupidity of its many flaws" to "far more sensible" languages.

"C doesn't bungle such basic things as equality checks, for instance."

2.0 == 2?

False.

Most people would consider that a flaw. As programmers we understand that integers and floats are different in the computer, but that's not how it works in math.

"C also doesn't include idiocy like semicolon insertion."

You must really hate the languages that don't use semicolons at all. :-)

comment 13y ago · link · parent

I was thinking COBOL.

Edit: added sample.

http://www.csis.ul.ie/cobol/examples/Conditn/IterIf.cbl

comment 13y ago · link · parent

You're using C as an example of an "unflawed" language?

Wow.

Don't get me wrong, C is outstanding in its problem domain, but it certainly has no shortage of rope with which to hang yourself.

"These people also can see how it lacks the language features necessary for large-scale, multi-developer, distributed development, and then the subsequent maintenance of such projects."

The Gmail team might disagree.

comment 13y ago · link · parent

4 / 2.5 should be an error?

Okay, then. Never mind that essentially no language in widespread use enforces that.

comment 13y ago · link · parent

I haven't been banned, but AdSense is incompatible with my preferred mobile framework (jQuery Mobile) without some ugly (and possibly TOS-violating) hacks. Other mobile frameworks are in the same boat.

I'd also be interested in alternatives (ideally, Google would fix the AdSense code so it works, but people have been asking for that for a while).

comment 13y ago · link · parent

Sounds like a job for Greasemonkey/user scripts to me.

comment 13y ago · link · parent

If you really paid attention and grokked the problems with the taxi business on a fundamental level, you might be in a position to launch a competitor for Uber.

But yeah, unlikely.

comment 13y ago · link · parent

There already is. Stories about Seymour Cray building (and then burning) a boat every year, tons of stories about Woz, tons of stories about rms, tons of stories about any number of the other greats, some true, some embellished, some made up from whole cloth.

comment 13y ago · link · parent

You might look at http://openclipart.org/ to see how they're handling it.

comment 13y ago · link · parent

I'd be interested in seeing the study. For me, at least (and I think for many others) the thought of creating yet another login is enough to make me back out.

comment 13y ago · link · parent

It's also a good idea to make it request only the minimum amount of information from the auth provider (e.g., name and email address). I (and I think others) have become wary of sites that ask for full access when there's no obvious reason for it.

comment 13y ago · link · parent

Very nice! I'd like to have the option (but not the requirement) to log in with oauth(2) from Facebook, Google, Twitter, etc.

Your site will get a lot more traction if you implement that, I think. Most people (even non-techie folks) are suffering from account proliferation.

comment 13y ago · link · parent

If you're talking about what I think you're talking about, it's not digital noise. It's an artifact of the Autochrome process. The images are made with colored grains of potato starch. It's a fascinating process that (to my knowledge) has never been successfully reproduced in modern times.

http://en.wikipedia.org/wiki/Autochrome

1
180181182
206