Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gmartres
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
gmartres
15y ago
If you had experience in a functional programming language, you'd have recognized this as a fold and written the foldMyStructure function. If your Visitor pattern solution is similar to the example code in https://secure.wikimedia.org/wiki
62.
▲
by
gmartres
15y ago
So, what should you use when coding in Java? In my experience the standard API is terrible, inconsistent and frustrating. (Not that I'd use it anyway, the language itself is too limited).
63.
▲
by
gmartres
15y ago
Yeah, I know how monads work, what I mean was that according to the examples you don't seem to enforce purity(nothing like the IO monad). And I've never found types to be a burden in Haskell, the type inference works great so that you can u
64.
▲
by
gmartres
15y ago
So, Haskell without types and monads basically? ;)
65.
▲
by
gmartres
15y ago
That's interesting, but excluding the "reducing to combinatorial forms" thing, which only seems to be an implementation detail, can't this all be done in Scheme or another Lisp dialect? "no distinction between data and function" goes hand i
66.
▲
by
gmartres
15y ago
So, how is this different/better than other functional languages?
67.
▲
by
gmartres
15y ago
Chrome: https://chrome.google.com/webstore/detail/feoeglchiaabaccccn... Firefox (with the Stylish extension): http://userstyles.org/styles/49963/google-toolbar-whitener
68.
▲
by
gmartres
15y ago
See https://rjlipton.wordpress.com/2011/04/13/even-great-mathema...
69.
▲
by
gmartres
15y ago
More importantly, you left out the "minimal Debian box" part. With modern desktop environments, you can just plug your printer, wait a few seconds for it to tell you it's installed, and your done. Way easier than on any other OS.
70.
▲
by
gmartres
15y ago
So, what's the intuitive equivalent to monadic parsers combinators? (see http://www.cs.nott.ac.uk/~gmh/monparsing.ps which incidentally is a great introduction to monads). Similarly, now that I have some understanding of monads, I find my
71.
▲
by
gmartres
15y ago
> (especially when the worst of them happened a while ago). The whole https://secure.wikimedia.org/wikipedia/en/wiki/Standardizati... thing is quite recent.
72.
▲
by
gmartres
15y ago
The whole point is to verify that transactions are legitimate: https://en.bitcoin.it/wiki/Category:Mining
73.
▲
by
gmartres
15y ago
The Java UIs suck, but that only speaks for the quality of Java. Qt has managed to make great looking cross-platform software for a long time now.
74.
▲
by
gmartres
15y ago
Are you saying that you can do better type analysis in C# than in Haskell?
75.
▲
by
gmartres
15y ago
How is mobi more closed than pdf? It seems to be well documented: http://wiki.mobileread.com/wiki/MOBI
76.
▲
by
gmartres
15y ago
Further explanations on the "Mu" thing and its relation with catamorphism[0](a fold[1] that works on every datatype): http://stackoverflow.com/questions/4434292/catamorphism-and-... and http://www.comlab.ox.ac.uk/jeremy.gibbons/publicati
77.
▲
Linux kernel management style
(kernel.org)
5 points
by
gmartres
15y ago
|
0 comments
78.
▲
by
gmartres
16y ago
I'm pretty sure HN didn't replace IRC.
79.
▲
by
gmartres
16y ago
Thanks for that! I've been trying to use the libraries found at http://www.jsoftware.com/trac/base/browser/trunk (svn co http://www.jsoftware.com/svn/base/trunk/ ), but I can't seem to be able to load anything: % jconsole |file nam
80.
▲
by
gmartres
16y ago
At least, Nokia released Qt under the LGPL. Plus there's the KDE Free Qt Foundation which guarantees that "This agreement ensures that the Qt will continue to be available under both the LGPL 2.1 and the GPL 3. Should Nokia discontinue the
81.
▲
by
gmartres
16y ago
Try KDevelop 4. Its semantic highlighting is really awesome. And most importantly it doesn't get in your way. Unlike Eclipse or even Qt Creator which I find frustrating to work with.
82.
▲
by
gmartres
16y ago
Yes, especially since Mobility really is a weird beast. See http://doc.qt.nokia.com/qtmobility-1.1.0/gallery.html . Maybe it's just me but this screams "over-engineered", I still haven't figured how you're supposed to use it.
83.
▲
by
gmartres
16y ago
Because mathematics is part of what defines us? You could apply your argument to any topic taught in school: history, literature, physics, ...
84.
▲
by
gmartres
16y ago
> Yes, but one simple computer animation could give you the same understanding of the engine as if you had built the engine yourself. That must be one impressive animation.
85.
▲
by
gmartres
16y ago
For a great explanation of how integral relates to summing the product of infinitely many terms, see: http://betterexplained.com/articles/a-calculus-analogy-integ...
86.
▲
by
gmartres
16y ago
There's a great book with that exact title: http://books.google.com/books?id=cyyhZr-SffcC&lpg=PP1... See also part 2(not available on google books apparently).
87.
▲
by
gmartres
16y ago
Great! It just lacks an option for case-insensitive search.
88.
▲
by
gmartres
16y ago
I disagree, the following: int* foo, bar; could be interpreted as declaring two pointers, whereas: int *foo, bar; makes it clear that only the first variable is a pointer.
89.
▲
by
gmartres
16y ago
That made me think of Haskell, so to compare here is the equivalent(and of course totally inefficient) Haskell version: [p| p <- [2..n], all (\i -> p `mod` i /= 0) [2..p-1]] So, has this language more to offer than list compre
90.
▲
by
gmartres
17y ago
I'm not a native English speaker, but isn't "minds" more appropriate than "spirits"?
More ›