Build failed with webpack error when css filed imported

Thanks for the nice work. I'm on Nextjs 14.0.3 and am doing an "import '../styles/global.css'" in my /pages/_app.tsx file. This import caused the build process to failed with the messages below. I've tried even emptying the content of global.css and it's still causing error until I remove the import completely. Only nextjs-obfuscator 1.3.0 works so far but not the later versions. Any insight on this?
./src/styles/globals.css
TypeError: Class extends value undefined is not a constructor or null
at Function.getCssDependency (D:\app\node_modules\next\dist\compiled\mini-css-extract-plugin\index.js:1:8033)
at addDependencies (D:\app\node_modules\next\dist\compiled\mini-css-extract-plugin\loader.js:1:5836)
at handleExports (D:\app\node_modules\next\dist\compiled\mini-css-extract-plugin\loader.js:1:6477)
at D:\app\node_modules\next\dist\compiled\mini-css-extract-plugin\loader.js:1:7631
at D:\app\node_modules\next\dist\compiled\webpack\bundle5.js:28:814002
at D:\app\node_modules\next\dist\compiled\webpack\bundle5.js:28:131723
at symbolIterator (D:\app\node_modules\next\dist\compiled\neo-async\async.js:1:14444)
at timesSync (D:\app\node_modules\next\dist\compiled\neo-async\async.js:1:5027)
at Object.eachLimit (D:\app\node_modules\next\dist\compiled\neo-async\async.js:1:14208)
at D:\app\node_modules\next\dist\compiled\webpack\bundle5.js:28:129914
Import trace for requested module:
./src/styles/globals.css

Build failed because of webpack errors

Hello, I created a new project to look into the issue, but I couldn't replicate it.
Could you provide a reproducible repository or project, or instructions on how to reproduce? Thanks.

Apologies. My fault. Turns out I've used nextjs-obfuscator the wrong way. Was doing the following which was obsolete I guess.
const NextJSObfuscatorPlugin = require("nextjs-obfuscator");
const nextConfig = {
webpack: (config, {dev}) => {
if(!dev){
config.plugins.push(new NextJSObfuscatorPlugin({
...nextjsoptions
}, {
obfuscateFiles: {
app: true,
pages: true,
},
log: true,
}))
}
return config;

}
}

I'm glad that the issue was solved. If you have any other issues, please feel free to open a new issue.

Hi @mtripg6666tdr,
I have similar problem with this issue.
This repro repo: https://github.com/nakamuraos/next-js-obfuscator-boilerplate
Can you help me check it. Thank you.

Hi @mtripg6666tdr,
I have similar problem with this issue.
This repro repo: https://github.com/nakamuraos/next-js-obfuscator-boilerplate
Can you help me check it. Thank you.

Your repo seems to be configured in the way for nextjs-obfuscator v2.x or lower, so please re-configure it in the right way for v3.x. See the README as a reference.

Your repo seems to be configured in the way for nextjs-obfuscator v2.x or lower, so please re-configure it in the right way for v3.x. See the README as a reference.

Thank you. Just reconfig as v3 and It's working now.

Your repo seems to be configured in the way for nextjs-obfuscator v2.x or lower, so please re-configure it in the right way for v3.x. See the README as a reference.

Thank you. Just reconfig as v3 and It's working now.


"code --install-extension example.vsix" does not work

VSCode Version: 1.53.0
OS Version: Windows 10

Steps to Reproduce:

Build an extension with vsce package
Install the extension with code --install-extension example.vsix
This command opens VSCode but the extension does not appear in the list of installed extensions

We have used the above command for months and it always worked. Since a few days / weeks it does not work anymore. Installing the extension inside VSCode via the command Extensions: Install from VSIX works normally.

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

Seems like cli is not getting invoked.

@sandy081 I cannot reproduce on macOS at least:
~/Development/Microsoft/monaco> code --install-extension example.vsix
Installing extensions...
ENOENT: no such file or directory, open '/Users/bpasero/Development/Microsoft/monaco/example.vsix'
Failed Installing Extensions: file:///Users/bpasero/Development/Microsoft/monaco/example.vsix

Can you please test windows? I don't see how my :lipstick: changes there could have any impact.

Also works in windows.
@bpasero Are there any diagnosing steps user can follow to check whey CLI is not getting invoked?

@sandy081 @bpasero Thank you for the quick reactions! I just checked my environment variables and found that along the "bin" folder where the CLI seams to be located, the main path of VSCode is also defined under "PATH". Removing that folder solved the problem for me.
It's possible that I added this folder some time ago when I was experimenting with a script that opens several instances of VSCode in different folders. I am not sure though.


Loop buged?

https://user-images.githubusercontent.com/93028949/198422733-b1e542da-665d-4aeb-8afc-45e072fa57aa.mp4
The loop isn't checked, but when I test it, it still looped.  I just want to make it linear.
Or do I set it wrong?

And is there any way to just import only the animation part from other downloaded .cpmproject file? I there is, it would be so helpful!

Use the setup and finish animations in 0.6.0a, and no you can import animations from other projects.


Update crates

Notably this updates tame-index which fixes an issue where cargo-deny would not be able to check for yanked crates on 32-bit targets.
    Updating bstr v1.9.1 -> v1.10.0
    Updating bytes v1.6.1 -> v1.7.0
    Updating cc v1.1.6 -> v1.1.7
    Updating clap v4.5.11 -> v4.5.13
    Updating clap_builder v4.5.11 -> v4.5.13
    Updating clap_derive v4.5.11 -> v4.5.13
    Updating gix-credentials v0.24.3 -> v0.24.4
    Updating indexmap v2.2.6 -> v2.3.0
    Updating ppv-lite86 v0.2.17 -> v0.2.18
    Updating serde_json v1.0.120 -> v1.0.121
    Updating tame-index v0.13.0 -> v0.13.1
    Updating target-lexicon v0.12.15 -> v0.12.16
    Updating tokio v1.39.1 -> v1.39.2
    Updating toml_datetime v0.6.7 -> v0.6.8
    Updating version_check v0.9.4 -> v0.9.5
    Updating winnow v0.6.16 -> v0.6.18
      Adding zerocopy v0.6.6 (latest: v0.7.35)
      Adding zerocopy-derive v0.6.6 (latest: v0.7.35)

This for the quick fix! :) There's another test failure that's specific to armhf, armv7, x86 (which are all 32 bit, but for some reason tests pass on s390x):

---- advisories::helpers::db::test::converts_url_to_path stdout ----
thread 'advisories::helpers::db::test::converts_url_to_path' panicked at src/advisories/helpers/db.rs:712:13:
assertion `left == right` failed
  left: "/builds/kpcyrd/aports/testing/cargo-deny/src/cargo-deny-0.16.0/github.com-44506d3055764976"
 right: "/builds/kpcyrd/aports/testing/cargo-deny/src/cargo-deny-0.16.0/github.com-a946fc29ac602819"
---- test::validate_crates_io_sparse_dir_name stdout ----
thread 'test::validate_crates_io_sparse_dir_name' panicked at src/lib.rs:671:9:
assertion `left == right` failed
  left: "index.crates.io-1cd66030c949c28d"
 right: "index.crates.io-6f17d22bba15001f"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
    advisories::helpers::db::test::converts_url_to_path
    test::validate_crates_io_sparse_dir_name
test result: FAILED. 13 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
error: test failed, to rerun pass `--lib`

aaab4c5c31dce9692bf740872bcacc35c7491550


Support Memory and Span overloads on body streams

This requires a little bit of design so that we can take advantage of the fact that we are given a Memory<byte>

No plans to do this anytime soon.


[Registration]

Greetings. I'm encountering issue with one of the file in examples, which is test_register.py.
So, even when I enter all country code and phone number, it literally WOULD NOT send the verify code.
I will be really appreciate it if you can check it out!

https://github.com/DeachSword/CHRLINE/issues/65


[Issue] azd pipeline config - files with git errors when configuring AzDO

[x] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
azd version 1.10.1 (commit 31409a33266fb4a5fdbb644bc83988e725d6c7c9)
Describe the bug
When running azd pipeline config and providing a PAT w/ all the scopes required per the docs, I am met with an error during the git phase:
  (✓) Done: Checking current directory for Git repository

ERROR: ensuring git remote: Looking for repository: Request returned status: 404 Not Found

To Reproduce
My use case has a root-level respository, then a backend/ subfolder where I have run azd init and then customized the deployment and azure.yaml file to work for my setup. Nothing crazy, just adding some settings and using a custom up workflow to deploy containers in a specific order.
Expected behavior
I'm new to azd, so not entirely sure what the output of pipeline config is supposed to be, but... I wouldn't expect errors.
Environment
Information on your environment:

.NET 8, ASP.NET Core
VS 17.11
VSCode 1.93.1

Additional context
Output from `--debug`
  |      =| Initialize bicep provider2024/10/03 16:24:51 main.go:50: Retry: =====> Try=1
2024/10/03 16:24:51 main.go:50: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://graph.microsoft.com/v1.0/me
   Authorization: REDACTED
   User-Agent: azsdk-go-graph/1.0.0 (go1.23.0 X:loopvar; Windows_NT),azdev/1.10.1 (Go go1.23.0 X:loopvar; windows/amd64)
   X-Ms-Correlation-Request-Id: REDACTED

  |       | Initialize bicep provider2024/10/03 16:24:52 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/113.2799ms, OpTime=113.8287ms) -- RESPONSE RECEIVED
   GET https://graph.microsoft.com/v1.0/me
   Authorization: REDACTED
   User-Agent: azsdk-go-graph/1.0.0 (go1.23.0 X:loopvar; Windows_NT),azdev/1.10.1 (Go go1.23.0 X:loopvar; windows/amd64)
   X-Ms-Correlation-Request-Id: REDACTED
   --------------------------------------------------------------------------------
   RESPONSE Status: 200 OK
   Cache-Control: no-cache
   Client-Request-Id: REDACTED
   Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
   Date: Thu, 03 Oct 2024 23:24:51 GMT
   Odata-Version: REDACTED
   Request-Id: 5e877c36-86e5-4dd5-a82b-6ab7df36856f
   Strict-Transport-Security: REDACTED
   Vary: REDACTED
   X-Ms-Ags-Diagnostic: REDACTED
   X-Ms-Resource-Unit: REDACTED

2024/10/03 16:24:52 main.go:50: Retry: response 200
2024/10/03 16:24:52 main.go:50: Retry: exit due to non-retriable status code

Configure your Azure DevOps pipeline

  |       | Checking current directory for Git repository2024/10/03 16:24:52 command_runner.go:307: Run exec: 'git -C D:\azdo\msft\project\backend remote get-url origin' , exit code: 0
-------------------------------------stdout-------------------------------------------
<EMAIL_ADDRESS>2024/10/03 16:24:52 command_runner.go:307: Run exec: 'git -C D:\azdo\msft\project\backend branch --show-current' , exit code: 0
-------------------------------------stdout-------------------------------------------
feature/infra-via-bicep-and-azd
  (✓) Done: Checking current directory for Git repository

ERROR: ensuring git remote: Looking for repository: Request returned status: 404 Not Found

@vhvb1989 can you take a look?

@v-xuto can you help triage this?

@brandonh-msft, We are unable to reproduce the issue. Please confirm the following related configurations and permissions:

