Better HN
topnewbestaskshowjobs
Log inSign up

makecheck

12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions

Submissions

comment 16y ago · link · parent

Empathy is important. When you deal with someone, try really, really hard to see where they're coming from. It will help you to respond to them in a sensible way. Pretend you are them.

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

For the entire product line to be axed, for the good of the world. :)

comment 16y ago · link · parent

I really recommend using a web browser that can not only show you exactly what's being stored, but allow you to filter it out using expressions, or filter it "in" on a per-site basis.

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

I think the real value of the web is to give students free access to the nitty-gritty details of potential careers. These details would not serve as a replacement for education (I feel that's impossible, since hands-on lab experience and access to expensive equipment, etc. are so important to competency). Rather, they would help to ensure that students are embarking on a path that they're sure they want.

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

Usually multitasking 2-3 major development items at work in a given week. 2 personal projects.

comment 16y ago · link · parent

I hate these non-stories. It's essentially a page of "yep, we're doing stuff", as if any company isn't.

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

I think one of the bigger cases of "forced inconsistency" is with inheritance. Unfortunately, if you have a class with methods like fooBar() that inherits from something that uses a different convention, e.g. to implement STL methods like max_size(), then you will have 2 conventions in the same class.

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

Not necessarily. Yes, if you're fortunate enough to have something like Trac that can easily link between a line of code and a ticket number, then bug reports can handle everything. But otherwise, how would you describe it? Sometimes a problem only "makes sense" if you're looking directly at the affected line of code, and the comment is right there. If you leave a 'grep'-able thing like "FIXME" in your comment, you won't really lose it.

comment 16y ago · link · parent

I agree with all except the last; I think "someday" comments are very useful.

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

The operating system ships with absolutely nothing that I consider useful for modern development, and it doesn't ship with several things I consider crucial. SSH. A decent terminal. A decent text editor. Perl. Python. Name-your-core-Unix-tool. A decent web browser. Windows is actually quite pathetic out of the box.

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

I like the iPad, however it is a seriously passive device for anything that doesn't actually benefit from fingers (like drawing). You can only realistically interact with it for things that require touch interaction.

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

With something as established as Windows and Office, you could continue to see decent revenues almost with your eyes closed, so let's not commend Microsoft too much for merely maintaining what is practically handed to them. The only credit they deserve is for establishing those wins in the first place, but these are now 20-year-old victories; very little that's new has arrived. What is new, has also cost them dearly (e.g. how much money does X-box make...or, does it make money?).

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

I actually think reading speed has a lot more to do with how things are written, than any reading skill.

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

I think a major problem with 3D right now is that you don't really know what you're paying for. Are you getting a movie where some real effort was put into the 3D, or are you getting a half-assed version? The (increased) price is the same.

comment 16y ago · link · parent

If you're referring to the blue shift key, it means "caps lock". Tap the shift again to remove caps lock.

comment 16y ago · link · parent

Free-as-in-beer software advocates controlling your own fate, and this is one of the times when that is really quite useful. You might think a feature is "good"; but if the maintainer does not, your feature could just go away.

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

It's hard to criticize their design decisions at the time. For instance, "m4" and "sh" were likely chosen because they exist on all systems, and "perl" and "python" were not yet ubiquitous.

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

I would think it has something to do with the rise of LDAP, which can authenticate users and return pretty much any piece of information that's on the server(s).

comment 16y ago · link · parent

If you're doing something completely new that will never interact with older code bases, Python 3 seems like the best choice. This is where the language is ultimately going.

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

If they're surprised that I expect more than they were planning to offer, they might also ask themselves why the difference would be so drastic. Maybe they compare their experience interviewing me, with others who seemed to want less, and make a connection. Or maybe that's wishful thinking. :)

comment 16y ago · link · parent

Money doesn't always attract people to a job. The purpose of good pay is to keep people from leaving! Nothing will destroy a code base like having its original designers leave; there has to be someone who can answer questions quickly.

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

Personally, I think that's a great thing to do, especially when your line of work uses a computer. Even if you're not working, you can still build your skills (hacking on open source, iPhone apps, web pages, whatever) while living almost anywhere. Enjoy life, avoid the stress, it's always worth it.

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

If you feel comfortable with C++ to some degree, this transitional document might be helpful: http://ktd.club.fr/programmation/fichiers/cpp-objc-en.pdf

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

This article has a great set of examples.

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

A related problem is that people rarely follow the FAQ guidelines for headline editing. In this case, there's even a specific example: 'translate "10 Ways To Do X" to "How To Do X,"'. In other words, we shouldn't even know it's a "top 10 list" per se, the subject matter should be interesting on its own.

comment 16y ago · link · parent

The in-app purchase APIs were added relatively recently, and in theory they will eliminate "the app is the content" problems eventually. An app should be able to trivially reach the store and acquire more content, even if it's for a price; a user should not need to download new "apps".

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

I actually dislike both options. :)

What is wrong with labeling something for what it is? If it's your contacts (or my), say "Contacts".

I use tools repeatedly. The extra words amount to line noise after awhile. A UI should say what it has to, nothing more.

comment 16y ago · link · parent

I wish this would stop being referred to as some kind of iPad breach in every headline.

This is basically what happened: "FBI investigating breach in AT&T web site that led to exposure of AT&T customer information". Period.

comment 16y ago · link · parent

I don't think it's black and white; you can have an opinionated, simplified front end, and a back end that is wide open. The back-end makes some things easier, such as testing, and helping admins deploy to 100+ users.

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.

1
747576
98