Recent submissions

Comment · 13 years ago
Comment · 13 years ago
The example in the gif is actually C++, but JS should be fine according to the link. Ruby and Perl just happen to be the implementation languages.

> "Avaliable (sic) in Ruby and Perl, but supports all languages!"

Comment · 13 years ago
http://news.cnet.com/2100-1001-203937.html

It was in 1997. Apple wasn't doing so well at the time.

Comment · 13 years ago
It looks like it made it into WebKit on an experimental basis: http://trac.webkit.org/changeset/125201. This was over a year ago, though; don't know about its current status.
Comment · 13 years ago

        return 0;  // <stdlib.h> not #imported
    }
Comment · 13 years ago
> We don't actually know that though, considering how quickly government forces swept it away.

> All I want to point out is that there is no way for anyone here on HN to know what it was for sure

Take another look at the last sentence. :P

Comment · 13 years ago
It happens in Objective-C:

    NSString *pattern = @"\\d", *string = @"੧";
    NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:pattern
                                                                           options:NSRegularExpressionCaseInsensitive
                                                                             error:nil];

    NSUInteger numMatches = [regex numberOfMatchesInString:string
                                                   options:0
                                                     range:NSMakeRange(0, [string length])];

    numMatches ? NSLog(@"%@ found by %@", string, pattern) : NSLog(@"%@ not found", string);

    // 2013-05-20 09:38:42.650 Regexperiment[17848:c07] ੧ found by \d
Comment · 13 years ago
Comment · 14 years ago
> 5) You miss pre-v.5 WebObjects

FTFY :)

Comment · 14 years ago
Comment · 14 years ago
No, Ruby's default is to install to /usr/local. It was just an illustrative example used to demonstrate potential complications from not using /usr/local. The submission wasn't a guide to building Ruby.
Comment · 14 years ago
You're doing it wrong.

This is the HIG quote from above:

> "In general, quit when users close the last open window in your app. [...] If users close the last remaining document window in a document-based app and switch to another app, it’s appropriate to quit the app" (emphasis added).

In TextEdit, close the last document and then _switch to another app_. You're missing the last step.

Comment · 14 years ago
Try again. I just download r3132 and it doesn't give me that message.
Comment · 14 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton