Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brehaut
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
brehaut
11y ago
"but what have you shipped recently?" Looks like he has shipped 14 books and at least 36 papers on software engineering methodologies.
2.
▲
by
brehaut
14y ago
optional clojure type checking: https://github.com/clojure/core.typed/ (not finished, but showing promise)
3.
▲
by
brehaut
14y ago
http://en.wikipedia.org/wiki/Pareidolia
4.
▲
by
brehaut
14y ago
Depends on the audience, and the implementation of fizzbuzz. This haskell fizzbuzz is great: http://dave.fayr.am/posts/2012-10-4-finding-fizzbuzz.html
5.
▲
by
brehaut
14y ago
The author of this article, Jim Duey, has written some newer introductions to monads in clojure on his new site: http://www.clojure.net/archive.html
6.
▲
by
brehaut
14y ago
Pedantic point: Light years are a unit of distance, not time. http://en.wikipedia.org/wiki/Lightyear
7.
▲
by
brehaut
14y ago
Pedantic note: #^ for metadata has been deprecated for at least 2 if not 3 versions. ^{ and ^:x aren't special. It's just ^ (reader metadata symbol) followed by a map and keyword respectively. Other things can also be metadata (for instance
8.
▲
by
brehaut
14y ago
kickstarters are not the sole way people contribute to projects and communities. ibdknox has created some very popular (in the clojure community anyway) software (noir, korma etc) that a lot of people build on top of. Surely this should cou
9.
▲
by
brehaut
15y ago
While not addressed to me, i'd like to chime in with some comments of my own here. One of my personal gripes with javascript as an environment is that out of the box there is exactly two composite data structures, and both are associative:
10.
▲
by
brehaut
15y ago
Simple: a fanboy is someone you disagree with and would rather attack ad hominem than engage with in rational discourse.
11.
▲
by
brehaut
15y ago
It would be remiss to not point out that noir probably has the strongest set of documentation (both api and tutorial styles) of the main three libs.
12.
▲
by
brehaut
15y ago
> Noir isn't very large None of the main clojure web libs are very large, so this applies to all of them :)
13.
▲
by
brehaut
15y ago
There is no one framework (in fact, most of clj's web ecosystem is not frameworks) that is far and away more popular than the others. At the heart of everything is Ring[1]. Ring is roughly equivalent to WSGI or Rack. However, if you use Dja
14.
▲
by
brehaut
15y ago
And to clarify, grandparent probably wants the terms 'first class function', 'anonymous function' or 'lambda' (depending on the specific usage.)
15.
▲
by
brehaut
15y ago
"If you come from a javascript background, you will have a leg up on most people in terms of learning clojure. You get used to inlining functions pretty regularly." You'd be better off listing the languages that don't have some sort of 'i
16.
▲
by
brehaut
15y ago
The other libraries are clojure libs that implement javascript analogies[1] as clojure macros and functions and generate javascript. ClojureScript is a Clojure The Language compiler that implements Clojure (its datastructures, standard lib,
17.
▲
by
brehaut
15y ago
xmlrpc[1] is similar. <?xml version="1.0"?> <methodCall> <methodName>examples.getStateName</methodName> <params> <param> <value><i4&#
18.
▲
by
brehaut
15y ago
The obvious reason for no Object/Relational Mappers in Clojure is that while Clojure has objects available, it doesn't orient around them. It makes much more sense to treat a set of records from the DB as a sequence of maps. For DBs and Clo
19.
▲
by
brehaut
15y ago
I'll look into fixing then. Do you have any suggestions for good syntax highlighting to use from either clojure or javascript?
20.
▲
by
brehaut
15y ago
Regarding Clojure, while compojure is popular, a compojure centric view of web programming is misguided. Compojure is part of a growing ecosystem of libraries built on top of ring[1][2]. Firstly this ecosystem is not analogous to rails or d
21.
▲
by
brehaut
15y ago
can you cite a source for this please
22.
▲
by
brehaut
15y ago
The corollary to Poe's law[1] is appropriate here: Even the most sincere fundamentalism will be confused with with parody by a cynical enough audience. [1] http://en.wikipedia.org/wiki/Poes_law
23.
▲
by
brehaut
15y ago
Server side code is what they have the affero GPL for: “The GNU Affero General Public License is a modified version of the ordinary GNU GPL version 3. It has one added requirement: if you run the program on a server and let other users comm
24.
▲
by
brehaut
16y ago
Seriously, if you wasted the 80s playing C64 games, it is no wonder that He-Man was always getting the jump on you.
25.
▲
by
brehaut
16y ago
main = print "Hello, World!" Not a monad in sight. Yes, print is an IO Action, but you don't have to use monads to do IO. Add in 'interact' and a you can be writing trivial stdin / stdout programs very quickly.
26.
▲
by
brehaut
16y ago
In a python repl dir(object) and help, help(object) are what you are looking for. Both these functions are in the default namespace dir(__builtins__) Returns a list of strings for all the names bound in the prelude namespace.
27.
▲
by
brehaut
16y ago
I believe you are wrong about optional static typing; type hints in clojure are purely an optimization and for clarifying dispatch: user=> (defn foo [^Integer i] (prn (type i))) #'user/foo user=> (foo 1) java.lang.Inte
28.
▲
by
brehaut
16y ago
You can replace (\x -> (length x, head x)) with (length &&& head) if you import Control.Arrow to make it fully point free
29.
▲
Start Parsing in Clojure: fnparse
(brehaut.net)
5 points
by
brehaut
16y ago
|
0 comments
30.
▲
by
brehaut
16y ago
You have (understandably) been led astray by a poorly considered title. The article demonstrates a vector based 'hand drawing' algorithm that happens to use the HTML5 logo and be implemented in javascript with canvas. Unfortunately it doesn
More ›