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

The other evil thing about "~\Library\Preferences\Macromedia\Flash Player\" is that it keeps an entire tree of every host name you've ever been to, even if the directories end up empty.

Things like "private browsing" are misleading because of things like this, because they'll never find everything.

comment 17y ago · link · parent

This is a very useful thing, and it's crucial that programmers learn it.

And though it doesn't specifically say so in the article, this technique really needs to be applied everywhere in a C++ program and its libraries. Maybe your program doesn't throw exceptions, but something else might; if your cleanup isn't automatic, it may not always occur.

comment 17y ago · link · parent

I use OmniWeb (WebKit-based) on the Mac, and while it cost a little money, this is one of those cases where I thought it was well worth it.

OmniWeb has extensions of sorts, though I've never needed any because I found the defaults to be really well thought out. YMMV, of course.

comment 17y ago · link · parent

Sure. Say, when menus are open and being used, they will sometimes be forced to close by other tasks. I have had background processes such as Automator tasks steal focus for no apparent reason.

2735.

Focus stealing

3 points · by makecheck · 17y ago · 6 comments

comment 17y ago · link · parent

You can't work for yourself, because your visa only allows you to work for your "sponsoring" company.

Though I think you can start a company, someone else would have to be completely in charge of running it (which for many people isn't the reason they'd start one in the first place). You can't participate at all, or the visa terms are violated. But you can make money...for example, if you have stock, as this wouldn't be any different than any other "passive" investment.

The problem is, you still risk your visa status if you break any rule. Changing your status first is definitely safer in my opinion.

comment 17y ago · link · parent

I like "markup that doesn't look like markup", e.g. reStructuredText or Textile.

comment 17y ago · link · parent

People have more opportunities to stay in shape than they often realize. Walking helps a lot, and is very easy to do; for instance:

- park really far away, every single day at work

- find excuses to walk over to talk to people instead of calling or E-mailing

- use stairs instead of elevators

- when walking from point A to point B, choose an indirect route

- take a walk around the building every day after lunch

- a few days a week, walk around your neighborhood for half an hour

- every time you drive somewhere, walk inside (no drive-throughs)

comment 17y ago · link · parent

As someone who has gone through the immigration hoops, I've always been terrified of exactly this happening.

At some point, as with patent law and so many other laws that apply to tech, the "implementation" of immigration law hasn't done the best job of achieving the "intent". Surely, telling people to "get the hell out" when they've been valuable contributors, isn't in the best interests of the country?

comment 17y ago · link · parent

Some interesting quotes from the interview...

"The Macintosh will die in another few years and it's really sad. The problem is this: no one at Apple has a clue as to how to create the next Macintosh because no one running any part of Apple was there when the Macintosh was made--or any other product at Apple. They've just been living off that one thing now for over a decade..."

and

"Apple could have lived forever and kept shipping great products forever. Apple was for a while like Sony. It was the place that made the coolest stuff."

So Jobs had essentially given up on Apple's ability to succeed, since there was apparently no drive to create great new products after Sculley took over.

I've seen plenty of organizations grow stale. And whether or not greed is the factor, the result is the same: the people who were truly passionate just leave, and what's left is an empty shell with clueless people in charge.

Fast-forward to 2009, and it's clear why people are worrying that Steve's not at the helm, because Steve is good at this kind of "push" for progress. Still, he's not the only one who is. As long as Apple leadership doesn't start to "live off" the success of the iPhone, etc., they will survive and attract good people.

comment 17y ago · link · parent

The Mac's Keychain Access program (Utilities folder) is pretty good for this. Most programs I use directly support it, e.g. Mail passwords, and web site passwords in OmniWeb. You can also add your own passwords or secure notes without having a program "support" the keychain.

Sync of keychains is possible, but only if you pay for MobileMe (nee iTools/.Mac).

Unfortunately, Firefox uses its own password manager on the Mac instead of a keychain.

comment 17y ago · link · parent

Customize the number of "reply comments" visible below each main comment. Or maybe, a widget to show or hide a comment tree (with the option to be hidden by default).

comment 17y ago · link · parent

Apparently most of the ISPs want usage-based pricing. That is a little scary, given that it's currently difficult for average users to control what they're downloading (e.g. you hit a page caked with Flash, you've now paid extra for crap you didn't want).

On the other hand, maybe this would spark a revolution. It might encourage both sites and users to do things they should have done anyway. For example, making sites optimize their byte size, since they'll either lose customers or have visitors harping at them for "wasting" their download money. And, average users may start to criticize what is being uploaded on their behalf by programs, etc.

comment 17y ago · link · parent

The security analyst said "Of course, the real problem is that people haven't patched their software. If people do patch their software, they should have little to worry about.".

