2,179 karma · joined Aug 27, 2009 (17y ago) · 285 submissions
cryptographer
comment 12y ago · link · parent
comment 12y ago · link · parent
(Of course, I'm assuming that you meant this, so it's not a correction -- I'm just taking the opportunity to explicitly mention it.)
comment 12y ago · link · parent
You need to realize that people can know what IP is and still disagree with you.
comment 12y ago · link · parent
Rudeness of the person you're replying to aside, I think it's well explained elsewhere in the thread that the Rust people have made choices that don't necessarily give great speed on pointless microbenchmarks (making a bunch of processes that do nothing) in favour of performance on CSP tasks where your CSPs actually do things.
comment 12y ago · link · parent
1. A technical sense: Canonical has a significant amount of distribution-specific software that has very little adoption outside of the Ubuntu ecosystem. Examples include:
* their own version control system, bzr (which I think has now been essentially abandoned in terms of development, and other than a few GNU projects never saw much uptake at all);
* their own desktop shell, Unity, which to the best of my knowledge has never been properly packaged for any non-Ubuntu distribution; their own display server, Mir, whose development is the subject of much controversy, and which has been rejected for well-founded technical reasons that have probably already been discussed at length on HN;
* their own init system, Upstart, which was initially adopted by other distributions, who then abandoned it in favour of systemd due to its fundamentally flawed design (for instance, there is no way to 100% reliably keep track of a process's children and the dependency resolution runs backwards, meaning that some configurations can cause hangs).
2. A social sense: Canonical's relationship with the rest of the Linux ecosystem has soured (beginning, in my opinion, around 2009-2010, but as a gradual thing, it's hard to pin down) to the point of outright hostility. In my opinion, most of the responsibility for this lies with Canonical's poor communication with others. There's a very detailed history of some events from 2009-2011 that you can read here [1] detailing their relationship with GNOME.
The culmination this year has been disgraceful personal attacks by Mark Shuttleworth on people who raise technical criticism of Canonical's software. I expect that more will follow whatever the fallout of Debian's systemd decision is.
The two are obviously related. The big problem is that there's (again, in my opinion) very little community appetite for contributing to Canonical's software. And why would there be, given that in order to submit patches for Ubuntu Touch, I need to give Canonical permission to relicence my code under any proprietary licence they choose? At that point, it's not a community contribution, it's just working for Mark Shuttleworth for free.
Does Canonical have the software engineering capability to maintain a bunch of stuff (an init system, a display server) that's really unrelated to their problem (making awesome products for users) and still be able to take on Android at the same time? I don't think so.
[1]: http://bethesignal.org/blog/2011/03/12/relationship-between-...
comment 12y ago · link · parent
The distinction is between understanding an instance of a concept (stress is a tensor) and the concept itself (what is a tensor, i.e., what exactly is it that stress shares with all other tensors). This is why the explanation in terms of a universal property is more difficult to understand: because by virtue of stripping away the extraneous details, it shows you the concept as it applies to all instances of the concept.
comment 12y ago · link · parent
Composition is great. It does not solve the same problem as generics. The reason people can't seem to "get" the idea of statically typed languages without generics is because static typing without parametric polymorphism is a painful experience.
I'm not opposed to the idea of finding some balance between static and dynamic typing -- Clojure type annotations seem interesting -- it's just that I don't like the way Go does it.
comment 12y ago · link · parent
I also don't really have a lot of excitement about the prospect of solving problems by composing types in Go. For instance, to the best of my knowledge, Go does not have language support for sum types. It's not that I'd rather use continuations or callbacks -- I like powerful, expressive type systems to do, e.g., static enforcement of contracts -- it's just that I think that Go's type system isn't very expressive.
You're right, perhaps I'm totally misinformed about the language, and that lurking below there really is a way to do clear and clean things with types in Go. But everything I've seen points in the opposite direction, so at this point, though I have an open mind, I'd need more evidence to change my view.
comment 12y ago · link · parent
> Go is that _slim_, and that's good! Guaranteed you'll find use for Go in one system or the other...
I'm all for learning new programming languages, but if you're going to learn a new programming language, why not use one that has new ideas?
comment 12y ago · link · parent
func (a ByAge) Len() int { return len(a) }
func (a ByAge) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
func (a ByAge) Less(i, j int) bool { return a[i].Age < a[j].Age }
How does forcing me to type out (or copy-paste) an implementation of Swap increase safety? If anything, it just makes the code more error-prone.And not having generics means that (as far as I can tell) people end up using a lot of `interface{}`. How does that increase safety?
More importantly, why would I want to use a language whose solution to the problem of "dealing with generic data" essentially boils down to "use a void*"?
comment 12y ago · link · parent
Text secure is great, though. Really, really great.
comment 12y ago · link · parent
I may be wrong, but my understanding is that Rust's constants are actually constant, and proved as such by the compiler, which is a major difference over C++.