« first day (3590 days earlier)      last day (1335 days later) » 
00:00 - 16:0016:00 - 00:00

12:01 AM
@Xanne I'm trying to find the video where I heard this.
Maybe I'm confusing people/reviews.
 
@Cerberus Someone got lessons on “which” and “that” without having any real sense for the language.
 
Should be Your party will burn food and hope, two incredibly important resources without which you will have your followers dropping like flies.
@Cerberus: Is that from a video game of some kind?
 
@Xanne I don't know, it sounded like his own invention.
Like...a shortcut.
@Robusto From a review of a video game.
Here it is.
Video starts a few seconds before the construction in question.
@Robusto Yes.
 
12:19 AM
Yeah. I listened to it, and while it does give one pause when read, his vocal intonations make it work, sort of.
My inner schoolmarm winces, but I override her.
 
Yeah, or at least it kind if sounds like it came spontaneously to him.
 
Yeah. Like he got to a knot in his grammar and just surfed over it.
 
But maybe he is reading from a written text, who knows.
@Robusto Yes; because that...without is not possible in this sentence, he would have had to switch to without which, which may have sounded too 'formal' to him?
> ?that you will have your followers dropping like flies without
 
Now how if he had rendered it this way: "Your party will burn food and hope, two incredibly important resources that you will have your followers dropping like flies without."
Ha, we came to the same idea at the same time.
Jinx
That was probably what he was going for and decided he could move the preposition up to the head of the clause.
Not "decided" as in deliberated, but it just felt possible.
 
“Surfing over” sounds like the right explanation to me.
 
12:30 AM
@Robusto Right, and I can understand if he found this construction too cumbersome.
 
12:55 AM
I listened; clearly American; intentful; big pause (comma) after without. It makes sense when you hear it. Without has the object “important resources.”
 
@Xanne Odd but probably not contrived, right?
 
Right. Just moving phrases and leaving stuff out.
 
1:13 AM
Right.
 
1:35 AM
@tchrist: Raining here pretty hard now, after lots of wind. Supposed to last here for a couple days. We'll see.
 
 
2 hours later…
3:40 AM
Here, it's Golden Autumn. Warm and sunny. Lots of yellow leaves.
This is the cathedral built on the spot where Nicholas II and his family were murdered in 1918
The Russian Imperial Romanov family (Emperor Nicholas II, his wife Empress Alexandra and their five children: Olga, Tatiana, Maria, Anastasia, and Alexei) were shot and bayoneted to death by Communist revolutionaries under Yakov Yurovsky in Yekaterinburg on the night of 16–17 July 1918. Also killed that night were retainers who had accompanied them: notably Eugene Botkin, Anna Demidova, Alexei Trupp and Ivan Kharitonov. The bodies were taken to the Koptyaki forest, where they were stripped and mutilated.In 1919 the White Army commissioned an investigation but were unable to find the unmarke...
"No, Sir, No" (Roud 146) is an English folk song describing a courtship. It has been collected from traditional singers in England and the USA, and in a bowdlerised version was taught to English schoolchildren in music lessons in the 1950s. Alternative titles include "No, Sir", "No, John, No", "O No John", "Yes Or No", "Cruel Father", "Ripest Apples", "Twenty Eighteen", "The Spanish Merchant's Daughter", "The Spanish Captain", "Spanish Lady", "Yonder Sits a Spanish Lady", "Yonder Sits a Pretty Creature", and "In Yonder Grove". == Synopsis == A young woman (or a Spanish lady) is walking a garden...
A nice song by Jean Ritchie I heard several days ago
 
4:55 AM
I wonder how common polygamy is in Iran
Because it looks like a modern country
 
 
1 hour later…
6:06 AM
@M.A.R. as a lay enthusiast, yes; as a scholar, unfortunately not.
BTW there's this podcast, فردوسی خوانی, that you might like.
 
I don't like to keep home.
I feel home annoying if nobody keeps it for me.
I prefer to stay in nature or public places.
 
7:15 AM
@Cerberus How does one "burn" hope? It's not a fuel, or even combustible.
Poor Assange. I feel for him.
 
