17,493 karma · joined May 14, 2013 (13y ago) · 5,498 submissions
Revenue focused web analytics to help you quickly identify where to focus your effort to best increase revenue.
And embersofvictory.com
Retro turn-based strategy game.
comment 11y ago · link · parent
The reality is shared, mutable state is the most efficient way of working with memory-sized data. People can rant and rave all they want about the benefits of immutability vs mutability, but at the end of the day, if performance is important to you, you'd be best to ignore them.
Actually, to be more honest, reality is more complicated still. MVCC that many databases use to get ACID semantics over a shared mutable dataset is really a combination of mutable and immutable.
comment 11y ago · link · parent
I think C is a lot harder to grasp. e.g. manual memory management, dangling pointers, unchecked casts, etc.
> One thing that could improve on C, might be very simple things like (immutable?) string as a native type, hashmaps, lambdas, etc. I would love to see some pythonic stuff into C.
Have you used Go? It has all of those things...
comment 11y ago · link · parent
I'm building a database in Go, keeping the data off-heap (which solves the GC problem for now.) The performance will lag C currently, but I do think it will eventually get close.
[1] https://groups.google.com/forum/#!topic/golang-dev/GvA0DaCI2... [2] https://docs.google.com/document/d/1TTj4T2JO42uD5ID9e89oa0sL... [3] https://github.com/golang/go/issues/8739
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
Joking aside, this study seems unlikely to have actually discovered a real effect, rather than just a group of people with lower risk and higher sauna usage in common. (Wealthy people?)
comment 11y ago · link · parent
comment 11y ago · link · parent
I may be more keenly aware of this than people in the US, but life is a global competition for resources, and it's unwise to squander your competitive edge.
Ritalin probably has more risks, I've not decided that it's worth the tradeoff yet.
I guess the core of your question is a deeper one about life, happiness, and the tradeoffs we make. I think the answer to that is different for everyone. Life is short and without intrinsic meaning. You have to focus on what gives it value for you, which is likely very different from the next person. For me, I enjoy creating things, and I feel most alive when in the zone churning out code. Most other people probably enjoy activities that are more social.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
It might not be perfect, but anything is better than the no warning we have now.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent