Request a Team Errors

Description
We created the flows of the application on Power apps. Then we uploaded it to the Teams store. We gave some people permissions to apply on teams for testing. When we click on the application on the Teams dashboard, we receive the errors in the screenshot;

You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to view this data. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 2aafedff-bf86-4379-b400-c1ff541af07d serviceRequestId: 2aafedff-bf86-4379-b400-c1ff541af07d
Steps to reproduce
1.Just click Request a Team button on the left
2.Click From Scratch-New Build button
3.And see errors as above
Expected results
Skip to Team İnformation Screen

Actual Results
See errors ;

You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9 serviceRequestId: 05c8742f-d27e-4cf7-8263-1f49dc39f5f9


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f serviceRequestId: dfe9bde4-4206-4d2d-abfb-4089c94be39f


You don't have permission to use this lookup. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 38176d94-218a-4882-9cac-701beb5c1f42 serviceRequestId: 38176d94-218a-4882-9cac-701beb5c1f42


You don't have permission to view this data. Server Response: Teams Requests failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) clientRequestId: 2aafedff-bf86-4379-b400-c1ff541af07d serviceRequestId: 2aafedff-bf86-4379-b400-c1ff541af07d
Solution component
Power App
Operating system (environment)
Windows
Additional Info
We need help about this app.

@encetin were you able to resolve this issue?  I'm getting the same error.

We have the same issue. Please advise.


chore(RepresentationTheory/Action): Factor out constructors for Action V G from MulAction G X

Further splits Mathlib.RepresentationTheory.Action.Basic and factors out the construction of objects
of Action V G from a MulAction G X instance.

This is intended as a preparation for adding a new constructor Action.FintypeCat.ofMulAction analogous to the current Action.ofMulAction for the category of types. See https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Concrete.20action.20category

Thanks! :tada:
bors merge


Enable motion controller input

Can you elaborate on this in the description?

Can you elaborate on this in the description?

Sure


Duplicated lines in backscroll when resizing the Aminal window

When resizing the Aminal window, it looks like some lines on the top of the terminal buffer are doubling so that it is possible to scroll the window up and see the duplicates. The number of doubled lines seems to depend on how small the window is made. This behavior is reproduced on Windows, and not on Debian. Not tested on MacOS.
To Reproduce
Steps to reproduce the behavior:

Run Aminal as usual. The two-lines greeting message from Windows cmd.exe will be displayed.
Try to scroll the window with the mouse wheel. It shouldn't scroll (because there are no scrollback lines)
Resize the Aminal's window to make it display less than 10 lines. The two-lines greeting message should be still on the screen.
Try to scroll the window with the mouse wheel again. The window will be scrolled showing duplicate lines.

Expected behavior
There must be no duplicate lines on resizing the window.
Environment (please complete the following information):

Windows only (on Debian was not able to reproduce, on MacOS did not test

So, it looks like that, with current ConPTY implementation it is not possible to correctly handle resizing of the window when backscroll is enabled. This is because right after resizing, the system tries to re-draw the screen by sending the whole contents of the pseudo console, line by line, even after the window is actually resized.
See this issue for additional info: https://github.com/Microsoft/console/issues/383

@nikitar020 In develop branch, there is a method (pty *winConPty)  Clear() that shows how to fill the output screen buffer with arbitrary data. It fills it with "emptiness" but you can write a method that fills with appropriate data that should be there after resizing.

Closed due to complete rewrite as part of bringing the project back to life, please create a new issue if still relevant. Thank you!


fix Connect two column with condition sign [!=] as one of array value

Consistent with the document instead of [!]

Thanks for the feedback. But I fixed it with simpler code.


Use CDSGlueState

This PR changes all of our instances of GlueState to use the CDSGlueState class introduced in https://github.com/cosmicds/cosmicds/pull/180. I also removed a few unnecessary imports along the way.

Closed this in favor of #110.


Countable spread and countable extent

I have just found an interesting paper that has theorems that aren't in $\pi$-Base, specially in the last 2 pages.
https://www.sciencedirect.com/science/article/pii/S0166864117300810

I like bite-sized PRs as much as possible, so finding a logical scope for this PR and planning for a separate follow-up PR sounds great.

The theorems involving W-spaces can be done in a different PR.

I wasn't at the PC, but thinking about the last theorem I did, I noticed that I had misunderstood the definition of countable extent and I had defined countable spread twice. I'm sorry about that.

Just FYI, and sorry if it's obvious.  When the PR is in the state of Draft, that means you are planning to make more changes.  Once you are satisfied, clicking on "Ready for review" will move it to the Open state, and we'll take that as an indication to review.

Hi @Almanzoris. Is there anything else you want to add to this PR?

Hey @prabau. I wanted to add some theorems about cardinality bounding that I saw in that paper. But I haven't read the proofs of such in the citations.
My work is accumulating here (irl), so I have decided to add the properties to a few classic spaces to enrich them and to have counterexamples of spaces with countable extent but with uncountable spread, which I was planning to, and to limit the PR to these. Despite not being a bigger launch, this way, the workflow won't be interrupted more.

This is a good size PR.  More results can be added later.  We'll start reviewing.

For the two properties, I would rename them "Has countable spread", "Has countable extent" to match other properties like "Has multiple points", "Has a countable network", etc.  (unless @StevenClontz has other ideas?)
I think that in addition to your definitions, P196/P197 should also say what "spread" and "extent" mean in general, with references.
(maybe see https://topology.pi-base.org/properties/P000183 for comparison)

Alright. What would the right references be?

Some standard references would be for example:
Hodel's chapter of Handbook of set-theoretic topology, already used for example for T405
or
Encyclopedia of General Topology, section a-3.

After the last theorems, some of the properties had become redundant, so I have removed them.

Thanks to the new theorems we have two squares of implications, one from hereditarily Lindelof to countable extent and one from hereditarily separable to CCC. Nicely organized.
Minor stuff:
T276 [Hereditarily Lindelof ==> ccc] is a consequence of T560 and T564.  So one of these two theorems can instead replace T276.
T563: It's fine to start the sentence directly as "Closed sets in a Lindelöf space ..." without "Follows as".

S9: can also remove P18, which is redundant
S13: no need for P198, as we already know Lindelof = true
S22: no need for P198, as we already know Lindelof = true
S76: can also remove P18, which is redundant
S154: no need for P198, as we already know Lindelof = true. Also, can remove P26=F, implied by P29=F

I had forgotten/missed cleaning spaces after T563 [Lindelöf => Has countable extent]... It's good that you've caught those.
Should I overwrite T276 with T560?

Yeah, overwriting T276 with T560 sounds good.


Documentation for compose is not clear about the order of execution

Here's the current example for compose:
var greet    = function(name){ return "hi: " + name; };
var exclaim  = function(statement){ return statement + "!"; };
var welcome = _.compose(exclaim, greet);
welcome('moe');
=> 'hi: moe!'

The problem with this example (actually referenced in issue #110 , surprised it wasn't fixe) is that the example is commutative: _.compose(exclaim,greet)==_.compose(greet,exclaim)
maybe if we were to do something like change exclaim to:
var exclaim = function(statement) { return statement.toUpperCase(); };
then we'll have:
welcome('moe');
=> 'HI: MOE'
var backwards = _.compose(welcome,exclaim);
backwards('moe');
=> 'hi: MOE'

After trying to replace loadash 'flow' with underscore 'compose' and realising that it doesn't work the same way. Reading the documentation carefully helps, but still got there after finding this issue.
 statement would alleviate the symptom =P


Feature/add backdrop

Adds the possibility of declaring a backdrop component to use instead of bg color. i.e. BlurView, VibrancyView, etc.

Thanks!


fix: fix merge_cubes parameter passing

Closes #42

Lgtm!
I was wondering if we could add an example test where the context from merge_cubes is passed to the overlap_resolver.... but I think we can also just keep it as it is. :)


Should you create a custom event wrapper component?

There is no documentation for adding a eventWrapper and I've seen a few comments saying it's not meant to be overwritten. Should we be using this or trying to create custom eventWrapper component to override this exsisting one?
For me I don't want the .rbc-event-label also want to dynamically in JS change the styling. Or should I be just changing things in the CSS?

Did you ever figure this out?  I'm in the same boat, would love a push in the right direction.

@drydenwilliams so, is it that you don't want the blue wrapper around the event and default time range that it shows when shrinking down on week view ? or you just want to change the colors ?

I've worked out a way to make a proper eventWrapper for the DnD plugin (one that doesn't break DnD):
function eventWrapper(props) {
  // Some data that you might have inserted into the event object
  const data = props.event;
  const customDiv = (

      {data.someField}
      {data.anotherField}

  );
  const eventDiv = React.cloneElement(props.children.props.children, {}, customDiv);
  const wrapper = React.cloneElement(props.children, {}, eventDiv);
  return (

    {wrapper}

  );
}

It isn't perfect because the eventWrapper comes back to what it was before when you're dragging the event, only returning to your custom eventWrapper when you drop it. I still don't know how to fix that.

Thanks so much for this!! @salao-na-mao-developer


Support cache

What did

Support cache the .css/.less/.scss files compilation result (not support .styl yet, need help), to reduce the rebuild time in dev mode

Background
I use this plugin to compile the less and less module CSS files with esbuild for my a little large project. It works fine in the production mode, but in the dev mode, when we modify a CSS file, it cost more than 4s to make a rebuild, even we enable the incremental: true option. It doesn't satisfy us.
After investigating, we found the pure js code only cost hundreds of milliseconds to rebuild, most of the rebuild time is cost by compiling CSS.
According to the official advice, we can add the cache strategy for the plugin. So I try it, and it works amazing, the rebuild time is reduced from more than 4s to 600~700ms.
Result
In dev mode, enable incremental rebuild.
When enableCache: false, after changing a line of CSS code:
Build started
Build ended: 4660ms
Mapping /dashboard to "http://<IP_ADDRESS>:8888"
Serving "build" at http://<IP_ADDRESS>:8888
Ready for changes

Build started
...
CSS change detected build/diagnoseReport.css
CSS change detected build/dashboardApp.css
Change detected build/diagnoseReport.css.map
CSS change detected build/UserProfile-VBHKZLS6.css
Change detected build/UserProfile-VBHKZLS6.css.map
Change detected build/chunk-7CNVMG4T.js.map
Build ended: 4018ms

When enableCache: true, after changing a line of CSS code:
Build started
Build ended: 4564ms
Mapping /dashboard to "http://<IP_ADDRESS>:8888"
Serving "build" at http://<IP_ADDRESS>:8888
Ready for changes

Build started
...
Change detected build/chunk-ADLMHXCA.js
Change detected build/chunk-ADLMHXCA.js.map
Change detected build/chunk-DKAPZFJ6.js
Change detected build/chunk-DKAPZFJ6.js.map
Build ended: 699ms

The conflicts can be resolved after PR #30 is handled.

If this PR is merged before PR #30 , then PR#30  can be closed because this PR includes the PR#30 changes.


Regex matching when it shouldn't

Given the following lexer:
use logos::Logos;
use regex::Regex;

#[derive(Debug, PartialEq, Eq, Logos)]
pub enum SyntaxKind {
    #[regex(r"\d(_?\d)*\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?")]
    Float,
    #[error]
    Error,
}

fn main() {
    let regex = Regex::new(r"^\d(_?\d)*\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?$").unwrap();
    assert!(!regex.is_match("2.3e"));

    let mut lex = SyntaxKind::lexer("2.3e");
    assert_eq!(lex.next(), Some(SyntaxKind::Float));
    assert_eq!(lex.slice(), "2.3e");
}

As expected, the regex doesn't match since we require at least one digit after e. However, lex matches the string even though it seems to me it shouldn't

I didn't find any reference to the regex syntax supported, but seems that \d isn't. Look at this example how it captures different numeric types (always with [0-9]).

I tried the version with [0-9] rather than \d before - it has the same bug

\d should work, it will allow for non-arabic numerals in unicode though so it's more permissive than [0-9].
This definitely looks like a bug, there are tests for float parsing but it lacks the underscore rules, so that might be what's throwing things off base here (though why it returns a valid match instead of an error I'd have to check).

