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

I'm also curious if it knows which IDs registered as which OSes.

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

I have been able to do powerful things in TCL, and quickly. However, I believe it is one of the most difficult languages to debug, and its maintainability cost is extremely high. You can't underestimate the risk that this is to a project.

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

Not a very well researched article, mostly a rant.

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've used Trac, which is pretty customizable and does a nice job (though it is a bit more project-oriented).

I have also heard many good things about Bugzilla.

comment 18y ago · link · parent

http://news.ycombinator.com/item?id=384897

comment 18y ago · link · parent

I hate articles-about-articles. What this site is actually referring to is Paul Thurrott's original post here, which has a lot more detail:

http://www.winsupersite.com/win7/win7_simple.asp

comment 18y ago · link · parent

As usual, the changes are early-adoptable to a degree in the preceding Python version (2.6). Just use __future__ imports and try the -3 switch to see deprecation warnings.

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

I've used Macs for over 20 years and I have never, ever had a virus.

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

It's not realistic in my opinion for interviewers to throw complex problems at people and expect to draw useful conclusions. For one thing, truly challenging problems are generally solved in teams. And there are plenty of differences between pure math and how computers do it (think of an entire course on numerical analysis).

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 think it would help if a user's first few karma points could only be obtained through upvoted comments, and not submissions. Submissions should be disallowed until you reach a certain karma value, ensuring that you've contributed meaningfully to discussions for awhile before you can add your own. (This would avoid the all-too-common 1-karma-user posts of spam or stuff from Reddit that isn't even related to us.)

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

It would seem that some of these git "problems" can be solved the way you'd automate anything else in Unix...write your own scripts or aliases.

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

Microsoft's expenditure is known to be $300 million for Vista. But the article is comparing this to Apple's total budget.

Apple still has iPod commercials, for instance. The portion spent on the Mac probably isn't "bigger" than Vista's.

comment 18y ago · link · parent

This is SearchWiki. You only see that if you log in, and it only affects your view of specific results.

See: http://googleblog.blogspot.com/2008/11/searchwiki-make-searc...

comment 18y ago · link · parent

The iPhone has to be concerned about power consumption, and as a general rule unleashing interpreters is risky because it allows "unnecessary" amounts of computation to consume power.

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

An opt-in mailing list system such as GNU mailman would reach the people who want to be reached and give them plenty of options (e.g. individual mails versus digest form, the ability to turn it off temporarily for vacation, etc.).

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

Specifically, HTML and CSS. The article is very specific to web development.

comment 18y ago · link · parent

Do you think no one notices your 1 karma and your freshly created account?

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

Windows does not come with a decent set of tools. A powerful shell and standard installations of interpreters like Python and Perl would go a long way.

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

Looks like they changed it already, now it just says "No suitable nodes are available to serve your request.".

comment 18y ago · link · parent

Two lines of text, guess how much source code Microsoft Word generated to render it.

comment 18y ago · link · parent

Vista broke many XP applications, and customers (particularly enterprises with legacy software) avoided this by not upgrading. Now Windows 7 will be compatible...with Vista, not XP. This doesn't really fix Vista's mistakes: customers who didn't upgrade are once again faced with having stuff break when upgrading Windows.

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

ht://Dig (http://www.htdig.org/) was my favorite back before Google was big. It hasn't been updated since the rise of Google, but it is still a very configurable, nice search engine.

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

For LaTeX, Google the "Not So Short Introduction to LaTeX2E", a fairly short PDF which I found covered almost everything I normally used.

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

I rely on Python's built-in unittest module. While this is most seamless for Python code, with some customization you can make it manage anything (e.g. running external test programs and writing assertions on the results).

comment 18y ago · link · parent

Please don't ever ask about "lines of code". This measurement means absolutely nothing, and I've been programming for over 20 years. Any responses would be misleading at best.

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

While the article is interesting, the title is misleading: it offers no specifics at all about how Windows 7 search improves, the entire thing is about how Windows search currently works in Vista or XP.

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

How does Smalltalk bind to other languages such as C, in order to reuse code libraries? That's a pretty big question if it is to make a "comeback".

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

Developers are motivated by interesting work, and like to have chances to grow their skill set. Also, most developers I know hate rules: give them credit for knowing how to code, don't bog them down with arbitrary things like a 500 page policy manual. Finally, you hired your developers to write code, so make sure you aren't wasting their time on non-development tasks.

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

I apppreciate that Microsoft is looking at this, but they don't seem to be aware of most other window managers. They've identified "problems" that others have long since solved.

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.

1
939495
98