7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions
comment 9y ago · link · parent
Unfortunately, it's eroded over time. When we want big government policies, we don't care if it's truly regulating commerce "among the several states", and we don't bother to amend the Constitution to add the powers we feel are appropriate.
Out of all the people that want gun control, none advocate for an amendment to revoke the second. They all seem to conveniently believe that it's constitutional. I understand why some people feel that way, but surely a reading of the second amendment would lead some of them to want to revoke it, but it doesn't, because nobody cares what the second amendment or any other part of the Constitution says.
comment 9y ago · link · parent
The correlation would be obvious to anyone. You don't need a grand conspiracy to imagine why a leader might try to stop drug use.
That doesn't mean it's the right thing to do. But it can be easily explained without ulterior motives.
comment 9y ago · link · parent
Drugs are both a symptom of other problems and a cause of new problems.
Presciption opiates are an example where the drugs were clearly a huge cause, not just some symptom of a social problem.
comment 9y ago · link · parent
The greatest danger is that people may be comfortable near the BI level until they are about 30, and not really work or educate themselves much (lacking motivation). Then, they want to have a family, and all of a sudden their desires for consumption skyrocket. They can't just join the workforce then, because it will be 10 years before they advance enough to get what they want.
Then you have a bunch of undereducated, inexperienced people who want a lot of stuff.
I'm not saying it will happen, but we have to be careful.
comment 9y ago · link · parent
I don't know if I'd pick Java as a comparison point because the ecosystem is unimaginably large, so it's hard to compare to Haskell/OCaml. A better one might be Golang or ruby.
I think ML languages just never made the case that other languages are bad enough for the particular thing someone is doing now, e.g. a web app. If you hit a NULL, you get an exception, track it down, probably not a huge issue. The best case could be made for ML on security grounds, but unfortunately nobody cares about security.
On the other hand, people were convinced that C/C++ were bad after decades of people saying so. But people didn't feel like they had an alternative until rust came along.
comment 9y ago · link · parent
Even if that's true (which I don't believe), tiny markets have a way of expanding when new offerings are available.
New people are getting involved in OS development in rust, for instance. We might see some really interesting stuff happen there. The same thing may happen with databases and rust.
And you didn't address my example, which was all of those "-devel" packages you need to install to get all of those libraries that so much software depends on: libssl, libjpeg, etc.
"Rust throws the baby out with the bathwater and tries to pressure others into thinking that they are in this market."
And this has what ill effect?
comment 9y ago · link · parent
If you need to write a library to implement the latest protocol, or render the latest image format, or parse the latest serialization format, then Haskell seems great. Unfortunately, the resulting library will be useless except to other Haskell programmers. Nobody wants to link in libXYZ.a and get the entire Haskell runtime, starting threads and doing GC and sending and catching signals.
I tried implementing a handler in postgresql so that you could write user-defined functions in Haskell. I made little progress, even with help on IRC and elsewhere. Any non-trivial function would need to define its own types and use some libraries, but it was far from clear how to do that and the best advice I got was to dig into ghci and try to use some ideas from that. I started down that path, ran into runtime issues, and that was the last straw and I ran out of steam. And that was only to get the most basic functionality: call into haskell to do some computation and return.
comment 9y ago · link · parent
The client-server model of the WWW seems to tilt in favor of consolidation. What about something more akin to database replication for sharing information? Data moving around asynchronously, viewed at the users leisure, and synchronous actions are only needed sometimes (e.g. for buying things). Right now, a lot of synchronous things happen, requiring users' action and attention for little reason (but encouraged by the client/server model because you need to make a request).
It would certainly change things. "Engagement" might be harder to measure and monetize, so it might force us toward something more like micropayments. But micropayments might be more possible in such an environment as well. With little money on the line, it's easy to update a database record and move the real money around later (if that's even required -- you could imagine digital IOU records acting like currency).
And more importantly, I think it would reduce the need of companies like facebook and other consolidating forces (though perhaps not google search).
comment 9y ago · link · parent
Why?
"Trying to maximize the causal power of choices and minimize that of circumstances is a worthy goal."
I see what you are saying, but I'm not sure we want to take that to an extreme. Diverse, interesting, and challenging circumstances produce a lot of creativity, culture, and happiness.
comment 9y ago · link · parent
No, it's not. You aren't accounting for choice at all. Some people choose happiness over wealth, some people choose short-term outcomes over long-term outcomes, and some people just make choices that result in a much greater struggle for whatever reason.
comment 9y ago · link · parent
In theory at least, the pooling of money into PACs allows ordinary people with small donations to make a dofference.
Maybe we should encourage ordinary citizens to put some money into PACs, which will have a greater impact than trying to prevent rich people from having influence (which doesn't usually work).
comment 9y ago · link · parent
* What are some good ways to deal with a lot of C macros and C/C++ header files in general.
* What is a good build strategy for integrating with a big, say, cmake build system?
* How to choose APIs, other than always using the lowest common denominator (C) for everything? Put another way, how do you choose which parts to write in rust first so that you don't end up with rust code that looks like it's translated from C?
* How to work with other memory allocation strategies, like a region allocator (like postgres memory contexts)?