« first day (3259 days earlier)      last day (1694 days later) » 

cas
12:18 AM
@JeffSchaller thank you Janitor Jeff.
 
 
8 hours later…
8:34 AM
awww...the kitty's so cute, it has its own shebang line. — cas 4 hours ago
You need help, @cas.
:)
 
cas
remarking on the cuteness of cats is SOP on the nets. mandatory, even.
and it's such a tiny, tiny shebang.
 
Hi @terdon, can you please remove my Rejected edit on here: unix.stackexchange.com/review/suggested-edits/309209
 
@cas It is, it is.
@Kevdog777 Hmm? What do you mean?
 
@terdon I made a mistake in rejecting the edit. The user made the correct edit, but I was to "hasty" in rejecting it 🤦‍♂️
 
There's no edit by you on that answer.
Ah, that's what you mean. I can't undo your rejection, but I can approve the edit. And yeah, it does look like it fixes the link, thanks.
Never mind, it had already been approved.
 
8:47 AM
Cool, sorry about that :)
 
No worries, happens to absolutely all of us.
 
 
7 hours later…
3:37 PM
Hi @Caleb. How goes it?
This Farage guy is super scary.
If I lived in the UK, it would be terrifying.
 
Hmm, today's easy-to-misinterpret computer message: Copying user relation files. Seems like a privacy violation there...
 
@derobert my misinterpretation would be $relation, as in: "Copying user-deleted files" or "Copying user-owned files" or "Copying user-copied files" (if you want to get meta)
 
Hah, yeah, fun to come up with a ton of them. What else are you going to do while waiting for the computer?
 
3:55 PM
Does anyone know if Lua patterns are considered to be a kind of regular expression, or not? They certainly seem sufficiently headache-making to be regular expressions.
 
@FaheemMitha yes, they’re regexes
 
@FaheemMitha at first glance, the examples in the manpage you linked to look like some sort of flavor of regex, with extensions (the %-stuff)
 
@JeffSchaller Technically that's the Lua manual, not a man page.
 
@FaheemMitha It seems to me that Lua patterns are heavily inspired by regular expressions, but they are not regular expressions. Or more specifically, they are certainly not POSIX or PCRE regular expressions in any case. Possibly their own dialect.
 
So take the regex headache you have, and add some percent-signs to it :)
 
4:02 PM
@Kusalananda Do regular expression have a standard or anything?
@JeffSchaller Hair of the dog?
And this captures thing? Does it have equivalents in other contexts?
 
101
A: Why does my regular expression work in X but not in Y?

GillesUnfortunately, for historical reasons, different tools have slightly different regular expression syntax, and sometimes some implementations have extensions that are not supported by other tools. While there is a common ground, it seems like every tool writer made some different choices. The con...

 
Q: [What is some better way(s) to avoid having to recompile all of my software for some other machine?](https://unix.stackexchange.com/questions/541201/what-is-some-better-ways-to-avoid-having-to-recompile-all-of-my-software-for-s)
Obvious A I'm sorely tempted to post: "Switch to Debian".
 
@FaheemMitha sed and perl have backreferences, yes; Bash picked them up, too
 
@FaheemMitha POSIX regular expressions are defined by the POSIX standard.
 
in two flavours, BREs and EREs
 
4:04 PM
@JeffSchaller backreferences?
 
@derobert my kneejerk reaction to that was similar: "don't use a distro that's based on compiling everything yourself"
@FaheemMitha referring back to things that you captured
 
@Kusalananda And that defines regular expressions, or POSIX regular expressions?
 
POSIX ones.
 
For general ones, you could try Wikipedia...
A regular expression, regex or regexp (sometimes called a rational expression) is a sequence of characters that define a search pattern. Usually such patterns are used by string searching algorithms for "find" or "find and replace" operations on strings, or for input validation. It is a technique developed in theoretical computer science and formal language theory. The concept arose in the 1950s when the American mathematician Stephen Cole Kleene formalized the description of a regular language. The concept came into common use with Unix text-processing utilities. Different syntaxes for writing...
 
@FaheemMitha “regular expression” is a computer science concept
 
4:05 PM
@JeffSchaller I see. I don't know what those are, but I studiously avoid regular expressions whenever possible. No doubt a mental block.
 
"Regular expression" is, I believe, a mathematical consept.
Or, what Stephen says.
 
Yes. The Wikipedia article goes into that, at least a bit
 
@derobert I don't understand the question. Even Gentoo has binaries.
 
@FaheemMitha for mental blocks, I recommend regular mental expressions ;)
 
