Live data from Hacker News

Don't tug on that, you never know what it might be attached to

blog.plover.com

51–60 of 98 posts

Re: Don't tug on that, you never know what it might be attached to

#51

I did not quite get why is he starting emacs with "git re-edit" with re-edit being some Perl script. What is the role of git in this setup?

Just that, when you run '$ git nonstandard-subcommand', then the git executable looks for anything executable in the path that is named 'git-nonstandard-subcommand'. Then it runs it. That's all. But at that point, git could have been doing something to the environment before invoking the custom script.

Re: Don't tug on that, you never know what it might be attached to

#52
post #38
post #10

No reference to the full quote? :) "You can check your anatomy all you want, and even though there may be normal variation, when it comes right down to it, this far inside the head it all looks the same. No, no, no, don't tug on that. You never know what it might be attached to. " - Buckaroo Banzai

The movie is quoting that from a neurosurgeon. I first saw that line in a book about the Massachusetts General Hospital.

In the movie the lead character is also the neurosurgeon :)

Re: Don't tug on that, you never know what it might be attached to

#53

Earlier quoted context omitted.

> Incidentally, this is also why I never like modifying a working system unless it's absolutely necessary. It's why I find auto-updating apps so infuriating. The trend is that every app, OS, and driver insists on being self-updating. It's going to be very difficult to maintain a reliable system if you're doing anything complex. Privacy issues aside, that's another reason I never plan to use the continuously self-upda…

I think this is a serious issue, at least for developers. I've never been burned by a self-updating browser, but anything beyond that seems downright unacceptable. There are just too many fragile, hand-managed dependency chains at work even in good setups.

"I've never been burned by a self-updating browser..."

I develop browser-based software which, after one Chrome update, was rendered unusable by a bug in Chrome. Fortunately, Google pushed out a new version with a fix the next day.

Re: Don't tug on that, you never know what it might be attached to

#54

I almost hesitate to say this, but it seems to me that emacs needs a new command line parameter to allow the user to specify the location of the socket file.

In case you're talking about emacsclient, that has one, --socket-name, as the article says.

If you actually are talking about "emacs" and not "emacsclient", then the argument you want is --eval '(setq server-socket-dir "/what/ever")'

Re: Don't tug on that, you never know what it might be attached to

#56
post #30
post #8

As a sysadmin on a Windows network of ~100 computers, this story makes me want to cry, although maybe for the wrong reason: I see weird problems of the sort "It did work before I went on my lunch break" on a fairly regular basis. How often would I like to go down the rabbit hole and explore these problems in such depth, but if I did that, I would hardly get any work done. The frequency at which our users run into the…

One of the biggest cultural changes I had when I jumped the fence from Windows to Linux was the reboot. On Windows, the culture was strongly "reboot first, if it still happens, then it's a problem". On linux, it was a measure of last resort, because then you can't fix the problem (as you say). Obviously the latter is the best way, but it's interesting that the culture of the two systems is so different, no doubt born…

Except you have to triage. I'll happily reboot any box which fails unusually because my overall system should be HA enough to survive that. It's only interesting if the failure count is high, and I'm running reasonably up to date code. Otherwise there's too many things in a day to get through.

Re: Don't tug on that, you never know what it might be attached to

#57
post #8

As a sysadmin on a Windows network of ~100 computers, this story makes me want to cry, although maybe for the wrong reason: I see weird problems of the sort "It did work before I went on my lunch break" on a fairly regular basis. How often would I like to go down the rabbit hole and explore these problems in such depth, but if I did that, I would hardly get any work done. The frequency at which our users run into the…

This is what I hate about closed source software in general. Every sysadmin out there has complaints about how terrible support is from XYZ vendor, but it's not just that the vendor can't provide support, it's that by going closed source, the vendor is the only one who can really track down these sort of bugs. With an open source stack, no matter what breaks in any software component, I'm not left high and dry hoping that some vendor who charges buckets of cash per incident is competent. As a sysadmin, I'm putting my neck on the line anytime something breaks. I need to be able to fix things when the vendor fails.

Re: Don't tug on that, you never know what it might be attached to

#58
post #19
post #15

I read this, but seemed to skip over the part where he explains why this changed suddenly, when the behavior was documented? What changed to make the perl become capable whereas previously it lacked the low port capability?

He usually started emacs directly. In this case he started emacs via a perl command, very very indirectly. Also, a recent change was an admin setting TMPDIR, previously it had been left unset. So it was a combination of two things that triggered it, and not one alone.

> So it was a combination of two things that triggered it, not one alone

And this basically sums up all the troubleshooting time sinks I've experienced in my career.

Re: Don't tug on that, you never know what it might be attached to

#59
post #4

> This computer stuff is amazingly complicated. I don't know how anyone gets anything done. Indeed.

In particular, the set of exported shell environment variables is a sinkhole of state that can potentially affect every program we run.

Re: Don't tug on that, you never know what it might be attached to

#60
post #29

Earlier quoted context omitted.

> Incidentally, this is also why I never like modifying a working system unless it's absolutely necessary. It's why I find auto-updating apps so infuriating. The trend is that every app, OS, and driver insists on being self-updating. It's going to be very difficult to maintain a reliable system if you're doing anything complex. Privacy issues aside, that's another reason I never plan to use the continuously self-upda…

On the other hand, chasing after CVEs is also infuriating, but in the opposite direction. auto-update makes it possible to live in an environment where security issues are found by the bucket load every day. There really isn't a good answer either way, but between "breaks occasionally" and "needs a full-time admin, but updates are vetted", I prefer option 1 for my private systems, and option 2 for things that run in…

This is where supported distributions come in. In Debian or Red Hat you can practically assume that the OS update will not break anything. (There are occasions where it does break something, but I don't remember anything major in a good few years.)
Post reply on HN