12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
Here's a starter list of the basic problems with cyclist behavior:
1. Not taking even the simplest steps to be visible or safe. Install a lamp! Wear clothes that aren't pitch black at night! Position yourself where cars will see you instead of "hiding" off to the side!
2. Outright ignoring road rules. Yes, cyclists MUST stop at STOP signs and they MUST not go through red lights (unless a sign says they can follow pedestrian lights). And yet, every single day, I see multiple cyclists doing what can only be described as "whatever the hell they want".
3. Exceeding boundaries. No, you may not ride side-by-side with someone and take up twice the space and cramp the traffic lane. Yes, you are still a jerk for "cutting off" someone even if you do it with a bicycle. I don't care if you're approaching another cyclist and want to pass, that doesn't give you the right to shove yourself in front of a car to do so; wait a while!
4. Not using side roads. A great way for cyclists to stay safe is to minimize the traffic that they actually interact with. Cyclists DO NOT have to use main roads all the time. In my area, there are miles of parallel side streets that go all the same places as main roads, yet cyclists clog up the busy roads and leave the side streets empty!
5. Forcing everyone to go their speed. Many times a week I see a cyclist squeeze in front of two cars and make them go 15 mph for a mile, instead of waiting 2 seconds to let them go first. If you're going to use a slow-moving method of transportation on a highway, you should have the basic decency to at least put yourself in the most considerate part of the queue where possible.
comment 10y ago · link · parent
comment 10y ago · link · parent
Seriously, always try the simpler thing first. Do not go deeper into templates and special syntax before seeing if any other construct will do the job.
comment 10y ago · link · parent
comment 10y ago · link · parent
For every ten thousand JavaScript questions worth 200 points each, there is a single well-thought-out answer on an obscure topic requiring a lot of knowledge and experience with a score of about 2.
What the system needs is a "difficulty" measure of some kind to encourage people to contribute across the board.
comment 10y ago · link · parent
When there is no penalty for over-consumption and it is far easier to do the stupid, inefficient thing, then the stupid, inefficient thing will be done.
To really combat this problem, we need:
- Good tools that ensure the easy thing is also the optimal thing.
- Penalties for pipe abuse (e.g. web browsers that make it really easy for users to see the Wall of Shame with the web sites most responsible for gobbling up their data plans and batteries). Sadly the only thing I have right now is the OS X app-shaming model that points out high-energy apps, and then Chrome or Firefox or Safari get all the blame for what is clearly the web sites themselves.
comment 10y ago · link · parent
The current system unreasonably rewards arbitrary subsets of the total group of people responsible for making useful things. It also manages to include essentially middlemen in the rewarded set.
comment 10y ago · link · parent
No matter how good your idea or, ahem, sorry, "intellectual property" is, if you don't know HOW to turn it into a multi-billion dollar product or you don't have the means to do so, WHY should you be able to sledgehammer your way into lots of money when somebody else becomes successful? If anything, years of inaction on your "idea" proves that the idea has NOT been worth all that much to you.
Meanwhile, there could be literally thousands of unique components in an iPad, the products of tens of thousands of brilliant minds, many of whom get virtually nothing. Heck, I give more credit to the tertiary industries such as the people delivering the iPhone packages to my door, than I do to any owner of a patent for a product that they didn't build.
comment 10y ago · link · parent
Also, since these are part of the public-domain knowledge of the system, it is reasonable to expect that the values might even be built into hardware in the field, etc. and not easily changed. It might be much more feasible to revert to an earlier value if the original value was already stored somewhere.
The real problem with DualEC-PRNG is that if P and Q were somehow related, you wouldn't know this by looking at them and knowledge of the relationship would be restricted to the issuers (in the case of the "recommended" P and Q values, the NSA; in the case of Juniper, their own employees). The hidden relationship could be used to deduce the output of the generator and therefore deduce any keys based on the now-predictable values.
comment 10y ago · link · parent
- If the app costs more than $0.99, it can be downloaded for the tryout price of $0.99 and returned within 2 days without paying more. If you keep it any longer, you pay full price (e.g. $6.99 or whatever).
- If the app costs $0.99 or less, purchases are final.
- Developers can charge for upgrades from a previous version, not exceeding 25% of the original purchase price.
Maybe there are rules that would be better than these but seriously, why aren't there at least options like these?
comment 10y ago · link · parent
As such, changing away from well-known compilers and language behaviors may not be the wisest thing for security.
On the other hand, extending existing compilers to restrict behavior seems reasonable. Also, by all means document the hell out of the things that are not well-defined.
comment 10y ago · link · parent
An interesting environmentalist argument would be, to ask everyone to pay more to producers of all kinds (online or otherwise), to prevent the "need" for extra resource consumption on any medium.
It "should" be an easy argument because people are clearly already paying for ads, they just don't see how. For instance, your electric bill would go down if you knew your TV would run for a half hour less every day.
comment 10y ago · link · parent
The C++ language creates the impression that holding a reference is stable, when in fact it is still possible for a reference to point to bogus memory (same as a dangling pointer). The C++ reference starts out on the right track with some nice compile-time guarantees like required initialization but then messes everything up by being immutable. The memory can be deallocated, and people with references are screwed; they cannot possibly change their own state to reflect the fact that the object is now gone. And C++ has some inconsistent hacks, such as the fact that a "const" reference to a temporary object will prevent object deallocation until scope exit but this is not the case for other uses of references.
Compare that behavior to something like Objective-C's "weak" properties, where ANY weak pointer to an object is set to 0 when the target object is destroyed. This guarantees that the property values will have one of two values: a pointer to valid memory, or "nil"; never a bogus pointer. In addition, Objective-C ignores messages sent to "nil". While clearly this can still create hurdles for debugging, it is fantastic for end users because the program itself is quite stable. The language created facilities for making invalid references hard, and mostly eliminated the penalty for screwing up.
comment 10y ago · link · parent
For instance I liked OS X's original toolbars, in that you could easily shift between modes that displayed text or did not display text. (Then they entered their phase where toolbars couldn't be customized and all icons were the same shape, which is far less sensible.)
comment 10y ago · link · parent
The tucking of unrelated legislation into the budget however, is news, especially since it had been vehemently opposed over and over in every previous version.
Guess which part is reported in detail.
comment 10y ago · link · parent
If not, then why report it?
If still worth reporting, and if people were forced to think on the information only in the generic terms available ("how should we act upon this and other data breaches?", "does it matter if some campaign has access to another campaign's information within the same party?", etc.), then what would come of it?
We should hope for just enough information to understand what happens in the world but not so much information that emotions and irrelevant details take over the discussion.
comment 10y ago · link · parent
1. A "mini-boost" that splits off some very basic things like string algorithms that are still not in the standard, while specifically excluding the heavyweight components.
2. Formal deprecation and eventual removal of some components, as C++ standards are finally getting their act together. For instance, no new code should probably depend on BOOST_FOREACH(), and I would think that the main issue with objects like boost::scoped_ptr<> is the dependency on boost names (but functionally, they ought to work when replaced by standard versions now).
3. Merging of standard components and boost extensions. For instance, if there is anything that boost::foobar does better than std::foobar, keep boost::foobar but migrate the implementation to be in terms of std::foobar (with new behavior on top) so that boost-extended code can integrate more cleanly with code that uses standards only.
comment 10y ago · link · parent
For instance, I search for recipes a lot. And Yummly "wrappers" seem to come up a lot on DuckDuckGo, often barely acknowledged as being Yummly. I don't know what Yummly is but it just seems scummy...it seems to wrap pages that I know are clearly recipes on other web sites, yet they're made to appear like Yummly pages. Why? There's no reason for this kind of middle-man stuff.
comment 10y ago · link · parent
To use anything newer, I'd have to ask users to install a different interpreter, or bundle a particular version that adds bloat. There's no point. The most I've done is to import a few things from __future__; otherwise, my interest in Python 3 begins when Apple installs it.
comment 10y ago · link · parent
comment 10y ago · link · parent
I should be able to zoom anything I want, site "design" be damned.
It actually ruined the iPad experience for me. Early on, when you could pan and resize any part of a page, it was great; then sites suddenly decided they should "help" me scroll, choose the text size, etc. and the iPad screen ended up feeling like a penalty box.
comment 10y ago · link · parent
Any sufficiently-complex shell script can usually be written clearly as a Python or Perl program for instance, without having to worry about how the code might be misinterpreted.
Yes, I write shell scripts sometimes. I just make sure they're doing something pretty straightforward.
comment 10y ago · link · parent
At the very least, Yahoo needs that type of thing: something to remind us who they are and why the hell you would visit their site.
comment 10y ago · link · parent
Here's a different approach: cut at least one big idea or product line that isn't going anywhere, that your competitors have long since dominated. Then, aggressively refocus the company on making the remaining products great. And that doesn't mean being cheap; indeed, they may want to hire dozens or hundreds to help the focus areas become as unique and valuable as they possibly can be. It may even be necessary to make some pitches to attract new investors around those products. And yes, keep giving those people iPhones and free food; don't be ridiculous, you need that to offset the fact that there's a dozen other places they could be.
It also sure wouldn't hurt if they could at least try to get back into the public eye. When's the last time you saw a commercial for Yahoo, or could even name what it is that they do?