Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jrajav
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
421.
▲
by
jrajav
14y ago
This is a good point, and may be an argument for having a "formal_maybe" or perhaps having it check at least as many arguments as there are formal arguments. However, I don't think that this situation would be as important in practical us
422.
▲
by
jrajav
14y ago
Oh, I do see now that there's a license.txt at the top level of your blog repo. Now I feel silly. :) (Context: I contacted the author before publishing to see if this was alright.)
423.
▲
by
jrajav
14y ago
This would make it unusable for a function that, itself, uses the 'arguments' variable rather than formal arguments. Function arity in Javascript is a tricky subject when we touch on partial application and other functional programming tech
424.
▲
by
jrajav
14y ago
The functions covered in the article, if anyone wants to play around with them: https://github.com/jrajav/rcombinator
425.
▲
by
jrajav
14y ago
You might not want to pay to have your brain preserved to perpetuity, but I'm pretty sure that some would.
426.
▲
by
jrajav
14y ago
Function#bind isn't the greatest solution, since it forces you to set 'this' and only allows left-to-right, flat application. Many people have written partial application libs to make it easier to work with (I even have one of my own on git
427.
▲
by
jrajav
14y ago
+1 for a "C++: The Good Parts". With a resource like that I might be interested in taking another look at the language.
428.
▲
by
jrajav
14y ago
> The min. requirement to downvote, I'm told, moves upward ever so slightly. That is what is told, but I think it goes upwards in increments. I recall clearly that I first saw the down arrows right at 500.
429.
▲
by
jrajav
14y ago
Mathematica borrows heavily from FP and is well known for its computational performance. And yes, a lot of its guts are imperative, but most of the internal libraries that encapsulate the actual mathematical concepts are written in Mathemat
430.
▲
by
jrajav
14y ago
I think this article raises a great point overall, but the Fibonacci example is a bit weak and smacks of a strawman. Functional programming tutorials that teach you to write a recursive Fibonacci or factorial calculator are not doing so wit
431.
▲
by
jrajav
14y ago
"How to price a product" would have been just as fitting, but less patronizing and baity.
432.
▲
by
jrajav
14y ago
If you like Objective-C but not Apple's runtime, you should check out ObjFW: https://webkeks.org/objfw/
433.
▲
by
jrajav
14y ago
Isn't something like this done for the Windows >=7 taskbar icons too? Only for a single color, though.
434.
▲
by
jrajav
14y ago
> What you have stated is an article of faith from the structured programming movement back in the 1970s. There should be one and only one exit from a function or loop. However this is an article of faith that does not tend to be backed
435.
▲
by
jrajav
14y ago
Agreed (assuming you meant point #2). Having multiple returns in a function is a huge code smell to me. It looks great at this size, but can get unwieldy very fast. The second half of this article looks like a typical refactor cycle for me
436.
▲
Dart's approach to illiterate programming
(news.dartlang.org)
7 points
by
jrajav
14y ago
|
0 comments
437.
▲
by
jrajav
14y ago
This. I think the simplicity of HN is brilliant, especially since everything is geared toward encouraging thoughtful, productive discussion. If you think something is especially interesting for some reason, or that a certain kind of content
438.
▲
by
jrajav
14y ago
Up in Minneapolis, Minnesota.
439.
▲
by
jrajav
14y ago
I'm sure it's correlated to artists/albums that get featured in major review publications, since Metacritic is about aggregating the results of those reviews.
440.
▲
by
jrajav
14y ago
For those interested in a non-signup-for-something solution, I've been tracking album releases for a long time with http://www.metacritic.com/browse/albums/release-date/new-rel... (I believe there is an RSS feed, but I don't use it). Ther
441.
▲
by
jrajav
14y ago
I was about to say - seems like more of a claimer to me.
442.
▲
by
jrajav
14y ago
As nice as it is to link to the actual interview, the blog post does so as well, and adds its own content to the mix. I don't see what's pasted or spammy about this.
443.
▲
by
jrajav
14y ago
I don't think it's specific to Ruby-ists. Hackers in general cannot resist commenting when you criticize something that they've devoted time and energy to, and found to be cool. I think this is a good thing.
444.
▲
by
jrajav
14y ago
Slightly higher content: http://blog.functionspace.org/news/2012/11/28/know-more-abou...
445.
▲
by
jrajav
14y ago
If you use Chrome, there are extensions like this one: https://chrome.google.com/webstore/detail/facebook-disconnec...
446.
▲
by
jrajav
14y ago
If you like gists, markdown, and quick-and-nasty publishing: http://gist.io/ I'd still prefer something like this for the actual drafting, of course.
447.
▲
by
jrajav
14y ago
I was only mentioning that sense of "free" tangentially, and I wasn't bemoaning my own situation, just theorizing that they could get much greater mass market penetration (which they seem to want) with a free tier. I guess it wasn't very cl
448.
▲
by
jrajav
14y ago
This reminds me of the interactivity of Light Table. Actually, a lot of features of Mathematica - not to mention the language itself - make me think "You know, this is pretty damn cool. I wish I could actually use it." Am I the only who wis
449.
▲
by
jrajav
14y ago
This adds very little in the way of thoughtful, substantial conversation. Can you elaborate on exactly why you're disappointed? If it's for the same reason as the submission, do you have anything to expound on?
450.
▲
Ask HN: How to make myself marketable?
7 points
by
jrajav
14y ago
|
3 comments
More ›