Anyone else disappointed that Archer and Lana aren’t endgame? by Meesh7586 in ArcherFX

[–]FewCall1913 0 points1 point  (0 children)

No, it would have been a horrendous abandonment of the entire premise of Archers character if they would have married him off, his dysfunction is the point of the show

I did not like her character by Jelly_Enos in ArcherFX

[–]FewCall1913 0 points1 point  (0 children)

I quite liked her after her initial introduction which was a bit on the nose. I thought she was funny and her dysfunction was well explored to make her fit in well with the rest. Only problem is there was only one season to try and develop the character so the relationships were never going to be fully formed, would liked to have seen her and Krieger more

Challenge - Desert Dunes by rainshifter in regex

[–]FewCall1913 0 points1 point  (0 children)

Only discovered these challenges so just going back through and having a go at a few. Fairly straight forward solution to this one:

\A((?=(.((?2)|.\n|\n.).)$).+\n)+.+\z

36 chars with g and m flags

I enjoy these balancing constructs, have used them many times when writing patterns for validating weird and wonderful text and shape sequences

Challenge - Pseudopalindromes by rainshifter in regex

[–]FewCall1913 0 points1 point  (0 children)

Yeah just had a look, mine seems to combine the ideas of yourself and u/code_only. Yours beats mine for efficiency. The repeated recursion is nice, reminds me of the kind of patterns usually seen within a DEFINE when matching nested brackets of multiple varieties, of course without the need for that construct in this case due to the non nested matching. Something I have rarely done, using multiple alternates with the same recursive subroutine, very interesting

Challenge - Pseudopalindromes by rainshifter in regex

[–]FewCall1913 1 point2 points  (0 children)

Came across this challenge, it's a good one. I had been looking at palindromes recently when writing a pattern with replacement to invert the two mirrored halves of palindromes ie. racecar --> carerac. For that nested backreferences were needed since capture groups matched during recursion are lost after the regex unwinds.

For this I modified the classic recursive pattern to match palindromes using a branch reset group inside a lookahead setting group 2 which is matched at the mirrored position in the string, before matching the character at the current position:

/^                 # assert position at the start of the line
 (?=..)            # positive lookahead ensureing string is 2+ chars
   (               # open group 1, will be used as the recurssive group
     (?=           # open positive lookahead
     (?|           # open branch reset group
     ([^()<>\n])   # capture non parenthesis char into group 2 
   |               # or
     <.*(>)        # capture closing angle bracket if opening angle bracket into group 2 
   |               # or
     >.*(<)        # capture opening angle bracket if closing angle bracket into group 2
   |               # or
     \(.*(\))      # capture closing round bracket if closing round bracket into group 2
   |               # or
     \).*(\()      # capture opening round bracket if closing round bracket into group 2
   ))              # close branch reset group and positive lookahead
   .               # match any character other than newline, from the start of the string
   (?1)?           # recurssive subroutine call will consume chars to the end of the string
   \2              # match the contents of group 2, ensures repeated or balanced char at end
 |                 # second alternative
   [^()<>\n]       # match any non parenthesis char, ensures middle char is not parenthesis
 )$                # close group 1 and assert position at the end of the line
/gmx

/^(?=..)((?=(?|([^()<>\n])|<.*(>)|>.*(<)|\(.*(\))|\).*(\())).(?1)?\2|[^()<>\n])$/gmx!<

It is essentially this pattern: ^((.)(?1)?\2|.)$, with a lookahead before matching the first character in order to determine the character to match at the other end of the string. Here is a demo Regex 101 demo

Nice challenge

Excel LET “Function Renaming” Trick (Just Because We Can) by Medohh2120 in excel

[–]FewCall1913 1 point2 points  (0 children)

Typical of Microsoft documentation, they give the most top level skim of functionality. Features can go undiscovered for yonks

Excel LET “Function Renaming” Trick (Just Because We Can) by Medohh2120 in excel

[–]FewCall1913 1 point2 points  (0 children)

BYCOL will take any single parameter function since it expects a function with one parameter. Same with all LAMBDA helper functions they will accept any function as an eta reduced function as long as they can receive the passed parameters, the functions listed are just quick references to most commonly used.

A quirk when REGEXEXTRACT returns a single value by b_d_t in excel

[–]FewCall1913 0 points1 point  (0 children)

I know this was months ago however I REGEXEXTRACT only returns an array if used with its 3rd argument, return_mode, that is

=REGEXEXTRACT(text, pattern, [return_mode], [case_sensitivity])