Here's an even weirder error:
use logos::Logos;
use regex::Regex;

#[derive(Debug, PartialEq, Eq, Logos)]
pub enum SyntaxKind {
    #[regex(r"\d(_?\d)*\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?")]
    Float,
    #[regex(r"[0-9][0-9]*")]
    Integer,
    #[error]
    Error,
}

fn main() {
    let regex = Regex::new(r"^[0-9][0-9]*$").unwrap();
    assert!(!regex.is_match("1."));

    let mut lex = SyntaxKind::lexer("1.");
    assert_eq!(lex.next(), Some(SyntaxKind::Integer));
    assert_eq!(lex.slice(), "1.");
}

Removing the Float variant makes it behave correctly

The generated MIR and Graph structures seems correct as far as I can tell.
This is the minimal version I came up with that still have the bug:
use logos::Logos;
use regex::Regex;

#[derive(Debug, PartialEq, Eq, Logos)]
pub enum SyntaxKind {
    #[regex(r"0\.0(e\+?0(_?0)*)?")]
    Float,
    #[error]
    Error,
}

fn main() {
    let regex = Regex::new(r"^0\.0(e\+?0(_?0)*)?$").unwrap();
    assert!(!regex.is_match("0.0e"));

    let mut lex = SyntaxKind::lexer("0.0e");
    assert_eq!(lex.next(), Some(SyntaxKind::Float));
    assert_eq!(lex.slice(), "0.0e");
}

I don't think any of goto5_at1_ctx1_x branches should be bumping anything, since only goto3_ctx1_x ensures the minimum mandatory parts of the subpattern (e\+?0(_?0)*):
#[inline]
fn goto3_ctx1_x<'s>(lex: &mut Lexer<'s>) {
    match lex.read::<&[u8; 1usize]>() {
        Some(b"0") => {
            lex.bump_unchecked(1usize);
            goto2_ctx4_x(lex)
        }
        _ => goto1_x(lex),
    }
}

#[inline]
fn goto5_at1_ctx1_x<'s>(lex: &mut Lexer<'s>) {
    match lex.read_at::<&[u8; 1usize]>(1usize) {
        Some(b"+") => {
            lex.bump_unchecked(2usize);
            goto3_ctx1_x(lex)
        }
        _ => {
            lex.bump_unchecked(1usize);
            goto3_ctx1_x(lex)
        }
    }
}
#[inline]
fn goto6_ctx1_x<'s>(lex: &mut Lexer<'s>) {
    match lex.read::<&[u8; 1usize]>() {
        Some(b"e") => goto5_at1_ctx1_x(lex),
        _ => goto1_ctx1_x(lex),
    }
}
#[inline]
fn goto8_at1_with3<'s>(lex: &mut Lexer<'s>) {
    match lex.read_at::<&[u8; 2usize]>(1usize) {
        Some(b".0") => {
            lex.bump_unchecked(3usize);
            goto6_ctx1_x(lex)
        }
        _ => _error(lex),
    }
}
#[inline]
fn goto9<'s>(lex: &mut Lexer<'s>) {
    let arr = match lex.read::<&[u8; 3usize]>() {
        Some(arr) => arr,
        None => return _end(lex),
    };
    match arr[0] {
        b'0' => goto8_at1_with3(lex),
        _ => _error(lex),
    }
}
goto9(lex)


ARROW-13032: [Java] Update guava version

Vulnerabilities in current version: CVE-2018-10237 CVE-2020-8908
See https://github.com/apache/arrow/issues/10393#issue-900219398

Is there any reason not to use the latest version https://mvnrepository.com/artifact/com.google.guava/guava/30.1.1-jre ?

Is there any reason not to use the latest version https://mvnrepository.com/artifact/com.google.guava/guava/30.1.1-jre ?

Not really. I just updated to the patched version.
I will update the PR with latest version.

LGTM

I realized Java JNI / AMD64 Debian 9 Java JNI was canceled during the execution. I restarted this job.

Another PR also got the same behavior.

LGTM

@kiszk Can you merge this

@emkornfield @liyafan82 Is this upgrade fine with you?

@emkornfield @liyafan82 Is this upgrade fine with you?

@kiszk Thanks for the information.
I am generally not affected by this change. So it is fine for me.


[BUG]: Operators with edges connected to their inputs behave as if nothing is connected

Describe the bug
The Simulate operator in the screenshot behaves like a brand new operator when it has a Configure model operator connected to it.
https://app.staging.terarium.ai/projects/a9d892c8-7ed0-4589-b286-49ef15b71c52/workflow/e17ab3f8-2fe1-4cce-9d0a-918752baa8a1

Difficult/couldn't to reproduce, we added a few fixes since the report that hopefully address this issue of dangling edges.


[Feature Request]:  Add scroll down to progress bar

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I would like to add a website progress indicator bar.
Use Case
It helps users to show how far the website has been scrolled.
Benefits
Improves the overall website's UI and make it look professional.
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@chaanakyaaM, this approach isn't suitable for our project. While it might be helpful in some contexts, it doesn't align with our platform's goals as an edu-tech site. Adding a scroll-down progress bar isn't ideal. Please create a new issue.


[SPARK-50250][SQL] Assign appropriate error condition for _LEGACY_ERROR_TEMP_2075: UNSUPPORTED_FEATURE.WRITE_FOR_BINARY_SOURCE

What changes were proposed in this pull request?

This PR proposes to Integrate _LEGACY_ERROR_TEMP_2075  into UNSUPPORTED_FEATURE.WRITE_FOR_BINARY_SOURCE
Why are the changes needed?

To improve the error message by assigning proper error condition and SQLSTATE
Does this PR introduce any user-facing change?

No, only user-facing error message improved
How was this patch tested?

Updated the existing tests
Was this patch authored or co-authored using generative AI tooling?

No

+1, LGTM. Merging to master.
Thank you, @itholic.

Thanks @MaxGekk for the review


Update the regex to properly capture the authorisation token

My personal base64 encoded credentials do not end with a single =.  Base64 encoding can result in zero, one or two = characters at the end.  The = character is used to pad out the length if required.
This updates the regular expression to capture the token more reliably so it won't be output in request logs.

Oh, it looks like your build relies on credentials that aren't available in forks.


95 teardown after failure

Run teardown script even when tests fail

See https://github.com/knod/docassemble-juvenilesealing/runs/866439151?check_suite_focus=true For teardown step running after failing test


[Solitaire] Possible implementation

Hi :wave:
I implemented peg solitaire in Jax for Jumanji in this MR: https://github.com/instadeepai/jumanji/pull/201. Speaking with the maintainers, they're not sure it suits the Jumanji suite so well and suggested it would be better suited to here. What do you think? Should I spend some time transforming it to match the pgx setup?

You're right - it seems to fit Jumanji more it's a waste of time to redo all the docs and reformatting.


use fromUrl() to read PDF, can show the download progress?

There is no fromUrl() method and you cannot download files using this library

You would have to download the file and then open the local file using pdfviewer


remove clobber option from load scripts

This will help ensure that existing tables are not accidentally over-written.

Changes Unknown when pulling 1e2916324351da97bb4f6708e110dd4e45c9f2a9 on u/jchiang/remove_clobber_option into ** on master**.


Fix for a few grammar issues in SriInternals.md

Mainly fixes the following issues:

Add a white space before a comma and remove white space (if any) after each comma.
Break run-on sentences into two separate one.

thanks alot @ramnivas  , yeah  my english sucks :(

@chandu0101 You are welcome. I added comments in my PR so that you can watch out for those kinds of issues and improve over time.


Move unchained url to be a constant or env variable

Also we should have it point at the production endpoint so people can just get it up and running with out the back end dependencies.

should this be a more general issue first - create configuration management strategy?
i've previously used this https://github.com/af/envalid#api
and typed it strongly - so you can import config and get a strongly typed object, and write custom regex validators etc.

should this be a more general issue first - create configuration management strategy?
i've previously used this https://github.com/af/envalid#api
and typed it strongly - so you can import config and get a strongly typed object, and write custom regex validators etc.

Yea I think that is a good idea we should figure out our strategy and then move the unchainedUrl into it. I have never used envalid but it sounds cool I like that it is strongly typed.

should this be a more general issue first - create configuration management strategy?
i've previously used this https://github.com/af/envalid#api
and typed it strongly - so you can import config and get a strongly typed object, and write custom regex validators etc.

Yea I think that is a good idea we should figure out our strategy and then move the unchainedUrl into it. I have never used envalid but it sounds cool I like that it is strongly typed.

Cool, I'm going to mark this as blocked and created this https://github.com/shapeshift/web/issues/48


Enhancement: Add RSpec Testing for Controllers

This pull request addresses the following tasks:

Added the RSpec gem to the project for testing.
Created request spec files for all controllers to ensure proper testing coverage.
Implemented tests for each action, checking response status, rendered template, and response body content.

Changes Made

Updated the Gemfile to include the RSpec gem.
Created request spec files in the spec directory for each controller.
Wrote RSpec tests for each controller action, verifying status, template, and response body content.

Thanks, @Deepakdanger for the review you provided.


Error when user doesn't change details

As you know if someone doesn’t have their certificate number they’re asked to confirm their name, dob and address. If they answer yes to all of these questions they aren’t updating anything, so my assumption is that they won’t go to the ‘Check your answers’ screen but will go straight to a decision (after check new details on the diagram), probably ‘not found’.
We know that the diagram attached needs updating, but there’s no ‘Yes’ line from ‘Is this how your address appears’, and when I’ve tried to do this journey using the PPC reference you end up with an internal server error screen, so I’m unable to confirm to Venkata where you should go from this page.
We have decided that they should still go to the check your answers page that will then take them on to the alternative options before landing on the can't find page.

full service SR (26.02.18).pdf
This diagram shows the updated journey

How can I replicate this in the prototype? With cert-number you can enter a number that will decide whether the exemption can be found but with this route there is no way of specifying what the end result will be.
One solution is to just pick one outcome. It shouldn't matter too much as we can still test the end pages in different journeys instead. The other solution, which I can do in parallel is to create the journey with the other end point on the static prototype.
One last solution is to build a variable for the end page into each scenario. This can be selected using the PCN ref no. of the scenario. If this solution were used the check answers page would just have a snippet of Js to determine where to point the user.

Changed the answers-handler. It's now much simpler. If no details are changed it sends the user from check your answers to dwp-exemptions. I also changed check-address-handler so that if they have a Mat or Med they will still be directed to the change details page after not changing their address details. This means we can ask every possibility before asking if they were preg or med.
I have a new question that may lead into a new issue ticket. If a user doesn't change details then should we send them to the BSA options before the DWP options incase there is another BSA exemption they could try instead?
Also fix the check answers so that it doesn't show the contact details part of the table when it's just a case of not changing any details.


Split the functional tests into two categories - generally useful and flavor specific.

Some of the functional tests could be useful even for 3rd party stage1 implementation, while some of those are rather specific.
I suppose that "make check" could run only "generally useful" tests for flavor "none", and all of them for any other flavor.

:+1:  for this and some rationale behind based on kvm vs nspwan experience:

kvm has different than nspwan "exit/abort shortcut" (c-a,c-x instead of 3 x c-]) and returns other exit code
kvm flavor doesn't support "default" host networking mode
kvm doesn't need to make sure, that cgroup subsystems aren't in read-only mode, because isolation based on completely different layer (I'm sure about that, because inner app resources management)

@ppalucki @krnowak do you know if someone started to work in this area?

do you know if someone started to work in this area?

I dunno. Not me.

cc @mstachowski @jellonek is this something that relates to your kvm functional tests branch ? Can you give specific examples if this separation if worthy or not ?

TestCgroups, partially TestCaps, TestNetHost, TestNetHostConnectivity, TestNetNone and partially TestUserns are not supported in kvm flavor

This is information specific for kvm flavor, but this issue is more general.
So this listed tests are imo start of research on which tests should be extracted at the beginning...

@s-urbaniak started some work to avoid the if flavor == "kvm" pattern. Do you want to check this issue at the same time?

We introduced i) test build tags and ii) a simple Test/TestFunc interface for abstracting tests which can be reused across flavors.
If you invoke configure --enable-functional-tests ... --with-stage1-flavors=kvm && make functional-check only those tests matching the kvm build constraint will be executed.
@jellonek Besides the introduction of the above in #2515 is there anything more you had in mind for this?
@ppalucki The "kvm rationale" could be solved in an independent issue, do you mind opening one?

@s-urbaniak no.

ok, closing this one then, fixed by #2515


chore(renovate): Disable dependency version pinning

Since this is a library, we want our dependencies to stay up to date automatically based on the version ranges in package.json.

:tada: This PR is included in version 0.4.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


