aes's comments

aes | 13 years ago | on: CoffeeScript: less typing, bad readability

  > doSomething (->
  > 'hello'), 1
> Indentation is significant in CoffeeScript, just like it is in Python. Just having a parenthesis shouldn't change that.

The point, I think, is that the example above should be an error instead of compiling into something you wouldn't expect.

Here's a syntax I've seen a lot:

  doSomething ->
      'hello'
  ,   1
or even

  doSomething ->
      'hello'
  ,
      1
That style is also handy to construct a long list of object literals.

> This is called destructuring assignment,

I think destructuring assignment is something else entirely. http://coffeescript.org/#destructuring

> its probably better to use isnt instead of !=, although rather than !=, you would want !==

'!=' is equivalent to 'isnt'. And '!==' is not CoffeeScript at all.

aes | 14 years ago | on: 3.5 Inches

To add a little nitpicking to your nitpicking, it should've been a right single quotation mark (’, U+2017). In fact it's not an accent (´, U+00B4), but a prime (′, U+2032).

Since none of these characters can be easily produced on a standard US keyboard, I suspect that the blame belongs not on the author but on his publishing system that thought he meant "4 feet" (or perhaps "4 arcminutes").

aes | 15 years ago | on: Turn any page into Katamari Damacy

A Macbook user here as well. To try it out, I forked seancron's repository and changed the right mouse button to left mouse button. You have to avoid clicking on links, though.

  javascript:var i,s,ss=['https://github.com/anttisykari/kathack/raw/master/kh.js','http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'];for(i=0;i!=ss.length;i++){s=document.createElement('script');s.src=ss[i];document.body.appendChild(s);}void(0);

aes | 15 years ago | on: A brief glimpse of Nokia's popularity outside the Western world

Nokia is also finally about to catch up on the developer side, which might prove to be a big advantage. If ease of development is in any way correlated with application quality, we might see some action in the Nokia world soon.

For the little glimpses that I've seen, UI development using Qt Quick and QML and is actually pretty nice. Nothing like the Symbian hell, and seemed a good deal more fun than developing for Android. (Can't say it's on par with iOS though, at least not yet.)

This is the first time I'm actually _excited_ by a Nokia technology.

Now is a good time to check it out, since the first phones supporting 4.7 are supposed to come out "soon" (my source at Nokia was reluctant at naming a specific date). And they just put out a new technology preview:

http://labs.qt.nokia.com/2011/01/20/qt-sdk-1-1-technology-pr...

If Qt / QML Quick seems a bit barebones, there's a library called Qt Components which adds things like checkboxes, progress bars etc.:

http://qt.gitorious.org/qt-components

aes | 15 years ago | on: Ask HN: I built it, "they" didn't come...

Let me give you some feedback for isshort.com.

1. The landing page does not tell what the service is for and who is it for.

On the first look, it looks like just another URL shortener - but why would I use it over something like 3.ly or j.mp?

2. I tried to read the explanation but bored out. I don't care what "healthy link shortening" is or what rev="canonical" does. The blog post is longwinded and filled with jargon and terms I don't understand. "Publisher"? Am I a "publisher"? Do I want to be? What is the target audience? Am I in the target audience? It's difficult to find out.

3. I put in "google.com" and out comes INVALID_URI.

4. Not having a "Submit" button feels somehow awkward. I'm not sure what I should do in order to shorten the URL. I eventually discovered that pressing Enter and clicking on the "isn't short" text works, but I'd feel better with a "Submit" button.

aes | 15 years ago | on: HN Domain Exchange: Add your unused domains

Indeed - I see that ycombinator.com is up for trade on that spreadsheet.

You might want to send a confirmation to the legitimate contact email address obtained through whois before accepting exchange propositions.

P.S. domainnameexchange.com seems to be available

aes | 15 years ago | on: Chmod -x chmod

The simplest way I could figure out was:

cp sh chmod.new

cp chmod chmod.new

aes | 15 years ago | on: Actual drawbacks to omitting semi-colons?

On the "if we were to design a programming language" level, it seems that a feature like ASI (Automatic Semicolon Insertion) is not only useless but even harmful. Every programmer is required to learn the rules of the mechanism in order to understand others' code. Furthermore, it needlessly increases the amount of possible programming styles, which, in my opinion, is a bad thing.

C programmers have always used semicolons and never wasted a second thinking whether they should.

aes | 15 years ago | on: Symbian-Guru.com Is Over

However, these transitions simply take a long time. Apple purchased NeXT in late 1996, and the first usable Mac OS X release appeared almost five years later.

Also, Apple had Steve Jobs.

This does not look good for Nokia.

page 2