Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
prospero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
211.
▲
by
prospero
17y ago
I'm not much for dressing up, but I feel like this is asking why someone was meditating when they could have spent that time thinking about stuff. Some people use clothing as a means of mental preparation for entering a non-casual situation
212.
▲
by
prospero
17y ago
http://github.com/ztellman/penumbra/ It's very much a work in progress, but there some interesting stuff in there. Especially of note is the GPU-driven Mandelbrot viewer ( http://github.com/ztellman/penumbra/blob/master/src/example/... )
213.
▲
by
prospero
17y ago
It sounds like we have similar interests; I've been working on a library for Clojure which wraps OpenGL and allows for shader programming in an idiomatic DSL. It's been a lot of fun to develop, and I agree that graphics programming has a t
214.
▲
by
prospero
17y ago
I've just posted an example of using Penumbra to create a simple game: http://news.ycombinator.com/item?id=1141556
215.
▲
Creating a Simple Game in Clojure
(ideolalia.com)
57 points
by
prospero
17y ago
|
4 comments
216.
▲
by
prospero
17y ago
I'm not saying they were dumb for thinking OOP was a great leap forward at the time, I'm just wondering how correct they were in retrospect. OOP is ubiquitous enough that it's hard to find a baseline for comparison.
217.
▲
by
prospero
17y ago
With our technology, with objects, literally three people in a garage can blow away what 200 people at Microsoft can do. Literally can blow it away. and later: I feel the same way about objects, with every bone in my body. All software w
218.
▲
by
prospero
17y ago
Why is it impossible to use by itself? You can browse the internet, you can buy media off of iTunes, you can edit documents, and you can send email. The point is that the iPad is sufficient for the average user, but it prevents the gradua
219.
▲
by
prospero
17y ago
The dev tools today for the iPad cost $99, the reference is free with the tools. And how much for the computer which is capable of running those dev tools? The point is that the iPad isn't a device which can be used to modify itself, and
220.
▲
by
prospero
17y ago
You don't have to convince me that incremental development at the REPL is a good thing. But what you're talking about is package management, and Java is perfectly capable of creating an uberjar that contains all dependencies. Even if LispW
221.
▲
by
prospero
17y ago
So Lisp's great advantage over Java is that you don't have to put "import ..." at the top of the file? Clearly it's more fundamental than that. Trying to eke out minor victories over other languages on every front just trivializes the area
222.
▲
by
prospero
17y ago
One definition of "crazy code" is some monument of complexity that has accreted around a simple core. Another definition, though, is something that approaches the problem at right angles, bypassing all kinds of incidental complexity. This
223.
▲
by
prospero
17y ago
Yeah, I agree. For larger websites, the described approach would probably never fly. For a personal blog, though, I think it's a reasonable way to go.
224.
▲
by
prospero
17y ago
Under the described setup, you don't have to recompile anything. Using the REPL, you can redefine functions one at a time, without ever taking down the server. For a simple site, I think this trumps ease of deployment.
225.
▲
by
prospero
17y ago
(I like to get a backtrace with the location of the error, when errors happen, at least like in Python) Can you elaborate on this? Clojure does have stacktraces, you know.
226.
▲
by
prospero
17y ago
Speaking personally, I didn't donate out of some sense of duty to the abstract concept of open source, I donated because I have a vested interest in seeing Clojure succeed. If it reaches prominence as a language, that has a real, long-term
227.
▲
by
prospero
17y ago
Donated $100. Rich Hickey is amazingly prolific; even if this only supports an hour or two of his work, that translates into very real improvements to Clojure.
228.
▲
by
prospero
17y ago
There are metrics for problems which are studied in-depth before engineers are let loose to solve it. That's not true of most software projects.
229.
▲
by
prospero
17y ago
This is only one side of the coin. The other is protocols: http://www.assembla.com/wiki/show/clojure/Protocols .
230.
▲
Exploring the Mandelbrot set with your GPU
(ideolalia.com)
5 points
by
prospero
17y ago
|
0 comments
231.
▲
by
prospero
17y ago
In a year, do you only listen to 180 new songs? Do you know which songs those will be ahead of time? Subscription is about discovering music, not owning it. For people who value that, it's a very useful and fairly priced service.
232.
▲
by
prospero
17y ago
As far as I understand it, Factor has a regular grammar and macros, so I don't see any reason why it couldn't do exactly what I've done here with Clojure. My comment above was referring more to Java, which is generally considered to be the
233.
▲
by
prospero
17y ago
I mentioned in the post that it wasn't an apples to apples comparison. That being said, I think that ease of development is a more practical metric for comparison than the underlying methods. Clojure lends itself to translation into GLSL,
234.
▲
by
prospero
17y ago
Thanks for the suggestion, I'll look into it further. The code that binds Penumbra to JOGL is pretty small, so it would be easy to swap something else in if it seems clearly superior.
235.
▲
by
prospero
17y ago
I chose the one that seemed closer to vanilla OpenGL, because that's all I really wanted. I don't claim to be an expert, though. What would LWJGL give me that JOGL doesn't?
236.
▲
by
prospero
17y ago
The difference in performance is because the Clojure code is targeting the GPU rather than the CPU. This generally results in a faster, but more verbose solution (see this "hello world" in OpenCL: http://developer.apple.com/mac/library/do
237.
▲
Performance in Factor, Java, and Clojure
(ideolalia.com)
26 points
by
prospero
17y ago
|
16 comments
238.
▲
by
prospero
17y ago
Sure. I'm not trying to say that Windows was ahead of its time, but rather that Apple seems to be making a big deal out of a feature I'm kind of shocked they didn't already have.
239.
▲
by
prospero
17y ago
.NET has had runtime-wide thread pools since its inception. Unless there's something fundamental about GCD that I'm missing, that puts Windows at least 7 years ahead of OSX on this count.
240.
▲
by
prospero
17y ago
I don't think you understand Clojure as well as you think you do. Java libraries often expect interfaces to be passed in as a parameter, and Clojure proxies are just a way of generating anonymous interfaces. This is not the de facto metho
More ›