some troubles when changing the conda environment between the main_env and the PWC_env

    print('=> preparing optical flow. it would take a while.')
    os.chdir('PWC')
    # os.system('sourse activate PWCPython2 && conda deactivate && conda activate PWCPython2')
    # os.system('conda env list')
    os.system('conda init bash')
    # os.system('exit')
    os.system('source activate PWCPython2')
    os.system('conda deactivate')
    os.system('conda activate PWCPython2')
    for i in self.opt.intervals:
        print("*******************")
        os.system('conda env list')
        # ret = os.system('conda run -n PWCPython2 python2 video_pwc.py ../outputs/{} {}'.format(self.opt.name, i))
        ret = os.system('python2 video_pwc.py ../outputs/{} {}'.format(self.opt.name, i))
        assert ret == 0, "Failed to run PWC-Net, please check the environment of PWC-Net"
    os.chdir('..')

there is sth wrong:
File "/home/dongxinghao/workspace/Deep3D/sequence_io.py", line 76, in generate_flows
assert ret == 0, "Failed to run PWC-Net, please check the environment of PWC-Net"
AssertionError: Failed to run PWC-Net, please check the environment of PWC-Net

did you installed PWC-Net ?

thank you!
At 2023-03-26 10:23:09, "Lwy" @.***> wrote:
did you installed PWC-Net ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Upodate Ibis duckdb overturemaps udf

I modify some comments that were added that are not accurate and made a one of the filters smaller, to avoid a crowded plot that it's hard to read.
@pgzmnk

whoops, sorry about this mess. I opened a clean PR here #467


Update native-styling-refguide.md

This prop was removed in 8.14.1

This property currently does not work. The property itself will be removed today or tomorrow with 8.14.1.


fix: Filter and Metric popovers not closing after clicking Save

SUMMARY
Fixes https://github.com/apache/incubator-superset/issues/11598 and https://github.com/apache/incubator-superset/issues/11608. The issue was that when you opened a popover, didn't make any changes and then clicked save, 'isNew' prop wasn't set to false before sending it to onChange function. Then the component rerendered and isNew was still set to true and popover reopened.
CC: @junlincc
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[x] Has associated issue: https://github.com/apache/incubator-superset/issues/11598, https://github.com/apache/incubator-superset/issues/11608
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

@rusackas Can you take a look?

Codecov Report

Merging #11607 into master will decrease coverage by 5.48%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11607      +/-   ##
==========================================
- Coverage   66.56%   61.08%   -5.49%
==========================================
  Files         876      422     -454
  Lines       42172    26291   -15881
  Branches     3949        0    -3949
==========================================
- Hits        28073    16059   -12014
+ Misses      13996    10232    -3764
+ Partials      103        0     -103

Flag
Coverage Δ

cypress
?

javascript
?