7:37 AM
@CowperKettle very rare and culturally shunned.
Just spitballing here, but around 600 AD when Islam came to be Arabs were so sexist they allegedly buried their daughters because of the shame of having one. I wouldn't be surprised if polygamy back then was a way for a few people to save many widows whose husbands died in war
 
8:37 AM
@M.A.R. I thought Islam was circa 700 AD.
@M.A.R. Are you Iran too? I forget.
No, 600+ AD is correct. My bad.
@M.A.R. Islam is still institutionally very sexist. C.f. that one third share thing. Not sure what the technical term for it is.
One third share for women, that is.
 
8:57 AM
@FaheemMitha I wasn't referring to Islam, but the dominant cultural influences of that time. I'm not well-versed in Sharia law to be able to justify, defend or condemn their laws.
@FaheemMitha aye
 
9:23 AM
@Cerberus it's weird under a microscope, but I think it's used in normal conversation. eg 1, eg 2, eg 3
 
9:45 AM
Hunger trouble
The food makers are really poor at making instant noodles - they never make me feel full
 
Try out buckwheat kasha, it will make you feel full. Add some cottage cheese and a tablespoon of olive oil.
 
10:07 AM
Today the first doses of the Russian covid vaccine were injected to Phase III volunteers.
 
I have lots of great personality traits...
or “symptoms” as my doctor calls them.
 
)))))
> Individuals who can unconsciously predict complex patterns, an ability called implicit pattern learning, are likely to hold stronger beliefs that there is a god who creates patterns of events in the universe, according to neuroscientists at Georgetown University.
> The U.S. section of the study enrolled a predominantly Christian group of 199 participants from Washington, D.C. The Afghanistan section of the study enrolled a group of 149 Muslim participants in Kabul.
 
10:36 AM
So hot
I would prefer to be solved hunger first every day
 
10:49 AM
> "This is not a study about whether God exists, this is a study about why and how brains come to believe in gods. Our hypothesis is that people whose brains are good at subconsciously discerning patterns in their environment may ascribe those patterns to the hand of a higher power," he adds.
This is disingenuous. Because atheists precisely use this "it's your instinct, you can't help it" to diss religious arguments.
Lemme read further
P.S. shouldn't be a control group or something?
Did they perform a study on people known to be religious and when they told patterns apart, discovered "religious people see patterns a lot"? That sounds extremely unscientific.
@M.A.R. dropped a "there"
The link to the study seems to be broken. Gives me DOI not found.
 
11:19 AM
@M.A.R. That's because God does not want you to read this study
For if a study causes you to sin, pluck it out.
 
11:39 AM
@M.A.R. Ok.
 
I still have a compact cassette with my favorite Ella songs compiled, from 1997
 
12:45 PM
@CowperKettle I'm being serious. Objectivity is important if religious beliefs are under scrutiny, but not if it's atheistic? I believe discoverable truth would not bias itself towards what we do or do not believe in.
 
@FadedGiant Thanks
 
@M.A.R. I'm not competent enough to really judge studies. I haven't read a signel book about proper study design.
So I just read the interesting parts and always keep in mind that the study may turn out wrongly done.
Right now I'm trying to understand how to translate the FEAST (focal treatment) into Russian. The term.
 
@CowperKettle I'm not either probably, maybe in a few years. But observing something in individuals with a preselected trait X and then saying they have it more than self-proclaimed individuals that aren't X seems like a pretty glaring leap of logic, and that's what I understood from the newspiece
 
@M.A.R. Probably yes! A lot of studies are poorly designed, I guess, which makes one admire the energy of their authors, who enroll dozens of people and spend so much time.
 
1:00 PM
@M.A.R. science news doesn't always give all the info from an article - the news in not expected to give the full experimental design. From what you've said (I don't even know what article you're talking about, it seems like there was one population and two features were extracted, 1) amount of pattern found in nature and 2) religiosity. And presumably there was a correlation. A control is needed when you do an intervention, but not for correlation of features.
 
