« first day (2956 days earlier)      last day (1997 days later) » 

8:11 AM
@JohnDoea the problem with that is, where does an answer stop?
In the context of unix.stackexchange.com/q/479452/86440, in my answer, the very first sentence refers to shells, commands, functions, files, file creation, masks, each of which would deserve explanation if I follow your logic to its conclusion.
That doesn’t scale...
 
 
1 hour later…
9:38 AM
0
Q: Dpkg/apt problem with pyhon/ansible

Scorpioni installed a kernel:apt install linux-image-4.18.0-0.bpo.1-amd64, after I used apt autoremove. It has removed some python packages that i don' t remember, after I ran into some problems. Settings and gnome-tweak-tool disappeared, setting is still missing. I tried apt -f install, apt --fix-broke...

 
 
2 hours later…
12:07 PM
I wish I could +1 an edit; JdeBP probably saved that question.
 
 
3 hours later…
2:56 PM
@terdon so in the answer i cannot link another answer that is here? It wasn' t an external link. And the solution wasn' t in the link
 
3:16 PM
@Scorpion The idea is not to post answers that break if the link is removed. We need the answer to be here, not somewhere else. Have a look at this post for details:
550
Q: Your answer is in another castle: when is an answer not an answer?

Shog9I think we can all agree, this sucks: If you've been around a little while, you've probably encountered hundreds of answers like this in various forums, some of them even marked as "The Answer" by well-meaning1 forum admins looking to close a thread. We could try to enumerate the commonly-obse...

If the solution is given in the link, then copy it and include it as a quote in your answer
 
3:44 PM
@terdon Are copyright issues addressed anywhere in this discussion? Or does fair use cover it?
 
4:02 PM
@FaheemMitha Fair use should cover it. I guess. As long as it's quoted and referenced.
 
4:15 PM
@terdon ok. Does Fair Use have a length limit?
 
user141350
@StephenKitt I think clarifying the relevant formal-logic behind the term ("anding") and how it differs from addition and concatenation is most important; I didn't think anything else had to have an expansion...
 
user141350
Of course, the question "where does an answer stop" is a good one anyway...
 
@JohnDoea that’s from your perspective; while that’s important since you’re the question’s author, answers are written for all readers of the site, not just the question’s author. Explaining binary operators is IMO beyond the scope of explaining umask — in fact it’s beyond the scope of this site!
 
user141350
4:46 PM
@StephenKitt okay okay, I didn't know "anding" (which I'm still not sure it it's "logical conjunction") is the exact same as bitwise operations.
 
@FaheemMitha I have no idea. All I know is that a link isn't an answer and if you want to make it one, copy the contents of the link. For everything else, you'll need to ask someone who knows the first thing about copyright law.
 
@JohnDoea it’s not “logical conjunction”, it’s “binary and”
 
user141350
Okay, "anding" in Google brought me to logical conjunction. Hence I asked. Thanks.

https://en.wikipedia.org/wiki/Anding

You could see the reference there to "Logical conjunction".
 
@JohnDoea yup, which is why I updated my answer to specifically refer to bitwise operations ;-)
 
@terdon There probably are no fair use laws that govern usage internationally, anyway.
The best available is probably fair use under the Berne Convention.
No, sorry, my mistake. it's not under the Berne Convention.
 
5:06 PM
@terdon I sure understand but if the link is to another answer in stack exchange isn' t it fine?
 
@Scorpion No, because again that answer could be deleted or edited or whatever. So if your answer depends on that one, then if it is changed, yours becomes useless.
 
Any Nix users here?
 
@terdon imo my answer could provide the solution even without the link, that only explains how drop a root shell in grub2, I don' t know if in solaris is the same.
 
5:23 PM
Can someone give me a sanity check on a scripting issue?
(I've read the big QA)
 
@bertieb A quick question? Sure.
 
I'm not sure if it's enough to warrant a full-fledged question on here or SU
 
@bertieb We will see.
 
ffmpeg complains about not being able to write to an output file in a directory (which has a space in the path), but happily reads input from another file in that same directory
I have double-quoted the full path in both cases
 
@bertieb How do you invoke ffmpeg in those instances?
 
5:26 PM
2 ticks, just checking if non-ffmpeg commands also choke
(this is an XKCD-style quick, dirty, hacky bit of automation here)
 
What is the exact error message?
 
And I guess there's a couple of alarm bells ringing as a result
"Could not open file: <path> av_interleaved_write_frame(): Input/output error"
 
I/O error? Huh.
That doesn't say much.
 
It succeeds writing to another directory without spaces
 
Have you double checked that the path exists and that you have permission to write there?
 
5:29 PM
touch succeeded
Let me dig further
 
You may want to ask a full question here on U&L, which would include the actual commands used and the verbatim error message along with what Unix you are running on.
 
@Scorpion The rest of the answer wasn't answering anything. You literally said "search how to do it on Solaris". Since there was also another answer explaining how to boot in single user mode on Solaris, yours wasn't adding anything so I deleted it. If it included the details of how to boot to single user mode, that might have been different, but as it was it wasn't adding anything.
 
(no trimming or shortening of anything)
@bertieb You would also (if you ask a full question) show that you can in fact ls the directory where you ar writing the file and demonstrate that you can touch it.
 
@Kusalananda Sure! Want to make sure I haven't derped somewhere first, which is usually the case ;-P
 
@bertieb Well, that may still be the case, but the more info you give the easier it will be to spot what's going wrong.
 
5:34 PM
@bertieb sometimes using $() instead of backticks makes things easier since you can quote the entire thing more simply.
 
@Kusalananda Sure
@terdon Good shout, I try to steer away from backticks, probably having read something against them on here :)
 
