12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 14y ago · link · parent
Something that might mean more is growth in code complexity over time. For instance, if measured every month for a year without changing the compiler version or platform, how much bigger or smaller did the compiled binaries become? How much more or less memory and runtime were consumed? How many "severe" bugs were found? When overlaid with information on the features that were added or removed during that time, it should become a lot clearer how large the code base really is and how maintainable it will be.
comment 14y ago · link · parent
defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
It is one of the settings documented here:
http://news.ycombinator.com/item?id=4306573comment 14y ago · link · parent
I'm not sure this is entirely clear to the average person buying software. The problems that software can solve may not "stay solved"; they depend on their entire ecosystem to be stable solutions. You aren't paying $10 to obtain something. You are paying $10 to temporarily solve a problem.
That's a little unusual among products that are sold. For instance, if you buy a toaster, the infrastructure dependencies are pretty low; there isn't much risk that the voltage in your wall will change and prevent the toaster from behaving the way it was designed. Not only that but there are many regulations governing how such a product can be made, minimizing the chance that people buying toasters will have to replace them every 4 days. If you buy an appliance, it tends to last. But the reasons for appliances lasting don't really apply to software. It's bad for consumers to pretend that it's the same type of purchase.
comment 14y ago · link · parent
I'm not a huge fan of IDEs or complex processes, but many tools do help. A debugger, static analyzer, and heck even 'grep', go a long way; really, anything that looks at the code is going to do some good. On the other hand, I find it useless to have processes that distort reality (e.g. pretty UML documents about what the code might do, if only someone had written the code that way).
1805.
"setenv" for zsh and other Bourne-compatible shells
1 points · by makecheck · 14y ago · discuss
comment 14y ago · link · parent
The people left over will not be willing to bust their asses to make great products for 2013, even if they're capable of doing so. They will be exercising their skills at printing résumés. What is RIM going to do: give them raises, while they're losing money? More like their Office Space bosses will tell them how greeaaaaaat it would be for them to start coming in on Saturdays. No, RIM has lost whatever chance it had to try something new. The next series of moves will all be drastic and they'll have only golden parachutes in mind.
comment 14y ago · link · parent
It can be much worse though...exposing machine names, unnecessary complexity and parameters, all changing from year to year.
A server doesn't have to puke its implementation details everywhere. I can't even count all the "enterprise" apps that make that mistake (e.g. a helpdesk system that gives me "serverNameThatWillChangeNextYear.domain.net/some/unnecessarily/convoluted/path.unnecessaryExtension?whatthehellisallthis&garbage1=a&garbage2=b&finallyRelevantBugNumber" instead of a stable URL like "company.net/bugs/bug123456". And just try E-mailing a complex URL to somebody (it wraps, and time is spent to awkwardly correct it).
Honestly, it's as if most web developers don't understand how powerful URLs can be. If you make URLs short and stable and use them to help look up stuff, they can be very nice. Instead in the past I've seen people E-mailing 9-step instructions on how to find something because the damn URL is unreliable.
comment 14y ago · link · parent
Imagine if it had been community-driven. For instance, someone proposes ".foobar" as a domain root. Various contributors then submit comments on the proposal, including suggestions on established groups that ought to manage that domain and what the limitations are on sites in the domain. Refinements are made (perhaps someone observes that ".foo" would be a term that is recognizable in more countries and something that avoids offending anyone). Finally a reasonable consensus is reached that having ".foo" is actually more valuable than not having it, and its guidelines are made public under "DNS RFC #613" or whatever. If that process can work for widespread things like protocols it can definitely work for deciding which domain roots are sensible. We don't need an ICANN.
comment 14y ago · link · parent
Microsoft probably has the same plan here. A cover that contains a keyboard can be even more expensive (say, $100 each instead of $50) and they can use profits from covers to mask the true cost of tablets.
Then again, they've said nothing about the price...
comment 14y ago · link · parent
comment 14y ago · link · parent
I recommend Alfred too, as well as Dash (similar but targeted to programming). Both tools come up instantaneously compared to Spotlight, they're more configurable and they seem to stay out of the way better. Even though they cost money they are well worth it because of the productivity gain.
comment 14y ago · link · parent
That's what it boils down to: people don't like it when change is forced on them. It's one thing if you see a cool new product on a shelf, choose to buy it and are happy to try something new; it's quite another to have your existing products keep changing.
This is human nature. And that's why Microsoft is insane to radically change Windows; they're going all "new Coke" on their cash cow. If they really wanted a new product then they should have created a new product: new name, new marketing, new everything, leaving the existing product alone!
This problem isn't limited to Microsoft. I've been disappointed by several iPhone app purchases for instance, as companies keep "improving" their apps with updates and occasionally destroy the essence of the original that I liked so much (e.g. maybe they mess up the UI so it's not as good, or they add in-app-purchasing crap). That's not the way to treat existing customers. Sometimes products should just be left alone.
comment 14y ago · link · parent
For example the interpreter can basically say "there's a syntax error somewhere in this giant block of yours" and not have any idea where.
A related issue is that a single delimiter (the brace) is bad for readability, even if it's easy to parse. Just try reading a gigantic dictionary; it isn't anywhere near as clear as Python/JSON-style can be (where there are obvious commas, colons, quoted strings and more to show you exactly what you're looking at).
Another headache for debugging is that commands frequently accept the names of variables. In unfamiliar code you can't even answer simple questions like "where are all the places 'xyz' is used?" because a reference to 'xyz' could be hiding almost anywhere. You can change something and not fully understand the effects that your change could have. While I'm sure this allows for very clever code to be quickly written, it fails the more-important test of producing code that is easy to read.
It is even possible for commands to silently accept mistakes and seem correct, with major consequences. Suppose "x" just happens to be a one-element list containing a number, '{0}'. With this input, "lindex 0 $x" is legal (even though "lindex $x 0" is the correct argument order). Worse, the wrong form returns something that seems reasonable without error. In this case what it actually does is grab the index that it found by magically looking inside the list ($x) and return one of the values from the implicit list containing "0" that was given on the command line; it returns a "0" but not the "0" that you'd think it does!
While one can argue that each language has "best practices" and intended usage, the examples above are largely pulled directly from built-in commands and data types. These are things that people encounter all the time, they are not caused by any particular TCL programming practice.
comment 14y ago · link · parent
One mistake their examples make is to include an "X" (close) button in dialogs that contain button choices. The "X" action is ambiguous in dialogs and is especially bad if all actions are equally probable (e.g. "Don't Save", "Cancel" and "Save" all seem likely to map to "X"). GUI toolkits don't seem to force any consistent interpretation of "X", and in fact the programmer might forget to wire up the "X" to any action at all. It's preferable for the "X" button to not be there so that the user can focus on the action buttons.
Another (admittedly minor) issue is the spelling "Ok". It's not pronounced "awk" or "oke"; it's both spelled and pronounced "OK". It does have a whole-word form and that word is "Okay". So it can either be "OK" or "Okay" but it should not be "Ok". In dialogs it is very conventional to use the short form of "OK".
comment 14y ago · link · parent
How about some brief brainstorming on what else they might have done...
If I look at the rest of the company: shouldn't Microsoft be more interested in, say, shipping Windows 8 sooner and with more features? They could pay engineers $200,000 a year (a very nice salary) and contract FIVE THOUSAND of them for a single year with that billion dollars. I'm not saying that would be any more sane of an investment, but I can imagine quite a bit that 5,000 engineers could do: more work on robustness, more bundled applications, more hardware supported, more optimizations...tons and tons of good stuff. Heck, they could do all of that if they hired just 500 engineers and kept them for 10 years, instead of 5,000 contractors for a year. The scale of any billion-dollar investment is insane in those terms.
(This is an example breakdown only. Pick whatever breakdown you like if you don't think this is realistic. The point is, money goes a long way. Companies should take extra time to see if there isn't a better place to spend a few million.)
comment 14y ago · link · parent
Investors should scream at stuff like this. How many things could millions of extra dollars buy? For one thing, maybe they could have acquired 4 or 5 additional companies, patents or other IP. If there was any chance that they could have done this for $500 million or $400 million or $50 million, that matters and should have been investigated thoroughly. Those saved millions of dollars can also be used to employ a bunch of people on projects for years (heck, sometimes entire applications are written by one or two people inside a company, and they might build something really cool that can be sold).
Microsoft has lots of money, sure. But this kind of spending isn't thinking long-term. Are they guaranteed to have this kind of money in a few years, even? There may be a time when they're completely incapable of making a key future acquisition because they overspent on crap like this.
comment 14y ago · link · parent
Hopefully those in control of infrastructure take a stand and simply reject these "domains" entirely. Shouldn't be hard to set up sanity-restoring filters...let us please just pretend these are spam domains and never acknowledge their existence.
Ironically anyone vain enough to reserve ".<whatever>" is surely ALSO going to keep a death grip on "<whatever>.com" so this will do nothing to improve the size of the name space.
comment 14y ago · link · parent
When we've already built up 99% of the infrastructure required to share anything we want (e.g. messages, photos, videos, links, entire pages on Facebook), it's very hard to see the point of a service that specializes in sharing exactly one thing.
The timing was also horrible. Some of the technologies currently available for sharing are 5 or 10 years old or more, so what the heck was supposed to be revolutionary about Ping? It needed to arrive before there was Facebook or Twitter.
comment 14y ago · link · parent
1. The OS isn't worth this, in which case it's either extortion (if their partners feel they have no choice) or cluelessness (if their partners end up walking away).
2. The OS is worth this, in which case they've over-engineered: they made their particular OS do way more than it's supposed to and are trying to recoup the cost of developing so damned much.
Fundamentally, an OS needs to boot a device and provide resource management. In order to be compelling to developers it needs to include good libraries that make common tasks easy and tricky tasks efficient. ARM tablets don't even need Windows' backward-compatibility, so there should be a heck of a lot they can just drop out of it! It is hard to imagine this OS being a beast; apparently it is.
Technical points aside however, Microsoft is also the underdog, and a rich one. If anybody should be eating the true costs of an OS and charging partners $6 a head to boost adoption (whether or not it's worth $85), it's Microsoft.
comment 14y ago · link · parent
One of the most important things to me when delegating a task to a programmer is trust. I wouldn't ask just anyone to solve just any problem, so you should demonstrate to potential customers the kinds of things that they can ask of you.
comment 14y ago · link · parent
On mobile in particular, there's a couple of problems with the web-page approach to UI. One, it adds yet more stuff to download that "shouldn't" be necessary just for a page to be functional. And two, if the interface is too desktop-like I bet it'll either behave badly or not work at all on an iPhone (there's a reason iOS' scroller-menu-thing looks nothing like the Mac's pop-up menu interface despite both using Cocoa). Theoretically the second problem could be addressed by code that detects the device type and presents yet another web interface for mobile, but that'll probably make the first problem of page bloat even worse.
comment 14y ago · link · parent
Maybe the right thing is for downvotes to always list voter IDs (but probably not long upvote lists). If I downvote something for "the right reasons" I don't really care if anyone knows it because I expect most people will agree with me. The opposite would be true for someone doing a lot of petty downvoting; he or she would probably be embarrassed and discouraged once everyone can see that the same person has downvoted a bunch of comments for no reason.
One way to find a "reason" for a personal downvote, then, would be to look at everything else your downvoters have downvoted. One of two patterns would probably form: either these people are in the habit of downvoting lots of stuff for no reason, or they seem to be downvoting comments that have common themes.
comment 14y ago · link · parent
comment 14y ago · link · parent
For instance if someone wrongly states "There are five lights." my reply would probably only contain the correction "There are FOUR lights!"; anything beyond that would be artificial inflation.
comment 14y ago · link · parent
An example of what would make a vote "harder" would be to require reason-words. When you click down-arrow a box might pop up where you must select (or better still, type out in full) at least two words justifying the vote such as "Abusive" or "Pointless". This would also help to prevent fat-fingered downvotes that I've accidentally done on my iPad because the arrows are too close together and irreversible.
comment 14y ago · link · parent
Normally a trademark applies to an industry. For example, I know of a company called "Apple Moving" and I'm sure no one confuses it with the "Apple" of the tech world.
In my opinion a site should be required to register only in an industry or other broad category (think Usenet). For instance maybe I can say http://www.apple.computers. These industry domains should also be localized automatically, e.g. typing http://www.apple.ordinateurs should bring you to exactly the same domain; the words used for standard industry terms in all languages would be publicly available.
What should not exist is a globally-screwed-up namespace that anyone with a checkbook can warp to suit their own interests.
comment 14y ago · link · parent
In other words, the layout should be like this:
Previous Next 1 2 3 4 . . . Previous Next
I hate accidentally clicking too far and then having to stop and figure out where the mouse should be to go back one page. Actions that are opposite should be side-by-side so that they can be undone quickly with minimal mouse movement.Another good form of redundancy is to put all controls at the top of the page and all controls at the bottom. The top of the page is really good for keeping things in exactly the same place on every page, yet the bottom is often where people are after they're done reading.
comment 14y ago · link · parent
I think a GPL-like extension of a pencil sharpener would be the following. You develop a new pencil sharpener that copies 90% of the original design but includes a sharper blade that makes nicer pencil tips; when you release that product, you must show everyone how your pencil sharpener is designed and definitely must not prevent anyone from seeing how the original (that you started with) was designed.