@Robusto The snow has started up again. We seem to have gotten maybe 6-8" depending on where you look. But it has caused an incredible amount of tree damage, worse than I've ever seen here before. Of course the trees were still fully leafed out, and hadn't even begun to change color.
 
@tchrist That's crazy. We had several periods of extremely heavy rain, loud enough to wake me up. Had it been snow it would have been record-breaking I'm sure.
 
This certainly is so. Yesterday was the Denver's earliest freeze ever. And Saturday they got 101, also a record.
My own number here was only 100, small solace that.
As I mentioned, Monday was our 73rd day over 90. Then Tuesday it froze.
The swarms of desperate hummingbirds are stirring.
The huddled masses yearning to drink free.
 
Poor things. I don't know how they manage.
 
They gear down their metabolisms at night.
But they're endotherms, of course.
 
1:09 PM
@FaheemMitha That is a metaphor. "Burn" simply means "use" in that context.
 
It was a full house here, with all seats taken, well past dark.
 
@tchrist They burn up the calories very quickly.
 
That's why they were sitting still and doing nothing but guzzle at nightfall. To survive the wintry night.
 
You have feeders out?
 
Of course!!!!
 
1:11 PM
Good job.
 
I put five fresh ones out on Monday, knowing this would come.
 
Where do you get the feeders? I might consider doing that.
 
And I brought them in overnight so they didn't freeze. Yesterday I kept pouring hot water on them.
Home Depot.
You can get them anywhere, really. Even Target has them.
 
I used to put out tallow feeders in MA for the seed-eating birds.
 
I have suit and seed out as well. If they can get to it. Only the ones hanging under the apple tree are snow-free right now. And the apple tree's boughs are bent to the ground all around it.
 
1:13 PM
I'd worry that my cats would get after the birds, though.
 
You should.
The suet feeders attract mostly birds that never come to the ground.
Woodpeckers, nuthatches, bushtits.
The hummingbird feeders you need to hang at your own eye-level so that cats can't seize them.
But seed is harder. I put it out in abundance Monday because of the terrible tidings.
 
Yeah, but when my trees are in bloom Bosco climbs up after them. I had to put metal sheathing around the trunk so he couldn't do that. He is very ingenious in the pursuit of murder and destruction.
Shadow is unwilling to go to such lengths.
 
Yes, Lorin the crazy redhead still goes chasing them up into trees, getting himself in need of rescue at times. Randy the shadowy tabby knows better.
 
@Robusto Are you sure it means "use"? "lose" seems more likely, especially given the context. Do you have a cite?
 
Lorin?
A pet animal?
Ah, a cat
 
1:18 PM
@FaheemMitha I cite my own excellent grasp of English. Trust me, I know what I'm talking about.
I especially recognize a metaphor when I see one.
 
@FaheemMitha He's right.
 
@tchrist Bosco always has to climb to the highest vantage point in any room. We have 10-foot ceilings and somehow he still managed to climb to the top of the kitchen cabinets.
 
Wow, 3 meter ceilings, it's good
 
Lots of headroom. ^_^
@tchrist That's Lorin?
 
1:21 PM
@Robusto Yes.
 
In Russia, a ceiling height of over 3 meters is considered a sign of a luxury apartment. The usual height is 2.5-2.7 m
@tchrist Very well-groomed!
 
Oh, right, you let your cats out. We have an enclosed back yard with cat fencing overhangs so they can't escape.
 
@Robusto Congratulations on your excellent grasp of English.
@Robusto @tchrist A cite would be much appreciated.
 
@FaheemMitha You can't really find citations for every metaphor that comes along.
 
@CowperKettle 7 feet is more normal here, although 8 is not unheard of. But most of my house has vaulted cathedral ceilings so they are twice that.
 
1:23 PM
@Robusto That's a shame.
 
> a. To use as a fuel: a furnace that burns coal.
There you go. You can try a dictionary first, you know.
> b. To metabolize (glucose, for example) in the body.
And no need to be snarky. I'm trying to help you here.
 
But hope can also burn low in your heart, its unsteady flame flickering and faltering, threatening to go out like a candle in the wind.
 
