Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cgag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
451.
▲
by
cgag
12y ago
14 years is fucking absurd.
452.
▲
by
cgag
12y ago
I love Haskell because I don't have to depend on my working memory. It's so nice to have the compiler tell me everywhere some type I've changed is used, or places I've forgotten to consider possible values.
453.
▲
by
cgag
12y ago
I've started using ddg instead of consistently skipping it by using g! since the new design came out. I didn't really grok how much the design played into my trust of its results until now. Big improvement imo.
454.
▲
by
cgag
12y ago
It's like calling a writer a writer.
455.
▲
by
cgag
12y ago
That's fair if you're only doing a one semester for non-majors thing. I just saw "our undergraduates" and the debate about learning C and took it to mean starting a CS education with C. Those things I mentioned are how
456.
▲
by
cgag
12y ago
a = [1,2,3] b = a b += [1] => a == [1,2,3,1] a and b point to the same piece of memory even if you don't have to explicitly deal with pointers, you need to reason about them
457.
▲
by
cgag
12y ago
Instead of teaching them about function composition, recursion, data abstraction, and all the interesting concepts of computer science you end up teaching them a bunch of incidental stuff about memory locations and syntax. Python suffers fr
458.
▲
by
cgag
12y ago
I feel like somewhat is really underselling it.
459.
▲
by
cgag
12y ago
The rest of her blog is great as well, I really like her stuff about os-dev with rust.
460.
▲
by
cgag
12y ago
Does esqueleto not do it for you? Can you be explitit about whats missing for you? Is it just oracle or sql server support?
461.
▲
by
cgag
12y ago
Chris Allen / coolsunglasses maintains a great gist of a learning path for haskell: https://gist.github.com/bitemyapp/8739525 The current intro course looks really nice: http://www.seas.upenn.edu/
462.
▲
by
cgag
12y ago
I don't know, maybe it's because I didn't grow up in HackerNews social circles, but I always felt like I was the only one who thought the concept of a "dream job" was disgusting, and hated jobs in general. I think
463.
▲
by
cgag
12y ago
It would be after a little while of using the language, I just don't think it should optimize for new users.
464.
▲
by
cgag
12y ago
words are easier grep for, but I'd rather read x = (2 * 2)/y instead of "x assign 2 plus 2 divide y"
465.
▲
by
cgag
12y ago
The next version of GHC should improve those numbers significantly, but I would also note that there are much more significant reasons to consider using Haskell than the difference between 37k and 43k req/s.
466.
▲
by
cgag
12y ago
Still seems strange to me that they're that low.
467.
▲
by
cgag
12y ago
I don't know, I think the excitement around angular was because it made things easy, while the excitement around react is based on its simplicity of its model. It's a deeper thing than just being a shiny new thing imo.
468.
▲
by
cgag
13y ago
The short answer is no. There's honeysql which basically lets you express sql in terms of Clojure's datastructures so you can get more reuse than you can with straight SQL strings, but it's not really an ORM as I understand
469.
▲
by
cgag
13y ago
This is more or less the philosophy of the Clojure community when it comes to web frameworks. Not sure what you're reasons for using Go are, but if you're open to dynamic typing you would probably appreciate Clojure's emphas
470.
▲
by
cgag
13y ago
I like seeing people embrace static typing, but it makes me sad that it's a language where you can't even write a container (a map/dictionry/linked-list/etc) without giving up type safety. I recognize that Golang is
471.
▲
by
cgag
13y ago
1) Being able to describe it succinctly doesn't make it simple or easy. Mutability creates huge cognitive load. Every piece of mutability state adds exponentially more possible states for you to keep in mind. 2) http://en.w
472.
▲
by
cgag
13y ago
I would just accept the hash, I think a lot of us prefer it to the pseudo keyword args. (defn message [text {:keys [style color]}] ...) (message "Text" {:style :bold :color :red}) To the person asking, that {:keys [st
473.
▲
by
cgag
13y ago
Love the bit about conduits, lenses and data abstraction, really excellent stuff. The intro may not be interesting for people already into haskell but he makes a solid case for it if you're not sold.
474.
▲
Generating Data URIs with Haskell
(curtis.io)
1 points
by
cgag
13y ago
|
0 comments
475.
▲
by
cgag
13y ago
React is the sanest one I've seen.
476.
▲
by
cgag
13y ago
Get an android and use textsecure if you actually care about people not reading your messages.
477.
▲
by
cgag
13y ago
I don't get why POROs would need some special API. I also don't get why you're pulling code out into things like ConfirmGrouper that still depend on the DB. Why not a true PORO and something like ConfirmGrouper.for(grouper)?
478.
▲
by
cgag
13y ago
I just started playing with Scotty while I learn, but I'm beginning working on a web app in Haskell and was leaning towards using Snap. I'll almost certainly pick this up. That new IO manager is a beautiful thing.
479.
▲
by
cgag
13y ago
I just figured out how to do this yesterday, here's the source of my barebones Scott/Persistent/Esqueleto app. All it does is insert some records into the db (sqlite), then runs a server that displays the first entry. (The
480.
▲
by
cgag
13y ago
Yeah, I can't see any reason to trust Hemlis.
More ›