HN user

dreish

771 karma

(subst "@" "%" (apply + (cddr:rev:cdr:ssplit "42 rg .o ish %dre dan @example. com")))

[let f nil (= f (_ [f _])) f]

Posts1
Comments257
View on HN

That's an interesting point. I would point out another problem with this article based on my own experience living in metro Atlanta since 2001: many people, especially those moving to Atlanta from the Northeast, would likely have said that there was no good urban neighborhood in which to live in Atlanta in 2005. I think that was more of a chicken-and-egg problem than a zoning one. Midtown Atlanta had the right zoning and had neighborhood civic associations that were working toward urbanizing the neighborhood, but it wasn't until several years later that significant amounts of neighborhood-serving businesses started to move in.

That's decidedly not what the article claims. It claims that there are people who live in the suburbs but would prefer not to, and provides evidence to support that claim. The same evidence acknowledges the existence of people who are happy living in suburbs.

I've been thinking along the same lines for the last few years. If you did this, you could have a multi-user operating system in a single address space and avoid the cost of interrupts for system calls (which would just be like any other function call).

I've had plenty of batteries swell, and none catch fire before I got them replaced, so I have to think it could help.

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.)

But one of the most important features of Clojure is that it's hosted on mature, decidedly non-Lisp platforms with plenty of well-maintained libraries, and it has clean, concise interop. If that's what a Lisp needs to become popular, then I'd say that's evidence for this theory, not against it.

You are vastly overestimating how happy millions of dollars will make you. Google around a little and you might actually put a negative number on it.

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.

That's a reasonable question. It's a shame this comment gets downvoted instead of the various people falling all over themselves to show off how smart they are by posting incorrect guesses about how undefined behavior doesn't matter.

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-...

It's "just" a business district within London, leaving aside a couple of millennia of history. London comprises the City and 32 boroughs, somewhat similarly to the way New York is made up of five boroughs, one of which is also called "New York" in some contexts.

Compared to the last time Google switched mapping databases, which I think was about three years ago, Apple Maps (for my town at least) has been remarkably accurate. For several months, Google Maps was putting my home address more than a mile from where I actually live (right in the middle of a major city, so a mile is a world away), and it refused to parse addresses for at least a couple of major commercial roads with unusual names. I don't think I've been able to find a single comparable problem with Apple Maps. Visual glitches don't ruin my day nearly as much as refusing to parse a business' address or placing it a mile away from where it is.

I still use Google Maps (via the web now), though, since I prefer the way it presents traffic data.

I would suggest the following mental exercise the next time you want to make a comment on HN:

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.

Javascript's NaN 14 years ago

This is hardly a JavaScript quirk. In Clojure:

    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'>

send should never be used in a function that will not keep the CPU busy, such as one that calls Thread/sleep. send-off, which will allocate a new thread rather than taking up a slot in Clojure's fixed-size agent thread pool, should be used instead.

Pick as many active users whose judgment you trust as you can find, train a Bayesian classifier on their votes, up and down, and use that to score the voting patterns of users. Set ignore for the ones with the worst scores. Even if it turns out not to help much, at least you'll have had some fun doing it.

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.

Can Java Be Saved? 17 years ago

Funny that this article praises C#'s generics over Java's type erasures, when Rich Hickey specifically cited the latter, and the convenience it creates for dynamic languages, as a reason for choosing the JVM over the CLR for his implementation of Clojure.

Yes, and since 1920 there have been changes in pretty much all the inputs to the luxury car price function, wealth distribution, production costs of pretty much everything, and what the Joneses that you're trying to keep ahead of can be expected to have being the ones that immediately come to mind.

I can tell you as a hirer I would most likely not seriously consider your resume. You might think that is unwise, but you clearly don't know what it's like to wade through a pile of crap from people who are obviously just spamming every job opening they can find, trying to find the few people who are actually reasonable candidates, before even trying to figure out which ones might be any good. Even using a recruiter is of limited use -- you can give them criteria, but they often just don't know to tell the difference between a real programmer and someone who has put "programmer" on a piece of paper.

Three pages, with skills on the third page, is roughly as rude as walking into my office and unplugging my computer.