Implement DMN modeler for Camunda Cloud

This is an epic issue to track changes in Camunda Modeler.

[x] Use camunda-dmn-js based distro
[x] #2844
[x] #2872
[x] #2853
[x] https://github.com/camunda/camunda-modeler/issues/2526
[x] #2854

[x] Platform DMN plugins
[x] Cloud DMN plugins
[x] Expose dmn-js-properties-panel for useService

[x] https://github.com/camunda/camunda-modeler-plugin-helpers/issues/23

Potential improvements:

Use camunda-dmn-js built-in Overview
https://github.com/camunda/camunda-modeler/issues/2836
https://github.com/camunda/camunda-modeler/issues/2835

@barmac : can we close this?

Yes, we can! 🚀


Update scala versions 2.11.12 and 2.12.8

We can't go up to 2.12.10; there's a bug around value classes https://github.com/scala/bug/issues/11771 that will affect Bijection type when used in java.

Codecov Report

Merging #326 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #326   +/-   ##
========================================
  Coverage    61.29%   61.29%
========================================
  Files           50       50
  Lines         1540     1540
  Branches        40       40
========================================
  Hits           944      944
  Misses         596      596

Continue to review full report at Codecov.

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


Windows Wallet - No Navtech Transactions

When trying to send private payments on the windows wallet you receive the error message:
"Could not connect to NavTech servers. Only normal transactions are available right now."
Tried a few times today on windows 7 and 2012 r2 and fails all the time. Can receive private payments fine.

Elegantt data. What's this?

What version are you on? v1.0.2, commit hash #b8028ca ?

@Verrideo Is this still an issue for you?

Sorry guys i didn't spot the update on this one. Should he able to test this again with the newer release this evening and will update on the out outcome.

I can confirm this is now working fine on the new 1.0.3b release on various windows flavors


[Bug]: auth using pfx cert

Bug description
Hello,
at first. Do not know if it is bug of pupeteer or my misunderstood or server issue. Code is used below. I try automate signing in with cert. Manualy picking cert works.
How is developed signing page via cert in frontend is mentioned on Setting up certificate sign in in Single Page applications
'use strict';

const puppeteer = require('puppeteer');
const request = require('request');
const fs = require('fs');

test();

async function test() {
    const browser = await puppeteer.launch({ headless: false, args: ['--no-sandbox','--disable-setuid-sandbox', '--ignore-ssl-errors=true'] });
    let page = await browser.newPage();

    // Enable Request Interception
    await page.setRequestInterception(true);

    // Client cert files
    const pfx = fs.readFileSync(__dirname + '/cert/cert.pfx');

    page.on('request', interceptedRequest => {
        // Intercept Request, pull out request options, add in client cert
        const options = {
            uri: interceptedRequest.url(),
            method: interceptedRequest.method(),
            headers: interceptedRequest.headers(),
            body: interceptedRequest.postData(),
            gzip: true,
            agentOptions: {
                pfx: pfx,
                passphrase: '<password>',
                securityOptions: 'SSL_OP_NO_SSLv3'
            }
        };

        // Fire off the request manually (example is using using 'request' lib)
        request(options, function(err, resp, body) {
            // Abort interceptedRequest on error
            if (err) {
                console.error(`Unable to call ${options.uri}`, err);
                return interceptedRequest.abort('connectionrefused');
            }

            // Return retrieved response to interceptedRequest
            interceptedRequest.respond({
                status: resp.statusCode,
                contentType: resp.headers['content-type'],
                headers: resp.headers,
                body: body
            });
        });
    });

    await page.goto('https://auth.vzp.cz/signin');

    const submitButtonElements = await page.$$('button[type="submit"]');

    submitButtonElements[1].click();
}

GET & POST https://auth.vzp.cz/certificate/obtain 200 OK
POST https://auth.vzp.cz/signin/certificate  was sent with payload certificate & certificateAuthToken but returned 500.
{   "code": "EG-500",   "message": "500 Internal Server Error" }
Thanks a lot
Best
Lukas
Puppeteer version
13.3.2
Node.js version
v10.19.0
npm version
6.14.4
What operating system are you seeing the problem on?
Linux
Relevant log output
No response

Did it work?

@igorovisk Project mentioned in my post on medium did work but I have not used the project for 2 years almost https://medium.com/@ldrahnik/headfull-puppeter-running-in-docker-without-gui-12d983e50920

Thanks, ill give it a try, Im trying to intercept the request, but I am getting and error that syas the request was already handled

Can I do it without docker?


Question -- Why does this repo have Dockerfiles?

??
It really shouldn't since these aren't published as images. The repo itself is consumed as a dependency in other applications via Go modules.

@lranjbar , I assume these Dockerfiles are used by the verify jobs which in this case just run the unit tests, correct?

Guys Lisa is on sabbatical.

It’s because these go modules all use Jenkins pipelines which leverage the base build images for the semantic versioning.

The codecov.io required this for the test coverage reports as per the commit history I see from Tyler.


ENH: adds QIIME 1 core microbiome computation

Example QZVs based on moving pics tutorial data:
All samples
Gut-only samples (i.e., using --p-where)
~These need to be q2-templated, either now or in the future. If now, it would be helpful to pair-program that with someone.~

@gregcaporaso, I would be happy to pair-program q2templates-support with you, or, I could add a commit to this PR with the changes --- your call! I think we could have it knocked out in under 30 min if we worked on it together. q2templates could come in a second PR, as you mentioned, so I guess it depends on what the priorities are right now.

This is ready for final review.

I'm porting this functionality to q2-feature-table with the visualizer name core-features. Will close this PR in favor of the ported PR when it's ready (wrapping up some final loose ends right now).

Closing in favor of https://github.com/qiime2/q2-feature-table/pull/127


Proxy settings need hints

The place for setting up a proxy needs some hints, because now it is common to use a self-deployed reverse proxy server as an HTTP proxy, while the application actually sets up an HTTP/SOCKS proxy address.

