7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions
comment 13y ago · link · parent
The author makes it sound like negotiating over an estimate is a character flaw.
Stereotypically, men are more likely to negotiate over almost anything. At least that comes up during discussions of pay inequality; I'm not really sure what the facts are.
Also, negotiating is probably a more common, habitual practice among "rich" people (by which I assume he means businessmen, lawyers, etc.). I don't see any evidence that it comes from some kind of classism; rather, it's a useful and important skill in their job.
People who really don't know anything about handywork are likely to use what they do know to attempt to get quality work at a fair price.
comment 13y ago · link · parent
But in any case, you do need to know whether you have copyright ownership of the code or a suitable license before you use it in a contribution.
comment 13y ago · link · parent
Average CO2 per person in the US is around 17 tonnes per year[1].
A single flight from LA to NYC (round trip) is equivalent to about 2 tonnes after taking into account some high-altitude effect[2].
Driving 12,000 miles per year at 25mpg releases about 4 tonnes[3].
So, if you cut your driving in half and then take one long domestic flight, you are just breaking even. If you take multiple long flights per year, you really have no hope of staying below the average carbon footprint for an american. Unless maybe you live in a tree or something.
I'm not saying this to be critical. I fly, and I am not ashamed of that. But we should be honest with ourselves, and not think that riding a bus once in a while and buying locally-sourced vegetables makes up for taking three international trips a year.
[1] http://en.wikipedia.org/wiki/List_of_countries_by_carbon_dio... [2] http://en.wikipedia.org/wiki/Environmental_impact_of_aviatio... [3] http://www.stewartmarion.com/carbon-footprint/html/carbon-fo...
comment 13y ago · link · parent
If done right, I can see those being useful. I agree that it can be overdone, though.
comment 13y ago · link · parent
That is not the job of the Supreme Court. They are supposed to decide based on what the law says, regardless of the result. If you disagree with the law, then write to Congress.
But it's fair to ask whether this will produce better or worse results. It's a good observation that this will cause publishers to shift out of poorer markets and increase the use of DRM[1].
The previous situation was not perfect though, either. To interpret that statute geographically would be a major restriction on trade; and if not, would create a lot of ambiguity. Nobody wants to purchase something from another country if they are worried that the manufacturer will come in later and take it away because it had some copyrighted design (which could be anything) on it somewhere.
I believe the results will be better overall (by a lot) under the new interpretation of the law. Clarity and simplicity about where you stand as the owner of property is incredibly important.
One way to think about it is that nothing has changed. The publisher can still create a contract with the buyer that says they won't resell it in another region. It's just that the "default" purchase contract does not give the publisher that right. And we should make defaults match expectations as closely as possible, otherwise people are entering into contracts they don't understand. The notion of purchasing a product has many expectations that go with it that have been developed over millennia. To allow the publishers to inject extra terms that contradict those expectations just to fit their particular business model is ridiculous.
[1] Though DRM wouldn't be nearly as bad if there were no DMCA and if the sellers were forced to call it "licensing" rather than "buying". Again, the default purchasing contract should match the expectations of both parties.
comment 13y ago · link · parent
Yes, they have a contract. That is the best indication possible that the customer wants what you are selling.
If I trust someone else with my money, and they transfer that trust over to a salesperson, then they have violated my trust.
I don't want to hear about "blame to go around" and "the salesman should have sold us less stuff". Maybe apply some shame or sanctions to the salesperson, I suppose, but I really don't care unless there was some kind of kickback involved.
Allowing the stewards of your money to redirect blame onto Cisco for selling too much stuff seems so overwhelmingly naive that I don't know where to begin.
comment 13y ago · link · parent
It takes a lot of nerve for someone who just wasted my money (federal dollars) to try to blame it on the other party for fulfilling the order.
comment 13y ago · link · parent
That's a bad example. Nobody does that, unless they are really trying to solve a sorting problem.
This article comes down to: "don't reinvent the wheel", without really any supporting examples to guide you further than that.
comment 13y ago · link · parent
What is the data type of the beginning of a range of time, if not a point in time? I'm having trouble even defining ranges without points.
I'd be interested to hear your suggestions in more detail. There's a temporal data LinkedIn group that you are welcome to join (I haven't been as active lately, but I'll try to get back into it). It would be a better forum to discuss matters like this.
comment 13y ago · link · parent
First, I liked the example of SQL as a language that is not concurrent but can be parallel. In theory, I guess almost any language can be parallelized, but it wouldn't work out very well in many cases.
Also, I liked his introduction of distributed haskell. Obviously he didn't go into much detail, but he mentioned enough about what it's trying to accomplish that I'd like to take a look. Erlang is nearly the only game in town here (that I know about, anyway), so I look forward to learning more about the haskell community's take on distributed computing.
comment 13y ago · link · parent
I agree, but that gets a little too philosophical. Does an integer exist? What about characters: is my "a" really the same as your "a"?
The way I see it, there are a lot of practical reasons to look at time as a total order for some things, even if ranges are available. Programming languages and databases should model reality, but only in the sense that it's relevant to what you are trying to do. If you are writing a scheduling app, then ranges of time are very important, and should be their own data type. If you just want to tell your customers when they bought some widget, a point in time makes more sense.
comment 13y ago · link · parent
This case seems like an outright violation, however. If the standard says that ####-## is a year-month date with month granularity, and you interpret it as an ordinal date, then that's a clear violation. It means that others communicating with you won't just get an error, they will get the wrong answer, which is much worse.
comment 13y ago · link · parent
If I understand correctly, the complaint is that: ISO 8601 defines ####-## to be a year and month only, and it should have the granularity of a month; but Ruby treats it as an ordinal date.
It seems like it could be said much more clearly with an example:
irb(main):011:0> Date.iso8601("2012-12")
=> #<Date: 2012-01-12 ((2455939j,0s,0n),+0s,2299161j)>
It's treating ####-## as an ordinal date, when the standard says that it's a month-granularity date.comment 13y ago · link · parent
However, I strongly agree that ranges of time are a very useful concept, and I spent a lot of time implementing Range Types[1] in postgresql for that reason. I think Ruby should have both ranges of time and points of time (and ideally work with the SQL counterparts seamlessly).
[1] http://www.postgresql.org/docs/9.2/static/rangetypes.html
comment 13y ago · link · parent
The OS can either keep it resident or swap it out, but it has no way of knowing that it is no longer in use (short of something like madvise()). In the realm of sanity, the OS can't just arbitrarily throw away memory that a process has written to (unless it also kills the process).
comment 13y ago · link · parent
"TCMalloc currently does not return any memory to the system."[1]
That means if you have many long-running processes, then each of them will consume the maximum amount of memory that it ever has. Not good for a multi-tenant setup.
If it's a dedicated server running one multi-threaded application, maybe that's OK, although I'd be a little bit wary anyway.
I should note that, even if the application doesn't let the memory go, the OS could page out the inactive regions. Not really something that I would like to rely on, though. There are some other caveats also, like it would make memory accounting a little trickier ("Wow, that process is huge! Oh, never mind, it's mostly paged out.").
For what it's worth, I just spent considerable effort to get rid of tcmalloc due (in part) to problems like this. [2]
[1] http://goog-perftools.sourceforge.net/doc/tcmalloc.html
[2] You wouldn't think it would be a lot of effort, but we were using dynamic libraries that were linking against tcmalloc, which is outright dangerous if the main executable isn't linked against tcmalloc (you don't want to replace the allocator in a running executable). And some of those libraries were actually using the tcmalloc-specific features/symbols, so I had to get away from that first.
comment 13y ago · link · parent
That is just plain wrong.
The reason it's hard to insure people on a flood plain is not that they are high risk. It's because the risk of flood is too statistically dependent: if you get flooded, your closest 1000 neighbors probably also got flooded. Unless you are a very large insurer (to the point bailing out ten thousand homes is just another day at the office), it's just really hard to hedge that risk. Same thing for earthquakes.
Insurance works best on independent risks: car accidents, major medical events, lawsuits, even fires.
"The prevailing thought is, when nature strikes, the government must bail people out."
So the author's claim is essentially that the people of Canada want to subsidize the risky lifestyle of people on flood plains?
I guess it's probably true to a degree; people prefer to have costs hidden from them by indirection. But that doesn't mean that it makes sense economically.
What might be a better analogy is flood insurance and insuring the health of people with unhealthy lifestyles. Do we want to subsidize people who eat junk food all the time and never exercise? For the most part, we are (in US and Canada, at least), but I don't think that's a good idea, either.