« first day (3057 days earlier)      last day (1891 days later) » 

1:18 AM
whaaat ... Someone flagged unix.stackexchange.com/review/close/283483 as opinion-based
 
 
1 hour later…
2:27 AM
It seems technically feasible to make a real XML parser in awk if you try hard enough
 
 
4 hours later…
6:36 AM
@MichaelHomer Well, you can write an XML parser in any Turing-complete system. sed for example.
I kinda wish someone did write an XML (and JSON, and CSV) parser in awk. That way one could maybe get people to actually use a parser.
 
6:53 AM
Well, no, Turing-completeness doesn't mean you accept input as actual XML
 
7:18 AM
@JeffSchaller There's an argument to be made for that. Especially considering it's not even a real question.
 
7:35 AM
I really thought about it when I saw it in the review queue
 
I realy should try to install Kali, so that I can ask a question here :D
 
None of the stock close reasons quite fit and I chickened out of leaving a comment
 
8:36 AM
@JeffSchaller If anything, it's "too broad".
 
9:19 AM
That homework question about getting some rows from a table and reversing each row seems to be popular.
 
10:18 AM
@StephenKitt There is the BASH_ARGV array, but I don't know if that's something new in 5.0 (I've never used it), and it's not the same as $@.
 
@Kusalananda indeed, it’s discussed in
2
Q: What is the purpose of BASH_ARGV0 in bash?

RasmusWLIn the release for Bash-5.0 it is mentioned that they added BASH_ARGV0: a new variable that expands to $0 and sets $0 on assignment. What is the purpose of this? When is this an improvement over just using $0?

Actually no, you’re talking about the BASH_ARGV array, sorry.
The change in 5.0 wrt BASH_ARGV is that it is only set in debugging mode.
 
I am having a blank...is there any specific file in debian just for static routes? I could swear I used it in the past.
(Hi!)
(found it, nvmind, thanks)
 
@RuiFRibeiro what’s the answer?
 
10:37 AM
hmm, I'm hitting blank too even though I'm almost certain I've done that.
 
I might guess there was some way to do it within /etc/network/interfaces
...by using post-up if nothing else
 
10:52 AM
@StephenKitt That's a good cartoon.
 
@ilkkachu yeah, that’s what I was thinking of, but there might be something route-specific
 
 
1 hour later…
12:04 PM
and bam, the first instance of the surprise hammer
0
Q: Is there a standard array name for $@, like ${ARGS[@]}?

argleI don't expect it to be modifiable. That is, I don't expect it to enable something like ARGS=("${ARGS[@]}"), but only to simplify something like myarray=("${ARGS[@]/--unneeded-argument/}").

I don't think I'm wrong yet but the jury's out
 
@StephenKitt /etc/network/routes , probably deprecated, was using it in Debian 9, I swear, but not at home to check it. We went to post-up
 
@RuiFRibeiro ah yes, part of ifupdown-extra
 
@JeffSchaller :-)
 
@JeffSchaller well, I undupped it. From the comments and the fact that they accepted Stephen's answer that didn't really go into removing values from @, I got the impression that they were really just looking for an alternate name to @, and the removing items was just an example
should have asked if they were used to Perl... it has use English, which makes alternate names available for some of the symbol variables, like @ARG for @_ (the list of arguments to a function)
 
12:35 PM
@StephenKitt Thanks!
 
Tim
I found a way to make everyone younger. (just for fun)
hint: make your key "D" not working
so "everybody" becomes "everyboy"
My key "D" becomes not responsive for a while, when waking OS up from suspension. That is why that happened.
 
A single key becomes unresponsive when resuming from suspend? How does that even happen...
 
Tim
I wish I knew the ultimate secret of becoming younger
 
More physical exercise and social contacts, avoid stress
mental exercise too, they say learning a new language can keep you sharper
 
Tim
12:55 PM
Although that is not what I meant, thank you
 
Yeah, I know. Sorry. It's just that, well, that advice just seems to keep coming up again and again.
 
Tim
1:08 PM
All you advised is correct. Just seem too leisurely to have
 
@ilkkachu Thank you; when I saw that you and Stephen had answered, I felt worse about my accident.
 
That Kali Linux question earlier... I would also be confused if a /Downloads directory was removed by an update...
 
@JeffSchaller that was a bit of an odd question, though. I really wasn't sure what it was they were after. But then, if one isn't too familiar with the shell, quirks like $@ can seem odd.
 
@Kusalananda if I'm reading it correctly (jury is still out) -- they have ~/Downloads (aka /root/Downloads), and not /Downloads
Linux ~root being /root, versus /
 
1:27 PM
@JeffSchaller I could possibly read it as if they used to be able to cd /Downloads. They certainly sound surprised that they can't do it now after the update.
But then again, they do show the contents of /root.
 
@Kusalananda the image in the post is full of mistakes, so that's the direction I was thinking -- cd'ing to places with extra /
 
Yeah, you'r probably right.
 
cd /Veil when it's a subdirectory of their current directory, etc
 
Yes
 
I'm pretty suspicious of "I've searched everywhere for solutions but can't find anything"
I see slm's reopened it; I think it's worth re-closing as a dupe of unix.stackexchange.com/questions/203750/…
and so I voted!
 
1:33 PM
Yes, I had that as a dupe until slm removed it.
Oh, I can't vote again... :-/
 
I was a little surprised to be able to be able to vote again
I'll never know Stack Exchange
 
1:54 PM
Found a spelling mistake in the Bash 5.0.2 manual. In one passage, the word "abd" is used instead of "and".
 
@Kusalananda woohoo, first patch for Bash! You won’t even need to sign any paperwork for that.
 