Hey. Thanks for opening this issue. Would you mind explaining me a bit how do you actually use this proxy? :pray:  I added this because someone else requested it (https://github.com/Blarc/ai-commits-intellij-plugin/issues/21), but I don't actually use it myself.
Even better, if you can prepare the hint message yourself :smiley: .

Because ChatGTP is blocked in some countries, we need to use a proxy service. One of the reverse proxies used is Cloudflare's worker service, which runs a Node.js program on it to forward requests to OpenAI's API address. Below are the specific steps and sample code.
Proxy request to ChatGPT API, deployment steps:

Register and log in to your Cloudflare account
Create a new Cloudflare Worker
Copy and paste cloudflare-worker.js into the Cloudflare Worker editor
Save and deploy the Cloudflare Worker
In the Worker details page -> Trigger -> Custom Domains, add a custom domain for this worker.

repo: https://github.com/barretlee/cloudflare-proxy
code block: cloudflare-worker.js
addEventListener("fetch", (event) => {
  event.respondWith(handleRequest(event.request));
});

async function handleRequest(request) {
  const url = new URL(request.url);
  const fetchAPI = request.url.replace(url.host, 'api.openai.com');

  // 部分代理工具，请求由浏览器发起，跨域请求时会先发送一个 preflight 进行检查，也就是 OPTIONS 请求
  // 需要响应该请求，否则后续的 POST 会失败
  const corsHeaders = {
    'Access-Control-Allow-Origin': '*',
    'Access-Control-Allow-Methods': 'OPTIONS',
    'Access-Control-Allow-Headers': '*',
  };
  if (request.method === 'OPTIONS') return new Response(null, { headers: corsHeaders });

  let body;
  if (request.method === 'POST') body = await request.json();

  const authKey = request.headers.get('Authorization');
  if (!authKey) return new Response("Not allowed", { status: 403 });

  const payload = {
    method: request.method,
    headers: {
      "Content-Type": "application/json",
      Authorization: authKey,
    },
    body: typeof body === 'object' ? JSON.stringify(body) : '{}',
  };
  // 在 Cloudflare 中，HEAD 和 GET 请求带 body 会报错
  if (['HEAD', 'GET'].includes(request.method)) delete payload.body;

  // 入参中如果包含了 stream=true，则表现形式为流式输出
  const response = await fetch(fetchAPI, payload);
  if (body && body.stream !== true) {
    const results = await response.json();
    return new Response(JSON.stringify(results), {
      status: response.status,
      headers: {
        "Content-Type": "application/json",
      },
    });
  } else {
    return new Response(response.body, {
      status: response.status,
      statusText: response.statusText,
      headers: response.headers,
    });
  }
}```

I have released a new version 1.0.0 that contains the hint.
Thank you for the the issue.


Warn users when newer extension versions are masked by an older Azure CLI version

Is your feature request related to a problem? Please describe.
I've been seeing a lot of issues with customers who have a version of aks-preview that's too old for what they're trying to do, but when they do az extension update -n aks-preview it doesn't update them because the newer versions have a min_version higher than their Azure CLI version.
As an example, let's say I need an AKS feature that depends on aks-preview >= 0.5.49. If I have Azure CLI 2.25.0 installed, this is the result of adding the extension:
$ az version
{
  "azure-cli": "2.25.0",
  "azure-cli-core": "2.25.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {}
}

$ az extension add -n aks-preview
The installed extension 'aks-preview' is in preview.

$ az extension update -n aks-preview
No updates available for 'aks-preview'. Use --debug for more information.

$ az version
{
  "azure-cli": "2.25.0",
  "azure-cli-core": "2.25.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {
    "aks-preview": "0.5.41"
  }
}

Nowhere was I told that there's a newer aks-preview available if I update Azure CLI:
$ az version
{
  "azure-cli": "2.32.0",
  "azure-cli-core": "2.32.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {
    "aks-preview": "0.5.51",
    "fzf": "1.0.2"
  }
}

Describe the solution you'd like

Add warning text during az extension add and az extension update if there are newer extension versions that aren't eligible candidates because their minimum version is higher than the currently installed version.
Describe alternatives you've considered

Error during adding/updating if they can't get the newest version, thus preventing them from any version. This seems much less user friendly.

Additional context

I have seen this on at least four or five issues or ICMs just in the last two weeks. It's a common problem.

Core

Hi，
Thank you for your suggesting, we will improve it .
Best wishes.


Edit interview

As an user, I can edit interviews in an application, so that I can keep the details updated.

Closes with #111


bls-eth-go-binary error when installing on ubuntu 20.04

Running into this error when trying to install on ubuntu 20.04.
Any idea what's going on?
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/herumi/bls-eth-go-binary v1.28.1
go: downloading github.com/protolambda/go-keystorev4 v0.0.0-20211007151826-f20444f6d564
go: downloading github.com/protolambda/zrnt v0.30.0
go: downloading github.com/protolambda/ztyp v0.2.2
go: downloading github.com/spf13/cobra v1.1.3
go: downloading github.com/tyler-smith/go-bip39 v1.1.0
go: downloading github.com/wealdtech/go-eth2-types/v2 v2.6.0
go: downloading github.com/wealdtech/go-eth2-util v1.6.4
go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58
go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/kilic/bls12-381 v0.1.0
go: downloading github.com/protolambda/bls12-381-util v0.0.0-20210720105258-a772f2aac13e
go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go: downloading github.com/minio/sha256-simd v1.0.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/ferranbt/fastssz v0.0.0-20210905181407-59cf6761a7d5
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/wealdtech/go-bytesutil v1.1.1
go: downloading golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
go: downloading github.com/holiman/uint256 v1.2.0
go: downloading github.com/klauspost/cpuid/v2 v2.0.9
go: downloading github.com/mitchellh/mapstructure v1.4.2
go: downloading gopkg.in/yaml.v2 v2.4.0
# github.com/herumi/bls-eth-go-binary/bls
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:9:28: undefined: SecretKey
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:9:40: undefined: Fr
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:13:26: undefined: Fr
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:13:31: undefined: SecretKey
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:19:28: undefined: PublicKey
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:19:40: undefined: G1
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:23:26: undefined: G1
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:23:31: undefined: PublicKey
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:29:23: undefined: Sign
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:29:30: undefined: G2
../go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.28.1/bls/cast.go:29:30: too many errors

Can confirm that this is only a problem with the latest go v1.20.1.
Tried with go v.1.19.6 and managed to install.

Different BLS library, should work, closing


After installing the KB5025239 update on the windows system, the localhost of wsl2 does not work normally

Windows Version
Microsoft Windows [版本 10.0.22621.1555]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 22.04
Other Software

nodejs v18.15.0
@vue/cli 5.0.8
pnpm 8.1.1

Repro Steps

windows11 install KB5025239 update
Start http service using localhost in wsl2
The following problems occur when opening with a browser

After waiting for a while, you can access normally
Expected Behavior
Http service that can access localhost normally
Actual Behavior
After installing the KB5025239 update on the windows system, the localhost of wsl2 does not work normally
Diagnostic Logs
No response

same problem. tried everything i can find and my system is still not work. Docker is also dead now

i have the same problem too

i have the same problem too

Same problem right now. It cannot bind the port 80 as normal. So the entire webservice is disrupted.

You need update WSL to <IP_ADDRESS>
wsl --update --pre-release

I have a similar issue, and currently fixed by a walk around solution: https://learn.microsoft.com/en-us/answers/questions/1721275/suspect-installed-windows-11-june-11-2024-kb503921?page=1&orderby=Helpful&comment=answer-1554198#newest-answer-comment


Web Interface encrypted https

To introduce opt-in encrypted https for the Web Interface.
We should retain an option to use http for vintage browsers, and this should still probably be the default.

This does throw up some challenges. Are you thinking self-signed certs?

Yes, I was thinking self-signed certificates. I think it should be sufficient for the purpose of preventing network packet sniffing. Do you have other suggestions?


[Designer-Publish Adaptive Card Schema]: On activating 'Set due date' control focus does not lands to the 'View' control in forward navigation under 'Publish Adaptive Card Schema' card.

https://microsoft.visualstudio.com/OS/_workitems/edit/37777989

Did some investigation into this issue, here's the problem:
In card-elements.ts, the function expandShowCardAction makes any actions after the 'expanding' action not focusable, so that upon pressing tab focus goes directly to the expanded content. This is totally the intended behaviour when the card is rendered on the samples page
However, the issue is that the designer renders the exact same card differently - instead of placing the actions side by side horizontally, it places the actions vertically, so it produces a seemingly strange behaviour where the action right below the 'expanding' action gets skipped over in the focus order.
@paulcam206 @licanhua was there a reason why the designer page renders the action bar vertically instead of horizontally?

@paulcam206 informed me that host configs are a thing, and that is what determines whether the actions are rendered vertically or horizontally.


CI housekeeping

List of changes:

add CI badge to README
add OTP 27 to supported OTP
bump GitHub actions
set dialyzer on OTP 27

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:


Revert "LibWeb: Change where content selection via mouse is allowed"

This reverts commit 6c9adf3dbc641445a03da9cd1083f89c911504be.
This change breaks e.g. typing into the search box on google.com and comment boxes on github.com.

OK. What didn't work anymore was to set the focus by clicking in the text box.
Something with their text boxes is special, needs investigation.


fix: change GitHubActionStep.jobStep to GitHubActionStep.jobSteps (plural)

Fixes #363
Also adds if option to GitHubActionStep - committed separately so it can be backed out easily.
BREAKING CHANGE: jobStep has been changed to jobSteps.

@kaizencc Ok, I backed out the if changes and added some more to the ReadMe.


texturec not working with cubemaps?

So i have a dds cubemap that i want to compile to ktx. When debugging it i came across that the dds is properly read as a cubemap but then after that in a call to "imageAlloc"  the cubemap flag is overriden and then the ktx is written as a normal texture. As far as i know ktx format supports cubemaps.

it also seems to crash when trying to compile dds textures that are compressed for example the bark1 and leafs1 textures from the lod example

Yeah, both things are bug.


feat: implement the request to client-attestion endpoint

DCMAW-10293: Client Attestation request
Sending the App Check token and the public key of the app’s proof-of-possession key pair to the client-attestion endpoint in exchange for a client attestation JWT.
Checklist
Before raising your pull request:

[x] Commit messages that conform to conventional commit messages
[x] Ran the app locally ensuring it builds
[x] Ran the tests locally ensuring they pass on Build
[x] Pull request has a clear title with a short description about the feature or update
[x] Created a draft pull request if it is not yet ready for review

Before your pull request can be reviewed:

[x] Met all of the acceptance criteria specified in the user story on Jira

[x] Reviewed your own code to ensure you are following the style guidelines

[x] Ran the app and tested the feature on a range of device sizes
Please include iPod Touch, iPhone SE and iPhone 11 as a minimum.

[x] Written Unit and Integration tests if needed

[ ] Met all accessibility requirements? - No user facing change.

Before merging your pull request:

[ ] Ensure that the code coverage and SonarCloud checks have passed
[ ] Actioned and resolved all comments, reaching out to reviewers for clarifications if necessary.
[ ] Ran the app to ensure that no regressions have been caused by changes during code review.

@co-eoin this is extensively unit tested so would consider it QA complete (see comment from Sonar above) but the code itself is not yet integrated into the One Login app so could also be considered dormant 🤷🏼


Getting error

it is showing this error when I run virtualenv venv command in my terminal.  Iam using tor also.
'virtualenv' is not recognized as an internal or external command,
operable program or batch file.

Duplicate of:
https://github.com/davidtavarez/pwndb/issues/28


User api tests

@lulf thanks for enabling wildcard tests 👍

@lulf I found this https://github.com/keycloak/keycloak/blob/812e76c39b1e693e8f11e5549cca2c90631f372e/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/UserTest.java#L388 it looks like that we use bad search in createUser method in keycloak-user-api, Im going to change it and try it in PR.


Invalid format in default ACR javscript template in management console for conditional authentication

"log.info("--------------- ACR selected: "+acr)" should be changed to "Log.info("--------------- ACR selected: "+acr)". Currently following exception throwing when trying to authenticate.

[2018-02-26 16:06:04,073] ERROR {org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator} -  Exception in Authentication Framework
:7 ReferenceError: "log" is not defined

"context.setSelectedAcr(acr)" should be changed to "context.selectedAcr = acr". Currently following exception throwing when trying to authenticate.

[2018-02-26 15:30:17,347] ERROR {org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator} -  Exception in Authentication Framework
:9 TypeError: null is not a function

Fixed with https://github.com/wso2/carbon-identity-framework/pull/1390

Fixed with IS 5.5.0 beta version.


Edited and Updated the instructions

Also - have been starting some clauses  - (more coming soon)

do you mind  updating the repo  name to aNG-OPN-Accord ? - (as this makes sense in my head - eg. a new governance with operational privacy notices using common accord )


Any way to change font size?

I looked through style settings plugin. Would love to be able to shrink the font size in DB Folder.
Incredible plug-in, by the way! Completely changes how I use Obsidian 😀

Iam glad to read it =)
Could be a future configuration, sure

You can now choose de font size with v0.16 in appearance section

Thanks for adding a font size...  However it maxes out at 25 pixels, which is still too small for the font I am using.  Can we have a max of say 60 px?  Or just allow the user to type their value?

Hi @bitmage ,
You can type it inside the markdown file as an alternative
If it is necesary we will increment the max size avaliable for the slider input


Add link to v0.0.4 in README.md

The Versions list in the README.md didn't get updated with the 0.0.4 release.

I put this fix into #78 .


Not able to get token.

Hi my friends, I am facing an issue in firebase authentication. The problem is I am not able to get token after I register an account. I tried to use getIdToken(true) its return me an object "com.google.android.gms.tasks.zzn@b782139".
Any other approach to get an access token from the firebase authentication? Or I need to implement some code in order to get token?

String TokenID = FirebaseInstanceId.getInstance().getToken();

@night-cypher getIdToken is an async operation, it returns a Task<GetTokenResult>
user.getIdToken(true)
   .addOnCompleteListener(new OnCompleteListener<> {
      // ...
   });

Then you can get the result from the `GetTokenResult`.

https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseUser.html#getIdToken(boolean)

thanks !!!!
how can i know the token has been refreshed?

@night-cypher yes that's correct, us an ID token listener.  When you call getToken(true) you're guaranteed to get a fresh token, but it will expire eventually.


More metadata cache improvements

A few more metadata cache improvements.

@swift-ci Please smoke test and merge.

@swift-ci Please smoke test and merge

(Not sure why it didn't trigger @rjmccall , But i kicked it off again)


Here's a new site I'd like you to consider blocking

Here's a new site I'd like you to consider blocking:
github.com
(please include any other relevant details)
https://n4g.com

The n4g.com site should be blocked now. Let me know if you still see them anywhere.


What is ESRI JSON?

Could this link to ESRI JSON and possibly explain the difference between it and the common standard?

:+1: thanks all


Implement the LinearGetValues class

Similar to GetValues except it operates on Increment and so performs the tangent linear / adjoint for interpolation.
TestLinearGetValues should pass after this
GetValues is probably easier, so that one should be done first.

This will be very similar to GetValues. Major difference is that in addition to the forward interpolation (the setTrajectory and TL part) which will be the same as GetValues, we will also have the backward interpolation (AD part) which will use the apply_ad operator of the interpolation routines provided by oops.

@travissluka ok, Let me check.


Using svg in the banner (alert) not working

There was some issue when we used img. We were getting Cloudflare alert that the page was offline. It was not breaking all the time, but Ivan noticed it when he was trying to load the page. We replaced the svg img with 🚀 in this PR and the alerts went away (page stopped breaking). Any idea why that may have happened and how we can use images if needed?
Originally posted by @tapadipti in https://github.com/iterative/dvc.org/pull/2510#discussion_r645511991

The error was this:

I noticed that I'd missed the leading / in the image file path.
It was written as img src="img/studio-icon.svg" instead of img src="/img/studio-icon.svg". Probably this was the cause. But not sure how it was working sometimes if this was the issue.

Hi @rogermparent Could you pls take a quick look at this and see if there could be any issue other than the / that I missed?

It was written as img src="img/studio-icon.svg" instead of img src="/img/studio-icon.svg". Probably this was the cause. But not sure how it was working sometimes if this was the issue.

That explains the issue pretty well, actually: omitting the leading / makes the page search for the image relative to the current page, such that the image would work on the root page but not in a page from any child directory.

Thanks @rogermparent . Will close this ticket after the next time we change the image in the banner.

Hi @tapadipti has the banner been updated? Thanks

Hi @jorgeorpinel No, we've not had to change the image yet.

HI. Is this still relevant @tapadipti ? I think there's a new way to upload images (cc @yathomasi) but it may only apply to blog posts.

It does currently only apply to blog posts. It may expand in the future, but I think something like an alert SVG is last on the list for being DVC-ified.

we've not had to change the image yet

Seems to me this ticket is no longer needed. Please reopen if the issue resurfaces. Thanks


Add Jupyter Notebooks to demonstrate pipelines for business use cases and demos

For the starters there must an interactive way to see how to create and use different Augraphy pipelines. Multiple Jupyter Notebooks, each representing a different use-case can serve this purpose.

I'm thinking to use augraphy to further improve the work in old document restoration, since those documents are quite rare and it would be helpful if we are able to produce some synthetic samples to further aid in their model training process.
Example of old document restoration:
https://arxiv.org/pdf/2001.08742.pdf
Do you guys think this is a good idea?

I'm thinking to use augraphy to further improve the work in old document restoration, since those documents are quite rare and it would be helpful if we are able to produce some synthetic samples to further aid in their model training process.
Example of old document restoration:
https://arxiv.org/pdf/2001.08742.pdf
Do you guys think this is a good idea?

I tried to create some old documents by using different fonts and papers. Here are the current results:

Is this real enough? Or do let me know if you think there's any area of improvement.
One of the constraint right now is the page is in perfect condition, it would be nice if we can create some teared paper effect.

I added a demo here using google colab:
https://colab.research.google.com/drive/1g0hDeneIGcy0sYtIzZSnNmZfesFdu5Sn?usp=sharing

Thanks @kwcckw
Can you update that notebook to use gdown?
Once you've compiled all the files into a Google Drive folder, then you will need to file IDs for each file: https://clay-atlas.com/us/blog/2021/07/01/python-en-gdown-package-download-file-google-drive/
If we are sharing more than a few files, then it might be best to ZIP the files together first so that it's a single file to be downloaded and unpacked within the notebook.

Thanks @kwcckw
Can you update that notebook to use gdown?
Once you've compiled all the files into a Google Drive folder, then you will need to file IDs for each file: https://clay-atlas.com/us/blog/2021/07/01/python-en-gdown-package-download-file-google-drive/
If we are sharing more than a few files, then it might be best to ZIP the files together first so that it's a single file to be downloaded and unpacked within the notebook.

Thanks, i will look into this and apply the changes accordingly.

I added a new example with gdown, now user will be able to download files and run the same thing from their end. Is there anyone can try this out and let me know if this is run-able?
Link: https://colab.research.google.com/drive/1IDkfmKKajMb2dlchW-rWN6kmrnGk2TWX?usp=sharing

Can you remove all dependency on connecting to a personal Google Drive (outside of using gdown I mean)?
For example, we should be able to just use the local folder on the Colab server instead mounting the “My Drive” reference.

Can you remove all dependency on connecting to a personal Google Drive (outside of using gdown I mean)?
For example, we should be able to just use the local folder on the Colab server instead mounting the “My Drive” reference.

Alright, at this point i'm not aware of such function yet, let me check again.

Here's the updated notebook which is able to run without connecting to any gdrive, but you still need to login to your google account to run it:
https://colab.research.google.com/drive/1MXNhPQ_37aiPmAOkfKNCDhKnlaPc1zDt?usp=sharing
Also if the code is updated in the pip installation , then we can skip the section to download the zip file too.

I added new notebook on the example of pipeline for photocopy paper, and I've updated the previous example on old document to use the code directly from the repo. So right now there's 2 examples from my end:

Photocopy paper:
https://colab.research.google.com/drive/1hLHyyvNi-cRRDOcqtPnZPCw4j25oZMDG?usp=sharing

Old document:
https://colab.research.google.com/drive/1MXNhPQ_37aiPmAOkfKNCDhKnlaPc1zDt?usp=sharing

Photocopy paper:
https://colab.research.google.com/drive/1hLHyyvNi-cRRDOcqtPnZPCw4j25oZMDG?usp=sharing

I'm having an issue running this notebook. I've attached the issue I've run into in the image below.

Photocopy paper:
https://colab.research.google.com/drive/1hLHyyvNi-cRRDOcqtPnZPCw4j25oZMDG?usp=sharing

I'm having an issue running this notebook. I've attached the issue I've run into in the image below.

Sorry, it should be caused by a typo in the init file. Now i updated the code and tested it. It should be having no issue to run now.

Sorry, this notebook is still pending update, since it is using the previous badphotocopy code. I will post here again when it is updated.

@proofconstruction I just updated the notebook, please try again and let me know if you facing any issue to run the notebook.

These look really good!
Is the "Photocopy machine" code now part of BadPhotoCopy?
The "Synthetic old documents" code can probably become a new augmentation, or maybe a utility class. We should add a new Issue to discuss this.

These look really good!
Is the "Photocopy machine" code now part of BadPhotoCopy?
The "Synthetic old documents" code can probably become a new augmentation, or maybe a utility class. We should add a new Issue to discuss this.

I think this should be a "pipeline level" demo where we apply several augmentations to produce a more relatable real life application. So eventually we can have several predefined pipelines (sort of utility class), each with different purpose, for example photocopy machine effect, old document effect, and etc (can't think of more now).

I think this should be a "pipeline level" demo where we apply several augmentations to produce a more relatable real life application. So eventually we can have several predefined pipelines (sort of utility class), each with different purpose, for example photocopy machine effect, old document effect, and etc (can't think of more now).

I like this idea, and I think we can use the pipelines for the Reproducing Archetypes work as the predefined ones. Once we get those working well, we can add them to augraphy.default.prebuilt or something, so users can select one of those or the default_augraphy_pipeline containing all augmentations.

Closed with PR #154


⚠ Chatwoot has degraded performance

In 256cd1d, Chatwoot (https://app.chatwoot.com) experienced degraded performance:

HTTP code: 200
Response time: 6912 ms

Resolved: Chatwoot performance has improved in df05bef after 7 minutes.


librelp not available for RHEL 5

It looks like there is no librelp package for RHEL 5. This mean that this module is only compatible with RHEL => 6. Same for CentOS 5.
RHEL 5 is old, but still supported for a few more years.

It's present in official repository
Name       : librelp
Arch       : x86_64
Version    : 1.2.5
Release    : 1.el5.centos
Size       : 55 k
Repo       : rsyslog
Summary    : The Reliable Event Logging Protocol library
URL        : http://www.rsyslog.com/

See also #161

This should be resolved with release 4.0.0


toList error type

Please help me with the follwoing error:
> `2021-10-26 17:31:55 INFO: No --plasmidfinder-database-type specified. Will search the entire PlasmidFinder database
> 2021-10-26 17:31:55 INFO: --output-dir set. All files will be output to [asia_flex_out1]
> 2021-10-26 17:31:55 INFO: Will exclude ResFinder/PointFinder genes listed in [/home/sar/staramr/staramr/databases/exclude/data/genes_to_exclude.tsv]. Use --no-exclude-genes to disable
> 2021-10-26 17:31:57 INFO: Making BLAST databases for input files
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200399.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200400.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200401.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200402.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200403.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200404.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200405.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200406.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200407.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200408.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200409.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200410.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200411.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR200412.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR217018.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for ERR477384.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290979.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290981.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290982.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290983.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290985.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290986.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290987.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290989.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290990.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290991.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290993.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11290994.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291002.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291004.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291005.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291008.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291009.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291010.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291011.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291013.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291014.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291016.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291017.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291019.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291020.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291021.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291022.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291032.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291036.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291038.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291039.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291040.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291041.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291042.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291043.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291044.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291045.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291046.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291048.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291049.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291051.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291052.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291053.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR11291055.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR13767173.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR13767260.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR13767261.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR13767262.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR13767263.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR5437900.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR7893485.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR8836950.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR8836963.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9639869.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9639883.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9639886.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9639889.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9673777.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9673778.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9673779.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9673782.fa
> 2021-10-26 17:31:59 INFO: Scheduling blasts and MLST for SRR9673784.fa
> 2021-10-26 17:32:46 ERROR: 'NoneType' object has no attribute 'tolist'
> Traceback (most recent call last):
>   File "/home/sar/staramr/bin/staramr", line 68, in <module>
>     args.run_command(args)
>   File "/home/sar/staramr/staramr/subcommand/Search.py", line 447, in run
>     results = self._generate_results(database_repos=database_repos,
>   File "/home/sar/staramr/staramr/subcommand/Search.py", line 283, in _generate_results
>     amr_detection.run_amr_detection(files,pid_threshold, plength_threshold_resfinder,
>   File "/home/sar/staramr/staramr/detection/AMRDetection.py", line 197, in run_amr_detection
>     self._summary_dataframe = self._create_amr_summary(files, self._resfinder_dataframe,self._quality_module_dataframe,
>   File "/home/sar/staramr/staramr/detection/AMRDetectionResistance.py", line 70, in _create_amr_summary
>     return amr_detection_summary.create_summary(self._include_negative_results)
>   File "/home/sar/staramr/staramr/results/AMRDetectionSummary.py", line 134, in create_summary
>     resistance_frame = self._compile_results(resistance_frame)
>   File "/home/sar/staramr/staramr/results/AMRDetectionSummaryResistance.py", line 40, in _compile_results
>     df_summary = df_summary \
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 1010, in aggregate
>     result = gba.agg()
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/apply.py", line 164, in agg
>     return self.agg_list_like()
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/apply.py", line 355, in agg_list_like
>     new_res = colg.aggregate(arg)
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 249, in aggregate
>     ret = self._aggregate_multiple_funcs(func)
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 303, in _aggregate_multiple_funcs
>     results[key] = self.aggregate(func)
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 265, in aggregate
>     return self._python_agg_general(func, *args, **kwargs)
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 1332, in _python_agg_general
>     result = self.grouper.agg_series(obj, f)
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 1049, in agg_series
>     result = self._aggregate_series_fast(obj, func)
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/groupby/ops.py", line 1074, in _aggregate_series_fast
>     result, _ = sgrouper.get_result()
>   File "pandas/_libs/reduction.pyx", line 281, in pandas._libs.reduction.SeriesGrouper.get_result
>   File "pandas/_libs/reduction.pyx", line 88, in pandas._libs.reduction._BaseGrouper._apply_to_group
>   File "/home/sar/staramr/.venv/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 1318, in <lambda>
>     f = lambda x: func(x, *args, **kwargs)
>   File "/home/sar/staramr/staramr/results/AMRDetectionSummaryResistance.py", line 25, in _aggregate_gene_phenotype
>     flattened_phenotype_list = [y.strip() for x in dataframe.get('Predicted Phenotype').tolist() for y in
> AttributeError: 'NoneType' object has no attribute 'tolist'`
>

My command:
staramr search -o asia_flex_out1 --pointfinder-organism salmonella /home/sar/rgi/asia_flexneri/*fa
Thanks

This has been fixed in #146


chore: automated localization updates

##Description This is the localization ADO build pipeline pull request. #minor

Coverage remained the same at 53.79% when pulling b03da9e204ce03ee81f65f445c144dc72b0af3ca on ado/localization_218353 into 8be6b3db95c0995e343eb6c1cf6d520fc03eb5aa on main.


Differences between dataset in workspace and published in App?

Might not fit here, but have never seen a definition about towards what dataset a report is connecting to using live connection. Will a report using a live connection connect to different datasets depending on if I'm using the report in the workspace (or the Power BI Desktop) or the report published as an App
If not fitted here, please point me to where I can find this definition
Sorry for this many feedbacks :-)

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

ID: 11357d2a-97f6-c5d6-2a62-0d5cae1a1c3d
Version Independent ID: 51900b79-f5ed-25b8-ee89-9078129bdb15
Content: Create the new workspaces (preview) - Power BI - Power BI
Content Source: powerbi-docs/service-create-the-new-workspaces.md
Service: powerbi
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @erapade -- no worries! I'll answer what I think is your question: the report in the workspace and the report published in an app will both link to the same dataset. Does that answer your question? Thanks for asking!

Hi Maggie, Yes maybe it did answer my question, but let's double-check :-) And sorry for extending the question by this.
For reports, the workspace works like a staging are, once a report has been published (or updated as an App), any additional changes to the report stays in the workspace area until the App is updated the next time. This way the workspace works like a staging area so that you have Report(Workspace) and Report(App)
My question was if this is also true for Datasets so you have Dataset(Workspace) and Dataset(App). If so this also leads to other questions like:

Refreshing the dataset. Does this happen twice (one time for the Workspace and one time for the App), and in this case at the same schedule
What reports are connecting to the workspace dataset and what reports are connecting to the App dataset? A guess is that reports not yet included in a App update will connect to the workspace dataset and the reports previously included in a App update will connect to the App dataset. Then the question goes to Live connections from a power BI Desktop, will those connect to the workspace dataset or to the App dataset

Please not that if the dataset is always the same in both the workspace and the App (meaning no staging capability for a dataset), all the question above is not valid

Hi, @erapade -- good clarifying question. Both the published report in the app and the report in the workspace are accessing a single dataset. So when the dataset refreshes, it's refreshing the data in both reports. Thanks!


Version 0.8.4 on Mac 10.14.4 doesn't work.

After upgrade to 0.8.4 my Shadertoy Preview doesn't work and always prompt me "Can't found shader-toy command" even I reinstall the extension and reinstall VSCode. When I downgrade to 0.8.3 extension works fine.
My OS is Mac 10.14.4 and VSCode version is 1.34.0

How can I fix this?

Can confirm, this also happens on Windows.
@stevensona Could this be related to dependencies not being installed correctly?

@stevensona Yes, quite surely this is the problem. Some dependencies should be move from "devDependencies" to "dependencies". Quite honestly I have no idea how to test which dependencies need to be moved. Do you know how to go about this?
@AdamWang1102 Manually running npm install inside ".vscode\extensions\stevensona.shader-toy-0.8.4" will fix the issue temporarily. I don't know where to find that folder on MacOS, but I'm sure it will not be too difficult.

It is (most likely) the new dependencies "mime" and "compare-versions".

Can confirm, it's those two.

Reopening until I can release new version.

@Malacath-92 @stevensona Thank you guys, after run npm install   0.8.4 works fine now. By the way in Mac the path is ~/.vscode/extensions/stevensona.shader-toy-0.8.4

Thanks everyone 😁


Hearts description is misleading

Top-level credentials in Jenkins can have scope "Global" or "System". You use the latter for credentials for agents etc. that should not be made available to jobs. The description of "Hearts" states:

These are System credentials stored on Jenkins!

For anyone aware of this distinction, this would be misleading. A pipeline would not have access to System scoped credentials.

Thanks Daniel. Hearts is not a pipeline, but a freestyle job. The purpose is to load the System creds (the flag) when running the job.
If we change "pipeline" to "job" in the description, would that address the issue in your opinion?

@asi-cider The same applies to both freestyle jobs and pipelines. To see the effect of the option I am referring to and how it relates to Hearts, I recommend you boot up the environment and change the "Scope" property of the credential from "Global" to "System".

My mistake, I was sure that I configured it as systems credentials and that it worked with freestyle jobs. I rewrote the scenario, you can see it here: https://github.com/cider-security-research/cicd-goat/blob/bug-fixes/solutions/08-hearts.md

@asi-cider Looks good, thanks! (Untested.)
If you want, you could even limit the user further to make the instance more resemble one where admins are aware of various weaknesses and restrict access (full control of all agents is a lot): Give knave just the permission to configure and connect a single pre-existing agent, that is currently configured to connect via Inbound Agent Protocol. The solution would be to change the agent launcher to SSH.


Bug: No module named 'web3.utils'

While running provider-py locally ran into an error message:
Traceback (most recent call last):
  File "/home/x332/Projects/oceanprotocol/provider-py/venv/lib/python3.6/site-packages/flask/cli.py", line 240, in locate_app
    __import__(module_name)
  File "/home/x332/Projects/oceanprotocol/provider-py/ocean_provider/run.py", line 13, in <module>
    from ocean_provider.routes import services
  File "/home/x332/Projects/oceanprotocol/provider-py/ocean_provider/routes.py", line 9, in <module>
    from ocean_provider.utils.basics import setup_network
  File "/home/x332/Projects/oceanprotocol/provider-py/ocean_provider/utils/basics.py", line 4, in <module>
    from ocean_keeper.contract_handler import ContractHandler
  File "/home/x332/Projects/oceanprotocol/provider-py/venv/lib/python3.6/site-packages/ocean_keeper/__init__.py", line 7, in <module>
    from .contract_base import ContractBase
  File "/home/x332/Projects/oceanprotocol/provider-py/venv/lib/python3.6/site-packages/ocean_keeper/contract_base.py", line 12, in <module>
    from web3.utils.threads import Timeout
ModuleNotFoundError: No module named 'web3.utils'

Fixed with https://github.com/oceanprotocol/provider-py/commit/f9fff3ed6b7c24be886a81b18f05f7c657fbf796


[BUG] add full with to components in mobile view

Is there any existing issue for this?

[X] I have searched the existing issues

Description
I just noticed, the deign is breaking for some of the components in mobile view, which is not looking good at all.
specific requirements
It should take full width of the screen.
Screenshots
current:

it should be like:

Any additional information?
No response
What browser are you seeing the problem on?
No response

I'd be happy to tackle this issue if it's not already assigned.

thank you for taking interest in, yes you can start working :)

Issue is fixed & can be closed.


Ability to move windows when the title bar is off screen

Sometimes my WSLg apps appear with the title bar off screen. From what I can tell no keyboard shortcut exists to move back on screen.
Other tickets mention that window snapping, alt-dragging and windows+arrow keys don't work.
I'd love a workaround to enable using the application when this happens without having to restart it several times until it decides to position the window with the titlebar on screen again.

@shebiki, when this happen, would you please check, using xwininfo, if the window position match to where it's on Windows desktop? (assuming you are only using single monitor with 100% DPI, since multiple monitor with non-100% DPI, coordinate translation between X space and Windows desktop space could be tricky). I would like to check if this is because the window is actually correctly positioned in X11 space, but not at expected position at Windows side, Thanks!

Here's an xwininfo dump for this; my WSL2 X11 Emacs window currently has its title bar completely off screen, and there's no way to bring it back. I'm using a standard 1920x1200 monitor at 100% (no HiDPI).
I'm running latest WSLg preview version from Microsoft store, with Ubuntu 20.04 distro.
% xwininfo
xwininfo: Window id: 0xa0001b "[*Messages*] - tower1 - Emacs 28.0.50 (WSL2)"

  Absolute upper-left X:  -28
  Absolute upper-left Y:  -47
  Relative upper-left X:  38
  Relative upper-left Y:  59
  Width: 1013
  Height: 943
  Depth: 24
  Visual: 0x1ae
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0xa0001a (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +-28+-47  -2855+-47  -2855-305  +-28-305
  -geometry 108x50+-66+-106

In my humble opinion, this should be marked as "Bug" rather than "Enhancement" since once a window opens with its task bar off screen, there is no way to get it back at all. It is a pretty serious bug for me. See also #332 which I think is the same bug.

this is definitely a bug. i'm trying to use intellij and the configuration window opens up with the title bar off the screen. there's no way to drag or move the window, restarting the application does fix the positioning... so basically the application is unusable.

I'm using PyCharm (so also a JetBrains IDE) and it happens to me as well, dual monitor setup. I've managed to "fix" it by opening PowerShell and killing WSL with "wsl --shutdown" and then opening a new Linux terminal so that WSL starts again. After this the IDE appears on screen.

I would like to use the wslg X11 server for openGL applications over ssh, to get the graphics acceleration. I typically open windows with matplotlib or Open3D. If I stay on one screen things work ok, but in a dual monitor setup when move a window between my screens the window will often pop out of view with no way to bring it back. This was so annoying for me so I moved back to VcXsrv instead of using the built in wslg.
Is there any update when this issue will be adressed for WSLg ?

Same here. I'm using PyCharm and some windows are off-screen.
Luckily, I've found this solution: https://unix.stackexchange.com/a/324577.
Simply, install xdotool (sudo apt update && sudo apt install xdotool), then run:
xdotool selectwindow windowmove 50 50

Select the window that is off-screen and it will bring its top-left corner back 50 pixels from the left of the screen, and 50 pixels down from the top.
It's just a workaround but it's clean (just one short command).

I would love to see a solution to this as well, using IntelliJ Ultimate I experience this often.
I can reproduce this when doing things such as resolving git conflicts, where a separate window is opened and half of it is not visible making it not able to be dragged back down.

Using the provided tool above, I'm correctly able to resize it.

This issue is plaguing me always when using WSL 2, still no fix?

A quick solution I've found that seems to work without having to restart anything is enabling "Automatically hide the taskbar" in settings and then disabling it. At least for the applications I work with, this pops them back into view.

thanks to @devaminb method, I wrote a script to automatically reset all the off-screen windows' location.
function resetwindow {
    for pid in $(xdotool search -name --onlyvisible --maxdepth 1 .); do
        read -r x y < <(xwininfo -id "$pid" | grep Absolute | awk '{print $3}' | xargs)
        if [[ "$x" -lt 0 ]] || [[ "$y" -lt 1 ]]; then
            xdotool windowmove "$pid" 150 150
        fi
    done
}

This might just be a corner case, but run into this issue again, after changing my setup
❯ weston-info

*** Please use wayland-info instead
*** weston-info is deprecated and will be removed in a future version

interface: 'wl_compositor', version: 4, name: 1
interface: 'wl_subcompositor', version: 1, name: 2
interface: 'wp_viewporter', version: 1, name: 3
interface: 'zxdg_output_manager_v1', version: 2, name: 4
        xdg_output_v1
                output: 22
                name: 'rdp-1'
                logical_x: 0, logical_y: 476
                logical_width: 1920, logical_height: 1080
        xdg_output_v1
                output: 12
                name: 'rdp-0'
                logical_x: 1920, logical_y: 0
                logical_width: 2560, logical_height: 1440
[...]
❯ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x60004c "WindowTitle"

  Absolute upper-left X:  6
  Absolute upper-left Y:  27
  Relative upper-left X:  38
  Relative upper-left Y:  59

basically translates to something like this:

where blue is the desktop's surface, and red is the window's frame

Should it be helpful, I have a setup where two monitors are at eye level. Monitor 3 shown in the screen cap is my "main" monitor. Monitor 1 is a laptop screen that sits physically lower on the desk so i arrange my monitors like this:

When a new window comes up, it is displayed "off the top of the screen" as though the Monitor 3 is being used for alignment, even though the window pops up on Monitor 1 and should be pushed "lower" on the virtual display
When the monitors are set to the same height this doesn't seem to be a problem for me:


Fix order for single tickets as guest

Follow-up on https://github.com/opencollective/opencollective-api/pull/8100
Fix https://sentry.io/organizations/open-collective/issues/3898960355
Guest's orders for "single tickets" were crashing with WHERE parameter "FromCollectiveId" has invalid "undefined" value.
Also added a condition for the status: we should let people make another order for a ticket if the payment failed.

Thanks for fixing this. 👍🏽


Document a workaround to RuntimeException 'boom' [skip ci]

Fixes #7767
in addition update bloopInstall usage to the new Maven coordinates per https://github.com/scalacenter/bloop-maven-plugin/blob/c4d7f0f34cb7ad4a992abace25e3ef12cf08b086/README.md?plain=1#L14

build

verified locally with 331, and on Databricks with 330db

build

build


Persisting empty list in spring data r2dbc v3.1.1 results in null value being inserted instead of empty array

When updating from Spring v3.0.x to v3.1.1 we get the following database error when trying to persist an empty list of an enum type (kotlin emptyList()) to an array column in PostgreSQL:
null value in column "foo" of relation "bar" violates not-null constraint
I think this is due to this commit:
https://github.com/spring-projects/spring-data-relational/commit/c55ba786f8ba4b8ff5a9b04dc48508dd7f853332#diff-959f5816c3648926ab975cd65e6f5d130ab2f51607d7d2e7de40543223705c32L179
The empty array with an enum componentType is not processed properly and eventually a null is returned here:

I'm not able to reproduce the issue. Converting an entity that contains an empty List of enum values renders an empty array (String[0]) that is passed to the drivers.
If you would like us to spend some time helping you to diagnose the problem, please spend some time describing it and, ideally, providing a minimal sample that reproduces the problem.

@mp911de I've set up a minimal sample here: https://github.com/jurriaan/issue-1544, seems that I cannot get it to persist non-empty lists of enums as well.


After several hours, envoy returns all 503's for all clusters, seems related to "complete reconfigure" (update: happens on consul certificate rotation)

Describe the bug

Ambassador pod starts returning all 503's (all clusters have unhealthy upstreams) after several hours of running with healthy upstreams
Using ConsulResolver, AES 1.13.10,  AMBASSADOR_AMBEX_NO_RATELIMIT
possibly has to do with "complete reconfigure", based on seeing logs that correlate with the problematic times
doesn't seem related to high memory as this can occur when Ambassador pod is in the 40's % memory usage

To Reproduce

UPDATE: disregard the below bullets (the original given steps) and instead see the steps in the 2nd comment
~Deploy Ambassador 1.13.10 with AMBASSADOR_AMBEX_NO_RATELIMIT=true using the ConsulResolver with a Consul Connect Mesh~
~See that everything is working fine; clusters are sending traffic to pods as expected, any app pod terminations / additions are recognized smoothly by Ambassador~
~Wait several hours, perhaps even 2 days~
~See that requests to apps start coming back as "503 UH" for some hours, but then go back to working fine again~
~Note that the logs will show a "complete reconfigure" very close to the beginning and end of the unhealthy upstreams period~

Expected behavior

The requests continue to serve to the pods successfully indefinitely - i.e. the upstreams to do not go unhealthy

Versions (please complete the following information):

Ambassador: 1.13.10
Kubernetes environment: AWS EKS
Version 1.18
Consul Connect: 1.9.3

Additional context
We use the ConsulResolver and recently upgraded to 1.13.10 (from 1.13.0) as well as enabled AMBASSADOR_AMBEX_NO_RATELIMIT since we'd like to try suppressing the reconfigure throttling. We tried this out in a test environment, and the feature worked as we hoped in that high memory on the ambassador pod did not cause the "throttling" message in the logs and also did not slow down the recognition of changes to pods (which typically causes us a lot of 503's), so that's all good.
However, once we deployed this to the initial stages of our real environments, after many hours of running we started to get a lot of 503's. In one of those environments, it was clear from metrics/logs that all the 503's were coming from 1 of the 3 ambassador pods. When I hopped into the container and checked the clusters's metrics, it appeared that all the clusters were empty - that is - there were no IP addresses in the metrics under /clusters. (Typically when debugging, if I want to explicitly check targets for a particular pod's cluster, I run: curl -s http://<IP_ADDRESS>:8001/clusters | grep <app-name> )
What facts do we have so far?

This problem has, thus far, always taken somewhere between several hours and multiple days to occur.
We have never seen this happen with 1.13.0 or earlier.
We have seen this problem occur in multiple environments, so there is repeatability (albeit slow to reproduce)
This problem does not (at least) seem to be related to high memory; we have seen it happen in the 40's % of ambassador pod memory usage
We are not sure whether it has to do with the 1.13.0 to 1.13.10 upgrade alone or if it also requires the enabling of AMBASSADOR_AMBEX_NO_RATELIMIT.

To try and gain some evidence, we have two environments running 1.13.10, one with it disabled and the other with it enabled, but it is slow to reproduce the error, so we are waiting to find out something.

This problem fixes itself after a while - something like 3-7 hours
Biggest Clue So Far: "complete reconfigure"

whenever this issue has occurred, we have seen logs indicating a "complete reconfigure" just as the problem starts and then a "complete reconfigure" again right about the time the problem ends.
However, there are other times the "complete reconfigure" logs happen where there is no negative impact
here is an example of a set of such logs just before the first 503 (see 07:31:32) and just after the last 503 (see 13:23:27)

What Troubleshooting We Have Tried So Far

Setting log level to "debug", but haven't found anything else that gives us any more clues in those logs so far
Briefly setting log level to "trace" during a problem window. We can't leave it on trace for long enough to initially catch the error due to the volume of logging, but I did enable it on a problematic instances for a few minutes hoping I might see something going wrong with service discovery, but didn't manage to find anything helpful yet.
digging through the /ambassador/snapshot/*.yaml and *.json files from the impacted container.

For instance, I went through each of the ambex-*.json files thinking I might see one where the clusters.<app's-cluster>.targets was empty, but they did have valid targets in them.
E.g. {"ip": "<IP_ADDRESS>", "port": 20000, "target_kind": "Consul"}

Questions

Is there anything relevant to know about the "complete reconfigure" log occurrences? Are they triggered by something? Are they indicative of something amiss?
Does anyone have any other ideas on how to troubleshoot this issue or get more info?

UPDATE: We have discovered that this has to do with the certificate renewal by the ambassador-consul integration. Checking the last 7 occurrences of this problem, I see that the 503's start happening about 20-60 sec after the cert renewal happens (which is every 2 days).
We have also identified a way to reproduce in a test environment:

Deploy Ambassador 1.13.10:

with a Consul Connect Mesh (we use consul v1.9.3)
the ambassador-consul integration (which updates the mesh certificates and writes to a k8s secret for Ambassador)
deploy a test app (echo server or whatever) with a Mapping that uses the ConsulResolver to discover the service's pod IPs

Run a curl in a loop that his your test app through the Mapping; see that it's all successful (e.g. 200's)
Force a mesh certificate rotation by killing the ambassador-consul integration pod. This will update k8s secret holding the mesh certificate as the new ambassador-consul pod comes up
See that within some seconds, your test app requests will return some 503's:

you'll see 503 UH in the Ambassador ACCESS logs
when this happens, you can exec into the ambassador container that is throwing the 503's and do a curl -s http://<IP_ADDRESS>:8001/clusters and see that there are no IPs for your consul service in the returned metrics
next, either a) make a change to any arbitrary mapping or b) kill -HUP <pid> on the "entrypoint" service within the pod. Either action should fix your clusters - the 503's should stop and a curl on that curl on the /clusters endpoint will show service IPs for your test app

NOTE: you may need to kill the ambassador-consul pod a couple of times; it's not 100% of the time that it causes. Running multiple replicas of Ambassador will likely help make it more likely to happen
Note that if you check the ambex-* snapshots for the impacted pod, you will see snapshots for each of the changes, but you will not see one that shows empty clusters for your test app (at least, I did not)

NOTE: we have been unable to reproduce this problem on 1.13.0, so as mentioned in the comment above, this issue seems to have been introduced after 1.13.0.

We're experiencing this issue as well. It's a huge pain and giant limitation using ambassador alongside consul

We are currently also experiencing the same issue. Has there been a workaround for this? Is it possible to control the triggering of the update so re-synchronising can be automated at least? i.e trigger the cert update and sync the edge stack pods afterwards?

These are probably all dups of the same root issue:

https://github.com/datawire/apro/issues/2726
https://github.com/datawire/apro/issues/2942
https://github.com/datawire/apro/issues/2941
https://github.com/emissary-ingress/emissary/issues/3680
https://github.com/emissary-ingress/emissary/issues/3510

Addressed in Version 2.4.0.  We'd appreciate your feedback on whether this resolves the issue.


Broken for text solutions?

(.pyenv) ➜  07 git:(main) ✗ aoc -s vgzejbd
no such column: vgzejbd
(.pyenv) ➜  07 git:(main) ✗ aoc -s "vgzejbd"
no such column: vgzejbd

This is for 2017 day 7.

Hi thanks for letting me know I have just released a bug fix
Should be fixed in the latest version - let me know if not


InsertAndFetch could use pg returning trick under the hood ?

It would optimize it for us !

I haven't done this because I'm not 100% sure it is equivalent to fetching the row in all cases. Maybe there are some corner cases in which the name insertAndFetch is misleading. What's wrong with using explicit returning('*') instead of insertAndFetch? Are you using different database for testing and production or something similar?

Luckily, no, i'm using postgres everywhere :)
However it would be cool.

I don't see this in line with objection's philosophy of avoiding magic. I'll close this for now. I'll revisit if someone requests this again.


Add a docs page for the new accountTable

See: https://github.com/casdoor/casdoor/commit/ae4ab9902b18924cf977754c674b1fd48595aae4
Add to: https://casdoor.org/docs/organization/overview

@leo220yuyaodog


come up with an agile workflow how to prioritize/identify/specify/combine functionality in admiral (workshop)

Future way of working in the admiral core team with more focus on across ADaM functionality (e.g. BDS functions) and less focus on ADaM dataset specifics.
Goal: What do we need to do this?

Hey Robin,
I do think we need a review of agile (im new at it) but it seems like this hybrid approach to agile is working now.  Do you still think we need update workflow on how this is handle?  This exists https://app.box.com/file/812035970361?s=60x2ahhbyt7jn05kiqaptir58ddgzril which is nice.  Maybe an update is needed?


Initial sqlite support

Closes #210
This requires a bind mount volume to hold the database file.

This is being difficult, mostly because of some limitations with CI really 😿
Really has not been much demand for it, so wondering if this is even worth the trouble?

This would have been nice indeed :(


Add mechanism for short-term notifications

OPUS needs a mechanism to display a banner of some kind when people start OPUS, for announcements such as upcoming service interruptions. This would be done by reading a local file on the server, and, if it exists, displaying it in a pretty manner.

Combine w/ api_last_blog_update to include the ability for the short term notification to appear.
-Add a new parameter to opus_secrets in template that looks at another file that contains the notification details in text.  The front end will manage the html formatting of the details, if any, that come from the back end and throw up a splash page w/that information.


Text does not appear in textfield

When typing text do not appear in field

It seems like the box width isn'n enough for the text to appear, try making it larger


Can you explain in detail the testing work on NVIDIA nano.

Can you explain in detail the testing work on NVIDIA nano.

@najingligong1111  we have not tested it on NVIDIA nano. You can try to transfer the model to trt or install the pyotch on nvidia nao

@najingligong1111 Just install the requirements as usual on your Jeston Nano, then run the tracker.
I recommend you the official forum of NVIDIA Jeston as I found it really useful.

@najingligong1111 Issue closed as it's been a long time without further reply. Wish that you've already fixed your issue. Feel free to reopen for further consulation.

@najingligong1111 Issue closed as it's been a long time without further reply. Wish that you've already fixed your issue. Feel free to reopen for further consulation.


fix: fix version action response error in websocket

Closes TD-18782

Codecov Report

Merging #20 (af8d06a) into main (20e8069) will increase coverage by 0.29%.
The diff coverage is 77.01%.

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   61.36%   61.65%   +0.29%
==========================================
  Files          98       98
  Lines       17249    17299      +50
==========================================
+ Hits        10584    10666      +82
+ Misses       6665     6633      -32

Impacted Files
Coverage Δ

taos-query/src/common/raw/views/lengths.rs
72.13% <ø> (+3.38%)
:arrow_up:

taos-query/src/common/raw/views/schema.rs
95.38% <ø> (+4.20%)
:arrow_up:

taos-query/src/prelude.rs
59.15% <0.00%> (+4.39%)
:arrow_up:

taos-ws-sys/src/stmt.rs
66.11% <0.00%> (-0.11%)
:arrow_down:

src/tmq.rs
45.33% <60.00%> (+0.38%)
:arrow_up:

taos-ws/src/asyn.rs
71.06% <78.57%> (+1.08%)
:arrow_up:

taos-ws/src/stmt/mod.rs
77.80% <93.93%> (+1.64%)
:arrow_up:

taos-ws/src/sync.rs
71.73% <0.00%> (-0.22%)
:arrow_down:

taos-query/src/common/raw/views/mod.rs
77.23% <0.00%> (+0.37%)
:arrow_up:

taos-query/src/common/value/de/borrowed.rs
71.53% <0.00%> (+2.11%)
:arrow_up:

... and 2 more

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


Getting error "github-pages 227 | Error:  The jekyll-theme-chirpy theme could not be found."

I've been able to get the theme to work locally on my ubuntu box, but once I push GitHub the "pages build and deployment" action fails and I get a miss theme error.
/usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:84:in rescue in gemspec': The jekyll-theme-chirpy theme could not be found. (Jekyll::Errors::MissingDependencyException) 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:81:in gemspec'
I was hoping someone could help me with this. I've built some other pages but I've never had this error.

Try to remove the Gemfile.lock from your remote repo and add it to .gitignore.

I had the same issue. Why does this happen?

The solution is setting the build and deployment method as GitHub Actions.
https://chirpy.cotes.page/posts/getting-started/#deploy-by-using-github-actions


Iho/smallest

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[ ] New extractor
[X] New feature

Description of your pull request and other information
Per #19241 add smallestvideo and smallestaudio filters that select formats based on the smallest file size.

This must be solved by introducing a mechanism to manage sorting priorities not by introducing new selector names.


H600D not recognized

The H600D light bulb cannot be found (no problem with a H618F LED stripe) - any ideas?

I have the same issue, do I need to do something to make it show up?

Govee informed me that the light bulbs will have no local API support . I replaced them with Tuya ones....

Govee informed me that the light bulbs will have no local API support . I replaced them with Tuya ones....

Ridiculous that a new bulb do not have local api nor matter

govee changed how their cloud api works on their led bulbs.


Determine best way to package project

It looks like there is a couple ways to manage packaging in the python ecosystem

Pipenv
Poery
Flit
pip-tools

I like pipenv when developing, but it's packaging a approach is lacking. I would still have to manually manage packages, and I would like to do as little as possible when it comes to packaging.
Poetry seems to handle packaging better by using pyproject.toml directly, but it's development workflow is lacking, and doesn't integrate with virtual environments as well as pipenv.

I've landed on Poetry for now. It has a majority of features pipenv has, and it's faster. Poetry also automates packaging and publishing, which I do not want todo manually right now. Manually maintaining seems like a hassle. There may be github actions to automate that, but I rather use a local tool, and the latest packaging format, to automate that process.
The only feature I hope poetry implements is dev scripts / tasks. [tool.poetry.scripts] doesn't really fulfill that feature IMHO, because those scripts are meant for running the package with either poetry run <script name>, or after installation with pip/pipx (use pipx btw).


tomlkit cannot parse escaped parentheses

bump-my-version version: 0.9.2
Python version: 3.10.12
Operating System: Linux

Description
I am trying to search and replace a version macro that looks like this:
search = "#define EDGE_COM_VERSION_MAJOR (0x{current_version})" replace = "#define EDGE_COM_VERSION_MAJOR (0x{new_version})"
Worked fine till regex came in, which is fine given that we have a --no-regex flag.
However toml parser doesn't like the escaped parens of my search string somehow.
What I Did
I get this kind of error:
⚡ bump-my-version bump minor --allow-dirty
Traceback (most recent call last):
  File "/usr/local/bin/bump-my-version", line 8, in <module>
    sys.exit(cli())
  File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/rich_click/rich_group.py", line 21, in main
    rv = super().main(*args, standalone_mode=False, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/bumpversion/cli.py", line 283, in bump
    config = get_configuration(found_config_file, **overrides)
  File "/usr/local/lib/python3.10/dist-packages/bumpversion/config.py", line 145, in get_configuration
    parsed_config = read_config_file(config_file) if config_file else {}
  File "/usr/local/lib/python3.10/dist-packages/bumpversion/config.py", line 262, in read_config_file
    return read_toml_file(config_path)
  File "/usr/local/lib/python3.10/dist-packages/bumpversion/config.py", line 342, in read_toml_file
    toml_data = tomlkit.parse(file_path.read_text()).unwrap()
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/api.py", line 86, in parse
    return Parser(string).parse()
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 154, in parse
    key, value = self._parse_table()
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 1012, in _parse_table
    key_next, table_next = self._parse_table(full_key, table)
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 1038, in _parse_table
    result = self._parse_aot(result, full_key)
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 1079, in _parse_aot
    _, table = self._parse_table(name_first)
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 1002, in _parse_table
    item = self._parse_item()
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 238, in _parse_item
    return self._parse_key_value(True)
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 331, in _parse_key_value
    val = self._parse_value()
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 427, in _parse_value
    return self._parse_basic_string()
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 727, in _parse_basic_string
    return self._parse_string(StringType.SLB)
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 869, in _parse_string
    value += self._parse_escaped_char(delim.is_multiline())
  File "/usr/local/lib/python3.10/dist-packages/tomlkit/parser.py", line 772, in _parse_escaped_char
    raise self.parse_error(InvalidCharInStringError, self._current)
tomlkit.exceptions.InvalidCharInStringError: Invalid character '(' in string at line 28 col 42

My bad.. I was escaping the parens manually in the search string.
Closing the issue now.
Also, the --no-regex option works :)

My bad.. I was escaping the parens manually in the search string.
Closing the issue now.
Also, the --no-regex option works :)


API equivalent of Ctrl+C? (stopping response stream before completion)

Is there an equivalent to the console 'Ctrl+C' in the API to stop a stream response? What's the recommended practice?
Thanks!

Never mind - I found it. I learned some Go today! 👍


Radical rewrite of the constraints solution engine

This brings it up to par with my current abilities.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@30f6e90). Click here to learn what that means.
The diff coverage is 89.35%.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   86.37%
=========================================
  Files             ?       13
  Lines             ?      455
  Branches          ?        0
=========================================
  Hits              ?      393
  Misses            ?       62
  Partials          ?        0

Impacted Files
Coverage Δ

...deConstraintSelection/SelectionChangedEventArgs.cs
0% <0%> (ø)

...ConstraintSelection/BrokenConstraintException`1.cs
0% <0%> (ø)

...gorithms/NodeConstraintSelection/ScenarioPool`1.cs
100% <100%> (ø)

...deConstraintSelection/SolutionBuilderExtensions.cs
100% <100%> (ø)

...odeConstraintSelection/SelectionCountConstraint.cs
100% <100%> (ø)

...ConstraintSelection/SetOneNodeValueConstraint`1.cs
100% <100%> (ø)

...lection/SolutionBuilder`1+ConflictedConstraints.cs
100% <100%> (ø)

...odeConstraintSelection/ComplexConflictException.cs
25% <25%> (ø)

...odeConstraintSelection/BadConstraintException`1.cs
43.75% <43.75%> (ø)

...rithms/NodeConstraintSelection/Strings.Designer.cs
42.42% <72.72%> (ø)

... and 3 more

Continue to review full report at Codecov.

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


Adding the Ecma International logo

We should think about how to place the Ecma international logo. If anyone with design experience can chime in it would be great!
Here is my haphazard attempt:

If the site had a permanent footer (to contain, say, a copyright line) then it might fit nicely down there.

Another option: Ecma logo on the top right?

This is part of the feedback from Ecma International, they find that the site makes TC39 look like a standalone committee and want the logo to be featured somewhere more prominently.  Left hand or right hand corner I think would work well for this purpose.


Add public evals

Evals show that gpt-4o beats gpt-3.5. I don't really trust the RAGAS metrics...


Preview cannot show when in global replace

VSCode Version: 1.29.1
OS Version: Mac OS 10.14.1
Special config used:

"search.usePCRE2": true,
"search.showLineNumbers": true

Steps to Reproduce:

Do a global replace with some files in the result
Preview on some files cannot show up, shows popup

Unable to open '67.md ↔ 67.md (Replace Preview)': ModelService: Cannot add model because it already exists!.

Redo the global replace can somehow solve this problem

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

They are all markdowns, and I find that it is easier to trigger if you
replace one of the search results when the preview is opened, and then open
another preview.
Rob Lourens<EMAIL_ADDRESS>於 2018年11月26日 週一 11:22寫道：

I can't reproduce this. Do you know what is special about the files that
don't work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/63347#issuecomment-441507974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH5VbmDGcD7HLnJHcFDDBxyAWIQ9egJyks5uy16JgaJpZM4YnVIE
.

I still can't repro. Any idea @sandy081?

No idea. @joseph1125 May I know if there are any files open already while you are doing this operation? And is there any information in the console that can help us in investigation - Use the command Developer: Toggle Developer Tools to open the console

I will try to reproduce the issue again, please hold
Sandeep Somavarapu<EMAIL_ADDRESS>於 2018年11月28日 週三 17:52寫道：

No idea. @joseph1125 https://github.com/joseph1125 May I know if there
are any files open already while you are doing this operation? And is there
any information in the console that can help us in investigation - Use the
command Developer: Toggle Developer Tools to open the console
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/63347#issuecomment-442385713,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH5VblE48lHZB29f6rByqQK3yoTN-TwWks5uzlzFgaJpZM4YnVIE
.

Sure

weird, after working 2382 markdowns, it still does not show any errors, I will close it for now and start another issue if this happens again.

@joseph1125 @sandy081 @roblourens - I opened #64103 with steps that reproduce the issue for me.  Hope that makes it easier for others to reproduce the same.


Fix missing performance metrics for VMI resources

What this PR does
Before this PR:
kubevirt_rest_client_requests_total was missing datapoints for some resources such as VMIs
After this PR:
kubevirt_rest_client_requests_total has data for all tracked resources

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

Fix missing performance metrics for VMI resources

@rthallisey @xpivarc

/cc @rthallisey @alaypatel07

@machadovilaca @xpivarc what kind of tests can we write to makes sure refactoring metrics does not break perf/scale tests?

@machadovilaca @xpivarc what kind of tests can we write to makes sure refactoring metrics does not break perf/scale tests?

if we have a set of metrics and labels used by the perf/scale tests, we can create in the monitoring lane or so, a validation that those metrics exist and their value increased by a certain amount

@machadovilaca are you able to rebase?

/cherry-pick release-1.3

/release-blocker release-1.3

@machadovilaca are you able to rebase?

updated @xpivarc

https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12096/pull-kubevirt-e2e-k8s-1.29-sig-performance/1806352571170820096/artifacts/performance/VMI-perf-audit-results.json
Looking at this audit file, all the metrics are present except GET-endpoints-count and UPDATE-endpoints-count

@xpivarc @machadovilaca can you check why those two metrics are missing in this PR's performance test run results?

@alaypatel07 This is expected. The endpoints were only used by leader election afaik. From https://github.com/kubevirt/kubevirt/pull/12097/files#diff-eb74f3825e06024b57cee95c2eee1eeea90b30d281a703cddeb4b25a0e287faeR42 we are not using the endpoints anymore but leases.

/cc @fossedihelm
Federico can you have a quick look at the code for lgtm?

@machadovilaca Code looks good. Just a decorator nit: I'd prefer to swap the commits, but it's absolutely NOT mandatory. Also, please look at the comment below. Thank you!

@fossedihelm updated

@alaypatel07 This is expected. The endpoints were only used by leader election afaik. From https://github.com/kubevirt/kubevirt/pull/12097/files#diff-eb74f3825e06024b57cee95c2eee1eeea90b30d281a703cddeb4b25a0e287faeR42 we are not using the endpoints anymore but leases.

Interesting, in that case I wonder if we need to start these metrics for leases in sig-scale.

/hold cancel

@xpivarc Hi, IMO the code isn't self-explainable enough to reflect that dependency? when I will write a new controller that also related to VMI lifecycle and also uses leases, how would I know I need to call one func before another in order to maintain metrics stability wrt VMI?

@xpivarc would you remember this dep yourself when you will review future PRs?

@enp0s3 those are valid questions, I think we should file an issue for those so we can get to a better way of expressing that dependency.

@xpivarc Hi, IMO the code isn't self-explainable enough to reflect that dependency. when I will write a new controller that also related to VMI lifecycle and also uses leases, how would I know I need to call one func before another in order to maintain metrics stability wrt VMI?

IMO one needs to know that they want metrics to be exposed. Then the person needs to investigate what kind of metrics are provided by client-go by default. The usage of RegisterRestConfigHooks  is up to anyone who we will write new controller and I think now the doc on the function explains when it needs to be called.

@xpivarc would you remember this dep yourself when you will review future PRs?

Most likely yes.

@xpivarc Are you going to open an issue about it?
@sradco I won't have BW to follow-up on this

@xpivarc Hi, IMO the code isn't self-explainable enough to reflect that dependency. when I will write a new controller that also related to VMI lifecycle and also uses leases, how would I know I need to call one func before another in order to maintain metrics stability wrt VMI?

IMO one needs to know that they want metrics to be exposed. Then the person needs to investigate what kind of metrics are provided by client-go by default. The usage of RegisterRestConfigHooks is up to anyone who we will write new controller and I think now the doc on the function explains when it needs to be called.

I don't understand why one needs to do investigation instead of just reading the code and understand the dependencies.

@xpivarc would you remember this dep yourself when you will review future PRs?

Most likely yes.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 08:54:29 on 2023.07.24
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 32955
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=32955

Problem has been resolved in 12m 0s at 09:06:29 on 2023.07.24
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 32955


Add description text for "My Pass" category

@HugoNDO we need a description text for this category in discover and in "My Wallet".

Use exclusive Passes: Supercharge your Web3 experience.

Size: S


Notification styles

- we have 4 different types of notification, need to prepare a helper for it.
Tasks:

global notification
notification with cancel function
notification inside of the content
global alert notification
initial notification stack

Initial notification stack added in v1.1.1.
Usage:
<system-notify-container ...other-props :notify="{title: 'Initial', message: 'message'}"></system-notify-container>
<!-- or -->
<system-notify-container ...other-props :notify="[{title: 'First', message: 'message'}, {title: 'Second', message: 'message'}]"></system-notify-container>

container will be rendered with notify inside


Dev --> Master 02-10-2020: Segment-Triggered Automation Updates & Bounce/Block Syntax Fix

Hello @astuteape,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


HAAR-686 Limit direct access to URLs by checking roles in token

I still need to update the cypress tests to add a test to mimic the direct url access returning an authError


PiT: gradle branch does not work

21.0.0

Using vaadinVersion=21.0.0 version and running dev or production modes raises an NPE:

     2021-10-21 11:00:03,422 ERROR [io.und.req.io] (executor-thread-0) Exception handling request 994a1511-f952-48e8-a987-f99107ae1572-1 to /: java.lang.NullPointerException: Cannot invoke "com.vaadin.flow.server.VaadinService.getContext()" because "service" is null
        at com.vaadin.flow.internal.DevModeHandlerManager.getDevModeHandler(DevModeHandlerManager.java:87)

22.0.0.alpha8

Using PiT  vaadinVersion=22.0.0.alpha8  version, does not find the artifacts:

   Plugin [id: 'com.vaadin', version: '22.0.0.alpha8'] was not found in any of the following sources:
   - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
   - Plugin Repositories (could not resolve plugin artifact 'com.vaadin:com.vaadin.gradle.plugin:22.0.0.alpha8')
      Searched in the following repositories:
      MavenRepo
      Gradle Central Plugin Repository

Deploying the platform artifact in my local by running ./gradlew build publishToMavenLocal in platform 22.0.0.alpha8, and adding mavenLocal() to the settings.gradle file, and running the app in devmode sh ./gradlew -Pvaadin.productionMode app starts but fail with the same NPE above:

   2021-10-21 11:39:10,980 ERROR [io.und.req.io] (executor-thread-0) Exception handling request 6e88f1c6-0b4b-4ca5-8b92-5875d7c9298f-1 to /: java.lang.NullPointerException
        at com.vaadin.flow.internal.DevModeHandlerManager.getDevModeHandler(DevModeHandlerManager.java:77)

But running in prod mode, it does not compiles sh ./gradlew -Pvaadin.productionMode:

> Task :vaadinBuildFrontend FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':vaadinBuildFrontend'.
> com.vaadin.flow.server.ExecutionFailedException: Error occured during goal execution: './build/flow-frontend/form' is not a valid version!Please run Maven with the -e switch (or Gradle with the --stacktrace switch), to learn the full stack trace.

Closed, since all the issues have been addressed.


reimplement spread operator for node 4

This reimplements the spread operator for node 4.  As of now node 4
is the stable LTS release, and so it is the version which is supplied
on many distributions.  This change reimplements the gulpfile to not
use spread operator to make vscode working on systems using node 4.

Hi @joequant, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Building VS Code actually requires node 6+ now, this change intentionally to bring in the newer, nicer syntax.


remove Maybe and MaybeVector

fixes #160

Codecov Report

Merging #165 (5ff29a7) into main (c2e3101) will decrease coverage by 0.85%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
- Coverage   50.76%   49.91%   -0.86%
==========================================
  Files          66       64       -2
  Lines        6467     6413      -54
==========================================
- Hits         3283     3201      -82
- Misses       3184     3212      +28

Impacted Files
Coverage Δ

src/Examples/docs_examples.jl
0.00% <0.00%> (ø)

src/Geometry/Ray.jl
43.75% <ø> (ø)

src/GlassCat/sources.jl
0.00% <0.00%> (ø)

src/OpticSim.jl
88.88% <ø> (ø)

src/Optical/Emitters/Emitters.jl
0.00% <0.00%> (-20.00%)
:arrow_down:

src/Geometry/Primitives/Qtype.jl
75.00% <0.00%> (-8.34%)
:arrow_down:

src/Optical/LensAssembly.jl
48.22% <0.00%> (-7.33%)
:arrow_down:

src/Optical/OpticalInterface.jl
63.23% <0.00%> (-4.30%)
:arrow_down:

src/Geometry/CSG/Intersection.jl
48.57% <0.00%> (-2.14%)
:arrow_down:

src/Geometry/Geometry.jl
0.00% <0.00%> (-1.86%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

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


<EMAIL_ADDRESS>don't work

this error in the browser
and

this one is in the console.

How did you install ezahare?

npm install -g ezshare@latest

thanks. fixed in 1.11.4


Please add an offline version to use

Because there will be network restrictions in China

You can use Texify and Pix2tex lovally. Follow the documentation and point Obsidian to <IP_ADDRESS>.
Let me know if you encounter any issues. I am running Texify locally and works great.

It does run well locally, but it's too much of a PC hog!

https://huggingface.co/docs/transformers/installation#offline-mode
This is a tutorial, but I don't know how to program

import os
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

# 确保 Transformers 以离线模式运行
os.environ["TRANSFORMERS_OFFLINE"] = "1"

def get_processor():
    global processor
    if processor is None:
        # 指定分词器的本地路径
        processor = AutoTokenizer.from_pretrained("/local/path/to/processor", local_files_only=True)
    return processor

def get_model():
    global model
    if model is None:
        # 指定模型的本地路径
        model = AutoModelForSeq2SeqLM.from_pretrained("/local/path/to/model", local_files_only=True)
    return model

# Flask 应用的其余部分保持不变

I inquired about ChatGPT and this is the advice it gave, is this ok please?

I will look into it when I have some time, if you want you could create a PR @math-feng