Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fogus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
211.
▲
by
fogus
13y ago
> I keep hearing this over and over. Hearing what? That pmap is a drop-in for map giving instant speed gains? That's odd. I've never heard that. Like anything pmap has its tradeoffs. > poster child for lisp's success
212.
▲
by
fogus
13y ago
I'm confused. Is it magical because you don't understand it, or do you not understand it because it's magical? It seems like you're saying the first one.
213.
▲
Write an interpreter
(composition.al)
3 points
by
fogus
13y ago
|
0 comments
214.
▲
by
fogus
13y ago
And? Actually one definition, 'recursion' reloads the page and the other 'laziness' has no definition... yet.
215.
▲
by
fogus
13y ago
I am writing a book on ClojureScript. http://joyofclojure.com/2nd
216.
▲
by
fogus
13y ago
In reduce the accumulator starts as the seed and is changed in the forEach for each elem. Since there are so elems (funs) the accumulator never changes and returns as the value of seed (5).
217.
▲
by
fogus
13y ago
I would probably structure the problem like this: var ans = someCalculation(x,y); if (truthy(ans) && !isNaN(ans)) //do something else //do something else The point being I like to dispatch condition
218.
▲
by
fogus
13y ago
Someone has already addressed the maybeGT case, but you were right about the double problem. I had originally made it a squaring function, but for some dumb reason decided to make it a doubler instead just before submitting. There is a les
219.
▲
by
fogus
13y ago
Exactly right. We like to be able to do something like: var gtThreshold = gt(100); And then: filter(gtThreshold, array); This is nicely fluent I would say.
220.
▲
by
fogus
13y ago
Technically the are JS falsey, but I choose not to treat them that way. I rarely want to treat the result of a calculation as a boolean condition. However, I often want to know if a calculation isNaN or isEmpty. Just because something is
221.
▲
Getting Comfortable with the Softer Side of Development
(prog21.dadgum.com)
29 points
by
fogus
13y ago
|
11 comments
222.
▲
Functional's Greatest Accomplishment
(raganwald.com)
2 points
by
fogus
13y ago
|
0 comments
223.
▲
by
fogus
13y ago
Can you clarify?
224.
▲
Pixie: An Operating System for Resource-Aware Programming of Sensor Networks
(fiji.eecs.harvard.edu)
1 points
by
fogus
13y ago
|
0 comments
225.
▲
Why Our Brains Get Addicted to the Internet
(lifehacker.com)
1 points
by
fogus
13y ago
|
0 comments
226.
▲
Excision in Datomic
(blog.datomic.com)
69 points
by
fogus
13y ago
|
39 comments
227.
▲
Future programming
(blog.vivekhaldar.com)
4 points
by
fogus
13y ago
|
0 comments
228.
▲
Behind the Scenes with Chicken Scheme
(spin.atomicobject.com)
145 points
by
fogus
13y ago
|
22 comments
229.
▲
Typesafe Activator
(typesafe.com)
6 points
by
fogus
13y ago
|
0 comments
230.
▲
Bruce Sterling: Fantasy Prototypes And Real Disruption [video]
(nextberlin.eu)
16 points
by
fogus
13y ago
|
8 comments
231.
▲
Challenges Scala Must Overcome to Cross the Chasm to the Mainstream
(recursivity.com)
2 points
by
fogus
13y ago
|
0 comments
232.
▲
Noam Chomsky on Where Artificial Intelligence Went Wrong
(theatlantic.com)
2 points
by
fogus
13y ago
|
1 comments
233.
▲
One Beeeelion Dollars
(braythwayt.com)
1 points
by
fogus
14y ago
|
0 comments
234.
▲
by
fogus
14y ago
their product to explode in popularity, and they fear Lisp would actually hinder that. I've written systems in Lisp and as far as my clients know it might as well have been written in JSON. They don't care.
235.
▲
by
fogus
14y ago
> But who cares about titles, really? Why do they matter? I'm pretty sure that was the point. The term physicist doesn't make a physicist a physicist.
236.
▲
by
fogus
14y ago
> some of the research in the universities Some of that for sure could and should be called science. However, most of the research being done is not actually pure research either but rather problem solving. (and sometimes not even solv
237.
▲
by
fogus
14y ago
Not that particular software no, but I'm used my share of dreck. Maybe I guessed where the problem was and used experimentation to validate, but I would hardly call that the scientific method.
238.
▲
Desugaring Scheme with tree transformations
(matt.might.net)
4 points
by
fogus
14y ago
|
0 comments
239.
▲
Why is my TI-99/4A in Black and White?
(pagetable.com)
140 points
by
fogus
14y ago
|
46 comments
240.
▲
STLC Redux: Part II
(swannodette.github.com)
2 points
by
fogus
14y ago
|
0 comments
More ›