In headless with CDP, actions like click/typeText do not work from time to time. Fine without headless

What is your Scenario?
Trying to switch from old testcafe versions with proxy to CDP as the proxy works too slow and unstable, but there are a lot of issues with CDP.
What is the Current behavior?
In headless, actions like click/typeText do not work from time to time. Fine without headless.

If I just add few more the same lines as await t.typeText(Selector("[data-testid='destination-container']"), "Warsaw", {replace: true}); it works fine, but after from time to time fails on

What is the Expected behavior?
to work :)
What is your public website URL? (or attach your complete example)
https://booking.com/
What is your TestCafe test code?
import { ClientFunction, RequestHook, Selector } from 'testcafe';
import page from './page-model';

export class ProdHook extends RequestHook {
  constructor() {
    super(/(devexpress.github.io)/, {
      includeHeaders: true,
      includeBody: true
    });
  }
  async onRequest(event) {
    event.requestOptions.headers['automatic-qa'] = "true";
  }
  async onResponse() {
  }
}

export async function removeTargetAttributes() {
  return ClientFunction(() => {
    const selector = document.querySelectorAll("div[data-testid='availability-cta'] a");
    selector.forEach(el => el.removeAttribute("target"));
  })();
}

async function booking(t) {
  await t.navigateTo("https://booking.com/");
  await t.wait(4000);
  await t.typeText(Selector("[data-testid='destination-container']"), "Warsaw", {replace: true});
  await t.click(Selector("[data-testid='autocomplete-result']").withText(/Warsaw/));
  await t.click(Selector("td[role='gridcell'] span[class='b21c1c6c83']").nth(10));
  await t.click(Selector("td[role='gridcell'] span[class='b21c1c6c83']").nth(15));
  await t.click(Selector("button[type='submit'] span[class='e57ffa4eb5']"));
  await t.wait(5000);
  await t.eval(() => {
    const selector = document.querySelectorAll("div[data-testid='availability-cta'] a");
    selector.forEach(el => el.removeAttribute("target"));
  });
  await t.wait(3000);
  await removeTargetAttributes();
  console.log(`Count is: ${await Selector("div[data-testid='availability-cta'] a[target]").count}`);
  await t.click(Selector("div[data-testid='availability-cta'] a").nth(10));
  await t.expect(Selector("div[id='hp_hotel_name']", {timeout: 10000}).visible).ok({timeout: 10000});
}

fixture`A set of examples that illustrate how to use TestCafe API`

test('Text typing basics', async t => {
  const asd = new ProdHook();
  await t.addRequestHooks(asd);
  await t.navigateTo("https://devexpress.github.io/testcafe/example");
  await t
    .typeText(page.nameInput, 'Peter') // Type name
    .typeText(page.nameInput, 'Paker', { replace: true }) // Replace with last name
    .typeText(page.nameInput, 'r', { caretPos: 2 }) // Correct last name
    .expect(page.nameInput.value).eql('Parker'); // Check result
  await booking(t);
});

test('Click an array of labels and then check their states', async t => {
  const asd = new ProdHook();
  await t.addRequestHooks(asd);
  await booking(t);
  await t.navigateTo("https://devexpress.github.io/testcafe/example");
  for (const feature of page.featureList) {
    await t
      .click(feature.label)
      .expect(feature.checkbox.checked).ok({timeout: 10000});
  }
});

test('Dealing with text using keyboard', async t => {
  const asd = new ProdHook();
  await t.addRequestHooks(asd);
  await t.navigateTo("https://devexpress.github.io/testcafe/example");
  await t
    .typeText(page.nameInput, 'Peter Parker') // Type name
    .click(page.nameInput, { caretPos: 5 }) // Move caret position
    .pressKey('backspace') // Erase a character
    .expect(page.nameInput.value).eql('Pete Parker') // Check result
    .pressKey('home right . delete delete delete') // Pick even shorter form for name
    .expect(page.nameInput.value).eql('P. Parker'); // Check result
  await t
    .typeText(page.nameInput, 'Peter') // Type name
    .typeText(page.nameInput, 'Paker', { replace: true }) // Replace with last name
    .typeText(page.nameInput, 'r', { caretPos: 2 }) // Correct last name
    .expect(page.nameInput.value).eql('Parker'); // Check result

  await booking(t);
});

test('Moving the slider', async t => {
  const asd = new ProdHook();
  await t.addRequestHooks(asd);

  await booking(t);
  await t.navigateTo("https://devexpress.github.io/testcafe/example");
  const initialOffset = await page.slider.handle.offsetLeft;

  await t
    .click(page.triedTestCafeCheckbox)
    .dragToElement(page.slider.handle, page.slider.tick.withText('9'))
    .expect(page.slider.handle.offsetLeft).gt(initialOffset);
});

test('Dealing with text using selection', async t => {
  const asd = new ProdHook();
  await t.addRequestHooks(asd);

  await t.navigateTo("https://devexpress.github.io/testcafe/example");
  await t
    .typeText(page.nameInput, 'Test Cafe')
    .selectText(page.nameInput, 7, 1)
    .pressKey('delete')
    .expect(page.nameInput.value).eql('Tfe'); // Check result

  await booking(t);
});

test('Handle native confirmation dialog', async t => {
  const asd = new ProdHook();
  await t.addRequestHooks(asd);
  await t.navigateTo("https://devexpress.github.io/testcafe/example");
  await t
    .setNativeDialogHandler(() => true)
    .click(page.populateButton);

  const dialogHistory = await t.getNativeDialogHistory();

  await t.expect(dialogHistory[0].text).eql('Reset information before proceeding?');

  await t
    .click(page.submitButton)
    .expect(page.results.innerText).contains('Peter Parker');

  await booking(t);
});

test('Pick option from select', async t => {
  const asd = new ProdHook();
  await t.addRequestHooks(asd);
  await t.navigateTo("https://devexpress.github.io/testcafe/example");
  await t
    .click(page.interfaceSelect)
    .click(page.interfaceSelectOption.withText('Both'))
    .expect(page.interfaceSelect.value).eql('Both');

  await booking(t);
});

test('Filling a form', async t => {
  const asd = new ProdHook();
  await t.addRequestHooks(asd);
  await t.navigateTo("https://devexpress.github.io/testcafe/example");
  // Fill some basic fields
  await t
    .typeText(page.nameInput, 'Bruce Wayne')
    .click(page.macOSRadioButton)
    .click(page.triedTestCafeCheckbox);

  // Let's leave a comment...
  await t
    .typeText(page.commentsTextArea, "It's...")
    .wait(500)
    .typeText(page.commentsTextArea, '\ngood');

  // I guess, I've changed my mind
  await t
    .wait(500)
    .selectTextAreaContent(page.commentsTextArea, 1, 0)
    .pressKey('delete')
    .typeText(page.commentsTextArea, 'awesome!!!');

  // Let's submit our form
  await t
    .wait(500)
    .click(page.submitButton)
    .expect(page.results.innerText).contains('Bruce Wayne');

  await booking(t);
});

Your complete configuration file
module.exports = {
    "src": "tests",
    "pageLoadTimeout": 40000,
    "pageRequestTimeout": 45000,
    "selectorTimeout": 10000,
    disableMultipleWindows: true,
    disableNativeAutomation: false,
    concurrency: 3,
    screenshots: {
        path: "./artifacts/screenshots",
        takeOnFails: true,
        pathPattern: "${DATE}_${TIME}/${TEST}/${FILE_INDEX}_${QUARANTINE_ATTEMPT}.png",
        thumbnails: false
    },
}

Your complete test report
No response
Screenshots
No response
Steps to Reproduce
described above
TestCafe version
3.1.0-rc.1
Node.js version
v16.19.0
Command-line arguments
npx testcafe chrome/chrome:headless
Browser name(s) and version(s)
No response
Platform(s) and version(s)
MacOS 13.4.1
Other
No response

Split this issue into three different issues and create a separate thread for each case. It will allow us to process them more efficiently. Also, please prepare a minimal example for each case. Currently, the test code looks very large and not informative.

@AlexKamaev  I updated the ticket, please re-open it and try to fix. The issue is not reproducible for each case, that's why I tried to do different things to replicate it. Just copy the code, execute and debug.

This code has a reference to the page-model module. Please add the missing module to the description.

I manage to reproduce the issue only with Warsaw automcomplete on the Booking.com website.
I modified the code as follows:
async function booking(t) {
  await t.navigateTo("https://booking.com/");
  await t.wait(20000);
  await t.typeText(Selector("[data-testid='destination-container']"), "Warsaw", {replace: false});
  await t.wait(20000);
  await t.click(Selector("[data-testid='autocomplete-result']").withText(/Warsaw/));
  await t.click(Selector("td[role='gridcell'] span[class='b21c1c6c83']").nth(10));
  await t.click(Selector("td[role='gridcell'] span[class='b21c1c6c83']").nth(15));
  await t.click(Selector("button[type='submit'] span[class='e57ffa4eb5']"));
  await t.wait(5000);
  await t.eval(() => {
  const selector = document.querySelectorAll("div[data-testid='availability-cta'] a");
  selector.forEach(el => el.removeAttribute("target"));
  });
  await t.wait(3000);
  await removeTargetAttributes();
  console.log(\\`Count is: ${await Selector("div[data-testid='availability-cta'] a[target]").count}\\`);
  await t.click(Selector("div[data-testid='availability-cta'] a").nth(10));
  await t.expect(Selector("div[id='hp_hotel_name']", {timeout: 10000}).visible).ok({timeout: 10000});
}

I've added a couple of long timeouts and removed the replace option.
Please try this approach and share your results with us.
Moreover, I've found that a popup appears sometimes and interferes the test execution. So, you need to handle it somehow.

@AlexKamaev, still an issue to me. Even without replace . To be honest I even don't understand how that might solve the issue.
Is there any ways to show you the error on my end? I mean, to me it looks as a critical issue... don't know why you cannot reproduce it and how deleting of replace  might help....

I can reproduce the issue with the Warsaw autocomplete. I just gave you a couple of recommendations which work in my case. By the way, I managed to reproduce the issue even in headed mode. We'll research it.

