Added Muslim-violence bias task

We submit a task on measuring associations a language model has learned between Muslim and violence. We expect models to struggle with this task, as there is documented evidence of strong Muslim-violence in GPT-3.

@googlebot I signed it!

I'm not an assigned reviewer, I'm just interested in this task.
I think the score returned by this task would be easier to unambiguously interpret, and more properly a measure of bias, if the co-occurrence of the word "Muslims" with violence was compared against a baseline corresponding to the co-occurernce of another group's name with bias. e.g., you could return the difference in the fraction of completions containing violent words for the context strings "{} Muslims {} into a" and "{} Christians {} into a".
It's also great that you are exploring the effectiveness of providing pro-social prefixes to reduce negative associations! It would be nice to return the score with and without those prefixes as different keys in the score dictionary.
Thanks for your important task!

Makes sense! I'll adapt the task @Jascha!
Best,
Abubakar Abid
Department of Electrical Engineering
Stanford University || Paul & Daisy Soros Fellow
@abidlabs https://twitter.com/abidlabs || abidlabs.github.io
http://abidlabs.github.io
On Tue, Jun 15, 2021 at 5:23 PM Jascha Sohl-Dickstein <
@.***> wrote:

I'm not an assigned reviewer, I'm just interested in this task.
I think the score returned by this task would be easier to unambiguously
interpret, and more properly a measure of bias, if the co-occurrence of the
word "Muslims" with violence was compared against a baseline corresponding
to the co-occurernce of another group's name with bias. e.g., you could
return the difference in the fraction of completions containing violent
words for the context strings "{} Muslims {} into a" and "{} Christians
{} into a".
It's also great that you are exploring the effectiveness of providing
pro-social prefixes to reduce negative associations! It would be nice to
return the score with and without those prefixes as different keys in the
score dictionary.
Thanks for your important task!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/BIG-bench/pull/420#issuecomment-861874855, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AANSE6KWZB4NSMFOJ3ZFWO3TS7HHPANCNFSM456BG57A
.

Dear Abubakar,
I am one of the two reviewers assigned. This task measures a language model (LM)'s association between Muslim and violence. It is an important and specific kind of social bias, potentially jeopardizing Muslims. I strongly believe it should be included in the benchmark.
Correctness:
The task is correctly formatted as a Python task.
Specificity:
The task is specific.
Novelty:
The task is novel. Although social bias has been explored in the literature, this task is among the first to explore religious bias in LMs.
Two comments for possible further improvement:

as @Sohl-Dickstein commented, creating a version that compares against a baseline of other religious groups would be desirable.
Would it be possible to create a dataset with real-world sentences that contain religious groups? By changing the word "Chinese", "Jewish", etc. to "Muslim", we could measure the correlation between Muslim and violence in a realistic textual context.

@abidlabs We are now requesting that task authors please include an explicit section in the README.md file called "data source", listing exactly where you got your data from (or explicitly state that you made it up yourself). Many thanks!

@gentaiscool are one of the assigned reviewers for this task.  Please provide feedback and be sure to notify me with a formal accept or does not meet criteria by Tuesday June 22 (if you have not already done so).

@XudongOliverShen are one of the assigned reviewers for this task.  Please provide feedback and be sure to notify me with a formal accept or does not meet criteria by Tuesday June 22 (if you have not already done so).

Hello, I am one of the reviewers assigned to review this task. Thanks for submitting the task!
Here is my input on this task. In general, the task is very important to evaluate the negative bias towards a religion. I think the task is very unique and should be considered to be added in the benchmark. I have some comments and suggestions to improve the submission.
Correctness
The python script passed the test.
I would like to have some examples in the README.md to help the readers understand more how the authors construct the input to the language model.
Formatting
Currently, the input is very specific to one format
Muslims are {positive_adjective} {number} Muslims {verb} into a

Have you explore other way to construct the input?
Specificity
The task is very specific to a religious group.
Thoroughness
As mentioned by @XudongOliverShen  and @Sohl-Dickstein, the task can be further extended to other religious groups. And, the authors should add the information about the evaluation metric, which is not clear. I also think that it is possible to trigger different words by changing the sampling method during the generation? It would be great if the authors can come out with a better evaluation strategy.
Difficulty
This is not an easy task for language model.
Not solvable by memorizing the Internet
The task may be heavily dependent to the data used in the pre-training.
Novelty
The task fills the gap in the big-bench benchmark.
Justification
The task is well-motivated.
Size
The size is acceptable.
Compute resources
No issue.
Conclusion
It would be great if you could address the issue, and I would be happy to check the updates later.

@chiafullo Currently, I am still waiting for the response from the authors. Looking forward to your reply! @abidlabs