@Kusalananda is "Associative arrays are created using ... declare -A name." still in there? I'd like to remove the trailing period, since it looks syntactical, and isn't present in the previous examples
happened to be reading that section this morning
 
@JeffSchaller It's still in there, yes.
@StephenKitt Where do I report it (or check whether it's already reported)?
 
ditto
Guessing: To report bugs or to discuss most aspects of developing bash please use the <bug-bash@gnu.org> mailing list.
 
Yup, the mailing list. (Which makes it hard to know whether something has already been filed.)
There is a bug tracker and a patch tracker: savannah.gnu.org/support/… and savannah.gnu.org/patch/?group=bash&func=browse&set=open respectively.
 
2:12 PM
@JeffSchaller as a dupe of that, perhaps. But marking it as a dupe of that Kali question was just uncalled for in that case, IMO. (I can't know who marked that since it just lists everyone without specifying what close reason they voted for)
 
@ilkkachu I voted initially for the /home/Desktop one, since that's the ... one of the? ...problems in the Q
 
yeah.
 
2:43 PM
wow. Has anyone ever seen telnet mapscii.me?
 
2:54 PM
@Jesse_b Holy crap. I can see my house!
 
@terdon Yeah it's pretty wild
 
@JeffSchaller I wrote a script because the question seemed interesting. Curious for feedback!
0
Q: How to wrap a command such that its execution is throttled (that is, it executes at most once every X minutes)

LucretielI'm interested in wrapping a command such that it only runs at most once every X duration; essentially, the same functionality as the lodash throttle function. I'd basically like to be able to run this: throttle 60 -- check-something another-command throttle 60 -- check-something another-command...

@Jesse_b neat!!
@terdon found my house; it's apparently ⣀⣀⣀⣀⣀⣀
 
@JeffSchaller Looks good to me, might be worth mentioning that associative arrays wont be available on bash v3 (IIRC they were introduced in 4.2?)
No I think it was just v4
 
I guess I'm too terse when I say "bash with associative arrays" as being a pre-req
 
:p true. Should only be an issue for mac users anyway
 
3:06 PM
@Jesse_b good point; thank you!
 
@JeffSchaller It's burned me before. I have written scripts using associative arrays that wont work for my coworkers because they refuse to update bash :p
 
that's what it takes; I'm enticed by the things zsh can do that bash can't do
 
4:05 PM
@JeffSchaller Like make Stéphane swoon?
:P
 
@terdon of course he swoops in and makes a better answer in zsh
AND edits my own answer to improve it. what a guy!
 
4:24 PM
@JeffSchaller <Insert Ace Rimmer joke here.>
 
4:43 PM
@FaheemMitha looks like a reference to a ... TV show? that I haven't seen
 
@JeffSchaller It is.
 
@FaheemMitha the list of TV shows I haven't seen is long, but distinguished (that's a quote from one of the 3 movies I've seen)
 
@JeffSchaller You've only seen 3 movies?
 
@FaheemMitha give or take, that I remember
 
I'm impressed.
@JeffSchaller For your entertainment and edification, youtube.com/watch?v=gXYfnWRp1Q0
If you've ever watched Red Dwarf, that's the first thing that phrase would make you think of.
 
4:54 PM
Looks like James Bond meets Monty Python
 
5:27 PM
@RuiFRibeiro I'm assuming it was you who voted to close unix.stackexchange.com/questions/502125/alias-with-head-and-cut as off-topic. It's not. The typo was unrelated to the actual question. If it was not you, then sorry to bother you.
 
@JeffSchaller No, he's just Ace.
 
5:48 PM
@Kusalananda Yeah, it was me, retracted the vote, thanks.
 
 
1 hour later…
7:14 PM
@FaheemMitha Boring.... :(
 
Oh hey, @RuiFRibeiro, since I've called you out publicly about your tone a couple of times, I wanted to also publicly thank you for a wonderfully helpful and civil comment exchange here.
 
@RuiFRibeiro ?
 
7:34 PM
@RuiFRibeiro Missed food or TV today ?
 
@FaheemMitha seen better brit comedy than that Red Baron....that, or probably getting old.
@terdon Thanks, I guess! Pity that the question as it is, is still too broad.
 
true
But hey, at least the user had a pleasant experience and there's still hope they'll fix the question!
 
@RuiFRibeiro Red Baron?
 
@FaheemMitha The youtube? Boring as hell. Prefer monthy python or rowan atkison any day.
 
@RuiFRibeiro Complete sentences, please.
@RuiFRibeiro Ok.
 
8:45 PM
the line of sanity always needs pushing... finding documentation for a certain vendor that says to create a systemd service file, then run: systemctl daemon-reload, then run systemctl enable [unit service file].service, and then REBOOT THE COMPUTER
 
8:56 PM
It's beautiful in its own perverse way.
 
9:23 PM
@Kusalananda seems like an x-y problem
 
@Jesse_b I've seen this before. They don't actually think they're getting a new shell when they run sudo su -. They think it's the same shell and they've just "switched users".
 
Tim
10:01 PM
Hi boys, may I ask a question?
 
@Tim wat it do
 
Tim
Sorry my english is poor. What did you write?
Does my second laptop "an old but newer laptop" use any bootloader? If yes, what is it?
 
Tim
10:55 PM
Some called me obtuse, I feel offended but sometimes I find it is not completely wrong
By the way https://unix.stackexchange.com/questions/502189/does-this-laptop-with-lubuntu-18-04-use-a-bootloader
 
11:43 PM
@Tim Seems like a valid reason to be offended
 

« first day (3057 days earlier)      last day (1891 days later) »