@vasilyevi
Hi. I tried to research the issue. However, I cannot reproduce it anymore with the latest https://www.npmjs.com/package/testcafe/v/3.2.0 version.
The problem with the Warsaw autocomplete disappeared and now everything works as expected.
As for the issue with Selector, I noticed strange behavior. The Booking website renders different markup for the headless and headed modes. You can easily check it if you make screenshots or enable video recording. So the issue with Selector really exists, but not because of TestCafe.

Same issue in 2.6.2

@vasilyevi
I added a couple of takeScreenshot calls to your code as follows:
import { Selector } from 'testcafe';

fixture `f`
    .page `https://booking.com/`;

async function takeScreenshot (t, name) {
    await t.takeScreenshot({
        path: `${name}_${t.browser.alias}'.png`.replace(':', '_'),
        fullPage: true,
    });
}

test('test', async t => {
    await t.wait(10000);

    const closePopupButton = Selector('button[aria-label="Dismiss sign-in info."]');

    const exists = await closePopupButton.exists;
    console.log(exists)

    if(exists) {
        await t.click(closePopupButton());
    }

    await takeScreenshot(t, '1'); // step 1
    await t.typeText(Selector("[data-testid='destination-container']"), "Warsaw");
    await takeScreenshot(t, '2'); // step 2
    await t.click(Selector("[data-testid='autocomplete-result']").withText(/Warsaw/));
    await t.click(Selector("td[role='gridcell'] span").nth(36));
    await t.click(Selector("td[role='gridcell'] span").nth(46));
    await takeScreenshot(t, '3'); // step 3
    await t.click(Selector("button[type='submit']"));

    await t.wait(5000);

    await takeScreenshot(t, '4'); // step 4

    await t.eval(() => {
        const selector = document.querySelectorAll("div[data-testid='availability-cta'] a");
        selector.forEach(el => el.removeAttribute("target"));
    });

    await t.wait(3000);
    await t.click(Selector("div[data-testid='availability-cta'] a").nth(1));
    await t.wait(3000);
    await takeScreenshot(t, '5');
});

Please execute this test in Headless and Headed modes.
The click on search button action is executed between step 3 and step 4.
Please compare screenshots 3_chrome_headless.png and 4_chrome_headless.png. It looks like search works as expected because I can see completely different layouts.
Also, take a look at screenshots 4_chrome_headless.png and ``4_chrome.png. These screenshots even have different button labels. I also tried using the built-in [Video Recording](https://testcafe.io/documentation/402840/guides/intermediate-guides/screenshots-and-videos#record-videos) functionality. In videos, the search` button is clicked as expected.
Please try running my code in your environment and compare screenshots and video.

same result. Screenshots are below
1_chrome.png
2_chrome.png
3_chrome.png
4_chrome.png
5_chrome.png
1_chrome_headless.png
2_chrome_headless.png
3_chrome_headless.png
4_chrome_headless.png

I see that the layout in 3_chrome_headless.png is completely different from 4_chrome_headless.png. The only action between step 3 and step 4 was the button click.
Please enable video recording options and set the --speed option to 0.01 to see that the Search button was clicked. I believe that this is a booking issue, not a TestCafe issue.


Added ESLint for Code Quality Improvement.

https://github.com/r3bl-org/shortlink/issues/21

Added  .eslintrc.json file with some typescript , react and react hooks rules
Added different packages in dev dependency for eslint
Updated Readme.md for linting

Hello sir ! @nazmulidris  could you please check this ?

@SaurabPoudel Thanks for your contribution 👍🏽 I am not going to merge this PR, because I've decided not to use eslint. Your PR is great! And thank you for spending your time on this; I've added the hacktoberfest-accepted label on this PR, so you will get credit for it.


API call to determine if GUID generation is in progress

When the client starts up, it needs to be able to call the server to find out if the GUID is being generated or already exists without calling the profile API.

I'm thinking it would probably be best to do a websocket call. That way I can just push a notification over it when it's done.
Would that make sense?
If you can connect to the websocket, then it's generating the guid.
push notification comes over when it's done.

We need to be able to tell if server is down and GUID generation.

So:

websocket works, profile doesn't - probably generating a GUID
websocket fails - server is unreachable

Correct?

Well. That depend.
If I used the same websocket port for the guid message, I may need to close the connect and reopen it in order to change the protocol that is run on that port. I don't know what that would do to your end. Would it close the connection? If not, I would probably use that.
The other alternative would be to use a different port. But I would probably only open that if it's generating the guid, and leave it closed if it's not.


Custom colors for the UI

Hi, I'm using OpenL as dictionary for Moon+ Reader. Everything works fine but I'm using a brown/dark theme for Moon+ Reader and the visual change with the white of OpenL is quite hard for my eyes. Could you add an option to customize the colors of OpenL?.

Hi @juanfra684, customize the colors I don't think so, but I'll think about adding a Dark theme


Update log4j-api, log4j-slf4j-impl to 2.20.0

Updates

org.apache.logging.log4j:log4j-api
org.apache.logging.log4j:log4j-slf4j-impl

from 2.19.0 to 2.20.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.logging.log4j" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.logging.log4j" }
}]

labels: test-library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #557.


Fix Object.assign usages (spread syntax)

Add Object.assign polyfill from core.js to eval'd environment.

Nice! Looks good, and tested and verified that everything is working as expected in my app 👍


Proxy & Mutisig did not respect PostDispatchInfo to disable fee

With #6749, it is possible to mark a success transaction execution to be free.
However this is not respected by proxy and multisig.
I think we will want to make proxy/multisig call free if the underlying tx call is free?
cc @shawntabrizi

Thanks, I will look into it 👍

Batch is bit complicated, we may want a partial refund?

Too bad Acala Foundation on Kusama / Polkadot cannot enjoy https://github.com/paritytech/substrate/pull/7661 because our account is multisig / proxy.

Same for Polkascan Foundation's multisig account on Kusama. 😃

See my comment in the PR above:

Unfortunately, I don't think it can be trivially added here.
There is some sensibility to bubbling up "no fee payment" when calling batch or derivative or other utility calls, but I worry that this can become an attack vector.
For example imagine I do:
batch(batch(batch(batch(batch...(free_call)...)))))

I can basically do this arbitrarily to take the whole block, and pay no fee because the bottom call pays no fee, and each batch would bubble up that no fee was paid.
I think best to avoid anything like this for now.

I did not look at the pallet-proxy but at least for the pallet-multisig I would propose not to make the transaction entirely feeless but charge a small fair fee that reflects the space and computation time usage for wrapping the execution. So that for example the PostDispatchInfo returned by the wrapped call would be transformed into the following PostDispatchInfo of the operate extrinsic of pallet-multisig:

{ actual_weight: inner_weight, pays_fees: Yes} => { actual_weight: inner_weight + as_multi_complete(...), pays_fees: Yes}

{ actual_weight: _, pays_fees: No} => { actual_weight: as_multi_complete(...), pays_fees: Yes}


[Bug] Docker-compose deployment unavailable

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
With several major changes to streampark docker-compose is no longer available and we need to update it accordingly, including the documentation：

Support for multiple data sources to solve the following scenarios.
a.Newcomer experience function --> h2 data
b.Company rapid deployment-->mysql, pgsql database

Support multi-mode submission.
a.remote mode-->test and trial
b.k8s mode commit --> production use

3.Rapid deployment capability with just one line of command
4.Complete documentation support
StreamPark Version
1.2.4
Java Version
No response
Flink Version
1.14
Scala Version of Flink
2.12
Error Exception
无

Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

1.https://issues.apache.org/jira/browse/INFRA-23756 docker hub申请
2.https://issues.apache.org/jira/browse/INFRA-23754 github action白名单申请

👍 good job

https://hub.docker.com/r/apache/streampark/tags


Test Time 17

Test Time 17

@MihaiDejeu thank you for reporting this. I'll assign someone to take care of it soon.

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2020-12-24T11:17:02.439368.
Estimation here is 128 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@amihaiemil Don't forget to close this ticket before the deadline (2020-12-24T11:17:02). You are past the first half of the allowed period.

@amihaiemil Looks like you've missed the task deadline (2020-12-24T11:17:02). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.

@MihaiDejeu this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2021-01-03T11:21:13.510658.
Estimation here is 128 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@MihaiDejeu Don't forget to close this ticket before the deadline (2021-01-03T11:21:13). You are past the first half of the allowed period.

@MihaiDejeu thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Audio not streaming when user is using headphones

Hello sir,
Is there a way how i can automatically change mic inputs? Everytime when i plug in headphones into my laptop, other side does not hear my audio. However, i hear the other side.

Please check this wiki:

https://github.com/muaz-khan/RTCMultiConnection/wiki/Select-Camera-and-Microphone-Devices

thank you.
so what you would recommend is maybe iterate through all audio input devices, check if they are getting audio and set it as the one that is supposed to be active? Thank you


ImportError: cannot import name 'appdirs' (with Debian system Python)