An extended metaphor.
 
That's his cohort in crime.
Those were shot in August 2014 when they'd both just turned one.
 
Our cats are a year older.
 
1:29 PM
> My faith burns low, my hope burns low;
Only my heart’s desire cries out in me
By the deep thunder of its want and woe,
Cries out to Thee,
> There in the ruins of a shattered heart
Aflame delivers hope
Burning against all odds
And illuminating what remains
What is untouched in the devastation
Hope burns
Inside all of us.
 
And what is Hope? The puffing gale of morn,
That of its charms divests the dewy lawn,
And robs each flow'ret of its gem -and dies;
A cobweb, hiding disappointment's thorn,
Which stings more keenly through the thin disguise.
 
> For many, political ideals remain, and hope burns to become part of the
changes of the homeland. Despite this orientation toward the past, one of
the most important survival strategies for people with painful experiences
is to start a new life as soon as they enter the new country. The hope of
starting a new life and having new changes is important in order to develop
a meaningful life in exile.
> As the year 2000 draws near, the entire globe waits in anticipation of a
new century with the hope that the destruction and social devastation of
the old will be addressed and eradicated. Even as that hope burns bright,
regional and regional and intranational conflicts abound, amassing waves of
small wars and civil strife that are unrestrained even when international
intervention occurs.
A person who burns (up) his hope and hope itself burning of course are different.
The transitive use employs hope as the object; the intransitive as the subject.
 
@Robusto a) I wasn't being "snarky". b) I'm familiar with those usages of "hope".
 
@FaheemMitha My cites were about burn, not hope.
 
@FaheemMitha I have something wondrous to show you.
mac(tchrist)% echo "wibble someword someword-something el'se wibble" | perl -nle 'print for /\b{wb}(\S+)\b{wb}/g'
wibble
someword
someword-something
el'se
wibble
Perl supports \b boundaries that are qualified by which variety you want.
 
1:44 PM
@tchrist: Some of the hummingbird feeders I'm seeing online have perches. Hummingbirds don't really use those, though, do they?
 
@Robusto They do.
I'll show you which one I have.
\b{wb} This matches a Unicode "Word Boundary", but tailored to Perl
       expectations.  This gives better (though not perfect)
       results for natural language processing than plain "\b"
       (without braces) does.  For example, it understands that
       apostrophes can be in the middle of words and that
       parentheses aren't (see the examples below).  More details
       are at <http://www.unicode.org/reports/tr29/>.
 
@FaheemMitha 'burning hope' is an unlikely metaphor to me too, but that is what the author is doing, trying to treat hope like a resource that gets consumed, especially since it is going along with 'food'. I find it a little weird, but it's still what the author is doing.
 
I find it really annoying when dictionaries do put in metaphorical uses as actual distinct definition entries.
I mean yeah that's how one way of semantic drift happens... you use a word metaphorically and eventually it becomes the primary meaning of the word.
 
@tchrist Do they actually perch? When they feed at our blooms I never see them alight.
 
1:48 PM
like how you just used "find"
 
but it's like dictionaries are jumping the gun by putting in metaphorical uses.
they need to wait a bit. Wait til it's a dead metaphor.
 
@FaheemMitha See perldoc.perl.org/perlrebackslash.html#Assertions for details about the differerent kinds of boundaries. Unicode supports many kinds of "breaks", including grapheme cluster breaks \b{gcb}, word breaks \b{wb}, line breaks \b{lb}, and sentence breaks \b{sb}. Of course those all have corresponding inverse assertions like \B{wb} to match only where there is no would boundary.
 
@MattE.Эллен or 'dead metaphor'. or 'jumping the gun' (which is itself a metaphor, or at least a figurative usage of 'jump')
 
@CowperKettle Apparently a fan of English nature poetry.
 
or 'literally' for 'intensively'
 
1:50 PM
@Robusto Yes, when they aren't in a hurry or are conserving energy like today in the snowstorm.
 
@Mitch buried under 6 feet of usage statistics
 
And Unicode's word-breaking is far superior to the bare \b which is for program identifiers not natural-language words.
 