python
61.08% <ø> (-1.08%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/views/database/views.py
62.10% <0.00%> (-25.33%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/db_engine_specs/presto.py
73.65% <0.00%> (-8.64%)
:arrow_down:

superset/databases/commands/create.py
82.97% <0.00%> (-8.52%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/db_engine_specs/base.py
80.53% <0.00%> (-6.94%)
:arrow_down:

superset/sql_validators/base.py
93.33% <0.00%> (-6.67%)
:arrow_down:

superset/views/database/forms.py
83.33% <0.00%> (-5.56%)
:arrow_down:

superset/views/core.py
70.48% <0.00%> (-3.77%)
:arrow_down:

... and 467 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d5d92a...37c0832. Read the comment docs.

Thanks for the fix and adding test cases!


[Testing] Ubuntu/Debian GPU driver: ping to CUDA 12.5 for V100 P4 P100

Description
The latest CUDA 12.6 appears to be not working for GPUs older than Turing architecture. Ping to the previously working CUDA 12.5 for those GPUs.
Note that since we only test those GPUs on Focal, this PR only updates the Ubuntu/Debian install script.
Related issue
b/357828767
How has this been tested?
Integration tests pass on Focal.
Checklist:

Unit tests

[x] Unit tests do not apply.
[ ] Unit tests have been added/modified and passed for this PR.

Integration tests

[ ] Integration tests do not apply.
[x] Integration tests have been added/modified and passed for this PR.

Documentation

[x] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[x] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

https://screenshot.googleplex.com/B7L8ofMFoK6hNYo All GPU tests are passing.


Start adopting a test-pyramid approach

[#183674520]
Also added BOSH_COMPILE_TARGET to bosh-compiler:
This environment variable is required by some dependencies.
More specifically, I added this environment to be able to use
bosh-compiler in nfs-volume-release:
https://github.com/cloudfoundry/nfs-volume-release/blob/v5.0/packages/berkeleydb/packaging

Superseded by #760


Fuzzy file search

First of all, great job ! It looks and feels great.
An option I really like and use with Sublime is the Ctrl+P option that let's you do a fuzzy search in the current directory (when you start it with subl .). Do you think it would be implementable ?

Hi, thanks!
You can do it with the following plugin :
Ctrlp.vim
I think I will not integrate it into MiniVim for two reasons : I don't use this feature and the code will be significantly bigger with this feature.
Let me know if this plugin fits your needs. :-)


Very critical bug in javascript parser 2.0.0+

Buffers are corrupted after sending one more command. Example:
var redis  = require('redis'),
    client = redis.createClient({return_buffers: true});

client.set('s1', 'a'.repeat(65527));
client.set('s2', 'b'.repeat(65527));

client.get('s1', function(err, buf) {
	console.log(buf[0]); //prints 97, it's OK

	client.get('s2', function() {
		console.log(buf[0]); //prints 98, but must print 97
	});
});

This is starting with javascript parser 2.0.0. The bug occurs when buffer.length >= 65527 (and in 50% cases when buffer.length >= 65517).
Example 2:
var redis  = require('redis'),
    client = redis.createClient({return_buffers: true});

client.set('s1', 'a'.repeat(65527));
client.set('s2', 'b'.repeat(65527));

client.get('s1', function(err, buf) {
	setImmediate(function() {
		console.log(buf[0]); //prints 98, but must print 97
	});
});
client.get('s2');

In the second example bug occurs only in javascript parser 2.0.1+ (not 2.0.0).

This is very bad indeed. With the returnBuffers option we may not use a bufferPool at all. I'm going to fix this in a couple of hours. I'm very sorry that I missed this. I'll fix this tomorrow as I can't find the time right now.


Some refactoring

Codecov Report

Merging #72 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   97.58%   97.59%   +0.01%
==========================================
  Files           6        6
  Lines         829      833       +4
==========================================
+ Hits          809      813       +4
  Misses         20       20

Impacted Files
Coverage Δ

src/network.jl
99.12% <100%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9cd479...44e659e. Read the comment docs.


Add Vulkan backend

Could you add a build target to the Makefile as well?

Could you also mark things as @(private="package") that isn't meant to be used otherwise

There's no Vulkan/SDL example if that's what you mean

There's no Vulkan/SDL example if that's what you mean

Right, my bad

Uh I totally forgot that I need to inline the spirv shaders, so don't merge just yet

Alright, hopefully I haven't missed anything else obvious

I realize that I assume that you're rendering to SRGB. I'll probably fix this


Change 16-21 in story.txt

Changed line 16-21 in story.txt and becomes Harsh's version.

@HarshPatel187
Maybe you can review this and merge this for me please?

I have resolved all the conflicts

I have resolved all the conflicts

Nice one!


SetupUART() definision is missed in ch32v003fun.h

Hi,
I tried to use more than D5 debug functionality on UART and I realize that the definition for SetupUART(int uartBRR) was dropped from ch32v003fun.h file. Is any reason of this? Function body is existing in ch32v003fun.c file...
from ch32v003fun.h:

// Tricky: We need to make sure main and SystemInit() are preserved.
int main() __attribute__((used));
void SystemInit(void);

// Tricky: We need to add this definition if you want to use UART functionality more than debug on D5.
void SetupUART(int);

from ch32v003fun.c:
void SetupUART( int uartBRR )
{
	// Enable GPIOD and UART.
	RCC->APB2PCENR |= RCC_APB2Periph_GPIOD | RCC_APB2Periph_USART1;

	// Push-Pull, 10MHz Output, GPIO D5, with AutoFunction
	GPIOD->CFGLR &= ~(0xf<<(4*5));
	GPIOD->CFGLR |= (GPIO_Speed_10MHz | GPIO_CNF_OUT_PP_AF)<<(4*5);

	// 115200, 8n1.  Note if you don't specify a mode, UART remains off even when UE_Set.
	USART1->CTLR1 = USART_WordLength_8b | USART_Parity_No | USART_Mode_Tx;
	USART1->CTLR2 = USART_StopBits_1;
	USART1->CTLR3 = USART_HardwareFlowControl_None;

	USART1->BRR = uartBRR;
	USART1->CTLR1 |= CTLR1_UE_Set;
}

BR,
pancio

I don't think you need to manually call into this function because your project can compile-time configure the macros.
https://github.com/cnlohr/ch32v003fun/blob/master/ch32v003fun/ch32v003fun.h#L31-L33


react-native-debugger: fix build

Motivation for this change
Small fix for generated desktop file.
ZHF: #97479
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@demyanrogozhin while you're at it, could you also fix the error thrown at startup?
(React Native Debugger:8639): Pango-ERROR **: 10:13:19.324: Harfbuzz version too old (1.4.2)

[1]    8639 trace trap (core dumped)  ./result/bin/React\ Native\ Debugger

while you're at it, could you also fix the error thrown at startup?
@Ma27 Fixed by upgrading to latest version.

Thanks! Ported to stable as def97800ceac39d359a1807bbdded8ca9eb42654, df4c3f4fbd9917b90819a266e8a31ef2534401f1, e20e342bd51554526843c2cf504ce73bd8ca0c6d.


[Improvement] [GameTest] Register custom commands

Register custom commands with the ability to pass a function to handle usage
A few specific things which would be important I feel:

Able to register at any time and per-user (pseudo-permission based systems could be achieved with this)
Able to unregister a command
Able to register custom enums as part of the command
Allow some of the special types such as player and coordinates to be field options

Those fields should ideally be presented as the correct type, eg. ~ ~ ~ would be received as a Location

Closing the oldest GameTest feedback issues. I've collated these for feedback and consideration internally. Closing these issues will save us from having to try and keep these issues up to date. :)


Support cache-hit state

I wrote a workflow like follow, but I found nothing happened. Is that wrong or just unsupported?
- uses: actions/setup-node@v2
  id: cache
  with:
    node-version: '14'
    cache: yarn
- run: yarn install --frozen-lockfile
  if: steps.cache.outputs.cache-hit != 'true'

Hello @pacexy. The action does not provide cache-hit for output. We can track it as an enchantment to add it.

I've opened a pull requests #327

@dmitry-shibanov what good is caching if we can't conditionally skip the step to install dependencies based on a cache hit?
I'm not sure why you released caching without this critical step. And now, for two weeks there's been a Pull Request open that solves this issue for the community and it's sat unreviewed/untested for days because it requires maintainer approval for GHA to run on it

@snebjorn I don't understand. Running into same problem as you. Can you explain this to me? I'm trying to do what @pacexy commented, yet I'm hitting your same error.

uff... it's been a while. But I believe what he's saying is that it caches packages in ~/.npm/node_modules instead of in your repo.
So basically you still need to run npm ci to copy the packages into your repo

uff... it's been a while. But I believe what he's saying is that it caches packages in ~/.npm/node_modules instead of in your repo.
So basically you still need to run npm ci to copy the packages into your repo

Gotcha, thanks!


"Priseaca", "Buicești", "Săltănești" are listed in the drop-down menu

Description:
When user writes "Priseaca", "Buicești" and "Săltănești" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Priseaca"

Expected results
The location appears in the drop-down menu as "Sat Priseaca, OLT (Priseaca)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Buicești"

Expected results
The location appears in the drop-down menu as "Sat Buicești, OLT (Priseaca)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Săltănești "

Expected results
The location appears in the drop-down menu as "Sat Săltănești, OLT (Priseaca)".


PTA with multi-forest DNS suffix search order

We have PTA configured with multiple forests with forest-level trusts.
We were unable to get PTA to work in a forest other than the one the PTA agents were installed in. The trace and event logs provided no clue, all you see is error 1326 (invalid username or password), also there are no clues in AzureAD authentication logs again we see only invalid username or password.
Invoke-PassthroughAuthOnPremLogonTroubleshooter.ps1 confirms authentication for accounts in the other forest is working correctly.
After wiresharking an authentication request the issue was traced to the DNS suffix search order on the PTA agent server not having the other forest root domain included. We see multiple DNS queries for AD DC SRV records using all the domains in the DNS suffix list, and adding the other forest root domain resolved the issue.
In this case the other forest was a single-label domain so I'm not sure if that is a factor, I'm just surprised the PTA agents aren't using the other forest domain FQDN in the DNS SRV lookups for DCs.

Hopefully this information will be useful to someone else in future!

@gebbetta Thanks a lot for sharing the information.
But just FYI, this azure-docs repository just deals about feedback related to particular Azure document page (like correcting doc bugs, doc enhancements, product issues related to wrong doc instructions, etc.) so going forward if you raise an issue in this azure-docs repository then please share the Azure document link to which your feedback is related.
On the other hand, if you need help in resolving a product related issue (but not the document) then I recommend you to ask the question in public forums like Microsoft Q&A, etc. but not here in this azure-docs repository. Hope this clarifies.

The page is https://docs.microsoft.com/en-us/azure/active-directory/hybrid/tshoot-connect-pass-through-authentication
I thought it might be help to add this issue to the page in case someone else encounters it.

@gebbetta Sure. Thanks for sharing the Azure document link.
Assigning this to AAD Community SME to review and take action as appropriate.

@gebbetta Single-label domains (SLDs) are not recommended for certain deployments and I am suspecting the problem you are facing is due to the use of SLD. Issues related to SLDs are only handled by Microsoft Customer Service and Support (CSS) per your Premier Support agreement. To investigate into the issue, please open a support request.
Microsoft support for Single Label Domains


Play button from live demo

I want to know how to recreate the effect of rearranging the nodes after I mode a node.
This feature is shown in the live demo by the play button.
From the documentation I haven't been able to see how to do it.

Note: I am using automaticRearrangeAfterDropNode = true, but it doesn't seem to make a difference. I move a node and no other node follows it.

Apparently you can't have nodeHighlightBehavior: true, I didn't know that from the documentation, maybe it could be an update to the docs. I will close the issue now.

Hey, thanks a lot for digging into this @felipeboffnunes! I'm re-opening the issue so that we don't forget to document this edge case limitation properly. Cheers!

Also, another thing to document on automaticRearrangeAfterDropNode. It won't take effect if this property is set after the first render. It needs to be provided before the first render in order to work properly.

Closing this issue with https://github.com/danielcaldas/react-d3-graph/pull/262


Update backup-ops.go

remove '-all' key from pruning command in order to use '-quote' feature properly

I am not a good coder myself and not familiar with golang (although in general it is quite understandable). I had a glance and I think I see where to add additional check for a new option to backup-ops.go, but I do not see at all how to change configBackup.go in order to have that option :) If the changes are trivial for you, please do them yourself, because my attempts would be trial and error type.

I have a new branch in the repo, "no-all". Please check out this branch, build it, and make sure it works as you wish. I won't have time to test this until tomorrow evening, so if you can check it sooner, this may get you what you need faster.
Let me know what you find. Regardless, I'll test and commit tomorrow night. But if this doesn't do exactly what you need, now's the time to speak up!

I take that back, I decided to test it after all. Looks fine, merged to master. Be sure to take a look at the README.md file to fully understand how this is intended (I made some edits). If you have any questions, please open a new issue to discuss, thanks.


fix(GUI): kill CLI processes when child writer dies

Turns out that when the parent process gets SIGKILL, the children
process would still remain alive.
In order to mitigate this, we force the IPC client opened by the child
writer to not attempt to reconnect to the IPC server if this one dies,
so we can catch the "disconnect" event and kill the children as a
result.
Fixes: https://github.com/resin-io/etcher/issues/850
Change-Type: patch
Changelog-Entry: Fix writing process remaining alive after the GUI is closed.
Signed-off-by: Juan Cruz Viotti<EMAIL_ADDRESS>

Yup, this fixes #850 for me.

@lurch I've updated this PR to use the IPC stopRetrying approach we discussed before. Do you mind checking if it still works for you too?

Nope, the new version of this PR doesn't work, electron remains running in the background (and still writing to disk) after closing the Etcher window.

@lurch We've been debugging this with @Shou, and discovered that we we're hitting a context issue in child.kill(). We confirmed it works now! Let us know!

Yup, updated PR is working again :-)  (writing to disk  stops when I close the Etcher GUI mid-flash)


Added adWillPlayMuted

This PR makes it possible to set
https://developers.google.com/interactive-media-ads/docs/sdks/html5/v3/apis#ima.AdsRequest.setAdWillPlayMuted
as an option

Thanks for the PR!


Ruby on Rails Capstone Project - Budget App

In this PR what I did do?

Add Splash screen.

Create sign-up and log-in pages.

Create a Home page (categories page)

Create Transactions page

Create "Add a new category" page

Create  "Add a new transaction" page

Add Testing requirements

Create presentation (https://www.loom.com/share/ccb3f7e333c5483d923a6171278c0f0d?sid=1c726ebc-f1d2-4f07-b09a-e5e48fe43a78)

Thanks, I fix it.


RUN THE JEWELS

Description of Change

Checklist

[x] PR description included and stakeholders cc'd
[x] npm test passes
[x] tests are changed or added
[x] relevant documentation, tutorials, templates and examples are changed or added
[x] PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.

Release Notes
Notes:

WOOT


Use mapSourceURI in exception message file paths

When I compile (fullOptJS in this example), the javascript source contains my local absolute project pathes in the exception messages:
function rv() {
    var a = pv();
    if (0 === (2 & a.zc)) throw (new js).d("Uninitialized field: /home/cornerman/projects/outwatch/src/main/scala/snabbdom/h.scala: 220");
    return a.q
}

Can I control these pathes? Or would it make sense to set these pathes to the value provided by -P:scalajs:mapSourceURI by default?

That string comes from a macro. The Scala.js compiler does not put source paths in the generated .js file (in source maps, yes, and that is controlled with -P:scalajs:mapSourceURI). You need to report this to the corresponding macro library.

Oh thanks, you are right. These exceptions were generated by the scalac option -Xcheckinit.


[UIE-94] Multi-package MVP

https://broadworkbench.atlassian.net/browse/UIE-94
This sets up the infrastructure for and begins splitting up Terra UI into multiple packages. As a proof of concept / MVP, this extracts the Interactive component into @terra-ui-packages/components and the contents of src/libs/type-utils into @terra-ui-packages/core-utils.

There are several pieces involved in letting us import { Interactive } from '@terra-ui-packages/components' in Terra UI application code...
Yarn workspaces are used to have imports from @terra-ui-packages/components in Terra UI resolve to that package's directory within the packages directory (./packages/components).
https://yarnpkg.com/features/workspaces
exports, module, and main configuration in each package's package.json file control how imports of the package are resolved to a file. Each package is configured to have two versions: an ES Module version in lib/es/index.js and a CommonJS version in lib/cjs/index.js. We want the ES Module version to use with a bundler (Vite) and the CommonJS version to use with Jest (since Jest doesn't yet support modules). So with the package.json configuration, import { ... } from '@terra-ui-packages/components' resolves to ./packages/components/lib/es/index.js and require('@terra-ui-packages/components') resolves to ./packages/components/lib/cjs/index.js.
https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing
The files in the lib directory are outputs from a build. Each package has a build script configured in package.json. That build script runs tsc twice: once to produce the ES Module output and once to produce the CommonJS output. Those outputs are configured in two TS project files: tsconfig.json has configuration for ES Modules and contains any package specific TS settings that are needed. tsconfig.cjs.json extends tsconfig.json and overrides the module and outDir settings. Each package's tsconfig.json extends from tsconfig.base.json at the workspace root so that all packages can share common base compiler settings.
There's also a tsconfig.json at the workspace root. Currently, it has two functions... It serves as the TS project for the Terra UI application itself (ideally, the application would be a separate package instead of mingled with the workspace root). It also contains references to the TS projects for each package. This allows building all packages from the workspace root with tsc --build.
https://www.typescriptlang.org/docs/handbook/project-references.html
To have changes to packages code automatically built and reloaded in the browser, as we're used to with application code, the start script now runs two things: the Vite dev server and tsc --build --watch.

Changes to development workflow:

yarn run build does not change
yarn start is used as before, though now it runs an additional process (tsc --build --watch)
yarn test ...

No longer runs all tests in the repo. It now runs only tests for the Terra UI application.
Terra UI relies on the build output of packages, so some care must be taken to ensure that package builds are up to date before running Terra UI tests to ensure that the current packages code is being tested. Also, a build has to be run (yarn run build or yarn start) before running tests for the first time.

To run a script for a specific package, use yarn workspace. For example, to run tests for core-utils, use yarn workspace '@terra-ui-packages/core-utils' test.
https://yarnpkg.com/cli/workspace
To run a script for all packages, use yarn workspaces foreach. For example, to run unit tests for all packages and Terra UI, use yarn workspaces foreach --exclude terra-integration-tests run test.
https://yarnpkg.com/cli/workspaces/foreach

Rebased to resolve merge conflict.


Making the Tax Combo Percent property optional

The Tax Combo Percent is now optional, as long as a tag is provided with an explanation as to why effectively the row is "exempt" of tax.
Related to #114

Changes make sense to me although I only one doubt about it: any tag would allow the percent to be missing, whether that tag correspond to an exemption reason or not, we don't know it. This feels a bit flaky to me. Would it make sense to allow missing percents, in principle, but then do the validation in each regime which can identify which tags aren't exceptions?

Yeah, the idea with the basic validation is just to ensure we don't have silly mistakes of neither percent nor tags. But yes, additional validation could be made on the regime level. We can work on this in other PRs. 👍


Add "index" as destination for monitor

 Issue by agone1
Wednesday Nov 11, 2020 at 17:00 GMT
Originally opened as https://github.com/opendistro-for-elasticsearch/alerting/issues/298

Is your feature request related to a problem? Please describe.
I am using monitors to create new documents in target indices. Right now I use a "webhook destination", which makes POST calls to following url:
http://<cluster_node>:<es_port>/<target_index>/_doc
with a stringified json as text payload.
This cause many inconviniences:

I have to stringify JSON object, and than parse it back to object from text when indexing.
One cant make a POST call to _bulk endpoint. For some reasons such calls are being rejected with an error.

Describe the solution you'd like
During many tests I figured out, that there is a possibility to transform search results with painless scripting in monitor's conditoin section, so one can easily modify ctx.results's elements, even adding new fields.
I suggest to create a new destination which will check for a certain field (array of objects, for example docs) in the last element of ctx.results array, and use its value to prepare a bulk payload.
Document _index value should be configured via destination params, and optionally could be configured in docs field.
Document _id value optionally could be configured in docs field.
If docs field exists and is not null monitor action will perform a _bulk call to elasticsearch cluster itself.
Example:
{
  "ctx.results": [
    {<search input results>},
    {
      "docs": [
        { "_id": "<optional>", "_index": "<optional>", "_source": {<document payload>}}
      ]
    }
  ]
}

 Comment by abdalians
Wednesday Feb 03, 2021 at 17:04 GMT

how did you authenticate from the monitor to Elasticsearch? Authorization: Basic <base64_encoded_username:password> doesnt work for me..


Which IDE to use?

User story

As a team member I would like to know which IDE SDs would prefer?

Acceptance criteria

Ease of working and debugging on the code
Compatible to all systems and versions
Coherence in coding style

Definition of done

All members should vote for the best possible IDE by the next sprint (21.04.2021)

On personal choice, as most of the plugins are available in both IDE's


Update Dockerfile

Very simple docker for the mothur-based 16S metagenomics tutorial

Cool beans! Thanks a lot!


handle more leader tasks in store and apply threads

only for test, do not merge.
in this PR store threads and apply threads fetch tasks from 2 channel instead of 1: one for follower peers, and 1 for leader peers. The aim is to make apply tasks of leaders more quickly.

do we need to consider the case that the follower becomes the leader?


Update for mina >= 1

Mina introduced some breaking changes with the 1.0 release.

thanks 👍

No worries :)

