« first day (3239 days earlier)      last day (26 days later) » 

6:28 AM
Possibly dumb question here, but... I have an executable in /usr/local/bin which I don't want to be able to run. For reasons I'm not clear about, it starts up instead of other, more suitable commands. (It's a proprietary PDF reader/editor/annotater called FoxitReader.) If I remove executable permissions from it, that is sufficient, right?
Hmm, never mind. It's a symbolic link.
lrwxrwxrwx 1 faheem staff 54 Jul 15  2018 FoxitReader -> /home/faheem/opt/foxitsoftware/foxitreader/FoxitReader
So I just removed the symbolic link.
 
 
5 hours later…
11:01 AM
@FaheemMitha yes, very much so.
37
A: Differentiate Interactive login and non-interactive non-login shell

terdonThe only real misconception you seem to have is about what constitutes a non-interactive, login shell. Briefly (see here for more details), with examples: interactive login shell: You log into a remote computer via, for example ssh. Alternatively, you drop to a tty on your local machine (Ctrl...

106
A: Scripts in /etc/profile.d Being Ignored?

terdonTo understand what's going on here, you need to understand a little background information about how shells (bash in this case) are run. When you open a terminal emulator (gnome-terminal for example), you are executing what is known as an interactive, non-login shell. When you log into your ma...

 
11:59 AM
Does Linux on Android not have /dev/stdin?
 
@Kusalananda no, it doesn’t
 
/proc/self/fd/0 then?
Or standard input in some other form, accessible via a path?
 
@Kusalananda yes, /dev/fd/0 and /proc/self/fd/0 (/dev/fd is a symlink to /proc/self/fd).
 
@StephenKitt Much thanks.
 
@Kusalananda you’re very welcome!
 
12:04 PM
 
@JeffSchaller of course :-(
 
"potato is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct."
 
That should read “... in asking for clarification, commenting, answering, or nuking from orbit. ...”
But that’s not really CoC-compliant.
More like CnC-compliant.
 
"I see you're new here. Goodbye!"
 
12:13 PM
@StephenKitt I nuked the user.
The only thing they've done is post nonsense, so if they want to actually participate, they can make a new account and behave.
 
slashdot had an interesting feature, where admins could set a user account so that it continued to behave as usual, from the user’s perspective, but none of the user’s actions were visible to others — sometimes I feel that would be nice here (but it would go against the principle of trying to get users to improve, which seems to be a basic assumption on SE)
 
sounds like a shadow-ban?
 
@JeffSchaller yes! that was the term
 
I heard it in re: Twitter more recently
SE did seem a little weird to me at first -- lots of "invisible" things happening that were mysterious, but I thought it was a useful-enough place to stick around and figure it out. Seems like the "bar" keeps out spammers, but occasionally lets through people that still don't understand how the place is supposed to work.
 
I think that SE have really managed to get the moderation angle sorted, in a scalable way (i.e. interested users can do lots of moderation, not just moderators), which means that communities can set their own tone effectively. That doesn’t solve the general human problems, but it gives a fighting chance to communities which try to maintain a welcoming atmosphere.
Of course it’s all vulnerable, still, in that a sufficiently patient and motivated group of users could subvert a community, but it’s the best I’ve seen on the Internet with a general appeal.
(As opposed to mailing lists such as TUHS, SunHelp etc. which also have a great atmosphere, but a small community.)
 
12:26 PM
@StephenKitt Yes. This.
 
SO posts are getting harder and harder to distinguish from gibberish: "My worker Celery works in localhost but not in heroku"
"You have to configure Celery running on Heroku to use your Heroku redis"
 
My salad counter is overflowing!
 
My hovercraft is full of eels!
I'm sure the're some rational technical context where that phrase will make sense. If only because Monty Python is so popular in the geekosphere that someone will have written something precisely to make that sentence possible!
 
I wish I had a worker Celery. They could do some vacuuming around localhost.
Some light garbage collecting maybe.
 
Preferably a worker Celery capable of dealing with your cat’s output ;-)
 
12:38 PM
That too!
Unless "heroku" is Japanese for "litter box".
 
 
1 hour later…
1:42 PM
@terdon Ok, thank you.
 
I'm slightly confused by the following question. Isn't that what's happening when there's ordinary communication between the laptop and the other machine? Is there some kind of special "linking" of the two interfaces that can be done?
0
Q: Connect a bridge interface from other machine

zubuntusthis is my first post, sorry for any inconvenience. I want to link a bridged interface from another machine to my laptop. So that any packets sent from my laptop can be sent both interfaces from the the other machine. Is it possible? example configuration: laptop -----eth----- | machine ...

 
@Kusalananda Linux can act as a bridge, where all packets on any interface on the bridge are sent to all interfaces on the bridge
but I suspect an XY problem here
 
But a bridge can't span multiple machines, right?
 
@Kusalananda right, it can’t
 
The fact that the two interfaces on one machine are bridged seems unimportant.
 
1:50 PM
Well, it may be part of the solution: if the target’s ethernet interface is also added to the bridge, it should work...
 
Alright, that's beyond me in any case.
I wonder if they are trying to implement some sort of failover. Maybe a carp thing.
 
Or port mirroring perhaps...
But I read the question the wrong way round, adding the external interface to the bridge wouldn’t fix things directly. However the Linux kernel is capable of port mirroring.
 
I just read the carp(4) manual on OpenBSD. I love how simple they make it: man.openbsd.org/carp
 
@Kusalananda indeed, with meaningful examples
 
 
3 hours later…
5:20 PM
Hah, weird US-only experience: just looked at monitoring system, was shocked: that disk is running at 95°C! then realized oh wait, I converted that to °F to be nice to everyone...
At least I labeled it up top as °F.
 
5:51 PM
@derobert Isn't Fahrenheit standard in the US, though?
Perhaps not for computer usage.
 
6:12 PM
@FaheemMitha I think the issue is that as long as most of the rest of the world is using Celsius, people in the US can never be entirely certain what the unit of degrees is when this is not explicitly added to a number.
 
@Kusalananda Agreed.
 
 
2 hours later…
7:51 PM
Any zsh users?
1
Q: Whta does alt+/ do in zsh?

Mohammad KholghiUsing zsh, suddenly found that pressing alt+/ shows a message: zsh: do you wish to see all 18221 possibilities (18448 lines)? After pressing y, it starts listing a long list of item. What is that list? NOTE: (after pressing Alt, press / fast, otherwise is shows the last argument of the...

 
8:17 PM
@FaheemMitha Depends on where you look. °C is standard in science, engineering (sometimes), and just about every sensor is in °C (or something related, like tenths-of-°C). So e.g., if you look at the SMART values directly from a disk, they're in Celsius. So I mostly look at the "raw" values in °C, thus its easy to get surprised by °F...
 
@terdon On my system, it just outputs ÷
On the bright side, it got me to try the Apple Key + / in iTerm, and that does the following:
 
Although, whenever room temperatures are in °C, that's ... well, not surprising, as it's immediately obvious the room isn't really in the 20s, but still confusing.
 
(higlights the cursor by putting a bright gradient with a hole over the whole screen)
 
@Kusalananda well, at least you'll never lose your cursor again.
 
8:37 PM
@derobert Lost it for a while over the summer. Couldn't get anything done for almost two days!
 
@Kusalananda well, you could have switched to a non-visual editor (hi, ed!), but that'd be painful. So it's a good thing they added the spot-the-cursor-from-orbit mode.
 
Hey, maybe I could ask a self-answered question about that? "I lost my cursor, where is it?" "Just press Apple+/ and it will be located for you!"
@derobert Ed isn't "non-visual". It's a line editor. You can see a line.
Actually, there was some program developed for people that had vision impairment, and I think it was based on ed. Hmmm.... what was it now?
 
I don't think that really counts as a visual editor... I mean, you could presumably run it on a tty. The actual typewriter one. Anyway, importantly, you don't need to know where the cursor is.
 
Well, it was edbrowse, not really a generic editor: edbrowse.org
 

« first day (3239 days earlier)      last day (26 days later) »