1,816 karma · joined Jun 14, 2011 (15y ago) · 1,039 submissions
comment 9y ago · link · parent
Actually, what's interesting is that both Lisp macros and C++ templates allow this to work pretty easily if you set up the boiler plate well enough. All this article is really talking about is making it easier to set up and use that boilerplate (e.g. put it in the language).
> What's really huge for maintainability is this thing called aspect-oriented programming: Don't litter each of your classes with a line of boilerplate for this and another line for that. Make a file "serialize.cpp" that contains the serialization code for all the types, and nothing else.
And that works if your project is not meant to ever be extended. But generally the point of having object oriented systems is being able to make new objects that can take the place of old ones. Of having abstraction.
comment 9y ago · link · parent
My house may look the same, but it's been built by different people, different electricians, on different land. It probably has a different internal structure, different materials, and slightly different external marks, because it was rebuilt from the ground up.
Copyright would apply if I used the exact same blueprints, but if I hired an architect to make blueprints with the same external design as another house that would be similar to clean room design and not a violation of copyright. Like how Google can make a copy of the Java API (they only got hit for having the same implementation written by the guy who wrote the version oracle had copyrighten in the first place).
In the analogy it would be theft if I took your house, put it on my land, and claimed it was mine. And that's what it is to commit criminal copyright violation (e.g. you distribute copies for profit, claiming you own it). Yes in the digital world copies don't deprive the other of anything tangible, but like stealing a house, it does deprive them of the work that was invested to build that expression in the first place.
comment 9y ago · link · parent
Yes, however, for the same reason people can own summer homes they don't use for half a year and retain that exclusivity - even though it wouldn't disturb the people - is because they worked for that. They built it, or paid someone who did. We allow people to enforce their exclusive rights on property even when it wouldn't disturb them to let others use it.
Similarly, if I spend a billion dollars building a piece of technology, I should be able to own that. And decide who gets to use it, even if giving it away to everyone wouldn't disturb me. If someone else built their own version of my software (like building their own summer home) they could give theirs away for free (open source) or sell it. But if they broke into my summer home, rented it out, and then left everything exactly the way it was, that's still illegal because they profited from my property, my work.
If you believe in private property (rather than say personal property, which would allow you to own a house exclusive to other people, but not to own multiple properties and only use one at a time) it's hypocritical to not believe in some form of copyright (unless you are advocating for feudalism, where work does not count as value, and the owners of the land or tools worked get the products of the labor by default).
comment 9y ago · link · parent
I'd rather be able to email everybody and have it be annoying to switch than be able to only email people on my chosen provider (and then have to make an account on every service anyway).
comment 9y ago · link · parent
The person you are replying to is wrong, the free market is what allows for corrections that are starting to happen (e.g. cheaper better books, student groups publishing their own books, etc.) it's just that Sweden has a free market with better conditions than many free markets in the U.S. so they get faster reactions in their prices.
But you are wrong in a worse way, you don't even understand what you are advocating for.
Edit: To expand on the copyright is property argument. Copyright allows you to own the result of your work. If someone happens to make something very very similar without ever seeing your copyrighted work, they have the copyright to their work, and you to yours. Like property you only have that which is yours (e.g. if I built a house on my land that looks exactly like my neighbors, I still own my property and the house; but if I took their house and put it on my property I wouldn't); this is why certain techniques like Clean Room development allow companies to build very similar products that are all protected by copyrights assigned to each company. The problem you have is with patents which allow the patent holder to claim all work done that matches the patent (even if the patent holder never actually made something that matched the patent; which is especially absurd).
comment 9y ago · link · parent
Judges are supposed to be people who can be trusted to be objective. They are chosen (or, before they were elected, and politics became divisive) for their trustworthiness and objective scholarship. Historically they were well educated, of a higher class, perceived to be of a higher moral character.
The point is judges are expected to be mostly objective, and use external information responsibly.
comment 9y ago · link · parent
So judges can be assigned cases they are interested in or suited for through that system.
comment 9y ago · link · parent
comment 9y ago · link · parent
(sarcastic variation of a similar sentence from the article)
comment 9y ago · link · parent
This software is used for self-defense. If you install it on your laptop and someone steals it you can lock them out and take pictures of them, etc. (it is your property after all).
comment 9y ago · link · parent
* The common lisp condition system [3, 0] is a way better way to do errors.
* Tune-able compilers [1] allow you to make better trade offs than even gcc allows for c, let alone Clojure's very opaque compiler.
* CLOS [2] is a very powerful object system which clojure does not replicate (they have multi methods, and java classes, but not a meta class system; think python's meta class features but better (because of macros and compiler access) and with multi methods designed in).
* Nice native interoperability (Clojure generally being on the JVM, and common lisp capable of direct calls and memory manipulation).
That being said. Clojure's unparalleled concurrency features are amazing. I would compare them as: if Clojure is the Java of lisps, then Common Lisp is the C++ of lisps.
[0] http://www.gigamonkeys.com/book/beyond-exception-handling-co...
[1] http://franz.com/support/documentation/current/doc/compiling...
[2] http://www.laputan.org/pub/papers/MOP.pdf
[3] http://axisofeval.blogspot.com/2011/04/whats-condition-syste...
comment 9y ago · link · parent
comment 9y ago · link · parent
No we don't. But we do know the other people in the office made jokes about the manager telling the author to cover up. I think they might have shared a "Don't feel bad, she told me to cover up too" story if they had been told that.
> In general if dress codes are sexist, they're sexist against men.
Most offices I have worked at do not require men to wear suits and ties. Also, if you wanted to wear a skirt management wouldn't be able to get upset at you unless your contract specifically said you would follow the company dress code without a lawsuit. Also, I've seen men wear kilts to an office before, and that's also a protected class.
I don't know what you are talking about here.
comment 9y ago · link · parent
This isn't a fixed point number system, because you are now using a non-fixed point number representation (e.g. two numbers; which can't be represented in fix point because of their repeating nature) to represent your fraction. Trying to get all of that behavior right is more error prone than just using an arbitrary precision library in the first place.
comment 9y ago · link · parent
This statement works fine. If the numbers are farther than sigma apart then `abs(x - y) > sigma` is true as it should be. It's not distance to 0, it's distance from each other related to 0 that matters.
> There are also problems with granularity. Suppose x and y are both much, much larger than sigma
This is part of the same problem. You have to choose a maximum acceptable value. And ensure you don't overflow it, and then you can choose a sigma based on that maximum value such that the difference between any two numbers never exceeds sigma. In practice you already have a maximum value for your domain that the simulation should never exceed or it means it is incorrect anyway.