Oh, that was what "2 ticks" meant... ok
It's usually better to show the actual command than to describe it.
 
Oh right sorry!
I need to be careful with idiom namespace clashing :P
(in the sense that I meant 2 ticks in the "wait a short time", not that I am defining namespaces in my scripts...)
 
ooooh!
 
5:49 PM
@terdon shellcheck says backticks are deprecated...
 
@Fabby One of the reasons I just suggested they should not be used, yes.
Although not deprecated as such, as far as I know, they still work it's just that $() is better.
 
I always use $("")
(well, not for scripts > 2 years which I haven't touched since)
 
user141350
6:04 PM
@StephenKitt that's good of course but isn't it it good in your opinion to declare that bitwise operations and logical conjunction are not the same thing? Given the bad disambiguation in the Wikipage I linked to, one might think they are...
 
@terdon single user mod? what is? my answer tell to drop a root shell via recovery mode
@terdon didn' t I answer first?
 
6:39 PM
108
Q: Have backticks (i.e. `cmd`) in *sh shells been deprecated?

slmI've seen this comment many times on Unix & Linux as well as on other sites that use the phrasing "backticks have been deprecated", with respect to shells such as Bash & Zsh. Is this statement true or false?

 
@Scorpion Single user mode is what you were calling a root shell. And yes, you did answer first but your answer wasn't actually addressing the essential part of the question which was how to do this on Solaris. Instead, you posted a link to an Ask Ubuntu post.
But you can always post a new answer with more details. I'll be happy to upvote it even.
 
@Kusalananda Thanks! :-)
@Kusalananda heh! :-) +1
aka: Think before you act!
 
6:56 PM
I wonder what made this question come to life? No answers all year, and then suddenly two answers?
2
Q: Running a borg extract remotely

Faheem MithaConsider that backups have been made to a remote repository, located on /mnt/backup on server. For non-Borg users, a repository consists of multiple archives. A single archive is created every time a backup is made. Now, suppose I want to extract a specific archive - for simplicity, the most rec...

 
7:47 PM
@FaheemMitha First one may have been from someone just browsing tags. The second one may have been from someone seeing it being pushed up by the first answer.
 
@Kusalananda Sounds plausible.
 
8:28 PM
In the category of weird, questions, workplace.stackexchange.com/questions/122412/…
But the question sounds real to me. This is also a HNQ, which is how I saw it.
 
8:52 PM
@FaheemMitha Most people seems to lose IQ points once they are in front of a computer. Some worse than others....workplace is not the worse of places, travel SE is really bad.
 
@RuiFRibeiro I'm not saying it's stupid - just odd. Maybe the poster has low self-esteem? I can relate. He certainly sounds insecure.
Even I know that offering to take a pay cut is a bad idea. And I'm not exactly a business savvy person.
 
9:25 PM
@FaheemMitha yeah, never a good idea.
 
jsb
10:17 PM
Not sure whether this is obvious, but I've got this problem: I downloaded the Julia binary package, and I can run it fine from the directory where I extracted it
Like pi@raspberrypi:~/opt/julia-1.0.0/bin $ ./julia
Then I created a soft link from ~/bin/julia to ~/opt/julia-1.0.0/bin, and added ~/bin to my $PATH
But when I now run julia (from somewhere else), I get julia: error while loading shared libraries: libjulia.so.1: cannot open shared object file: No such file or directory
ldd julia shows libjulia.so.1 => /home/pi/opt/julia-1.0.0/bin/./../lib/libjulia.so.1
Anyone know what's going on here or does this warrant a proper question post?
 
10:47 PM
@jsb Not obvious to me...
(but that doesn't mean anything)
>:-) ;-)
 
11:14 PM
I used to think gcc was a drag to build. rust is several times worse, and ghc is almost as bad. Oh well, I'll just hope they are all done by tomorrow when I wake up...
 

« first day (2956 days earlier)      last day (1997 days later) »