« first day (3997 days earlier)      last day (70 days later) » 

7:17 AM
Hi folks. Seeing some possible issues with rsync here. One error message is similar to
5
Q: ignoring No data available (61) errors with rsync

Aleksandar IvanisevicIs there a way to supress a warning where the prigin changes during the rsync? $ rsync --archive server::somemodule/ /dest/dir rsync: read errors mapping "/somefile" (in somemodule): No data available (61) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main...

Can anyone confirm that "prigin" should be "origin"? I.e. a typo.
If so, I don't have sufficient privileges to change it, and the edit is not long enough to go into the queue. Can someone here change it? If not, I'll take it to the SU chat room.
As I think I mentioned earlier, with the -z flag (but not without it), I'm seeing
rsync error: error in rsync protocol data stream (code 12) at token.c(476) [sender=3.2.3]
Also
apt-get changelog -t unstable rsync
Err:1 metadata.ftp-master.debian.org rsync 3.2.3-6 Changelog
  Changelog unavailable for rsync=3.2.3-6 (404  Not Found [IP: 199.232.46.132 443])
E: Failed to fetch metadata.ftp-master.debian.org/changelogs/main/r/rsync/…  Changelog unavailable for rsync=3.2.3-6 (404  Not Found [IP: 199.232.46.132 443])
This didn't happen before, and I have unstable sources.
 
 
2 hours later…
9:32 AM
For filenames in markup, should one use "somefilename" or somefilename? Opinions?
The changelog error went away on update. I should have thought of that first.
 
 
1 hour later…
10:41 AM
@FaheemMitha The latter. Anything that's a file name or command should be in code formatting so it's clearer and can be read as such by screen readers. The only exception, for me, is when there's too many of them and putting them all in code formatting makes the post harder to read.
 
11:26 AM
@terdon OK. Thank you for the feedback. That's normally what I do, but I don't know if filenames count as code. It's a fringe case.
 
Hi
one quick question please
which shell does support C style escaping characters? like in bash $'\n'?
ahh, never mind, I found it
14
Q: Do shells other than Bash and Zsh support ANSI-C quoting? e.g. $'string'

ivanI have a shell script that uses the following to print a green checkmark in its output: col_green="\e[32;01m" col_reset="\e[39;49;00m" echo -e "Done ${col_green}✓${col_reset}" After reading about Bash's ANSI-C Quoting, I realized I could use it when setting my color variables and remove the -...

 
@FaheemMitha They do since the code formatting uses monospaced, unambiguous font where 0 and O or 1 and l and | can't be confused as easily.
 
@terdon That sounds like a reason. Thanks. Though I don't see why the non-code stuff can't also be unambiguous. The Romans and the Arabs really should have got together and made sure their respective alphabet and numbering systems were compatible and non-confusing.
 
12:39 PM
this is somewhat opinion based, but I would use code formatting for anything that's entered on the computer, and where the exact set of characters matters. Program code, yes; filenames, yes; command line arguments, yes. The name of a program, depends, in a way: e.g. the Perl language is unambigously "Perl", but the interpreter program is "perl". (and it's case-sensitive and I'd use code formatting there).
But then I'm not sure about e.g. awk: should it be awk, Awk, or AWK? And does the distinction between the interpreter and language matter that much there?
 
12:58 PM
Interestingly, the book "The AWK programming language", spells it as "AWK" in chapter titles (even those that aren't all caps) and "awk" anywhere else (both the program and the programming language).
 
hehehe
 
I guess all of AWK, awk and Awk would be equally fine :-)
 
Given it's an initialism of the authors' names (Aho, Weinberger, Kernighan), it would make sense to write it in caps. But then e.g. the POSIX text says "The awk utility shall execute programs written in the awk programming language, which is specialized for textual data manipulation." i.e. in lowercase, but italicized (of course it uses italics for other things too)
 
@ilkkachu Interesting perspective. Thank you for your thoughts.
 
 
7 hours later…
8:05 PM
Microsoft suggests deleting your password for good. (Alternatives seem to include phone-based 2FA or facial recognition.) Am I just too prejudiced against MS, or is this objectively as bad as I think it is?
One issue is that you'd be placing an awful lot of trust in MS, but hopefully this is not a problem for most MS users. But it also sounds like you need internet connections on both the computer and your phone in order to be able to log into your computer (if you follow their recommendation to use this authentication with windows itself).
 