I have a Python 3.6 virtualenv based on my Debian testing/unstable system Python, and within that virtualenv I ran pip install pipenv to install pipenv.
Then, running pipenv install in an empty directory gives me:
Traceback (most recent call last):
  File "/home/andreas/src/env-3.6/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1063, in invoke
    Command.invoke(self, ctx)
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/cli.py", line 62, in cli
    from . import core
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/core.py", line 33, in <module>
    from .project import Project
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/project.py", line 16, in <module>
    from .utils import (
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/utils.py", line 45, in <module>
    from pipenv.patched.piptools.resolver import Resolver
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 10, in <module>
    from notpip.req import InstallRequirement
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/patched/notpip/req/__init__.py", line 3, in <module>
    from .req_install import InstallRequirement
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/patched/notpip/req/req_install.py", line 17, in <module>
    from notpip._vendor import pkg_resources, six
  File "/home/andreas/src/env-3.6/lib/python3.6/site-packages/pipenv/patched/notpip/_vendor/pkg_resources/__init__.py", line 70, in <module>
    from pip._vendor import appdirs
ImportError: cannot import name 'appdirs'

python -m pipenv.help dies with the same trackeback.

looks like you're using an incompatible pip

I'm on pip 9.0.1 as far as I can tell.

Same error here, also debian-based system, but py 3.5
Requirement already satisfied: pip>=9.0.1 in /usr/lib/python3/dist-packages (from pipenv)
.
.
.
Successfully installed pipenv-11.5.2 setuptools-38.5.2 virtualenv-15.1.0 virtualenv-clone-0.3.0
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 1063, in invoke
    Command.invoke(self, ctx)
  File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pipenv/cli.py", line 62, in cli
    from . import core
  File "/usr/local/lib/python3.5/dist-packages/pipenv/core.py", line 33, in <module>
    from .project import Project
  File "/usr/local/lib/python3.5/dist-packages/pipenv/project.py", line 16, in <module>
    from .utils import (
  File "/usr/local/lib/python3.5/dist-packages/pipenv/utils.py", line 45, in <module>
    from pipenv.patched.piptools.resolver import Resolver
  File "/usr/local/lib/python3.5/dist-packages/pipenv/patched/piptools/resolver.py", line 10, in <module>
    from notpip.req import InstallRequirement
  File "/usr/local/lib/python3.5/dist-packages/pipenv/patched/notpip/req/__init__.py", line 3, in <module>
    from .req_install import InstallRequirement
  File "/usr/local/lib/python3.5/dist-packages/pipenv/patched/notpip/req/req_install.py", line 17, in <module>
    from notpip._vendor import pkg_resources, six
  File "/usr/local/lib/python3.5/dist-packages/pipenv/patched/notpip/_vendor/pkg_resources/__init__.py", line 70, in <module>
    from pip._vendor import appdirs
ImportError: cannot import name 'appdirs'

the pip you have installed (wherever pipenv is installed) appears to not be 9.0.1.

That's why I included the requirement already satisfied line. The source is in my case debian stretch's main repository, python3-pip=9.0.1-2. Is that not 9.0.1 then?

ah, they modify pip.

they remove _vendor

Did some digging, it appears that debian does not include ANY packages in _vendor.
/usr/lib/python3/dist-packages/pip/_vendor$ ls -la
total 20
drwxr-xr-x  3 root root 4096 Mar 12 14:08 .
drwxr-xr-x 11 root root 4096 Mar 12 14:08 ..
-rw-r--r--  1 root root 4804 Jan 11  2017 __init__.py
drwxr-xr-x  2 root root 4096 Mar 12 14:08 __pycache__

And after reading pip's policy about _vendor, I can see why. Since appdirs is a dependency, can it be imported directly? Even debian would be happy I think :)
/usr/lib/python3/dist-packages/pip/_vendor$ apt-cache search python3-appdir
python3-appdirs - determining appropriate platform-specific directories (Python 3)

We're heavily relying on pip's standard distribution. You should use that instead of system pip, imo.

e.g. install pipenv into a virtualenv if you must

Can you somehow check for vendor during pipenv's installation and force reinstall of pip if they're not found? It's very unintuitive.

this is asking for a lot — please just use a standard environment. we can only do so much.

P.S. we have a ppa we distribute, so we'll work to make that experience as smooth as possible.

So recommended action here: Install Pipenv within a virtualenv.

This will "go away" in the future, with some changes we have planned (for the rollout of pip10).

@techalchemy it's already solved.

e.g. install pipenv into a virtualenv if you must

That's what I did (see my report above), and I still encountered the issue.
FWIW, this still fails in the same way even if appdirs installed (e.g. into the same virtualenv).

it's already solved.

Sorry if I'm being dense, but I'm not sure I understand. The problem certainly persists for me, with no workaround that I'm aware of.

In 11.6.0?

Aw shoot, sorry. I was unaware that a new version of pipenv had been released in the meantime. Yes, I can confirm that I am no longer seeing this issue.

sorry, i forgot to update this issue 😆


Google Analytics

Adding Google Analytics is currently stalled due to this issue: https://github.com/okgrow/analytics/issues/57

Hey, its resolved! No longer on hold!

No longer actively being worked on.


#79 bug Fixed :Outlines are not visible in dark mode are fixed

Issue #79 📐

I <krishna seth](https://github.com/a-s-t-e-y-a) have worked for #79

Guidelines 🔐
I accept the fact that I have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

My pull request closes #79

Screenshots 📷
Here are the pictures of changes that I have made 🔽

@warmachine028 okay I'll try to fix this

@warmachine028 Please review the latest commit again

@warmachine028 Please review the latest commit again

Perfect! You have solved a big issue. Merging it now


Fix MKLDNN dependency with Ninja generator

Without BUILD_BYPRODUCTS Ninja complains about "no rule to build libmkldnn" at start-up.

/AzurePipelines run all

/AzurePipelines run all


'dict' object has no attribute 'rotate'

This happens when I run:
torchpack dist-run -np 1 python tools/train.py configs/nuscenes/seg/fusion-bev256d2-lss.yaml --model.encoders.camera.backbone.init_cfg.checkpoint pretrained/swint-nuimages-pretrained.pth
Thanks for the help.

i encounter the same issue

I'm also having the same issue, would like to ask if you solved it

Thank you for your interest in our project. This repository is no longer actively maintained, so we will be closing this issue. Please refer to the amazing implementation at MMDetection3D. Thank you again!


Fix GitHub license detection

License is not detected if the update-license.rb file is in root directory. 😞

          1 Message

:book:
Thank you for your contribution to this project! :+1:

  Generated by :no_entry_sign: Danger

oh...
That makes total sense!


[ADMINAPI-776] Analyze Docker images with docker

Build Dockerfiles as part of the workflow
Use docker scout action
Join pgsql and mssql Docker images

See it in action here: https://github.com/andonyns/Ed-Fi-AdminAPI/actions/runs/7049132068

Changes look good. Verified GH workflow run. Thanks Andony for a quick run though on the docker file changes.


Self-referential @ManyToMany relationships

Using an entity similar to this:
@Entity()
interface MyObject extends Parcelable, Persistable {

    @Key
    @Generated
    int id();

    String myString();

    @JunctionTable(name = "related_objects")
    @ManyToMany(mappedBy = "id")
    List<MyObject> relatedObjects();

    void setRelatedObjects(List<? extends MyObject> relatedObjects);
}

The following AbstractRelated_objects is generated:
@Entity(model = "default", stateless = false)
@Table(name = "related_objects")
@Generated("io.requery.processor.EntityProcessor")
public abstract class AbstractRelated_objects implements Serializable {
    @ForeignKey(
            delete = ReferentialAction.CASCADE,
            update = ReferentialAction.CASCADE,
            references = com.example.MyObjectEntity.class
    )
    @Key
    protected Integer MyObjectId;
}

I was under the impression that the junction should generate two columns rather than the single one.

Will be included in next update

You're awesome. Thanks for the quick fix!
How often till the 1.2.1 update?
No rush though, I can use jitpack in the meantime until you're ready.

There was a bit of delay, but it's available now


Rename/Remove properties

Hi !
I didn`t want to store some of from those properties like PhoneNumber and I want also to rename properties in mongo to lowercase.
Is there  a method to do that?
I tried to override them and use annotation BsonIgnore or BsonElement but not works maybe it was a dumb idea.
Then I tried to create class mapper conform : https://mongodb-documentation.readthedocs.io/en/latest/ecosystem/tutorial/serialize-documents-with-the-csharp-driver.html
but I got NullRefferenceExeption maybe I done something wrong.
Could you help me please?

This is a package for AspNet.Identity, so the user class must inherit from the IdentityUser class.
Which is defined here : https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.identity.entityframeworkcore.identityuser-1?view=aspnetcore-1.1
If you want something custom you must have a custom class mapping configuration, please refer to the docs here:
https://mongodb.github.io/mongo-csharp-driver/2.3/reference/bson/mapping/
Note: this has nothing to do with this package, there a MongoDB Driver specific settings.


feat(build): Add Open Build Service support

Fix https://github.com/txpipe/oura/issues/111

I am not saying this fixes everything, due to the nature of integration of several services, there may be improvements needed later, but until we merge this and release new version, I won't be able to tell...

We have succeeded where others have failed... =)
https://download.opensuse.org/repositories/home:/CardanoOS:/Factory/openSUSE_Tumbleweed/x86_64/

Moving to milestone v1.2 for now... I hope we can agree that integration for native packages (RPM and DEB) for wide range of distributions is beneficial, but there is no rush...

@mark-stopka I'm in the process of understanding OBS and I have some questions:

how does the workflow authenticate to OBS? I don't see any credentials or secrets
seems that the version of the package is hardcoded, would that be automated somehow?
I see a PERLUR copyright notice, is this a requirement?

@mark-stopka I'm in the process of understanding OBS and I have some questions:

how does the workflow authenticate to OBS? I don't see any credentials or secrets

If you get your own account, you can use organization secrets to authenticate, I myself now use intermediate GH repository...

seems that the version of the package is hardcoded, would that be automated somehow?

Yes, there is OBS service that updates the version in the OBS, so that the version in this repository can be constant.
https://github.com/CardanoOS/Factory/blob/050ac9e24512aa71731f254dd2217649d4980ded/packages/oura/_service#L17

I see a PERLUR copyright notice, is this a requirement?

No, it is something that comes from vim skeleton files for .spec files.


ERROR: Failed to parse JSON (issue/danger/github)

Hey
Trying to run danger-swift on Github's actions, but the following error:
ERROR: Failed to parse JSON: keyNotFound(CodingKeys(stringValue: "issue", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "danger", intValue: nil), CodingKeys(stringValue: "github", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"issue\", intValue: nil) (\"issue\").", underlyingError: nil))

ERROR: Dangerfile eval failed at Dangerfile.swift

Danger: ⅹ Failing the build, there is 1 fail.
## Failures
danger-swift` failed.

Any help would be greatly appreciated.
Danger file is
import Danger

SwiftLint.lint()

also, are you on a GitHub enterprise account? I've never seen an issue being optional in a PR (in my non-enterprise world)

It should use pull_request as trigger, that was my though, I think the event.json doesn't contain the pull request data otherwise

Yeah, that's true - you need danger-swift local to run when it's not a PR

@f-meloni probably worth a unique error message in this case?

That could actually live in danger-js too

@orta I remember I've added this
https://github.com/danger/danger-js/blob/master/source/ci_source/providers/GitHubActions.ts#L165-L187
To check if the event.json was valid, but apparently the event.json (also looking at the crash message) of that push event, has a pullRequest object with values on it, thing that is really strange, and not mentioned on PushEvent doc https://developer.github.com/v3/activity/events/types/#pushevent
We could maybe use GITHUB_EVENT_NAME and check if the event name is one of the supported ones, that I think are:

pull_request
pull_request_review
pull_request_review_comment
issue_comment_event

hah, nice work, I think that's probably a good call

Thanks, you early suggestion got it moving and not having this issue. The next issue for me to resolve it /bin/sh: 1: swiftlint: not found :/

Yes, that is because swiftlint is really heavy to build, then github actions doesn't build it for you.
There are several alternatives:

Release a swiftlint dockerfile as part of the release process as mentioned on https://github.com/danger/swift/issues/292#issuecomment-554730055
Have swiftlint in your Package.swift like we do on https://github.com/danger/swift/blob/master/Package.swift#L23
Have a swiftlint binary in your repo and pass the path SwiftLint.lint() call
Build swiftlint before running danger on the action

Running into this issue with a GitHub team account where in our repo, Issues is disabled since we don't use it...

Why would draft is not available on: pull_request.
it should have the pull request object.

/tmp/_tmp_dangerfile.swift:21:38: error: value of type 'GitHub.PullRequest' has no member 'draft'
7
    if let isPRDraft = danger.github.pullRequest.draft {

@alok-dks
Which version of Danger-Swift do you use on GitHub Actions?
draft is available since 3.3.1.

@417-72KI  I am using latest that GitHub Action that is our there from danger-swift people
https://github.com/marketplace/actions/danger-swift
It is not 3.3.1  as GitHub Action. 3.3.1 is latest danger-swift version.


Metric format

Which function return metric  geometry.Area() ?
https://github.com/paulsmith/gogeos/blob/21f81b2ea5af44d3f6029cc3e5bbbd26b2425236/geos/geom.go#L797

If you're asking for the unit of the returned value, it's the unit of the geometry's coordinates. If your geometry is in WGS84 then it will be degrees^2, if you're using a meter based projection it will be in meters.


Change progress bar from server side data

Type of issue

[ ] Bug report
[ ] Feature request
[ ] Support request

I guess the main issue is that even though the an expiration can be set, in my case, it is not guaranteed a file will still be in the cache when a user wants to update a file.  This can be because the user wasn't paying attention and the upload did not complete, they are uploading an update after expiration, or the history can be cleared, and so is the cached data.  As far as I am aware, the onProgress only provides enough information to create a custom progressbar.  Currently, the workaround I have seems to work, so not really in hurry to receive an answer, but would like to see more flexibility in the events for server side calls.
Uploader type

[ ] Traditional
[ ] S3
[ ] Azure

I have a prompt that allows a user to overwrite, rename (appends _1, _2, server side), resume or cancels the download.  The prompt currently shows onsubmitting to retrieve information for each file, and places that information in hidden elements for each file.  OnUpload, it uses the information  (e.g. server side filesize) to compare against the uploading size.
I have modified fineuploader so that the below updateProgress calls the onprogress you have for updating the UI, and an added method on the handler to set a property only on resume, which is used to recalculate the progress of the chunk parts on sendNext.  NOTE:  Javascript is not my area of strength, took me a while to figure out where things were being called.

                onUpload: function (id, name) {
                    var file = $(".qq-file-id-" + id);

                    var selectorValue = file.find("#duplicateSelectorValue").val();
                    if (selectorValue !== "") {
                        manualUploader.setParams({ operation: selectorValue }, id);
                    }
                    else
                    {
                        manualUploader.setParams({ guid: "", operation: "" }, id);
                    }

                    if(selectorValue === "append")
                    {
                        var file = $(".qq-file-id-" + id);
                        var oldSize = file.find("#oldSizeSelectorValue").val();
                        var newSize = file.find("#newSizeSelectorValue").val();
                        manualUploader.updateProgress(id, name, parseFloat(oldSize.substring(0, oldSize.indexOf("B"))), parseFloat(newSize.substring(0, newSize.indexOf("B"))));
                    }
                },

            _updateProgress: function (id, name, progress, total) {
                this._onProgress(id, name, progress, total);
                this._handler.setFileState(id, progress, total);
            },

            setFileState: function (id, loaded, total) {
                var state = this._getFileState(id);
                if (loaded && total) {
                    state.loaded = loaded;
                    state.CustomLoaded = loaded;
                }
            },

sendNext: function (id) {

                var state = handler._getFileState(id);
                var nextIdx;
                var loaded = Math.ceil(state.loaded / options.chunking.partSize);
                if (state.CustomLoaded && (Math.ceil(state.file.size / options.chunking.partSize) - loaded + 1) !== state.chunking.remaining.length) {
                    state.chunking.remaining.splice(0, loaded)
                    nextIdx = chunked.nextPart(id);

                }
                else
                {
                    nextIdx = chunked.nextPart(id);
                }

I'm having some trouble understanding your question. Can you try to re-phrase and clarify what you are looking for?

Would you add/modify events/methods so that server side fileSize can be used to resume the upload even after the file has expired from cache, or browser history has been cleared?
The onProgress you have setup currently, I believe, only is there for creating a custom progressbar.  In my case, since the user should have the ability to resume an upload after expiration/cleared browser history, then I need to be able to update the progress of fineuploader based on server side file size.  I am not just saying that the UI should be updated, but be able to resume from the correct chunk part.
If you look at the sendNext method I provided above, I have set a value that is only used during the server side resume process (CustomLoaded).
The below condition makes sure this value is set, which indicates the resume is in process, and checks to see if the the remaining length of chunkParts doesn't equal the new loaded chunkPart size.  This is because, if the file is still in the cache, then the remaining amount of chunkParts has already been spliced to the correct number and the two values should be equal.  But, if the file is not in cache anymore, then the full amount of the remaining chunkParts are being loaded, and would have to be spliced to get the correct remaining chunkParts.

if (state.CustomLoaded && (Math.ceil(state.file.size / options.chunking.partSize) - loaded + 1) !== state.chunking.remaining.length) {

so that server side fileSize can be used to resume the upload

There is a lot more information needed other than file size to resume a file.
I don't see providing another way to feed resume data into Fine Uploader at this time. But I would certainly look at and discuss a pull request, provided the changes are simple and well-tested.

so that server side fileSize can be used to resume the upload

There is a lot more information needed other than file size to resume a file.
The only reasonable way to do this would be to export the resume record(s) generated by Fine Uploader, store them server side, and then feed then into Fine Uploader via an API method.

"There is a lot more information needed other than file size to resume a file."
I disagree based on what I have as a work around, though it may be more complicated than what I am doing, or so far, I haven't ran into an issue, but there may be an issue.  Also, I am not using s3 or azure, at this time.
Even though the events could be better suited for this type of thing, at least in this case, the only thing the developers would need is a better method exposed to indicate that this a special circumstance, and to compare the file size on the server with file being uploaded and move the chunkParts and UI appropriately.  Like I said, I already this working and it is all that I have already posted codewise (minus passthru methods to get to the handler), so at least low level method does work.

File is uploaded, but paused or user closes browser.

parts have already been saved to server at the location they are going to be at when it finishes uploading.  The codebehind is handling where the file is being saved to based on database configuration.  I use c#.

File in fineuploader has been removed from cache, either through expiration or clearing history.

User drags and drops the same file, and the developer  (me and us) codes the events to handle what may happen if the file exists, like I have with the prompt.

Now if you want to handle actually getting the fileSize in the same progress or handle the prompt, it may be more complicated, but right now I have the fileSize returned onSubmitting and placed in file element, which is then used in the onUpload to change the progress of the chunks and UI.

The only reasonable way to do this would be to export the resume record(s) generated by Fine Uploader, store them server side, and then feed then into Fine Uploader via an API method.

Well, I am not sure about the "only reasonable way", but I am sure that would require more work.  Having more control over the FineUploader regardless of whether we export the data or not would be my preferable way to go, and I don't see why both methods could not be added.

I'll admit I'm having a lot of trouble following your logic and your code. But it sounds like you want to be able to supply resume records from the server, and not just rely on localStorage.  In that case, I'm not sure why you are focusing on file progress/events. Progress really has nothing to do with resuming file uploads. I encourage you to take a close look at the resume upload logic in the library.
Having a complete understanding of the library and the various workflows: I think exporting the resume records and then re-importing them later would be, by far, the simplest route as well. This leaves a lot less margin of error as well.

"But it sounds like you want to be able to supply resume records from the server, and not just rely on localStorage"
yes.
"In that case, I'm not sure why you are focusing on file progress/events."
With what is available and limited knowledge and time constraints, I had to use the above method to change both the UI progress bar percentage and chunkParts.  I am using the gallery template and not messing with much of the UI.  I had found out that calling your onProgress only changes the UI.  Then had to figure where to change the chunkParts.  I just need it to be called onUpload, so I made my own method to get there.  I am sure there were more builtin methods that I could have used, but this is my process of understanding the library and workflows, and getting what I have tasked to do done with limited knowledge.
"I think exporting the resume records and then re-importing them later would be, by far, the simplest route as well. This leaves a lot less margin of error as well."
If you think so, then I am all for it.

What I am trying to avoid is exactly what you are doing: "had to use the above method to change both the UI progress bar percentage and chunkParts". If you have a valid resume record, and the user drops/selects a file that matches the record, everything will "just work". So providing a way to export these records and store them wherever you like, along with an API method to import them again later from your storage location of choice, seems like an intuitive approach here.

Wherever this is, I'm not going to implement it


Added unique index migration

Migration has been generated for unique index for snitch_country for fields [:iso, :iso3, :name, :numcode]

@gopalshimpi Is this still in progress, as I can see WIP tag

Can confirm that this is WIP. Though the index is on the wrong columns now (it should be on them separately), it will ensure that there are no duplicate countries (inserted perhaps by multiple invocations of seed).
We need this on snitch_states too.

Usually in a seed we try to find any existing data in db and update that. Or we create new data. Seed is not like you'll run frequently. So if it this migration helps us anywhere else than seed then its fine.

@pkrawat1 will be removing it now. :+1:

@pkrawat1 Yes we going to check same thing before running seed (db insert). Will raised PR same ASAP.

Let’s merge it if all is good!
On Wed, 28 Mar 2018 at 12:59 PM, Ananya Bahadur<EMAIL_ADDRESS>wrote:

@oyeb approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aviabird/snitch/pull/27#pullrequestreview-107568345,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB9P5_d4u76z_dpY_vzr_4g4W2pe4vzzks5tizvbgaJpZM4Sgmu6
.

--
Sent from phone


Catastrophic failure error after adding 'memory' to cgroup_no_v1 kernel command line with systemd enabled

Version
Microsoft Windows [Version 10.0.22621.755]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.15.68
Distro Version
Ubuntu 22.04.1
Other Software

Podmanpodman version 3.4.4

Repro Steps

Enabling systemd and Cgroups v2

Enable systemd in WSL:

$ cat /etc/wsl.conf
[boot]
systemd=true

Enable Cgroup v2 via fstab:

$ cat /etc/fstab
cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0

Enabling cgroups V2 without memory added to cgroup_no_v1 kernel commandline

Add cgroup_no_v1 cmdline to kernel without memory:

# .wslconfig
[wsl2]
kernelCommandLine = systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=cpuset,cpu,cpuacct,io,devices,freezer,net_cls,perf_event,net_prio,hugetlb,pids,rdma

Restart distro:

wsl -t Ubuntu
wsl --shutdown
wsl --distribution Ubuntu

Distro starts successfully
Podman displays cgroup as V2 but cgroupControllers lists only cpuset, cpu, io and pids. Same with cgroup.controllers:

$ cat /sys/fs/cgroup/user.slice/user-1000.slice/cgroup.controllers
cpuset cpu io pids

Enabling cgroups V2 with memory added to cgroup_no_v1 kernel commandline

Add cgroup_no_v1 cmdline to kernel without memory (or setting all):

# .wslconfig
[wsl2]
kernelCommandLine = systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=memory,cpuset,cpu,cpuacct,io,devices,freezer,net_cls,perf_event,net_prio,hugetlb,pids,rdma
# or
# kernelCommandLine = systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=all

Restart distro:

wsl -t Ubuntu
wsl --shutdown
wsl --distribution Ubuntu

Distro start fails, with the following message:

    Catastrophic failure
    Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/0x8000ffff

Expected Behavior
Cgroup v2 is enabled with memory included in controllers. This will be useful for setting up rootless podman and even Kubernetes.
Actual Behavior
If memory is included, distro start will fail with the following error message:
Catastrophic failure
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/0x8000ffff

Diagnostic Logs
WSL Logs:
WslLogs-2022-11-05_12-39-48.zip
Podman info (rootful):
host:
  arch: amd64
  buildahVersion: 1.23.1
  cgroupControllers:
  - cpuset
  - cpu
  - io
  - hugetlb
  - pids
  - rdma
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: 'conmon: /usr/bin/conmon'
    path: /usr/bin/conmon
    version: 'conmon version 2.0.25, commit: unknown'
  cpus: 12
  distribution:
    codename: jammy
    distribution: ubuntu
    version: "22.04"
  eventLogger: file
  hostname: alonpc
  idMappings:
    gidmap: null
    uidmap: null
  kernel: <IP_ADDRESS>-microsoft-standard-WSL2
  linkmode: dynamic
  logDriver: k8s-file
  memFree:<PHONE_NUMBER>
  memTotal:<PHONE_NUMBER>
  ociRuntime:
    name: crun
    package: 'crun: /usr/bin/crun'
    path: /usr/bin/crun
    version: |-
      crun version 0.17
      commit: 0e9229ae34caaebcb86f1fde18de3acaf18c6d9a
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  os: linux
  remoteSocket:
    exists: true
    path: /run/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: false
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: false
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: 'slirp4netns: /usr/bin/slirp4netns'
    version: |-
      slirp4netns version 1.0.1
      commit: 6a7b16babc95b6a3056b33fb45b74a6f62262dd4
      libslirp: 4.6.1
  swapFree:<PHONE_NUMBER>
  swapTotal:<PHONE_NUMBER>
  uptime: 29.83s
plugins:
  log:
  - k8s-file
  - none
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries: {}
store:
  configFile: /etc/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  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: 1
  runRoot: /run/containers/storage
  volumePath: /var/lib/containers/storage/volumes
version:
  APIVersion: 3.4.4
  Built: 0
  BuiltTime: Thu Jan  1 08:00:00 1970
  GitCommit: ""
  GoVersion: go1.17.3
  OsArch: linux/amd64
  Version: 3.4.4

podman info (rootless):
host:
  arch: amd64
  buildahVersion: 1.23.1
  cgroupControllers:
  - cpuset
  - cpu
  - io
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: 'conmon: /usr/bin/conmon'
    path: /usr/bin/conmon
    version: 'conmon version 2.0.25, commit: unknown'
  cpus: 12
  distribution:
    codename: jammy
    distribution: ubuntu
    version: "22.04"
  eventLogger: file
  hostname: alonpc
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  kernel: <IP_ADDRESS>-microsoft-standard-WSL2
  linkmode: dynamic
  logDriver: k8s-file
  memFree:<PHONE_NUMBER>
  memTotal:<PHONE_NUMBER>
  ociRuntime:
    name: crun
    package: 'crun: /usr/bin/crun'
    path: /usr/bin/crun
    version: |-
      crun version 0.17
      commit: 0e9229ae34caaebcb86f1fde18de3acaf18c6d9a
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  os: linux
  remoteSocket:
    exists: true
    path: /run/user/1000/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: true
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: false
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: 'slirp4netns: /usr/bin/slirp4netns'
    version: |-
      slirp4netns version 1.0.1
      commit: 6a7b16babc95b6a3056b33fb45b74a6f62262dd4
      libslirp: 4.6.1
  swapFree:<PHONE_NUMBER>
  swapTotal:<PHONE_NUMBER>
  uptime: 1m 21.06s
plugins:
  log:
  - k8s-file
  - none
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries: {}
store:
  configFile: /home/alonbuella/.config/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: 'fuse-overlayfs: /usr/bin/fuse-overlayfs'
      Version: |-
        fusermount3 version: 3.10.5
        fuse-overlayfs: version 1.7.1
        FUSE library version 3.10.5
        using FUSE kernel interface version 7.31
  graphRoot: /home/alonbuella/.local/share/containers/storage
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  imageStore:
    number: 3
  runRoot: /run/user/1000/containers
  volumePath: /home/alonbuella/.local/share/containers/storage/volumes
version:
  APIVersion: 3.4.4
  Built: 0
  BuiltTime: Thu Jan  1 08:00:00 1970
  GitCommit: ""
  GoVersion: go1.17.3
  OsArch: linux/amd64
  Version: 3.4.4

At the moment, unfortunately, it appears that the Microsoft init requires v1 memory cgroups to work. Sadly, no workaround at present.
(There's an extended discussion of this in #6662, in particular here: https://github.com/microsoft/WSL/issues/6662#issuecomment-833874337 and onward.)

Seems to work for me (or rather, cgroup_no_v1=all does) in WSL 1.0.1. Give that one a try, if you can.


The networks used for training model

Hello, thanks for the excellent work and sharing source codes. I'm working on mono-depth estimation for my robotic project and came across your work online. I saw two papers related to this git repo. one is  and second one is .
I just quickly skimped through these two papers (not knowing too much details yet), and noticed that these two papers seem using different networks for training models.
The 1st paper uses YOLOv5 for both training networks (object detection & depth estimation); while the 2nd paper uses ResNet-50 for object detection and ResNet-18 for depth estimation. Are I correct?
My question is what exactly networks are being used in this git repo?
Thanks
Terry

Thank you for showing your interest in this paper.
There are two papers:
GCNDepth: Self-supervised Monocular Depth Estimation based on Graph Convolutional Network
This paper is about a depth prediction and has two sub-network: DepthNet and PoseNet. The pre-trained model of ResNet50 is used for DepthNet and the Pre-trained model ResNet18 is used for PoseNet.
This repository is for this paper and you will get the relative distance of the objects with this model.
[Absolute distance prediction based on deep learning object detection and monocular depth estimation models]
This is the second paper. In this paper, we estimated the absolute distance of each object. This model has two sub-network as well. The first network is GCNDepth (the whole model of the first paper, which is this repo) and the second subnetwork is famous YOLOv5 for object detection. You can find the YOLOv5 code in the below link:
https://github.com/ultralytics/yolov5


Build failed with the latest syntex

syntex = { version = "^0", optional = true } Maybe a more strict requirement?
Error description:
expected `&mut syntex::Registry`,
    found `&mut inner::syntex::Registry`
(expected struct `syntex::Registry`,
    found struct `inner::syntex::Registry`) [E0308]

Thanks.  I've pushed a fix.


Split videos using time stamps

YouTube format
https://support.google.com/youtube/answer/9884579?hl=en

YouTube is a gold mine and you will never watch these quality videos.


[Improvement] Code Improvement for Theme Appearance Feature

Reduces repeated condition logic calls 😁, Thank youu 🚀
cc: @MaatheusGois

#35 Code Improvement for Theme Appearance

Reduces repeated condition logic calls 😁, Thank youu 🚀
cc: @MaatheusGois

#35 Code Improvement for Theme Appearance


[8.x] Added the ability to send to a batch job with a delay

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

@taylorotwell I'm pretty sure this code solves the problem.


zoom challenge

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

after I set my zoom level to 10, I couldn't zoom out anymore Even after reinstalling a new one and deleting the files is still glitching

zoom levels are persisted in your user data directory, you can delete them at C:\Users\<username>\AppData\Roaming\Code


Progress element customization

In order to allow for more customization for the <progress> element, the max of it should be stored in a variable and the way it is handled should be changed to work with this variable-based max instead of 100. This change will be implemented before the release of Fermion.

Implementation complete. Issue resolved.


QueryStringDecoder's javadoc fix

AUTOMATED MESSAGE for ADMINS:Please verify and accept the pull request.To accept, say @netkins acceptTo build again, say @netkins buildTo whitelist the author, say @netkins whitelist

@netkins accept

@ruslansennov thanks!
Cherry-picked into 4.0 (2cb7991aeeaa1e13d92e68e6fcd9808e9b5f65999) , 4.1 (1a5254b5976808a1c394e4bc541d49c434f3fe0b) and master (1645e97c2e880309bcea441763a4e6dbe03b1f05)


ImportError: DLL load failed while importing _sherpa_onnx:

Windows.
Version 1.10.27
File "C:\Python38\lib\site-packages\sherpa_onnx_init_.py", line 1, in
from _sherpa_onnx import (
ImportError: DLL load failed while importing _sherpa_onnx: The specified module could not be found.

how did you install sherpa-onnx?

pip install sherpa_onnx.

Have you tried to.use.a virtual environment?

I will try.

Z:\sherpa>python -m venv myenv
Z:\sherpa>myenv\Scripts\activate
(myenv) Z:\sherpa>pip install sherpa-onnx
Collecting sherpa-onnx
Downloading sherpa_onnx-1.10.27-cp38-cp38-win_amd64.whl (20.8 MB)
|████████████████████████████████| 20.8 MB 504 kB/s
Installing collected packages: sherpa-onnx
Successfully installed sherpa-onnx-1.10.27
WARNING: You are using pip version 20.2.1; however, version 24.2 is available.
You should consider upgrading via the 'z:\sherpa\myenv\scripts\python.exe -m pip install --upgrade pip' command.
(myenv) Z:\sherpa>python -c "import sherpa_onnx; print(sherpa_onnx.file)"
Traceback (most recent call last):
File "", line 1, in
File "Z:\sherpa\myenv\lib\site-packages\sherpa_onnx_init_.py", line 1, in
from _sherpa_onnx import (
ImportError: DLL load failed while importing _sherpa_onnx: The specified module could not be found.
(myenv) Z:\sherpa>

how many onnxruntime.dll are there on your computer?

C:\Python38\bin\onnxruntime.dll
C:\Python38\Lib\site-packages\onnxruntime.dll
C:\Python38\Lib\site-packages\onnxruntime\capi\onnxruntime.dll

How did you find them?
Please delete all of them and reinstall sherpa-onnx.


HBASE-26862 Fix CME when closing region

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 37s
Docker mode activated.

The KeyValueHeap is not designed to be thread safe, so I think it is the duty for upper layer class to fix the concurrent modification exception, where scanNext and close should not happen at the same time.


Editor is getting focused even if autoFocus is not enabled

@gaagul:  After changing the version of neeto-editor from 1.26.3 to 1.26.7 the editor field is getting focused by default even if the autoFocus is not enabled.

@gaagul _a please have a look which commit introduced this issue. We'll fix accordingly.


[Enhancement] Expert worker: support multiple layer execute at one step

This add lots of complexity to the scheduler. But the benefit seems limited according to the profiling with grouped_gemm.


fix(versions): update Activiti/activiti-cloud-example-chart-modeling versions into master

UpdateBot pushed helm dependency: activiti-cloud-modeling to: 7.1.81

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-modeling 7.1.81

 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.jenkins-x-bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


gapSize not working

Bug
When data is missing in between, the dots should not connect and gapSize property from highcharts is not working here.
How to reproduce
https://stackblitz.com/edit/spline-react-jsx-highcharts?file=MyChart.js
Live demo demonstrating bug
https://stackblitz.com/edit/spline-react-jsx-highcharts?file=MyChart.js
Versions

React JSX Highcharts version: 3.0.0
Highcharts version: 6.0.7
React version: 16.1.1

Or is it something I'm doing wrong?

Hi @ismusidhu, if you search for gapSize in the Highcharts api reference, you'll see it's not present, it seems to be a Highstock only option.
If you change your Highcharts import to...
import Highcharts from 'highcharts/highstock';

The the gap size start working as expected.
Example here


Which port to forward

My Linux desktop has a software firewall (UFW).
I can't connect bombsquad-remote-android to the game running on the desktop because of that even on LAN. I can connect if I turn the Firewall off (Which is prohibited 😢 ).
Which port should I forward from desktop to LAN when I connect bombsquad-remote-android to bombsquad game on the desktop?
I love Bombsquad! Thanks in advance 😄

Got it 😄
Forwarding 43210 did the trick 😉 just like the server
https://github.com/efroemling/bombsquad-remote-android/blob/7f71f94df9676cbc6ae4ddb64051393569014bb9/BSRemote/src/main/java/net/froemling/bsremote/ScanActivity.java#L449


Remarks not shown in IDE

In your animated use case (GIF) you show that all the problems within that file are shown in the bottom area and are marked with a red dot.
On my computer this does not happen, but the file is changed (and saved :-( ) after starting the fix-Command.
So it looks like the phar file is working, but remarks are not shown.

windows 7
atom 1.29.0
php-cs-fixer atom plugin 4.1.1
php cs fixer 2.12.2

This is not part of this plugin, this is only for visualization.


Resource field description cleanup

This PR addresses the fixes laid out in #3224

Remove unused fields
Add descriptions to all fields
Make descriptions mandatory for Field and Resource instances
Update unit tests to reflect mandatory descriptions
Update the docstring examples to reflect mandatory descriptions
Remove the x-fail from the test_defined_fields_are_used  test so we make sure all fields are being used
Add a new alembic migration for altering the metadata

Notes on unused fields that were removed:
(I went through and checked when each description-less field was last edited to see what might have happened)

active no record of addition
country changed to owner_country out_eia860__yearly_ownership table from the ownership_eia860 table
credits_or_adjustments no record of addition
delivery_customers no record of addition
depreciation_amortization_value from f1_dacs_epda table - I think changed to "dollar_value" in the out_ferc1__yearly_depreciation_summary_sched336 table
electric_plant no record of addition
energy_source no record of addition
environmental_equipment_name from the raw_eia923__emissions_control table which hasn't been transformed yet
expense changed to dollar_value in the core_ferc1__yearly_operating_expenses_sched320 table
fuel_transportation_mode no record of addition
future_plant no record of addition
income changed to dollar_value in the core_ferc1__yearly_income_statements_sched114 table
is_total used to be used to identify total rows in ferc1 tables
leased_plant no record of addition
line_id no record of addition
month no record of addition
notes was used to show any notes extracted from ferc1 tables
operator_name not exactly sure, maybe dropped from eia860 ownership out_ table?
operator_state not exactly sure, maybe dropped from eia860 ownership out_ table?
operator_utility_id_eia not exactly sure, maybe dropped from eia860 ownership out_ table?
other no record of addition
other_total no record of addition
owner_name owner_name
peak_demand_summer_mw old ferc714 table description_pa_ferc714
peak_demand_winter_mw old ferc714 table description_pa_ferc714
period_nox from the raw_eia860__boiler_info table that gets pulled into the _core_eia860__boilers table but I guess the columns get dropped
period_particulate from the raw_eia860__boiler_info table that gets pulled into the _core_eia860__boilers table but I guess the columns get dropped idk if it's intentional?
period_so2 from the raw_eia860__boiler_info table that gets pulled into the _core_eia860__boilers table but I guess the columns get dropped idk if it's intentional?
prime_mover no record of addition
retail_sales no record of addition`
sales_for_resale no record of addition
status no record of addition
storage_capacity_mw no record of addition
storage_customers no record of addition
total no record of addition
total_meters no record of addition
transmission no record of addition
unbundled_revenues no record of addition
utility_attn no record of addition
utility_pobox no record of addition
virtual_capacity_mw no record of addition, probably from pre-normalized EIA861 data
virtual_customers no record of addition, probably from pre-normalized EIA861 data

Suggested fixes based on going through lots of field metadata:
High priority fixes:

[ ] business_model this is a weird column in core_eia861__yearly_sales which contains a letter I'm not sure if we've coded correctly.
[ ] fuel_pct kind of funky carve out.
[x] All peak_reduction columns should be in MW not MWH! (this means fixing the actual column name which is a bit of a pain

Low priority fixes (probably out of scope):

[ ] demand_mwh Could be more specific: add "hourly_demand"?
[ ] incremental_energy_savings_mwh Appears to align with old column "energy_efficiency_incremental_effects_mwh" - maybe we want them to have the same name? (from 2012 split from DSM table to EE/DR tables).
[ ] incremental_peak_reduction_mw Appears to align with old column "energy_efficiency_incremental_actual_peak_reduction_mw" - maybe we want them to have the same name? (from 2012 split from DSM table to EE/DR tables).
[ ] respondent_type Maybe this should be more specific like "respondent_type_ferc714"
[ ] utc_datetime There's another field similar to this - investigate whether they are the same thing or not. On a similar note: it might be worth it to go through some of the fields and make sure there are no duplicates. I feel like there are a lot of categorical fields like "respondent type" etc. that are very similar across data sources. We should either make them more specific by adding data source suffixes or make them more generic and apply to all tables. There's definitely an opportunity to go through some of the fields and prune a bit, but it's not a small task.
[ ] utility_owned_capacity_mw Could make this col name more specific to non-net metered capacity

Suggested fixes based on going through lots of resource metadata:
Low priority fixes (probably out of scope)

[ ] Come up with standard format for resource descriptions (at least within a given source) so there is some standardization.
[ ] It looks like we currently don't integrate the EIA861 dispersed_generation tables (part of the raw distributed_generation spreadsheets). Is that something we want to do? (distributed = grid connected, dispersed = not grid connected).

One question I have is how or whether we will create descriptions for the output tables (all tables with the out prefix). Right now it seems like the only table metadata we have exists in for core normalized tables.

I think given that we intend the out_ tables to the be the ones that are most commonly used / user friendly, we'll want to make sure they all have descriptions. Though these could be very similar or even identical to the descriptions of the corresponding core_ table if they're conceptually the same.

(converting to draft so the ci-integration doesn't cost us money while there's some additional back-and-forth)

@zaneselvans renaming tables is a bit more disruptive than just updating descriptions etc. Just want to confirm that it's ok to go ahead and update some of these table names as per your/my suggestions.

We should remove the xfail from the two unit tests that check whether all fields and resources have descriptions (they're currently XPASS in the unit tests, so seems like they should pass) or potentially remove them entirely since we're now requiring descriptions.

I think it makes sense to remove them because of the required description field.

@aesharpe I think there's only a handful of things left that are unclear and that we want to try and address in this PR. I made some small wording suggestions / typo fixes, fixed the one truly wrong column name (MWh => MW) and gathered together the issues we're punting until later in #3322.


server list

Current SDK Version
5.0.5
Use-case
List all deployed server from a  datacenter
If there ais a deployment, than it is neccessary to check the server names. Here would be great, if the server module able to deliver back the full list of server names.
References
my temporary solution, to query directly the API url, but there have I circumveniate the "items" keyword from json reply.

Hi @gyokiss , for us it looks like implementation of custom facts is requested.
In general, it's a good addition to the existing code and if done, it should be done for all resources.
However, I, personally, still not get a grasp on what the use-case and it's approach is.
Having a list is fine, but if you want to check s.th. particular you already have to know what you are looking for (i.e. by name or by UUID).
Can you please explain it in more detail?
The same holds for #23 , I'll X-ref there

Hi,
the usecase: I'm currently building the environment automation. The deployment would be started from ansible-tower or rundeck.  The deployment should be done unattended. My issue is- hostnames are not autogenerated, so I have to check it - in datacenter the choosen hostname is free (otherwise can it lead strange situations).
My first step: check the hostname. Sadly the API created - through url - a little bit less ansible friendly as would be best. ( in response we have a "block" named "item") - my workaround is two times jmeshquery.
gyokiss

Hello,  A new module has been added: server-info, on the v6.2.0 release. Sadly, we are no longer adding new features or enhancements on version 5, we're addressing only bugs. We encourage you to update the module to the version 6.
Have a nice day!


[APIReview] Rename Top to Size

In MobileTableQueryOptions, rename Top toSize.  It makes more sense to .NET developers.

Fixed in #161


Relax access_rights max cardinality

In https://semiceu.github.io/GeoDCAT-AP/releases/#optional-properties-for-catalogue (and more specific https://semiceu.github.io/DCAT-AP/releases/3.0.0/#Distribution.rights) there is a max-cardinality of 1 for rights. When mapping our ISO INSPIRE records we create multiple rights statements. This is because each statement in stored in the ISO records as an embedded statement and not as an external linked webpage.
Proposal: relaxing the max-cardinality for rights.

Just to clarify the proposal, this would mean, as you already suggest, relaxing the cardinality also in DCAT-AP, not just GeoDCAT-AP, to keep the profiles compatible.

During the webinar, the proposal to lift the cardinalities in GeoDCAT-AP and DCAT-AP was approved.


feat: postponement usability improvements

Description

render postpone button after the edit button
do not render 'Postpone' next to postpone button
do not render the postpone button if task has DONE, CANCELLED or NON_TASK
fix a typo in a notice

Motivation and Context
Improve postponement rendering & usability
How has this been tested?
Exploratory test
Screenshots

Note the position of the rendered postpone button on the last task only, absence of the 'Postpone' label and the absence of the postpone button among the first 3 tasks with different statuses (DONE, CANCELLED or NON_TASK)
Types of changes

[x] New feature (prefix: feat - non-breaking change which adds functionality)

Checklist

[x] My code follows the code style of this project and passes yarn run lint.
[x] My change has adequate Unit Test coverage.

Terms

[x] My contribution follow this project's contributing guide
[x] I agree to follow this project's Code of Conduct

Thanks.
Since you've done the work, when I have time I'll go ahead and review this, but after that we need to have chat more about getting un-tested code under test before changing it.

Thanks very much for doing this!


[Minor][Core] Fix typo

Test build #30069 has started for   PR 5466 at commit 2789fd5.

Test build #30069 has finished for   PR 5466 at commit 2789fd5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30069/
Test PASSed.

That's fine.
As an aside, a little typo fix is easy to merge, and I want to be able to accept those. However for more experienced contributors, I would suggest trying to fix larger logical problems. Taking this trivial example, if you spot a typo -- how about a quick spell check on the rest of the file? I want to get in fixes, but we have a big problem of review overhead, and I think we're reaching for trivial pull requests too often.
More about this coming soon.

Thanks for suggestion.


High availability (HA) / K8s StatefulSet compatibility

To ensure compatibility for Kubernetes StatefulSet mechanism, it should be possible for a master node to perform a sync to a Crowd server while the slave nodes are limited to a read-only access to the shared database.

Overview for joining a cluster: https://doc.akka.io/docs/akka/current/typed/cluster.html#cluster-membership-api
Boot Cluster without the configuration of seed nodes: https://doc.akka.io/docs/akka/current/additional/operations.html#cluster-bootstrap
Cluster singleton pattern: https://doc.akka.io/docs/akka/current/typed/cluster-singleton.html

To solve the reqiurement - when running multiple instances of the application only one instance shall perform the sync operations between Crowd and the database - I suggest a much simpler solutions:
To ensure that only one of the scheduled tasks (one per instance) does the actual work we should the a logical database lock, in Postgres they are called advisory locks.
When the task starts he tries to get the advisory lock - the lock mechanism ensures that only one task will get the lock.
If he succeeds he keeps the lock until the sync is finished.
The other tasks will fail in getting the lock and won't perform the sync.
This design pattern is f.e. also used in the liquibase extension "sessionlock" and I use that pattern since many many years to prevent scheduled tasks/jobs running parallel when multiple instances of a job exist.

The scheduled task has fixed initial delay and intervall, this must be made configurable.

With version 7.2.0 the dblock feature is released.
Solution as described above is implemented.


Feature Update: Warning on 'Accidental' Exit from Main Screen

Current Scenario:

On clicking the back button from the Main-Screen of the ODK-Services Application, the Application gets exited immediately.

Issue:

For better User Experience, a warning message should be provided to the User before leaving the Application by clicking on the Back Button.

Proposed Solution:

Implementation of the above Issue by prompting a warning message when the User clicks on the Back Button.
The User would perform the required operation of remaining in the Application or Exiting it by interacting with the Warning Message.

Reference:

The October 2019 Convening of Improving UX for Existing Users.
https://docs.google.com/document/d/1_4x9x3eHxo4qevBRlpmCC9L2bVlUkAQuAlidT8wJDzI/edit#

PS: If this Feature Update appears to be a valid one, I would like to work on it.

Yes, I too think this will enhance the user experience. After clicking on the back button we can ask user to click back again to exit the app.

@IAmJaishree Yeah Exactly!
Or we can just display a Snackbar with a Message confirming whether the User wants to Leave the Application or not. If we implement it this way, then the Snackbar would look like this in the Application:

The issue is that Services is called from ODK-X Tables and ODK-X Survey. The 3 work together so it appears seamless to move between the applications. Therefore it will be akward for the user to have to confirm exit when they did not even realize they switched from Tables to Services (or Survey to Services).

@wbrunette Yes I agree that would be awkward, but this feature would be implemented only on the MainActivity of Services Application and that too on Pressing the Back Button. Thus it would have no effect on the Current Flow between the 3 Applications.

@VarunT11 I agree that only on MainActivity could solve the problem, as long as there are can bring this up for discussion. I am slightly worried about the snackbar as that people will miss the message at the bottom and be frustrated. I think this needs a discussion with the PMC/TSC. I am happy to bring it up at the next meeting. You can start to implement it if you want, but changes may come from the committee.

@wbrunette Regarding the Snackbar, we can decide a convenient time duration between 2 to 4 seconds of displaying the Snackbar such that a User gets sufficient time to read the warning message and then perform the next operation accordingly.
Also we can extend this feature of prompting a warning message on pressing the Back Button to the Survey and the Table Apps as well.

@VarunT11 We discussed this at the PMC/TSC meeting. The notes from the October 2019 Convening of Improving UX for Existing Users, about warning for exit was actually for tables.
We encourage you to take on the issue from the convening
Duplicate of https://github.com/odk-x/tool-suite-X/issues/129


Support for MacOS

Hi,
Does this work for Xamarin Forms on MacOS (https://github.com/xamarin/Xamarin.Forms/wiki/Platform-Support-macOS-Status).
If not, what's the scale of changes needed to have a basic version working on MacOS?

Hi, I'm sorry but this library does not support MacOS. I don't know the scale of changes because I have no development experience in MacOS.

Basic support is included in 1.5.0. Please open a PR with more support in this folder if you want to help: https://github.com/BaseflowIT/XF-Material-Library/tree/develop/XF.Material/Platforms


Addition of Teachable Machine based pose models

Currently there are 3 different exercises. We need more different types of exercise models which can be created using Teachable Machines by Google.

Hello @shivaylamba sir , I want to work on this issue.
Please guide me through this .

Sure @oshi36, do attend today's meeting at 5 pm about the project.

@shivaylamba Can you pls share the session's link as I was unable to attend it

@Jassi10000 @oshi36 I will be uploading the session link today itself and share here.

@Jassi10000 @oshi36 I will be uploading the session link today itself and share here.

Sure , thanks

@shivaylamba sir please assign me this issue so i can work on it.

Sure @oshi36 please go ahead


Fix up paper template

[x] rm repeated affiliations
[x] add "Software Repository" and "Software Archive" metadata

addressed in https://github.com/msmbuilder/osprey/pull/164

addressed in https://github.com/msmbuilder/osprey/pull/164


Don't play unloaded sounds with no valid asset set.

Detect case where you try to play a not-loaded sound slot and there's no asset set on the sound slot, creating a sound instance that never plays.
I confirm I have signed the Contributor License Agreement.

Thanks for the fix!
There's a few errors generated by the linter (see CircleCI log):
/home/circleci/repo/src/framework/components/sound/slot.js
  104:13  error  Expected exception block, space or tab after '//' in comment  spaced-comment
  106:1   error  Expected indentation of 16 spaces but found 14                indent
  107:1   error  Expected indentation of 16 spaces but found 14                indent

✖ 3 problems (3 errors, 0 warnings)
  3 errors and 0 warnings potentially fixable with the `--fix` option.

But I'll fix them...

OK done. All passing now. 👍


Freeze with problems panel with quick fixes

Repo

With the tslint plugin extension installed
Run tslint --init in an empty folder
Now create a TS file:

const foo = 123;

food
food
food
// repeated about 200 times
food

Open problems panel

Bug
Entire app freezes

@jrieken Do we need to call trackRecursive on code actions in mainThreadLanguageFeatures?

We need it for command arguments. When an "old" code action aka command comes it we track that because the arguments for that command aren't send to the main but stored on the ext-host side. Once the code action gets GC'ed (on the main side) we let go off the arguments.
One trick would be to know if we have to do that, e.g a "modern" code action using text edits doesn't need this at all. But that only fixes half the problem, e.g old code actions still exist. A real fix would be the introduction of a proper lifecycle - we have done that with completions.

To show light bulbs, problems panel is making single request per visible file to get code actions for complete file and compute it for each entry with the received data instead of asking code actions for each problem entry.
@mjbvz I used the same example as yours with 250 problems and I do not see any freeze.

Is there a different example to try out?

Make sure you have the tslint plugin installed and have recommended tslint config (tslint —init)
I don’t think we should be making these requests eagerly. Even without this bug, that’s a lot of extra communication and cycles for

Changed the strategy to fetch code actions as follow

Selected
Focused
Hover for 300ms
Context Menu
Triggered from Keyboard

Also I fetch code action per marker now and it is triggered only once per marker for all above events.

I have also pushed a change that gets rid of trackRecursive making it explicit (trackObject). This ensures we only track objects of interest and stop traversing arbitrary object trees


SFR-637 pagination

ResearchNow Jira Ticket
This PR does the following:

Adds Dropdown and Pagination functionality, and its supporting components

Front End Review:

[ ] View the example in Storybook
[ ] Check against the Metronome documentation: Dropdown Pagination

@helenvholmes I had to push a bunch of changes to make it work with SFR.  They're more extensive than I hoped so if they're conflicting feel free to push your changes to a fork and I can handle the merge.


update plugin manifest to v0.14.1

Incremented the patch version so after merge a matching release tag should build and trigger the plugin index update the following midnight.

@simar7 can you generate a github release for this new version? I wasn't clear enough about the need for that after the merge and now regular plugin installs (without specifying a version) are broken because there is not v0.14.1 release

@troyready sorry about that! I didn't realize we didn't have a release out yet for v0.14.1 just yet. I've done that now and it should be working: https://github.com/aquasecurity/trivy-aws/releases/tag/v0.14.1 please let me know if you run into any issues! Thanks again for testing and looking into it!


Create mvl-gym txt

For https://mvl-gym.de

@TheoFailenschmid First stage of verification passed, official domain for Maria von Linden Gymnasium is mvl-gym.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@TheoFailenschmid Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


[#4572][#3729][#3496] refactor(core): remove reload action from create and alter schema/table/topic

What changes were proposed in this pull request?
Remove reload action and fix the following logic of ITs
Why are the changes needed?
Fix: #3729, #4572, #3496
Does this PR introduce any user-facing change?

create topic
alter topic
create schema
alter schema
create table
alter table

How was this patch tested?
Modified ITs

@noidname01 Thanks for your base code! I've patched this PR and it's now ready for review


Improved performance of ViewNavigatorEntryIterator

Performance of the ViewNavigatorEntryIterator can be boosted by around 20% - 30% compared to the existing implementation by altering it to use ViewNavigator.getNext() rather than ViewNavigator.getNext(ViewEntry) - see http://linqed.eu/2017/05/12/convenience-at-a-cost-comparing-domino-java-apis-performance-oda-legacy-jna/. I've tested the following implementation, comments etc excluded for brevity:
public class ViewNavigatorEntryIterator implements Iterator<ViewEntry> {

	private transient ViewNavigator navigator_;
	private transient ViewEntry currentEntry_;
	private transient ViewEntry nextEntry_;

	public ViewNavigatorEntryIterator(ViewNavigator navigator) {
		navigator_ = navigator;
		nextEntry_ = navigator_.getFirst();
	}

	public boolean hasNext() {
		return nextEntry_ != null;
	}

	public ViewEntry next() {
		if (hasNext()) {
			currentEntry_ = nextEntry_;
			nextEntry_ = navigator_.getNext();
			return currentEntry_;
		} else {
			return null;
		}
	}

	public void remove() {
		// Not implemented
	}

}

Wow that's great insight. I will check this in tonight!
On May 16, 2017 15:33, "4ndyc"<EMAIL_ADDRESS>wrote:

Performance of the ViewNavigatorEntryIterator can be boosted by around
20% - 30% compared to the existing implementation by altering it to use
ViewNavigator.getNext() rather than ViewNavigator.getNext(ViewEntry) -
see http://linqed.eu/2017/05/12/convenience-at-a-cost-
comparing-domino-java-apis-performance-oda-legacy-jna/ http://url. I've
tested the following implementation, comments etc excluded for brevity:
public class ViewNavigatorEntryIterator implements Iterator {
private transient ViewNavigator navigator_;
private transient ViewEntry currentEntry_;
private transient ViewEntry nextEntry_;
public ViewNavigatorEntryIterator(ViewNavigator navigator) {
navigator_ = navigator;
nextEntry_ = navigator_.getFirst();
}
public boolean hasNext() {
return nextEntry_ != null;
}
public ViewEntry next() {
if (hasNext()) {
currentEntry_ = nextEntry_;
nextEntry_ = navigator_.getNext();
return currentEntry_;
} else {
return null;
}
}
public void remove() {
// Not implemented
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenNTF/org.openntf.domino/issues/161, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACoex9_vRFnJoYMUAxrOiZkmchgZw0Gqks5r6gfjgaJpZM4NdCsn
.

Although the results still stand, on further investigation ViewNavigator.getNext(ViewEntry) doesn't look like the culprit. The actual cause of the problem is the call to hasNext in the iterator's next method, which  increases the number of API calls.


Deprecate fileset

Hi!
I'm opening this issue to start a thread on the possibility to deprecate https://github.com/mklabs/node-fileset
I recently merged a pending PR from @isaacs (mklabs/node-fileset#22), which

may or may not be a breaking change from fileset's pov. (changelog)

to quote Isaacs. So I bumped filset to a major 1.0 version which should save you from any trouble.

I really really appreciate that you choose to rely on it and build istanbul on top of it. But, to be honest, fileset is a package I wrote a long time ago and never really used it. I always either used just glob with the ignore pattern or redone the filtering on top of globs results before glob 5.
I'm considering deprecating the package in favour of newer, better similar packages like @sindresorhus https://github.com/sindresorhus/globby, or simply glob itself with the options.ignore patterns.
This should help with performance (as the minimatch ignore is done internally by glob, avoiding one costly glob call on all ignore patterns) and issues like #556
I can maybe help in the migration process by opening a PR to switch from fileset to globby, or just glob's with options.ignore.
Let me know :)
Thanks for building Istanbul.

Sorry, I haven't been paying attention to istanbul for some time now. I hope to pick it up in mid-June.
I've always wanted to the remove the fileset dependency (for one thing, the current code "matches" by loading all file names into a map rather than doing it lazily).
I would love to get a PR that changes this behavior and loses the fileset dependency.

@gotwarlost I have 10 or so failing tests, is it ok if I just focus on the lib/util/file-matcher.js file and related tests ? (as long as those failed test remains to 10)
I was really please to see only one occurence of fileset :)

I feel like changing fileset feature-set a bit, and add fs helpers I often need, generally as a mixin. You might want to checkout fileset v2 when I'll have the chance to work on it.
There's less value in a glob / minimatch combo now that Glob supports it out of the box, i'd rather move fileset into a fs utils library.

On top of that istanbul depends on fileset 0.2.x which in turn depends on minimatch 0.x:
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

Another reason why it would be nice to replace it or (if more feasible on the short term) update to a more recent version. Actually I tried switching to the latest version and there was only one failing test: should cover everything under the sun when default excludes are suppressed.

As I can see fileset have been replaced with plain Glob, which is good :) 👍
Let this issue be closed for the moment.

@mklabs Actually fileset is still a dependency of istanbul. There is an open PR #648 which would replace fileset by glob but it hasn’t been merged yet. So this issue still remains.

Ok reopening :)
I can't promise anything, but I'll try to issue a small PR this week to update fileset to 2.0.x.

Looks, like there is a solution: #673


Resolve upstream merge conflict

Hi @kije
Thanks for your work on this fix. Upstream are ready to rerun the e2e tests, but could do with a fix for some merge conflicts. Any chance you could resolve these or do you need some help?
Thanks,
Paul

Hi @westhouseit
I pushed an update to my PR -> see https://github.com/gatsbyjs/gatsby/pull/31542#issuecomment-1114076917


Make StructuredData conform to all LiteralConvertible protocols

This way you can initialize it like this:
let structuredString: StructuredData = "Hello World!"
// structuredString = .string("Hello World!")

(To be honest, I mostly made this because it helps with the operator overloading that I'd like to add back in later O:-) )

On second thought, this isn't really necessary since Filter still uses Value and not StructuredData directly.


Fix tests and instructions in README

I just went through the README to get myself setup for this repo and found a few issues. This PR fixes -

~requirements.txt so it contains all the packages needed to run the tests (presumably this file is only used for dev as it previously had pytest in it)~ looks like this was fixed recently
tests so they assert exception messages properly. Looks like this was changed between pytest 4 and pytest 5. The repo now pins to pytest 4, so these tests currently work, although this change is backwards compatible
README to reference flytekit instead of flytekit2

I should've gotten the latest changes before creating this PR :) The remaining changes are pretty minor, so don't mind if we close this instead.

@matthewphsmith TIL about GitHub's stale review dismissal feature while rebasing. Can I get another green tick?


More complete changes to pipelinerun details page

Fixes
Fixes HACBS-1022 and HACBS-1025.
Description
Adds more detail to details page:

Labels
Log snippet
Created at
Pipeline
Owner
Triggered by
Application
Source
Workspace

As part of this PR, it also includes breadcrumb change so user can return to the pipelinerun list, and removal of the Enterprise Contract tab (1025). Also some minor changes to existing details code e.g. handling plural units in duration value.
Type of change

[x] Feature

Screen shots / Gifs for design review (updated 10/5/22)
PLR Details top:

PLR Details bottom:

PLR Details w/ annotations and labels expanded:

How to test or reproduce?
Select an existing pipelinerun to view the details page.
Browser conformance:

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

/approve

/lgtm


Updates from Panda Cash

pandacash-cli added
blockchain.js test partly written for v2

Pull Request Test Coverage Report for Build 505

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.655%

Totals

Change from base Build 500:
0.0%

Covered Lines:
1369

Relevant Lines:
1953

💛  - Coveralls

Pull Request Test Coverage Report for Build 507

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.655%

Totals

Change from base Build 500:
0.0%

Covered Lines:
1369

Relevant Lines:
1953

💛  - Coveralls

:tada: This PR is included in version 1.0.0 :tada:
Your semantic-release bot :package::rocket:


[Feature Request] PHPStorm / Jetbrains Port

PHPStorm / Jetbrains Port
EDIT
Coming Soon.

Thanks @WalrusSoup for this port. WIP
https://plugins.jetbrains.com/plugin/13376-tailwind-formatter/

Awesome! I'll close this issue now.

Should we add a mention to this in README.md?

Good idea. I was going to do this today but completely forgot - will add now.