apoc.path.subgraphAll returns more relationships

Guidelines
Please note that GitHub issues are only meant for bug reports/feature requests. If you have questions on how to use APOC, please ask on the Neo4j Discussion Forum instead of creating an issue here.
Expected Behavior (Mandatory)
My assumption is that these three queries are identical and should return the same nodes (32) and relationships (45). Starting from the Person node, traverse in all directions for zero to maximum two hops.
Variable path length
MATCH (p:Person {name: 'Keanu Reeves'})-[r*0..2]-(m)
RETURN p, r, m

apoc.path.expand
MATCH (p:Person {name: 'Keanu Reeves'})
CALL apoc.path.expand(p, null, null, 0, 2) YIELD path
RETURN path

apoc.path.subgraphAll
MATCH (p:Person {name: 'Keanu Reeves'})
CALL apoc.path.subgraphAll(p, {minLevel: 0, maxLevel: 2}) YIELD nodes, relationships
RETURN nodes, relationships

Actual Behavior (Mandatory)
Executed on the Movie graph dataset, each query returns 32 nodes. However, the last query apoc.path.subgraphAll returns 47 relationships while the first two queries return 45 relationships.
The two additional relationships have ID=241 and ID=242:

How to Reproduce the Problem
Simple Dataset (where it's possibile)

Movie graph dataset
```
CREATE (TheMatrix:Movie {title:'The Matrix', released:1999, tagline:'Welcome to the Real World'})
CREATE (Keanu:Person {name:'Keanu Reeves', born:1964})
CREATE (Carrie:Person {name:'Carrie-Anne Moss', born:1967})
CREATE (Laurence:Person {name:'Laurence Fishburne', born:1961})
CREATE (Hugo:Person {name:'Hugo Weaving', born:1960})
CREATE (LillyW:Person {name:'Lilly Wachowski', born:1967})
CREATE (LanaW:Person {name:'Lana Wachowski', born:1965})
CREATE (JoelS:Person {name:'Joel Silver', born:1952})
CREATE
(Keanu)-[:ACTED_IN {roles:['Neo']}]->(TheMatrix),
(Carrie)-[:ACTED_IN {roles:['Trinity']}]->(TheMatrix),
(Laurence)-[:ACTED_IN {roles:['Morpheus']}]->(TheMatrix),
(Hugo)-[:ACTED_IN {roles:['Agent Smith']}]->(TheMatrix),
(LillyW)-[:DIRECTED]->(TheMatrix),
(LanaW)-[:DIRECTED]->(TheMatrix),
(JoelS)-[:PRODUCED]->(TheMatrix)
CREATE (Emil:Person {name:"Emil Eifrem", born:1978})
CREATE (Emil)-[:ACTED_IN {roles:["Emil"]}]->(TheMatrix)
CREATE (TheMatrixReloaded:Movie {title:'The Matrix Reloaded', released:2003, tagline:'Free your mind'})
CREATE
(Keanu)-[:ACTED_IN {roles:['Neo']}]->(TheMatrixReloaded),
(Carrie)-[:ACTED_IN {roles:['Trinity']}]->(TheMatrixReloaded),
(Laurence)-[:ACTED_IN {roles:['Morpheus']}]->(TheMatrixReloaded),
(Hugo)-[:ACTED_IN {roles:['Agent Smith']}]->(TheMatrixReloaded),
(LillyW)-[:DIRECTED]->(TheMatrixReloaded),
(LanaW)-[:DIRECTED]->(TheMatrixReloaded),
(JoelS)-[:PRODUCED]->(TheMatrixReloaded)
CREATE (TheMatrixRevolutions:Movie {title:'The Matrix Revolutions', released:2003, tagline:'Everything that has a beginning has an end'})
CREATE
(Keanu)-[:ACTED_IN {roles:['Neo']}]->(TheMatrixRevolutions),
(Carrie)-[:ACTED_IN {roles:['Trinity']}]->(TheMatrixRevolutions),
(Laurence)-[:ACTED_IN {roles:['Morpheus']}]->(TheMatrixRevolutions),
(Hugo)-[:ACTED_IN {roles:['Agent Smith']}]->(TheMatrixRevolutions),
(LillyW)-[:DIRECTED]->(TheMatrixRevolutions),
(LanaW)-[:DIRECTED]->(TheMatrixRevolutions),
(JoelS)-[:PRODUCED]->(TheMatrixRevolutions)
CREATE (TheDevilsAdvocate:Movie {title:"The Devil's Advocate", released:1997, tagline:'Evil has its winning ways'})
CREATE (Charlize:Person {name:'Charlize Theron', born:1975})
CREATE (Al:Person {name:'Al Pacino', born:1940})
CREATE (Taylor:Person {name:'Taylor Hackford', born:1944})
CREATE
(Keanu)-[:ACTED_IN {roles:['Kevin Lomax']}]->(TheDevilsAdvocate),
(Charlize)-[:ACTED_IN {roles:['Mary Ann Lomax']}]->(TheDevilsAdvocate),
(Al)-[:ACTED_IN {roles:['John Milton']}]->(TheDevilsAdvocate),
(Taylor)-[:DIRECTED]->(TheDevilsAdvocate)
CREATE (AFewGoodMen:Movie {title:"A Few Good Men", released:1992, tagline:"In the heart of the nation's capital, in a courthouse of the U.S. government, one man will stop at nothing to keep his honor, and one will stop at nothing to find the truth."})
CREATE (TomC:Person {name:'Tom Cruise', born:1962})
CREATE (JackN:Person {name:'Jack Nicholson', born:1937})
CREATE (DemiM:Person {name:'Demi Moore', born:1962})
CREATE (KevinB:Person {name:'Kevin Bacon', born:1958})
CREATE (KieferS:Person {name:'Kiefer Sutherland', born:1966})
CREATE (NoahW:Person {name:'Noah Wyle', born:1971})
CREATE (CubaG:Person {name:'Cuba Gooding Jr.', born:1968})
CREATE (KevinP:Person {name:'Kevin Pollak', born:1957})
CREATE (JTW:Person {name:'J.T. Walsh', born:1943})
CREATE (JamesM:Person {name:'James Marshall', born:1967})
CREATE (ChristopherG:Person {name:'Christopher Guest', born:1948})
CREATE (RobR:Person {name:'Rob Reiner', born:1947})
CREATE (AaronS:Person {name:'Aaron Sorkin', born:1961})
CREATE
(TomC)-[:ACTED_IN {roles:['Lt. Daniel Kaffee']}]->(AFewGoodMen),
(JackN)-[:ACTED_IN {roles:['Col. Nathan R. Jessup']}]->(AFewGoodMen),
(DemiM)-[:ACTED_IN {roles:['Lt. Cdr. JoAnne Galloway']}]->(AFewGoodMen),
(KevinB)-[:ACTED_IN {roles:['Capt. Jack Ross']}]->(AFewGoodMen),
(KieferS)-[:ACTED_IN {roles:['Lt. Jonathan Kendrick']}]->(AFewGoodMen),
(NoahW)-[:ACTED_IN {roles:['Cpl. Jeffrey Barnes']}]->(AFewGoodMen),
(CubaG)-[:ACTED_IN {roles:['Cpl. Carl Hammaker']}]->(AFewGoodMen),
(KevinP)-[:ACTED_IN {roles:['Lt. Sam Weinberg']}]->(AFewGoodMen),
(JTW)-[:ACTED_IN {roles:['Lt. Col. Matthew Andrew Markinson']}]->(AFewGoodMen),
(JamesM)-[:ACTED_IN {roles:['Pfc. Louden Downey']}]->(AFewGoodMen),
(ChristopherG)-[:ACTED_IN {roles:['Dr. Stone']}]->(AFewGoodMen),
(AaronS)-[:ACTED_IN {roles:['Man in Bar']}]->(AFewGoodMen),
(RobR)-[:DIRECTED]->(AFewGoodMen),
(AaronS)-[:WROTE]->(AFewGoodMen)
CREATE (TopGun:Movie {title:"Top Gun", released:1986, tagline:'I feel the need, the need for speed.'})
CREATE (KellyM:Person {name:'Kelly McGillis', born:1957})
CREATE (ValK:Person {name:'Val Kilmer', born:1959})
CREATE (AnthonyE:Person {name:'Anthony Edwards', born:1962})
CREATE (TomS:Person {name:'Tom Skerritt', born:1933})
CREATE (MegR:Person {name:'Meg Ryan', born:1961})
CREATE (TonyS:Person {name:'Tony Scott', born:1944})
CREATE (JimC:Person {name:'Jim Cash', born:1941})
CREATE
(TomC)-[:ACTED_IN {roles:['Maverick']}]->(TopGun),
(KellyM)-[:ACTED_IN {roles:['Charlie']}]->(TopGun),
(ValK)-[:ACTED_IN {roles:['Iceman']}]->(TopGun),
(AnthonyE)-[:ACTED_IN {roles:['Goose']}]->(TopGun),
(TomS)-[:ACTED_IN {roles:['Viper']}]->(TopGun),
(MegR)-[:ACTED_IN {roles:['Carole']}]->(TopGun),
(TonyS)-[:DIRECTED]->(TopGun),
(JimC)-[:WROTE]->(TopGun)
CREATE (JerryMaguire:Movie {title:'Jerry Maguire', released:2000, tagline:'The rest of his life begins now.'})
CREATE (ReneeZ:Person {name:'Renee Zellweger', born:1969})
CREATE (KellyP:Person {name:'Kelly Preston', born:1962})
CREATE (JerryO:Person {name:"Jerry O'Connell", born:1974})
CREATE (JayM:Person {name:'Jay Mohr', born:1970})
CREATE (BonnieH:Person {name:'Bonnie Hunt', born:1961})
CREATE (ReginaK:Person {name:'Regina King', born:1971})
CREATE (JonathanL:Person {name:'Jonathan Lipnicki', born:1996})
CREATE (CameronC:Person {name:'Cameron Crowe', born:1957})
CREATE
(TomC)-[:ACTED_IN {roles:['Jerry Maguire']}]->(JerryMaguire),
(CubaG)-[:ACTED_IN {roles:['Rod Tidwell']}]->(JerryMaguire),
(ReneeZ)-[:ACTED_IN {roles:['Dorothy Boyd']}]->(JerryMaguire),
(KellyP)-[:ACTED_IN {roles:['Avery Bishop']}]->(JerryMaguire),
(JerryO)-[:ACTED_IN {roles:['Frank Cushman']}]->(JerryMaguire),
(JayM)-[:ACTED_IN {roles:['Bob Sugar']}]->(JerryMaguire),
(BonnieH)-[:ACTED_IN {roles:['Laurel Boyd']}]->(JerryMaguire),
(ReginaK)-[:ACTED_IN {roles:['Marcee Tidwell']}]->(JerryMaguire),
(JonathanL)-[:ACTED_IN {roles:['Ray Boyd']}]->(JerryMaguire),
(CameronC)-[:DIRECTED]->(JerryMaguire),
(CameronC)-[:PRODUCED]->(JerryMaguire),
(CameronC)-[:WROTE]->(JerryMaguire)
CREATE (StandByMe:Movie {title:"Stand By Me", released:1986, tagline:"For some, it's the last real taste of innocence, and the first real taste of life. But for everyone, it's the time that memories are made of."})
CREATE (RiverP:Person {name:'River Phoenix', born:1970})
CREATE (CoreyF:Person {name:'Corey Feldman', born:1971})
CREATE (WilW:Person {name:'Wil Wheaton', born:1972})
CREATE (JohnC:Person {name:'John Cusack', born:1966})
CREATE (MarshallB:Person {name:'Marshall Bell', born:1942})
CREATE
(WilW)-[:ACTED_IN {roles:['Gordie Lachance']}]->(StandByMe),
(RiverP)-[:ACTED_IN {roles:['Chris Chambers']}]->(StandByMe),
(JerryO)-[:ACTED_IN {roles:['Vern Tessio']}]->(StandByMe),
(CoreyF)-[:ACTED_IN {roles:['Teddy Duchamp']}]->(StandByMe),
(JohnC)-[:ACTED_IN {roles:['Denny Lachance']}]->(StandByMe),
(KieferS)-[:ACTED_IN {roles:['Ace Merrill']}]->(StandByMe),
(MarshallB)-[:ACTED_IN {roles:['Mr. Lachance']}]->(StandByMe),
(RobR)-[:DIRECTED]->(StandByMe)
CREATE (AsGoodAsItGets:Movie {title:'As Good as It Gets', released:1997, tagline:'A comedy from the heart that goes for the throat.'})
CREATE (HelenH:Person {name:'Helen Hunt', born:1963})
CREATE (GregK:Person {name:'Greg Kinnear', born:1963})
CREATE (JamesB:Person {name:'James L. Brooks', born:1940})
CREATE
(JackN)-[:ACTED_IN {roles:['Melvin Udall']}]->(AsGoodAsItGets),
(HelenH)-[:ACTED_IN {roles:['Carol Connelly']}]->(AsGoodAsItGets),
(GregK)-[:ACTED_IN {roles:['Simon Bishop']}]->(AsGoodAsItGets),
(CubaG)-[:ACTED_IN {roles:['Frank Sachs']}]->(AsGoodAsItGets),
(JamesB)-[:DIRECTED]->(AsGoodAsItGets)
CREATE (WhatDreamsMayCome:Movie {title:'What Dreams May Come', released:1998, tagline:'After life there is more. The end is just the beginning.'})
CREATE (AnnabellaS:Person {name:'Annabella Sciorra', born:1960})
CREATE (MaxS:Person {name:'Max von Sydow', born:1929})
CREATE (WernerH:Person {name:'Werner Herzog', born:1942})
CREATE (Robin:Person {name:'Robin Williams', born:1951})
CREATE (VincentW:Person {name:'Vincent Ward', born:1956})
CREATE
(Robin)-[:ACTED_IN {roles:['Chris Nielsen']}]->(WhatDreamsMayCome),
(CubaG)-[:ACTED_IN {roles:['Albert Lewis']}]->(WhatDreamsMayCome),
(AnnabellaS)-[:ACTED_IN {roles:['Annie Collins-Nielsen']}]->(WhatDreamsMayCome),
(MaxS)-[:ACTED_IN {roles:['The Tracker']}]->(WhatDreamsMayCome),
(WernerH)-[:ACTED_IN {roles:['The Face']}]->(WhatDreamsMayCome),
(VincentW)-[:DIRECTED]->(WhatDreamsMayCome)
CREATE (SnowFallingonCedars:Movie {title:'Snow Falling on Cedars', released:1999, tagline:'First loves last. Forever.'})
CREATE (EthanH:Person {name:'Ethan Hawke', born:1970})
CREATE (RickY:Person {name:'Rick Yune', born:1971})
CREATE (JamesC:Person {name:'James Cromwell', born:1940})
CREATE (ScottH:Person {name:'Scott Hicks', born:1953})
CREATE
(EthanH)-[:ACTED_IN {roles:['Ishmael Chambers']}]->(SnowFallingonCedars),
(RickY)-[:ACTED_IN {roles:['Kazuo Miyamoto']}]->(SnowFallingonCedars),
(MaxS)-[:ACTED_IN {roles:['Nels Gudmundsson']}]->(SnowFallingonCedars),
(JamesC)-[:ACTED_IN {roles:['Judge Fielding']}]->(SnowFallingonCedars),
(ScottH)-[:DIRECTED]->(SnowFallingonCedars)
CREATE (YouveGotMail:Movie {title:"You've Got Mail", released:1998, tagline:'At odds in life... in love on-line.'})
CREATE (ParkerP:Person {name:'Parker Posey', born:1968})
CREATE (DaveC:Person {name:'Dave Chappelle', born:1973})
CREATE (SteveZ:Person {name:'Steve Zahn', born:1967})
CREATE (TomH:Person {name:'Tom Hanks', born:1956})
CREATE (NoraE:Person {name:'Nora Ephron', born:1941})
CREATE
(TomH)-[:ACTED_IN {roles:['Joe Fox']}]->(YouveGotMail),
(MegR)-[:ACTED_IN {roles:['Kathleen Kelly']}]->(YouveGotMail),
(GregK)-[:ACTED_IN {roles:['Frank Navasky']}]->(YouveGotMail),
(ParkerP)-[:ACTED_IN {roles:['Patricia Eden']}]->(YouveGotMail),
(DaveC)-[:ACTED_IN {roles:['Kevin Jackson']}]->(YouveGotMail),
(SteveZ)-[:ACTED_IN {roles:['George Pappas']}]->(YouveGotMail),
(NoraE)-[:DIRECTED]->(YouveGotMail)
CREATE (SleeplessInSeattle:Movie {title:'Sleepless in Seattle', released:1993, tagline:'What if someone you never met, someone you never saw, someone you never knew was the only someone for you?'})
CREATE (RitaW:Person {name:'Rita Wilson', born:1956})
CREATE (BillPull:Person {name:'Bill Pullman', born:1953})
CREATE (VictorG:Person {name:'Victor Garber', born:1949})
CREATE (RosieO:Person {name:"Rosie O'Donnell", born:1962})
CREATE
(TomH)-[:ACTED_IN {roles:['Sam Baldwin']}]->(SleeplessInSeattle),
(MegR)-[:ACTED_IN {roles:['Annie Reed']}]->(SleeplessInSeattle),
(RitaW)-[:ACTED_IN {roles:['Suzy']}]->(SleeplessInSeattle),
(BillPull)-[:ACTED_IN {roles:['Walter']}]->(SleeplessInSeattle),
(VictorG)-[:ACTED_IN {roles:['Greg']}]->(SleeplessInSeattle),
(RosieO)-[:ACTED_IN {roles:['Becky']}]->(SleeplessInSeattle),
(NoraE)-[:DIRECTED]->(SleeplessInSeattle)
CREATE (JoeVersustheVolcano:Movie {title:'Joe Versus the Volcano', released:1990, tagline:'A story of love, lava and burning desire.'})
CREATE (JohnS:Person {name:'John Patrick Stanley', born:1950})
CREATE (Nathan:Person {name:'Nathan Lane', born:1956})
CREATE
(TomH)-[:ACTED_IN {roles:['Joe Banks']}]->(JoeVersustheVolcano),
(MegR)-[:ACTED_IN {roles:['DeDe', 'Angelica Graynamore', 'Patricia Graynamore']}]->(JoeVersustheVolcano),
(Nathan)-[:ACTED_IN {roles:['Baw']}]->(JoeVersustheVolcano),
(JohnS)-[:DIRECTED]->(JoeVersustheVolcano)
CREATE (WhenHarryMetSally:Movie {title:'When Harry Met Sally', released:1998, tagline:'Can two friends sleep together and still love each other in the morning?'})
  In the coolest head in town'})
CREATE (Takeshi:Person {name:'Takeshi Kitano', born:1947})
CREATE (Dina:Person {name:'Dina Meyer', born:1968})
CREATE (IceT:Person {name:'Ice-T', born:1958})
CREATE (RobertL:Person {name:'Robert Longo', born:1953})
CREATE
(Keanu)-[:ACTED_IN {roles:['Johnny Mnemonic']}]->(JohnnyMnemonic),
(Takeshi)-[:ACTED_IN {roles:['Takahashi']}]->(JohnnyMnemonic),
(Dina)-[:ACTED_IN {roles:['Jane']}]->(JohnnyMnemonic),
(IceT)-[:ACTED_IN {roles:['J-Bone']}]->(JohnnyMnemonic),
(RobertL)-[:DIRECTED]->(JohnnyMnemonic)
CREATE (CloudAtlas:Movie {title:'Cloud Atlas', released:2012, tagline:'Everything is connected'})
CREATE (HalleB:Person {name:'Halle Berry', born:1966})
CREATE (JimB:Person {name:'Jim Broadbent', born:1949})
CREATE (TomT:Person {name:'Tom Tykwer', born:1965})
CREATE (DavidMitchell:Person {name:'David Mitchell', born:1969})
CREATE (StefanArndt:Person {name:'Stefan Arndt', born:1961})
CREATE
(TomH)-[:ACTED_IN {roles:['Zachry', 'Dr. Henry Goose', 'Isaac Sachs', 'Dermot Hoggins']}]->(CloudAtlas),
(Hugo)-[:ACTED_IN {roles:['Bill Smoke', 'Haskell Moore', 'Tadeusz Kesselring', 'Nurse Noakes', 'Boardman Mephi', 'Old Georgie']}]->(CloudAtlas),
(HalleB)-[:ACTED_IN {roles:['Luisa Rey', 'Jocasta Ayrs', 'Ovid', 'Meronym']}]->(CloudAtlas),
(JimB)-[:ACTED_IN {roles:['Vyvyan Ayrs', 'Captain Molyneux', 'Timothy Cavendish']}]->(CloudAtlas),
(TomT)-[:DIRECTED]->(CloudAtlas),
(LillyW)-[:DIRECTED]->(CloudAtlas),
(LanaW)-[:DIRECTED]->(CloudAtlas),
(DavidMitchell)-[:WROTE]->(CloudAtlas),
(StefanArndt)-[:PRODUCED]->(CloudAtlas)
CREATE (TheDaVinciCode:Movie {title:'The Da Vinci Code', released:2006, tagline:'Break The Codes'})
CREATE (IanM:Person {name:'Ian McKellen', born:1939})
CREATE (AudreyT:Person {name:'Audrey Tautou', born:1976})
CREATE (PaulB:Person {name:'Paul Bettany', born:1971})
CREATE (RonH:Person {name:'Ron Howard', born:1954})
CREATE
(TomH)-[:ACTED_IN {roles:['Dr. Robert Langdon']}]->(TheDaVinciCode),
(IanM)-[:ACTED_IN {roles:['Sir Leight Teabing']}]->(TheDaVinciCode),
(AudreyT)-[:ACTED_IN {roles:['Sophie Neveu']}]->(TheDaVinciCode),
(PaulB)-[:ACTED_IN {roles:['Silas']}]->(TheDaVinciCode),
(RonH)-[:DIRECTED]->(TheDaVinciCode)
CREATE (VforVendetta:Movie {title:'V for Vendetta', released:2006, tagline:'Freedom! Forever!'})

CREATE (MichaelD:Person {name:'Michael Clarke Duncan', born:1957})
CREATE (DavidM:Person {name:'David Morse', born:1953})
CREATE (SamR:Person {name:'Sam Rockwell', born:1968})
CREATE (GaryS:Person {name:'Gary Sinise', born:1955})
CREATE (PatriciaC:Person {name:'Patricia Clarkson', born:1959})
CREATE (FrankD:Person {name:'Frank Darabont', born:1959})
CREATE
(TomH)-[:ACTED_IN {roles:['Paul Edgecomb']}]->(TheGreenMile),
(MichaelD)-[:ACTED_IN {roles:['John Coffey']}]->(TheGreenMile),
(DavidM)-[:ACTED_IN {roles:['Brutus "Brutal" Howell']}]->(TheGreenMile),
(BonnieH)-[:ACTED_IN {roles:['Jan Edgecomb']}]->(TheGreenMile),
(JamesC)-[:ACTED_IN {roles:['Warden Hal Moores']}]->(TheGreenMile),
(SamR)-[:ACTED_IN {roles:['"Wild Bill" Wharton']}]->(TheGreenMile),
(GaryS)-[:ACTED_IN {roles:['Burt Hammersmith']}]->(TheGreenMile),
(PatriciaC)-[:ACTED_IN {roles:['Melinda Moores']}]->(TheGreenMile),
(FrankD)-[:DIRECTED]->(TheGreenMile)
CREATE (FrostNixon:Movie {title:'Frost/Nixon', released:2008, tagline:'400 million people were waiting for the truth.'})
CREATE (FrankL:Person {name:'Frank Langella', born:1938})
CREATE (MichaelS:Person {name:'Michael Sheen', born:1969})
CREATE (OliverP:Person {name:'Oliver Platt', born:1960})
CREATE
(FrankL)-[:ACTED_IN {roles:['Richard Nixon']}]->(FrostNixon),
(MichaelS)-[:ACTED_IN {roles:['David Frost']}]->(FrostNixon),
(KevinB)-[:ACTED_IN {roles:['Jack Brennan']}]->(FrostNixon),
(OliverP)-[:ACTED_IN {roles:['Bob Zelnick']}]->(FrostNixon),
(SamR)-[:ACTED_IN {roles:['James Reston, Jr.']}]->(FrostNixon),
(RonH)-[:DIRECTED]->(FrostNixon)
CREATE (Hoffa:Movie {title:'Hoffa', released:1992, tagline:"He didn't want law. He wanted justice."})
CREATE (DannyD:Person {name:'Danny DeVito', born:1944})
CREATE (JohnR:Person {name:'John C. Reilly', born:1965})
CREATE
(JackN)-[:ACTED_IN {roles:['Hoffa']}]->(Hoffa),
(DannyD)-[:ACTED_IN {roles:['Robert "Bobby" Ciaro']}]->(Hoffa),
(JTW)-[:ACTED_IN {roles:['Frank Fitzsimmons']}]->(Hoffa),
(JohnR)-[:ACTED_IN {roles:['Peter "Pete" Connelly']}]->(Hoffa),
(DannyD)-[:DIRECTED]->(Hoffa)
CREATE (Apollo13:Movie {title:'Apollo 13', released:1995, tagline:'Houston, we have a problem.'})
CREATE (EdH:Person {name:'Ed Harris', born:1950})
CREATE (BillPax:Person {name:'Bill Paxton', born:1955})
CREATE
(TomH)-[:ACTED_IN {roles:['Jim Lovell']}]->(Apollo13),
(KevinB)-[:ACTED_IN {roles:['Jack Swigert']}]->(Apollo13),
(EdH)-[:ACTED_IN {roles:['Gene Kranz']}]->(Apollo13),
(BillPax)-[:ACTED_IN {roles:['Fred Haise']}]->(Apollo13),
(GaryS)-[:ACTED_IN {roles:['Ken Mattingly']}]->(Apollo13),
(RonH)-[:DIRECTED]->(Apollo13)
CREATE (Twister:Movie {title:'Twister', released:1996, tagline:"Don't Breathe. Don't Look Back."})
CREATE (PhilipH:Person {name:'Philip Seymour Hoffman', born:1967})
CREATE (JanB:Person {name:'Jan de Bont', born:1943})
CREATE
(BillPax)-[:ACTED_IN {roles:['Bill Harding']}]->(Twister),
(HelenH)-[:ACTED_IN {roles:['Dr. Jo Harding']}]->(Twister),
(ZachG)-[:ACTED_IN {roles:['Eddie']}]->(Twister),
(PhilipH)-[:ACTED_IN {roles:['Dustin "Dusty" Davis']}]->(Twister),
(JanB)-[:DIRECTED]->(Twister)
CREATE (CastAway:Movie {title:'Cast Away', released:2000, tagline:'At the edge of the world, his journey begins.'})
CREATE (RobertZ:Person {name:'Robert Zemeckis', born:1951})
CREATE
(TomH)-[:ACTED_IN {roles:['Chuck Noland']}]->(CastAway),
(HelenH)-[:ACTED_IN {roles:['Kelly Frears']}]->(CastAway),
(RobertZ)-[:DIRECTED]->(CastAway)
CREATE (OneFlewOvertheCuckoosNest:Movie {title:"One Flew Over the Cuckoo's Nest", released:1975, tagline:"If he's crazy, what does that make you?"})
CREATE (MilosF:Person {name:'Milos Forman', born:1932})
CREATE
(JackN)-[:ACTED_IN {roles:['Randle McMurphy']}]->(OneFlewOvertheCuckoosNest),
(DannyD)-[:ACTED_IN {roles:['Martini']}]->(OneFlewOvertheCuckoosNest),
(MilosF)-[:DIRECTED]->(OneFlewOvertheCuckoosNest)
CREATE (SomethingsGottaGive:Movie {title:"Something's Gotta Give", released:2003})
CREATE (DianeK:Person {name:'Diane Keaton', born:1946})
CREATE (NancyM:Person {name:'Nancy Meyers', born:1949})
CREATE
(JackN)-[:ACTED_IN {roles:['Harry Sanborn']}]->(SomethingsGottaGive),
(DianeK)-[:ACTED_IN {roles:['Erica Barry']}]->(SomethingsGottaGive),
(Keanu)-[:ACTED_IN {roles:['Julian Mercer']}]->(SomethingsGottaGive),
(NancyM)-[:DIRECTED]->(SomethingsGottaGive),
(NancyM)-[:PRODUCED]->(SomethingsGottaGive),
(NancyM)-[:WROTE]->(SomethingsGottaGive)
CREATE (BicentennialMan:Movie {title:'Bicentennial Man', released:1999, tagline:"One robot's 200 year journey to become an ordinary man."})
CREATE (ChrisC:Person {name:'Chris Columbus', born:1958})
CREATE
(Robin)-[:ACTED_IN {roles:['Andrew Marin']}]->(BicentennialMan),
(OliverP)-[:ACTED_IN {roles:['Rupert Burns']}]->(BicentennialMan),
(ChrisC)-[:DIRECTED]->(BicentennialMan)
CREATE (CharlieWilsonsWar:Movie {title:"Charlie Wilson's War", released:2007, tagline:"A stiff drink. A little mascara. A lot of nerve. Who said they couldn't bring down the Soviet empire."})
CREATE (JuliaR:Person {name:'Julia Roberts', born:1967})
CREATE
(TomH)-[:ACTED_IN {roles:['Rep. Charlie Wilson']}]->(CharlieWilsonsWar),
(JuliaR)-[:ACTED_IN {roles:['Joanne Herring']}]->(CharlieWilsonsWar),
(PhilipH)-[:ACTED_IN {roles:['Gust Avrakotos']}]->(CharlieWilsonsWar),
(MikeN)-[:DIRECTED]->(CharlieWilsonsWar)
CREATE (ThePolarExpress:Movie {title:'The Polar Express', released:2004, tagline:'This Holiday Season… Believe'})
CREATE
(TomH)-[:ACTED_IN {roles:['Hero Boy', 'Father', 'Conductor', 'Hobo', 'Scrooge', 'Santa Claus']}]->(ThePolarExpress),
(RobertZ)-[:DIRECTED]->(ThePolarExpress)
CREATE (ALeagueofTheirOwn:Movie {title:'A League of Their Own', released:1992, tagline:'Once in a lifetime you get a chance to do something different.'})
CREATE (Madonna:Person {name:'Madonna', born:1954})
CREATE (GeenaD:Person {name:'Geena Davis', born:1956})
CREATE (LoriP:Person {name:'Lori Petty', born:1963})
CREATE (PennyM:Person {name:'Penny Marshall', born:1943})
CREATE
(TomH)-[:ACTED_IN {roles:['Jimmy Dugan']}]->(ALeagueofTheirOwn),
(GeenaD)-[:ACTED_IN {roles:['Dottie Hinson']}]->(ALeagueofTheirOwn),
(LoriP)-[:ACTED_IN {roles:['Kit Keller']}]->(ALeagueofTheirOwn),
(RosieO)-[:ACTED_IN {roles:['Doris Murphy']}]->(ALeagueofTheirOwn),
(Madonna)-[:ACTED_IN {roles:['"All the Way" Mae Mordabito']}]->(ALeagueofTheirOwn),
(BillPax)-[:ACTED_IN {roles:['Bob Hinson']}]->(ALeagueofTheirOwn),
(PennyM)-[:DIRECTED]->(ALeagueofTheirOwn)
CREATE (PaulBlythe:Person {name:'Paul Blythe'})
CREATE (AngelaScope:Person {name:'Angela Scope'})
CREATE (JessicaThompson:Person {name:'Jessica Thompson'})
CREATE (JamesThompson:Person {name:'James Thompson'})
CREATE
(JamesThompson)-[:FOLLOWS]->(JessicaThompson),
(AngelaScope)-[:FOLLOWS]->(JessicaThompson),
(PaulBlythe)-[:FOLLOWS]->(AngelaScope)
CREATE
(JessicaThompson)-[:REVIEWED {summary:'An amazing journey', rating:95}]->(CloudAtlas),
(JessicaThompson)-[:REVIEWED {summary:'Silly, but fun', rating:65}]->(TheReplacements),
(JamesThompson)-[:REVIEWED {summary:'The coolest football movie ever', rating:100}]->(TheReplacements),
(AngelaScope)-[:REVIEWED {summary:'Pretty funny at times', rating:62}]->(TheReplacements),
(JessicaThompson)-[:REVIEWED {summary:'Dark, but compelling', rating:85}]->(Unforgiven),
(JessicaThompson)-[:REVIEWED {summary:"Slapstick redeemed only by the Robin Williams and Gene Hackman's stellar performances", rating:45}]->(TheBirdcage),
(JessicaThompson)-[:REVIEWED {summary:'A solid romp', rating:68}]->(TheDaVinciCode),
(JamesThompson)-[:REVIEWED {summary:'Fun, but a little far fetched', rating:65}]->(TheDaVinciCode),
(JessicaThompson)-[:REVIEWED {summary:'You had me at Jerry', rating:92}]->(JerryMaguire);
</details>

### Versions

  - OS: macOS
  - Neo4j: 4.4
  - Neo4j-Apoc: <IP_ADDRESS>

Hi. Thank you for reporting this.
I saw that in the code, we explicitely add all relationships between the endnodes we found. I think the name of the procedure might suggest this, but I see it is not documented epxlicitely as such. We will discuss this in the team and come back to you.

Hi @nadja-muller
thank you for the quick feedback! That makes sense. I thought this procedure is simply the counterpart to apoc.path.expand and returns the nodes and relationships instead of paths.


set same initial weight at the start of training for exp

swarm callback un trainbegin is already syncing the weights. Could use seed for a fixed initial weight also


Is this compatible with bootstrap 3.3.5?

If so, would you mind releasing a package fixing the bower dependence to ~3.3.5 instead? Currently, it conflicts with the latest version of bootstrap available to bower.

It should be. Checking.

It's now supported with 1.1.0 release.

Awesome, thanks!

You're welcome, glad to help.


Using UserID instead of WorkID

Is it possible to use UserID instead of WorkID in the mapping? Thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: be669f51-5f2a-3e2b-ebd7-b5268e473044
Version Independent ID: ec36c599-5a24-3317-bcd0-3c6f21902fd3
Content: Tutorial: Configure Workday writeback in Azure Active Directory
Content Source: articles/active-directory/saas-apps/workday-writeback-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @cmmdesai
Microsoft Alias: chmutali

@wtcan99 By design, the Workday Writeback connector only supports WorkerID as the joining property. This is because the "Change_Work_Contact" workday web service requires WorkerID as the primary input parameter. UserID cannot be used as joining property.

@wtcan99 By design, the Workday Writeback connector only supports WorkerID as the joining property. This is because the "Change_Work_Contact" workday web service requires WorkerID as the primary input parameter. UserID cannot be used as joining property.


Apple Silicone M1 error with Node Sass

Looks like Node Sass doesn't compile with WPGulp, even when running the terminal under rosetta d oyou have any steps to resolve this issue? Or is it a case of just waiting for third parties to update?

Resolved -
For anyone else on the Google train after getting a new mac with the M1 chip.

Set you're terminal to rosetta mode
Restart your terminal
Clear your local project from any legacy gulp/npm files
Download the new files or in WP Gulp case using npx wpgulp

Hi, I have tried that and it now works but have you found that wpgulp now compiles reeeeally slow on the M1 silicon? If yes, do you have any idea why that would be happening?


CytoPipe CLI implementation

Motivation
Cytopipe is a going to be a python package that will contains extensive amount of workflows to processing cell morphology features from both CellProfiler and DeepProfiler.
This PR will introduces the very first working CLI interface for Cytopipe!
Diagram
Below is a simple diagram on how the CLI implementation is designed.

Usage
The CLI interface is easily executed by typing:
cytopipe <MODE> <MODE AGURMENTS>

The MODE is an argument that tells cytopipe's what type of action the user is performing. Each mode will serve a different purpose.
Currently, cytopipe contains three modes

init → initializes required files into the appropriate format (files, file directories, etc)
run → executing workflows
help → displays CLI usage documentation

Example
The first thing to do before trying to execute cytopipe's workflows is to format the files that are required for the processing.
This is done by using the init mode:
# example `[ ] ` indicates the parameter takes a list
# `< > ` indicates a string type
cytopipe init -d [ data1.sqlite, data2.sqlite ..], -m <metadata_dir> -p <platemap_path> -b <barcodes_path>

Once the files are appropriately formatted, the next step is to use the run mode and pick the desired workflow to process your data
cytopipe run <workflow_name>

work in progress:
To see what workflows are available, you can use the help option under the run mode and it will list all available workflows:
cytopipe run help

Note: This PR focuses on implementing the a work CLI for cytopipe ; however, more features will be developed in the future!
A future feature includes a test mode, which tests all the functionality of cytopipe before conducting any processes.
This includes checking the source code, software stack and versions, which is essential for both developers and users for debugging purposes!

oh! and we should somehow try to capture the documentation you wrote for this PR description somewhere more visible (perhaps in the main readme!)

Currently working on that! Will be a separate PR soon!


⚠ Bofrost.lu has degraded performance

In df13d8f, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1957 ms

Resolved: Bofrost.lu performance has improved in d01ebdf after 9 minutes.


Duplicate filter_problematic functions

One defined in seq_utils.py and another in gisaid_utils.py:
https://github.com/PoonLab/covizu/blob/3c718a61bc4c8df44a7c7242378162512949661d/covizu/utils/seq_utils.py#L251
https://github.com/PoonLab/covizu/blob/3c718a61bc4c8df44a7c7242378162512949661d/covizu/utils/gisaid_utils.py#L142

The gisaid_utils version is used in two locations:

in that script's command line interface
in batch.py:process_feed():
https://github.com/PoonLab/covizu/blob/3c718a61bc4c8df44a7c7242378162512949661d/batch.py#L99-L109

The seq_utils version is used in the command line interface for minimap2.py.
https://github.com/PoonLab/covizu/blob/3c718a61bc4c8df44a7c7242378162512949661d/covizu/minimap2.py#L282-L288

For now, just rename the seq_utils version to filter_problematic2 since it's not actually part of the pipeline.  Later we should try to replace it with the gisaid_utils version.

Close when we have removed the duplicate function and integrated this reduced functionality into the primary function.

Close upon merging PR


General bug fixes

#404 #395 #393
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks. Is the code given as example in this post executing anywhere with CI? It could be in the client's unit tests, a standalone sample in this repo, etc. Either way I think we should take the habit of doing that so when the code changes we ensure 100% of the time that it works.

No, our current code examples don't execute with CI. I do agree that it would be a good idea to have some mechanic in place that automatically updates our code samples whenever a version, of say, the clients release, but we'll need support from engineering for that, especially since they've taken a bigger lead on producing new code example pages for newly released clients.


Steps 1-4 do not work

I have been trying to figure out why, when I follow steps 1-4 my project breaks. I cannot open scenes or anything.
here is my log
Log_2024_06_28_17_53_54.txt

Pasted version of the Log:
`================================================================
Start of the log, 2024-06-28 17:53:54
[ 00:00:00.004 ]: [Info] Flax Engine
[ 00:00:00.004 ]: [Info] Platform: Windows x64 (Development)
[ 00:00:00.004 ]: [Info] Version 1.8.6512.2
[ 00:00:00.004 ]: [Info] Compiled: May 20 2024 19:12:17 C++14
[ 00:00:00.004 ]: [Info] Compiled with Visual C++ 19.39.33523.00
[ 00:00:00.004 ]: [Info] Product: Flax Editor, Company: Flax
[ 00:00:00.004 ]: [Info] Current culture: en-GB
[ 00:00:00.004 ]: [Info] Command line: -project 'D:\Game Dev\Projects\Flax Projects\Online'
[ 00:00:00.004 ]: [Info] Base folder: D:\Game Dev/Engines/Flax/Flax_1.8
[ 00:00:00.004 ]: [Info] Binaries folder: D:\Game Dev/Engines/Flax/Flax_1.8/Binaries/Editor/Win64/Development/
[ 00:00:00.004 ]: [Info] Temporary folder: C:\Users/isaac/AppData/Local/Temp/d3a3a16d-49c2-b1c2-c35b-35b5ccd48225
[ 00:00:00.004 ]: [Info] Project folder: D:\Game Dev/Projects/Flax Projects/Online
[ 00:00:00.004 ]: [Info] Project name: Online
[ 00:00:00.004 ]: [Info] CPU package count: 1, Core count: 24, Logical processors: 32
[ 00:00:00.004 ]: [Info] CPU Page size: 4 Kb, cache line size: 64 bytes
[ 00:00:00.004 ]: [Info] L1 cache: 2.13 Mb, L2 cache: 32 Mb, L3 cache: 36 Mb
[ 00:00:00.004 ]: [Info] Clock speed: 10 MHz
[ 00:00:00.004 ]: [Info] Physical Memory: 31.84 Gb total, 12.88 Gb used (40.43%)
[ 00:00:00.004 ]: [Info] Virtual Memory: 128 Tb total, 4.32 Gb used (0%)
[ 00:00:00.004 ]: [Info] Main thread id: 0x5dc0, Process id: 1940
[ 00:00:00.004 ]: [Info] Desktop size: X:1920 Y:1080
[ 00:00:00.004 ]: [Info] Virtual Desktop size: X:0 Y:0 Width:1920 Height:1080
[ 00:00:00.004 ]: [Info] Screen DPI: 96
[ 00:00:00.004 ]: [Info] Microsoft Windows 11 Home 64-bit (10.0.22631)
[ 00:00:00.005 ]: [Info] Last project open version: 1.8.6512
[ 00:00:00.005 ]: [Info] Initialize Objects Removal Service...
[ 00:00:00.005 ]: [Info] Initialize Thread Pool...
[ 00:00:00.005 ]: [Info] Spawning 23 Thread Pool workers
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 0' ID=0x5d78 started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 1' ID=0x5dec started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 2' ID=0x11b0 started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 8' ID=0x5cd8 started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 11' ID=0x5de0 started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 10' ID=0x5ea0 started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 12' ID=0x5e0c started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 4' ID=0x5dd8 started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 6' ID=0x5ea8 started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 9' ID=0x3c0c started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 17' ID=0x4874 started with priority Normal
[ 00:00:00.006 ]: [Info] Initialize Time...
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 18' ID=0x5f1c started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 14' ID=0x5e10 started with priority Normal
[ 00:00:00.006 ]: [Info] Initialize ContentStorage...
[ 00:00:00.006 ]: [Info] Initialize JobSystem...
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 3' ID=0x369c started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 7' ID=0x1084 started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Job System 5' ID=0x8b4 started with priority AboveNormal
[ 00:00:00.006 ]: [Info] Thread 'Job System 7' ID=0x2f14 started with priority AboveNormal
[ 00:00:00.006 ]: [Info] Thread 'Job System 11' ID=0x5958 started with priority AboveNormal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 13' ID=0x21fc started with priority Normal
[ 00:00:00.006 ]: [Info] Thread 'Thread Pool 19' ID=0x2cec started with priority Normal
[ 00:00:00.007 ]: [Info] Thread 'Thread Pool 5' ID=0x5dd4 started with priority Normal
[ 00:00:00.007 ]: [Info] Thread 'Job System 15' ID=0x5714 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 0' ID=0x246c started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 1' ID=0x345c started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 16' ID=0x2b38 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 2' ID=0x1764 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 4' ID=0x5094 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Thread Pool 15' ID=0xf80 started with priority Normal
[ 00:00:00.007 ]: [Info] Thread 'Job System 3' ID=0x2b70 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Initialize Font Manager...
[ 00:00:00.007 ]: [Info] Thread 'Job System 6' ID=0x5404 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 8' ID=0x2418 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 9' ID=0x5598 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 10' ID=0x2d20 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] FreeType initialized, version: 2.10.0
[ 00:00:00.007 ]: [Info] Thread 'Thread Pool 20' ID=0x2724 started with priority Normal
[ 00:00:00.007 ]: [Info] Initialize Content...
[ 00:00:00.007 ]: [Info] Thread 'Job System 12' ID=0x5d98 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 31' ID=0x2c30 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 13' ID=0x5d14 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 14' ID=0x694 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Thread Pool 21' ID=0x5a4c started with priority Normal
[ 00:00:00.007 ]: [Info] Thread 'Thread Pool 22' ID=0x3dfc started with priority Normal
[ 00:00:00.007 ]: [Info] Thread 'Job System 18' ID=0x29f8 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Loading Asset Cache D:\Game Dev/Projects/Flax Projects/Online/Cache/AssetsCache.dat...
[ 00:00:00.007 ]: [Info] Thread 'Job System 17' ID=0x5e7c started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 19' ID=0x5eb8 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 20' ID=0x3acc started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 21' ID=0x5d5c started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 22' ID=0x4e70 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 23' ID=0x2c90 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 24' ID=0x2354 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 25' ID=0x2c94 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 26' ID=0x583c started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 28' ID=0x5ecc started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 27' ID=0xf04 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 29' ID=0x2aac started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Job System 30' ID=0x5e68 started with priority AboveNormal
[ 00:00:00.007 ]: [Info] Thread 'Thread Pool 16' ID=0x5294 started with priority Normal
[ 00:00:00.008 ]: [Info] Asset Cache loaded 165 entries in 1ms (0 rejected)
[ 00:00:00.008 ]: [Info] Initialize Content Loading Manager...
[ 00:00:00.008 ]: [Info] Creating 12 content loading threads...
[ 00:00:00.008 ]: [Info] Thread 'Load Thread 0' ID=0x255c started with priority Normal
[ 00:00:00.008 ]: [Info] Thread 'Load Thread 1' ID=0x190c started with priority Normal
[ 00:00:00.008 ]: [Info] Thread 'Load Thread 2' ID=0x1c24 started with priority Normal
[ 00:00:00.008 ]: [Info] Thread 'Load Thread 3' ID=0x5d10 started with priority Normal
[ 00:00:00.008 ]: [Info] Thread 'Load Thread 6' ID=0x2db0 started with priority Normal
[ 00:00:00.008 ]: [Info] Thread 'Load Thread 7' ID=0x1908 started with priority Normal
[ 00:00:00.008 ]: [Info] Initialize Localization...
[ 00:00:00.008 ]: [Info] Thread 'Load Thread 9' ID=0x3d34 started with priority Normal
[ 00:00:00.008 ]: [Info] Thread 'Load Thread 8' ID=0x10c0 started with priority Normal
[ 00:00:00.009 ]: [Info] Thread 'Load Thread 4' ID=0x2fa0 started with priority Normal
[ 00:00:00.009 ]: [Info] Thread 'Load Thread 5' ID=0x5eac started with priority Normal
[ 00:00:00.009 ]: [Info] Thread 'Load Thread 11' ID=0x3c60 started with priority Normal
[ 00:00:00.009 ]: [Info] Thread 'Load Thread 10' ID=0x5dbc started with priority Normal
[ 00:00:00.025 ]: [Info] Initialize AssetsImportingManager...
[ 00:00:00.025 ]: [Info] Initialize AssetsExportingManager...
[ 00:00:00.025 ]: [Info] Initialize Shader Cache Manager...
[ 00:00:00.025 ]: [Info] Initialize Shaders Compilation Service...
[ 00:00:00.025 ]: [Info] Thread 'File System Watchers' ID=0x2104 started with priority BelowNormal
[ 00:00:00.025 ]: [Info] Initialize Debug Draw...
[ 00:00:00.025 ]: [Info] Initialize GameSettings...
[ 00:00:00.026 ]: [Info] Initialize Input...
[ 00:00:00.026 ]: [Info] Initialize Audio...
[ 00:00:00.026 ]: [Info] Audio system initialization... (backend: OpenAL)
[ 00:00:00.035 ]: [Info] Rebuilding audio contexts
[ 00:00:00.035 ]: [Info] Enabling OpenAL HRTF
[ 00:00:00.059 ]: [Info] OpenAL Soft (1.1 ALSOFT 1.23.1)
[ 00:00:00.059 ]: [Info] [active] Headphones (High Definition Audio Device)
[ 00:00:00.059 ]: [Info] Digital Audio (S/PDIF) (High Definition Audio Device)
[ 00:00:00.059 ]: [Info] Speakers (RODE NT-USB)
[ 00:00:00.059 ]: [Info] VG248 (NVIDIA High Definition Audio)
[ 00:00:00.059 ]: [Info] Initialize Graphics...
[ 00:00:00.059 ]: [Info] Creating Graphics Device...
[ 00:00:00.143 ]: [Info] Adapter 0: 'NVIDIA GeForce RTX 4070 SUPER', DirectX 11
[ 00:00:00.143 ]: [Info] 	Dedicated Video Memory: 11.72 Gb, Dedicated System Memory: 0 b, Shared System Memory: 15.92 Gb, Output(s): 1
[ 00:00:00.145 ]: [Info] Adapter 1: 'Microsoft Basic Render Driver', DirectX 11
[ 00:00:00.145 ]: [Info] 	Dedicated Video Memory: 0 b, Dedicated System Memory: 0 b, Shared System Memory: 15.92 Gb, Output(s): 0
[ 00:00:00.201 ]: [Info] Video output '\.\DISPLAY1' 1920x1080 60 Hz
[ 00:00:00.243 ]: [Info] Total graphics memory: 11.72 Gb
[ 00:00:00.243 ]: [Info] Graphics Device created! Adapter: 'NVIDIA GeForce RTX 4070 SUPER', Renderer: DirectX 11, Shader Profile: DirectX SM5, Feature Level: SM5
[ 00:00:00.245 ]: [Info] Initialize Windows Manager...
[ 00:00:00.245 ]: [Info] Initialize Scripting...
[ 00:00:00.245 ]: [Info] Found hostfxr in C:\Program Files\dotnet\host\fxr\8.0.6\hostfxr.dll
[ 00:00:00.283 ]: [Info] .NET runtime version: .NET 8.0.6
[ 00:00:00.285 ]: [Info] Assembly System.Private.CoreLib loaded in 2ms
[ 00:00:00.305 ]: [Info] Caching classes for assembly System.Private.CoreLib took 20ms
[ 00:00:00.307 ]: [Info] Assembly FlaxEngine.CSharp loaded in 1ms
[ 00:00:00.364 ]: [Info] Caching classes for assembly FlaxEngine.CSharp took 57ms
[ 00:00:00.374 ]: [Info] Using FlaxAPI in Development
[ 00:00:00.377 ]: [Info] Main render task created
[ 00:00:00.377 ]: [Info] Scripting Engine initializated! (time: 133ms)
[ 00:00:00.378 ]: [Info] Initialize Animations...
[ 00:00:00.378 ]: [Info] Initialize Editor Analytics...
[ 00:00:00.378 ]: [Info] Editor analytics service is enabled. Curl version: 7.64.1
[ 00:00:00.378 ]: [Info] Initialize Viewport Icons Renderer...
[ 00:00:00.378 ]: [Info] Initialize Scripts Builder...
[ 00:00:00.378 ]: [Info] Initialize Prefab Manager...
[ 00:00:00.378 ]: [Info] Initialize Code Editing Manager...
[ 00:00:00.382 ]: [Info] Initialize Behaviors...
[ 00:00:00.382 ]: [Info] Initialize Physics...
[ 00:00:00.382 ]: [Info] Setup NVIDIA PhysX 5.1.3
[ 00:00:00.383 ]: [Info] Initialize Profiling Tools...
[ 00:00:00.383 ]: [Info] Initialize Custom Editors Util...
[ 00:00:00.407 ]: [Info] Assembly 'FlaxEngine.CSharp' scanned for custom editors in 22 ms
[ 00:00:00.407 ]: [Info] Initialize Game Cooker...
[ 00:00:00.407 ]: [Info] Initialize Render2D...
[ 00:00:00.407 ]: [Info] Initialize Renderer...
[ 00:00:00.409 ]: [Info] Initialize Terrain Manager...
[ 00:00:00.409 ]: [Info] Initialize Atmosphere Pre Compute...
[ 00:00:00.409 ]: [Info] Initialize Navigation...
[ 00:00:00.409 ]: [Info] Initialize Particle Manager...
[ 00:00:00.409 ]: [Info] Initialize ShadowsOfMordor Builder...
[ 00:00:00.409 ]: [Info] Initialize CSG Builder...
[ 00:00:00.409 ]: [Info] Initialize Plugin Manager...
[ 00:00:00.409 ]: [Info] Initialize Streaming...
[ 00:00:00.409 ]: [Info] Initialize Scene Manager...
[ 00:00:00.409 ]: [Info] Initialize Screen...
[ 00:00:00.409 ]: [Info] Initialize Probes Renderer...
[ 00:00:00.409 ]: [Info] Initialize Online...
[ 00:00:00.409 ]: [Info] Initialize Network Manager...
[ 00:00:00.409 ]: [Info] Initialize Network Replication...
[ 00:00:00.409 ]: [Info] Engine services are ready!
[ 00:00:00.409 ]: [Info] Showing splash screen
[ 00:00:00.420 ]: [Info] Setting up C# Editor...
[ 00:00:00.444 ]: [Info] Loaded project Flax, version 1.8.6512.2
[ 00:00:00.453 ]: [Info] Loaded project Online Platform Steam, version 1.0
[ 00:00:00.453 ]: [Info] Loaded project Online, version 1.0
[ 00:00:00.455 ]: [Info] Register Editor module FlaxEditor.Options.OptionsModule
[ 00:00:00.455 ]: [Info] Register Editor module FlaxEditor.Modules.ProjectCacheModule
[ 00:00:00.455 ]: [Info] Register Editor module FlaxEditor.Modules.SceneModule
[ 00:00:00.455 ]: [Info] Register Editor module FlaxEditor.Modules.WindowsModule
[ 00:00:00.457 ]: [Info] Register Editor module FlaxEditor.Modules.UIModule
[ 00:00:00.457 ]: [Info] Register Editor module FlaxEditor.Content.Thumbnails.ThumbnailsModule
[ 00:00:00.457 ]: [Info] Register Editor module FlaxEditor.Modules.SimulationModule
[ 00:00:00.457 ]: [Info] Register Editor module FlaxEditor.Modules.PrefabsModule
[ 00:00:00.457 ]: [Info] Register Editor module FlaxEditor.Modules.SceneEditingModule
[ 00:00:00.457 ]: [Info] Register Editor module FlaxEditor.Modules.ContentEditingModule
[ 00:00:00.458 ]: [Info] Register Editor module FlaxEditor.Modules.ContentDatabaseModule
[ 00:00:00.458 ]: [Info] Register Editor module FlaxEditor.Modules.ContentImportingModule
[ 00:00:00.458 ]: [Info] Register Editor module FlaxEditor.Modules.SourceCodeEditing.CodeEditingModule
[ 00:00:00.458 ]: [Info] Register Editor module FlaxEditor.Modules.SourceCodeEditing.CodeDocsModule
[ 00:00:00.459 ]: [Info] Register Editor module FlaxEditor.Modules.ProgressReportingModule
[ 00:00:00.459 ]: [Info] Register Editor module FlaxEditor.Modules.ContentFindingModule
[ 00:00:00.462 ]: [Info] Changing editor state from  to FlaxEditor.States.LoadingState
[ 00:00:00.463 ]: [Info] Editor init
[ 00:00:00.463 ]: [Info] Options file path: C:\Users\isaac\AppData\Roaming\Flax\EditorOptions.json
[ 00:00:00.463 ]: [Info] Loading editor options
[ 00:00:00.463 ]: [Warning] Missing editor settings
[ 00:00:00.648 ]: [Info] Project database created in 9 ms. Items count: 293
[ 00:00:00.649 ]: [Info] Previews cache count: 1 (capacity for 225 icons)
[ 00:00:00.650 ]: [Info] Add code editor System Default
[ 00:00:00.651 ]: [Info] Add code editor Visual Studio 2022
[ 00:00:00.651 ]: [Info] Add code editor Rider
[ 00:00:00.651 ]: [Info] Add code editor Default
[ 00:00:00.651 ]: [Info] Select code editor Default
[ 00:00:00.660 ]: [Info] Starting scripts compilation...
[ 00:00:00.660 ]: [Info] Command: D:\Game Dev/Engines/Flax/Flax_1.8/Binaries/Tools/Flax.Build.exe -log -logfile= -build -mutex -buildtargets=GameEditorTarget -skiptargets=FlaxEditor -platform=Windows -arch=x64 -configuration=Development
[ 00:00:00.797 ]: [Info] Flax.Build 1.0.0
[ 00:00:01.329 ]: [Info] Building targets...
[ 00:00:01.342 ]: [Info] Missing Android SDK. Cannot build for Android platform.
[ 00:00:01.356 ]: [Info] Missing Windows SDK. Cannot build for Windows platform.
[ 00:00:01.358 ]: [Info] Exception: Platform Windows has no required SDK installed and cannot be used.
Stack trace:
[ 00:00:01.363 ]: [Info]    at Flax.Build.Platform.GetToolchain(TargetArchitecture targetArchitecture) in F:\FlaxEngine\Source\Tools\Flax.Build\Build\Platform.cs:line 266
at Flax.Build.Builder.BuildTargets() in F:\FlaxEngine\Source\Tools\Flax.Build\Build\Builder.cs:line 362
at Flax.Build.Program.Main() in F:\FlaxEngine\Source\Tools\Flax.Build\Program.cs:line 152
Total time: 00:00:00.5763323
[ 00:00:01.369 ]: [Error] Failed to run build tool, result: 1
[ 00:00:01.390 ]: [Info] Editor end init
[ 00:00:01.390 ]: [Info] Changing editor state from FlaxEditor.States.LoadingState to FlaxEditor.States.EditingSceneState
[ 00:00:01.397 ]: [Info] Searching for valid Control
[ 00:00:01.399 ]: [Info] Found 23 types (in 2 ms)
[ 00:00:01.400 ]: [Info] Searching for valid Actor
[ 00:00:01.401 ]: [Info] Found 51 types (in 0 ms)
[ 00:00:01.464 ]: [Info] Loading editor windows layout from 'D:\Game Dev/Projects/Flax Projects/Online/Cache/WindowsLayout.xml'
[ 00:00:01.479 ]: [Info] Closing splash screen
[ 00:00:06.545 ]: [Info] Command: D:\Game Dev/Projects/Flax Projects/Online\Logs
`

Steamworks API is in C++ thus it requires C++ Toolchain to be installed for a target platform.
Exception: Platform Windows has no required SDK installed and cannot be used.
Stack trace:
[ 00:00:01.363 ]: [Info]    at Flax.Build.Platform.GetToolchain(TargetArchitecture targetArchitecture) in F:\FlaxEngine\Source\Tools\Flax.Build\Build\Platform.cs:line 266
   at Flax.Build.Builder.BuildTargets() in F:\FlaxEngine\Source\Tools\Flax.Build\Build\Builder.cs:line 362
   at Flax.Build.Program.Main() in F:\FlaxEngine\Source\Tools\Flax.Build\Program.cs:line 152

Install Windows SDK and MSVC Toolchain (via Visual Studio). Docs: https://docs.flaxengine.com/manual/scripting/cpp/index.html#setup


Adds test to "fix: Fix error when testing cross-origin code #685"

adds test to cover pull request:
https://github.com/cypress-io/code-coverage/pull/685
Closes https://github.com/cypress-io/code-coverage/issues/782
When testing cross-origin websites with cy.origin(), the following error gets thrown:
DOMException: Blocked a frame with origin "http://localhost:3000" from accessing a cross-origin frame.
This occurs when accessing win.coverage in the code. Since you don't control cross-origin code and it therefore doesn't need code coverage, you can simply ignore the code coverage if accessing win.coverage throws an error.

what is the state here? We are depending on this fix.. is there something we could do to speed up the resolution of the issue?


[App]: Panel drag-and-drop involuntarily scrolls to top on Firefox

Current Behavior
When I try to drag and drop to reorder panels on Firefox, as soon as the drag motion starts, the page is scrolled upward with every mousemovent (lateral, upward and downward). This makes reordering panels impossible -- unless you happen to want to drag all panels to the top row :-) In Chrome the behavior is normal.
Expected Behavior
When dragging a panel, the panel should move across the visible part of the page, and only when the mouse hits a border, the page should scroll in that direction.
Steps To Reproduce

In Firefox, open a run with enough panels that tha page can be scrolled down
Scroll down
Pick a panel and try to drag it sideways

The page will scroll up as soon as the dragging movement starts in any direction.
Screenshots

Environment
OS: Kubuntu 22.04
Browsers: Firefox, version 109.0.1 (64-bit)
Additional Context
No response

Hi @mgrachten! Thank you for submitting this. Trying to replicate this rn :)

Hi @mgrachten! Is this a very consistent behavior for you?

Thanks for taking care of this @ArtsiomWB. I've noticed it since a couple of weeks (I hadn't been using WB a lot in the months before that). In Firefox I'm seeing this behavior in all my projects, and on all panels. In Chrome there's no issue.

When opening firefox in safe-mode (i.e. with all extensions and special config disabled) the issue is still present. I checked the log messages in Chrome (where the issue does not occur), and it also shows some warnings like cross-domain requests being blocked, so those warnings don't seem to be related.
So to summarize this small excursion: yes, in Firefox the issue is very consistently present for me.

And what OS are you running in your case?

Kubuntu 22.04, using Firefox 109.0.1 (64-bit) installed as a snap

Also, could I have a link to your workspace?

Can I leave it in a PM somehow?

Hi @mgrachten! Following up to see if you had a chance to send the workspace over my way.

Hi @ArtsiomWB, yes I you an e-mail last week (at the email you specified above), and another one just now.

Thank you so much! I was able to replicate it the very second on my side as well. That is very strange; I just reported it to the eng team.

I am encountering the same issue in Firefox on Manjaro Linux. Does there exist any workaround?

Does there exist any workaround?

Not that I know of, other than using Chrome.

Still having the same problem on Firefox for OSX v121.0.1 (64-bit).

Also encountered this when tried to manage the project dashboard and compile reports using the wandb web UI.
Using Firefox 125.0.3 build ID<PHONE_NUMBER>1020 for macOS.
Using Chrome as a workaround, as suggested.

Ty for the +1, @01tot10, will resurface it on our side.


WARNING: Not copying tabs assets! Not compatible with readthedocsdirhtml builder

Experiencing the titled issue on one read the docs page but not consistently. Snippet and links below. Has anyone else experienced this?

I've added readthedocsdirhtml to the list of valid builders, and also added a config option called sphinx_tabs_valid_builders to be able to add custom builders to the valid list in future.
v1.1.6 has been released which should fix this issue.

It works. Thanks a lot.


Javascript error "No renderer for activity of type 'endOfConversation'" javascript error

Is it an issue related to Adaptive Cards?

[ ] Yes, this is an Adaptive Card issue but it is specific to Web Chat.

Do you have any screenshots?

What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Chrome (latest)
Which area does this issue affect?
Others/unrelated
Is this an accessibility issue?

[ ] Yes, this is an accessibility issue.

Please describe the bug
If a conversation ends while the webchat is rendering it (because you posted a message of type endOfConversation to https://directline.botframework.com/v3/directline/conversations/{conversationId}/activities), the chatbot component shows a javascript error and the conversation still looks like its active (see pic above).
Do you see any errors in console log?
Yes

How to reproduce the issue?

Get a token from https://directline.botframework.com/v3/directline/conversations
Render the webchat using that token window.WebChat.renderWebChat(...
While the webchat is rendered on a page, make a post to "https://directline.botframework.com/v3/directline/conversations/{conversationId}/activities" with the following body:
{
type: "endOfConversation",
from: {
id: userId,
},
}

What is the expected and actual behavior?
Expected:
The webchat shouldn't display any javascript error.
Actual:
It does
Adaptive Card JSON
No response
Additional context
No response

I think we should have a default null renderer for activity with type of "endOfConversation".

Well I want reopen this ticket without write same content.
The plugin receive the message :
{
  "activities": [
    {
      "type": **"endOfConversation",**
      "id": "8mGQpJwd7F8EI2d7Afg43W-eu|0000007",
      "timestamp": "2023-04-17T15:43:45.2017991Z",
      "channelId": "directline",
      "from": {
        "id": "xxx",
        "name": "xxx"
      },
      "conversation": {
        "id": "8mGQpJwd7F8EI2d7Afg43W-eu"
      },
      "locale": "it-IT",
      "replyToId": "8mGQpJwd7F8EI2d7Afg43W-eu|0000005",
      "code": "INS"
    }
  ],
  "watermark": "7"
}

In console print the error: "No render for activity of type 'endOfConversation'" javascript error"
Maybe I can calose the webchat panel in my site.

The script not manage the activity closed! Simply, he ignored this activity but he warning you with message Error: ""No renderer for activity of type 'endOfConversation'""
70709: function(e, t, r) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = function() {
return [function() {
return function(e) {
return function() {
for (var t = arguments.length, r = new Array(t), a = 0; a < t; a++) r[a] = arguments[a];
var u, c = r[0].activity,
l = c.type;
if ("conversationUpdate" === l || "event" === l || "invoke" === l || "typing" === l) return !1;
if ("message" === l) {
var f = c.attachments,
p = c.channelData,
d = c.text;
if (null != p && p.postBack || null != p && p.messageBack && !p.messageBack.displayText || !(d || null != f && f.length)) return !1
}
return "message" === l || "typing" === l ? "message" === l && ((null === (u = c.attachments) || void 0 === u ? void 0 : u.length) || 0) > 1 && "carousel" === c.attachmentLayout ? function(e, t) {
return void 0 === t && console.warn("botframework-webchat: One or more arguments were missing after passing through the activity middleware. Please check your custom activity middleware to make sure it passes all arguments."), n.default.createElement(o.default, s({
activity: c,
renderAttachment: e
}, t))
} : function(e, t) {
return void 0 === t && console.warn("botframework-webchat: One or more arguments were missing after passing through the activity middleware. Please check your custom activity middleware to make sure it passes all arguments."), n.default.createElement(i.default, s({
activity: c,
renderAttachment: e
}, t))
} : e.apply(void 0, r)
}
}
}]
};


chore: more remediations from oss scorecard

Part of https://github.com/github/github-ospo/issues/95
Pull Request

Proposed Changes

[x] github action versions via hashes
[x] include hashes for each pip dependency

python3 -m pip download [dependency==version]
python3 -m pip hash [downloaded package name]

Readiness Checklist
Author/Contributor

[x] If documentation is needed for this change, has that been included in this pull request
[x] run make lint and fix any issues that you have introduced
[x] run make test and ensure you have test coverage for the lines you are introducing

Reviewer

[ ] Label as either fix, documentation, enhancement, infrastructure, maintenance or breaking

whoops, need to use --platform linux_x86_64 with the pip download but this makes me think we'll either need to use all possible hashes in the requirements.txt or requirements-test.txt files or name the files according to platform.... 🤔  Gotta think on this one.

Details: https://github.com/github/github-ospo/issues/84#issuecomment-2095426271


Handle tests with datasets better

I have noticed that sometimes the dataset label can have some rather unintentionally consequences when displaying the output.
I dug a little and found that it was because it was applying the matching and replacements to the entire match, not just the method name. Ironically, there is (was) a method included here that was seemingly supposed to help with this, but it was invoked way too late; so I just removed it and appended the dataset after.
It now immediately splits the method name from the data set from the beginning so it doesn't unintentionally transform the dataset label or match against it.

Also went ahead and fixed the phpunit semver requirements:
https://jubianchi.github.io/semver-check/#/>%3D7.0.0 ^9.0.0/8.5.8
https://jubianchi.github.io/semver-check/#/^7 || ^8 || ^9/8.5.8


[Service Bus] send, renewLock API changes for Preview 2

This PR has the below name changes in preparation for Preview 2
RenewLock
To avoid confusion on which lock is actually getting renewed, below are the name changes on the receivers

renewLock -> renewMessageLock on normal receiver
renewLock -> renewSessionLock on session receiver

Send
In https://github.com/Azure/azure-sdk-for-js/issues/1729#issuecomment-479697253, we decided to change send to sendMessage and sendBatch to sendMessages to be in sync with the new name receiveMessages for receiving messages.
The problem with this is that this gives the idea that the difference between sendMessage and sendMessages is just that the latter deals with multiple messages just like receiveDeferredMessage vs receiveDeferredMessages, scheduleMessage vs scheduleMessages and cancelScheduleMessage vs cancelScheduleMessages.
But the difference is much more than that. sendBatch sends the multiple messages in a single AMQP message. The user has the below to think about now

the size of the entire batch
all messages should have the same sessionId
all messages should have the same partitionKey

Therefore, sendMessages is much more than just sendMessage for multiple messages. And so, I suggest going back to send and sendBatch for Preview 2. If we have smarter ideas, then we can use that for GA

If we can't eliminate batch as a concept, does it still make sense to rename the receive side?

I would keep the change of receiveBatch to receiveMessage in the receiving side.
Especially because it makes sense when it is seen next to receiveDeferredMessage


created basic structure Index.html.erb, _banner _card _search-form

This is still a draft since I need the controllers to really see what I am doing.

 Set up front-end


The code for some files is not complete

Dear author, I find some code is not complete. For example, in file "generatePairs.m":
data = 'viper'; %'grid','market','cuhk_detected','prid','ilidsvid'
load(['../FeatureExtraction/feature_' data '_hist_LBP_6patch.mat']);
load(['Split_' data '.mat']);

for s = 1:size(split,1)
    trainID = personID(split(s,1:size(split,2)/2));
    [ix_pos_pair, ix_neg_pair]=GeneratePair(personID,camID,0);
save(['Split_' data '.mat'], 'split',''

The last line of the code is obviously not complete.
Could you please send the complete files to<EMAIL_ADDRESS>or update the code.
Thank you!

Hi,
Sorry for the incomplete code. It won't effect the experiment running.
If you want to use the pair generation function, please use this one.
I will delete the incomplete function later.
Thanks


Trailing newlines are removed following markup

[x] I have tested with the master version of typstfmt and not just typst-lsp

Describe the bug
When formatting a document that ends in a normal paragraph, trailing newlines are removed. This doesn't appear to happen with other syntax elements, such as lists, headings, code blocks, etc.
To Reproduce
Format a document consisting of the following string: "_Glaciers_ form an important part of the earth's climate system.\n". After formatting, this produces: "_Glaciers_ form an important part of the earth's climate system." (note that the trailing newline is missing).

Running on a bigger example, i get this result (input and output are the same, it's stable)
_Glaciers_ form an important part of the earth's climate system.
_Glaciers_ form an important part of the earth's climate system.
_Glaciers_ form an important part of the earth's climate system.

_Glaciers_ form an important part of the earth's climate system.
_Glaciers_ form an important part of the earth's climate system.
_Glaciers_ form an important part of the earth's climate system.

_Glaciers_ form an important part of the earth's climate system.
_Glaciers_ form an important part of the earth's climate system.
_Glaciers_ form an important part of the earth's climate system.⏎

Only the last line has whitespaces removed, I think this could be improved by :
instead of always removing all whitespace, remove all whitespace and add \n

Only the last line has whitespaces removed, I think this could be improved by :
instead of always removing all whitespace, remove all whitespace and add \n

Yeah that matches what I saw in my testing when the last line was a paragraph. The suggested fix sounds good to me.

Spent a little more time looking at this. For the ending node kinds which I originally reported that the issue didn't appear for (lists, headings, etc.) it looks like there's an opposite bug in that it'll leave two trailing newlines instead of one if there's two or more in the unformatted document.
For example, the string "= this is a heading\n\n\n" becomes "= this is a heading\n\n" but I'd expect "= this is a heading\n".


[bug] Tauri 2.1.0 BaseDirectory.Home error

Describe the bug
const contents = await readTextFile(path, { baseDir: BaseDirectory.Home })
macOS
in v2.0.6 is /Users/myusername/path
in v2.1.0 is /Users/myusername/Library/Fonts/path
[2024-11-09][15:17:20][ERROR][log@http://localhost:5173/node_modules/.vite/deps/@tauri-apps_plugin-log.js:62:20] failed to open file at path: /Users/myusername/Library/Fonts/OneDrive/test.json with error: No such file or directory (os error 2)
Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Mac OS 15.1.0 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 23.1.0
    - npm: 10.9.0
    - bun: 1.1.34

[-] Packages
    - tauri 🦀: 2.1.0
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.0
    - tao 🦀: 0.30.6
    - tauri-cli 🦀: 1.6.1
    - @tauri-apps/api : 2.1.0
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-deep-link 🦀: 2.0.1
    - @tauri-apps/plugin-deep-link : 2.0.0
    - tauri-plugin-single-instance 🦀: 2.0.1
    - @tauri-apps/plugin-single-instance : not installed!
    - tauri-plugin-dialog 🦀: 2.0.3
    - @tauri-apps/plugin-dialog : 2.0.1
    - tauri-plugin-fs 🦀: 2.0.3
    - @tauri-apps/plugin-fs : 2.0.2
    - tauri-plugin-store 🦀: 2.1.0
    - @tauri-apps/plugin-store : 2.1.0
    - tauri-plugin-log 🦀: 2.0.2
    - @tauri-apps/plugin-log : 2.0.0
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1
    - tauri-plugin-autostart 🦀: 2.0.1
    - @tauri-apps/plugin-autostart : 2.0.0
    - tauri-plugin-os 🦀: 2.0.1
    - @tauri-apps/plugin-os : 2.0.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:5173/
    - framework: Svelte
    - bundler: Vite

Stack trace
No response
Additional context
No response

Please include the output of the tauri info command as required by the issue template.

@tauri-apps/plugin-single-instance

Updated.

Please include the output of the tauri info command as required by the issue template.

Updated.


fixed the blink/flash effect

fixes #1
Added an extra canvas to capture the ships, and modified the mjpeg blitter to add canvas clips as an overlay
[edit] obligatory illustration

Thank you @tobozo for the blink/flash effect fixed ;)


Temporary data is not pruned

Nanoc does not remove unused entries from data files in the tmp/ directory.
These files tend to grow over time and will consume more and more memory, as they’re always fully loaded into memory.

A solution that seems obvious to me at the moment is to not load data (checksums, compiled content, and dependencies) for items and layouts that don’t exist anymore.

#1013 fixes the issue for the compiled content cache. Checksums still need to be pruned. Dependencies are already taken care of.

👏 thanks @ddfreyne :D

Checksums are pruned as of #1027, so this issue is resolved.


Error when load it to TableView

I drag a view and set its class to CosmosView, but when I run the project, it crashes:

Failed to set (rateLineWidth) user defined inspected property on (Cosmos.CosmosView): [<Cosmos.CosmosView 0x7ff150d53e70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key rateLineWidth.

Hello, @khuong291. I think I had similar problem in the past and solved by clearing "User defined runtime attributes" for the cosmos view (shown in the screenshot).
I have also made a quick test and put cosmos in a table view, could not reproduce your issue (see the attached demo project).
Let me know how it goes.
UsingCosmosInTableView.zip

I have not tried your example project yet. But now It works well.
![screen shot 2016-04-17 at 10 56 33 am]
Thanks @evgenyneu. +1 ⭐  👍
(https://cloud.githubusercontent.com/assets/11523438/14584961/232ba832-048b-11e6-9bcb-84b8aa5830ad.png)

I am glad it worked. Feel free to comment if you have any other issues. Have a good day.

Can I ask one more question: Is CosmosView Rating max  = 5

I think it would more covenient if you can add one more choice like so:
cosmosView.ratingWithRatio(starCount: 5, maxRating: 100) = 90
So the CosmosView will have 4.5 star. 😸

Sorry, I do not understand your question. Can you give me an example of what you want to achieve in your app?

For example, I want to rating a movie, its rating has 94/100 point, So I the CosmosView.rating should be 94*5/100 = 4.7 if I want maximum with 5 star.
So If I want to use with 10 star, it should be 94*10/100 = 9.4.
I just recomend for you to implement more 😄

Oh, sorry, you have done with it. My fault.

I do value your recomendations, @khuong291. I just wanted to understand what you meant.
Did you want Cosmos to show ten stars with rating 9.4? If so you can currently do it like this:
cosmosView.settings.totalStars = 10
cosmosView.settings.fillMode = .Precise // Others are .Half and .Full
cosmosView.rating = 9.4

Or you can do it from the Storyboard as well:

This is described in the configuration manual.
And thank you very much for the feedback.

Yes, I don't read your guide carefully, sorry. Your project is awesome 👍

Hello, @khuong291. I think I had similar problem in the past and solved by clearing "User defined runtime attributes" for the cosmos view (shown in the screenshot).
I have also made a quick test and put cosmos in a table view, could not reproduce your issue (see the attached demo project).
Let me know how it goes.
UsingCosmosInTableView.zip

this solution solved my problem. thanks
cleared user defined attributes from storyboard


Ice Creeper causing crash

In Release Candidate 1 I got a crash. The crash report mentioned "class me.luligabi.elementalcreepers.common.entity.creeper.IceCreeperEntity tried to access private method 'float net.minecraft.class_1959.method_21740"
Ice Creepers were spawning normally with no crashes in 1.18 Pre-release 5.

Still exists in Release Candidate 3.

Still exists in 1.18.

Hi, this should be fixed for a while now. Sorry for the inconvenience!


Add configuration to generate MeasureReports in the background (#2515)

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #207
Engineer Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app
[ ] I have checked that this PR does NOT introduce breaking changes that require an update to Content and/or Configs? If it does add a sample here or a link to exactly what changes need to be made to the content.

Code Reviewer Checklist

[ ] I have verified Unit tests have been written for any new feature(s) and edge cases
[ ] I have verified any strings visible on UI components are in the strings.xml file
[ ] I have verifed the CHANGELOG.md file has any notable changes to the codebase
[ ] I have verified the solution has been implemented in a configurable and generic way for reuseable components
[ ] I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

@ndegwamartin this doesn't seem like the correct fixes ref

Ok then we should use a constant for now and add a code comment explaining it in case we need to move it to load from a config later

On Jul 11, 2023, at 03:08, Roy @.***> wrote:

@roywanyaga commented on this pull request.
In android/engine/src/main/java/org/smartregister/fhircore/engine/configuration/report/measure/MeasureReportConfiguration.kt:

@@ -26,8 +26,9 @@ data class MeasureReportConfiguration(
override var configType: String = ConfigType.MeasureReport.name,
val id: String,
val registerId: String,

val registerDate: String? = null,

val startPeriod: String? = "2023-01-01",
This particular field represents the start date for the in-app reports. The list of months will show as back as this date. We thought renaming it to startPeriod would be ideal instead of registerDate. If left to null and if it's missed in the config the application will crash.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.


NFT allowance in Account Info is missing isApproveForAll flag

Description
GetAccountInfo is missing the isApproveForAll flag for the NFT allowances.
NFT Allowances :
[TokenNftAllowance{tokenId=0.0.2165, ownerAccountId=null, spenderAccountId=0.0.2158, serials=null}]

here the spender 0.0.2158 has allowance for all serials on the owner for NFT 0.0.2165
But this information is missing the info.
Steps to reproduce
Create a owner account, spender account and an NFT token.
grant allowance on NFT token of the owner to the spender with approveForAll set true.
get Account info on owner doest not show this flag.
Additional context
No response
Hedera network
previewnet
Version
0.24
Operating system
No response

In the SDK, a TokenNftAllowance with serials == null serializes into an NftAllowance protobuf message with approvedForAll == true.  Is this issue merely requesting a change to the toString() implementation to make this appear unambiguous?  If so, that's easy enough.

yes Sean, I think tweaking the toString() method would do I think


Update README.md for correct documentation link.

I tried the documentation link in the readme and on crates.io and it no longer worked. I updated the readme to go to https://docs.rs/net2/0.2.32/net2/ instead. I know it's version specific, but I'm not sure if there is version agnostic way of linking to it.

👍


[7.x] Performance improvements

This PR improve asymptotic algorithmic complexity of validation, the speed-up is more than a constant number and it depends on the input size.
Validation tests are passed in my system. I don't know if they break anything. It should be backported to LTS versions. I don't regard this as a breaking change, but you may decide to choose portion of it for version 7, 6, and 5.5.
The performance may still be poor in some cases. But other improvements may require breaking changes or bigger changes.

Missing doc blocks... also, "I don't know if this breaks anything" doesn't inspire confidence.

There's a reason for removing duplicate keys: #4126

I added some phpdocs.
It is not easy to reverse engineer and understand the code. It took me 2 days so far.  I think my changes are good. No guarantee because it is complicated.

@staudenmeir I remove my changes on Relation. That has nothing to do with validation after all. Maybe Collection::unique() can be improved later. It takes O(n^2) time because the call to in_array inside reject().

5.5.

5.5 is no longer maintained. LTS support for it already ended.

There are changes here that appear breaking and I can't risk that on a point release. If you are concerned about people overwhelming your application check the size of the array before sending it to the validator.

So maybe Laravel 8


UnboundLocalError: local variable 'leaderboard_evaluator' referenced before assignment

Thanks for your great work. I meet  this question of "UnboundLocalError: local variable 'leaderboard_evaluator' referenced before assignment" when followed the "Create Autonomous Agents with the Leaderboard" in https://leaderboard.carla.org/get_started/#21-first-steps-with-the-leaderboard. Can you give some suggestions? Thanks a lot.

Meanwhile, I also meet the error of "AttributeError: 'LeaderboardEvaluator' object has no attribute 'manager' '

Were you able to figure this out? I am also getting both errors

@raozhongyu Sorry to bother you, but I also encountered these two problems. Can you tell me how to solve them


Bad Loiter to alt function

Describe the bug
loiter to alt : Do not give elevation change before reaching the loiter point.
Expected behavior
changing altitude during going to loiter point .

Does this param have an effect?
https://dev.px4.io/v1.9.0/en/advanced/parameter_reference.html#MIS_ALTMODE

Where are you expecting it to intersect?

@julianoes  I dont know .

I'm not sure what the behaviour should be. What do you think @dagar?

This is the intended behavior (using loiter to attain an altitude), but variations are certainly possible if @moreba1 can elaborate.

@dagar
In my proposed behavior there is improvement in power saving and time saving in both descent and climb. At the end of flight in descent no need to motor power for going to loiter waypoint . also In starting flight after takeoff or transition to fw it is better and safer that planes gain height.

That makes sense, I'm not sure that should be the behaviour within LOITER_TO_ALT (https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_LOITER_TO_ALT).
We should already be able to make this the norm within a regular waypoint or loiter.

The relevant code is in navigator/mission_block.cpp . In ardupilot code loiter_to_alt mode works like the proposed method.

LOITER_TO_ALT was specifically added for a landing sequence consisting of loitering down from the current altitude, then breaking out of the loiter on a tangent to begin your landing approach. Only descending via loiter is the point.
Questions

How will your suggestion to change LOITER_TO_ALT impact that?
Why do you need LOITER_TO_ALT to behave this way if it can already be achieved with a regular loiter or waypoint?

``

Why do you need LOITER_TO_ALT to behave this way if it can already be achieved with a regular loiter or waypoint?
regular waypoint can not be used because it has not "heading wait" .
can we define a waypoint in mission before LOITER_TO_ALT in same position ?

we can define initial altitude for loiter_to_alt points .


Mi 9 SE & Honor v9,  GuardedAsyncTask waits a minute before executing

Current behavior
on Mi 9 SE & Honor v9,  the  multiGet GuardedAsyncTask wait a minute before it's executed

Expected behavior
GuardedAsyncTask should be executed in very short time
Environment

Async Storage version: 1.5.0
React-Native version: 0.59.10
Platform tested: Android

Hi @gaodeng ,
I currently don't have access to said devices, so I cannot check it out. Any chances you could debug and see what's going on?

@Krizzu  sure ,I will send a PR


[federatedIdentityCredentials]: cannot set namespace parameter

Resource Type
Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials
Api Version
2023-01-31
Issue Type
Missing property(s)
Other Notes
Namespace property is missing.  This property is needed for Kubernetes workload identity configuration.
Only workaround is to set it in the UI after the bicep creation.

Bicep Repro
resource fedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials@2023-01-31' = {
  name: fedIdentityName
  parent: msi
  properties:{
    issuer: oidcIssuerUrl
    subject: subject
    audiences:  [
      'api://AzureADTokenExchange'
    ]
  }
}

Confirm

[X] I have read the troubleshooting guide and looked for duplicates.

Ignore.
The namespace is extracted from the subject string.


Weak collections

Tests don't check weak part, because Fengari not supports it.

@tomblind not unless it would be runned on real Lua VM, Fengari not implements gc.


Actions.WindowsGo/raiseNextMaybe cycles between 2 workspaces only

As reported some years ago in https://code.google.com/archive/p/xmonad/issues/284 raiseNextMaybe cycles only between 2 workspaces, making impossible to cycle through the entire list of windows.
The reason is that raiseNext calls allWindows from xmonad StackSet, which relies on a list of workspaces built as follows: the current workspace is put first, followed by visible then hidden workspaces. Thus the ordering of workspaces is not preserved while switching between workspaces, which is why raiseNext will
cycle only between the current and another workspace.
I found the following fix:

create a allWindowsSorted function in Xmonad.StackSet which relies on a list
of workspaces sorted by their tags
call W.allWindowsSorted instead of W.allWindows in raiseNext.

The patch is given below for 0.12. Let me know if it is an appropriate way to fix the bug. If so, I can create
the pull requests for xmonad and xmonad-contrib that apply on current master.
Otherwise, let me know what solution you would prefer.
It would be nice that 0.13 contains a fix.
xmonad-fix-raiseNextMaybe.patch

why does allWindowsSorted need to go into StackSet. Just put it in contrib so that we dont have to deal with needing the latest version of xmonad for this to work.

Ok, the issue is that StackSet does not export workspacesSorted ; hence this leads to some code duplication.
Here would be a patch which applies only on xmonad-contrib, but duplicates workspacesSorted from the main code:
xmonad-contrib-fix-raiseNext.patch

Sorry, actually, wokspacesSorted was introduced by my patch, so no code duplication :-)
I'm creating a pull request right now


Converting from Eclipse to gradle project to improve maintainability

Added build.gradle.
Removed eclipse project.
Removed all jars except txns (and updated this to alpha.4).  Others will be pulled in by gradle.
Upped to java-client alpha.3 and fixed some Java code to be compatible.
Removed "transactions" and "doc_operations_sdk3" projects, moved their
logic into TAF, in src/main/java.
Gradle task testrunner is running jython
Added README.

Regarding the conflicts: all those files have been removed as unnecessary in the PR.

I've moved this to gerrit http://review.couchbase.org/#/c/110762/


feat: add new doc related page view events

Amplitude Developer Docs PR
Description

add the new clickIds in docs. https://amplitude.atlassian.net/wiki/spaces/GOV/pages/2058289286/Browser+SDK#Cookie-Usage
add details for page view events

Describe your changes.
Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[ ] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[ ] My documentation follows the style guidelines of this project.
[ ] I previewed my documentation on a local server using mkdocs serve.
[ ] Running mkdocs serve didn't generate any failures.
[ ] I have performed a self-review of my own documentation.

@amplitude-dev-docs

@justin-fiedler  Asking you to re-reviewing this pr since there have some changes afterward.


[6.0] Throw exception when attempting to override gate result in after callback if previously sent.

Currently when you return a non-value from a policy check or before callback AND a value from an after callback, it'll silently ignore the after callback result. This can create subtle / obscure bugs in your application because you can be fooled into thinking because you returned a result in the after callback it'll override your existing permission result, this isn't always the case.
Motivation behind this PR was in response to this tweet where there is a bit of a difference in behaviour between how before and after work - in the before callback you can essentially override the result from the policy check, but in the after callback you can ONLY override it if it came back with a null value.
This PR helps make it immediately obvious in your code that your returned value in the after callback won't have any effect because a result was previously sent. Code examples:
Current/Previous Behaviour:
Gate::define('allow', function ($user) {
    return true;
});

Gate::after(function ($user, $ability, $result) {
    // This is silently ignored because permission has previously been granted.
    return false;
});

New Behaviour with this PR:
Gate::define('allow', function ($user) {
    return true;
});

Gate::after(function ($user, $ability, $result) {
    // This will throw a "LogicException" because you cannot override $result with false.
    // You need to check if $result is null before sending back a non-null result.
    return false;

    // Sending back a null result won't cause any exceptions, it's essentially a non-op.
    return null;
});

Sending to 6.0 because this is a breaking change if people are relying on it to silently ignore values sent from after callbacks. The upgrade guide would state that if you are using after callbacks, and you are sending a result back, you need to check $result is null because otherwise you won't be able to alter the result - it'll throw a LogicException.

Does this even make sense to throw an exception though? What if a previous policy check sometimes returns null and sometimes doesn't. The after callback needs to always return a value in that case because it doesn't know beforehand.
Personally returning results in after callbacks at all seems really silly to me.

Personally returning results in after callbacks at all seems really silly to me.

@JosephSilber bouncer package relies on that functionality - if you don't return a value in one of your previous policy checks it defers onto the after callback result.

Does this even make sense to throw an exception though? What if a previous policy check sometimes returns null and sometimes doesn't. The after callback needs to always return a value in that case because it doesn't know beforehand.

The after callback doesn't always need to return a result - if it returns null then Laravel will assume permission was denied. The problem occurs when you send a result from an after callback when a previous policy check has already sent a result - Laravel will essentially swallow the after callback result and do nothing with it. That seems a bit presumtious to me, especially when dealing with security / permission checks, it would be better to air on the side of caution -- providing some feedback to the developer (which this PR does) is a more sensible default imo.
What do you think @JosephSilber ?

Does this even make sense to throw an exception though?

I don't know.

What if a previous policy check sometimes returns null and sometimes doesn't. The after callback needs to always return a value in that case because it doesn't know beforehand.

It does know, because it gets passed the actual $result as its 3rd argument. In fact, Bouncer doesn't run its own checks if a result has already been returned from a gate callback/policy.

Personally returning results in after callbacks at all seems really silly to me.

Setting aside the permissions-in-the-database use case, after callbacks are perfect for giving sweeping permissions to superadmins, without it affecting the business logic:
class OrderPolicy
{
    public function delete($user, $order)
    {
        if ($order->hasShipments()) return false;

        if ($user->id == $order->customer_id) return true;
    }
}

Gate::after(function ($user, $ability, $result) {
    if ($user->isSuperadmin()) return true;
});

Using a before callback here would have allowed superadmins to delete orders that already have shipments en-route, which makes no sense to the business.
See here for a more detailed discussion: https://freek.dev/1325-when-to-use-gateafter-in-laravel


Add metadata to healthy thinking pages

Here's the list of metadata needed:
publisheddate
image
title
featured
category
type

Completed


feature: support PUT /telemetry API

Codecov Report

Merging #15 (51c7497) into main (989a468) will decrease coverage by 0.24%.
The diff coverage is 92.20%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   93.15%   92.90%   -0.25%
==========================================
  Files           6        8       +2
  Lines         219      296      +77
==========================================
+ Hits          204      275      +71
- Misses         10       14       +4
- Partials        5        7       +2

Impacted Files
Coverage Δ

telemetry/types.go
87.23% <87.23%> (ø)

telemetry/api.go
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Test: check if json validation is working

New Pull Request
Changed the exams.json and AZ900/questions.json to see if the pr check will work
What did you do?
Added an empty object in the end of both json arrays

HAHA FUNCIONOU


Backtracking Algos

Topic:

Backtracking algorithms

Subtopic:

N Queens, Sudoku, maze solver, graph colouring, etc.

Small Description:

Backtracking uses recursion

Checks:

[ ] explanation
[ ] implementation
[ ] references
[ ] extra problems for practice

May I be assigned this issue, please


PSBoundParametersDictionary is exposed in PowerShell and has public members, but is internal to C#

Summary of the new feature/enhancement
The PSBoundParametersDictionary type is internal, but has public members and is itself exposed as a public property as Cmdlet.MyInvocation.BoundParameters:
https://github.com/PowerShell/PowerShell/blob/658837323599ab1c7a81fe66fcd43f7420e4402b/src/System.Management.Automation/engine/ParameterBinderBase.cs#L1973-L1991
This means that, because PowerShell assesses access based on runtime reflection, you can access those members from PowerShell:
function Test
{
    # This completes and is valid - it's public and people depend on it
    $PSBoundParameters.BoundPositionally
}

However, the actual Cmdlet.MyInvocation.BoundParameters property is exposed as Dictionary<string, object>. In fact the property itself may be a simple Dictionary<string, object>:
https://github.com/PowerShell/PowerShell/blob/658837323599ab1c7a81fe66fcd43f7420e4402b/src/System.Management.Automation/engine/InvocationInfo.cs#L196-L211
However, in practice the parameter binder sets this to a PSBoundParametersDictionary instance in most conventional cases:
https://github.com/PowerShell/PowerShell/blob/658837323599ab1c7a81fe66fcd43f7420e4402b/src/System.Management.Automation/engine/ParameterBinderBase.cs#L2015-L2020
This creates an API mismatch between PowerShell and C#, and also makes this difficult to rely on from PowerShell, and in a way that users probably don't expect.
Proposed technical implementation details (optional)
We should make the PSBoundParametersDictionary type public and expose it as the type of the BoundParameters property, ensuring that all the instances of this property are always that type.

Note that changing the typing of BoundParameters would be a binary breaking change.  It may need a new property or documentation that the consumer would need to explicitly cast.

Note that changing the typing of BoundParameters would be a binary breaking change

Given that PSBoundParametersDictionary inherits from Dictionary<string, object>, what examples of (non-reflection) breakage remain possible?

Any usage of BoundParameters would need to be recompiled. Otherwise at JIT time it would throw a missing member exception because it would no longer be able to find a method with the signature Dictionary<string, object> get_BoundParameters()

Here's a repro for what I'm talking about:

Script to generate example projects
New-Item -ItemType Directory DemoBinaryBreak | Set-Location
New-Item -ItemType Directory Library | Set-Location

dotnet new classlib

Set-Content ./Class1.cs -Value 'using System.IO;

namespace Library
{
    public class Class1
    {
        public FileSystemInfo Info => null;
    }
}
'

New-Item -ItemType Directory ../Consumer | Set-Location

dotnet new classlib
dotnet add reference ../Library

Set-Content ./Class1.cs -Value '
namespace Consumer
{
    public class Class1
    {
        public static string GetName(Library.Class1 source) => source.Info.Name;
    }
}
'

dotnet publish

Set-Location ../Library

Set-Content ./Class1.cs -Value 'using System.IO;

namespace Library
{
    public class Class1
    {
        public FileInfo Info => null;
    }
}
'

dotnet publish

Get-ChildItem ./bin/debug/*/publish/Library.dll | ForEach-Object { Add-Type -Path $_.FullName }

# Explicitly do *not* recompile `Consumer`
Set-Location ../Consumer

Get-ChildItem ./bin/debug/*/publish/Consumer.dll | ForEach-Object { Add-Type -Path $_.FullName }

[Consumer.Class1]::GetName($null)

You should get:
MethodInvocationException:
Line |
  55 |  [Consumer.Class1]::GetName($null)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "GetName" with "1" argument(s): "Method not found: 'System.IO.FileSystemInfo Library.Class1.get_Info()'."

Really appreciate the repro, thanks!


refactor: removing the old homology API

The now redundant old homology API is removed. (It was already mostly unused.)
The only slightly non-trivial changes are in CategoryTheory.Abelian.Exact where some definitions and proofs have been refactored. The proof that the category of abelian groups satisfies Grothendieck's AB5 axiom had to be moved to a separate file Algebra.Category.Grp.AB5.

Thanks!
maintainer merge

bors r-

Can this TODO be removed now?
bors d+

Retrying...
bors merge


Timesheet - 02/05/2021- Chrisha Canete

Task 1
Reading 352 messages and gathering community feedback
Proof of Work

https://docs.google.com/document/d/1GdBE8XEhZKrSdtPF8t8vYiLdgVGNxxzKfGIznGr8F34/edit#

Time Spent
2 hours
Task 2
Paying April 29-30, 2021-TNB-Core Team Payment Calculation
Proof of Work

https://docs.google.com/spreadsheets/d/1t3tpN0U5fwGuHJztRQT1L1ae2ug9SQDUJXuoa0Yamec/edit#gid=0
https://docs.google.com/spreadsheets/d/1YQUGebpeS83dv4pN6YzMo5IlWNhtk0ia0XDt-6P4Cw0/edit#gid=0

Time Spent
2 hours
Task 3
Making the May 01, 2021-TNB-Core Team Payment Calculation
Proof of Work

https://docs.google.com/spreadsheets/d/19j3pizfXQ4Ilwn8X1n_YmfT7vtDoYpAhp5jgywjER-M/edit#gid=0

Time Spent
1 hours
Total spent
5 hours
Account Number
7053f27870d388b0bca4149fe72765172c3e6d1b4ffc7cd0149a296cbefe8f57

Approved

Approved


Figure out how to take POST request and parse the JSON

The trafficstats controller needs to take two lat/long strings and then determine whether or not they’re individually valid, determine if they’re on the same highway
if true -> return traffic stats
To do these we have to figure out how to get JSON out of HTTP request, Restler documentation should have information on this. Additionally restler has an examples folder, this might be one of them

Partial success with this, restlers internal $request_Data variable can hold any amount of JSON and we can pull values from it. Its not a true JSON object as json_decode only works on strings and converting $request_data to a string loses all the data.

Was done a while back, $request_data will suit our needs


Add support for Searx API

This PR adds support for SearxNG API. It is supported in Langchain and since it's a dependency already, i've basically just added it from there.
The PR will allow SEARCH_API to be filled with searx and expects an additional option called SEARX_URL. You only need to point to the instance without an additional paths.
If you're unfamiliar with SearxNG, it's a meta search engine. It allows you to customize your searches or desired search engines to a great detail. It supports a large list of sources. According to the documentation it could be around 174 search engines. But most people will probably not configure it like this.
Technically it would also be a good way to provide privacy. But the catch about SearxNG is that most publically hosted instances aren't allowing API calls, which this project is aiming for. So in order to make use of the added feature in this PR, you would need to host an instance yourself. Due to this you'll be exposing your own IP to search engines anyways.
Hosting your own instance on your local machine is as straight forward as it could be. Just get the Docker Compose file from their Github and run it.

Thank you @r7l definitely a quick win. Highly appreciate the contribution!


Suddenly unable to launch PowerShell in Windows Terminal via Run/shell

Windows Terminal version
1.19.10292.0
Windows build number
10.0.22631.0
Other Software
PowerShell 7 - v7.4.1
PowerShell - v5.1.22621.2506
Steps to reproduce
via run

open Run
input wt pwsh
click "OK"

via shell

open PowerShell, PowerShell 7, or Command Prompt
input wt pwsh or wt PowerShell

nuance
For whatever reason I've found that it is sometimes necessary to run wt [shell] more than once before Windows Terminal will even launch to print the error message. Almost as if Terminal itself is hard crashing before it can display.
Expected Behavior

wt pwsh launches Windows Terminal with the PowerShell 7 profile without error.
wt PowerShell launches Windows Terminal with the PowerShell profile without error.

Actual Behavior

wt pwsh launches Windows Terminal with the PowerShell 7 profile and displays the following error & exit code:

Process terminated. The type initializer for 'System.Management.Automation.Runspaces.InitialSessionState' threw an exception.
   at System.Environment.FailFast(System.String, System.Exception)
   at Microsoft.PowerShell.UnmanagedPSEntry.Start(System.String[], Int32)
   at Microsoft.PowerShell.ManagedPSEntry.Main(System.String[])
System.TypeInitializationException: The type initializer for 'System.Management.Automation.Runspaces.InitialSessionState' threw an exception.
---> System.ComponentModel.Win32Exception (126): The specified module could not be found.
   at System.Management.Automation.Internal.SecuritySupport.GetSaferPolicy(String path, SafeHandle handle)
   at System.Management.Automation.Security.SystemPolicy.TestSaferPolicy(String testPathScript, String testPathModule)
   at System.Management.Automation.Security.SystemPolicy.GetAppLockerPolicy(String path, SafeHandle handle)
   at System.Management.Automation.Security.SystemPolicy.GetLockdownPolicy(String path, SafeHandle handle)
   at System.Management.Automation.Security.SystemPolicy.GetSystemLockdownPolicy()
   at System.Management.Automation.Runspaces.InitialSessionState..cctor()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2()
   at Microsoft.PowerShell.UnmanagedPSEntry.Start(String[] args, Int32 argc)
[process exited with code<PHONE_NUMBER> (0x80131623)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

wt PowerShell launches Windows Terminal with the PowerShell profile and displays the following error & exit code:

Internal Windows PowerShell error.  Loading managed Windows PowerShell failed with error 8009001d.

[process exited with code<PHONE_NUMBER> (0xffff0000)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

more details
From what I can tell, this started to occur after updating Windows Terminal to version 1.19.10292.0. The issue is replicable on 3 systems that I own, all on different chipsets, but running the same Windows Edition, Version, & OS Build.

Windows Edition - Windows 11 Pro N for Workstations
Windows Version - 23H2
Windows OS Build - 22631.3085

There is another issue on the PowerShell repository (https://github.com/PowerShell/PowerShell/issues/20595) that mentions this same error, but it has been closed as in was mentioned to be an issue with Windows terminal; linking to this https://github.com/microsoft/terminal/issues/16051. Which has been locked due to participant's "spicy" behavior. However, I'm not sure I have the same issue as running the Get-EnvsWithEmbeddedNull script mentioned in https://github.com/microsoft/terminal/issues/16051 does not list any corrupt registry entries on any of my 3 systems.
things I've tried

restarting my systems
checking for updates
un-installing & re-installing Windows Terminal via winget
Running the Get-EnvsWithEmbeddedNull script script, as mentioned before.
manually searching registry locations in regedit

I guess this is a bug in the v1.19 Release and is will be probably fixed in v1.20. See:
https://github.com/microsoft/terminal/releases/tag/v1.20.10303.0

@PiTomar I have tried the preview version 1.20.240130003-preview
I have still have the exact same issues as @ninbura
And has also tried the script that finds null values in environment values in registry.

Yea pretty sure this is /dup #16623, which is already fixed in v1.19.10302.0

it starts happening for me as well with latest [v1.22.3232.0]

@aaronedev please file a new bug, fill out the template, and include a screenshot.