While patching Windows will clearly help in this case, that is far from the "real problem". The "real problem" is that, for the umpteenth time in a row, Windows has been severely compromised, and people are simply handing money over to Microsoft without demanding far better security (or, they don't know any better).

comment 17y ago · link · parent

That isn't really fair to the recipient. Why should he or she spend extra time figuring out what you said, and you spend no time at all making it easier to read?

comment 17y ago · link · parent

I would add to this that writers ideally be able to use "8th grade English", so it is easy for any English speaker to read.

It's a global workforce. Yet too often, I see a colleague send a brain dump of 3 or 4 paragraphs to someone in another country. Imagine yourself having to use a translation dictionary for half of that?

It really helps if you use just common English words, in brief sentences. And yes, this might take extra editing time. Yet, this helps anyone reading it, not just those with English as a second language.

comment 17y ago · link · parent

I see this problem in every social news site, and also here: it seems that over a few days, 3 or 4 posts will eventually refer to exactly the same "news". But unless the duplicate submission has the same URL, the redundancy isn't detected.

Users should be able to flag new posts as duplicates, and identify the "older" headline to use instead.

If enough users agree that a post is redundant, then it would become "merged". The oldest submission on that topic is then rewarded all vote-up karma points from all duplicates, and displays all comment threads. In addition, the duplicates either go away or are displayed side-by-side with the original in all lists, avoiding the problem where the "same" story is front-page news under one title and page 5 under another name.

comment 17y ago · link · parent

I am not a lawyer.

But my understanding is that the copyright holders have the right to change the license.

Once people contribute to the project, they, too, are copyright holders. If a contributor does not approve of the change to the license, he or she should have the ability to remove his contributions from the product (or otherwise relinquish copyright) before it is forked.

In addition, anyone is free to fork from the last "free" version, which could cause its own problems for you. The free software community could decide that they much prefer the free version, significantly enhance that fork, and leave your commercial product looking dull and not worth the money.

comment 17y ago · link · parent

The information/example for "hardstatus" in the article is nice. I had only used "screen" briefly, and didn't realize that a constantly-visible status line was possible. The default configuration, which is to display no evidence that "screen" is running, isn't as useful in my opinion.

2750.

What those fields in your profile mean

5 points · by makecheck · 17y ago · 2 comments

comment 17y ago · link · parent

Considering most people think in terms of .com, and browsers let you type "xyz" to guess "xyz.com", you're really better off choosing a word that users can type without remembering where the dots go.

comment 17y ago · link · parent

I agree that it's useful if there is a way to customize a program's "markup". Once the markup is there, though, anything can display it.

For instance, in an xterm-color or linux terminal, you could type something like ":colo darkblue", and you'd still see custom colors. This is using vim's color path (e.g. "/usr/share/vim/vim72/colors", "~/.vim/colors").

But the colors are there because the text includes things like "make this bold", or "make that green". And in a terminal, I might have customizations for this markup that apply to everything, which can be nice. For instance, maybe I make all bold text red, and that holds in everything from editors to man pages. It's convenient to not have to make these settings in every program that I run.

comment 17y ago · link · parent

I admit to not knowing how the Windows registry's various parts are protected. But individual files/directories can be protected separately on Unix-like systems (whether they are is another question).

If the Unix root user is not enabled, especially for remote access, and assuming you don't have access to the physical device, then it's a question of which Unix accounts and groups you do have access to. Also, technically directory write permission is all that's needed to compromise a Unix file, so all files in the same directory are equally vulnerable. (Even this assumes base permissions and not ACLs, etc.)

comment 17y ago · link · parent

What this really means is that the definition of "operating system" has been lost. A computer's OS is supposed to manage resources, and control abuses. Consumers don't understand that they should be demanding these features from an OS vendor.

The fact that an OS is "less" of a hog isn't a feature, it only means that the OS vendor is continuing to completely fail in its responsibility.

comment 17y ago · link · parent

If there is one place to monitor on Windows, that's a slight advantage. But, it wouldn't take many edits to that one place to cause permanent damage to the system (i.e. programs are now screwed up, you have to reinstall Windows; good luck).

Maybe it is harder to notice a breach on Unix, but it is also correspondingly unlikely that the breach will affect all programs and make the system unusable. The closest thing to the frailty of the registry would be something like hacking /etc/ld.so.conf on a Unix system.

comment 17y ago · link · parent

Which by the way, is fully-documented here: http://www.pathname.com/fhs/

comment 17y ago · link · parent

I suppose it's a preference by some, but I've always found it perfectly fine to just run "vim" in a terminal. It seems to me that an editor doesn't need to provide features that a terminal already has: I can set the terminal colors any way I want, or have buffers open in multiple windows or tabs, etc. And when the terminal handles this, I have the same power and flexibility over any program, not just the editor.

comment 17y ago · link · parent

It's a nice idea, particularly considering that it would apply to any web browser used.

Though on Mac OS X I prefer OmniWeb, which has these filters as well as the ones that GlimmerBlocker says it doesn't have (i.e. control over cookies, JavaScript, etc.).

comment 17y ago · link · parent

I suspect that the immigration attorney quoted in the article is exactly right, that you aren't allowed to make extra money as an immigrant.

Of course, this is probably the perfect example of a rule that's been taken to the extreme. And, therefore, the law should either be modified to be realistic, or be thrown out.

I can't imagine the average person screaming "hell no, deport him!!!" if they found out an immigrant made a few extra bucks here and there on a blog. Especially since blogs, of all things, could easily be produced from other countries.

comment 17y ago · link · parent

I'm reminded of Mac OS X 10.0 being so sub-par that Apple decided to make 10.1 free, to compensate. This turned out to be an advantage for developers as well, as they could simply forget 10.0 existed and require 10.1, fixing some problems.

Vista certainly qualifies as a sub-par OS worthy of a free upgrade. With Microsoft having lots of money, and a need for really good P.R. right now, they would be smart to mail off a Windows 7 box to all of their Vista buyers. Developers and OEMs could then forget that Vista ever existed, and apps could move forward to require Windows 7 (or XP) as a baseline.

1
919293
98