@MattE.Эллен I see what you did there.
 
@MattE.Эллен you're burning all my hope for OED to prime the pump
 
@Mitch Now you're looking in the Dictionary of Mixed Metaphors.
 
1:53 PM
'mixed metaphor' is both a dead metaphor and a mixed metaphor.
 
mac(tchrist)% echo "’Twibble “someword” someword—something el’se wibble" | perl -CS -nle 'print for /\b{wb}(\S+)\b{wb}/g'
’Twibble
“someword”
someword—something
el’se
wibble
Where that string is really "\N{RIGHT SINGLE QUOTATION MARK}Twibble \N{LEFT DOUBLE QUOTATION MARK}someword\N{RIGHT DOUBLE QUOTATION MARK} someword\N{EM DASH}something el\N{RIGHT SINGLE QUOTATION MARK}se wibble"
 
because metaphor is a metaphor for 'carrying across' and 'mixing' is mixing carrying and mixing.
 
@tchrist That's a bit over my head, but do you mean the {wb} thing?
 
Yes.
 
@Mitch Languages are weird.
 
1:57 PM
So like the the right single quotation mark has character properties Word_Break=MidNumLet and Sentence_Break=Close and Line_Break=Quotation.
 
@tchrist So that's a customization thingy, like I asked about in the question?
 
0
Q: What is a single word for mouth, eyes, ears and nose?

DanielThese are essentially all the organs which are attached to a creature’s head. The closest phrase I’ve come across are head sensory organs, however I was hoping there was a more formal and scientific single word to describe these.

Isn't it just "head".
 
Which got downvoted by the way. 3 downvotes. I'm not feeling the love.
It's cold and bleak out there, in downvoteland.
 
@FaheemMitha It's not an arbitrary customization one, but it does let you tailor which of the four Unicode boundaries you mean.
 
1:59 PM
@tchrist That's handy, certainly. But I guess I can't use that with grep.
 
@RegDwigнt not the hypermere (not the collection of the parts) but the hypernym (the common feature)
 
Can you point me to online documentation?
 
@FaheemMitha Downvotes mean nothing. Especially not in Downvoteland. It's just a number. Of which in Downvoteland you'll see a million on every street corner.
You want a warm fuzzy number, how about 93¼.
 
@FaheemMitha For what?
 
@tchrist The feature you were talking about.
 
2:00 PM
I already did.
 
@RegDwigнt It's better than Zombieland, I suppose.
 
@RegDwigнt Thanks. I appreciate the warm and fuzzy.
 
Remember that grep pattern filename can be written perl -ne 'print if /pattern/' filename.
 
@Mitch the common feature of all head is head.
 
2:01 PM
@tchrist Sorry. I wasn't keeping up with the conversation very well.
Also, I don't know Perl at all. I don't know if that was clear. Or regexes, really.
OTOH, you've literally written the book on Perl, if I got it right.
 
The thing is, with the zero-width look{ahead,behind}s you can create arbitrary boundary assertions of your very own.
@FaheemMitha Yes. Several.
 
@tchrist Yes, I see. But I don't remember, since I never knew it.
 
@Robusto uploaded on Christmas Eve, no less.
 
Indeed.
 
@tchrist Is PEG a better approach to this sort of stuff?
I don't know that either.
 
2:04 PM
So word(?=&)(?!&&) matches that word only when it is followed by an ampersand but not when it is followed by a double ampersand.
 
@Mitch ah, so "head holes", as all esteemed medical professors call them
 
@FaheemMitha Perl's regexes are the cream of the crop.
 
I wonder if Python can do such things.
@tchrist Yes, I see that.
 
@MattE.Эллен You're just afraid of that oto word.
 
PCRE, right?
 
2:04 PM
@MattE.Эллен yes, our esteemed professor Robusto has informed us thusly. And he's yet to be wrong even once.
 
@FaheemMitha Yes, that's the C library.
 
@RegDwigнt lol, yeah :D
 
@tchrist Ok.
 
@MattE.Эллен Military people have other names: pie hole, snot hole, etc.
 
