Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danneu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
331.
▲
by
danneu
12y ago
I ported my 7-year-old vBulletin community to a forum I wrote from scratch with Clojure + Datomic earlier this year. Datomic was a nice choice since it makes it trivial to expose a post's edit history. It also makes it easy to query fo
332.
▲
by
danneu
12y ago
Planning a missile strike by drawing a crude world map with an explosion (labeled "explosion") is like planning a killing spree by drawing a stick figure with an uzi in each hand mowing down other stick figures.
333.
▲
by
danneu
12y ago
It's demonstrating the difference in quality of data, not city development.
334.
▲
by
danneu
12y ago
;; good (defn print-seq [s] (when (seq s) (prn (first s)) (recur (rest s)))) ;; bad (defn print-seq [s] (when-not (empty? s) (prn (first s)) (recur (rest s)))) Why use `seq`
335.
▲
by
danneu
12y ago
It's his next pump and dump. https://xrptalk.org/topic/2629-selling-my-xrp/
336.
▲
by
danneu
12y ago
I agree. I misinterpreted your initial comment.
337.
▲
by
danneu
12y ago
The original title is "Don't Link that Line Number" which also isn't what the article is saying, so the HN re-title is an improvement. An accurate title would look more like "Use commit-specific links when linking t
338.
▲
by
danneu
12y ago
Martin Berglund might be Scandinavian. https://translate.google.com/#en/no/horizontal
339.
▲
by
danneu
12y ago
They're unique while remaining loosely related to the products they describe. The http://en.wikipedia.org/wiki/Z%C3%B3calo is the city center (of Mexico City's historical district), a simple and untaken metap
340.
▲
by
danneu
12y ago
Any sort of system I've tried to come up with for reading and writing only ensured that I didn't do either. I rarely read my stuff. And much of it I don't really want to read. — Once I have the power of hindsight, reminding m
341.
▲
by
danneu
12y ago
Last night I discovered Koa ( https://github.com/koajs/koa ). > Koa is a new web framework designed by the team behind Express, > which aims to be a smaller, more expressive, and more robust > fo
342.
▲
by
danneu
12y ago
Consistently journaling has been my most valuable habit over the past 5 years. It's the only way to relive thoughts I'll never have again because I become jaded. It's also a great way to grasp just how much of everything I fo
343.
▲
by
danneu
12y ago
It simply means there's no obvious fingerprint that builtwith.com was able to detect. For example, the default Express app contains `X-Powered-By: Express` in the response header. Ruby on Rails is usually sniffed by its predictable coo
344.
▲
by
danneu
12y ago
> One thing I've been having trouble with as my project gets more complex is when to refactor. I usually wait until (A) something is painful and (B) I have enough instances of that pain to see the pattern that my refactor/abstr
345.
▲
by
danneu
12y ago
I also went Ruby -> Clojure. Ruby appealed to me because of its simplicity and conciseness, but after a couple years it turned out to actually be rather complex. I found the simplicity and conciseness I was looking for when I was randoml
346.
▲
by
danneu
13y ago
This has been going on with my forums for many years. Mostly users spamming objectionable content, but sometimes I get slapped for having ads on login/404 ("contentless") pages and other rule violations. I get disabled, Googl
347.
▲
by
danneu
13y ago
Here's a quick introductory resource: http://www.learndatalogtoday.org
348.
▲
by
danneu
13y ago
There isn't one cohesive solution. I imagine most people evolve helper functions around https://github.com/clojure/java.jdbc and then use something like https://github.com/jkk/honeysql or ht
349.
▲
by
danneu
13y ago
He's condemning "low-quality spammy for-SEO" guest blogging. Googlebot doesn't magically know when you're guest blogging or gaming it. All it can do is pattern-match against heuristics that you can avoid.
350.
▲
by
danneu
13y ago
I had the opposite experience. It's pretty obvious how to do anything in Clojure. I don't need to hunt down magical incantations to use libraries like I had to in Ruby. I started Clojure for web development. Once I found out about
351.
▲
by
danneu
13y ago
For example, Lars Bak (virtual machine master) is the head programmer of V8. http://en.wikipedia.org/wiki/Lars_Bak_(computer_programmer)
352.
▲
by
danneu
13y ago
Good idea. Here's my Clojure script: https://github.com/danneu/onetab-to-pinboard
353.
▲
by
danneu
13y ago
When I think of other developers like me that are building projects solo on top of Express/Sinatra/Compojure, the most helpful resource would be a simple checklist. For example, the CSRF section could briefly explain what cross-s
354.
▲
by
danneu
13y ago
> Yes, it would be simplificantly simpler to edit html > if it wasn't stuck in between two strings > ... > m("body class='application", ... You would put attributes in an object.
355.
▲
by
danneu
13y ago
This is the kind of simplicity that brought me to Clojure for the past couple years.
356.
▲
by
danneu
13y ago
> Great code needs no comments. The most valuable comments that code can't obviate are comments that explain why the code was written this way, the intent, and a summary of how the code fits into the overall picture -- may
357.
▲
by
danneu
13y ago
My great life simplification was to aim for a library I can enjoy when shuffled without having to babysit the "Next" button. Sadly I was far from that in my most meticulous days where I wouldn't even delete tracks I hated bec
358.
▲
by
danneu
13y ago
Yeah, this must be it. Here's a screenshot of the settings option: https://dl.dropboxusercontent.com/spa/quq37nq1583x0lf/42zarc... "Do not display a comment once it is flagged [Off/1 time/3 tim
359.
▲
by
danneu
13y ago
It was my first attempt at writing a client-side Javascript app: https://github.com/danneu/speed-reader/blob/master/src/cljs/...
360.
▲
by
danneu
13y ago
I tried to make something similar while learning Javascript (ClojureScript). http://jsfiddle.net/P7c3s/
More ›