Better HN
topnewbestaskshowjobs
Log inSign up

makecheck

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

Submissions

comment 17y ago · link · parent

"Free software" is probably one of the worst terms they could have chosen, even if it's technically applicable. It is just far more common to think of "free" as "costs nothing". As a result, for decades, it seems any article on the subject must always have the same preamble reminding people what "free" really means.

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

You can't really trust anything they give you (they could have copied and pasted it from something interesting that they Googled, or for that matter any open-source project), so you have to judge code in person.

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

It's not likely that people who went to Dell's web site to buy would permanently take their business elsewhere. This will have cost Dell almost nothing.

comment 17y ago · link · parent

I like the comment "So how exactly do you get one of these 'analyst' jobs?".

comment 17y ago · link · parent

Technically, not all of them do; "<schema>:" is the common prefix, and everything else depends on the URL type.

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

It's hard to imagine recruiters giving up on the safety net of "minimum degree in X, Y or Z", unfortunately. Even at companies where engineers may be willing to dig deeper, résumés still have to clear these basic filters.

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

I think you're right, but I really just wanted to focus on the zero-cost claim that I quoted from the article. Firefox is just one example of an upgrade, and the logic applies anywhere: it's a trade-off, where "never" assumes too much risk (which is an expense), and "hourly" is also a very risky upgrade schedule. The sweet spot is naturally somewhere in between.

comment 17y ago · link · parent

That's an interesting point, that the company's opinion of employees is evident through their (lack of) IT investment. I have personally come to the decision that life is just too short to put up with Windows, and if I look for a job I intend to choose it based on the existence of Mac or Linux.

comment 17y ago · link · parent

From the moment Bertrand Serlet first started talking about Snow Leopard many, many months ago, he said it "hit the pause button on new features", and was intended to make improvements primarily under the hood.

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

The article claims that "an internal site with old code that has sat there running fine, doing its job for years......costs zero dollars to maintain", versus upgrading to Firefox. But that is not true.

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

Functions that have become too complicated should look ugly, so that they're likely to be split into simpler parts (for true readability).

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

That's true, and I do use that approach ("RAII") in languages like C++. It definitely makes cleanup less of a problem. It also means that setup should be done no earlier than necessary, declaring variables very close to their first use (otherwise, a setup/cleanup cost may be paid for no reason).

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 have no problems with the performance of SuddenLink, however I do absolutely hate their "helpful" redirects of domain typos to crap pages.

comment 17y ago · link · parent

I always go a step further, and use at most one "return" in a function.

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

True, though "ps" isn't the best example, as it's one of the least portable commands I've ever seen. :) Its output is not even consistent from one Unix variant to another.

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

Probably the first site I've seen that uses SVG as the entire page, and it's really neat. The whole thing scales beautifully no matter what size the browser is.

comment 17y ago · link · parent

I wish I'd done that earlier, but I only thought of it after the editing window (2 hours?) was gone. I can't fix it now...

comment 17y ago · link · parent

Terminal.app is very good in many ways, but Apple really needs to work on the configuration mechanism before I can use it regularly.

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

You might also try MacTelnet, it has a multi-display full screen mode that can either zoom or resize windows to fit each display.

comment 17y ago · link · parent

On the Mac, I use MacTelnet, even as a local terminal. It has an almost ridiculous number of features (compared to Terminal.app or iTerm, anyway), and is very configurable. The main problems are that it is mainly vt100/partial-xterm, and is a beta.

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

The syntax highlighting feature might be relying on the 16/256 basic colors (a.k.a. ANSI colors).

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

Ah, that's good to know. Though I (still) have Xcode 3.1 installed, I was surprised it would just delete the /usr/bin stuff.

comment 17y ago · link · parent

The structure is consistent with other bundles. But the question is, are bundles really the logical way to handle documentation? I don't think so.

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

But note that the overarching guideline is to structure programs in ways that are generally useful (particularly to other programmers).

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

This blog post contains mostly a small list of design principles. But those ideas are from ESR's book "The Art of UNIX Programming", where they are expanded upon in great detail, with excellent examples.

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

Yeah, I've seen this several times. I don't know how they put the site together, but it doesn't sound like it would be a hard problem to solve.

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

Which colors do you mean? The Preferences window is used to modify background and text, etc.

Although I admit, the requirement to create preference sets (or modify the default) in order to change a single window, is irritating. That's why I use MacTelnet instead. :)

comment 17y ago · link · parent

I've noticed no real compatibility problems so far, and I just upgraded my Leopard machine. (Still took an hour, and I didn't even opt to install Xcode 3.2 yet.)

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.

1
838485
98