Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ibdknox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
481.
▲
by
ibdknox
15y ago
Not "cool" per se, but here's something that works :) (require '[goog.dom :as dom]) (def body (aget (dom/getElementsByTagNameAndClass "body") 0)) (defn elem-factory [tag text] (let [elem (dom/createElement tag)]
482.
▲
ClojureScript gets a REPL that drives the browser
(github.com)
92 points
by
ibdknox
15y ago
|
9 comments
483.
▲
by
ibdknox
15y ago
Let me know if you have any questions and, as always, any feedback is greatly appreciated!
484.
▲
Clojure's Noir releases 1.1.0 with full set of docs
(webnoir.org)
16 points
by
ibdknox
15y ago
|
3 comments
485.
▲
by
ibdknox
15y ago
The Celadon Cedar stack has "undocumented" support for leiningen projects (Clojure). I'm not sure about anything else though... That being said, a big selling point of the new architecture is that they should be able to add new languages/fr
486.
▲
by
ibdknox
15y ago
Out of curiosity, was this inspired by my service? http://iwbyp.chris-granger.com/
487.
▲
by
ibdknox
15y ago
Can you give me an example of what that would look like? Or a description of the flow you'd want to achieve?
488.
▲
by
ibdknox
15y ago
I did originally, but I wanted more control on how middleware gets wrapped around the app, as well as the ability to have dev and production "modes". Each of these adjusts what middleware goes into the stack and how it reacts.
489.
▲
by
ibdknox
15y ago
I use vim ;)
490.
▲
by
ibdknox
15y ago
I honestly never really saw the appeal in those... There's a link to the source there though, so that's roughly equivalent :)
491.
▲
by
ibdknox
15y ago
Zak's characterization is basically correct. Noir isn't really a replacement for those things, more of an abstraction over them. It was born out of seeing how a real web-app evolved and what was missing from the ring/compojure/hiccup stack
492.
▲
by
ibdknox
15y ago
I agree that it depends pretty heavily on who is doing your HTML. That being said, you can just not use the defpartial stuff and instead include Enlive to use with Noir just as well. There are purposefully no constraints on what you use to
493.
▲
by
ibdknox
15y ago
Absolutely! I don't claim to be an encryption expert, by any means. :)
494.
▲
by
ibdknox
15y ago
An oversight on my part :) Luckily, that is an exceptionally easy thing to fix. Edit: and now it is :D
495.
▲
by
ibdknox
15y ago
Given that the point of this is to have fun and also tease out people worth hiring, having ambiguity in the problems is a good thing I think. Rarely is a real technical problem so clearly and obviously defined. So requiring a bit of thoug
496.
▲
by
ibdknox
15y ago
Let me know if there's anything else you guys would like to know about!
497.
▲
Stats from "I will build your prototype"
(chris-granger.com)
5 points
by
ibdknox
15y ago
|
1 comments
498.
▲
by
ibdknox
15y ago
I can't comment on Scala, but I think Clojure is starting to get to the point where you can learn just Clojure and not have to think about Java until much later. At some point you'll assuredly interact with Java some, but there are a ton of
499.
▲
by
ibdknox
15y ago
Cool project! I looked over your code very briefly and noticed you don't tend to use destructuring very much. It was something that took me a while to get used to too, but it turns out to be very useful and makes the code much smaller. Take
500.
▲
by
ibdknox
15y ago
I don't, actually. I left 6 months ago. :)
501.
▲
by
ibdknox
15y ago
Nope! He means 48 contiguous hours :D It was originally built for the node knockout competition.
502.
▲
by
ibdknox
15y ago
srsly.
503.
▲
by
ibdknox
15y ago
That's fair and that's not my intent. Honesty is a fickle friend. :) I'll give it a quick update.
504.
▲
by
ibdknox
15y ago
I've been spending my time in SF lately, though I make it back to Redmond every couple of months.
505.
▲
by
ibdknox
15y ago
You make some fair, though invalid, assumptions. 1) It's true, I cannot magically produce an entire photo-editing app in two weeks, but this makes the assumption that I won't be very frank with what I will deliver. It also makes the assumpt
506.
▲
by
ibdknox
15y ago
Yes, my goal with using Clojure is 3 fold: 1) Selfish - I really like Clojure 2) I hope more people will see Clojure as a viable language to develop websites in 3) It's obscure enough that most people won't try and turn this into production
507.
▲
by
ibdknox
15y ago
I actually think the timeframe works out perfectly. With two weeks you can have something complete enough to watch people use (or not) what you intend to build a business out of. At the end of the day, it's hard to learn much until you see
508.
▲
by
ibdknox
15y ago
I would be happy to!
509.
▲
by
ibdknox
15y ago
Should that happen, I'll consider it a good thing :) I'm not entirely convinced it will, but we'll see. I would schedule projects out if it became necessary.
510.
▲
by
ibdknox
15y ago
Haha, I guess I am unusually qualified to talk about those different domains. It's actually kind of funny - when I was interviewing with MSFT I begged and pleaded to get on the ASP.NET MVC team. I was previously a lead web developer and wro
More ›