Plot hole.
 
2:06 PM
an ENT doc = an otolaryngologist
 
@tchrist oh! now I get it :D
 
Or a tree clipper.
 
Though technically PEG isn't a regex, is it? Not sure what it is. Something else.
 
The march of the ent clipping ents?
 
I think we need to synthesize this conversation into a way to combine grep and metaphor. Preferably one word.
 
2:08 PM
@FaheemMitha Nothing that supports patterns with backreferences can be solved using an NFA or DFA.
 
"Is there a single word for combining regular expressions and metaphorical language?"
 
So your original post was not a regular expression in the little-used ivory-tower sense.
 
@Robusto yes, grophor it.
 
@tchrist I don't really know what those are, sorry.
 
@RegDwigнt I was thinking more like getaphor.
Or gretaphor.
 
2:10 PM
In automata theory, a finite-state machine is called a deterministic finite automaton (DFA), if each of its transitions is uniquely determined by its source state and input symbol, and reading an input symbol is required for each state transition.A nondeterministic finite automaton (NFA), or nondeterministic finite-state machine, does not need to obey these restrictions. In particular, every DFA is also an NFA. Sometimes the term NFA is used in a narrower sense, referring to an NFA that is not a DFA, but not in this article. Using the subset construction algorithm, each NFA can be translated to...
 
@Robusto no thanks Ms Garbo.
 
@tchrist Well, in the context. Is PEG a NFA or a DFA?
 
@FaheemMitha another way of writing original flavour regex
 
@MattE.Эллен come to where the flavour is.
 
That's because backreferences require that auxiliary memory proportionate to the input size be available for each one used. An NFA/DFA never does so.
NFA/DFAs can be solved in time proportional to the length of the regex. Only. You don't need to go super-exponential in the technical sense of that term.
@FaheemMitha You should please read this.
 
2:14 PM
@tchrist I'm not clear what is a NFA/DFA here. We have traditional regexes, PCRE, and PEG.
@tchrist Ok.
 
@tchrist the two graphs bother me a great deal. Whose idea was it to scale them that way.
 
@RegDwigнt Russ's.
 
Well I better have a word with him, then.
 
Linear/log graphs always make the other one look dumb.
 
Oh dear. That looks like an exponential blowup.
 
2:15 PM
Yes. All the common recursive backtracking engines are subject to it.
 
@FaheemMitha If I were at home I'd tell you the name of the book I have with a great proof that NFA (non-deterministic finite automata) can do all the work a regex (that doesn't do look ahead or look behind) can do. I'll try to remember to tell you later
 
@MattE.Эллен well go home, then.
Or is the Boris roaming the streets again.
 
So if you want look forward or look behind, you get runaway exponential behavior along with it, then?
 
Potentially.
Especially behind.
 
Regex again?
 
2:17 PM
Hmm. How much of a problem is that in practice?
 
@Cerberus No, not again. This is literally the first time today.
 
@RegDwigнt not just Boris, parents taking their children home from school as well
 
@FaheemMitha It usually is not, until it is.
 
@tchrist Ok.
 
@FaheemMitha Burn is used metaphorically for 'consume', and it is a computer game.
@RegDwigнt "Today".
 
2:18 PM
And in the case of the C PCRE library or Perl itself, we provide with special controls for backtracking which work like the Prolog CUT operator.
One way is to add a + to a quantifier so that it won't backtrack, like \w++ or even .*+ <--- there.
 
@MattE.Эллен what do they want them back for?
 
@RegDwigнt mostly so they don't get arrested for negligence
 
@Cerberus you're like those YouTube commenters who watch a whole video and then quote a single bit from it in a comment.
 
You can also make arbitrary capture-groups that cannot be backtracked into like (?>....) instead of just plain (....).
 
@Cerberus I've seen multiple slightly different interpretations of this, and it's all a bit confusing. I am still not sure what the original sentence meant.
 
2:20 PM
And finally there are the backtracking control verbs like (*FAIL) and (*SKIP) and such.
 
@tchrist All this within Perl, and therefore also within PCRE?
 
@FaheemMitha Both.
 
