7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions
comment 9y ago · link · parent
Germany or the UK might be reasonable comparison points. Not perfect, of course (still huge differences), but it's much more likely that there is a real lesson somewhere.
comment 9y ago · link · parent
I suggest writing applications, or libraries closer to applications (e.g. a specific library that parses a special data format important to your domain), where you have a clear goal but not a clear path to the goal in mind. In other words, hacking.
Let's say the author had finished the Trie. What good experience could he possibly have? It's not going to magically run faster than the C++ version or use less memory. It's a well-known algorithm so there probably aren't subtle bugs in the C++ version that rust would have caught. The best you could possibly say is that it was faster to write -- which is exactly why it skews the experience toward familiar and permissive languages.
I am trying to learn rust (albeit very slowly) by doing some hacking to make it work better for postgres extensions. I know postgres, and I think it would be cool if it were easier to write postgres extensions in rust. Of course you can today, but you'd have to use a lot of unsafe FFI calls.
comment 9y ago · link · parent
You can say that this deal is what's best for them. But whatever harm killing this deal may have done is much less than the harm from letting the elites decide what's best for them without the courtesy of even an explanation.
I think there were a lot of people that voted for Trump simply because the elites told everyone that they had to vote for Clinton. It's a way to remind the government that the people are in charge.
comment 9y ago · link · parent
But if you have a Ferrari, you don't use it to take your child to school in 14 seconds, you drive it on the open road.
Show a case where serial index builds are impractical, but parallel builds bring it back to a reasonable level.
EDIT: this sounded more negative than I intended. Obviously parallel index build is an important feature.
comment 9y ago · link · parent
If you have only a few plausible opportunities, you are likely to make them count. If you have a hundred but 50 are phony, you will waste your time, feel entitled to results (hey, I went to college, I deserve a good job!), and become discouraged.
comment 9y ago · link · parent
But some people have the opportunity at time t-10, another at t-9, ..., t, and then still have no results at time t+1.
Or, labelling a huge category like "college" as an opportunity ignores the details about how good of an opportunity it is versus other things that could be done eith those resources.
comment 9y ago · link · parent
Some government programs really do spread opportunity, but that requires close examination and criticism; I don't just buy into it because a politician calls it opportunity. Is college an opportunity? It can be a huge opportunity to get ahead in life; but it can also just subsidize a partying lifestyle and a phony major for four years. It depends on the college, the student, and the structure of the opportunity.
It's hard to tell the difference between spreading opportunity and spreading results. It often requires looking at the details, measuring along the way, and it is often different for different people.
comment 9y ago · link · parent
If you are writing a library to render the latest web image format, or implement the latest secure network protocol, then your choices are limited and Go is not an option.
Sure, you could write it in Go and then Go programmers could use it.
But if you write it in C or rust, it could be the de facto library for nearly all languages.
The article is a good one, but doesn't really influence my personal opinion much.
comment 9y ago · link · parent
The first reason is that the relational model is a combination of logic and set theory, which happens to be great for a lot of business applications.
The second reason is that people have adapted SQL surprisingly well to other kinds of data, like JSON. Even if you try to build a database system specialized to JSON, it will still probably come out worse because getting things like storage, replication, administration, etc. right takes a long time.
The third reason is that data has more value when combined seamlessly with other data. So if you have business data (which everyone has) and JSON, you are better off with a single system that is great at business data and OK at JSON, than two specialized systems.
Keeping these things in mind makes it easier to understand SQL in my opinion.
comment 9y ago · link · parent
I disagree strongly. Concentrating responsibility concentrates power, which is dangerous. Governments should share power internally, share between levels (federal, state, local), and leave a lot of the power with the people (who may use it for private enterprises, NGOs, etc.).
comment 9y ago · link · parent
* Pricing: How about transparent pricing up front for all non-emergency services? That means the price you pay, and that your insurance pays. Not some mystery of "you are responsible for some unknowable amount if the insurance company doesn't pay" or "we might make you pay your entire deductible".
* More effective implementation of high deductible health plans that's simpler for people.
* Medical expenses and insurance tax-deductible, full stop. No messing with HSA, FSA.
* When you are diagnosed with a condition, your current insurance is responsible for the rest of your life for related expenses. No new insurance company would deny you because it wouldn't cost them anything for your preexisting condition.
* Subsidize normal health insurance for poor people.
comment 9y ago · link · parent
If two groups are different enough that, when you put them together, you call it "diversity"; then why would you expect them to be statistically identical when you pull the groups apart again?
In other words, if the concept of diversity exists at all, you would expect some groups to be overrepresented in one area and underrepresented in others. Why is any of this a surprise?
Note that I am not saying there are any kinds of inherent limitations on what people can accomplish. It could be any number of factors that cause two groups to diverge: culture, life experience, preferences, etc.
But it's pure madness to celebrate diversity and the attack any differences in outcomes.
comment 9y ago · link · parent
If you are really concerned about this inequity, you need to also consider the services that tourists don't use, such as schools, and most of the roads outside of tourist-trap areas.
comment 9y ago · link · parent
I am convinced that a real change is a lot more realistic when it is part of a larger lifestyle change. Habits are hard to break one by one because they reinforce eachother.
I suggest that you collect all your bad habits together and break them all at once. Or, with the next change in your life (new city, new job, marriage, first child) also change your diet.
It sounds harder but I think it's easier. Baby waking you up three times in one night, and you won't care how food tastes anyway.
I think a big enough change triggers something in your mind that says "this is how life is now".
Another tip is that embarassment and disgust are powerful emotions, so use them. When I got married I was literally too embarrassed to keep my old diet. And if you think about it the right way, sugar everywhere is disgusting. It makes your mouth sticky causes rapid bacterial growth and bad breath.
comment 9y ago · link · parent
I think the main hype danger for rust right now is that the number of killer applications written it will fall short of the hype. But the linked article is from someone writing redox-os, so it's hard to criticize this article specifically for contributing to overhype.
Ruby had the opposite problem, which is that a lot of people were writing amazing applications, but it fell down technically (applications got messier and slower; or at least that is the perception). In theory the same thing could happen to rust, but it seems less likely.
comment 9y ago · link · parent
It's fair to draw an analogy to generational GC, but they aren't the same.
Rust is an example of a language that can do arena allocation without the dangers of C++.
EDIT: Based on my experience with postgresql, and what I've learned about rust so far, I am starting to believe that object lifetime is a fundamental concept in CS. It's possible that sophisticated GCs have, to some degree, hidden the importance.
comment 9y ago · link · parent
For instance, there are official measurements of debt, deficit, and inflation. But some might believe that unfunded liabilities are debt, or that inflation is higher than the official number.