2,232 karma · joined Apr 25, 2016 (10y ago) · 906 submissions
comment 9y ago · link · parent
One possible disadvantage, you can't gain information by automatically converting code to another representation, but you could potentially lose information that would be relevant to an optimization. I don't know of any practical examples of this happening with LLVM, but I believe Java's type erasure carries a very slight penalty.
Another possible disadvantage is if you have a language designed to be compiled extremely fast, then adding an intermediate step could slow it down unacceptably.
comment 9y ago · link · parent
But that's still not a good reason to use spaces (especially 2 spaces) and say "FU" to programmers suffering from diplopia.
comment 9y ago · link · parent
I've pondered whether the toot might mean "human" or "oh shit" or something else. Supposing it is denotational like "human", I'm also very curious if different populations of blue jays use vocalizations differently in places with different threats. That would imply the sounds are taught and learned, which I'd say is a stronger indicator of language than, say, sounds that are instinctively understood but happen to be compositional.
comment 9y ago · link · parent
comment 9y ago · link · parent
1. Even if the project never replaces the other software you use, you gain a better understanding of that other software by solving some of the same problems, making the same mistakes, learning the same lessons.
2. You may have special requirements that don't make sense to add to an existing project aimed at a broader audience. This is where a lot of niche microcontroller OSes come from.
3. You have a crazy idea that would be hard to explore within the architecture of an existing project. If it turns out to be crazy enough to work, then maybe people will do the work to migrate it to the mainstream.
4. Everyone has a little dream that the masses will find great value in their work and flock to it, supplanting the status quo. Like becoming a billionaire, it essentially never happens, but you can't blame people for trying.
comment 9y ago · link · parent
comment 9y ago · link · parent
* What are b, j, and k?
* What's so significant about even numbers - or is 2 a magic number that could just as easily have been 3?
* What can I assume about results? Can it be empty, null, 10 elements, 10 million elements?
With proper naming and a good, brief chunk-level comment, I could tell at a glance whether this chunk is likely to be hosting my bug or not. 5 lines vs. 8 lines don't play much into it.
Actually, this really isn't what I think of when I hear "boilerplate". I think of, for example, the adapter pattern, or having to build up a finicky set of states every time some common task is done.
comment 9y ago · link · parent
comment 9y ago · link · parent
The original uploaders of very popular content would accumulate a surplus of credits, which they then sell to to mega-crawlers. Content creators would do well to be the original uploaders of their own content on such a network.
The credits would also be incentive to buy devices and leave them running in poor-coverage areas. E.g. the owners of billboards could mount repeaters along rural highways.
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
Clearly the solution is to require every paper shredder to be equipped with a camera to scan documents and upload them to cloud.gov before shredding. Of course, nobody would be authorized to look at the data without a warrant, and we should trust that nobody working for the government would ever break this law.
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
No, that wasn't my claim. If I have a claim, it's that, instead of simply moving away, people keep building up an active seismic fault that's likely to suffer a catastrophic earthquake in the near future. Even high taxes (some of which funded the policy piece you cited) and massively increased costs of construction (such as proposed in the policy piece you cited) aren't incentive enough to stop.
This aspect of human behavior is worth remembering when someone suggests similar "incentives" to address climate change. It's trying to incentivize the same mindset that would rather build cities out of springs and pendulums than move to stable land.
We should face the reality that humans will eventually deal with the negative side of climate change using (not so?) metaphorical springs, levers, stilts, and who-knows-what, and it will be okay.
I don't click Forbes links, but from the URL it looks like it's about a hoax bill that was proposed for PR purposes. Not interested.
comment 9y ago · link · parent
comment 9y ago · link · parent