Execute git remote -v to check if the address of the remote repository is correct.
Check that the Azure DevOps PAT has full access permissions.

If it still cannot be resolved, please provide more details about your issue, such as:  azure.yaml file and azure-dev.yml file, and all output information about executing command azd pipeline config --provide azdo.


Ability to list service currently being monitored

Looking for a way to get a list of the services that are currently being monitored by Argus from the cli.  I know they are printed in the logs when the container starts, but hoping there is another way to grab them without having to parse docker logs.  :-)
I can run docker exec -it argus bash -c 'argus' > services.txt and get them that way.  It tries to start a new instance of argus and fails as the port is already in use, but it does print out the services that are active in config.yaml.  Probably not the best way to go about it.
Would it be possible to add another cli option such as -config.services that simply lists all of the monitored services each on its own line similarly to how it does in the logs?

You could use a grep to get the services in the config?
❯ docker exec -it argus bash -c 'egrep "^  ([^ ][^:]+)" -o /app/config.yml'
  release-argus/argus

I thought about something like that, but it also picks up items in the settings, defaults, notify, and webhook blocks whose numbers would vary for users depending on their config.  For now I am using docker exec -t argus bash -c 'argus -test.service aaa' | sed -e '1,3d'.  Just giving -test.service an invalid service name and removing the first three lines.

Closing as my workaround to search for a service that does not exist provides the results needed to automate my needs doe another application.


Brew install on a new machine fails

Describe the bug
As per your docks, on a new machine having golang isntalled

➜ go version
go version go1.16.5 darwin/amd64

Running
brew tap liamg/aminal
brew install aminal
Fails with the following error:

go: cannot find main module, but found Gopkg.lock in /tmp/.gobuild/src/github.com/liamg/aminal

It seems like setup scripts are not setup correctly, it runs ./build.sh v0.8.7
To Reproduce
Steps to reproduce the behavior:

Open terminal
Run brew tap liamg/aminal
Run brew install aminal
See error

Expected behavior
Having animal terminal installed
Environment (please complete the following information):

