771 karma · joined November 28, 2007
[let f nil (= f (_ [f _])) f]
In my experience Apple is not consistently good about dealing with this. In every case, I've ultimately been able to get the battery replaced at no cost to me, but with an iPhone 6 that started swelling about a year ago, pushing the screen out, phone support told me flatly that this wasn't something that could possibly happen with such a new device, and suggested that I try to make a Genius Bar appointment on my own. When I brought the phone into the store later that day, they replaced it on the spot, with no appointment. (I wasn't going to accept carrying around a time bomb for another week or more.)
http://blog.llvm.org/2011/05/what-every-c-programmer-should-...
If you get the numbers right, you will arrive at the same advice any financial advisor would give you: in something as novel and hard to price as bitcoin, only invest risk capital, defined as money you could lose in its entirety and still have a sound financial plan.
Here's a good article that addresses the question "Why have undefined behavior?"
http://blog.regehr.org/archives/213
This one linking to the above is also worth reading:
http://blog.llvm.org/2011/05/what-every-c-programmer-should-...
http://news.bbcimg.co.uk/media/images/64639000/jpg/_64639977...
This is what very nearly every power outlet in the U.S. looks like, down to the color, vertical configuration, and flat-head screw in the center:
http://img.ehowcdn.com/article-new/ds-photo/getty/article/16...
I still use Google Maps (via the web now), though, since I prefer the way it presents traffic data.
Imagine you are at a dinner party at Paul Graham's house. He's there, obviously, along with several startup founders, aspiring founders, and a few established industry figures, including the person you are about to disagree with or criticize.
It will undoubtedly take more effort to figure out how to frame your criticism so that it doesn't make you a pariah, but the advantage will be that you will leave open the possibility of forming beneficial business and personal relationships.
In this case, I would try describing your own successes with building redundant services, and describe some of the other approaches you found while researching ones that you have built.
hackclj.core=> Double/NaN
NaN
hackclj.core=> (== Double/NaN Double/NaN)
false
hackclj.core=> (= Double/NaN Double/NaN)
false
hackclj.core=> (.equals Double/NaN Double/NaN)
true
hackclj.core=> (identical? Double/NaN Double/NaN)
false
hackclj.core=> (type Double/NaN)
java.lang.Double
hackclj.core=> (number? Double/NaN)
true
In Perl (which doesn't have a concept of a number type distinct from other scalars such as strings, but we can see that it participates in addition differently from non-numeric scalars, which behave like 0): DB<1> $inf = 1e300 * 1e300
DB<2> $nan = $inf - $inf
DB<3> print $nan
nan
DB<4> print ($nan == $nan)
DB<5> print ref($nan)
DB<6> print $nan+1
nan
In Ruby: irb(main):001:0> inf = 1e300*1e300
=> Infinity
irb(main):002:0> nan = inf-inf
=> NaN
irb(main):003:0> nan == nan
=> false
irb(main):004:0> nan.class
=> Float
Python 2.7.3 (much earlier versions got equality wrong, claiming nan == nan): >>> inf = 1e300*1e300
>>> nan = inf-inf
>>> nan
nan
>>> nan == nan
False
>>> type(nan)
<type 'float'>Also, there's currently nothing reminding users of the ideals you want them to uphold just before they submit a comment -- i.e., right next to the submit button. It never hurts to ask.
As more practical advice, if you're doing something you don't want others associating with your IP address, use an anonymizer you feel you can trust.
javascript:(function(){url='http://deturl.com/download-video.js';document.body.appendChild(document.createElement('script')).src=url;})();
I've never had a problem using this.Three pages, with skills on the third page, is roughly as rude as walking into my office and unplugging my computer.