8:17 PM
if you drop the password it's not two-factor any more...
 
@AndrasDeak Passports are good things, as long as you can either remember them, or store them in a secure location. And of course, make them hard to guess.
 
@ilkkachu fair enough
@FaheemMitha they also let you travel abroad ;)
 
2FA is a pain. And I wonder if it is really more secure to depend on phones as most services seem to be increasingly doing. They're not as secure as everyone seems to think.
 
@FaheemMitha why not?
the question is the attack vector it's trying to protect against, and I'd expect legitimate criticism to be along the lines of legitimate users being locked out
 
@AndrasDeak Well, SIMs can be hijacked, for one thing.
 
8:25 PM
@FaheemMitha by MOSSAD? Or random people working from leaked password databases?
 
@AndrasDeak I think in India it's fraudsters. Apparently there are lots of them. It's practically a pandemic.
I was reading a thread in the Guardian recently about how the UK is inundated by calls, apparently mostly from India, by people trying to steal information. Very disturbing.
 
My point is that I'd naively think that there's a huge chunk of attackers who can easily get your password but can't easily get your phone (and vice versa to some exxtent)
@FaheemMitha phishing and other scams are a non sequitur here: if the user is willing to give access to the attacker, no amount of security will work
 
As I understand it, one approach is to convince the provider that you've lost your SIM, and a new one needs to be provided. In theory you are supposed to provide ID. But IDs can be stolen too.
@AndrasDeak Access isn't necessarily the issue.
 
I thought we were talking about attackers gaining access, so I thought it was
 
@AndrasDeak Sorry, I mean giving access.
If you can get a new SIM issued to you, the owner doesn't need to give access.
And these days, a phone is really a single point of failure. Because passwords can be reset using it, so you don't need anything else. I just did it, in fact, because a site refused to accept my password.
 
8:33 PM
Arguably you'd still have to know the phone number associated with the account you're trying to gain access to. Not impossible, but not trivial either.
I'm sure many database leaks include phone numbers as well
but yeah, there's definitely an assumption of the mobile provider not being jerks
 
@AndrasDeak Oh, that. I had some people from my school, which I was at many years ago, try to get in touch with me. I hadn't talked to any of them for many years, but they knew my phone number.
 
I've only seen email-based password recovery options, though
@FaheemMitha in that situation I'd definitely ask where they got it from
 
If you enter someone's name into Whatsapp, does it bring up a number? I haven't tried, but if so, that would be one way.
@AndrasDeak Well, I didn't talk to them.
@AndrasDeak Not in India. They love, love, love their mobiles here.
 
And anyway, coming back to the original argument: even if there are attackers left who'll go to the effort of breaking your 2FA, the number of attackers will only decrease by introducing 2FA.
 
Most people don't have computers, and don't use email. But they all have mobiles, and seem to use Whatsapp.
 
8:36 PM
@FaheemMitha wow
 
They really love Whatsapp here.
@AndrasDeak If it's really 2FA, sure. But if you can reset your password via a SMS token (called an OTP here), then it's not really 2FA.
 
yeah
 
I actually wrote a couple of emails along those lines, and was predictably ignored.
 
@AndrasDeak I don't see any inherent reason you need an active internet connection, TOTP should do fine if you don't
 
I'll have to google that, hold on
Is that what authenticator token dongle thingies use?
Are you saying that the microsoft authenticator or whatever app can function in the same way, communicating with the computer locally?
ah, it's designed to by synced to some extent, so no communication is needed
I never really understood how those dongles work...
@MichaelHomer I'll have to read more into this because I don't understand how this works. Thanks for the tip.
 
8:41 PM
It generates a code based on a shared-secret seed and a timestamp
MSA also has a "click to log in/verify" feature for their own accounts where you don't have to copy a code, which does need network on both ends
 
I see, that sounds like what my bank does with their app (the latter option I mean)
 
For most people's threat model and profile this is absolutely an improvement
 
Due to password reuse and other carelessness?
 
Their password is their cat's name in the first place
With a 1 on the end if they're paranoid
 
surely nobody can learn the name of Mr Mittens...
 
8:46 PM
I like how commercial service providers call "secret" the keys they generate for us :-)
 

« first day (3997 days earlier)      last day (70 days later) »