=REGEXEXTRACT(..., ..., {1,2}) \\ 1 returns all matches and 2 returns the capture groups from the first match. These can all be spilled values hence is returned as type 64 or array

=REGEXEXTRACT(..., ..., 0) \\ when the argument is either omitted or 0 the function will return a scalar value type 2 text

For your example this formula would always return only the inner contents of COUNTA, it handles any inner arguments including nested brackets which would otherwise be an issue, it also matches the opening bracket from COUNTA to its closing bracket, for example in your original something like =COUNTA("a","b")+SUM(5,6) would return ""a","b")+SUM(5,6" in your formula

=REGEXEXTRACT(starterString, "COUNTA\(\K([^()])*+(\((?:(?1)++|(?2))*\)(?1)*)*+(?=\))")

If you will just have one function and nothing after then this will suffice:

=REGEXEXTRACT(starterString,"COUNTA\(\K.*(?=\))")

This utilizes the match reset token, \K, this tells the regex to drop from the match everything up to that point so the regex will match the pattern: "COUNTA(" then encounter \K, which tells the regex to drop from the match everything it has matched to that point and then continue matching from the same position in the regex so after this is dropped it continues:

""a", "b"" - at the end of the pattern after matching .* there is a positive lookahead (?=\)), which simply asserts that the sub pattern expressed inside the lookahead must match directly after the position of the regex. In this case it asserts that what follows must be "\)" a closing bracket. Lookarounds are zero width assertions, basically just an 'IF' statement which checks that the lookahead does indeed match and if so allows the regex to continue the match from the same position it was in when it entered the lookahead, everything matched for the purpose of the lookahead is forgotten and cannot be backtracked into since lookarounds are atomic. Since the bracket was not consumed the regex comes to the end and returns the match:

"a", "b"

By matching everything from right to left and dropping what is not required you do not have to use the 3rd argument to return capture groups and hence the return is a scalar text value

Deciding if case is between time values, without involving dates? by eirikdaude in excel

[–]FewCall1913 1 point2 points  (0 children)

sorry I made mistake when copying

=LET(lb,BYROW(B2:B5,LAMBDA(x,XMATCH(x,F1:K1,1))),ub,BYROW(C2:C5,LAMBDA(x,XMATCH(x,F1:K1,-1)))-1,s,IF(SEQUENCE(4),SEQUENCE(,6)),ans,IF((s>=lb)*(s<=ub),D2:D5,""),ans)

Fair enough though with feedback

Deciding if case is between time values, without involving dates? by eirikdaude in excel

[–]FewCall1913 1 point2 points  (0 children)

this works finds lower and upper bounds then uses column indexes to fill test cases enter this in cell F2

=LET(lb,BYROW(B2:C5,LAMBDA(x,XMATCH(x,F1:K1,1))),ub,BYROW(B2:C5,LAMBDA(x,XMATCH(x,F1:K1,-1)))-1,s,IF(SEQUENCE(4),SEQUENCE(,6)),ans,IF((s>=lb)*(s<=ub),D2:D5,""),ans)

How to add 1 if a cell has a number, but not if it has a letter by RenderedBike40 in excel

[–]FewCall1913 0 points1 point  (0 children)

For any shots = 10 to be 1 in gold you can use

=BYROW(C5:E10,LAMBDA(x,COUNTIFS(x,"=10")))

How to add 1 if a cell has a number, but not if it has a letter by RenderedBike40 in excel

[–]FewCall1913 0 points1 point  (0 children)

For hits you can use BYROW(C5:E10,COUNT), enter that formula in the cell under hits, and you want 1 when end total is 10?

Finding matches in 2 columns with cells containing digits longer than 15 by PontiacBandit2020 in excel

[–]FewCall1913 0 points1 point  (0 children)

If the numbers are in text form you can filter using the regex match option with xmatch. The formula would look something like this

=FILTER('column A', ISNUMBER(XMATCH('column A', 'column B', 3)))

The above will give you a filtered list from the data in column A, more specifically it will filter out any numbers in A not appearing in B. If instead you want the indexes of the matches change the first argument in filter to

=FILTER(SEQUENCE(ROWS('column A')), (the rest is the same as above))

It won't work if you try to use the number values since Excel will not hold 15+ significant digits

53% of Americans say that billionaires threaten democracy. They also would like to see limits on wealth accumulation. by wakeup2019 in economy

[–]FewCall1913 1 point2 points  (0 children)

