Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
gw
12y ago
Take the example of a simple game where you move a player around. In statically-typed languages, it is typical to define a type called Player containing two floats representing the x,y position. In a dynamically-typed language, it is typica
122.
▲
by
gw
12y ago
No, that's not what I was referring to. Perlis' quote refers to something much more fundamental. When you make custom data structures (classes, types, etc) to represent each distinct part of your problem, this specificity makes yo
123.
▲
by
gw
12y ago
I too have noticed that static typing enthusiasts use dogmatic rhetoric more often than their opponents. One reason may be that the benefits of static typing are more obvious (catching type errors, documenting code). The largest benefit of
124.
▲
by
gw
12y ago
Currently I'm living about 20 minutes outside the city on $450/mo rent, utilities included except gas. I eat really cheaply by buying in bulk from Sam's Club, though about once a week I go out drinking/eating. I don'
125.
▲
by
gw
12y ago
This rings really true, and it's not just for artists or authors. I moved to Pittsburgh so I could take a year off and just work on free software. I had about $10k in savings and it lasted the whole year. You can get even cheaper rent
126.
▲
by
gw
12y ago
I've been using Gittip for my free software projects, and while I am nowhere near being sustainable, it's more than I expected to get. There is certainly room for two players (see Kickstarter/Indiegogo), and I much prefer Git
127.
▲
by
gw
12y ago
It is nice that he mentioned Light Table. I would not be surprised if Swift ends up really benefitting Clojure adoption indirectly. I think one of the big hangups for newcomers is that, if you don't have experience with a Lisp, it'
128.
▲
Show HN: A tool for making live-moddable games in Clojure
(nightmod.net)
6 points
by
gw
12y ago
|
1 comments
129.
▲
by
gw
12y ago
We weren't arguing about formal correctness, so I can only assume you have stumbled into the wrong thread. We were discussing whether safety-critical software still involved a tradeoff between lacking bugs (or "errors" as Dij
130.
▲
by
gw
12y ago
There is always a tradeoff, even for projects where lives are at stake. We do not have infinite time or resources. Nobody but you used the term "loose standards"; the argument is that all projects involve a tradeoff between speed
131.
▲
by
gw
12y ago
I've taught a few kids using Scratch and it works quite well. I'm happy to hear they're working on an HTML5 version, and hopefully it will be possible to install if offline like the current Adobe AIR version does. I teach wit
132.
▲
by
gw
12y ago
I've wondered what the story was on Go's dependency management, so I'm glad someone brought it up at the end of the keynote. Pike said that it was up to the community to develop tools to deal with that. This is what happened
133.
▲
by
gw
12y ago
Thanks for mentioning my project. I just updated it tonight to support 1.0!
134.
▲
by
gw
13y ago
One thing I've always found bizarre is that ClojureDocs hasn't been updated since 1.3. I know it isn't an official resource so you may not be able to do anything about it, but it's always at the top of Google's resu
135.
▲
by
gw
13y ago
I actually linked to that in the post. I don't think a pure Java app would necessarily be easier; you would still need to use native dialogs and a Java-Cocoa bridge to deal with sandboxing.
136.
▲
by
gw
13y ago
Yes, if you use Leiningen separately, you'll have two separate .m2 folders.
137.
▲
Clojure on the Mac App Store
(nightweb.net)
135 points
by
gw
13y ago
|
34 comments
138.
▲
by
gw
13y ago
I hope this only applies to apps targeting the next API version. As of now, Clojure apps have issues with ART: https://groups.google.com/d/msg/clojure-android/J4cxkMRW2QA/...
139.
▲
by
gw
13y ago
Fair enough; I haven't used Haskell but I know intuitively that a Clojure library won't be able to replicate the sophistication of its type system. On the other hand, the dynamic nature of Clojure is what makes REPL-driven game de
140.
▲
by
gw
13y ago
He did indeed say he preferred static typing, but I wonder if his opinion would change if he learned about core.typed. He would probably still prefer Haskell, because he doesn't like things like that to be optional, but nonetheless I m
141.
▲
by
gw
13y ago
I did actually make a few simple games while making this library. None of them are complete, but they definitely helped to make things more concrete. https://github.com/oakes/play-clj-examples
142.
▲
Show HN: A Clojure game library
(github.com)
93 points
by
gw
13y ago
|
31 comments
143.
▲
by
gw
13y ago
You can write and compile standard Java apps on Android with AIDE [1]. For young kids, you can make games on Android with Pocket Code [2] using a visual programming UI similar to MIT Scratch. [1] https://play.google.com/stor
144.
▲
by
gw
13y ago
This is not true. Like any resource, gold tends to cost more to extract from the earth over time. As deposits diminish, we must look elsewhere and settle for gold ore with fewer parts per million. This requires more expensive technology and
145.
▲
by
gw
13y ago
Courts don't exist to solve all disputes, surely. One clear indication that this is not an appropriate dispute to solve using men with guns is the fact that she had to rely on awkward legal maneuvers (retroactively registering the phot
146.
▲
by
gw
13y ago
Absolutely spot on. I have no sympathy for the villain, but this story sums up modern America: 1. A prudish culture in which women are fired for the slightest revealing photo. 2. A litigious culture in which courts and police are heavily re
147.
▲
by
gw
13y ago
Nightcode wasn't on the survey, but I hope someone besides me wrote it in! I should've held a write-in campaign.
148.
▲
by
gw
13y ago
Truisms that assume the very thing under debate are generally considered not useful in moving a discussion forward.
149.
▲
by
gw
13y ago
Was she a hypocrite for buying from state-run food depots when she lived in the Soviet Union, as well? Are free market advocates now obligated to starve themselves before taking money out of a system they were forced to pay into? That'
150.
▲
by
gw
13y ago
The same problem persisted after I did a fresh install, so in this case there is something that it doesn't like about my computer, a Lenovo G780.
More ›