Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
301.
▲
by
jpr
16y ago
How does that whole "pipe entire objects back and forth" thing work? I mean it seems that there must be some huge machinery to facilitate that kind of thing. For example, if I pipe object from my program to another, how does the other progr
302.
▲
by
jpr
16y ago
That looks like a nice solution. I wonder what the question was.
303.
▲
by
jpr
16y ago
If that were the case, the set of programmers who use C++ should be much smaller than it is currently. To me, this article describes yet another reason to not even try learning C++.
304.
▲
by
jpr
16y ago
I would say "outside".
305.
▲
by
jpr
16y ago
Yeah. I think I would personally go for two fields -- first name and last name -- with a hint that 'if unsure, use lastname' so that the rather common(?) 'sort by lastname' would make at least some sense in most cases, and the requirement t
306.
▲
by
jpr
16y ago
Well, as far as I can tell, you are screwed anyway you do it, so you might as well do the simplest thing.
307.
▲
by
jpr
16y ago
Huh, isn't it obvious? Accept anything as a name.
308.
▲
by
jpr
16y ago
They should name the filter "Cockblock".
309.
▲
by
jpr
16y ago
About packages and namespaces: Package is essentially a collection that maps symbols to values. In CL packages have (at least) two namespaces: one for functions, other for any kind of variables. The reason for this is that when you write th
310.
▲
by
jpr
16y ago
Finding a method definition is quite easy in CL: just use the function 'find-method': http://www.cs.cmu.edu/Groups/AI/html/hyperspec/HyperSpec/Bod... Though grep would probably do just fine too, since method definitions are defined with '
311.
▲
by
jpr
16y ago
Lisp-1 vs Lisp-2 is about whether functions and other variables are in the same namespace or not. Packages are orthogonal to this. Also, generic functions in Common Lisp don't suffer from nearly the same amount of complexity as can be found
312.
▲
by
jpr
16y ago
So, one signal per minute?
313.
▲
by
jpr
16y ago
Which language(s) are you using for your application and db?
314.
▲
by
jpr
16y ago
> syntax modification Hmm, have I missed something? What features are you talking about?
315.
▲
by
jpr
16y ago
It isn't, and people who say so probably don't know Lisp very well.
316.
▲
by
jpr
16y ago
To me as a Lisp user, Python breaks more than it fixes. Lexical scoping? Nope, can't have it. Code as data, data as code? Not really. Literals for data? Compilation to native code? Compiler/interpreter warnings? Warnings for name collisions
317.
▲
by
jpr
16y ago
Am I supposed to take article with that title seriously when it starts with: > PC vs. Mac Under what reasonable definition is a Macintosh not a personal computer?
318.
▲
by
jpr
16y ago
The definition of Comparator-interface includes only two methods, .compare and .equals. The documentations says that it is always safe to not override .equals, so we're left with just .compare. This effectively means that each comparator is
319.
▲
by
jpr
16y ago
Maybe it's just that I'm not a native English speaker, but this title seems very misleading to me. Though the BBC's title isn't much better.
320.
▲
by
jpr
16y ago
Yeah, but that just seems wrong . It's like "I have this function, but I can't actually refer to it, so I'll have to wrap it in this thingamajig just so that I can pass it around".
321.
▲
by
jpr
16y ago
(sort list #'string-lessp) still wins in my book :)
322.
▲
by
jpr
16y ago
Recently I was reading a debate about biking helmets (don't remember which kind of biking), and someone said something along the lines of "when you ride without a helmet, you are taking your life in to your own hands". I wonder whose hands
323.
▲
by
jpr
16y ago
You can implement type inference and lazy computations in standard Common Lisp. You can't implement macros or proper runtime redefinition of functions in standard Haskell.
324.
▲
by
jpr
16y ago
I for one don't understand why it needs both? Wouldn't it be a lot simpler to use only one or the other?
325.
▲
by
jpr
16y ago
I have a feeling you might enjoy Common Lisp + Emacs + Slime.
326.
▲
by
jpr
16y ago
Sometimes I wonder whether I should really try Ruby, but brainfarts like these always remind me why I decided against it the last time.
327.
▲
by
jpr
16y ago
> Mixing data and code in the memory of a running program is what has lead us to every exploit involving a buffer overflow or a stack smash. Not exactly. The totally unsafe programming model of C is what has caused this. Once you have u
328.
▲
by
jpr
16y ago
Another problem is that the "acceleration" slot actually describes the opposite of what one would think.
329.
▲
by
jpr
16y ago
I just died a little inside. Knowing that there are people out there that would inflict this kind of nonsense as a standard for others to use makes one really lose faith in humanity.
330.
▲
by
jpr
16y ago
> Say it with me: > The iPad is not a computer. You and I both know that's a lie. And I don't utter lies, especially ones that only exist to serve big companies at the expense of ordinary people.
More ›