12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 17y ago · link · parent
For instance, I use a Mac at home, and I use Linux via VNC on Windows at work (though I don't visit HN from there, others might come here from work). So technically I could be using any of the 3, and if I really wanted it to "count" I'd consider myself a Mac user.
comment 17y ago · link · parent
Part of the problem is that the language doesn't defend well against bugs. Consider what happens if you pass your index and list arguments in the wrong order to "lindex"...it silently takes the index from your list, and then includes your intended index as part of the list! This is the kind of mistake that can silently appear to work, or fail in subtle ways, and it's not worth the debugging time in my opinion.
comment 17y ago · link · parent
First the article complains about not being able to figure out how to use a method from its signature. This ignores Python's style, which is to actually document things (and documenting is easy using docstrings). It isn't the language's fault if someone writes a function and doesn't tell you how to use it. Yes, a function accepting "kwargs" with no docstring is unnecessarily difficult. But anyone respecting Python's style would have a docstring that describes all possible keywords. I fail to see how a documented Python function could be hard to use.
And it's clear from the article that the author doesn't know how to find documentation. There's an example for open() which cites the 2-line help documentation and complains about everything it doesn't say. There are in fact several paragraphs on open() in the actual documentation (e.g. "http://www.python.org/doc/2.5.2/lib/built-in-funcs.html"), including information on exceptions raised, something the author thought was missing. Again, an ignorant programmer is not a fault of the language.
comment 18y ago · link · parent
I am mostly curious how this will pan out on the Mac. I've released a program that relies on the system Python, which has worked okay so far because the 2.x installations of each Mac OS X version are basically compatible. I hope Snow Leopard ships with Python 2.6 as well (even if it includes 3.0), so that I have more breathing room and code doesn't automatically break. :)
comment 18y ago · link · parent
The anti-virus software itself, ironically, has caused more problems for me. I uninstalled McAfee VirusScan within a month after I could no longer stand the drain on system performance.
On Mac OS X, there are a couple things I do to improve security:
- I run as a normal user, so that I always see (rare) prompts if admin privilege is being requested.
- I am extremely skeptical of software installers that "require" privilege. I usually decide to bail on them.
comment 18y ago · link · parent
Interviewers should find out how well candidates might work in teams, how familiar they are with debugging on a computer, and how likely it is their "cleverness" won't result in a steaming pile of unmaintainable code. There are lots of reasons why someone may make it or not make it through a puzzle, and either way they may be an excellent candidate.
What should occur is a reasonable bridge between abstract problem-solving and programming, to see if the candidate's aptitudes are strong where it counts. For example, numerical analysis is great: you could ask someone how they would make a machine perform a certain calculation expressed in "pure" math. (Does everyone know how to factor equations to minimize expensive instructions? Do all candidates realize the inherent quirks in things like the representation of floating-point numbers? This is the kind of stuff that comes up when math meets computers.)
comment 18y ago · link · parent
I don't think invite-only is a good thing. It probably would have prevented me from ever being here.
comment 18y ago · link · parent
Tools are not supposed to please everybody. (They can't, since for every person who loves the default configuration, there will be someone who doesn't.)
If you can't remember that "foo -bar -baz -squareroot4515" is the command to do X, then make a shell alias or a script that performs these steps for you, and call it whatever you want.
comment 18y ago · link · parent
See: http://googleblog.blogspot.com/2008/11/searchwiki-make-searc...
comment 18y ago · link · parent
Consider Flash video. While it would be nice, is it the most power-efficient way to display video? Ditto for games, or anything else that Flash is used for.
There is also the very real problem that Flash is abused for things that people don't want. Pointless intros, advertising, expensive animations...all consuming CPU in a way that is largely beyond the user's control. From the article: "websites that use Flash to render content or navigation won't work on the iPhone"...fine by me, I have never seen a site that did Flash navigation in a way that was more useful than default web navigation (instead, it was just...flashy).
comment 18y ago · link · parent
I would strongly recommend you not automatically E-mail your users on a weekly frequency! If you must do this, make it infrequent (monthly, no sooner) and make sure you include genuinely useful information. A good example is LinkedIn, which includes information that I can definitely use (new developments among my directly connected peers), and they only send it if I haven't visited the site in about a month.
comment 18y ago · link · parent
If you want us to have any faith in what you're saying, you may want to (a) spend some time with this community first and (b) post material that actually backs up your accusations against the Mono project.
comment 18y ago · link · parent
The graphical user interface is incredibly clunky. I could tolerate that more if (see above) Windows didn't have an equally clunky shell.
I think one of the things that bugs me most about the Windows GUI is that it can't use space effectively: lots of things that can't be resized, scrolling lists showing 3 elements at a time out of 1000, tons of truncated text, tabs everywhere, and relatively small fonts. This isn't easy to use. It really does seem as if almost no one at Microsoft puts any thought into it.
comment 18y ago · link · parent
I'm not saying change is bad, but why is Microsoft unable to grasp the idea of virtualizing legacy (especially with proven examples of this, such as Apple's Classic environment?). There is absolutely no reason to cause countless customer applications to break, much less to make them pay for the privilege of upgrading. Microsoft jeopardizes their revenues by again making Windows upgrades risky for businesses.
comment 18y ago · link · parent
Google Custom Search is probably the best bet for any site. It has a free mode for free organizations, and an ad-supported one otherwise.
2813.
Rather insidious...Flash "cookies"
2 points · by makecheck · 18y ago · 2 comments
comment 18y ago · link · parent
There are a million EMACS cheat sheets out there, but honestly I would find someone you know who uses it. Their enthusiasm will probably help you to learn it better. [Personally, I use "vim". :)]
Python's own documentation links at "python.org" are pretty good. The language itself is quite simple and where you'll spend most of your time is browsing their library documentation anyway.
comment 18y ago · link · parent
There are huge programs that should be tiny. And there are small programs that are so clever that they're unmaintainable, and should be bigger. There are many ways to show that lines of code won't tell you what's really important about a program or programmer.
comment 18y ago · link · parent
The only mention of Windows 7 is at the end with the highly useless statement "And we’ve done even more to improve performance and reliability for the indexer in Windows 7 which you’ll soon see at the PDC.". What is "even more"?
comment 18y ago · link · parent
For instance, Objective-C adds quite a bit to C, and replaces C++ features, yet it can bind to either of those languages. And there's been work done to make the entire Python standard library usable in Ruby.
comment 18y ago · link · parent
One way to keep work interesting is to give every developer at least two projects. This allows a person to switch between them if one becomes boring or frustrating for a few hours. You could even encourage small pet projects that developers are very enthusiastic about, even if the projects are not completely work-related.
You should invest in a bookshelf of manuals, and make a "cheat sheet" of places to look online for help in your technologies (PHP and .NET). Make sure everyone knows a few of your in-house experts. Developers should not have to look far to improve.
Give developers a lot of leeway. Avoid large policy manuals and rulebooks, instead occasionally remind them of simple guidelines like "follow the style of the rest of the code in the file", and "create libraries to handle the really mundane stuff". Be very open to new ideas, even if this means a new language (I have seen projects spiral to their doom because the actual goal was incredibly awkward to implement in the "preferred" languages of the developers).
And finally, as I said, keep developers developing. Don't waste their time forcing them to (for instance) manually enter information into some form, such as a spreadsheet, or manually produce something like a set of progress slides for management. Focus on the information you want from them, and have your managers simply ask for that information in voice or plain text. Your managers should be producing the pretty forms.
comment 18y ago · link · parent
For example, Microsoft finds that maximize isn't good on large monitors and wants a way to zoom less in one direction. They also want this to be possible with minimal mouse precision.
If you look at Window Maker on Linux, a single feature solves both of these problems: you zoom by double-clicking the title bar with modifier keys. So what you're clicking is big (minimal mouse precision), and you have 3 options: Shift for horizontal, Control for vertical, or logically Shift+Control for both.
And if you look at a Mac, while Cocoa's default is to zoom full-screen, apps are encouraged to define an "optimal" size for content that can be quickly toggled (between the user's last custom size/position, and the optimal one). This is literally one click to make the window look exactly right.