4:07 PM
To practice regexes, check out regexcrossword.com
5
 
@StephenKitt Yes, but which regexes? :-)
I haven't used Gentoo for a while. And never really used it much. Though when I tried it, it impressed me favorably. How are things going over there?
 
@FaheemMitha ha ha good question ;-)
 
@StephenKitt Interesting site
 
So there's POSiX and POSIX extended.
 
Am going thru "securing docker platform" trainning from plural sight... author prefers rancheros(minimal OS) rather than traditional ubuntu
this is something new for me
 
4:12 PM
@FaheemMitha And more importantly, Perl. All other regexps are poor imitations. :-P
(And of course Perl regexps aren't actually regular languages, so they're not regexps in the computer science sense)
 
@derobert Perl is a standard?
 
@derobert ah yes, the dialect which gives you all the rope you need to get yourself into lots of regex trouble
 
@derobert aren't actually regular languages?
 
@FaheemMitha The standard, clearly. :-)
 
Perl 5, of course
 
4:13 PM
@derobert I think Lua didn't get the memo.
 
@FaheemMitha en.wikipedia.org/wiki/Regular_language ... another math/comp-sci thing. I'd have to think for a bit what they actually are, possibly recursively enumerable.
 
@derobert That page doesn't mean much to me.
Though I didn't spend much time reading it, either.
 
@StephenKitt fun site; thanks
 
@JeffSchaller when you get bored of regexes, you can give projecteuler.net a shot ;-)
 
4:24 PM
@StephenKitt That one is nice for when you've decided to pick up a new programming language, too.
 
@derobert yup!
 
When one is tired of regexes, one is tired of life.
 
I think I'm going to have a sore neck if I keep up these regex crosswords
 
@StephenKitt The Rosetta Stone could use some assistance, I think. And it seems like quite a useful site, too.
 
4:40 PM
@FaheemMitha this one? rosettacode.org
 
@StephenKitt Yes, that one. Sorry, Rosetta Code, not Stone.
 
The Rosetta Stone is for translating "Copying user relation files" from Programmer to User.
 
Quite interesting how different languages approach the same task.
My takeaway is that libraries should be larger. Though that seems to be a minority view.
 
ssh -i ./central-region-keypair.pem rancher@$AWS_PUBLIC_IP still asks for the password
Do I need additional configuration to access EC2?
 
and my eyes finally bug out at "Experienced Questionable"
@overexchange you haven't said whether you pushed the corresponding public key to the remote side; whether the remote side accepts public key authentication
 
4:57 PM
@overexchange hah, both of us are currently configuring a cloud service. We're using Google over here, though, so I'm not sure how you set up pubkey with AWS.
(I'm trying to remember all the steps to create a new S3QL filesystem on Google storage)
 
 
2 hours later…
7:15 PM
 
@Kusalananda congrats! :)
 
Symmetrical as well. Didn't notice that until now.
 
7:52 PM
@JeffSchaller Well, the last one was easy. They've hidden a phrase in the solution, and when you spot it it's just a matter of filling it out. It makes it needlessly easy.
Oh, yes. And that one was called "Hamlet". Sigh.
 
@Kusalananda Regex crosswords? Now I've seen everything.
 
 
2 hours later…
9:54 PM
$ sudo -u s3ql-user s3qlstat /mnt/s3ql/
Directory entries:    6
Inodes:               8
Data blocks:          32
Total data size:      1.89 GiB
After de-duplication: 1.89 GiB (100.00% of total)
After compression:    1.78 GiB (94.51% of total, 94.51% of de-duplicated)
Database size:        64.0 KiB (uncompressed)
Cache size:           1.89 GiB, 32 entries
Cache size (dirty):   0 bytes, 0 entries
Queued object removals: 0
.... yeah, seems to be working.
Time to go home.
 

« first day (3259 days earlier)      last day (1694 days later) »