No worries :)
Please let me know when you do a release.

@twe4ked done


SFTTrainer.train() gets "ERROR:root:Internal Python error in the inspect module"

I am currently trying to train LLaMa2 model with peft and SFTTrainer on Google Colab (using A100 40GB GPU).
However, I am getting the following error consistently, for some reason.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.

ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.

ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3553, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-27-3435b262f1ae>", line 1, in <cell line: 1>
    trainer.train()
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 1545, in train
    return inner_training_loop(
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 1901, in _inner_training_loop
    self._maybe_log_save_evaluate(tr_loss, model, trial, epoch, ignore_keys_for_eval)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 2212, in _maybe_log_save_evaluate
    self.log(logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 2591, in log
    self.control = self.callback_handler.on_log(self.args, self.state, self.control, logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer_callback.py", line 390, in on_log
    return self.call_event("on_log", args, state, control, logs=logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer_callback.py", line 397, in call_event
    result = getattr(callback, event)(
  File "/usr/local/lib/python3.10/dist-packages/transformers/integrations.py", line 662, in on_log
    self.tb_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/writer.py", line 1200, in flush
    writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/writer.py", line 150, in flush
    self.event_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/event_file_writer.py", line 125, in flush
    self._async_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/event_file_writer.py", line 190, in flush
    self._writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/record_writer.py", line 43, in flush
    self._writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/lib/io/file_io.py", line 221, in flush
    self._writable_file.flush()
tensorflow.python.framework.errors_impl.FailedPreconditionError: llama2-outputs/runs/Sep16_11-10-56_0a47c1af07b4/events.out.tfevents.1694866816.0a47c1af07b4.2289.0; Transport endpoint is not connected

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2099, in showtraceback
    stb = value._render_traceback_()
AttributeError: 'FailedPreconditionError' object has no attribute '_render_traceback_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1101, in get_records
    return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 248, in wrapped
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 281, in _fixed_getinnerframes
    records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
  File "/usr/lib/python3.10/inspect.py", line 1662, in getinnerframes
    frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
  File "/usr/lib/python3.10/inspect.py", line 1620, in getframeinfo
    filename = getsourcefile(frame) or getfile(frame)
  File "/usr/lib/python3.10/inspect.py", line 829, in getsourcefile
    module = getmodule(object, filename)
  File "/usr/lib/python3.10/inspect.py", line 861, in getmodule
    file = getabsfile(object, _filename)
  File "/usr/lib/python3.10/inspect.py", line 845, in getabsfile
    return os.path.normcase(os.path.abspath(_filename))
  File "/usr/lib/python3.10/posixpath.py", line 384, in abspath
    cwd = os.getcwd()
OSError: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3553, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-27-3435b262f1ae>", line 1, in <cell line: 1>
    trainer.train()
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 1545, in train
    return inner_training_loop(
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 1901, in _inner_training_loop
    self._maybe_log_save_evaluate(tr_loss, model, trial, epoch, ignore_keys_for_eval)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 2212, in _maybe_log_save_evaluate
    self.log(logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 2591, in log
    self.control = self.callback_handler.on_log(self.args, self.state, self.control, logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer_callback.py", line 390, in on_log
    return self.call_event("on_log", args, state, control, logs=logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer_callback.py", line 397, in call_event
    result = getattr(callback, event)(
  File "/usr/local/lib/python3.10/dist-packages/transformers/integrations.py", line 662, in on_log
    self.tb_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/writer.py", line 1200, in flush
    writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/writer.py", line 150, in flush
    self.event_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/event_file_writer.py", line 125, in flush
    self._async_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/event_file_writer.py", line 190, in flush
    self._writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/record_writer.py", line 43, in flush
    self._writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/lib/io/file_io.py", line 221, in flush
    self._writable_file.flush()
tensorflow.python.framework.errors_impl.FailedPreconditionError: llama2-outputs/runs/Sep16_11-10-56_0a47c1af07b4/events.out.tfevents.1694866816.0a47c1af07b4.2289.0; Transport endpoint is not connected

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2099, in showtraceback
    stb = value._render_traceback_()
AttributeError: 'FailedPreconditionError' object has no attribute '_render_traceback_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3473, in run_ast_nodes
    if (await self.run_code(code, result,  async_=asy)):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3575, in run_code
    self.showtraceback(running_compiled_code=True)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
    stb = self.InteractiveTB.structured_traceback(etype,
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1367, in structured_traceback
    return FormattedTB.structured_traceback(
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1267, in structured_traceback
    return VerboseTB.structured_traceback(
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1124, in structured_traceback
    formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
    last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 382, in find_recursion
    return len(records), 0
TypeError: object of type 'NoneType' has no len()

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2099, in showtraceback
    stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1101, in get_records
    return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 248, in wrapped
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 281, in _fixed_getinnerframes
    records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
  File "/usr/lib/python3.10/inspect.py", line 1662, in getinnerframes
    frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
  File "/usr/lib/python3.10/inspect.py", line 1620, in getframeinfo
    filename = getsourcefile(frame) or getfile(frame)
  File "/usr/lib/python3.10/inspect.py", line 829, in getsourcefile
    module = getmodule(object, filename)
  File "/usr/lib/python3.10/inspect.py", line 861, in getmodule
    file = getabsfile(object, _filename)
  File "/usr/lib/python3.10/inspect.py", line 845, in getabsfile
    return os.path.normcase(os.path.abspath(_filename))
  File "/usr/lib/python3.10/posixpath.py", line 384, in abspath
    cwd = os.getcwd()
OSError: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3553, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-27-3435b262f1ae>", line 1, in <cell line: 1>
    trainer.train()
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 1545, in train
    return inner_training_loop(
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 1901, in _inner_training_loop
    self._maybe_log_save_evaluate(tr_loss, model, trial, epoch, ignore_keys_for_eval)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 2212, in _maybe_log_save_evaluate
    self.log(logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py", line 2591, in log
    self.control = self.callback_handler.on_log(self.args, self.state, self.control, logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer_callback.py", line 390, in on_log
    return self.call_event("on_log", args, state, control, logs=logs)
  File "/usr/local/lib/python3.10/dist-packages/transformers/trainer_callback.py", line 397, in call_event
    result = getattr(callback, event)(
  File "/usr/local/lib/python3.10/dist-packages/transformers/integrations.py", line 662, in on_log
    self.tb_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/writer.py", line 1200, in flush
    writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/tensorboard/writer.py", line 150, in flush
    self.event_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/event_file_writer.py", line 125, in flush
    self._async_writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/event_file_writer.py", line 190, in flush
    self._writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorboard/summary/writer/record_writer.py", line 43, in flush
    self._writer.flush()
  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/lib/io/file_io.py", line 221, in flush
    self._writable_file.flush()
tensorflow.python.framework.errors_impl.FailedPreconditionError: llama2-outputs/runs/Sep16_11-10-56_0a47c1af07b4/events.out.tfevents.1694866816.0a47c1af07b4.2289.0; Transport endpoint is not connected

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2099, in showtraceback
    stb = value._render_traceback_()
AttributeError: 'FailedPreconditionError' object has no attribute '_render_traceback_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3473, in run_ast_nodes
    if (await self.run_code(code, result,  async_=asy)):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3575, in run_code
    self.showtraceback(running_compiled_code=True)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
    stb = self.InteractiveTB.structured_traceback(etype,
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1367, in structured_traceback
    return FormattedTB.structured_traceback(
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1267, in structured_traceback
    return VerboseTB.structured_traceback(
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1124, in structured_traceback
    formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
    last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 382, in find_recursion
    return len(records), 0
TypeError: object of type 'NoneType' has no len()

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2099, in showtraceback
    stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3030, in _run_cell
    return runner(coro)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/async_helpers.py", line 78, in _pseudo_sync_runner
    coro.send(None)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3257, in run_cell_async
    has_raised = await self.run_ast_nodes(code_ast.body, cell_name,
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3492, in run_ast_nodes
    self.showtraceback()
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
    stb = self.InteractiveTB.structured_traceback(etype,
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1367, in structured_traceback
    return FormattedTB.structured_traceback(
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1267, in structured_traceback
    return VerboseTB.structured_traceback(
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1142, in structured_traceback
    formatted_exceptions += self.format_exception_as_a_whole(etype, evalue, etb, lines_of_context,
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
    last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 382, in find_recursion
    return len(records), 0
TypeError: object of type 'NoneType' has no len()

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2099, in showtraceback
    stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 1101, in get_records
    return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 248, in wrapped
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/IPython/core/ultratb.py", line 281, in _fixed_getinnerframes
    records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
  File "/usr/lib/python3.10/inspect.py", line 1662, in getinnerframes
    frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
  File "/usr/lib/python3.10/inspect.py", line 1620, in getframeinfo
    filename = getsourcefile(frame) or getfile(frame)
  File "/usr/lib/python3.10/inspect.py", line 829, in getsourcefile
    module = getmodule(object, filename)
  File "/usr/lib/python3.10/inspect.py", line 861, in getmodule
    file = getabsfile(object, _filename)
  File "/usr/lib/python3.10/inspect.py", line 845, in getabsfile
    return os.path.normcase(os.path.abspath(_filename))
  File "/usr/lib/python3.10/posixpath.py", line 384, in abspath
    cwd = os.getcwd()
OSError: [Errno 107] Transport endpoint is not connected

Hmmm very strange, we do test 3.10 in the CI and everything seems to work fine so far: https://github.com/huggingface/trl/blob/main/.github/workflows/tests.yml#L33
@vwxyzjn  @tomaarsen do you know by any chance what this might be?

Transport endpoint is not connected seems to occur more often in Google Colab, e.g. related to a drive not being correctly mounted. You can often fix it with restarting the runtime or re-fusing some drive: https://stackoverflow.com/questions/49588113/google-colab-script-throws-transport-endpoint-is-not-connected
Alternatively, you can uninstall tensorboard as it's triggering the exception. Perhaps W&B gives you more luck?

Thanks for these amazing pointers @tomaarsen ! @YeonwooSung could you let us know if this resolves your issues?

@younesbelkada Yes, I was able to solve this issue by adding auto remount callback function.
Seems like it is necessary to remount when your notebook uses many disk writing operations in Google Colab..
@tomaarsen Thanks so much for help!

Thanks ! Marking this issue as solved, feel free to re-open if you think we still need to address it


Upgrading from 0.12.1 to 3.1.0: acts_as_authorisation_subject overriding users association

Hi there,
We have a Rails 5.0.7 (Ruby v2.2.10) application using ACL9 v0.12.1.  Precisely the Gemfile is pointing to this fork, master branch.
I am trying to update it to your latest v3.1.0 and I'm having a few issues.  In my understanding ACL9 is now defining a users association on our Organisation model through acts_as_authorization_subject, which I infer from this piece of doc here.
Using the old gem the active record association was called, but using the latest gem this snippet is overriding the AR association.
Maybe I could understand better how to fix our problem if this TODO part was written:

TODO - also add the object.users and object.users :manager interface.

But any help is appreciated.
Context
This is what we have:
class User < ActiveRecord::Base
  acts_as_authorization_subject association_name: :roles, join_table_name: :roles_users
  belongs_to :organisation
  # [...]
end

class Organisation < ActiveRecord::Base
  acts_as_authorization_object
  has_many :users # Gets overwritten and now returns []
  # [...]
end

Thank you very much.

Hey there, sorry for the delay...
That association has always been there (here's the code for it in 0.12.1), but yeah, the association in 3.x is now called assoc_users and as you pointed out, a new method has been written called users which will be masking your association.
Seeing as you're using your own association from Organisation to User, you can't ever have been using the ones defined in acts_as_authorization_object and IIRC, nothing else uses them, so you should be able to replace that call with include Acl9::ModelExtensions::ForObject and you should be fine.
I'll close this for now, but if that doesn't work then feel free to reopen.

Pretty clear, I don't think we've ever used that acts_as_authorization_object functionality, all our Roles have authorizable = nil, so I am deleting that line of code.  The rest of the update seems to be fine.
Glad to see the project is actively maintained.
Thank you very much for your time and this beautiful gem.


AdminLTE  IFrame

Question
Answer

Issue or Enhancement
Enhancement

License
MIT

What's in this PR?
### Support the feature IFrame.
Question about: https://github.com/jeroennoten/Laravel-AdminLTE/issues/917
-After activating the IFrame, all Pages already assumed will be automatically loaded into a Frame.
-Compatible with pages already implemented in the traditional model without having to change any line of code
New configuration in Config/AdminLTE:
'layout_iframe' => [
'active' => true, /Active views in Frame/
'url-default' => [
'url' => '', /If you want to start with a page loaded Ex: Dashboard/
'title' => 'Dashboard', /Title/Caption de default Page/
],
'buttons' => [
'close'=> [
'active' => true,
'caption' => 'Close',
],
'close-all'=> [
'active' => true,
'caption' => 'Close All',
],
'close-all-other'=> [
'active' => true,
'caption' => 'Close All Other',
],
'scroll-left'=> true,
'scroll-right'=> true,
'fullscreen'=> true,
],
'captions' => [
'no-tab' => 'No tab selected!',
'loading' => 'Tab is loading',
]
],
Checklist

[x]  I tested these changes.

Hi @Shidersz, Could you help me with this conflict on CI?

@warquia in the last line of the new config are spaces. The spaces should be remove, so the ci will be run correct. :)
https://github.styleci.io/analyses/QM5wZO?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Is the menu prepared for the iframe, so that links will be open in the iframe? Or changes are needed? @warquia @Shidersz

Good night @resslinger, no changes will be necessary, when activated all menu links will be rederized within the IFrame if no refactoring by users,

@resslinger Não tenho certeza, não tenho nenhuma experiência com o recurso IFrame do AdminLTE. Precisamos fazer uma análise / teste em profundidade antes da fusão. Precisamos ter certeza de que isso não entre em conflito com outras coisas, porque custa muito tempo para colocar o pacote em um ponto estável com os componentes e AdminLTE v3.1.

@resslinger Não tenho certeza, não tenho nenhuma experiência com o recurso IFrame do AdminLTE. Precisamos fazer uma análise / teste em profundidade antes da fusão. Precisamos ter certeza de que isso não entre em conflito com outras coisas, porque custa muito tempo para colocar o pacote em um ponto estável com os componentes e AdminLTE v3.1.

I agree with you @Shidersz .
Tomorrow morning I will update the sources

Thanks @warquia . I'm currently out of free time, but I will try to review this new feature as soon as I can. By the time, try to use git rebase to update this branch to the last commit of the master. You may need to configure this project as a remote of your local git repo, so you can pull changes made on the master of this repo and sync your master branch. Read here for details...

Why this was merged? It was not tested or reviewed and there is no documentation on the wiki. I'm sure there are a lot of fix and improvements to do on the configuration format and the layout... Personally, I will have waited some time...

I need this in a other project, so I work on it. It is not published as a release, so we can improve and fix that.

Ok, what is the main benefit of using the IFrame plugin? I'm still not sure...

You can test it on the demo site: https://adminlte.io/themes/v3/iframe.html
With the iframe feature, all links will be open on the same site. So you can work with more open sites in one window. :)

Ok, I believe, for the amount of configuration options available, it should be moved to a different section other than layout.

I have reverted the merge to master branch and created the branch "add-feature-iframe". In this branch, we can optimize and change the iframe integration.

@resslinger Thanks you, I will give this a try soon...


Dependencies: upgrade required nodejs version and supported EcmaScript version

Just a little issue to ask whether what I suggest may be welcome or may encounter objections.
I just felt a bit frustrated to not be able to use some EcmaScript features, like Object.fromEntries, which is now official since ES2019, because the ecmascript version target for typescript is 2017.
FWIW, some other features are summarized in the kangax table
As latest nodejs LTS is v18 and Debian stable also embeds v18, I would suggest to upgrade:

the version specified in .nvmrc to the latest LTS;
the recommended version in the development guide;
the target version for typescript
the version of nodejs in Dockerfile

If you're OK with that, I would be happy to open a new PR for this and see whether the tests continue to pass :)

I believe @georgegevoian has some work in progress related to v18, right George? For the ecmascript version target, what do you think @dsagal, is is finally time to bump it up?

I believe @georgegevoian has some work in progress related to v18, right George? For the ecmascript version target, what do you think @dsagal, is is finally time to bump it up?

That's right. Should be done soon.

For the ecmascript version target, what do you think @dsagal, is is finally time to bump it up?

That being said, I did not consider browsers while thinking of this. Maybe that's reasonable to use a different target for the client code.

I am late to see the huge work made by @georgegevoian two months ago (thank you!)
This issue is nearly solved. There still is the question of the target version for Typescript and of the parser version for Eslint.
NodeJS seems to have a good implementation of EcmaScript 2023, but that's trickier for the browsers, even though theoretically it should be safe assuming browsers are up-to-date.
If you want me to take a look at it, I'll be glad!

tagging @dsagal on the question of whether the time has come to bump the target version for Typescript. We have periodically considered and rejected it for compatibility reasons.

I close this issue in favor of #897  (unless I miss some point discussed here that is missing there)


Add Var.resampled_as

closes #65 - This PR add Var.resampled_as which has the same functionality as resample in ClimaCoupler. Additionally, Var._check_dims_consistent is made to help with checking that the dim in two OutputVar are consistent. Lastly, Var.dim_type is added to find the type of a dimension given the name of the dimension.

You should also add Iterators to the package dependencies (with compat 1)


Remove opus and libsodium binaries from this repository

Maintaining up-to-date binaries for these libraries in this repository was a terrible idea (and not even followed by myself since they are like 5 years old). They should be replaced with links/instructions for downloading them.

Done on dev