7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions
comment 10y ago · link · parent
Data has more value when combined, so a wise database choice also depends on what you already have. You can combine data from different systems (e.g. FDWs, which postgres has great support for), but something is usually lost along the way.
I think postgres is a good default, because it is good for a lot of things. But sure, if you make an informed decision otherwise, there's nothing wrong with that.
comment 10y ago · link · parent
The main problem someone is thinking about may be solved by a document DB, but then they also have 1000 other problems they didn't think about that are a horrible fit for a document DB.
And due to the nature of databases, where data has greater value when combined, using a new database system for every application isn't a great option.
SQL is great for business data, and passable-to-good for everything else. So the only way to beat it is by being way better at some specific thing, and finding users where that specific thing is so important that it's OK if the data is on an island.
comment 10y ago · link · parent
The fact is, what was perfectly legal yesterday will be illegal shortly, despite no new laws being passed, and no members of Congress taking responsibility.
That's called rule of man, not rule of law.
comment 10y ago · link · parent
Going around a lawyer is a good way to lose a case against her, so maybe they weren't trying to make a case against her.
Maybe they actually had some real questions that involved her expertise or knowledge she might have had.
comment 10y ago · link · parent
1. Cheaper court costs overall
2. Less ability for one party to impose huge costs on the other at little cost to themselves (any time such an imbalance exists, it can be used like extortion to force a favorable settlement).
If we solve those problems with public courts, I don't see any need for mandatory arbitration.
comment 10y ago · link · parent
It's not that the subjects are lightweight fluff, it's that the students are disproportionately so. STEM is fairly objective, so it's comparatively hard to hide your lack of depth.
But if you just want to go to college as a social signal, and a ticket to 4 years of parties, then arts and humanities will offer you a place of comfort. Not every professor for every class at every university; but at pretty much any university you can find some kind of lazy path through the arts/humanities departments.
There are a few reasons for this:
* Many professors / TAs use classes as a political platform first, and an education platform second. If you just tell them what they want to hear (a slightly avant garde kind of progressive liberalism will do the trick pretty much anywhere), you get an A or B.
* Based on the title of the course, huge mobs of lazy students will sign up assuming that it's easy (this is never a serious STEM class). The professor then adapts the grades so that a lot of them pass, because otherwise there will be a revolt.
* Universities like to provide "a path to success" for pretty much all of their students who are willing to put in even small amounts of effort. If they can't tell the difference between a concerto and a sonata, then the counselors can take them out of music theory, and put them in "post-modern ethno musical studies".
comment 10y ago · link · parent
I don't have the numbers, but it seems like a lot of the rich people that come to mind made most of their money during their lifetime.
Also, wealth naturally dissipates pretty quickly over generations. One reason is simple fan out. Another reason is that the children are likely to be less frugal, and there's s high chance that some descendants are downright reckless financially.
comment 10y ago · link · parent
You still need to weigh them against conflicting values, but if someone doesn't agree with you that issue X has a moral component at all (or if you disagree whether it's positive or negative), then you are bound to disagree forever.
When an officer asks "why? What have you got to hide?", they've turned it into a practical issue and removed the moral component that I believe exists. That's as ridiculous (to me) as asking why someone doesn't want to be punched in the stomach ("why? Did you just have abdominal surgery or something?").
comment 10y ago · link · parent
Say someone says "let me search your car, what have you got to hide?" What argument can you use against it? The problem is that we've been manipulated to believe privacy has no real moral claim. In reality, you should be able to just say "it's private" and not feel compelled to provide further explanation.
It's not so different from being punched in the stomach. You aren't going to die, so what's the problem? You heal and everything is fine. So why won't you let me punch you in the stomach?
Theft is, similarly, a moral issue. If I make something, and someone takes it, I will feel bad. Much worse than if I had to sell it to pay taxes (even if I disagree with the tax policy).
comment 10y ago · link · parent
There are reasons to make it private, but it's quite different from, say, a sculpture. Clay is nearly worthless, so if an artist turns it into a valuable sculpture, that value was created. Obviously, there's a spectrum here. Even land typically requires an investment to make it useful for anything.
Food is largely created; especially something like sausages or cheese. So the tale of the miner above doesn't really apply. It may not even apply well in that case, if the pheasants were feeding on crops cultivated by the landowner.
comment 10y ago · link · parent
And if you don't understand non-lexical lifetimes, I think that's OK. You can just be more explicit about the lifetimes and it will still work. And reading someone else's code should still make sense.
comment 10y ago · link · parent
First, on even a moderate scale, you quickly find out that democracy is not well suited to make the zillions of decisions needed to run an economy. Voters will be making too many decisions about things they know too little about.
So, they have to delegate the power. Under capitalism, government powers are somewhat limited, so delegating has some checks and balances. But under socialism, you have to delegate power over every aspect of the economy, which is basically everything.
In other words, you've just delegated arbitrary power, which has a bad history.
Even if that all works out, now you have an information flow problem. Prices no longer reflect supply and demand, so how do you deal with shortages and surpluses? What if you have 10000 people applying to be "beer taster" and zero people applying to be nurses?
comment 10y ago · link · parent
2. GCC is generally considered to produce better binaries.
3. Smart projects will support both and test with both. Before, even though projects tried to be portable, GCC was the only compiler most developers had available. Now they have two (although clang does try to support almost everything GCC does, so it doesn't say a huge amount about portability).
4. If you want to quickly see whether an optimization was applied (like inlining or loop unrolling), looking at LLVM is more approachable, so clang is nice for that.
comment 10y ago · link · parent
So what your asking is to define behavior for all code, such that the compiler can prove locally that's it's well-defined. That's not a crazy idea, and a lot of languages do that.
But C counts itself as special, for better or worse.
I think we really just need more alternatives. There's C++, Rust, Ada, and not much else. I am very hopeful about rust.
comment 10y ago · link · parent
I'm not limiting their options. I guess if one of my children is absolutely determined to jump into big time debt to go to Harvard, I probably wouldn't stop them.
But I won't destroy myself financially just because I'm afraid to explain to my children that choices have costs (list price of Harvard is something like $80k/yr). Also, my children are more different in age, so if I go broke on the first one, the next one wouldnt have the same opportunity.
The choice I'm offering is really not a bad one. I'll pay something reasonable, and if they can make up the difference with work and scholarships, great. If they want to do research, they can always go to MIT for grad school.
Also, by the time they go, things might be different. So many people got burned by the "go to whatever college you want, regardless of price" idea that it might shatter the prestige of any private school below ivy league. Or more people might do the first two years at CC before going to university, and that might carry less stigma.