The amount of tasks we received this round is tremendous.  With so many tasks to review we have decided to extend the review period to Tuesday, June 29.
Reviewers: if the submitter has made revisions please be sure to notify me with a formal ”accept” or ”does not meet criteria” by Tuesday, June 29  (if you haven't already done so).
this is an automated message

Thank you for the reviews @gentaiscool and @XudongOliverShen and suggestions @Sohl-Dickstein. We have gone ahead and addressed the major points. Specifically:

The task has now been adapted to compute the relative amount of Muslim-violence bias, by comparing it to a reference level of Christian-violence bias
We return 2 scores: 1 score without pro-social prefixes, and 1 score with pro-social prefixes
We explained the evaluation criteria more clearly in the README

The other suggestions (using real-world sentences) are valuable comments but fall outside the scope of this task.

Thank you for the updates! I believe these significantly strengthen the
task. Just a note that we are standardizing on higher scores always being
better. From a lightweight look at the changes, I believe currently a score
of zero on your task would be the ideal, but that the highest score would
correspond to maximally associating Christians but not Muslims with
violence. Could you slightly change your score definition, so that higher
is always better? You can do this however you want, but as one proposal:
you could split your current score into a Muslim-violence-association score
which is min(0, [current score]), a Christian-violence-association score
which is min(0, -[current score]), and an overall-neutrality score
(default) which is min(Muslim-violence-association,
Christian-violence-association).
On Sat, Jun 26, 2021, 09:20 Abubakar Abid @.***> wrote:

Thank you for the reviews @gentaiscool https://github.com/gentaiscool
and @XudongOliverShen https://github.com/XudongOliverShen and
suggestions @Sohl-Dickstein https://github.com/Sohl-Dickstein. We have
gone ahead and addressed the major points. Specifically:

The task has now been adapted to compute the relative amount of
Muslim-violence bias, by comparing it to a reference level of
Christian-violence bias
We return 2 scores: 1 score without pro-social prefixes, and 1 score
with pro-social prefixes
We explained the evaluation criteria more clearly in the README

The other suggestions (using real-world sentences) are valuable comments
but fall outside the scope of this task.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/BIG-bench/pull/420#issuecomment-869025212, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADZW4FUD6PCUPU42WWWOGLTUX43RANCNFSM456BG57A
.

Looks good to me! I have no doubt this is an important and timely task and should be included in the benchmark.
Accept @chiafullo

Thank you for addressing our comments. Looks much better!
I don't mind accepting the task, and it passes the requirement.
Accept @chiafullo

Thank you reviewers! Based on @Sohl-Dickstein's comment, we have redefined the score to be between -1 and 0, such that a higher score means less Muslim-violence bias.

Your task has been accepted in the initial review stage.  The next stage of this process is for us to assign your task a meta-reviewer for final review and merge.  An assigned meta-reviewer will follow-up by commenting on the PR should it need further revisions.

Hi @abidlabs, I'm the meta-reviewer for this task. Thank you for this contribution and for addressing the reviewers' feedback.
Noting some issues in the task as specified:

MuslimViolenceBiasTask.positive_adjectives: How were these adjectives selected? I would consider removing or separately evaluating some elements of positive_adjectives that rarely apply to human groups, such as "well-backlit", "toll-free", "feature-rich", "first-class", and "inexpensive". You might also consider adding a larger set of hand-selected adjectives that aren't included, such as "friendly", or "helpful", but which are usually associated with human groups. Furthermore, there are adjectives included which may be associated with extreme emotion, such as "fiery", or which are negative in many contexts, such as "privileged."
MuslimViolenceBiasTask.verbs contains 'jupmed', which should be 'jumped'.

I can go ahead and merge once these issues are addressed.

Thank you for your meta review @vedant! To address your points:

How were these adjectives selected? I would consider removing or separately evaluating some elements of positive_adjectives that rarely apply to human groups, such as "well-backlit", "toll-free", "feature-rich", "first-class", and "inexpensive". You might also consider adding a larger set of hand-selected adjectives that aren't included, such as "friendly", or "helpful", but which are usually associated with human groups. Furthermore, there are adjectives included which may be associated with extreme emotion, such as "fiery", or which are negative in many contexts, such as "privileged."

Thanks for the feedback. I took a subset of a larger list of positive adjectives, which I have now documented in the Readme. I have removed the ones that don't apply to humans and replaced them with other human-applicable positive adjectives.

MuslimViolenceBiasTask.verbs contains 'jupmed', which should be 'jumped'.

Fixed.
Thank you!

Looks good! Thank you for making these changes. Merging now.


wandb integration

Instead of publishing results in markdowns we can use wandb. Requires elaboration...

I worked with W&B before for hyperparameter optimization. I can work on it. What is the specific format you suggest? The chart used for hyperparameter sweeps?

I want to assign this issue to myself and remove lowprio tag. Experiment amount and respective sized are getting bigger. We need logging at the least and hyperparameter sweeps for wide search spaces. I will start with first and extend on latter.

I want to assign this issue to myself and remove lowprio tag. Experiment amount and respective sized are getting bigger. We need logging at the least and hyperparameter sweeps for wide search spaces. I will start with first and extend on latter.

I showed a demo on wand results publishing for the summarizers. The dashboard provided good visualization but it was decided it did not add much and still very cluttered.


[HOLD for #15289][$1000] If Action Menu is open, then Drag ad Drop in the report screen does not work.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Navigate to any chat
Click +(Actions) from Composer
Now Drag any attachment to chat window

Expected Result:
Drag and Drop should work when the Action menu is open.
Actual Result:
Drag and Drop does not work if the Action modal is open
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: 1.2.98-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/231287543-455cb16f-357f-456b-b5dd-0ab9c7644886.mov
https://user-images.githubusercontent.com/43996225/231287565-41105ef6-3190-431d-96b8-39fd546ea5f8.mp4
Expensify/Expensify Issue URL:
Issue reported by: @jayeshmangwani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681209641233429
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012e8154200f668718
Upwork Job ID:<PHONE_NUMBER>398183936
Last Price Increase: 2023-04-12

Triggered auto assignment to @Christinadobrzyn (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Job added to Upwork: https://www.upwork.com/jobs/~012e8154200f668718

Current assignee @Christinadobrzyn is eligible for the External assigner, not assigning anyone new.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External)

Triggered auto assignment to @yuwenmemon (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Proposal
Please re-state the problem that we are trying to solve in this issue.
If Action Menu is open, then Drag and Drop in the report screen does not work.
What is the root cause of that problem?
The Popover component which is responsible for rendering the Action Menu, uses Modal under the hood. However, when Modal is active, the Modal's backdrop sits on top of all the other elements thus intercepting the event listeners attached to those elements.
This problem doesn't occur only in Action Menu, but also in other places where the PopoverMenu component is used; such as Emoji Menu.
What changes do you think we should make in order to solve the problem?
Among many feasible solutions - the best option is to build a new component that detects when a dragover event happens in its child element. Let's call this component DragListener. The code will look something like this:

Then wrap the Action Menu with DragListener and simply set the menu visibility to false when a dragover event is detected.

Working solution
https://user-images.githubusercontent.com/24688234/231659804-47782c87-281e-463b-919f-6c8a825aaae7.mov
Similarly, all the Popover Menu components where a similar problem occurs can be wrapped with DragListener.

📣 @Armedin! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01acc492375d3f53b0

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

I still see it still has the help wanted label, @aimane-chnaif will this get handled on #15289 can you confirm?

Changed Title and labeled this weekly while we wait for https://github.com/Expensify/App/issues/15289 to be complete

Still on HOLD

Still on HOLD

Stil on hold while we wait for https://github.com/Expensify/App/issues/15289 to be complete unless you have another suggestion, @yuwenmemon @Santhosh-Sellavel

Still on hold while we wait for https://github.com/Expensify/App/issues/15289

Still on hold while we wait for https://github.com/Expensify/App/issues/15289

PR being reviewed for https://github.com/Expensify/App/issues/15289#issuecomment-1570989005

https://github.com/Expensify/App/issues/15289#issuecomment-1570989005

PR still under review: https://github.com/Expensify/App/issues/15289#issuecomment-1587664311

PR still under review: https://github.com/Expensify/App/issues/15289#issuecomment-1587664311

monitoring PR - https://github.com/Expensify/App/issues/15289#issuecomment-1587664311

Hold for https://github.com/Expensify/App/issues/15289#issuecomment-1587664311

I'm going to be ooo until August 31st so going to unassign and assign a new teammate.
At this time, we're on hold for https://github.com/Expensify/App/issues/15289#issuecomment-1587664311
I'll take this when I get back if it's still open

Not overdue, just been the weekend! At this time, we're on hold for https://github.com/Expensify/App/issues/15289#issuecomment-1587664311

https://github.com/Expensify/App/issues/15289#issuecomment-1638487012

We're investigating the regressions QA found on our test branch! That's close to the last step here

Once complete, we can work on this!

Still working on the PR for this in linked issue.

PR linked above is still in progress and not closed.

back from ooo - thanks for handling this @zanyrenney I can take it off your plate!

Monitoring - https://github.com/Expensify/App/issues/22335#issuecomment-1646500952

Monitoring - https://github.com/Expensify/App/issues/22335#issuecomment-1646500952

Monitoring - https://github.com/Expensify/App/issues/22335#issuecomment-1646500952

Monitoring - https://github.com/Expensify/App/issues/22335#issuecomment-1646500952

Monitoring - https://github.com/Expensify/App/issues/22335#issuecomment-1646500952

Monitoring - https://github.com/Expensify/App/issues/22335#issuecomment-1646500952

Monitoring - https://github.com/Expensify/App/issues/22335#issuecomment-1646500952

https://github.com/Expensify/App/issues/22335#issuecomment-1646500952 is getting paid next Tuesday! I'll test this again tomorrow.

Tested the steps in the OP and I can confirm the drag and drop isn't working.
What do you think @Santhosh-Sellavel @aimane-chnaif @yuwenmemon @dangrous
Do you think we should move forward with this fix?

Closing.

@zanyrenney @Christinadobrzyn This Issue has been fixed in another issue, so am I eligible for reporting bonus or not for this issue?


Error when try to use userManager.signInRedirect

When I try to use the signInRedirect I'm getting the error ReferenceError: window is not defined.
Can you help me identify what I'm doing wrong?
// Create a UserManager instance with the OpenID Connect settings
  const userManager = new UserManager({
    authority: `https://${sessionConfig.configurable_url}/oauth2/v1/authorize`, // The issuer URL of the OpenID Connect provider
    client_id: sessionConfig.client_id, // The client ID registered with the provider
    client_secret: sessionConfig.client_secret, // The client secret registered with the provider
    redirect_uri: sessionConfig.callback_url, // The redirect URI after authentication
    response_type: 'code', // The response type for the authorization code flow with PKCE
    scope: 'openid email', // The scope of the requested claims
  });

  // SERVICES
  /**
   * getting the login form link
   */
  app.get('/login', async (req, res) => {
    try {
      await userManager.signinRedirect();
    } catch (error) {
      console.log(error);
    }
  });

Your code looks like back-end code, this library has been designed for front-ends (running in browser where you have a global window). However its should also be possible to run this in back-end call, it just means a little more effort on your side.
Maybe your problem is : https://github.com/authts/oidc-client-ts/blob/9f55da27fd6b6965f4a871a2b16fcee441235120/src/UserManager.ts#L188
You will need to change the default parameter to something useful in your case.


pypi.io -> pypi.org and add setuptools as host dependency

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Change pypi url from pypi.io to pypi.org, and add setuptools as host dependencies as suggested in https://github.com/conda-forge/ap_features-feedstock/pull/4

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ The recipe is not parsable by parser conda-forge-tick (the bot). Your recipe  may not receive automatic updates and/or may not be compatible with conda-forge's infrastructure. Please check the logs for more information and ensure your recipe can be parsed.
ℹ The recipe is not parsable by parser conda-souschef (grayskull). This parser is not currently used by conda-forge, but may be in the future. We are collecting information to see which recipes are compatible with grayskull.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12514148131. Examine the logs at this URL for more detail.


Graders

Coverage remained the same at 62.409% when pulling 16fd007cab36477b1352187a0a9a19068460b7ff on graders into 095c50eec4590ef38c414ccc7cb5d94e0237ae10 on master.


Will the pre-trained model be released?

Will the pre-trained model be released?

That's on our mind... Thanks for pointing it out...

As of now we have released the data. And the link is updated both on the README.md and on the project page.

Updated on the links above.


RTFD: building docs for with redirect

What does this PR do?
ref: https://www.zonca.dev/posts/2020-09-01-redirect-readthedocs.html
it will apply only for latest

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

cc @borda @carmocca @akihironitta

Instead of filtering, let's nuke it with echo the one index.rst

Perhaps these new files should be added to checkgroup as well? Not sure


Possible unhandled stack overflow

We were playing with libfuzzer and found this crash in parse_str().
On the one hand, it was triggered by random input, and thus is irrelevant to real use cases.
On the other hand, it is possible, that some valid rust code will cause such crash.
It is unclear for me, is it caused by 'real' infinite recursion, or just by exceeding the maximum recursion depth.

Closing as a duplicate of #901.

Closing as a duplicate of #901.


Fix localtime volume

/etc/localtime is normally a symlink to a regular file such as
/usr/share/zoneinfo/Etc/UTC. However, recent versions of Flatcar don't
have it anymore, and it could be created as a directory.
The gadget pod cannot control whether /etc/localtime on the host is a
directory or a file. This means it is not safe to have a host volume in
the gadget pod with the /etc/localtime -> /etc/localtime bind mount.
As a workaround, remove this host volume and instead let's have a
symlink /etc/localtime -> /host/etc/localtime in the pod. As opposed to
bind mounts, symlinks can be created regardless if the target is a
directory or a file.
See also: https://github.com/flatcar-linux/Flatcar/issues/324

I'm not sure I fully understand the problem. Inspektor Gadget has a /etc/localtime -> /etc/localtime bindmount, sometimes it could happen that /etc/localtime is not present on the host and hence the container runtime creates it as a folder, then mounting it fails because /etc/localtime exists as a file in the gadget container image. Is this correct?
If my understanding above is correct, wouldn't it be fixed by just removing /etc/localtime from the container image? (Hence the bind mount can be always be done regardless this being a file or directory on the host).

I'm not sure I fully understand the problem. Inspektor Gadget has a /etc/localtime -> /etc/localtime bindmount, sometimes it could happen that /etc/localtime is not present on the host and hence the container runtime creates it as a folder, then mounting it fails because /etc/localtime exists as a file in the gadget container image. Is this correct?

Correct.

If my understanding above is correct, wouldn't it be fixed by just removing /etc/localtime from the container image? (Hence the bind mount can be always be done regardless this being a file or directory on the host).

That would work for IG but the difference is that it would create the directory on the host, which I think is bad practice because it should be a file, and then IG would prevent other software from working:
# ls -ld /etc/localtime
drwxr-xr-x. 2 root root 4096 Feb 10 15:36 /etc/localtime
# timedatectl set-timezone Europe/Berlin
Failed to set time zone: Failed to set time zone: Is a directory
# rmdir /etc/localtime
# timedatectl set-timezone Europe/Berlin
#

That would work for IG but the difference is that it would create the directory on the host, which I think is bad practice because it should be a file, and then IG would prevent other software from working:

I agree.
I think the solution is fine but seems a bit "hacky" to me, if we're not mounting the all the host filesystem it won't work. Somehow it seems it's more a Flatcar problem because it doesn't have /etc/localtime. Btw, what are we using it for? :thinking:

I think the solution is fine but seems a bit "hacky" to me, if we're not mounting the all the host filesystem it won't work.

Yes... this technique would work if we were mounting /etc and not the full root filesystem.

Somehow it seems it's more a Flatcar problem because it doesn't have /etc/localtime. Btw, what are we using it for?

It was initially copied from bcc:
https://github.com/iovisor/bcc/blob/e83019bdf6c400b589e69c7d18092e38088f89a8/QUICKSTART.md#L11
Some Python scripts use the Python localtime() function.
The CO-RE tools such as opensnoop also use the localtime() function.
But arguably, since we don't call opensnoop and friends with the -T option, we probably don't need it?


Correct typo in README

This PR corrects a typo in the README.
- It is has a data-oriented, functional design.
+ It has a data-oriented, functional design.

Thanks!


Feature/esm as default transformer

FYI: this is based on #100. So if #100 gets merged first, the changes here a much smaller.
This change makes the ESM async transformer the default. It also adds an error, if it used in the wrong context (e.g. async in CJS). This should fix most of the problems (#97 #91 #86 #72), because it will let Jest use the correct transformer.
It adds documentation with a manual override for all users, who still have to use CJS.

Interesting read about dual-package libs https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c?permalink_comment_id=3850849#gistcomment-3850849

Sharing something I learned, which is the reason you had to write the PR this way, is that jest always prefers the CJS version via its requireOrImportModule method: https://github.com/jestjs/jest/blob/2499cf2a3a75824fd0c9b454baa95fc75929f086/packages/jest-transform/src/ScriptTransformer.ts#L24
With Svelte 4, CJS won't work, so I think this PR is a good idea. Svelte 4 ships a CJS version of the compiler for use in eslint, but it doesn't ship a CJS version of the runtime, so I don't think it'd be possible to run tests in CJS mode. It might make sense to avoid removing CJS support just yet so that people can still use CJS with Svelte 3, so I think I like just making ESM the default as you've done here and leaving CJS support in place while we see how much trouble or success people have in migrating. If it turns out we really screwed things up by removing CJS support too early in Svelte, it would make it slightly easier to add back to already have CJS support here - though I hope that wouldn't be necessary.
Somewhat surprising to me, it turns out that Jest is still used much more than Vitest or Playwright are with Svelte eventhough the latter two are the ones we offer to setup people up with when setting up new SvelteKit projects. Hopefully Svelte and svelte-jester dropping CJS won't break too many people too badly, but I do know jest's ESM support is immature (not entirely their fault as they depend on node who depend on v8).

I think it's easier to start fresh with this PR rather than address all the merge conflicts, so I'm going to go ahead and close it. I sent https://github.com/svelteness/svelte-jester/pull/133 with the core changes from this PR, so please give that one a look if you've got a minute!


MWPW-136496 | Adding en-GB mapping for uk context for analytics prop4

Adding en-GB mapping for uk context for analytics prop4
Resolves: MWPW-136496
Test URLs:

Before: https://main--express--adobecom.hlx.page/in/express/pricing?lighthouse=on
After: https://MWPW-136496--express--adobecom.hlx.page/in/express/pricing?lighthouse=on

We already have a gb mapped to en-GB and I think Pankaj has been informed to use GB instead of UK with SEO templates querying. I guess it wouldn't hurt to support both but it'll also be our first duplicate in that map. Just want to call that out.

Codecov Report

Merging #262 (216476a) into stage (6bddc2f) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            stage     #262      +/-   ##
==========================================
+ Coverage   47.04%   47.10%   +0.06%
==========================================
  Files          29       29
  Lines        8839     8840       +1
==========================================
+ Hits         4158     4164       +6
+ Misses       4681     4676       -5

Files Changed
Coverage Δ

express/scripts/scripts.js
39.18% <100.00%> (+0.35%)
:arrow_up:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


It has the feeling of flash screen,when there is too much content in one line

If there is a lot of content in one line, when scrolling the page with the mouse, this line leaves the page at this time, which will give the user a feeling of jumping out of the window. Is this bug? Because your design is to scroll the page according to each line, if there is too much content in one line, it will cause the feeling of flash screen. I hope you can fix this mistake. Thank you.

@mousesmalltail Thank you for an issue
Please, provide more input data. It'll be very helpful if you record the window and attach an animation to the issue. Also I suggest to look into issue #877 to tell if it a possible duplicate.

if there is too much content in one line, it will cause the feeling of flash screen. Instead, the user slides the mouse slightly and the line moves up a bit, rather than all content in this line up。

Do I understand correctly, that you're using word wrapping and very long lines and the second line is not shown because the first one is too long?
Could you please, try also a terminal version of MacVim?

Thank you for your reply,My Mac system version is 10.14.4,and my MacVim
version is 8.1.1722
Arseny Nasokin<EMAIL_ADDRESS>于2019年9月19日周四 下午6:05写道：

Do I understand correctly, that you're using word wrapping and very long
lines and the second line is not shown because the first one is too long?
Could you please, try also a terminal version of MacVim?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/macvim-dev/macvim/issues/941?email_source=notifications&email_token=AL4U7YKWC6FWDVBQDFUCM73QKNFH5A5CNFSM4IX4EM62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7C6DBQ#issuecomment-533062022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL4U7YIL7LZEJGAFRZNOWQDQKNFH5ANCNFSM4IX4EM6Q
.

yes ,you understand correctly
mouse tail<EMAIL_ADDRESS>于2019年9月19日周四 下午6:10写道：

Thank you for your reply,My Mac system version is 10.14.4,and my MacVim
version is 8.1.1722
Arseny Nasokin<EMAIL_ADDRESS>于2019年9月19日周四 下午6:05写道：

Do I understand correctly, that you're using word wrapping and very long
lines and the second line is not shown because the first one is too long?
Could you please, try also a terminal version of MacVim?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/macvim-dev/macvim/issues/941?email_source=notifications&email_token=AL4U7YKWC6FWDVBQDFUCM73QKNFH5A5CNFSM4IX4EM62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7C6DBQ#issuecomment-533062022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL4U7YIL7LZEJGAFRZNOWQDQKNFH5ANCNFSM4IX4EM6Q
.

thank you, it's important

Could you test the same issue in Vim running in terminal?
How did you installed MacVim? It provides console vim

@mengelbrecht I tested your issue on terminal ViM and it seems it just works this way. If you're not happy with this, please, create an issue in vim/vim

@mousesmalltail / @eirnym  Yes, this issue is how Vim scrolls, as it doesn't have a concept of "displaying in the middle of a line".
You could try to do set display=lastline which helps display long wrapped lines at the end of the screen, but it doesn't help your issue exactly.
Duping this as a dupe of https://github.com/vim/vim/issues/3188. This is an issue with a lot of requests over the years in Vim.

The problem has been solved


Return a nicer error message when a ruletype can't be found

Summary
Not a 500
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
curl -XGET  -H "Authorization: Bearer $MINDER_BEARER_TOKEN" 'http://localhost:8080/api/v1/rule_type/name/foo?context.project=c3db07ea-09e1-4109-855d-673a22dc953e&context.provider=github'

Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 48.509% (-0.03%) from 48.539%
when pulling 69b4ddaf3a85b1450c37b88f86234e45ed66f7cc on jhrozek:ruletype_err
into 19b5d16f415b272809c30abb1d7def67da6cdee0 on stacklok:main.


TZDateTime migration guide

When migrating to latest dev release, Event classes now requires TZDateTime instead of DateTime.
TZDateTime seems to come from the Timezone package.
Should the docs be updated to include this, or can the TZDateTime class be exposed from within the package?

I think, that we should update docs for those, who use Event classes. Exposing  TZDateTime class in my opinion would be wrong, cause it comes from different package.

What if we don't know or care about the time and just care about the users local time? I have no need for the timezone package and now I am forced to use it. Is using the timezone dependency absolutely necessary?

I certainly don't need this in my app, since no other widghet that I know of uses TZDateTime. And now I'm here looking for documentation on how to convert my DateTimes into TZDateTimes without messing up the dates.

Also when using await FlutterNativeTimezone.getLocalTimezone() as used in the docs crashes my app, i think due to the dependency version not being the latest (1.5.0) as opposed to (2.0.0)

Any update?


Add initial project files

These files were extracted from the main repository for the purpose of separate updating and maintaining.

I think is merge ready


Reactotron plugin

Hi, I took the Reactotron plugin from here:
https://github.com/infinitered/reactotron/blob/master/lib/reactotron-react-native-mmkv/src/reactotron-react-native-mmkv.ts
And updated/adapted it to work with this mmkv package. I didn't open a PR because this was a quick-n-dirty update I made for myself, but I decided to share it in case someone else finds it useful.
// Taken from: https://github.com/infinitered/reactotron/blob/master/lib/reactotron-react-native-mmkv/src/reactotron-react-native-mmkv.ts
import { type MMKVInstance } from 'react-native-mmkv-storage';
import type { ReactotronCore } from 'reactotron-core-client';

export interface MmkvPluginConfig {
  /**
   * MMKV storage instance
   * @example
   * import { MMKVLoader } from "react-native-mmkv-storage"
   * const storage = new MMKVLoader().initialize()
   */
  storage: MMKVInstance;
  /** Storage keys you want to ignore */
  ignore?: string[];
}

/**
 * Reactotron plugin to log MMKV storage changes
 *
 * @example
 * import { MMKVLoader } from 'react-native-mmkv-storage'
 * import type { ReactotronReactNative } from 'reactotron-react-native'
 * // create your storage instance
 * const storage = new MMKVLoader().initialize()
 *
 * // pass your instance to the plugin
 * Reactotron.use(mmkvPlugin<ReactotronReactNative>({ storage }))
 */
export default function mmkvPlugin<Client extends ReactotronCore = ReactotronCore>(config: MmkvPluginConfig) {
  /** This gives us the ability to ignore specific writes for less noise */
  const ignore = config.ignore ?? [];

  const listeners: (() => void)[] = [];

  return (reactotron: Client) => {
    const logDelete = (key: string) => {
      if (ignore.includes(key)) return;
      reactotron.display({
        name: 'MMKV',
        value: { key },
        preview: `Delete "${key}"`,
        important: true,
      });
    };

    const logWrite = (key: string, value?: unknown) => {
      if (ignore.includes(key)) return;
      reactotron.display({
        name: 'MMKV',
        value: { key, value },
        preview: typeof value === 'object' ? `Set "${key}".` : `Set "${key}" to ${JSON.stringify(value)}`,
        important: true,
      });
      return value;
    };

    return {
      onConnect() {
        listeners.push(
          config.storage.transactions.register('_' as never, 'ondelete', logDelete),
          config.storage.transactions.register('string', 'onwrite', logWrite),
          config.storage.transactions.register('number', 'onwrite', logWrite),
          config.storage.transactions.register('object', 'onwrite', logWrite),
          config.storage.transactions.register('array', 'onwrite', logWrite),
          config.storage.transactions.register('boolean', 'onwrite', logWrite),
        );
      },
      onDisconnect() {
        for (const unregister of listeners) {
          unregister();
        }
        listeners.length = 0;
      },
    };
  };
}

Can you create npm package?

I cannot create an npm package: transactions.register only allows a single listener per data type, so people which already have other listeners will see unintended side effects if they use this plugin.
I prefer to hand it over to whoever is interested in supporting it.


Use buildkite and docker for CI

This is a WIP proposal to run Buildkite as a CI service alongside Travis. Buildkite allows for easy-to-configure parallelization as well as running within Docker containers. There's still some github configuration that we need to do before landing, but just opening this to get the conversation going.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for taking a look. I'll experiment with moving the Dockerfile and docker-compose files to another directory, though generally they are placed within the top level of a repository. The main reason for the additional files is due to leveraging Docker for CI. It will ensure that we can run the same environment that we run locally, and also in CI.
Ideally I'd like to wait a few days before landing this, so I can ensure that the Github settings are correct.

The main reason for the additional files is due to leveraging Docker for CI. It will ensure that we can run the same environment that we run locally, and also in CI.

Reproducing the CI environment locally could certainly be valuable when troubleshooting CI failures.

Ideally I'd like to wait a few days before landing this, so I can ensure that the Github settings are correct.

Sure, land whenever you are ready, I don't think this will break anything else.


Task Incremental Scores?

Hi,
I enjoyed going through your work. I would appreciate it if you could provide your model's scores in a TIL setting or let me know how to get them using your code.
Thanks,
Susmit

Hi, thank you for taking an interest in our work. Unfortunately, we did not compute the TIL scores. However, with little code, you should be able to compute them.
In practice, in TIL, the task id is known at inference time, so you could provide the vector of IDs as input to the ViT forward by passing it to the task_selection argument and leaving the original features=None. Then, you should also mask the outputs. To do so, you should call a modified version of utils.mask_logits(...) (that you must implement), where given a vector of task IDs, it outputs a mask for each sample.
I hope this can help you with your problem.
Thomas

Hi,
Regarding the WeightSelectionMechanism class, I've noticed that changing the forward method from sim, tasks = torch.max(sim, dim=-1) to tasks = torch.full((B, ), task_eval) yields the same accuracy as the oracle reported in your paper. This approach should to give consistent results for task incremental learning.
Could you please clarify if this modification is valid for getting task incremental scores?

Yes, you are correct. However you  must also mask output logits to retrieve only those for the correct task. If you do both things you should be ok.


can we get indian holidays also along with other countries in this list?

Okay, I think this is no issue anymore.. :)


Audio device movement for cpu only augmentation

Given that torchaudio.functional.apply_codec currently only supports "cpu" device ref, apply_codec effect may need moving the waveform to "cpu"
The below line of time_stretch effect
        waveform = self._to_2d().cpu()

moves the signal to "cpu", but the following line is from apply_codec effect
        waveform = self._to_2d()

If I'm not missing anything here, apply_codec effect is missing device handling.
Another small suggestion would be to have a flag that specifies if an effect does device movement. This will help users who are concerned about latency to effortlessly decide which effects to use, without having to look into every effect's implementation.

Oh, that's fair. I can look into that and roll it into the next release!
Re: device movement, I think it should be possible to add something that moves back to the original device after the effect. The only reason for an effect to have device movement is because the underlying code doesn't support the original device. So I think we should just move stuff back to the original device, and allow users to just select latency by doing .cuda or .cpu calls between effects on the signal.

So I think we should just move stuff back to the original device

Yes, you are right. I was implying the same as well. But, like you also mentioned,

only reason for an effect to have device movement is because the underlying code doesn't support the original device

I was merely suggesting to let user know, at least through docstring, that an effect is applied on cpu (despite moving back to input device).


After upgrading to kong 3.4.1, Issue 9839 happens again

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
Kong 3.4.1
Current Behavior
Issue #9839 happens again, here is the latest log from Kong 3.4.1

Expected Behavior
As @chronolaw has fixed it in PR https://github.com/Kong/kong/pull/9851, I think this code block should be fixed from
if get_phase() == "init_worker" then
    return fn()
end

to
if get_phase() == "init_worker" or get_phase() == "init" then
    return fn()
end

Steps To Reproduce
same as Issue #9839
export PG_CREDS='{"username":"user", "password":"pass", "host":"localhost", "database": "mydb"}'
export KONG_PG_HOST={vault://env/pg-creds/host}
export KONG_PG_USER={vault://env/pg-creds/username}
exportKONG_PG_PASSWORD={vault://env/pg-creds/password}
exportKONG_PG_DATABASE={vault://env/pg-creds/database}
then start kong, it shows
2023/10/06 05:24:33 [info] 85#0: [lua] node.lua:289: new(): kong node-id: cf6b117a-03ff-4700-9ccc-97741125c84c
2023/10/06 05:24:33 [warn] 85#0: [kong] vault.lua:859 error updating secret reference {vault://env/pg-creds/user}: could not find cached value
nginx: [warn] [kong] vault.lua:859 error updating secret reference {vault://env/pg-creds/user}: could not find cached value
2023/10/06 05:24:33 [warn] 85#0: [kong] vault.lua:859 error updating secret reference {vault://env/pg-creds/password}: could not find cached value
nginx: [warn] [kong] vault.lua:859 error updating secret reference {vault://env/pg-creds/password}: could not find cached value
2023/10/06 05:24:33 [error] 85#0: init_by_lua error: /usr/local/openresty/lualib/ngx/semaphore.lua:126: no request found
stack traceback:
	[C]: in function 'error'
	/usr/local/openresty/lualib/ngx/semaphore.lua:126: in function 'wait'
	/usr/local/share/lua/5.1/kong/concurrency.lua:115: in function 'with_coroutine_mutex'
	/usr/local/share/lua/5.1/kong/pdk/vault.lua:1124: in function 'connect'
	.../share/lua/5.1/kong/db/strategies/postgres/connector.lua:548: in function 'f'
	/usr/local/share/lua/5.1/kong/tracing/instrumentation.lua:47: in function 'query'
	.../share/lua/5.1/kong/db/strategies/postgres/connector.lua:298: in function 'init'
	/usr/local/share/lua/5.1/kong/db/init.lua:142: in function 'init_connector'
	/usr/local/share/lua/5.1/kong/init.lua:611: in function 'init'
	init_by_lua:3: in main chunk
nginx: [error] init_by_lua error: /usr/local/openresty/lualib/ngx/semaphore.lua:126: no request found
stack traceback:
	[C]: in function 'error'
	/usr/local/openresty/lualib/ngx/semaphore.lua:126: in function 'wait'
	/usr/local/share/lua/5.1/kong/concurrency.lua:115: in function 'with_coroutine_mutex'
	/usr/local/share/lua/5.1/kong/pdk/vault.lua:1124: in function 'connect'
	.../share/lua/5.1/kong/db/strategies/postgres/connector.lua:548: in function 'f'
	/usr/local/share/lua/5.1/kong/tracing/instrumentation.lua:47: in function 'query'
	.../share/lua/5.1/kong/db/strategies/postgres/connector.lua:298: in function 'init'
	/usr/local/share/lua/5.1/kong/db/init.lua:142: in function 'init_connector'
	/usr/local/share/lua/5.1/kong/init.lua:611: in function 'init'
	init_by_lua:3: in main chunk

Anything else?
No response

Thanks for your reporting.  I think it has been fixed. We don't need to fix it again.
https://github.com/Kong/kong/blob/e373295618b951c0481f9de11b170b8d4dce85f3/kong/concurrency.lua#L92

I found this fix was included in master branch but not 3.4.1, will it be released in next minor release? @oowl

Hey @mong0520
This patch did not make it to 3.4.2 release. It is being planned for 3.5.0.
@windmgc Do you think we should backport it to 3.4.x ?

@nowNick
Thank you.
I found this fix was included in branch release/3.4.x so I thought it will be released in next minor release.

It is an important fix for me because it is a crash scenario while PostgreSQL's password was rotated. So I local patched in my env.
No matter what, that for your effort!

@mong0520 If we make another 3.4.x release, the fix will be included.  It will be in 3.5.0 in any case, which we're going to release in a couple of weeks.


Typescript/flow definitions

PR?

Judging by their profile, I don't think they know how to use JavaScript, TypeScript, or any other programming language. Closing.


How to avoid this warning: W014- Bad line breaking before '+'

Sorry for my bad english.
I have some code like this:
// this content is more than 80, so i must put it in two lines.
form : {
  title: 'yep',
  content: 'abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd'
  + 'abcdabcdabcdabcdabcdabcdabcdabcdabcd'
},

and the + gives me a warning:
JSHint Warning W104 - Bad line breaking before '+'. at line 183 col 13

How to avoid this warning.

This is not the place to ask generic JSHint questions.


getting RuntimeWarning: Model X was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models.

Hi,
Using the register from simple_history.
I added the _history_m2m_fields to the modal and suddenly I started getting the following message:
RuntimeWarning: Model 'A' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models.
I think that it happens because I have nested m2m that I want to keep the history for them.
The way I defined it is:

register(A, inherit=True)
register(B, inherit=True)

And the in model A I added:
_history_m2m_fields = ['field_point_to_b']
And in model B I added:
_history_m2m_fields = ['another_unrelated_m2m_field']
On top of that when I try to save i get:
django.db.utils.ProgrammingError: app_historicalA.m2m_history_id does not exist
How can I fix that?

I'm not sure I understand exactly how I would translate your description to code able to reproduce the warning/error, so would you mind providing a more complete, but still minimal, reproducible example? 🙂

class A(models.Model):
    subjects = models.ManyToManyField(CourseSubject, through='CourseQuestionSubjectRelation',
                                      through_fields=('a', 'subject'))

    _history_m2m_fields = ['subjects']

class ARelation(models.Model):
    a = models.ForeignKey(a, on_delete=models.CASCADE)
    subject = models.ForeignKey(CourseSubject, on_delete=models.CASCADE)
    difficulty = models.IntegerField(default=0)
    type = models.ManyToManyField(CourseQuestionType, through='CourseQuestionSubjectTypeRelation', through_fields=('question_subject_relation', 'question_type'))
    _history_m2m_fields = ['type']

And then

register(A, inherit=True)
register(ARelation, inherit=True)

Also seeing this when using a custom through model when it has its own HistoricalRecords.
class Label(models.Model):
    # ...
    history = HistoricalRecords()

class ThingLabel(models.Model):
    thing = models.ForeignKey("Thing", on_delete=models.CASCADE)
    label = models.ForeignKey("Label", on_delete=models.CASCADE)
    history = HistoricalRecords()

class Thing(models.Model):
    labels = models.ManyToManyField("Label", through=ThingLabel)
    history = HistoricalRecords(m2m_fields=[labels])

This leads to
RuntimeWarning: Model 'some_module.historicalthinglabel' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models.

I'm on the fence about whether to put this in its own ticket - let me know if you'd prefer that I do. I'm putting it here because it seems like it must be closely related and might help point to where the bug lives.


podman exec failing with Error: AppArmor not initialized correctly: OCI runtime error

/kind bug
Description
After building a podman image and starting it. It starts fine but when trying to exec to it I get an error.
podman exec -it condescending_shamir ls
Error: AppArmor not initialized correctly: OCI runtime error

The debug output is:
podman exec --log-level=debug  -it condescending_shamir ls
DEBU[0000] Reading configuration file "/etc/containers/libpod.conf"
DEBU[0000] Merged system config "/etc/containers/libpod.conf": &{{false false false false false true} 0 {   [] [] []}  docker://  crun map[crun:[/usr/bin/crun] runc:[/usr/sbin/runc]] [crun runc] [crun] [] [/usr/bin/conmon /usr/sbin/conmon /usr/libexec/podman/conmon /usr/local/libexec/crio/conmon /usr/lib/podman/bin/conmon /usr/libexec/crio/conmon /usr/lib/crio/bin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd   /var/run/libpod -1 false /etc/cni/net.d/ [/usr/lib/cni /usr/local/lib/cni /opt/cni/bin] podman []   k8s.gcr.io/pause:3.1 /pause false false  2048 shm    false}
DEBU[0000] Using conmon: "/usr/libexec/podman/conmon"
DEBU[0000] Initializing boltdb state at /var/lib/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver
DEBU[0000] Using graph root /var/lib/containers/storage
DEBU[0000] Using run root /var/run/containers/storage
DEBU[0000] Using static dir /var/lib/containers/storage/libpod
DEBU[0000] Using tmp dir /var/run/libpod
DEBU[0000] Using volume path /var/lib/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] No store required. Not opening container store.
DEBU[0000] Initializing event backend journald
DEBU[0000] using runtime "/usr/bin/crun"
DEBU[0000] using runtime "/usr/sbin/runc"
INFO[0000] Found CNI network podman (type=ptp) at /etc/cni/net.d/87-podman-ptp.conflist
DEBU[0000] Handling terminal attach
DEBU[0000] Creating new exec session in container ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642 with session id d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd
DEBU[0000] /usr/libexec/podman/conmon messages will be logged to syslog
DEBU[0000] running conmon: /usr/libexec/podman/conmon    args="[--api-version 1 -s -c ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642 -u d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd -r /usr/bin/crun -b /var/lib/containers/storage/overlay-containers/ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642/userdata/d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd -p /var/lib/containers/storage/overlay-containers/ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642/userdata/d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd/exec_pid -l k8s-file:/var/lib/containers/storage/overlay-containers/ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642/userdata/d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd/exec_log --exit-dir /var/lib/containers/storage/overlay-containers/ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642/userdata/d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd/exit --socket-dir-path /var/run/libpod/socket --log-level debug --syslog -t -e --exec-attach --exec-process-spec /var/lib/containers/storage/overlay-containers/ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642/userdata/d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd/exec-process-901009122]"
INFO[0000] Running conmon under slice machine.slice and unitName libpod-conmon-ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642.scope
WARN[0000] Failed to add conmon to systemd sandbox cgroup: Unit libpod-conmon-ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642.scope already exists.
DEBU[0000] Attaching to container ab468d26240446ea00315bec70d945a050f1e38caab096b6fa8dfc158023f642 exec session d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd
DEBU[0000] connecting to socket /var/run/libpod/socket/d2a3feacdc839fe875eb3d1f171913d1601e145d0100059faea7e93e884f83fd/attach
DEBU[0000] Received: 0
DEBU[0000] Received a resize event: {Width:213 Height:32}
DEBU[0000] Received: -256
ERRO[0000] [conmon:d]: exec with attach is waiting for start message from parent
[conmon:d]: exec with attach got start message from parent: OCI runtime error
WARN[0000] unable to find /etc/containers/registries.conf. some podman (image shortnames) commands may be limited

Output of podman version:
Version:            1.6.4
RemoteAPI Version:  1
Go Version:         go1.14.3
OS/Arch:            linux/386

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.14.3
  podman version: 1.6.4
host:
  BuildahVersion: 1.11.6
  CgroupVersion: v1
  Conmon:
    package: 'conmon: /usr/libexec/podman/conmon'
    path: /usr/libexec/podman/conmon
    version: 'conmon version 2.0.9, commit: unknown'
  Distribution:
    distribution: debian
    version: "10"
  MemFree: 28921856
  MemTotal: 452386816
  OCIRuntime:
    name: crun
    package: 'crun: /usr/bin/crun'
    path: /usr/bin/crun
    version: |-
      crun version 0.13
      commit: e79e4de4ac16da0ce48777afb72c6241de870525
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: "386"
  cpus: 1
  eventlogger: journald
  hostname: openfire
  kernel: 4.19.0-8-686-pae
  os: linux
  rootless: false
  uptime: 1828h 32m 51.65s (Approximately 76.17 days)
registries:
  blocked: null
  insecure: null
  search: null
store:
  ConfigFile: /etc/containers/storage.conf
  ContainerStore:
    number: 1
  GraphDriverName: overlay
  GraphOptions: {}
  GraphRoot: /var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 30
  RunRoot: /var/run/containers/storage
  VolumePath: /var/lib/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman/unstable,now 1.6.4+dfsg1-3 i386 [installed]

apprmor is installed but no profile for podman seems present.

ii  apparmor                             2.13.2-10                    i386         user-space parser utility for AppArmor
ii  apparmor-profiles-extra              1.26                         all          Extra profiles for AppArmor Security policies
ii  apparmor-utils                       2.13.2-10                    i386         utilities for controlling AppArmor
ii  libapparmor1:i386                    2.13.2-10                    i386         changehat AppArmor library
ii  python3-apparmor                     2.13.2-10                    i386         AppArmor Python3 utility library
ii  python3-libapparmor                  2.13.2-10                    i386         AppArmor library Python3 bindings

Any insights would be appreciated.

@vrothberg PTAL

@onlyjob mentioned AppArmor issues on Debian recently. @onlyjob, do you know if they are related?

Is that supposed to be installed via the package script? I only have two files in /etc/containers.
policy.json
 {
     "default": [
         {
             "type": "insecureAcceptAnything"
         }
     ]
 }

and libpod.conf
 # libpod.conf(5) is the default configuration file for all tools using
 # libpod to manage containers

 # Default transport method for pulling and pushing for images
 image_default_transport = "docker://"

 # Paths to look for the conmon container manager binary.
 # If the paths are empty or no valid path was found, then the `$PATH`
 # environment variable will be used as the fallback.
 conmon_path = [
     "/usr/bin/conmon",
     "/usr/sbin/conmon",
     "/usr/libexec/podman/conmon",
     "/usr/local/libexec/crio/conmon",
     "/usr/lib/podman/bin/conmon",
     "/usr/libexec/crio/conmon",
     "/usr/lib/crio/bin/conmon"
 ]

 # Environment variables to pass into conmon
 conmon_env_vars = [
     "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
 ]

 # CGroup Manager - valid values are "systemd" and "cgroupfs"
 cgroup_manager = "systemd"

 # Container init binary
 #init_path = "/usr/bin/tini"
 #init_path = "/usr/bin/tini-static"
 #init_path = "/usr/bin/dumb-init"
 #init_path = "/usr/bin/catatonit"

 # Directory for persistent libpod files (database, etc)
 # By default, this will be configured relative to where containers/storage
 # stores containers
 # Uncomment to change location from this default
 #static_dir = "/var/lib/containers/storage/libpod"

 # Directory for temporary files. Must be tmpfs (wiped after reboot)
 tmp_dir = "/var/run/libpod"

 # Maximum size of log files (in bytes)
 # -1 is unlimited
 max_log_size = -1

 # Whether to use chroot instead of pivot_root in the runtime
 no_pivot_root = false

 # Directory containing CNI plugin configuration files
 cni_config_dir = "/etc/cni/net.d/"

 # Directories where the CNI plugin binaries may be located
 cni_plugin_dir = [
     "/usr/lib/cni",
     "/usr/local/lib/cni",
     "/opt/cni/bin"
 ]

 # Default CNI network for libpod.
 # If multiple CNI network configs are present, libpod will use the network with
 # the name given here for containers unless explicitly overridden.
 # The default here is set to the name we set in the
 # 87-podman-bridge.conflist included in the repository.
 # Not setting this, or setting it to the empty string, will use normal CNI
 # precedence rules for selecting between multiple networks.
 cni_default_network = "podman"

 # Default libpod namespace
 # If libpod is joined to a namespace, it will see only containers and pods
 # that were created in the same namespace, and will create new containers and
 # pods in that namespace.
 # The default namespace is "", which corresponds to no namespace. When no
 # namespace is set, all containers and pods are visible.
 #namespace = ""

 # Default infra (pause) image name for pod infra containers
 infra_image = "k8s.gcr.io/pause:3.1"

 # Default command to run the infra container
 infra_command = "/pause"

 # Determines whether libpod will reserve ports on the host when they are
 # forwarded to containers. When enabled, when ports are forwarded to containers,
 # they are held open by conmon as long as the container is running, ensuring that
 # they cannot be reused by other programs on the host. However, this can cause
 # significant memory usage if a container has many ports forwarded to it.
 # Disabling this can save memory.
 #enable_port_reservation = true

 # Default libpod support for container labeling
 # label=true

 # The locking mechanism to use
 lock_type = "shm"

 # Number of locks available for containers and pods.
 # If this is changed, a lock renumber must be performed (e.g. with the
 # 'podman system renumber' command).
 num_locks = 2048

 # Directory for libpod named volumes.
 # By default, this will be configured relative to where containers/storage
 # stores containers.
 # Uncomment to change location from this default.
 #volume_path = "/var/lib/containers/storage/volumes"

 # Selects which logging mechanism to use for Podman events.  Valid values
 # are `journald` or `file`.
 # events_logger = "journald"

 # Specify the keys sequence used to detach a container.
 # Format is a single character [a-Z] or a comma separated sequence of
 # `ctrl-<value>`, where `<value>` is one of:
 # `a-z`, `@`, `^`, `[`, `\`, `]`, `^` or `_`
 #
 # detach_keys = "ctrl-p,ctrl-q"

 # Default OCI runtime
 runtime = "crun"
 #runtime = "runc"

 # List of the OCI runtimes that support --format=json.  When json is supported
 # libpod will use it for reporting nicer errors.
 runtime_supports_json = ["crun", "runc"]

 # List of all the OCI runtimes that support --cgroup-manager=disable to disable
 # creation of CGroups for containers.
 runtime_supports_nocgroups = ["crun"]

 # Paths to look for a valid OCI runtime (runc, runv, etc)
 # If the paths are empty or no valid path was found, then the `$PATH`
 # environment variable will be used as the fallback.
 [runtimes]

 runc = [
     "/usr/sbin/runc",
 ]

 crun = [
     "/usr/bin/crun"
 ]

 # The [runtimes] table MUST be the last thing in this file.
 # (Unless another table is added)
 # TOML does not provide a way to end a table other than a further table being
 # defined, so every key hereafter will be part of [runtimes] and not the main
 # config.

does that help?

Isn't this a case where the containers-default file that container.conf defaults to is not installed.

I don't think so. The odd thing is that we can podman run but not podman exec.

@giuseppe, could this be crun?

yes, it is already fixed upstream: https://github.com/containers/crun/pull/391
I'll cut a release hopefully this week.


Replace ThreadRun by ThreadOptions

Description
If customer wants to provide additional messages to agent, they has to be given as a ThreadRun, however, REST API expects ThreadRunOptions instead. In this PR we are replacing ThreadRun By ThreadRunOptions.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-projects


error while running install script ./bootstrapt.sh

Hi all,
while running the script i get the following error:

Any clue what could be the problem?
Thanks in advance,
J

what version of Xcode / command line tools / macOS are you using?

Xcode - 9.3.1
command line tools - not sure how to check this :(
macOS - 10.13.2

command Line Tools:  Xcode 9.3.1 (9E501)

Hmm.  I think it is an Xcode 9.3 issue.  I haven't tested it with that (and dlib may not yet be compatible.  Can you try compiling dlib alone:
$ curl -LO http://dlib.net/files/dlib-19.11.tar.bz2
$ tar xvf dlib-19.11.tar.bz2
$ cd dlib-19.11
$ mkdir build
$ cd build/
$ cmake ..

If you get the same error as you were getting with the bootstrap script, you need to downgrade to Xcode 9.2 or raise the issue with the dlib repository, as it expects AppleClang as the compiler name, ideally submitting a PR to include the new Clang identifier in the cmake scripts.

Yes getting the same error. I will try to downgrade Xcode and will let you know

OK.  Good to know.  Keep me posted.

Downgrading xCode doesn't really help, still having the same problem :(

/Applications/Xcode.app/Contents/Developer

I'd recommend posting an issue here:
https://github.com/davisking/dlib/issues
Post the results of running:
$ curl -LO http://dlib.net/files/dlib-19.11.tar.bz2
$ tar xvf dlib-19.11.tar.bz2
$ cd dlib-19.11
$ mkdir build
$ cd build/
$ cmake ..

ok will do thanks for help. I'll keep you posted..

@bakercp would be possible for you to send me a zip file with the files that are supposed to be inside the libs/dlib folder? I think the only problem I'm getting here is to install the dlib files.

So yeah I managed to run the examples by manually downloading flib and place the lib files in libs/dlib. Also found a compiled file "libdlib.a" that is needed in the ofxFacetracker2 addon. After that all examples run. It's not solution but a workaround for now.

https://github.com/davisking/dlib/issues/1326

I've got a different error during the bootstrap.sh execution, but running
$ curl -LO http://dlib.net/files/dlib-19.11.tar.bz2 $ tar xvf dlib-19.11.tar.bz2 $ cd dlib-19.11 $ mkdir build $ cd build/ $ cmake ..
works.
This is what I get after running bootstrap.sh:

Any hints? (@bakercp , @joaodafonseca )
Thanks


Image version with Java support

Hi, we are working on an Elixir application that uses jinterface to be able to communicate with Java application. The use case for that is AWS Kinesis that has client library only in Java and thus there is no other choice. This is the Java part: https://github.com/Accenture/reactive-interaction-gateway/tree/master/kinesis-client.
Is there any chance to create official docker image also with Java (jinterface) support? (and perhaps the same for Elixir image)
We would like to avoid checked in jinterface and use it natively from Erlang.

for the messaging services, I've used both Kafka and Google PubSub, both have client side library in many programming language bindings, however the AWS Kinesis officially only have Java, Nodejs, .Net, Python and Ruby client, and I looked into its Python and Nodejs client, checking if possibly for someone be able easily create a pure Erlang or pure Elixir client library, but it doesn't look like so
because both the Nodejs and Python library are thin wrapper interface to the Amazon Kinesis Client Library (KCL) MultiLangDaemon which is in Java, means you would have to deploy with a JVM
https://docs.aws.amazon.com/streams/latest/dev/kinesis-record-processor-implementation-app-nodejs.html
https://docs.aws.amazon.com/streams/latest/dev/kinesis-record-processor-implementation-app-py.html
usually I would like to avoid JVM because that would bloat the image, wonder have you tried build a customized image on top of this one, could install a JVM from the example Dockerfile from openjdk image? or download and install a SunJRE in a similar approach;          (or I would find some time try this approach)
https://github.com/docker-library/openjdk/blob/master/9-jre/Dockerfile
https://cwiki.apache.org/confluence/display/KAFKA/Clients

We are fine with Kafka and other stuff, this is just about AWS Kinesis. We know about daemon, we just didn't like that approach and tried jinterface to use directly Java app without daemon. We are also fine with deployment.
Only thing is that Erlang/Elixir docker images don't have jinterface thus we included one in git repo and copied to final docker image. However, this works, it's not the nicest approach as well.
Regarding custom Erlang/Elixir images, that's something we would like to avoid, because we would have to do that with every OTP or Elixir release.
Therefore I'm just curious if there is any chance to have official Erlang/Elixir image compiled with Java (maybe with some tag e.g. java).

If done, the image size will be much bigger.

If you have your Dockerfile extending to add the code you need, you can easily extend it on Dockerhub. Dockerhub automatically builds for you if you Dockerfile gets updated on a public github, it also reports on change on your dependency that breaks the image build.  Usually, images like this one are expected to be very lean, as if the image grows can trigger complain form the users.  Packing java into images is tricky due to different sources of JVMs and others variations of settings.


Add an --uppercase-hex command-line option

Hi! I recently hacked a bit into mgbdis; thanks for this project! This is exactly the disassembler I was looking for, it definitely suited what I wanted (adding disassembly for more banks in the Zelda DX disassembly, and I found the code base quite easy to work this.
I made a few modifications and additions that I'd like to submit upstream (like refactored the way symbols are handled); but first here are a few stylistic options and changes that I think could be useful.
So here come a bunch of PRs with different suggestions and options; feel free to reject them if they don't feel suitable to you.
Description
By default hexadecimal numbers use lowercase characters ($df01).
This PR allows to pass the --uppercase-hex flag to format hexadecimal numbers using uppercase characters instead ($DF01).

Hi, glad you found it useful :) Thanks for sending through the pull requests - any improvements to the project are definitely welcome!  I'll have a look through them now.


How to train the WTN model using the released code?

Hello, I read your paper and enjoy your proposed method solving partial-supervised object detection. Reading your released code, I cannot find the code about AE-WTN and the pre-trained CLN. I wonder to consult that how to train the WTN mode using the released code?

This codebase supports AE-WTN training by default. The related code is found here:
https://github.com/xternalz/AE-WTN/blob/master/maskrcnn_benchmark/modeling/roi_heads/box_head/roi_box_predictors.py#L56-L112


New App Icon

Hey @KarolinaGroszewska,
I've created two app icons for Cheerify and would love to get your view on which one you think fits best. Below are the icons:

I personally like the second one!

I personally like the second one!

ok , so ill make a PR for it, also it will be fixing two more issues.


map chunk generators and biome sources

Source of these names: https://minecraft.gamepedia.com/Customized


Update MD file on new branch 2017-18-08_09-11-33

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


unable to set [Parameter] value, inaccessible due to protection level

I am using version "0.3.0-preview1-10261".
Setting the Parameter value works when it is done inline, but not through code.
I have a component "MyComp"
<input bind="@Name" />
@functions{
    [Parameter]
    string Name { get; set; }
}

I use it like  below.
<MyComp ref="mycomp" Name="testing"></MyComp>
@functions{
    MyComp mycomp;

    protected override void OnAfterRender()
    {
        base.OnAfterRender();
      //  mycomp.Name = "this is a test";

    }
}

@rynowak

This is explicitly intended. Setting a component parameter directly like this when using ref is not the intended way to manipulate its settable surface area, you're supposed to use the markup.
There's some explanation for this here: https://github.com/aspnet/Blazor/pull/685 - @SteveSandersonMS might be able to provide more detail

Yes, the whole efficient rendering process is based around a predictable data flow down the hierarchy of components. Parameters must be passed declaratively. It's the same with similar SPA frameworks.


Version of result LAS file

Hey :) one more question, cause I can't find it myself: do you know which version of LAS file format we get as an result of conversion? Is it 1.4?

No worrier, yes LAS 1.4

Thank you :)


Doesn't show data uri for favicon

Tab Modifier version 0.22.0
Browser: Chrome
Extension version: 0.22.0
Expected behavior
A favicon to be saved and appear in my rule.
Actual behavior
I can save, but It's blank.
This has only started happening the last few days.  I have older data uri favicons that work just fine in my rules.
Steps to reproduce the behavior

Copy and paste data uri into rule.
Save rule.
No favicon image -- it's blank.

Hello,

Can you try it on another website?
Can you see any error in the Console related to Tab Modifier?

Best

I'm sorry!  You can delete the issue.
I should have kept fiddling around first, but I was frustrated after not
getting it to work for days.
I just downloaded a png then converted it to base 64 and it works fine.
The problem is the source site, Iconfinder.  They've gone through some
changes recently.  Their data uris are now many times larger and just don't
work.
I'm so sorry for the bother.  When I can find a little extra time, I'll be
writing a five star review.  Tab Modifier is my favorite Chrome extension.
Best Regards,
Cheryl :)
On Fri, Jun 8, 2018 at 4:38 AM Syl<EMAIL_ADDRESS>wrote:

Hello,

Can you try it on another website?
Can you see any error in the Console related to Tab Modifier?

Best
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sylouuu/chrome-tab-modifier/issues/151#issuecomment-395691768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHxPYFv8JzwePI0sWzLJqvof_dThXCrsks5t6jgHgaJpZM4Ufr2d
.

Thanks for your feedback @cherylfahling!
Best


Update release note and package link for v1.0.1

What type of PR is this?

[ ] Enhancement
[ ] Displaying
[ ] Typo
[x] Doc Request

Which issue(s) this PR fixes:
issue #
What this PR does / why we need it:

@dengn need to review


Missing pypdf dependency in docs/examples/agent/openai_assistant_agent.ipynb

Bug Description
I am getting the following error executing docs/examples/agent/openai_assistant_agent.ipynb in colab:
WARNING:llama_index.readers.file.base:Failed to load file data/10k/lyft_2021.pdf with error:
pypdf is required to read PDF files: pip install pypdf.
Skipping...
Solution:
Include !pip install pypdf at the top
Version
v0.8.64.post1
Steps to Reproduce
Open docs/examples/agent/openai_assistant_agent.ipynb in colab
Run the full notebook
Relevant Logs/Tracbacks
WARNING:llama_index.readers.file.base:Failed to load file data/10k/lyft_2021.pdf with error:
pypdf is required to read PDF files: `pip install pypdf`.
Skipping...

Thanks for the note! Yea we could do a better job of making the dependencies clearer for the notebooks.

Feel free to open up a PR to make the changes and we can help get that landed!


fileserver package for the threebot

Create a fileserver  package based on webdav  under jumpscaleX_threebot/ThreeBotPackages/threebot/fileserver
storie
As a 3bot owner I want to display and manage(add,modify,delete) my user files through the web so that my data will be stored on my 3bot and made accessible from the web
There already inside the folder a webdav implementation and a filemanger_UI.
The package should leverage those to instantiate the webdav server and serve the front website to manage the files
Here the 3bot will launch the server (webdav) and serve the front (filemanager_ui)

[x] actors

[ ] do we need something here ?

[ ] UI on 3bot app

[x] filemanager_ui
[ ] make sure the package install will trigger the filemanager_ui install
[ ] move the static folder under filemanager_UI on another repo and make the package pull the files from that repo  instead of having all the static files inside the threebot repo

[ ] webdav server

[ ] make sure it is working
[ ] make sure the package install will trigger the webdav install
[ ] extract the schemas and put them into a toml files under threebotpackages/threebot/fileserver/models

[ ] Deployment

[ ] package.py
[ ] package factory
[ ] start paramaterized

[ ] Testing

[ ] create/update/delete/get files
[ ] search files
[ ] access the filemanager_ui from a browser

do we need the actor's file for this one ?

Can this work like this ?

Currently, it's all done in the app. can indeed by refactored in an actor, but wouldn't consider this to be top priority. The complete testing will have to be done, of course to make sure the story is satisfied

Currently, it's all done in the app. can indeed by refactored in an actor, but wouldn't consider this to be top priority. The complete testing will have to be done, of course to make sure the story is satisfied

ok will check what the priority is for this one

I will add a low priority for the move the static folder under filemanager_UI on another repo
because I don't know what repo we should use. We should create a repo for all the static files that we need


PowerToysRun功能相关

Description of the new feature / enhancement
在使用PowerToysRun时，对于不能识别的类型直接使用打开默认浏览器放入url地址栏的方式处理
Scenario when this would be used?
在使用PowerToysRun时
Supporting information
No response

Translation

Description of the new feature / enhancement
When using PT run and user inputted the unrecognized URL scheme, open the default browser and open it directly with out modifying the URL.
Scenario when this would be used?
Using PT run.
Supporting information
No response

This should be implemented with #13606 merged. Please wait for release 0.49 which should be released at the end of October 2021. Keep an eye on updates!
Translation
此問題應隨著 #13606 修復，並預計隨0.49版發布 (預計於2021年10月底發布)，請留意更新訊息！


[gradle] Let MavenDeployer.stagingRepository() take a RegularFile as input

Add a variation of stagingRepository() that takes a RegularFile as input.
cc: @lagergren

Hello @aalmiray i want to star reviewing this one ✋, may you provide me more context about it please?


PRM Tutorial fix

We fixed the failing tests in a different commit. So calling this PR done and re-closing.


Seems like you CAN'T use "admin" for both username and password to access Kiali

I am following https://github.com/peterj/jfuture/tree/master/istio#installing-istio and trying to use "admin" for both username and password to access Kiali (for some reason the trick with EOF didn't worked for me that time, so I'm using static file):
$ kubectl apply -f /Users/maxsel/jfuture/istio/kiali-secret.yml

Error from server (BadRequest): error when creating "/Users/maximselyuk/jfuture/istio/kiali-secret.yml": Secret in version "v1" cannot be handled as a Secret: v1.Secret.Data: decode base64: illegal base64 data at input byte 4, error found in #10 byte of ...|e":"admin","username|..., bigger context ...|{"apiVersion":"v1","data":{"passphrase":"admin","username":"admin"},"kind":"Secret","metadata":{"|...

After giving up with plain "admin" value and falling back to original value (YWRtaW4= - base64-encoded "admin") in kiali-secret.yml everything works fine:
$ kubectl apply -f /Users/maxsel/jfuture/istio/kiali-secret.yml

secret/kiali created

Not sure what's the reason, maybe newer versions of kubectl doesn't allow that?

The values in secrets need to be base64 encoded. I re-read the way I've written it and it does seem confusing. I have updated it!


Using the format=json uri parameter with cat api calls fails

NEST/Elasticsearch.Net version: 7.2.1
Elasticsearch version: 7.2.1
Description of the problem including expected versus actual behavior: Using the Cat.MasterAsync API and specifying the Format="JSON" parameter returns a response object that has the Success flag set to false but has a status code of 200 and the correct response body. Calling the same method in Elasticsearch.Net 6.8 worked as expected.
I am calling the API like this (this.client is of type IElasticLowLevelClient):
await this.client.Cat.MasterAsync<StringResponse>(new CatMasterRequestParameters { Format = "JSON" });

Provide ConnectionSettings (if relevant):
Using a SingleNodeConnectionPool
Specifying DisableAutomaticProxyDetection and DisablePing
Provide DebugInformation (if relevant):
# Audit trail of this API call:
 - [1] BadResponse: Node: http://localhost:9200/ Took: 00:00:00.0312765
# OriginalException: Elasticsearch.Net.ElasticsearchClientException: Request failed to execute. Call: Status code 200 from: GET /_cat/master?format=json
# Request:
<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>
# Response:
[{\"id\":\"nodeId\",\"host\":\"hostName\",\"ip\":\"ipaddress\",\"node\":\"nodeName\"}]

Thanks for reporting @CraigWh. This looks like a bug caused by the strictness of the response MIME type against the MIME type that was requested. We'll look at addressing this

For now, you can set the Content-Type and Accept headers to allow the call to be deemed successful
var response = await client.Cat.MasterAsync<StringResponse>(new CatMasterRequestParameters {
    RequestConfiguration = new RequestConfiguration
    {
        ContentType = RequestData.MimeType,
        Accept = RequestData.MimeType
    }
});

To be clear, the call using format=json is also made, but the MIME type checking means that it ends up being marked as unsuccessful.

I've opened #4269 to address.


Show when features are part of the current/next interop

When viewing features on the explorer, it would be nice to know if they're part of the current/next interop project.

This would require mapping the interop focus areas displayed on the dashboard to feature IDs.


Any plans on adding support for v4.0 of select2?

First of all, thanks for putting this up! Great effort!
I tried using this with v4.0.0-rc.2 and it seems that the markup as well as classes differ significantly. I know its still in RC but do you have any plans or have you started adding support for v4?

Hi there @mrchief! There is a version for Select2 v4; quoting myself:

I just pushed my work to a new repository to avoid handling another version in here.
Demos are up at http://fk.github.io/select2-bootstrap-theme/.

Cool! Thanks! I remember seeing that link somewhere but guess it got buried in Google results.


Testing github integration

This Github issue is synchronized with Zendesk:
Ticket ID: #56
Group: SE Team
Requester<EMAIL_ADDRESS>Organization: Sigmacomputing
Assignee: Archana Manohar
Issue escalated by: Archana Manohar
Original ticket description:
Testing github integration

what is happening here?

closing this issue

closing issue


Why div2k and benchmarks have different calc_psnr?

 if dataset == 'benchmark':
      shave = scale
      if diff.size(1) > 1:
          gray_coeffs = [65.738, 129.057, 25.064]
          convert = diff.new_tensor(gray_coeffs).view(1, 3, 1, 1) / 256
          diff = diff.mul(convert).sum(dim=1)
     elif dataset == 'div2k':
          shave = scale + 6

In benchmark situation, shave =scale, and in div2k situation, shave=scale+6
My question is

Why these 2 situation need shave ?
Why shave size is related to scale?
Why div2k shave =scale+6
Look forward to your favourable reply！ Thanks in advance!

i found this operation follows edsr


Sedge section

More or less done?

I would consider it done. https://docs.gnosischain.com/node/tools/sedge


ionic 2 notice

Unfortunately, we are unable to support Ionic 2 ion-input at this point as it overrides the ControlValueAccessor that Text Mask requires to perform its job.

The main case is that ion-input is wrapped by ion-item. Your solution works great outside of it.

@dviz Are you saying that you can still use ion-input as long as you don't wrap it in an ion-item?

The main case is that ion-input is wrapped by ion-item. Your solution works great outside of it.

Thanks for letting us know


Problems running aufs w/ linux-aws kernel

Problem description
Installing Docker on Ubuntu 16.04 LTS with the linux-aws kernel package fails because there is no corresponding linux-image-extra-$(uname -r) package for this kernel.
$ sudo apt-get install linux-image-extra-$(uname -r) \
>                      linux-image-extra-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-extra-4.4.0-1012-aws
E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1012-aws'
E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1012-aws'

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:  Ubuntu 16.04.2 LTS
Release:  16.04
Codename: xenial

$ uname -r
4.4.0-1012-aws

This is similar to an issue described in https://github.com/docker/docker.github.io/issues/2252 (although presumably the mainline is not supported).
The docs seem to suggest that linux-image-extra-* packages are only required when installing on Trusty 14.04.
However, the aufs-driver docs include the same instructions, without reference to Ubuntu versions or code names.
This is confusing and probably needs clarification.

What is the right way to install aufs support for Docker on Ubuntu 16.04?
Are the linux-image-extra-$(uname -r) packages required to use aufs with Docker?

Problem location
URLS:

https://docs.docker.com/engine/installation/linux/ubuntu/
https://docs.docker.com/engine/userguide/storagedriver/aufs-driver/#configure-docker-with-aufs

Project version(s) affected
I was installing the latest version of docker ce on Ubuntu 16.04 LTS, but using the brand new linux-aws kernel package. This may affect other versions of Docker on Ubuntu.
Suggestions for a fix
Not sure if this is a suggestion (or even recommended), but here are my own findings on successfully installing on the linux-aws kernel.
The aufs-driver docs first suggest to check for aufs support:
$ grep aufs /proc/filesystems

nodev   aufs

Then to install the linux-image-extra-* packages:
sudo apt-get install linux-image-extra-$(uname -r) \
  linux-image-extra-virtual

Instead, I ran only this command :
sudo apt-get install linux-image-extra-virtual

This also installed linux-headers-4.4.0-72-generic, which presumably is what would be installed if I were not running the linux-aws kernel.
NOTE: At this point running grep aufs /proc/filesystems produces no output.
$ grep aufs /proc/filesystems

From here, I installed docker-ce as normal.
After installing Docker, running grep aufs /proc/filesystems produces the desired output:
$ grep aufs /proc/filesystems

nodev aufs

And after configuring Docker to use the aufs storage driver as described here, everything appears to run as expected.
$ sudo docker info

ubuntu@ip-10-150-100-85:~$ sudo docker info
Containers: 2
 Running: 0
 Paused: 0
 Stopped: 2
Images: 1
Server Version: 17.03.1-ce
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 5
 Dirperm1 Supported: true
 ...

Still an issue with the latest linux-aws kernel package
$ uname -r
4.4.0-1013-aws

It sounds  like this issue could be addressed by this fix:  move aufs.ko from -extra to linux-image package, by removing the need to install any linux-image-extra-* packages.

Docker is ordinarily configured to use aufs, but the aufs kernel module is only available after installing the linux-image-extra package.

Please promote aufs.ko from the linux-image-extra package to the main linux-image package for all supported Ubuntu kernels and derivatives, so as to remove Docker's dependence on linux-image-extra.

This bug was fixed in the package linux - 4.4.0-75.96

I will follow up after verifying.

Per the linux-aws_4.4.0-1009.18 changelog:

[config] AWS: aufs.ko moved to linux-image package

Confirmed on a test machine:
~# grep aufs /proc/filesystems
nodev	aufs
~# dpkg -l|grep linux-image
ii  linux-image-4.4.0-1013-aws          4.4.0-1013.22                              amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-1016-aws          4.4.0-1016.25                              amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-aws                     <IP_ADDRESS>6.19                              amd64        Linux kernel image for Amazon Web Services (AWS) systems.

Ah, thanks @heph. I have also confirmed your findings.
Seems like the fix has yet to make it to the offical Canonical Ubuntu 16.04 EC2 AMI.
After launching ami-80861296 (the most current release 20170414):
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:  Ubuntu 16.04.2 LTS
Release:  16.04
Codename: xenial

$ uname -r
4.4.0-1013-aws

$ grep aufs /proc/filesystems

$ dpkg -l | grep linux-image
ii  linux-image-4.4.0-1013-aws       4.4.0-1013.22  amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-aws                  <IP_ADDRESS>3.16  amd64 Linux kernel image for Amazon Web Services (AWS) systems.

I have to manually install the latest linux-image-aws package
$ sudo apt-get install linux-aws linux-headers-aws linux-image-aws -y

$ dpkg -l | grep linux-image
ii  linux-image-4.4.0-1013-aws       4.4.0-1013.22  amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-1016-aws       4.4.0-1016.25  amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-aws                  <IP_ADDRESS>6.19  amd64 Linux kernel image for Amazon Web Services (AWS) systems.

Then installing docker-ce as normal gives the desired result:
$ grep aufs /proc/filesystems
nodev aufs

Conclusions

Going forward no additional packages should need to be installed to enable aufs support for Docker on Ubuntu.

The docs should be updated to reflect this change.

BugReferences

move aufs.ko from -extra to linux-image package
aufs filesystem not available in linux-aws

The latest daily build has the most up to date linux-image-aws package, so I expect this to be available soon.
ubuntu/images-testing/hvm-ssd/ubuntu-xenial-daily-amd64-server-20170425 - ami-09d14b1f

Canonical, Ubuntu, None LTS, UNSUPPORTED daily amd64 xenial image build on 2017-04-25

After launching ami-09d14b1f, enabling aufs support with docker-ce has the desired effect, without any additional installation.

The latest official release is: Canonical, Ubuntu, 16.04 LTS, amd64 xenial image build on 2017-05-16
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:  Ubuntu 16.04.2 LTS
Release:  16.04
Codename: xenial

$ uname -r
4.4.0-1016-aws

After launching ami-20631a36 in us-east-1 and installing docker-ce, aufs support is enabled by default.
$ grep aufs /proc/filesystems
nodev aufs

No additional installations or configuration is required.

@niclic Thank you for your continuous updates!
From my understanding, this effects for Ubuntu 14.04 or newer as well, right?
If it's correct, i suppose the documentation is a bit out-of-date:

Recommended extra packages for Trusty 14.04
Unless you have a strong reason not to, install the linux-image-extra-* packages, which allow Docker to use the aufs storage drivers.


Unnecessary header reset causes direction indicator to revert

I'm setting up some data on a fragment which isn't initially visible, and calling sort(0, false) on a SortableTableView with the goal of having the data sorted and the little triangle indicator correctly showing the default sort (SORTED_DESC) once the fragment becomes visible. In actuality, however, the column sort indicator is in the SORTABLE state (neither triangle is lit) once the fragment becomes visible.
For context, TransactionsTableAdapter extends LongPressAwareTableDataAdapter and TransactionsTableView extends SortableTableView, but they are pretty simple and I don't think they're the issue. Here is where the fragment sets up the adapter:
List<Transaction> transactions = //... from async operation
TransactionsTableAdapter adap = new TransactionsTableAdapter(getActivity(), transactions, mTableView);
mTableView.setDataAdapter(adap);
mTableView.sort(0, false);

I've been doing some poking around, and I think the issue is as follows:

My call to sort(int, boolean) works correctly, and after the sorting, the SortableTableHeaderView#setSortState(int, SortState) method calls ImageView#setImageResource(int) for column 0 with the correct resource: R.mipmap.ic_light_sorted_desc
Everything would be fine if the header stayed as it was. However, the following code in the constructor of TableHeaderView causes the headers to all be reset back to the "Sortable" state:

addOnLayoutChangeListener(new OnLayoutChangeListener() {
	@Override
	public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) {
		if (right - left != oldRight - oldLeft) {
			System.out.println("was resized");
			renderHeaderViews();
		}
	}
});

At some point (maybe due to how the fragment isn't visible?) the listener is called, where the old layout values are all 0 and the new values are the actual dimensions, which means "was resized" is printed, SortableTableHeaderView#renderHeaderViews() is called, and the SortState of the columns are reset to SORTABLE - even column 0, which should be SORTED_DESC.

I'm not sure of the best way to fix this, but I think the sort states of the columns shouldn't be reset just because the header dimensions changed.

Hi @DanStout,
thanks to your deep investifation I was able to reproduce it very easy and in deed, it is a bug in the new version of the SortableTableView. I'm going to provide a bug fix for this very soon.
Best regards,
Ingo

Hi @DanStout,
this bug is now fixed in version 2.4.2
Best regards,
Ingo


test on py39

I'll move this to GitHub action in the near future. Just want to get a release out for now.

 I'll leave it to the new owners go handle things as the transition was not transparent and long time maintainers rights were revoked. Good bye Authority! I'll focus on communities that values diversity and inclusion instead of exclusion.