« first day (1218 days earlier)      last day (1851 days later) » 

4:51 AM
@Queen k Ed Morton
 
5:11 AM
@fedorqui I posted an answer of my own to the meta; perhaps you want to review
@Queen k
 
 
2 hours later…
7:32 AM
@Queen k Ed Morton
 
8:03 AM
@tripleee thanks! I just read it and I agree with your view. OP's point of view is legitimate, but what I tried to explain him is that my wannabe canonical is the result of years of experience: almost equal questions answered with almost equal answers. That's why I opted for creating a big canonical to try to cover as much as possible, and I think it is doing well (it has 25 stars for example).
In any case, I am not very active in SO right now, so I don't know if I am missing something in the current way of doing things
 
@fedorqui seems all good to me, thanks for getting back to me
let's see if Alex turns up here and wants to chat some more
 
 
2 hours later…
10:40 AM
@Queen k fedorqui
 
11:13 AM
@shellter thanks :)
I am looking at a command to install node on an Ubuntu machine: curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -. Was wondering what the last bit means: sudo -E bash -. Particularly, the bash - part.
 
11:35 AM
@isquared-KeepitReal you are downloading a script with curl, and piping it to a new bash instance for evaluation
like echo echo hello | bash
the output from the first echo is a script which the pipe forwards to a new shell instance
so you are essentially trusting deb.nodesource.com to take control of your computer
 
12:36 PM
Thanks for the info about this chat room @tripleee.
 
12:48 PM
Yes I see the discussion above. As I mentioned elsewhere, I accept that as @fedorqui has observed over years of experience, there is value in the existing mega-canonical that combines a number of issues. None of this means that the more focused canonicals that I wanted to create that are IMO more consistent with SO's rules would not also be useful.
And in practice it would work fine IMO. If someone comes along and says, "how do you print all the lines between 2 patterns"- close it as a dupe pointing at the big canonical. If someone else comes along and says, "how do you use sed to print all lines between 2 patterns that exclude the range borders" - close it in favour of the more tightly constrained one.
 
I have a question not strictly related to bash, but to the /proc/meminfo file in Linux
Context: I'm a PHP programmer, I would like to read /proc/meminfo to get some memory usage insights to do some things in my application.
I can read the file, and I can get those insights.
 
@AlexHarvey sure, and welcome!
 
But, I'm afraid of interpreting proc/meminfo results wrong.
Providing a little bit more context: If my application is running out of memory, I would like it to cache to database, otherwise, cache it to memory isntead
 
@LucasBustamante superuser.com/questions/521551/… has some doco
 
Exactly!
The question is basically
How can I get the real free memory usage based on that output? For instance, MemTotal might be misleading if I am in a VPS?
The server might have 32GB max memory, but only 2GB available to the VPS, for instance
It's that kind of insight that I feel I'm lacking
 
12:57 PM
@AlexHarvey the problem with multiple pseudo-canonicals (because if they are overlapping, how can either of them be properly canonical?) is that when they differ, at least one of them is wrong, but how do you know which one? collecting everything in one place at least allows us to try to have all the cards on the table
it's all basically the DRY principle
stretching the answers over multiple questions threatens diluting our resources and increases the overhead of coordination etc
@LucasBustamante uh, okay, definitely quite out of scope for a Bash room ...
 
Where does the Unix tech savvy resides?
 
there's a link to a proper Unix&Linux room in the sidebar on the right
 
I couldn't find a room for that, specifically. Thought the bash guys could be them :D
Hmm
 
Aug 29 '17 at 7:47, by tripleee
this is not a general-purpose Linux or Unix room; maybe you want /dev/chat?
 
Cool, thanks for pointing me to the right place
Curious: Always wanted to learn bash. How did you guys learn it?
Books, online courses?
 
1:02 PM
One Stack Overflow post at a time, @LucasBustamante ;-)
Not that I necessarily would learn it that way the second time
@tripleee, I don't really mind- all I can do is leave you with my feedback, that I couldn't find the answers to my sed one-liner needs on Stack Overflow, and I felt that the main reason I couldn't find them was a result of the current organisation. I think I'd find them quicker now after I cleaned up that mega-canonical a bit.
You can probably see my deleted answer here stackoverflow.com/questions/17988756/…
 
@LucasBustamante the Bash Hackers Wiki has a list of tutorials, the one by @lhunath is the one they recommend IIRC
actually programming is a good way to learn but it's been a few decades (-:
 
I'd been searching for somewhere to put that for quite a while, and put it there in the end, only to realise that it wasn't strictly speaking an answer to that question, so I deleted it again.
 
yea I see it
I agree that sed in particular is in a pretty messy state
 
But you can see that so many people just dump their answers anywhere because it's impossible to find the right place to put them- due to lack of tightly-constrained canonicals
 
yeah, that too
and many who don't read questions or don't understand their own answers properly
(sorry, gotta go, dinner etc)
 
1:10 PM
np, ttyl
 
Thanks @tripleee, I'll look into that for sure.
 
1:41 PM
@AlexHarvey that specific question is getting a tremendous amount of views and I think we should mark as duplicate to something a bit more consistent like my canonical, or other. Otherwise, most visitors find something very particular. Otherwise, I can update my accepted answer there to cover all the cases... which is what I was thinking of but then decided to write my own question
 
2:21 PM
Thanks @fedorqui, I really don't mind at this point. Tbh, that Meta post is from weeks ago. I've cast my vote in favour of allowing more tightly-focused canonicals in. And I see the value in keeping your canonical too. I would have both, but @tripleee sees that as a violation of DRY- whereas I think repetition in documentation is not quite the same problem as it is in code. I'm ok with a bit of repetition in SO- but others can decide
 
2:41 PM
My reading list, roughly in order:

http://linuxcommand.org/tlcl.php
http://tldp.org/LDP/Bash-Beginners-Guide/html/
https://mywiki.wooledge.org/BashGuide
https://www.gnu.org/software/bash/manual/bash.html

While reading the complete Bash manual isn't exactly thrilling, it's very useful to get to know all the features there are.
@AlexHarvey Don't forget that questions can be closed as duplicates of multiple questions, so it can point to both the more general canonical and the more specific questions. I'm pretty sure all Gold badge holders are happy to add well suited questions to the list of duplicates when pinged.
 
3:14 PM
Yes sounds good to me @BenjaminW.
 
Here is a list of possible chat channels for Unix/Linux issues not related to `bash` scripting

(/dev/chat)[https://chat.stackexchange.com/rooms/26/dev-chat] . It's header says "**General discussion for unix.stackexchange.com.**"

[ask-ubuntu](https://chat.stackexchange.com/rooms/201/ask-ubuntu-general-room) but of course this is ubuntu centric, so frame your Q accordingly

[Debian GNU/Linux](https://chat.stackexchange.com/rooms/92565/debian-gnu-linux) . Unfortunately no activity or channel description.
 
5:49 PM
@Queen kWilliam Pursell
 
6:28 PM
@Queen k
@Queen k Community
@Queen f hesitantly
 
 
5 hours later…

« first day (1218 days earlier)      last day (1851 days later) »