Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tkahn6
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
571.
▲
by
tkahn6
16y ago
The main thing to take away is that: When a function uses global state to compute a value, it's like the global state is an argument to the function. When a function modifies global state, it's like it returns both the value it computes an
572.
▲
by
tkahn6
16y ago
Since Haskell is statically typed, I think it's a feature, not a bug, that type parametricity is implemented at compile time. Also, I think what you're describing is the difference between parametric polymorphism and ad-hoc polymorphism.
573.
▲
by
tkahn6
16y ago
Or have closures yet.
574.
▲
by
tkahn6
16y ago
I think `nonlocal` is a prime example of a leaky abstraction. Can anyone explain the advantages of using references for normally primitive variables?
575.
▲
by
tkahn6
16y ago
I think you answered my question. By syncing I meant that, for instance, when a customer makes a purchase, a whole chain of events unfolds (databases are updated, keys are sent out, analytics packages are updated).
576.
▲
by
tkahn6
16y ago
Everything turns out ok though: http://www.joeydevilla.com/2008/01/09/calvin-and-hobbes-off-...
577.
▲
by
tkahn6
16y ago
Patrick, this was really a great read. It wasn't clear to me from the article, but it seems that a lot of the 'syncing' of information between databases and services was programmed by hand by you. How much time did you spend on this and if
578.
▲
by
tkahn6
16y ago
There's also the Google Tech Talk from the author: http://www.youtube.com/watch?v=hQVTIJBZook
579.
▲
by
tkahn6
16y ago
In what world do you live in that honing a skill for 10 years longer than someone else counts for nothing? In fact, as computing moves forward, I believe the amount of insight gleaned in the early years of programming decreases. I think I w
580.
▲
by
tkahn6
16y ago
The article argues that most hackers are hackers because their parents were wealthy. At some point you must accept that this argument is no longer applies for some generation of hackers and those that follow it. I submit that 10 years ago,
581.
▲
by
tkahn6
16y ago
Computer penetration in the US in 2001 was 61% and for the most part, those who didn't have a computer felt that they didn't need one[1]. Most incoming undergrads were 8 in 2000 so I would assert that this argument has no basis going forwar
582.
▲
by
tkahn6
16y ago
Can anyone explain why Steve thinks Haskell is 'doing it wrong' when it comes to type systems?
583.
▲
by
tkahn6
16y ago
SD card notifications appear on the left while network information appears on the right.
584.
▲
by
tkahn6
16y ago
I think without the statements about the iPhone as a fashion item, your comment is insightful.
585.
▲
by
tkahn6
16y ago
I'm sorry that you lost so much karma over this. For what it's worth this is the funniest comment I've seen in a while.
586.
▲
by
tkahn6
16y ago
Did anyone else initially think this was related to functional programming?
587.
▲
by
tkahn6
16y ago
I would challenge that you can group people into those three categories. I'm interested in everything from quantum physics to category theory to python, but I have zero interest in basket-weaving techniques of the 18th century.
588.
▲
by
tkahn6
16y ago
I too often feel pretty guilty with myself unless I'm learning or creating or teaching. I appreciate knowing that this is a common phenomenon among hackers. To the parent: Thanks for the reading suggestion. I will check that out.
589.
▲
by
tkahn6
16y ago
You should check out Linus' tech talk at Google about Git. Not only is Linus a really good speaker, he explains how a DVCS like git changes the workflow when it comes to managing the 'main' repository. Spoiler: He has a 'circle of trust'. H
590.
▲
by
tkahn6
16y ago
I think becoming interested in more stuff would be a necessity for anyone with immortality. Otherwise you'd be miserable.
591.
▲
by
tkahn6
16y ago
I too am interested in a lot of things. But it would be a trivial exercise for me to name something you're not interested in.
592.
▲
by
tkahn6
16y ago
I don't know about that. Since we're going on anecdotal evidence, out of my 25 or so friends who play videogames, I'm the only one who programs. An analog to your statement would be: "I like movies" often translates into "I want to work in
593.
▲
by
tkahn6
16y ago
I don't do any graphics programming and so I don't really understand the various features of OpenGL or DirectX. If they hadn't said that OpenGL 4.1 is better than DirectX, the article would have meant very little to me, but I understand you
594.
▲
by
tkahn6
16y ago
How do you plan on monetizing the site?
595.
▲
by
tkahn6
16y ago
Would something like lift f = (return . f) Be a functor? [Edit: It says on Wikipedia that a functor maps a function in one category to a function in another category]
596.
▲
by
tkahn6
16y ago
Also fmap :: (Functor f) => (a -> b) -> f a -> f b fmap f (Just x) = Just (f x) So fmap (\x -> x * x) (Just 4) => Just 16 Am I correct in saying that `fmap` is a functor which lifts the
597.
▲
by
tkahn6
16y ago
This is probably a good place to share www.brics.dk/~hosc/local/LaSC-8-4-pp293-341.pdf The first 11 pages really helped me understand the motivations for monads and it explains bind and return. It's written really clearly and doesn't assume
598.
▲
by
tkahn6
16y ago
If it works for you, more power to you. :)
599.
▲
by
tkahn6
16y ago
I think karmic is a better word to describe my feeling. schadenfreude carries a connotation that I didn't intend to convey.
600.
▲
by
tkahn6
16y ago
I was more responding to the authors statement about how he thought that doing what you're told and getting good grades in school would lead to real-world success. It's been my experience that getting good grades has very little to do with
More ›