12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 16y ago · link · parent
This isn't to say you should be patronizing, walking around with a smile and piling undeserved politeness on everyone you meet (especially if they're rude to you); in fact, I hate walking into a store and being treated this way by employees, because I never find it sincere. Be real, but be patient.
comment 16y ago · link · parent
OmniWeb (now free on the Mac) has one of the best interfaces for cookies I've ever seen, especially the site-specific part. I was absolutely amazed by just how much crap a single web page visit was attempting to store on my machine: not only from the current site, but for MANY other domains that I did not explicitly visit. And I wonder why sites load slowly on my phone...
I remember when I discovered how sites were using Flash a few years ago, and I was infuriated. I dug up the Flash settings manager [1] (not exactly an easy task, and NOT obvious), and reset the thing to store zero bytes on my computer.
[1] http://www.macromedia.com/support/documentation/en/flashplay...
comment 16y ago · link · parent
Some people spend a couple of years and thousands of dollars before discovering that their major isn't really what they thought it would be. And by then, they're just unhappy; they have invested too much to turn back, and don't really have passion anymore. I strongly suspect that a lot of people who do crappy work simply got into this kind of trap; if they'd had the chance to find out more about other jobs in detail, they may have made a different choice of major, and been much happier and more productive somewhere else.
comment 16y ago · link · parent
It is a story when Microsoft ships something. It is a story if they ship something that makes a significant amount of money. Until then, it is a dream in Ballmer's head, and misleading, and hopefully no investor is swayed by such rhetoric.
comment 16y ago · link · parent
And yet, what's interesting is that naming inconsistency seems to be a C++ problem. You could argue that it is just as technically possible to do weird name inheritance in Objective-C, and yet it doesn't happen; the conventions of Cocoa are somehow applied consistently enough, and followed by developers to the letter.
The funny thing about Objective-C is that you see a different kind of style problem; indentation and alignment tend to vary a lot more between code snippets than they do in C++.
I'm not sure that automated enforcement after the fact is the answer, because the scanner might be pretty easily fooled (or worse, it may refuse to let you do something you know you want).
IDEs might be the closest thing to "enforcement", since they try to make it easy to create new code snippets, and those will naturally follow a certain style. At some point, if one is used to these tools, it may be simpler to follow the rules than not follow them. On the other hand, I generally hate IDEs, and I enforce my style by myself. :)
comment 16y ago · link · parent
comment 16y ago · link · parent
If behavior is strange, you want to know if it was expected to be that way, and why. You can use the developer's line of reasoning to prioritize. If you understand the conditions that brought the hack, you are better prepared to maintain the code.
The article suggests that most problems should just be fixed right away, instead of leaving "someday" comments. But, a few weeks of maintaining a large code base will cure anyone of this belief. Not everything can be fixed right away, for many reasons:
- Maybe there isn't time, due to pressure to complete X or Y.
- Maybe it's risky to just hack in the first solution that pops into your head, and you need time to come up with the right fix.
- Code bases can be very complicated. You're not usually working on your own brilliant creations, you're working on things that many other people did, and some of them had no clue. You are tinkering with an engine you didn't design, and you have to be careful.
- The bug might actually be important in the short-term. One of the evil realities of large code bases is that "bugward-compatibility" can matter, and "fixing" something may cause more immediate problems than it solves.
comment 16y ago · link · parent
Now, yes, Windows can be brought up to par (and I've done it). I am not saying it is impossible to use Windows to be productive. But, I am past the point where I see this as worth the trouble; why the hell should I spend hours downloading and installing all the things Microsoft doesn't provide (oh, and re-install them, every 6 months, when invariably the OS falls apart and one has to start over)?
comment 16y ago · link · parent
If I want to read my E-mail, it's ideal. Same for reading news sites, etc. such as HN.
If I begin typing an E-mail of any length, it's only a matter of time before I screw something up on the iPad. While some of this could be addressed by fixing Apple's asinine methods for text selection and cursor movement, a lot of it is just the (lack of) keyboard.
Similarly, if I want to log in to any web site, or otherwise do lots of typing, it is a real pain. So I rarely do, except from a full-fledged computer.
If you have to do any significant amount of typing remotely, you NEED a laptop. Though, I do agree that Windows is overkill, especially on batteries; something like Linux with VNC would be plenty to reach any session you have running and do real work (or a Mac).
On the other hand, if you're drawing, or doing things that would require lots of mouse movements, the iPad is ideal, and a laptop would suck.
So Steve Jobs is basically right...there is a market in between the computer and the laptop.
comment 16y ago · link · parent
I am quite sure that the only thing keeping them in business is their money. They have made enough bad decisions to kill any smaller company.
comment 16y ago · link · parent
For example, when I write code, I try to arrange things in such a way that my eye won't have to move much horizontally. I always put function names at the left margin, with return types above them, so that they're all "scannable" (because they are always in the same general place, my eye doesn't have to guess).
comment 16y ago · link · parent
With free software, you can go back and download some old version that does work the way you want. You might sacrifice other updates in the process; but even then, it is theoretically possible to fork the older version and merge in new features. Many people obviously won't go that far, but it is certainly more control than commercial software will ever provide.
comment 16y ago · link · parent
I have never seen "configure" work particularly badly, and I've had to build some pretty hairy, dependency-ridden crap on Linux, Solaris and Mac OS X. It has held up remarkably well, and many projects are good about providing useful "configure" options. Usually fixing something requires an environment variable or configure option, and not a makefile hack.
There is no question the generated code is practically indecipherable. But you have to treat it like a compiler; no one goes leafing through the ".o" that GCC generates on a regular basis, so why worry about what "autoconf" and "automake" produce? Like any widely-used tool (such as a compiler), you can put a fair amount of trust in the maintainers to not make anything too broken; and if you see a problem, you can file a bug report.
It is also somewhat reassuring that even if the generated result is wrong, it is at least theoretically possible to fix it; just try fixing something that goes wrong in Visual Studio.
I will allow that "m4" is showing its age, and these days it's a heck of a lot easier to Google some examples and adapt them, than it is to figure out how to add a custom rule from scratch. The big challenge for the GNU Build System is to create a modern version that makes new assumptions (e.g. "perl" always exists), and update their methods accordingly.
2238.
Ask HN: How to deal with anonymous rants about your project
8 points · by makecheck · 16y ago · 2 comments
comment 16y ago · link · parent
However, if you have to integrate with almost anything in 2.x land, such as 3rd party libraries, you may have no choice but to keep using 2.x for awhile. As usual, even from this older version, there are ways to voluntarily import future capabilities so that your code is as 3.x-like as possible.
comment 16y ago · link · parent
comment 16y ago · link · parent
I've never known the salary for a job at the time I applied. I'm not even sure I had a ballpark. It does come up in interviews, since companies tend to want to know what you're expecting. But why should I care? That's what an offer is: if I don't like the offer, I don't have to accept.
To attract good talent, you have to put your requirements right into your job posting. Ask for proof of work on open-source projects, for example; things that are hard to fake. A candidate that feels daunted by your application won't even make it to the interview.
comment 16y ago · link · parent
The main risks I can see are that it may be harder to connect with people in your industry, and you may find few jobs willing to let you work remotely (this tends to be available only to very experienced people, e.g. CTO can live in the mountains if he wants, and the company says OK). Then again, if you're trying to avoid 9-5, not even having a job for a few months is still good stress relief.
comment 16y ago · link · parent
I've found it does a good job of explaining how Objective-C works, for someone with C++ background.
As far as interface design, I feel that Cocoa is something you just have to tinker with in order to learn. Apple has lots of sample code (register a developer login on developer.apple.com if you haven't). While there's plenty to read, I feel that to really understand things like connections and controllers in Interface Builder, you have to try to build things or inspect the interfaces in sample projects.
comment 16y ago · link · parent
I have a phone that is many years old. I have gone to web sites for U.S. carriers to try to find a replacement, and I often leave the entire site without finding a single worthwhile offering. If I didn't know better, I'd guess that they were trying not to sell any of their products.
Even if I forget the phones, and just look at the plans, all I see is overpriced garbage. While I could afford $99/month, I see no reason to pay that to keep a stupid phone working; $30/month is more than enough.
Not that you actually pay whatever they say. Here is a list of additional fees, verbatim, from my last bill:
- "Federal - Univ Serv Assess Non-LD" $1.15
- "State - Univ Serv Assessment" $0.80
- "State - Margin Fee Reimbursement" $0.34
- "Regulatory Charge" $0.40
- "Administrative Charge" $0.99.
In other words, $3.68 per month, or $44 more per year, of absolute crap that is not in the advertised cost of service. And that's not even counting things like charging for incoming text messages (which they do).I couldn't agree with this article more; the wireless industry has lost its mind, and it needs to be fixed.
comment 16y ago · link · parent
comment 16y ago · link · parent
It would also help considerably if there were a big text filter in the app store, e.g. to hide all new apps with similar names, so that more uniques show up. Right now, it seems every week there's 40 new "map reading" apps that vary only by city, etc. and it's aggravating to have to page through them all to find truly new things.
comment 16y ago · link · parent
A flexible back-end can even be used to create an opinionated front-end. Consider a "factory defaults" file; preset any behavior, whether or not it has a checkbox. Try every combination, and convince yourself that one is better. Even with these decisions made up front, the interface is there to let other people disagree with you.
Mac OS X has a nice balance, because the built-in "defaults" command line program can tweak any setting that would also be available in the application's code. Just because a program is a GUI, doesn't mean that it should rely exclusively on GUI elements for configuration.