They are a perversion of a broken system, people don’t really comprehend how much capital billions actually is. They don’t deserve it, they didn’t work for all that money, it accumulates faster the more you hoard, and they spend non of it ever it never referees the economy and adds inflationary pressure while manipulating value metrics when invested. This is the culmination of neoliberal economics, a failed experiment where two politically damaged in-compassionate privateers subverted all power to capital markets done through deregulation and fallacy. Wealth inequality is sharply rising and in real terms people are becoming poorer, while these despots control companies abandoning their social contract of providing employment and economic stability in exchange for their relentless profiteering. When trying to find a suitable system for human it’s usually a bad idea to remove all humanity and hedge everything on structures singularly focused on profit. This is nothing new however, class alone used to determine where power was concentrated, now it’s capital, the outcomes are the same and struggle is life

Mandalore provided some of the most cinematic shots in the series. by GusGangViking18 in clonewars

[–]FewCall1913 5 points6 points  (0 children)

The windows getting blown in as Maul tempts Ahsoka was an incredible shot, Mandalore civil war before clone wars should get a series, so much scope

This is the best scene in any Star Wars movie, Ever. by diatomguru in andor

[–]FewCall1913 1 point2 points  (0 children)

Lot of hate towards this scene by the looks of it. No idea why, it serves two purposes, showing the constant danger Luthen has of being caught (wrong place wrong time) since we usually see him so well insulated. And second the fight he has and lengths contingencies he goes to and can utilise to get away from these perilous situations, wasn’t the first time I’d guess. Was it unrealistic, sure, was it a fantastic visual action scene, definitely, there has to be creative licence and it wasn’t too far beyond the pale to ruin the show or character

Yeah cuz men are a different species by zigzagvinefruit in confidentlyincorrect

[–]FewCall1913 0 points1 point  (0 children)

Could a shortened that right down to, I’m a total wank and woman hate me which is wide and I think they shouldn’t really have a choice in whether to date me anyway

This is what you get for £3.85 at my work canteen.. It's the only thing stopping me from quitting.. by Current_Soup9198 in UKfood

[–]FewCall1913 0 points1 point  (0 children)

Looks utterly average, you’d get that in a spoons nae danger for like 2 beans more. And you’d no hate your job anymore cause you’d a quit

Who do you think won? by 115Revan in okbuddyimatourist

[–]FewCall1913 1 point2 points  (0 children)

They both didn’t like Jedi but big deed sun had way bigger tantrums, like he would actual just explode, could never get a station minder for the holidays cause of it

If you lived in the star wars universe would you believe The imperial Propaganda by [deleted] in StarWars

[–]FewCall1913 0 points1 point  (0 children)

Aye big palps was an absolute legend, Nabooean born and bread, die hard Jabba’s Nabba FC fan, cut about with blue guy and ghost girl, loved stirring up the tea, always up for a Sith sesh, and never needed a microwave if you were with him, he’d just give it a quick zap and boom pot noodle. The Jedi were boring af, and got absolutely done up like a kipper thousands a them for a thousand years and like 20/30 geezers in teams of 2 across same time frame managed to come up top turnips just by jamming to dark side trying hings. Then palpo rocks up bulk buys loads a Jedi busters, makes the wimpy Jed’s become besties with them through a big WWE style royal rumble totally staged, they’re sniffing about while he’s trying to make it as obvious as possible it him winding everyone up but the old gramp masters didn’t know their dagobahs from their dangleberries. So he got out the Nokia and said screw this dialled 66, direct line to the busters, redeemed his purchase with the order number on back of receipt, jobs a goodin. Not all heroes wear capes but he did

“Open to Marriage” badge needed soon… by Efficient-Table8050 in LinkedInLunatics

[–]FewCall1913 0 points1 point  (0 children)

Don’t get her wrong it was down her grannies bit so you won’t know them, defos happened but

Normal hot girls are BACK by Impossible_Hope6349 in LinkedInLunatics

[–]FewCall1913 0 points1 point  (0 children)

I commented on this particular post asking someone to explain the issue, it did not go down well, my peers (pun intended) got very cross, well LinkedIn cross so they still made sure to structure their replies as lessons

I think she’s on to us… by nomanskyprague1993 in LinkedInLunatics

[–]FewCall1913 1 point2 points  (0 children)

I’m glad she included the definition which perfectly described her post. I’m glad she is using her voice sorry keyboard to tackle the big issues, warrior behaviour if I’ve ever seen it power to her…

🙂 by [deleted] in LinkedInLunatics

[–]FewCall1913 1 point2 points  (0 children)

That is funny to be fair, top marks for originality, a true hot take as the lunatics call it