90 karma · joined Aug 15, 2019 (7y ago) · 112 submissions
comment 7y ago · link · parent
Everybody who has money buys stuff. People that click on ads are probably more easily persuaded into buying shit they don't need. I don't have any data on this, but it's highly questionable whether an ad-clicker buys more stuff in general.
comment 7y ago · link · parent
It doesn't silently transform O(1) to O(n), the code is explicitly O(n^2) space worst-case. The only 'silent' transformation that could happen here is an optimization to improve performance. Also, I don't know where you got the 'enormous constant time overhead' part.
> Algorithms that are optimal under the mutable data assumption are different than algorithms that are optimal under the constant data assumption.
A normal programmer wouldn't be defining writing their own sort functions. A normal Haskell programmer would understand mutability in Haskell.
> Performant programming in Haskell requires a much more intimate understanding of the underlying architecture than performant programming in, for instance, C++.
It really depends on what you're writing and how much performance you actually need. Implementing a moderate-complexity parallel data processing algorithm in Haskell may result in a slightly slower but much simpler implementation than C++. An implementation of the same complexity in C++ may be slower than Haskell. Writing performant, parallel, safe code for a moderately complex algorithm in C++ is far from easy.
comment 7y ago · link · parent
[1]https://www.haskell.org/onlinereport/haskell2010/haskellch10...
comment 7y ago · link · parent
comment 7y ago · link · parent
https://www.gnu.org/philosophy/keep-control-of-your-computin...
comment 7y ago · link · parent
comment 7y ago · link · parent
Anything can have a philosophy. Just because someone is a communist or a feudalist shouldn't prevent them from contributing or being part of a free software project.
> The way rms treats people involved in GNU goes directly to what is meant by 'community.'
Has RMS done anything to prevent people from using GNU software? Has he attempted to move GNU in a direction that would violate its stated goals or philosophy? Has he made the software any less free or any less respectful of users' freedom and community?
comment 7y ago · link · parent
Sorry, but what does the controversy surrounding Stallmman have to do with user empowerment and trust? Has Stallman been preventing people from using GNU software? Does the trustworthiness of this free, open source software diminish because of Stallman's opinion on some social/political issues that are completely unrelated to software?
comment 7y ago · link · parent
comment 7y ago · link · parent
You can say the same thing about production Java code buried under layers of frameworks, factories, facades, proxies, aspects, annotations, etc. I don't see why readable, maintainable code can't be written as easily in Haskell as Java, C++, Python - you just have to make writing clean code a priority.
comment 7y ago · link · parent
[1] https://www.hoax-slayer.net/leptospirosis-death-warning-rat-...
comment 7y ago · link · parent
I don't get why some languages adopt the 'PascalCase for types' approach (which is fine), but then a bunch of the built-in types such as 'string', 'set', 'int64', etc. are lowercase... it's annoyingly inconsistent.
[1] https://nim-lang.org/docs/nep1.html#introduction-naming-conv...
comment 7y ago · link · parent