OS + Version: [e.g. Ubuntu 18.04] - On Linux run cat /etc/*release
➜ uname -a
Darwin MacBook-Pro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May  8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64

Go Version [e.g. 1.10.1] - Run go version
➜ go version
go version go1.16.5 darwin/amd64

Shell [e.g. Bash/Zsh] - Run echo $0
➜ echo $0
-zsh

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


Intermediate certificates with Extended Key Usage extension

With reference to issue #8328 , could you please explain the rationale more clearly?
@vdukhovni wrote "The mechanism is not specified in RFC5280, but is a long-standing de-facto practice."
Could you please share mode details on that? In which areas is this practice adopted de-facto?
I am aware of just one context wherein this is done: the validation of SSL Server certificates by (mainstream) browsers.

If mainstream browsers do it, is it not a de-facto standard? If you want this behavior to change, I suggest that you convince the IETF to publish an RFC about how it should behave. I think this also got discussed on mozilla's dev-security-policy and in the CAB Forum.

I am very well aware of that, Kurt. Besides, I did not suggest that the current behavuour of OpenSSL is wrong or that it should be changed. I was just asking what examples the OpenSSL developers had in mind. Based on your answer, it seems to be exactly the only one case that I mentioned myself.

Marking as inactive to be closed at the end of 3.4 dev, barring further input

Fine to me.


color highlighting in vscode

Possibly add this to a readme.
Assuming Dark+ theme
using this plugin:
https://github.com/fabiospampinato/vscode-highlight
add these settings:
    "highlight.regexes": {
      "(Value\\(.*?\\))": {
        "regexFlags": "g",
        "filterFileRegex": ".*\\.strest\\.yml",
        "decorations": [
          { "color": "#9CDCFE" }
        ]
      },
        "(Env\\(.*?\\))": {
          "regexFlags": "g",
          "filterFileRegex": ".*\\.strest\\.yml",
          "decorations": [
            { "color": "#C586C0" }
          ]
        }
      }

Maybe a whole vscode extension would be even more useful

I considered that, but the grammars for yaml were a bit more complex than I cared to work on.

I also came across this problem but I just cloned the vscode yaml highlighting from here but I don't really understand the syntax behind this

yup.  That's what i didn't want to mess with.


expand DOH dns resolving capabilities

Description of the feature, modification, idea or suggestion
I think it can be good to expand the DNS resolving feature for system informer. this can be done in a few ways:

add a custom IP address that can be added in system informer to make it the active dns resolver
option to easily toggle the DOH on/off. maybe through a system tray icon.
option to disable dns resolving for specific apps.

Proposed implementation details (optional)
No response

option to disable dns resolving for specific apps.

We don't control how other applications preform dns lookup. You could try adding a firewall rule blocking DNS for the program but it could switch to another protocol like https or a static address to bypass the policy.

option to easily toggle the DOH on/off.

Options > General > Resolve DNS over HTTPS (DOH)


Major update for russian readme

Hi, it says there is a conflict so I can't merge automatically. Can you fix the conflict and I'll go ahead and merge it?
Thank-you

Damn.  Can i send you file via email and u get upload manually?

Sure thing, vocatus.gate at gmail


Serial monitor should be copy/pastable

It would be nice if it was possible to copy text from the serial monitor.  You can highlight text an the Edit->Copy is enabled, but nothing ends up on the clipboard.

@steelydev you're right and this is a bug. Added to backlog :)

Any update on this?

Sorry, we haven't got around to it yet. But we're refocusing on our dev tools so I hope we'll be able to fix it soon.

Hey guys any update on this please?

Unfortunately, it hasn't been on our priority list. We'll try to fix it in one of the following sprints. Sorry for keep you all waiting


Fix sphinx roles and parenthesis

Fix nitpicks from #12326

@larsoner The no-changelog-entry-needed is not sufficient to entirely skip the required Changelog / towncrier test which fails since this PR fixes a typo in another changelog entry. Maybe we can have the no-changelog-entry-needed be a full overwrite which disables this workflow?

Thanks @mscheltienne !


{CI} Improve CI speed by using multi-core agent

Use multi-core agent to run test for build and test package for DEB and RPM package.
Now the azdev can create two workers to run the test.
Known limitation:

Some modules are run in serial, such as network.
Some tests run much slower than others, slowing down the entire testing process. For example: tests/latest/test_keyvault_commands.py::KeyVaultMgmtScenarioTest::test_keyvault_list_deleted

Thank you for your contribution! We will review the pull request and get back to you soon.


Our gateway enablement flag is not working

@shriram I don’t think we can use istio-ingressgateway with a dash in values.yaml, helm doesn’t allow it when you use it in if condition like .Values.gateways.istio-ingressgateway.enabled, it creates error when I run helm template.  (found this when working on https://github.com/istio/istio/pull/11732/files)

Please don't use my @ name here. I'm not part of this project.

sorry meant for @rshriram :)

update: wait for new installer to check this

This is "fixed" in the new installer with a bit of a hack. See https://github.com/istio/installer/blob/master/gateways/istio-ingress/templates/autoscale.yaml#L1
I researched a bit and that was the only real workaround I could find

Fixed in installer


Timeline/Convos: send to friend isn't working when convos module isn't installed

Already fixed here #1028.


ccxt install problem

When I installed it, I found that a package was installed repeatedly, and each version was installed, which was very strange.
Using cached ccxt-1.61.83-py2.py3-none-any.whl (2.1 MB)
Using cached ccxt-1.61.82-py2.py3-none-any.whl (2.1 MB)
Using cached ccxt-1.61.81-py2.py3-none-any.whl (2.1 MB)
Using cached ccxt-1.61.80-py2.py3-none-any.whl (2.1 MB)
Using cached ccxt-1.61.79-py2.py3-none-any.whl (2.1 MB)
Using cached ccxt-1.61.78-py2.py3-none-any.whl (2.1 MB)
Using cached ccxt-1.61.77-py2.py3-none-any.whl (2.1 MB)
Using cached ccxt-1.61.76-py2.py3-none-any.whl (2.1 MB)
Using cached ccxt-1.61.75-py2.py3-none-any.whl (2.1 MB)
Downloading ccxt-1.61.74-py2.py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 656 kB/s
Downloading ccxt-1.61.73-py2.py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 3.3 MB/s
Downloading ccxt-1.61.72-py2.py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 544 kB/s
Downloading ccxt-1.61.71-py2.py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 638 kB/s
Downloading ccxt-1.61.70-py2.py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 344 kB/s
Downloading ccxt-1.61.69-py2.py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 262 kB/s
Downloading ccxt-1.61.68-py2.py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 437 kB/s
Downloading ccxt-1.61.67-py2.py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 656 kB/s
Downloading ccxt-1.61.66-py2.py3-none-any.whl (2.1 MB)
|███████████████                 | 993 kB 467 kB/s eta 0:00:03

Which command are you using to install CCXT? I have tried pip install ccxt and didn't reproduce this problem.

it seems like
pip install finrl

For now, you may try to use pip install git+https://github.com/AI4Finance-LLC/FinRL-Library.git  to install the latest version of FinRL. We will check pip install finrl.

If there are more issues about ccxt installation, it would be good to fix or discuss at the delicated FinRL-Meta repo: https://github.com/AI4Finance-Foundation/FinRL-Meta

I'm also experiencing this problem with
pip install git+https://github.com/AI4Finance-LLC/FinRL-Library.git
and
pip install git+https://github.com/AI4Finance-Foundation/FinRL.git
Can't install FinRL at all

I have the same issue with the above command on MacOS. Is it possible during installation to ignore any of the APIs such as the CCXT that seems to create a problem?

fix?


[$250]  IOU – Not here page when create new request after canceling payment for the first one

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

Version Number: 9.0.40-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Go to workspace chat> + > Submit expense> Complete the flow
Pay the request
Go to transaction thread> Click on header> Cancel payment
Go to main page> + > Submit expense> Complete the flow
Navigate to newly created request

Expected Result:
Transaction thread should open
Actual Result:
Not here page appears
Workaround:
Unknown
Platforms:

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

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/79bdf5a8-0aca-4006-b29c-98923dce8ecf
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021840688856056706978
Upwork Job ID:<PHONE_NUMBER>056706978
Last Price Increase: 2024-09-30
Automatic offers:

nkdengineer | Contributor | 104431780

Issue OwnerCurrent Issue Owner: @rushatgabhane

@sonialiap  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Proposal
Please re-state the problem that we are trying to solve in this issue.
Not here page appears
What is the root cause of that problem?

When we pay money requests, the iouReportID of the chat report is updated to null. But it's not updated to the expense report again when we cancel the payment.

Then when we submitted another request, we created a new optimistic report preview action and a new expense report but the backend moved this to the canceled payment expense report. So not found page appears when we open the expense report from the optimistic report preview action.

What changes do you think we should make in order to solve the problem?
When we cancel payment here, we should update iouReportID in optimistic data here if chatReport.iouReportID is null or we can check if the current chatReport.iouReportID is created before or after the expenseReport to decide update iouReportID or not.
{
    onyxMethod: Onyx.METHOD.MERGE,
    key: `${ONYXKEYS.COLLECTION.REPORT}${chatReport.reportID}`,
    value: {
        iouReportID: chatReport?.iouReportID ? chatReport?.iouReportID : expenseReport.reportID,
    },
}

https://github.com/Expensify/App/blob/70ed492da2743309039e17827d59792e6a148310/src/libs/actions/IOU.ts#L7430
We also need a BE change to update iouReportID of the chat report when we cancel the payment because

iouReportID isn't updated after we cancel the payment
If we submit another expense after canceling payment, BE still moves this to the canceled expense report

What alternative solutions did you explore? (Optional)
NA

that makes sense to me. 🎀 👀 🎀
https://github.com/Expensify/App/issues/49801#issuecomment-2378861880

the iouReportID of the chat report is updated to null. But it's not updated to the expense report again when we cancel the payment.

@nkdengineer how will we know the old iouReportID that we need to optimistically reset to after cancellling payment?

@nkdengineer how will we know the old iouReportID that we need to optimistically reset to after cancellling payment?

@rushatgabhane When we create a money request in the chatReport (DM or policy expense chat), we get the IOU report via chatReport.iouReportID. So we need to update iouReportID of the chatReport.
https://github.com/Expensify/App/blob/69483ff0ef36e39fbf40c15f2caa3471dccbef17/src/libs/actions/IOU.ts#L2053-L2056

what will happen when a report has multiple expenses and we cancel only one of them?

We can check if the current iouReportID of the chatReport is created before the cancelling iou report or iouReportID we need to update iouReportID to the cancelling iou report otherwise we can keep the current chatReport.iouReportID

@tgolen Can you review the comment here?

Hm, yeah... sorry. I remember seeing that, and I was expecting @rushatgabhane to respond to that before I assigned anything. I've looked at the comment, and the answer seems to make sense to me, but I am not very familiar with the code or the flow. @nkdengineer do you think that's just something we can tackle in the PR? If so, I'll go ahead and assign you.

@tgolen Based on this comment, can you implement the BE change to return the correct iouReportID of the chat report after we cancel payment? Thanks.

Yeah, I can do that. However, I'm not entirely sure what needs to be changed. Can you please detail the backend problem a little more with an expected/actual scenario and reproduction steps?

@tgolen I just checked again, and after resetting the cache and restarting, the iouReportID of the chat report is updated correctly now. We only need to fix the optimistic data case in the front end now.
OPTIONAL: But I prefer if we can return the iouReportID data of chat report when we call CancelPayment API.

@rushatgabhane The PR is ready.

@nkdengineer bump on my question here about the BE fix you're looking for.

@tgolen I answered here.

Oh, hahaha. Sorry I walked right by that somehow.

I prefer if we can return the iouReportID data of chat report when we call CancelPayment API.

I can help with this if it would make the API more consistent and predictable. How would you want it to be returned? I assume it would just be the iouReportID property for the key report_<expenseReportID>?

I can help with this if it would make the API more consistent and predictable. How would you want it to be returned? I assume it would just be the iouReportID property for the key report_?

@tgolen  It should be report_<chatReportID>

OK, got it. I'll create an issue for that and I can let you know when it's deployed if you'd like.

Thanks.

I just submitted a PR for it, so it should get merged and deployed early next week. I'll let you know when it does.

"Include the iouReportID of the chat report in the CancelPayment response" deployed to production 19 hours ago

Yes, the backend things are completed on this. What's the next step for this issue?

Waiting update from @rushatgabhane.

Update - PR in process https://github.com/Expensify/App/pull/50847

I'm OOO Dec 16-20, adding a leave buddy
next steps:

@rushatgabhane to complete checklist
BZ to make payment

$250 approved for @rushatgabhane

Payment summary:
@rushatgabhane $250 via NewDot
@nkdengineer $250 paid in upwork ✔


set config.lsp.hover.enabled = false in your Noice config.

Each time I open a html file.It appears.
vim.lsp.handlers["textDocument/hover"] has been overwritten by another plugin?
Either disable the other plugin or set config.lsp.hover.enabled = false in your Noice config.

plugin: nvim
file: /tmp/.mount_nvimBFoNFw/usr/share/nvim/runtime/lua/vim/lsp.lua
line: 2319

well that's a quite clear error message
the handler gets overwritten by a different plugin
so either find that plugin and disable it or set the value in the config as written in the error message depending on which hover you want to use


Create training-textclassification-activelearning-with-GPU.ipynb

uploading a new tutorial for running argilla in a google colab with a GPU, following the discussion here: https://github.com/argilla-io/argilla/issues/1901

closes #1901

thanks for the review, I've made the requested changes on google colab (https://colab.research.google.com/drive/11oTWno3hzgJnip11EcgqEhdpbW1IX-lP?usp=sharing) and re-uploaded the updated .ipynb file here. Couldn't think of a good visual unfortunately

@MoritzLaurer Thanks for the contributions and the update! It looks great.
We have some nice things coming up this week for giving a shout-out to our active contributors on LinkedIn. Would you like to participate?🎊

Great. and yeah, happy to participate


Jobs running after workflow was aborted

Hi guys, we had to abort https://cmsweb.cern.ch/reqmgr/view/details/pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380, but there are still jobs running.
Could you please help us to abort all the jobs for real? is there a way to prevent this?

Looking at this request from vocms0303, I see that it was properly aborted in WorkQueueManager (and condor jobs removed), some pieces of the component log:
2016-09-22 20:59:31,151:140184529499904:INFO:WorkQueueManagerCleaner:Start updating & cleaning...
2016-09-22 20:59:47,552:140184529499904:INFO:WorkQueue:Canceling work for workflow(s): set([u'pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380'])
2016-09-22 20:59:56,425:140184529499904:INFO:WMBSHelper:Killing 3191 jobs for workflow: pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380
2016-09-22 21:00:11,427:140184529499904:ERROR:PyCondorPlugin:Can't find this job's cache_dir in PyCondorPlugin.complete
2016-09-22 21:00:11,428:140184529499904:ERROR:PyCondorPlugin:cache_dir: None
2016-09-22 21:00:11,428:140184529499904:ERROR:PyCondorPlugin:retry_count: 1
...
2016-09-22 21:00:12,745:140184529499904:ERROR:PyCondorPlugin:Can't find this job's cache_dir in PyCondorPlugin.complete
2016-09-22 21:00:12,745:140184529499904:ERROR:PyCondorPlugin:cache_dir: None
2016-09-22 21:00:12,746:140184529499904:ERROR:PyCondorPlugin:retry_count: 1
2016-09-22 21:02:17,464:140184529499904:INFO:DashboardReporter:Handling 3191 jobs
2016-09-22 21:02:18,738:140184529499904:INFO:DashboardReporter:Handling 2 jobs
2016-09-22 21:02:20,849:140184529499904:INFO:WorkQueue:New list of cancelled requests: set([u'pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380'])

however, 2min later the component was creating new subscriptions for this very same workflow:
2016-09-22 21:04:30,242:140184550741760:INFO:WorkQueue:Adding WMBS subscription for pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380
2016-09-22 21:04:30,672:140184550741760:INFO:WMBSHelper:"pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380" Injecting production 1:2040001:174420001 - 1:2044000:174762000 (run:lumi:event) into wmbs

I cooked a script to check the status of the wqe global/local, and this is the output:
cmst1@vocms0303:/data/srv/wmagent/current $ python getWQStatusByWorkflow.py pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380

Summary for https://cmsweb.cern.ch/couchdb/workqueue and request pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380
{u'Canceled': {None: 201,
               u'http://vocms0303.cern.ch:5984': 110,
               u'http://vocms0304.cern.ch:5984': 94,
               u'http://vocms0308.cern.ch:5984': 11,
               u'http://vocms0310.cern.ch:5984': 90,
               u'http://vocms0311.cern.ch:5984': 225},
 'numberOfElements': 731}

Summary for http://localhost:5984/workqueue and request pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380
{u'Running': {None: 110}, 'numberOfElements': 110}

Summary for http://localhost:5984/workqueue_inbox and request pdmvserv_PPD-RunIISpring15PrePremix-00002_00011_v0_PUMoriond17_160914_201757_9380
{u'Canceled': {u'http://vocms0303.cern.ch:5984': 110}, 'numberOfElements': 110}

@ticoann is it the same thread that aborts work and add them to wmbs? IF not, then it could be that work was already queued to be added to wmbs while the other thread was canceling/aborting work.
I'm going to force abort this request in all the agents that pulled work.
Out of curiosity, why wasn't this workflow force-completed and extended instead of aborting it? There are 550k success and 50k failures

Work has been aborted in all agents. Paola, I'm closing this issue and the real fix can be followed in #6791

http://cms-gwmsmon.cern.ch/prodview/pdmvserv_BPH-Summer12-00228_00270_v0__160926_121558_7218 trying to take it down running 7k jobs after it was aborted and down to ~zero.

Sigh, yet another workflow in this weird state. This workflow is in aborted-completed status, all the GQ elements are gone and the LQ elements are gone at least from vocms0303 and vocms0304.
However, vocms0303 was still acquiring WMBS work ~30min after the workflow had been aborted.
I'm force aborting this workflow in the agents, starting with vocms0303
cmst1@vocms0303:/data/srv/wmagent/current $ python kill-workflow-in-agent pdmvserv_BPH-Summer12-00228_00270_v0__160926_121558_7218
Canceling work for workflow: set(['pdmvserv_BPH-Summer12-00228_00270_v0__160926_121558_7218'])
ERROR:root:Mismatch in WMBS load: Some requested jobs not found!
ERROR:root:Could not retrieve job with WMBS ID 1990671 from BossAir database
ERROR:root:Could not retrieve job with WMBS ID 1990672 from BossAir database
ERROR:root:Can't find this job's cache_dir in PyCondorPlugin.complete
ERROR:root:cache_dir: None
ERROR:root:retry_count: 0
Thu Sep 29 16:14:48 2016: ApMon[DEBUG]: Closing UDP socket on ApMon object destroy.
Aborted worqueue elements:
[]

going for the other agents now.

For completeness, the LQ elements were gone as well:
cmst1@vocms0303:/data/srv/wmagent/current $ python getWQStatusByWorkflow.py pdmvserv_BPH-Summer12-00228_00270_v0__160926_121558_7218
Summary for https://cmsweb.cern.ch/couchdb/workqueue and request pdmvserv_BPH-Summer12-00228_00270_v0__160926_121558_7218
{'numberOfElements': 0}
Summary for http://localhost:5984/workqueue and request pdmvserv_BPH-Summer12-00228_00270_v0__160926_121558_7218
{'numberOfElements': 0}
Summary for http://localhost:5984/workqueue_inbox and request pdmvserv_BPH-Summer12-00228_00270_v0__160926_121558_7218
{'numberOfElements': 0}

All the jobs were cleaned from the agents. A real fix is still to be found :(


osmcore_L Galaxy Nexus Kernel Panic

[ 5623.859741] osmcore_L invoked oom-killer: gfp_mask=0x200da, order=0, oom_adj=-17, oom_score_adj=-1000
[ 5623.859863] Backtrace:
[ 5623.859985] [] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
[ 5623.860076]  r6:000200da r5:00000000 r4:c3ada000 r3:00000000
[ 5623.860382] [] (dump_stack+0x0/0x1c) from [] (dump_header.isra.7+0x74/0x170)
[ 5623.860504] [] (dump_header.isra.7+0x0/0x170) from [] (out_of_memory+0x248/0x348)
[ 5623.860595]  r8:c3ada000 r7:00000000 r6:0002eed7 r5:00000000 r4:dc9aeac0
[ 5623.860992] [] (out_of_memory+0x0/0x348) from [] (__alloc_pages_nodemask+0x748/0x76c)
[ 5623.861053] [] (__alloc_pages_nodemask+0x0/0x76c) from [] (handle_pte_fault+0x5cc/0xa9c)
[ 5623.861175] [] (handle_pte_fault+0x0/0xa9c) from [] (handle_mm_fault+0xc0/0x104)
[ 5623.861297] [] (handle_mm_fault+0x0/0x104) from [] (do_page_fault+0x1b8/0x324)
[ 5623.861419] [] (do_page_fault+0x0/0x324) from [] (do_DataAbort+0x3c/0xa0)
[ 5623.861541] [] (do_DataAbort+0x0/0xa0) from [] (ret_from_exception+0x0/0x10)
[ 5623.861602] Exception stack(0xc3adbfb0 to 0xc3adbff8)
[ 5623.861694] bfa0:                                     5d056000 00000000 0e244c33 00000000
[ 5623.861816] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 bec939ac
[ 5623.861877] bfe0: 00000000 bec93880 00000000 4019f448 200d0010 ffffffff
[ 5623.861999]  r8:00000000 r7:00000000 r6:00000000 r5:00000007 r4:0000040f
[ 5623.862335] Mem-info:
[ 5623.862426] Normal per-cpu:
[ 5623.862487] CPU    0: hi:  186, btch:  31 usd:   0
[ 5623.862548] CPU    1: hi:  186, btch:  31 usd:   0
[ 5623.862670] active_anon:159421 inactive_anon:322 isolated_anon:0
[ 5623.862670]  active_file:15 inactive_file:18 isolated_file:0
[ 5623.862670]  unevictable:378 dirty:0 writeback:0 unstable:0
[ 5623.862670]  free:1396 slab_reclaimable:1199 slab_unreclaimable:4207
[ 5623.862670]  mapped:20794 shmem:331 pagetables:1494 bounce:0
[ 5623.863067] Normal free:3536kB min:3528kB low:15208kB high:16092kB active_anon:637684kB inactive_anon:1288kB active_file:60kB inactive_file:72kB unevictable:1512kB isolated(anon):0kB isolated(file):0kB present:778240kB mlocked:0kB dirty:0kB writeback:0kB mapped:83176kB shmem:1324kB slab_reclaimable:4796kB slab_unreclaimable:16828kB kernel_stack:3080kB pagetables:5976kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:198 all_unreclaimable? yes
[ 5623.863311] lowmem_reserve[]: 0 0 0
[ 5623.863586] Normal: 8814kB 78kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 0*4096kB = 3580kB
[ 5623.864379] 766 total pagecache pages
[ 5623.875976] 262144 pages of RAM
[ 5623.876068] 1936 free pages
[ 5623.876129] 69929 reserved pages
[ 5623.876190] 4324 slab pages
[ 5623.876251] 54064 pages shared
[ 5623.876312] 0 pages swap cached
[ 5623.876373] [ pid ]   uid  tgid total_vm      rss cpu oom_adj oom_score_adj name
[ 5623.876495] [   97]     0    97      655      137   1     -17         -1000 ueventd
[ 5623.876556] [  124]  1036   124     3784      708   0     -17         -1000 logd
[ 5623.876678] [  125]     0   125      926       86   0     -17         -1000 healthd
[ 5623.876800] [  126]     0   126     1101       80   0     -17         -1000 lmkd
[ 5623.876861] [  127]  1000   127      807       69   1     -17         -1000 servicemanager
[ 5623.876983] [  128]     0   128     2392      187   0     -17         -1000 vold
[ 5623.877105] [  129]  1000   129    17127     6638   0     -17         -1000 surfaceflinger
[ 5623.877166] [  132]  2000   132      797       73   0     -17         -1000 sh
[ 5623.877258] [  133]  1049   133      775       55   1     -17         -1000 auditd
[ 5623.877380] [  134]     0   134     4928      236   1     -17         -1000 netd
[ 5623.877441] [  135]     0   135      950       69   0     -17         -1000 debuggerd
[ 5623.877563] [  136]  1001   136     5013      223   0     -17         -1000 rild
[ 5623.877655] [  137]  1019   137     3887      270   0     -17         -1000 drmserver
[ 5623.877777] [  138]  1013   138    30913     1420   0     -17         -1000 mediaserver
[ 5623.877838] [  139]  1012   139      796       67   1     -17         -1000 installd
[ 5623.877960] [  140]  1017   140     1544      142   1     -17         -1000 keystore
[ 5623.878082] [  142]     0   142   231717     4242   0     -17         -1000 main
[ 5623.878143] [  144]  1023   144     2312      678   1     -17         -1000 sdcard
[ 5623.878234] [  146]  2000   146     1935       91   0     -17         -1000 adbd
[ 5623.878356] [  294]     0   294      797       72   1     -17         -1000 daemonsu
[ 5623.878417] [  324]     0   324     2077       89   0     -17         -1000 daemonsu
[ 5623.878540] [  456]  1000   456   282729    23639   0     -14          -941 system_server
[ 5623.878662] [  568] 10014   568   266299    23389   0     -10          -705 ndroid.systemui
[ 5623.878723] [  632]  1010   632     1578      147   0     -17         -1000 wpa_supplicant
[ 5623.878845] [  784] 10007   784   233786     4347   0     -10          -705 ndroid.incallui
[ 5623.878936] [  792] 10000   792   234115     4836   0     -10          -705 ogenmod.audiofx
[ 5623.879058] [  816]  1001   816   234546     4823   0     -10          -705 .server.telecom
[ 5623.879119] [  838]  1027   838   239081     5137   0     -10          -705 com.android.nfc
[ 5623.879241] [  861]  1001   861   251571    12931   0     -10          -705 m.android.phone
[ 5623.879364] [ 1030]  1014  1030      798       73   1     -17         -1000 dhcpcd
[ 5623.879486] [ 1588]     0  1588     2333      119   1     -17         -1000 daemonsu
[ 5623.879547] [ 2474]     0  2474     2589      121   1     -17         -1000 daemonsu
[ 5623.879638] [16846]     0 16846     2589      121   1     -17         -1000 daemonsu
[ 5623.879791] [17005]     0 17005     2845      137   1     -17         -1000 daemonsu
[ 5623.879852] [17008]     0 17008   176527   117823   1     -17         -1000 osmcore_L
[ 5623.884216] Kernel panic - not syncing: Out of memory and no killable processes...
[ 5623.884216]
[ 5623.884399] Backtrace:
[ 5623.884521] [] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
[ 5623.884643]  r6:0002eed7 r5:c0803800 r4:c08326c0 r3:00000000
[ 5623.884918] [] (dump_stack+0x0/0x1c) from [] (panic+0x80/0x1b8)
[ 5623.885040] [] (panic+0x0/0x1b8) from [] (out_of_memory+0x258/0x348)
[ 5623.885162]  r3:00000002 r2:00000000 r1:e4f42f80 r0:c0735a60
[ 5623.885437]  r7:00000000
[ 5623.885559] [] (out_of_memory+0x0/0x348) from [] (__alloc_pages_nodemask+0x748/0x76c)
[ 5623.885681] [] (__alloc_pages_nodemask+0x0/0x76c) from [] (handle_pte_fault+0x5cc/0xa9c)
[ 5623.885772] [] (handle_pte_fault+0x0/0xa9c) from [] (handle_mm_fault+0xc0/0x104)
[ 5623.885894] [] (handle_mm_fault+0x0/0x104) from [] (do_page_fault+0x1b8/0x324)
[ 5623.886016] [] (do_page_fault+0x0/0x324) from [] (do_DataAbort+0x3c/0xa0)
[ 5623.886077] [] (do_DataAbort+0x0/0xa0) from [] (ret_from_exception+0x0/0x10)
[ 5623.886199] Exception stack(0xc3adbfb0 to 0xc3adbff8)
[ 5623.886291] bfa0:                                     5d056000 00000000 0e244c33 00000000
[ 5623.886383] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 bec939ac
[ 5623.886474] bfe0: 00000000 bec93880 00000000 4019f448 200d0010 ffffffff
[ 5623.886596]  r8:00000000 r7:00000000 r6:00000000 r5:00000007 r4:0000040f
[ 5623.886932] CPU0: stopping
[ 5623.887023] Backtrace:
[ 5623.887145] [] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
[ 5623.887268]  r6:c07dfad8 r5:fa240100 r4:00000000 r3:00000000
[ 5623.887573] [] (dump_stack+0x0/0x1c) from [] (do_IPI+0x190/0x1c4)
[ 5623.887664] [] (do_IPI+0x0/0x1c4) from [] (__irq_svc+0x48/0xe4)
[ 5623.887725] Exception stack(0xd03c3ad0 to 0xd03c3b18)
[ 5623.887847] 3ac0:                                     ef83c3fc 00000080 00000000 eecc54d0
[ 5623.887969] 3ae0: 0000244b eecc5300 fffff5bd 000001b3 c0822654 c07e6ae0 ef83c000 d03c3b8c
[ 5623.888031] 3b00: d03c3b18 d03c3b18 c04275f0 c0427578 200d0113 ffffffff
[ 5623.888153] [] (lowmem_shrink+0x0/0x410) from [] (shrink_slab+0x1f8/0x2d0)
[ 5623.888244] [] (shrink_slab+0x0/0x2d0) from [] (try_to_free_pages+0x2c8/0x484)
[ 5623.888336] [] (try_to_free_pages+0x0/0x484) from [] (__alloc_pages_nodemask+0x410/0x76c)
[ 5623.888427] [] (__alloc_pages_nodemask+0x0/0x76c) from [] (filemap_fault+0x268/0x4c0)
[ 5623.888549] [] (filemap_fault+0x0/0x4c0) from [] (__do_fault+0x58/0x49c)
[ 5623.888671] [] (__do_fault+0x0/0x49c) from [] (handle_pte_fault+0x78/0xa9c)
[ 5623.888793] [] (handle_pte_fault+0x0/0xa9c) from [] (handle_mm_fault+0xc0/0x104)
[ 5623.888854] [] (handle_mm_fault+0x0/0x104) from [] (do_page_fault+0x1b8/0x324)
[ 5623.888916] [] (do_page_fault+0x0/0x324) from [] (do_PrefetchAbort+0x3c/0xa0)
[ 5623.889038] [] (do_PrefetchAbort+0x0/0xa0) from [] (ret_from_exception+0x0/0x10)
[ 5623.889129] Exception stack(0xd03c3fb0 to 0xd03c3ff8)
[ 5623.889190] 3fa0:                                     00002144 46b261c0 0000003c 00000005
[ 5623.889312] 3fc0: 7115ddab 3c000000 41000000 6fe0c348 00000b17 0000162d 70bab99c 70baba0c
[ 5623.889434] 3fe0: 000010a2 58002800 4205c6f7 41ff7020 800f0030 ffffffff
[ 5623.889495]  r8:00000b17 r7:6fe0c348 r6:41000000 r5:00000007 r4:0000040f
[ 5623.889862] Rebooting in 5 seconds..

@eolwral Reboots once I enable root and try to view the logs tab

Thanks for information!
Logcat has changed since Lollipop, the size of logcat becomes large from 64K to 256K, logcat device also becomes 3 named pipes, it is not hard to read data, but serialization is a problem.
[ 5623.859741] osmcore_L invoked oom-killer: gfp_mask=0x200da, order=0, oom_adj=-17, oom_score_adj=-100
As your log, osmcore invokes oom (Out of memory) killer, because osmcore start to serialize data into binary, it uses mmap function to allocate a large block of memory, unfortunately a disaster is happening, available memory is too small to allocate, system starts to kill other's processes.
[ 5623.884216] Kernel panic - not syncing: Out of memory and no killable processes...
System tells us,  there are no killable processes, then kernel panic...
This issue is the same problem that I am working on now, I think the problem is that I use protocol buffer to serialize data, during serialization it requires large memory, I have tried to use flatbuffer instead of protocol buffer that should solve this problem, if everything works as my expectation, I will release a new version in a couple weeks. :)
Kenney

Hello ARoID,
I have finished a new version which use new serialization library "flatbuffer", which reduces 10% memory, In my phone (Nexus 5 and Android 5.0.1) it works amazing! I still test this version and make sure it is stable, if you would like to help test, you can download it via following link or join beta community. :)
How to become a beta tester

Join this community (https://plus.google.com/communities/104176911627256834500)
Opt-in link (https://play.google.com/apps/testing/com.eolwral.osmonitor)
Download beta version via Google Play

Debug Version

https://drone.io/github.com/eolwral/OSMonitor/files/OSMonitor/bin/OSMonitor-debug.apk

P.S. I will push it as production version, you also can try at that time. :)
Thanks!
Kenney

@eolwral Fixed on my Galaxy Nexus running CM12 😉


Can't import Key Vault Certificate into Spring Apps as both a Public and Private Certificate

We have our DigiCert Certificate in the Azure Key Vault.   We need to utilize this certificate in all of our Azure Spring Apps in 2 different ways:

Load the certificate into each Spring App's trust store which requires the certificate to be imported as a Public Certificate into Azure Spring apps certificates.   We are using this terraform resource to do this: https://learn.microsoft.com/en-us/azure/templates/microsoft.appplatform/spring/apps?pivots=deployment-language-terraform - this json:

loadedCertificates = [
        {
          resourceId = var.spring_service_simon_certificate_id
          loadTrustStore = true
        }
      ]

Use the certificate to bind to the app's custom domain name.  We are using the Azure App Gateway and we need to have end-to-end TLS support from the Gateway to our Spring app.   In order to do this the certificate needs to be imported as a Private Certificate into Azure Spring Apps certificates.

We can successfully import the certificate into Azure Spring Apps certificates as either a Public or Private certificate.  However, when you try to import as the other one (so if you have it imported as Public and want to import it as Private), the import fails because the fingerprint already exists.  An example of the error is:
Failed to import key vault cert: simon-wildcard-exp-7-23-2023.Reason: {"id":"subscriptions/xxx/resourceGroups/rg-lzcorpspring-prod-cus-01/providers/Microsoft.AppPlatform/locations/centralus/operationStatus/spring-lzcorpspring-prod-cus-01/operationId/844634b7-95b1-4eb5-82e6-e2abd5c616e1","name":"844634b7-95b1-4eb5-82e6-e2abd5c616e1","status":"Failed","startTime":"2023-05-02T12:38:21.7696125Z","endTime":"2023-05-02T12:38:28.1696948Z","error":{"code":"InternalServerError","message":"111077: Certificate with thumbprint 'e36e70ece24782ced93139dd8239f3ab70c24538' already existed"}}
To Reproduce
Steps to reproduce the behavior:
Using the Azure Portal:

Import a certificate into a Key Vault
Go into an Azure Spring Apps service and import that certificate as a Private Certificate
Then try to import the same key vault certificate as a Public Certificate and you will receive the error

Expected behavior
The same Key Vault certificate should be able to be imported twice so they can be used for the 2 different use cases.
Can we contact you for additional details? Y

Hi, @bryandx
Thanks for your comment!
You are right, it does not make sense to restrict this kind of scenario.
We are planning to fix it these days and the release will be finished at the end of May.

I was curious about the status of this.   Did it get in the release by the end of May?  I'm assuming it didn't since the issue is still open.    This is a blocker preventing us from being able to finalize our Test environment for our first app deployed to Azure Spring Apps.

Hi, @bryandx The fix has already been released. You could have a try.


Material Theme

Hi!
I tried using the process from the theming documentation but it doesn't seem to have taken effect when I used a vaadin-dropdown-menu.  Is there something I'm missing or a workaround?
Thanks!

Hi!
If you are using the latest pre-release version, you should import vaadin-dropdown-menu/theme/material/vaadin-dropdown-menu.html instead of vaadin-dropdown-menu/vaadin-dropdown-menu.html (which is the default Lumo theme).

Updated Material theme documentation to 1.1.0-beta1 and the description of entry points in README. Please follow these links if you still experience problems.
Closing as this is a question, not an issue in the component. Questions should be asked at https://gitter.im/vaadin/web-components or https://polymer.slack.com/messages/C6ULJ2F7S


Add support for React Native 0.44

Looks like there are issues with newer React Native versions - a simple test against 0.43 failed because detox found two elements with the same accessibility label (the test passes against 0.40)

Added in https://github.com/wix/detox/releases/tag/detox%405.0.9


Add help text to the command

Add more explanation on how to use the bot, ideally using the "Usage" variable of the flag package: https://golang.org/pkg/flag/#pkg-variables

@ottojo can I take a shot at this one?

Sure!


fix: store-1638 - htx incorrect precision

@neeeekitos can you update the package json version? along with package-lock


Issue with basic javascript waypoint 39

Challenge http://freecodecamp.com/challengeswaypoint-bring-your-javascript-slot-machine-to-life has an issue.
While beginning to type in the code, I typed the line "$($)" in. The page now constantly crashes and no longer allows me to edit or reset it.

I tried running "$($)" in JSFiddle and in TutorialsPoint's online JQuery compiler and noticed a similar response. It doesn't seem to be an issue with the waypoint itself. From (trying to) debug the issue, It seems that "$($)" causes JQuery to malfunction and causing the browser to hang, seems to be some sort of an infinite loop.
Setting up a delay between the user writing code and the browser verifying/executing it might be worth a shot, as it would give the user a chance to complete writing the necessary JQuery code.

Using the noscript extension in firefox allowed me to load the page without freezing. I could then allow javascript and quickly use the clear code button. I had to complete the challenge in firefox however, because loading the page in chrome would bring up the old code containing the "$($)".

Closing as fixed.  Loop detection was added.  Reopen if this is still an issue for you.


poses and dso_poses

In the training stage, do you only use the dso_poses?  What the role of poses?
If I use the ScanNet dataset for training, what should I prepare?
The color images of ScanNet is monocular, If I only train the depth moudule, is that ok?
Can I use the lidar depth (annotated) for training? I mean just have one set of depth gt and pose, is that ok?

Hi,
thanks for being interested in our work!

poses are the poses that come with KITTI odometry. We experimented with using them for training, however, they produce worse results than when using the poses from dvso / dso.
Most importantly, you require the camera pose and intrinsics for every frame. Additionally, our configuration uses a sparse depth map (from dvso) for every frame. However, this sparse depth map can be taken from anywhere.
The training requires sequences of frames. Rendering only one frame of a ShapeNet object will not suffice, sorry!
You can use lidar depth for training. However, then the method does not only on data from a monocular camera anymore.


Project Card UI change

Reference

For this project, on hover the github and the web icons pop up on the bottom right. We do not need to have separate page open as given in the above reference.

Can I work on this issue? I'm a participant of LGM Soc21.

I have pulled request for this issue but it is showing this error
Add Labels / Add Labels (pull_request_target) Failing after 5s — Add Labels
Please help me out @smaranjitghose  how to solve this

Ignore that check

Hey, @smaranjitghose I might be able to do this but I am not able to understand the issue completely. Do you mind making a small video explaining the same? Maybe a screen recording?

Hey,
I got it what that what to do according to reference.
@smaranjitghose can you please assign this to me ?

@AKC068 Assigned for 3 days

This doesn't look good with the UI

What should I change in this according to you?


How to disable overlay with hot reload?

Apparently this uses react hot reload which uses the webpack hot middleware.
Setting overlay:false should disable the info bar at the top of the dom. However it doesnt seem to have any effect.
Thanks

Hey @fyyyyy you can do it by changing the following line in the generated server.js
open('http://localhost:' + config.port + '/webpack-dev-server/');
to
open('http://localhost:' + config.port + '/');
Hope that helps.

Awesome, thanks :+1:


Do something to make it easier to protect against malicious file names when processing file uploads using IFormFile

It would be nice if MVC did something automatically to make processing file uploads with IFormFile safer by default. e.g. have a filter that inspects posted file name and throws if path separator chars are found.
Consider the following code which allows a malicious file name in a file upload to be saved in a different folder via path traversal:
[HttpPost]
public async Task<IActionResult> Upload([FromForm(Name = "data")]IFormFile file)
{
    using (var stream = file.OpenReadStream())
    {
        var path = Path.Combine(_environment.ContentRootPath, file.FileName);
        using (var output = System.IO.File.Create(path))
        {
            await stream.CopyToAsync(output);
        }
    }

    return RedirectToAction(nameof(Index));
}

Ultimately the "problem" here is that the application is using untrusted user input, which is of course a no-no. It's no different than having a "Filename" textbox and blindly trusting that. Generally the filename used to store the data on disk would be something like a random GUID, and the original filename would be stored in a database for display purposes only. You could sanitize the filename (e.g. allow only A-Za-z0-9 or something like that), but that's largely an exercise in futility.
@danroth27 is going to make sure our docs reflect that IFormFile.FileName is not trusted and must not be used as-is to store a file.
@blowdart thoughts on this?

Every time we add something like this it turns out that someone, somewhere has depended on the old behaviour.
All the advice I've given was to use a random file name, and if you must preserve for some awful reason then you use System.IO.Path.GetFileName() before combining.

Would it be helpful for us to build a sample of what we think is the 'right way' and clearly document exactly what the risks are?

Filed https://github.com/aspnet/Docs/issues/2553 to clarify our guidance on the use of the file name property.

@Eilon is there any action we want to take here? Sounds like we should just close.

Yeah I think the doc update is all we need.


Rename 'state' to 'state_name' fixing the following exception in Chef 13

WARN: Property state of resource openssl_x509 overwrites an existing method.
Please use a different property name. This will raise an exception in Chef 13.
Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Is this still current? It would be a compat change for a resource which try to avoid.

Okay, follow up from Slack. This is a method conflict in 12, but because of this and similar problems we actually removed the state method in Chef 13 so the problem goes away there.

I think we should probably not change this, it would be a compat change that only fixes a non-fatal warning for Chef 12, which is about to go EOL. The warning is unfortunate but I think the greater good is to not change the property name.

We fixed this deprecation message with a new Chef 12 update


Fix #8, add type constructor to SigProd

@sclv Could you please review this? Obviously it needs compiler changes, which I'll add after this. I need this to implement an aeson-compatible version of foreign-generic, handling things like Maybe and Either properly.

This is a breaking change, so I'll merge it with #19, and release everything with compiler version 0.7.6.

I guess this doesn't fail CI once the base branch is updated? Looks straightforward to me but I guess, yeah, wait for the next release :-)

Yeah, I think the CI issue is because of the compiler changes needed. I'll release this alongside the compiler.


Enable unit and integration tests for gardener repository

/kind enhancement
What this PR does / why we need it:
This PR enables unit and integration tests for gardener repository.
There are two new prow jobs

pull-gardener-unit which runs check-generate, check, format, test, test-prometheus and check-docforgetests
pull-gardener-integration which runs test-integration test

Test runs in an own image based on golang:1.17.7-bullseye with unzip, jq and parallel installed. Those tools are not part of standard golang image. 1.17.7 is the same version of golang currently used in gardener repository.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Tests have been already tested manually a few times

pull-gardener-unit: 1, 2
pull-gardener-integration: 1, 2

The tests are still optional, because they are not included in gardener branch protection rules and we do not use tide for merging PRs yet


[Snyk] Upgrade @opentelemetry/semantic-conventions from 1.7.0 to 1.22.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @opentelemetry/semantic-conventions from 1.7.0 to 1.22.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 21 versions ahead of your current version.
The recommended version was released 2 months ago, on 2024-02-29.

Release notes

Package name: @opentelemetry/semantic-conventions

1.22.0 - 2024-02-291.22.0
🚀 (Enhancement)

feat(sdk-metrics): allow single bucket histograms #4456 @ pichlermarc
feat(context-zone-peer-dep, context-zone): support zone.js 0.13.x, 0.14.x #4469 @ pichlermarc
chore: Semantic Conventions export individual strings 4185 @ MSNev

🐛 (Bug Fix)

fix(sdk-metrics): handle zero bucket counts in exponential histogram merge #4459 @ mwear
fix(sdk-metrics): ignore NaN value recordings in Histograms #4455 @ pichlermarc

fixes a bug where recording NaN on a histogram would result in the sum of bucket count values not matching the overall count

fix(sdk-metrics): allow single bucket histograms #4456 @ pichlermarc

fixes a bug where Meter.createHistogram() with the advice explicitBucketBoundaries: [] would throw

fix(context-zone-peer-dep, context-zone):  support zone.js 0.13.x, 0.14.x #4469 @ pichlermarc

fixes a bug where old versions of zone.js affected by angular/angular#53507 would be pulled in

📚 (Refine Doc)

docs: shorten readme sections #4460 @ legendecas

1.21.0 - 2024-01-261.21.0
🚀 (Enhancement)

feat(sdk-metrics): add constructor option to add metric readers #4427 @ pichlermarc

deprecates MeterProvider.addMetricReader() please use the constructor option readers instead.

🐛 (Bug Fix)

fix(sdk-trace-base): ensure attribute value length limit is enforced on span creation #4417 @ pichlermarc
fix(sdk-trace-base): Export processed spans while exporter failed #4287 @ Zirak

🏠 (Internal)

chore(opentelemetry-context-zone-peer-dep): support zone.js ^v0.13.0 #4320
refactor(core): drop unnecessary assignment of HOSTNAME #4421 @ pichlermarc
test(opentelemetry-context-zone-peer-dep): transpile zone.js in tests #4423 @ legendecas

1.20.0 - 2024-01-151.20.0
🚀 (Enhancement)

feat(sdk-trace-base): improve log messages when dropping span events #4223 @ mkubliniak

1.19.0 - 2023-12-14🚀 (Enhancement)

feat: add node 20 support #4336 @ dyladan

🏠 (Internal)

chore: type reference on zone.js #4257 @ legendecas
chore: no need for 'packages' in lerna.json #4264 @ trentm
test: add node 20 to test matrix #4336 @ dyladan

🐛 (Bug Fix)

fix(sdk-trace-web): only access location if it is defined #4063 @ drewcorlin1
fix(sdk-trace-base): processor onStart called with a span having empty attributes #4277 @ satazor

1.18.1 - 2023-11-08

1.18.0 - 2023-11-07

1.17.1 - 2023-10-10

1.17.0 - 2023-09-12

1.16.0 - 2023-09-11

1.15.2 - 2023-08-08

1.15.1 - 2023-07-24

1.15.0 - 2023-07-06

1.14.0 - 2023-06-06

1.13.0 - 2023-05-11

1.12.0 - 2023-04-13

1.11.0 - 2023-03-30

1.10.1 - 2023-03-20

1.10.0 - 2023-03-13

1.9.1 - 2023-01-30

1.9.0 - 2023-01-11

1.8.0 - 2022-11-09API v1.8.0
🚀 (Enhancement)

feat(api): add SugaredTracer for functions not defined in the spec #3317 @ secustor

🐛 (Bug Fix)

fix(api): fix unreachable @ opentelemetry/api/experimental entry #4446 @ legendecas

1.7.0 - 2022-09-16

    from @opentelemetry/semantic-conventions GitHub release notes

Commit messages

Package name: @opentelemetry/semantic-conventions

7be35c7  chore: prepare release API 1.8.0/Core 1.21.0/Experimental 0.49.0 (#4504)
05720cc Fix broken link to getting started page (#4511)
f1b2c6d fix a wrong internal link in examples readme (#4512)
5637e2a chore: Semantic Conventions export individual strings (#4298)
aff48a1 fix(instr-fetch): do not enable in Node.js; clarify in docs this instr is for web fetch only (#4498)
89caef9 Add @ david-luna to triagers (#4497)
356ef8a chore: remove unload event from OTLPExporterBrowserBase (#4438)
5bc8ced fix(otlp-transformer): only use BigInt inside hrTimeToNanos() (#4484)
8bbebfd feat(instrumentation): add `getModuleDefinitions()` instead of making `init()` public (#4475)
44b0b29 Merge pull request #4477 from MikeShi42/patch-1
7e709a6 docs: Update getting started link in README
01348e6 fix(instrumentation): normalize paths for internal files in scoped packages (#4467)
25548fd feat(context-zone*): support zone.js 0.13.x, 0.14.x (#4469)
f86251d docs: shorten readme sections (#4460)
63845ec fix(sdk-metrics): allow single bucket histograms (#4456)
f6712fd fix(sdk-metrics): ignore NaN value recordings for histograms (#4455)
6d276f4 fix: handle zero bucket counts in exponential histogram merge (#4459)
588d8ad Allow LoggerProvider to be specified in Instrumentations (#4314)
0229434 feat(instrumentation): make InstrumentationAbstract.init public (#4418)
72c60f1 feat(node-sdk): add spanProcessors option (#4454)
2df6310 refactor(instrumentation-grpc): clean up remnants of 'grpc' package instrumentation (#4420)
efa6307 fix(sdk-node): Allow Defining Sampler with Exporter in Env (#4394)
ac75b70 fix(api): fix unreachable @ opentelemetry/api/experimental entry (#4446)
c98a5d3 chore: remove checked in auto-generated version.js files (#4448)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

coverage: 85.625%. remained the same
when pulling 2ed412f4bf397de5e8bfe898234a5fa1f344648d on snyk-upgrade-ecd89e207988236777cda9948dbb91d0
into 0e88bb4f4d1fd6e7da430efe0bb9cb43b8ad4c7f on main.


the drive pose is different with the render pose

Hi chungyi,
I use the top picture's SMPL pose to drive the bottom picture. But I can't see the feet of the person in the bottom picture. What's wrong with it, does it related to the cam_intrinsics and cam_extrinsics?

How is this solved ?


Polars: utility estimation

Resolves #1759

    query = (
        context.query()
        .group_by("B")
        .agg(pl.len().dp.noise(), pl.col("A").fill_null(2).dp.sum((0, 3)))
        .accuracy(alpha=.05)
    )

emits:
shape: (2, 5)
┌────────┬───────────┬──────────────┬───────┬───────────┐
│ column ┆ aggregate ┆ distribution ┆ scale ┆ accuracy  │
│ ---    ┆ ---       ┆ ---          ┆ ---   ┆ ---       │
│ str    ┆ str       ┆ str          ┆ f64   ┆ f64       │
╞════════╪═══════════╪══════════════╪═══════╪═══════════╡
│ len    ┆ Len       ┆ Laplace      ┆ 8.0   ┆ 23.965858 │
│ A      ┆ Sum       ┆ Laplace      ┆ 8.0   ┆ 23.965858 │
└────────┴───────────┴──────────────┴───────┴───────────┘

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1760  👈
#1703 : 3 other dependent PRs (#1715 , #1716 , #1732 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Shoeboxam and the rest of your teammates on  Graphite

I'm trying to leave commits with responses to the changes from each review. I left one here as well! More docs and tests.

I'm trying to leave commits with responses to the changes from each review. I left one here as well! More docs and tests.

Is this about preserving more of the git history? It sounds like you're doing something extra to help the review process, but I'm not sure I'm looking in the right place to benefit. Changes since last review doesn't work, but that's ok.


Rework LinalgBufferize pass.

The bufferization pass on the linalg on tensors path was an arbitrary
set of methods put in place to connect linalg on tensors to the post
tile+distribute codegeneration on CPU and GPU. This PR cleans up the
logic to better handle the tensor -> memref conversion.
In particular

Adds an analysis step to figure out which tensors can be mapped to
the same memref object. This also provides information of what
tensors are eventually mapped to the output of the dispatch
region. In such cases, the output is used to compute the values in
place reducing the need for copies and intermediate allocations.
Use this analysis step to convert operations from tensors to memrefs.
Use the readonly, readwrite and writeonly attributes to avoid
copies when possible.

All of this uses logic similar to the Tied operands/results approach
that the bufferization in the sandbox uses. Indeed this pass might
eventually subsumed by a bufferization pass in the sandbox and to be
upstreamed. Till that happens, this rewrite gives something that
is similar in spirit.
Fixes #4734
Fixes #5013

Might be better to just treat this as a new pass. Its significantly different from the old pass (cause the old version was just too brittle and almost at end-of-life.

Added few more nits. This doesn't support SCF ops right? Does that mean it won't work with our current flow? Is the idea to rely on tiled_loop op?

There is nothing to do for scf.for ops that dont return anything. For scf.for ops that do return something, this is similar to handling subtensor_insert. You can "tie" the init and the return values. Then you can tie the tensors of the arguments to the internal tensors of the region. So should be extensible to tiled_loop as well.

LGTM! Lets run the benchmarks this to make sure no extra alloc + copies are inserted.

I checked the bufferization manually to see there no allocs and unnecessary copies. Plus these seem on par https://buildkite.com/iree/iree-android-benchmark/builds/2341


USR1 should reopen log

When use  logrotate, istio don't handle USR1 propertly to reopen log file.
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure

What is user defined logrotate?

What is user defined logrotate?

use istio logratote instead of linux crontab

What is istio logrotate? Logs go to stdout I thought

What is istio logrotate? Logs go to stdout I thought
We can log target to file like this

--log_target="./log/pilot.log" --log_output_level=all:info --registries=  --log_caller=all ...

wow, I had no clue we did that. Seems like a bad idea, kubernetes should always log to stdout...


Ignore local.properties

This pretty clearly looks like it shouldn't be under source control. Disregard if I'm wrong, obviously.

Correct but the publishing task needs it. Probably needs to modify publishing.gradle for first testing that the file exists (or touch it, which I thought I had asked Travis to do).

You mean publishing to Maven? Is Travis publishing to the snapshot repo currently?

With Maven, I was publishing to Sonatype but with Gradle, I'm now publishing to JCenter (and deploying to Maven Central from there).
I was saying that if you delete local.properties (and you're right, it should not be checked in), then the task in publishing.gradle should be patched to not break if that file is not there. I was planning to do that at some point.

Ah, I see the issue.

Look good now?


Superset source crash when display_uri is not set

Describe the bug
Ingesting with superset source crash when connect_uri is set and not display_uri. This was introduced in #5408.
To Reproduce
Recipe config:
source:
  type: "superset"
  config:
    username: datahub
    password: datahub
    provider: db
    connect_uri: https://somehost/

Run datahub ingest -c <recipe-file> with a file like above (either with a link specified or with DATAHUB_GMS_URL).
This results in the following error:
[2022-08-23 05:48:51,418] ERROR    {datahub.ingestion.run.pipeline:127} - 'dict' object has no attribute 'set'
Traceback (most recent call last):
  File "/home/airflow/venv.datahub/lib/python3.9/site-packages/datahub/ingestion/run/pipeline.py", line 178, in __init__
    self.source: Source = source_class.create(
  File "/home/airflow/venv.datahub/lib/python3.9/site-packages/datahub/ingestion/source/superset.py", line 167, in create
    config = SupersetConfig.parse_obj(config_dict)
  File "pydantic/main.py", line 521, in pydantic.main.BaseModel.parse_obj
  File "pydantic/main.py", line 339, in pydantic.main.BaseModel.__init__
  File "pydantic/main.py", line 1082, in pydantic.main.validate_model
  File "/home/airflow/venv.datahub/lib/python3.9/site-packages/datahub/ingestion/source/superset.py", line 87, in default_display_uri_to_connect_uri
    values.set("display_uri", values.get("connect_uri"))

Expected behavior
It should not crash when display_uri is not set.
values in this case which is Python dict does not have a set method. The code on line 87,https://github.com/datahub-project/datahub/blob/865074e338d5e9905236dbfd90ba43170c6d2e1c/metadata-ingestion/src/datahub/ingestion/source/superset.py#L87 should either be
    values["display_uri"] = values.get("connect_uri")

or
    values.update(display_uri=values.get("connect_uri"))

Desktop (please complete the following information):

DATAHUB_VERSION=<IP_ADDRESS>

Additional context
Add any other context about the problem here.

fixed via #5711


Comments are not showing in enterprise portal

I can only see comment count but the comments are listed.
(I've sent creds in chat)
https://rpubs22401.ags.esri.com/portal/apps/instant/reporter/index.html?appid=0d5131f21e48476b80ab2a2e8a9100be

console error

@skrishn The shared app is not accessible, seems like it requires VPN
It would be helpful if you could share some other sample app or webmap for this

@sumitzarkar It should be accessible now.
map: https://rpubs22401.ags.esri.com/portal/home/item.html?id=23b5ba15f6fc4f1c9ecd565616b7f028

@Suba @.***> this is still not accessible. We got the issue and working on it.
This is due to different object id field name.
Could you just share the screenshot of fields in the related table, so that we can confirm the issue which we are observing and the one you shared is same
Get Outlook for iOShttps://aka.ms/o0ukef

From: Suba Krishnan @.>
Sent: Thursday, August 29, 2024 10:18:53 AM
To: Esri/solutions-components @.>
Cc: Sumit Zarkar @.>; Mention @.>
Subject: Re: [Esri/solutions-components] Comments are not showing in enterprise portal (Issue #820)
@sumitzarkarhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sumitzarkar&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=snVZJOyMYvEOkzRAO3IHxNtWVd6nKZ0udPHXJ7loFQ4&m=ZZu_KkRsiIcisdHpBH3LDBStaSq6Z7rwvqgA3N995KSFEd7ER-ztf2h3jHiSKQnx&s=l9O6YpZopbLSRexwzGLq5tv4-mLbZpxF2GmuXsDK3OQ&e= It should be accessible now.
map: https://rpubs22401.ags.esri.com/portal/home/item.html?id=23b5ba15f6fc4f1c9ecd565616b7f028https://urldefense.proofpoint.com/v2/url?u=https-3A__rpubs22401.ags.esri.com_portal_home_item.html-3Fid-3D23b5ba15f6fc4f1c9ecd565616b7f028&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=snVZJOyMYvEOkzRAO3IHxNtWVd6nKZ0udPHXJ7loFQ4&m=ZZu_KkRsiIcisdHpBH3LDBStaSq6Z7rwvqgA3N995KSFEd7ER-ztf2h3jHiSKQnx&s=hdPsMPrZsCF9yFjNYOfyJ2lpYxoqKblPBsBvkJWFsbg&e=
—
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_solutions-2Dcomponents_issues_820-23issuecomment-2D2316709087&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=snVZJOyMYvEOkzRAO3IHxNtWVd6nKZ0udPHXJ7loFQ4&m=ZZu_KkRsiIcisdHpBH3LDBStaSq6Z7rwvqgA3N995KSFEd7ER-ztf2h3jHiSKQnx&s=8opXIU041QUQPGbYeFYOw8ab8yCBbcTIUfykbthEarI&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ACIBU5GKCWK5H232U7YKGJLZT2R3LAVCNFSM6AAAAABNJDQ4FSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWG4YDSMBYG4&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=snVZJOyMYvEOkzRAO3IHxNtWVd6nKZ0udPHXJ7loFQ4&m=ZZu_KkRsiIcisdHpBH3LDBStaSq6Z7rwvqgA3N995KSFEd7ER-ztf2h3jHiSKQnx&s=qW1qEtZJcHpGNEto9OtAzbf9GGFgi6jgbPcFb8N_q0Q&e=.
You are receiving this because you were mentioned.Message ID: @.***>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Disclaimer: The information contained in this message (including any attachments) is confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited.?

@sumitzarkar

@skrishn this is the same issue we are observing we will fix this and deliver it by EOD today

@skrishn
Cause

Difference in the fieldName for object id field of the related table

Solution

Update the code to get the objectId field from the table instance
Also, updated code when getting the parentKey value as the keyfeild recevied from the relationships having casing differences in some cases.
for e.g.

Field in relationship

FieldName in fields array of layer

Dev Checklist

Items
Is required
Status
Comments

Required NLS changes?
No

Required Backward compatibility
No

Required 508
No

Need Sanitize?
No

Impact Analysis Report

Impacted Areas
Comments

Have Configuration changes?
No

Have Runtime changes?
Yes

Impact on RTL
No

Impacts on commenting functionality
Test comments functionality

Verified.


⚠ Thumbnails API Endpoint has degraded performance

In 7438c73, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=1427869852&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 5114 ms

Resolved: Thumbnails API Endpoint performance has improved in 25de69d after 44 minutes.


hola queremos follar

ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddora

k

Hi, we will close this issue.
Feel free to contact us if you have other questions.


Discuss 2022 Goals and Objectives

Please share any additional details on this topic
Review deck at https://github.com/openmainframeproject/foundation/blob/main/goals/2022.pdf
Detail what actions or feedback you would like from the TAC
TAC to discuss and strategize on how it can impact these goals and objectives.

I agree with many comments on the meeting that IT architect buy-in is a challenge.  I think perhaps a more simple place to start in developing that message is to start with the 20 endorsed users for projects:  What would they gain by doing that?  How one approaches companies to give those endorsement is a foundation for the messaging on other larger issues.

Great deck @jmertic ,  a few comments I have reading through the slides:

5 year plan, align 2020 focuses.  Currently the OMP projects seem to be tooling focused,  there are quite a lot of open source languages (Java, Node.js, GoLang, ....) that are important to mainframe customer's modernization story.  Node.js is an LF runtime, maybe OMP can work alongside them ?  OMP has a great story around COBOL through its working group and training course, but other languages are available and I'd like to see a broader focus to recognize diversity.
As a goal I always look at the other LF projects like k8s, Helm, Jenkins, Node-Red, ...   Can a target be set to reach out to these projects at all levels, get mainframe accreditation, get presenters at their conferences, get mention on their FAQs and docs to point mainframe users towards OMP, ...
What does "3 new Zowe impact/scope projects active at the OMP" mean ?
Focus Personas:  I love this as an idea to move OMP forward, not sure that "Polycephany" should be listed as Jenkins CI/CD.  "Polycephany" has a pre-req on an IBM priced tool (Depdendency Based Build aka DBB). Promoting this would be no different to having an OMP project for CA Endeavor or Compuware Topaz script collaboration, both of which are great non-open source vendor specific products.
Polycephany's last commit was 4 months ago, its last build was October 2020 and it has had just 10 issues raised against the project (all by Jerry who is the project lead).  Very happy to help find a way for OMP to help move forward on what Polycephany's goal is, which is to allow script collaboration (in this case Groovy) as I think that Zorrow also is similar (i,e, allow users to share scripts) but I don't believe it's what OMP should promote this to the architect personna under CI/CD and GitHub.
With the mainframe customers I talk to about CI/CD modernization the two tools they used are Zowe and/or Ansible.  CI/CD and GitHut are DevOps tools and Zowe (as well as Ansible) are 2021 DevOps Dozen finalist for Mainframe modernization (as a reference point).  Happy to debate / discuss more.
Mainframe Profssional:  Mainframe is also very scalable and highly available, so this should be included in the Architect or Mainframe Professional persona.
IBM MTM is now called IBM z Explore.


Prepare Panda Dockerfile

Create a Dockerfile that runs a standalone Panda node.

Not needed at this moment. In the future, we probably want to go with all-in-one docker-compose solutions like:

single-node + single mongo
multiple-nodes +single mongo
multiple nodes + multiple mongo

https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach <- might be helpful


t.crud is using camelCase now

I have probably missed this, but I just spent rather too much time finding out that the t.crud methods are now (version 0.5.0) using camelCase, like photon does, I think.
It could be useful to add this to the migration documentation (or it already is somewhere and I didn't see it).

Sorry about that, this is indeed related to #481, and we missed it when handwriting the changelog. We'll soon have tools to generate it, making sure these are not forgotten. Adding it to the v0.50 changelog now, thanks for reporting 🙏

Hey @iherger my bad sorry about that.

Linking: This is an instance motivating https://github.com/prisma-labs/issues/issues/2


Adding "Getting Started" steps to readme file

Type of change
Please delete options that are not relevant.

[ x ] Updating README file

Checklist:

[ x ] I have performed a self-review of my own changes
[ x ] My changes generate no new warnings
[ x ] I have checked my changes and corrected any misspellings

@Tubaleviao All the steps are mentioned in the Contributing.md File. So you can just mention the link of that file in getting started!


Simplify common policies

I will only do the common policies for now - we don't have tests for the other ones yet.


Redis context broken and how to reconnect redis context?

I user hiredis in server and keeping redis_context in memory after connected successfully.
But if there is no request to the server for two hour which means redis_context instance idles for two hour, then coredump raised.
I use  codes like (redis_context != NULL && redis_context->err == 0 && redis_context->fd) to check whether to reconnect, but it doesn't work.
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7ffff2194700 (LWP 54326)]
0x00007ffff7fc813d in write () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: No such file or directory.
        in ../sysdeps/unix/syscall-template.S
(gdb) bt
#0  0x00007ffff7fc813d in write () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000000009606a3 in redisBufferWrite ()
#2  0x0000000000960802 in redisGetReply ()
#3  0x0000000000960a87 in redisvCommand ()
#4  0x0000000000960b37 in redisCommand ()

Thanks for your help.

Hiredis, and, frankly, most modern software, can handle the write() returning an error just fine.
You can disable SIGPIPE for your whole process with signal(SIGPIPE, SIG_IGN). For more details, https://stackoverflow.com/questions/18935446/program-received-signal-sigpipe-broken-pipe.

(The only good reason for SIGPIPE is if your program is writing a lot of stuff to stdout and you don't want to bother with checking the return code from printf or equivalent. SIGPIPE should almost always be ignored.)

Closing this as it's not a bug in hiredis.


0.10 generating blurry app icons

Hi,
we've used version 0.6 until now and everything worked fine. Today I wanted to update the plugin to the latest version (0.10) to support the :ios_marketing icon. Unfortunately after updating the plugin to the latest version the generated icons are looking very blurry. Re-generating the Icons with 0.6 is fine so I guess our source 1024x1024 image is OK. The Icon sizes seem to be correct for each entry (58x58 etc..).
Running bundle exec fastlane update_plugins appicon changes the following gems:

main plugin from 0.6 to 0.10
mini_portile2 from 2.2.0 to 2.1.0
nokogiri from 1.8.0 to <IP_ADDRESS>

Any clue why it's downgrading these gems and why the generated Icons are blurry for us in the latest version?
Thanks!
Kind regards
Patrick
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.6

Ruby
2.4.0

Bundler?
true

Git
git version 2.13.5 (Apple Git-94)

Installation Source
~/.rvm/gems/ruby-2.4.0/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.4.0/lib

OpenSSL Version
OpenSSL 1.1.0f  25 May 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-9.app/Contents/Developer/

Xcode Version
9.0

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
(stripped out)
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.20.0"

skip_docs

default_platform :ios
platform :ios do

  lane :build_icon do
    appicon(appicon_image_file: 'fastlane/metadata/Icon.png',
      appicon_devices: [:ipad, :iphone, :ios_marketing],
      appicon_path: 'Wearparts/Assets.xcassets')
  end

fastlane gems

Gem
Version
Update-Status

fastlane
2.59.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-appicon
0.10.0
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.1.0

io-console
0.4.6

CFPropertyList
2.3.5

i18n
0.8.6

minitest
5.10.3

thread_safe
0.3.6

tzinfo
1.2.3

activesupport
4.2.9

public_suffix
2.0.5

addressable
2.5.2

babosa
1.0.2

bundler
1.15.4

claide
1.0.2

clamp
0.6.5

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.2.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.3

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.7.8

cocoapods-trunk
1.2.0

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.0.1

gh_inspector
1.0.3

molinillo
0.5.7

ruby-macho
1.1.0

nanaimo
0.2.3

xcodeproj
1.5.2

cocoapods
1.2.1

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

declarative
0.0.10

declarative-option
0.1.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

dotenv
2.2.1

excon
0.59.0

multipart-post
2.0.0

faraday
0.13.1

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

fastimage
2.1.0

jwt
1.5.6

little-plugger
1.1.4

multi_json
1.12.2

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.1.0

representable
3.0.4

retriable
3.1.1

google-api-client
0.13.6

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.3.0

rubyzip
1.2.1

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

tty-screen
0.5.0

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.2.8

xcpretty-travis-formatter
0.0.4

fastlane-plugin-appicon
0.10.0

mini_portile2
2.1.0

nokogiri
<IP_ADDRESS>

slather
2.4.3

generated on: 2017-09-26

Ugh, sorry to hear that, does it work fine for 0.9.0 and 0.8.0? Could you check that for me please?
Thanks :)

Hi Felix,
It seems that every version above 0.6 does not work. I edited the Pluginfile for each version like so:
gem 'fastlane-plugin-appicon', '0.7.0'

once with 0.7.0, 0.8.0 and 0.9.0
then I ran bundle install which shows that the plugin changes the version correctly. Like:
Using fastlane-plugin-appicon 0.9.0 (was 0.6.0)

other gems are not changed, only the plugin.
After running our lane bundle exec fastlane build_icon I checked the Assets in Xcode which updates accordingly and shows the blurry icons.
Example Screenshot for the iPhone Notification iOS 7-11 20pt preview in the assets catalog:
0.6

0.7 - 0.10

I hope you can see the difference here in this small image :)

@pschneider I've done a big improvement on the way images are generated on 0.7 that may have affected the quality. In our tests at Menvia we could not see any difference but I can use your own icon and example to test it. Can you share the source icon with me?

@felipeplets Sorry for the late reply, some things came up on the weekend.
Unfortunately I can't give you the original icon but it is reproducible with just the tyre. See my attachment. I get the same effect when comparing 0.6 vs >=0.7

Hey @pschneider, thanks for this, could you try completely uninstall and re-installing imagmagick? Also, it might be worth trying a different Mac to see if it has anything to do with the environment

Getting the same issue here. Commenting out image.define("png:exclude-chunks=date,time") in appicon_action.rb fixes it. 🤔

Hi we are experiencing the same issue. Is there an easy workaround? Will this be addressed at some point?

I also noticed this.

Same problem here, very big difference when compared to xcode's own handling:

I've worked a lot with image processing in CMS's and I've never heard of graphicsmagick before, but I've had very good experience with imagemagick (which, btw, is used by badge as well. Could that be something to consider?

I also noticed this.
Update 1: I've found that when using a .jpg instead of a .png as source image, the icon is perfectly fine.
Update 2: First update got me thinking about the alpha setting, passing remove_alpha: true also fixes it for me! - even with the .png.

Experiencing the same, but this doesn't help.


Menu bar too big for smaller phones

I use an iPhone SE (4"), and the menu bar doesn't fit horizontally on my screen.

fixed in 1.0.10


Updated faq.md to make .typingsrc usage more explicit

I just started a new gig which landed me using Typings behind a corporate firewall and needing to deactivate the SSL.  When it came to looking up .typingsrc information I initially missed it as I trawled around the typings repo; I thought this minor title change might aid discoverability.
What do you think?

LGTM 👍

Congrats on the new gig by the way 😄

Thanks chap - I'm doing react with TypeScript on a brand new project.  Tons of fun!


DOCS-311: Complete cleanup of SSE docs

Closes #311
Still in progress. ToDo:

Finish up the tutorials for each of the supported external KMS
Deprecate the SSE-KMS/S3/C tutorials in favor of inlining w/ the KMS-specific tutorials
Add examples to the top-level SSE page

One note - cannot find a binary for Gemalto, so difficult to test that end-to-end. The rest aren't as bad. Strong focus on Vault because you can set that up entirely end-to-end w/o having to sign up for anything.


QUESTION : Why use a btrfs blank snapshot instead of tmpfs ?

Just asking, because i tought that snapshoting was bad for the SSD longetivity.

Hello!
I'm actually considering moving back to ext4+tmpfs, because of simplicity mostly.
Btrfs does have a couple of goodies that might make it worth using:

Snapshots: useful to have lightweight "backups" (for human error situation, that is) for your data
Transparent compression: shaves off about 20-30% storage with negligible performance impact
Subvolumes: you can have logical volumes within the same physical partition, making it pretty painless to organize stuff into different mountpoints if needed

I'm actually considering using

(sorry for the open and close, was answering from my phone)
I'm actually considering using both : tmpfs as root and everything else on btrfs. I found this blog post and I think I'll go this way

would https://github.com/nix-community/disko not help with the "its complicated" part? didn't checked it out yet.

would https://github.com/nix-community/disko not help with the "its complicated" part? didn't checked it out yet.

Didn't checked it out either. I've seen it mentioned on the forum but i don't want to mess with it now. Maybe later

would https://github.com/nix-community/disko not help with the "its complicated" part? didn't checked it out yet.

Disko is pretty cool. Moving my setup to it is definitively on my todo-list.

My issue with tmpfs is that you have to specify a size for the tmpfs root or be limited based on your RAM. Tmpfs defaults to half your system RAM (I believe). Some guides set tmpfs to 2GiB (example), but that means that you can only have up to 2GiB of files on root outside of the ones you have persisted or on a separate partition. Btrfs' logical volumes + snapshots avoid this by having automatically resizing subvolumes so I never have to think about it.

(sorry for the open and close, was answering from my phone)
I'm actually considering using both : tmpfs as root and everything else on btrfs. I found this blog post and I think I'll go this way

Nice post! Wish I'd found it sooner!
No really, I went with btrfs because it's really cool, I could make a raid with it without LVM it has compression (really 0 performance decrease with raid0) and...COW! ;)
Plus yeah some snapshotting for backup purposes do no harm I guess! ;) not to /nix of course, but /home and maybe /persist (especially when I'll wipe out even home at boot - the original post doesn't but I'll go for it once my home-manager configuration is really solid).

My issue with tmpfs is that you have to specify a size for the tmpfs root or be limited based on your RAM. Tmpfs defaults to half your system RAM (I believe). Some guides set tmpfs to 2GiB (example), but that means that you can only have up to 2GiB of files on root outside of the files you have persisted on a separate partition. Btrfs' logical volumes avoid this by having automatically resizing subvolumes so I never have to think about the size of individual subvolumes.

That I didn't know and if it's true it really sucks because I'm already using zram xD.

I have been using tmpfs for a while, and to be honest it has its quirks, see for example https://github.com/nix-community/impermanence/issues/124 . This issue is not present when root is on btrfs.


API endpoint /ipam/vlans/{id}/members/ missing

It seems that the vlan member list endpoint is missing from the API. There is a corresponding URL in the website...
B.T.W:  Many thanks for this great piece of software!
Kind Regrards,
Reinier Kleipool

Thank you for your interest in NetBox. We require that all issues be submitted using one of the templates provided here. This is to ensure that only valid issues are reported and that each issue includes all the information necessary for a developer to act on it. Please update your issue so that it matches the appropriate template (this may require rewriting your issue entirely). This issue will be closed in one week if it has not been updated. Thanks!

I believe he is using the correct template now.
I would also like a /members (more specifically a /devices however /members would work however as the devices can be obtained from that).
If I have time, I will see if I can do up the PR myself for this.

The REST API does not directly map to the web UI for obvious reasons. A members extension to the VLAN endpoint would deviate from the structure. Instead, we would need to add a filter for the interfaces endpoint which allows for filtering by assigned VLAN. For reference, the queryset looks like this:
Interface.objects.filter(Q(untagged_vlan_id=vlan_pk) | Q(tagged_vlans=vlan_pk))

@jeremystretch I am working on a pull for this today, expect it to be out shortly.  I am just writing some unit tests for it.
I am actually adding a filter for vid as well, so you can filter by vlan_pk or vid, I am not exposing it to the GUI at this time, but I imagine it would be trivial to do if so desired.