• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURL and NSRegularExpression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURL and NSRegularExpression


  • Subject: Re: NSURL and NSRegularExpression
  • From: Conrad Shultz <email@hidden>
  • Date: Sat, 03 Mar 2012 18:16:56 -0800

On 3/3/12 5:48 PM, Jens Alfke wrote:
> Look up the hostname. No ping required.

As I mentioned in the reply I just posted, even looking up the hostname
is potentially problematic.  One obvious case that I overlooked in my
response: mandatory hostname lookup will cripple your functionality if
you don't have an active network connection.

As for ping, not only does the OP not need it, they shouldn't even think
about using it.  A *huge* number of sites block ICMP echo requests.  For
example, cnn.com (employing the OP's example) doesn't respond to ping!

This then quickly leads us down the reachability/two generals rabbit
hole that this list seems doomed to repeat every six months or so.

> Honestly, use Data Detectors.

Ditto, of course.


--
Conrad Shultz

Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSURL and NSRegularExpression
      • From: R <email@hidden>
References: 
 >NSURL and NSRegularExpression (From: R <email@hidden>)

  • Prev by Date: Re: NSURL and NSRegularExpression
  • Next by Date: Re: NSURL and NSRegularExpression
  • Previous by thread: Re: NSURL and NSRegularExpression
  • Next by thread: Re: NSURL and NSRegularExpression
  • Index(es):
    • Date
    • Thread