Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dreish
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
dreish
17y ago
That's the easiest and most superficial rationalization for not bothering to try a Lisp (any Lisp), but also the least compelling argument against it, and likely not even the most significant actual reason you haven't bothered to learn it
32.
▲
by
dreish
17y ago
I'm glad I took the plunge, too. At first, it seemed like a really bad idea -- far too awkward and unfamiliar for the minor advantage of automatically inserting closing parens. I kept at it mainly out of an attraction to the novel and qui
33.
▲
by
dreish
17y ago
That's not much help when you want to close all but one or two. The solution is to use the right tool for the job. Emacs has something called paredit-mode that relieves you of having to type the closing parens.
34.
▲
by
dreish
17y ago
Yes, which is why it is a newbie signal. A Lisp programmer with more than about three weeks of experience doesn't look at parentheses or try to match them up with each other. You know the function has ended because the next line of code h
35.
▲
by
dreish
17y ago
Don't arrange your closing parens the way the author of this article has unless you want to look like a clueless noob. Edit: There are other style problems with this article. Worst is probably this one: Bad: (map (fn [x] (fibonacci x))
36.
▲
by
dreish
17y ago
I learned probably around 80% of the shell commands I use through apropos. For example, if I'd been searching for the "pipe thingy" lbrandy's blog entry starts out searching for, I might have typed "apropos pipe", and lo and behold, there i
37.
▲
by
dreish
17y ago
I agree for the most part, but incidentally you would never (def x 1) and then (def x 5) in a running program -- you would use an atom, ref, or var instead. Redefinition of a symbol is permitted so you don't have to quit and restart your R
38.
▲
by
dreish
17y ago
Looks like iPulse. http://www.mactricksandtips.com/2008/09/ipulse-a-system-reso... http://iconfactory.com/software/ipulse
39.
▲
by
dreish
17y ago
Yes, mainly because pmap is an early demo of how one could do parallelism in Clojure. It remains useful for mapping very heavyweight functions across relatively small data sets. It is not a substitute for Fork/Join, which is on the way.
40.
▲
by
dreish
17y ago
So we've lost (past tense) a part of the vocabulary -- no one knows what it means anymore, but that's okay because it clearly wasn't useful for communicating the idea in question, since nobody knows what it means. That almost sounds like a
41.
▲
by
dreish
17y ago
Sure, but we already had the phrase "raises the question", and now we've lost a useful phrase to describe a logical fallacy.
42.
▲
by
dreish
17y ago
Funny, I was just reading about the Baader-Meinhof Phenomenon recently.
43.
▲
by
dreish
17y ago
Defeatable? What on Earth does that mean? The goal of these puzzles is to find a solution, not to foil the given solution. "Lined up on a table" has a common-sense meaning. Everything else in this puzzle and the solution is purely based
44.
▲
by
dreish
17y ago
That's ridiculous. Proposing a nonsense solution certainly doesn't risk giving anything away. (You claim that there is a 100% likelihood the warden will cooperate and put the names in the boxes the prisoners request?) If you think there's
45.
▲
by
dreish
17y ago
I fail to see how the solution to #1 contradicts the plain meaning of the constraints. I think it's an ingenious and surprising result.
46.
▲
by
dreish
17y ago
This one uses the build tool called "lancet", which is created throughout Stuart Halloway's Programming Clojure.
47.
▲
by
dreish
17y ago
This is confusing the difference between concurrency and parallelism, the latter of which Clojure doesn't yet address. If your program is divided into threads, having a language like Clojure that makes concurrency easy and lock-free is a
48.
▲
by
dreish
17y ago
Well, not exactly "pretty much any language": Common Lisp, Scheme, Arc, Clojure, Haskell, Perl, and SQL all return either 1/2 or 0.5. I'm sure there are plenty of others I'm not familiar with that behave the same way.
49.
▲
by
dreish
17y ago
You're obviously not serious. I'm done wasting my time on this.
50.
▲
by
dreish
17y ago
You're drifting far, far away from the issue that was raised at the beginning of this thread. tjic asserted, I believe as an article of ideological faith, not based on any facts or evidence, that the proposed medical insurance bills in Con
51.
▲
by
dreish
17y ago
Funny, but I actually learned the right way to open the most frustrating variety of packages a few weeks ago. It's easier than I thought: Cut a thin strip (roughly 1 mm wide) off the seam of the packaging, all the way (or at least most of
52.
▲
by
dreish
17y ago
I am if you read the link, which is actually a good survey of what turns out to be a somewhat complicated question, due to the differing populations served. I don't think it's fully settled, but I think the assertion "Medicare has lower ad
53.
▲
by
dreish
17y ago
I don't think you get to just make assertions like that without any facts. Medicare, which is already a government-run health insurance plan, and one whose customers are so satisfied they are militantly protective of it, has lower administr
54.
▲
by
dreish
17y ago
This is either misleading or just confused. India funds roughly 25% of health care costs through the government, and has lower employment costs, yet you imply that if we were to incrementally approach their health-care system, the differen
55.
▲
by
dreish
17y ago
I agree with the general conclusion (as I understand it) that mutable objects aren't a good way of modeling state, but the case has been made much more strongly and more clearly elsewhere, such as here: http://clojure.blip.tv/file/812787/
56.
▲
by
dreish
17y ago
Not the same bug. Try chopping off a nine from each number, first in the above in Python, and then in the Google version.
57.
▲
by
dreish
17y ago
Except that the number of digits in this case is only 14.
58.
▲
by
dreish
17y ago
Except that neither double nor single precision IEEE floats behave the same way as whatever numbers Google is using.
59.
▲
by
dreish
17y ago
You're referring to a simplified description of the effect of a 10% reserve requirement on the money supply. If you deposit $10 into a transaction account, the bank may lend $9 of that (not $90), and only if you assume each dollar lent i
60.
▲
by
dreish
17y ago
Here's the article at theappleblog.com, which I believe is where it was originally posted: http://theappleblog.com/2009/08/20/apples-official-iphone-3g...
More ›