12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions
comment 17y ago · link · parent
There may be no term that is completely accurate (if there were, you wouldn't need the words of a license, I suppose). But these days, "GPL-compatible software" might be a reasonable replacement term; at least that doesn't imply anything about the cost.
comment 17y ago · link · parent
And you can't, because a whiteboard is not a place to write code.
Instead, ask them to describe their accomplishments in detail, including the approaches they took to achieve those things. Ask them how they would solve some hypothetical problems that you pose. This kind of discussion can't really be faked, and tells you immediately what kind of thinker they are.
comment 17y ago · link · parent
See: http://www.ietf.org/rfc/rfc1738.txt
In particular, section 3.1, 'The scheme specific data start with a double slash "//" to indicate that it complies with the common Internet scheme syntax.'. So it is used by URLs that require any of this information: "//<user>:<password>@<host>:<port>/<url-path>".
comment 17y ago · link · parent
Of course, I would prefer if a person's actual experience and education were assessed more carefully. These days, it's conceivable that someone has spent a lot of time on OpenCourseWare, or been self-taught programming through experience with open-source projects; there are a lot of ways to be accomplished without a degree. It is becoming harder to do simple filtering of applicants.
comment 17y ago · link · parent
comment 17y ago · link · parent
comment 17y ago · link · parent
Apple didn't just "realize" this at some later time, as implied by the article.
The difference with Vista is that Microsoft had created half a dozen overpriced variants of an operating system with changes that primarily benefited companies (e.g. Microsoft itself and DRM proponents), not users, but was trying to sell it as an OS that users would want.
The last line of the article is also insulting...to think that Apple is in any danger at all of not continuing to offer a "compelling alternative to Microsoft"?
comment 17y ago · link · parent
Let me tell you what the cost is. Sure, your admins can CYA for a few years, but eventually that old, unmaintained app will implode for some reason (maybe just from hardware failure, at which point you can't buy a machine that runs IE6). When it does, at a completely uncontrolled time with countless business processes dependent on it, the cost will be HUGE: maybe enough to kill the business. So by all means, go on deluding yourself that it costs nothing to keep on using outdated stuff that seems to work just fine.
Edit: I'm focusing on the zero cost argument, web apps are just one example. The costs/risks apply to any upgrade or lack of upgrade.
comment 17y ago · link · parent
When making that split, it is also helpful to have relevant cleanup code nearby: odds are everything is already in the inner block, instead of having to remove extra code at the end of the function.
comment 17y ago · link · parent
Exceptions act like early returns themselves, but I will use them for truly exceptional cases (only). In other words, if a function can return 3 values, I consider those the "normal" cases that should weave through to the end of the function; if the function runs out of memory, I think that's an exceptional case that can return immediately.
comment 17y ago · link · parent
I find short-cut "return" statements frustrating for many reasons. For example, there's a risk that proper cleanup will not always happen, it is harder to see state and program flow when debugging, and it's no longer simple to make every-case changes by adding things to the end of the function. They're really just another type of "goto".
The only "advantages" I can think of are saving a few keystrokes, and having slightly better performance by not using a variable for the return value. In my experience, neither of those things has ever mattered.
In other words, I'd do this:
<type> result = defaultValue;
if (condition)
{
result = val1;
}
else
{
result = val2;
}
return result;
With this approach, there is never anything after the "return", "else" or otherwise.comment 17y ago · link · parent
I kind of hope most Unix variants follow the /proc filesystem model of Linux. It basically cleans up these kinds of queries considerably.
comment 17y ago · link · parent
I frequently want to make tweaks to one window, and I just can't stand having to make a new set of Preferences every time a window disagrees with the established settings. Since the sets contain everything (colors, terminal attributes, long lists of key mappings, etc.) there are potentially a lot of things to redo.
Also, what's bizarre is that opening a saved file has the side effect of automatically creating a new, permanent set of Preferences. There isn't much point in having files if Terminal insists on re-storing everything as Preferences anyway.
2509.
Modifier key effects in Snow Leopard stacks
1 points · by makecheck · 17y ago · discuss
comment 17y ago · link · parent
On Linux or Solaris, I use "aterm". It works as well as xterm or rxvt. But it has a lot of nice interface tweaks, such as NeXT-style scrollbars, pseudo-transparency, more intelligent text selection (IMHO), and a way to change colors when inactive.
On Windows, I don't run much locally (since not a lot of useful command-line tools come with Windows). So my terminal work tends to be over SSH to a machine that has real tools. :) I use PuTTY for SSH, and it works very well. My main issue is that it seems unnecessarily hard to do certain things, e.g. copy/paste.
comment 17y ago · link · parent
I have not tried this, but I dug up a hack that someone has done to add an ANSI colors editor to Terminal:
http://ciaranwal.sh/2007/11/01/customising-colours-in-leopar...
MacTelnet has an ANSI colors editor built-in.
comment 17y ago · link · parent
If you look in places like "/Library/Application Support", everything is basically broken down by product or vendor. It is hard to imagine having so much documentation installed that similar naming wouldn't suffice for DocSets.
Apple has also used saner documentation layouts elsewhere (and oddly, in places that are probably not meant to be "public" documentation). For instance, there's a /Library/Documentation, and its layout is very easy to follow.
comment 17y ago · link · parent
I don't think the point is that there should be no bigger programs, but rather that those programs should take advantage of as many small parts as possible.
An MP3 player could have done this. For example, is there a small program that (only) extracts MP3 tags, to allow song lists to be easily constructed/sorted based on attributes such as Artist? Why should a giant GUI be the only way to perform these tasks? When one believes that the GUI is the only way, suddenly it seems "necessary" for the GUI to have its own scripting language to allow automation of these kinds of tasks. Instead, iTunes could run the "create song list based on these tags" program whenever it needs to perform that function, and use the results to update its GUI.
comment 17y ago · link · parent
I am someone who practices the Unix philosophy on a regular basis, and cringes when I see how twisted and inelegant Windows has become (even on the programming side). I consider this book a must-read for people who know only Windows. It is also an interesting book for those who know Unix already.
comment 17y ago · link · parent
As weird as it is on the web, it's even weirder in their developer tools. I kid you not, there are HTML files in "/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/ApplicationKit/Classes/NSApplication_Class". Whereas, if they'd hired me to do it, I would have probably called it "/Developer/Documentation/Cocoa".
comment 17y ago · link · parent
A somewhat odd and annoying change is that /usr/bin no longer contains a number of common tools that are technically developer tools. For instance, there is no /usr/bin/make or /usr/bin/xcodebuild; one must instead look in /Developer/usr/bin.
Both Python 2.5.4 and 2.6.1 are in /usr/bin, and it's handy to have both.