@MattE.Эллен The first and third ones are actually different constructions. But, yes, the second one is the same construction. Also a rather colloquial source.
 
So PCRE is equivalent to Perl's regex handling?
 
@MattE.Эллен well it's been three years since Grenfell and nobody got arrested for that, so I wouldn't be too concerned.
 
2:22 PM
@tchrist Atomic groups, are they not?
Somehow, I often find that using + or atomic groups often does not make a Regex a whole lot more efficient, even when I expected it to.
Could be because of implicit, built-in optimisations in the Regex engine?
@FaheemMitha Oh, it's not really important. It was just about syntax.
 
2:52 PM
@Cerberus yes
 
Right.
 
@Cerberus No. It's just that you mostly have to use them when it's wasting its time backtracking on something that can never work with a different repetition combo.
Usually it makes things fail faster instead of taking forever to do so.
 
@tchrist That is what I do, when I notice it could do unnecessary backtracking so I block that.
Yes, mostly when failing to match.
 
Sometimes it sidesteps exponential holes that allow it to proceed to a match state.
I usually only do this when I specifically notice the unnecessary backtracking, not by default.
 
But someone suggested to me that engines do lots of optimisations in the background.
 
2:55 PM
@FaheemMitha It's very close, but always a step or two behind release-wise.
 
@tchrist I use it erratically, also because various engines do not support it.
 
I never care about regex engines I don't use. :)
So like the C#/dot-Net engine allows for variable-width lookbehinds.
Few others do so.
Thing is, everything we're talking about here is from Perl. If you want vanilla regexes for NFA purposes, you have very few operators available.
But Russ's re2 engine is available for several programming languages, including Go and C and C++ and perl.
And that one has more features, while still being solvable with a non-backtracking NFA.
You want to use a nonbacktracking NFA/DFA if you're responding to requests on the internet because you can't take forever.
 
3:32 PM
@tchrist Ok. So I suppose one wants to use the most recent version available.
 
@tchrist Nice.
NFA?
 
1 hour ago, by tchrist
In automata theory, a finite-state machine is called a deterministic finite automaton (DFA), if each of its transitions is uniquely determined by its source state and input symbol, and reading an input symbol is required for each state transition.A nondeterministic finite automaton (NFA), or nondeterministic finite-state machine, does not need to obey these restrictions. In particular, every DFA is also an NFA. Sometimes the term NFA is used in a narrower sense, referring to an NFA that is not a DFA, but not in this article. Using the subset construction algorithm, each NFA can be translated to...
 
Oh...
 
> Using imagery focused on compassion can help people suffering from stress associated with physical pain, a new study from the University of Derby has shown. medicalxpress.com/news/…
 
Yesterday, someone asked me, "what should I call the symbol ? in Regex?".
It was difficult to come up with an answer.
 
3:38 PM
"hook"
"maybe"
"optional"
 
@Cerberus So you're a regex user too?
 
@FaheemMitha Certanly.
 
In which language?
 
@tchrist OK but no term encompassing all uses of the symbol, right?
@FaheemMitha Mostly Javascript, Autohotkey, Python.
 
@Cerberus Ok.
 
3:40 PM
Some Lua, PHP, I don't know what else.
Autohotkey has PCRE, though an old version.
Javascript's Regex is very limited.
I think Python also has PCRE.
Or maybe not?
 
I think major languages have PCRE, since it's a C library.
 
Well, Javascript does not.
Or is that not major?
 
@Cerberus Are you sure?
Perhaps I should replace "major" with "written in C or C++".
 
@FaheemMitha Quite!
I lacks various major features.
It doesn't even have named capture groups.
 
Maybe JS isn't written in C?
 
3:44 PM
I have no idea.
Nor does it have lookbehind.
Nor atomic groups.
Etc.
 
@FaheemMitha There isn't a single implementation.
 
Looks like JS is a standard.
Not a single implementation.
@tchrist Right. Just looked at the Wikipedia page.
 
00:00 - 16:0016:00 - 00:00

« first day (3590 days earlier)      last day (1335 days later) »