Proj0031: Correct the spelling of the node name

Documentation for https://github.com/dotnet-project-file-analyzers/dotnet-project-file-analyzers/pull/221

After some consideration, I first creating a rule just checking for casing inconsistencies. That means that this rule will get a new ID.

Will not be done.


Clarity around aadp license with multiple tenants

When you purchase p1 licenses is it:

a p1 license per a user per tenant: this means guest users that already have a license will need an additional license in the guested tenant.
a p1 license per a user in Azure: this means guest users that already have a license do not need one in the guested tenant.

The scenario being an organisation that has a prod and non-prod tenant. Users are homed in prod and guested into non-prod. Will I need to purchase 20 percent the number of p1 licenses in the non-prod tenant assuming I want to use p1 on all the users in non-prod?

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

ID: 1c81d6f9-ede5-46eb-8ca0-eaec8019ece9
Version Independent ID: 20483563-6ce5-31fa-84ab-2aae8a5c594c
Content: Assign or remove licenses - Azure Active Directory
Content Source: articles/active-directory/fundamentals/license-users-groups.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @msaburnley
Microsoft Alias: ajburnle

@taliesins Thanks for the feedback! We are currently investigating and will update you shortly.

@taliesins thanks for this feedback.
Licenses are applied per tenant and do not transfer across tenants. I made a pull request to add this note in the documentation. https://github.com/MicrosoftDocs/azure-docs-pr/pull/93063
I've passed this along to the doc authors and to the product team as well, as I think the language in the portal could also be clearer.
Feel free to leave this as feedback in User Voice as well. https://feedback.azure.com/forums/169401-azure-active-directory
@msaburnley


Reset the daemon and GUI versions post 0.4 branch-off

Let's use u32::MAX as patch version to denote a development build.

What do you think?

Maybe I would prefer something like .9999+ but I am ok with the change if we document it

Hmm i can make it 9999, we won't use 10 thousands patch versions anyways. Documented where?
I'm thinking also of just changing the serialization with a -dev suffix.

Maybe top of the CHANGELOG.md file, like yet unreleased code is marked as .9999


[EOSF-924] Make navbar more mobile friendly

Purpose
When viewing quickfiles on smaller devices, the navbar displays weird behavior.  The navbar should have styling changes that match expected behavior.
Summary of Changes

Set a min-height of elements to keep height of navbar consistent
Set margin-left for extra small screens to keep the element centered and off of the side
Set padding-left and padding-right to add more space between text and element's boundary
Add line-height to keep text centered vertically

** In the case of long names, more of the name will be displayed up to the edge of the page before overflowing

** Once it gets to a certain point, it will overflow hidden

Ticket
https://openscience.atlassian.net/browse/EOSF-924
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md (don't have initial release yet)

Coverage remained the same at 6.931% when pulling a9b2f124d8393a2a8fd8c292957bba21d2471107 on baylee-d:feature/make-navbar-mobile-friendly into b3b7fa0f151ae075b84c7e23543d9a997308220f on CenterForOpenScience:develop.

Coverage remained the same at 6.931% when pulling afdda02b12bb847baab8325c41d0002a084d37c0 on baylee-d:feature/make-navbar-mobile-friendly into b3b7fa0f151ae075b84c7e23543d9a997308220f on CenterForOpenScience:develop.


How to set image styles in local web UI?

I have successfully deployed the Instand ID project in web UI. However, the local Web UI does not have the various style options like in official demo, such as style1-8 or 'Spring Festival', 'Watercolor', 'Film Noir', 'Neon', 'Jungle', 'Mars', 'Vibrant Color', etc. Are these styles implemented through prompts? THX

Yes, you can find these prompt templates here.

Yes, you can find these prompt templates here.

THX, it's very valuable!

THX


PT supports weight only

Type of Change
support weight only quantization
Description
detail description
Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

PR looks good. Can we also add a documentation to show the initial support of weight-only 4-bits at least RTN?
BTW, does it support weight-only 8-bits? I assume YES. Then we should test and mention in the document as well.

Yes, we support 8 bit, the document will be added.

PR looks good. Can we also add a documentation to show the initial support of weight-only 4-bits at least RTN?
BTW, does it support weight-only 8-bits? I assume YES. Then we should test and mention in the document as well.

Yes, we support 8 bit, the document will be added.

BTW, I removed the granularity and use group_size=-1 to indicate per-channel.

anaconda prompt


adding recursion and varArgs topic

@Sukhmeet-0 as your branch of the repository is several commits behind, first fetch upstream (using the Fetch Upstream option near the Contribute option which is used to open pull requests) and comment when done. Then your Pull Request will be merged.


Fix opening a thread calls OpenReport twice

Details

We call OpenReport when pressing the reply option and also when the report screen is mounted.
Fixed Issues

$ https://github.com/Expensify/App/issues/43120
PROPOSAL: https://github.com/Expensify/App/issues/43120#issuecomment-2149930486
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Open any chat
Send a new message
Open the thread of the sent message
Verify OpenReport for the thread is only called once
Go back
Open the thread again
Verify OpenReport for the thread is only called once

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/50919443/cbf63c09-2a1d-4768-a68f-da8fa9189ebf

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/4467622b-775f-41e5-bebe-e35e1696906f

iOS: Native

https://github.com/Expensify/App/assets/50919443/6bf7a746-501a-4e52-b44e-933f3d12c52f

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/18d074f6-9e8a-450e-a796-f4af3177a880

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/eaa992c1-3a5d-4a47-be99-e6579ea5bf52

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/c9894a76-f764-4c73-9984-690bcae609ce

Let me know if we want to fix it for money request action too.

Done

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/madmax330 in version: 1.4.82-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.4.82-4 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


ci: fix cephfs daemon launch for ci tests

the micro-osd.sh script in ci directory starts a small ceph cluster including an mds node used for the cephfs binding tests. with recent changes to ceph the micro-osd.sh script is starting the mds, but clients receive EACCESS when trying to create a directory. This is probably just something with the auth or way I'm creating the keys.
For now the cephfs tests are disabled on CI but it'd be great to get that micro-osd.sh fixed so we can enable them again.

Hi Noah,
I think I've addressed this issue in PR #73, let me know if there are any changes I can make to address any of your concerns with the commit.


use bigint for ts instead of timestamp in cassandra

ts are microsecond resolution, whereas cassandra timestamps should be millisecond
Fixes #737 thanks to @danchia

the reason I think it is best to merge this is because:

It is is of least surprise, as it matches all other impls
It draws into focus where dates are actually used: dependencies

:+1:


Generalized Verification API in Veramo Core

As an Integrator of Veramo I would like to be able to use a single generalized Verification API that automatically verifies a various set of input data according to a given policy input.
Acceptance Criteria:

There should be a single Verification API within Veramo core (Proposal: agent.verify({ payload: {...}, policy: {...} }))

The fist step of the verification API is the identification of the payload format and determines what dynamic module is able to verify the given Payload.

The generalized verification API allows for the registration of Modules to support new payloads.

In the initial Implementation VC-JWT and VC-JSON-LD Credentials are supported with respective VC-JWT and VC-JSON-LD Verification Modules.

Furthermore it should be able to Verify Verifiable Presentation Representations of JWT / JSON-LD Credentials

The Verification API and the Verification Modules take an optional policy file that is able to influence the verification outcome.

Each VC Verification Module is implemented independently, but generally it needs to verify the following.
a) Schema / Data format. It needs to verify that the given payload matches the referenced Schema or Context
b) Signature Verification. Verify that a Issuer Signature matches the given Credential and Issuer.
c) Credential Status: Verify that the Credential Status of the VC is still valid:

Policy files can model the following:
a) Override certain assumption: Policy may allow to accept revoked credentials or self-signed Signatures.
b) Tighten Validation conditions: Further restrict conditions of credential verification (e.g. similar to passing a PE), e.g. where certain values are expected. (Credential issued by specific issuer A)
c) Trust Frameworks
d) ... TBD

Policy Design, Module Integration and Payload Identification will be design as part of this ticket.

Figure out if there should be a Verifiable Presentation vs Verifiable Credential separation of interfaces. (in addition to a universal layer).

I would like to reinforce the importance of this issue hoping it can be prioritized.
The usage of the DIF "well-known DID configuration" spec with the purpose of implementing discoverability and interoperability requires such support from Veramo.

It is easier to start with a more granular approach to verification instead of cramming everything into a thin top-level API.
For this reason, I think it's best to start with different methods for verifying credentials and presentations.
There is already a big gap between LD-proofs and JWT that indicates that we can go even more granular if necessary.
@rado0x54 you mentioned the requirement of adding verification Modules.
This is a very important point and this is what I mean by starting from the lower level.
All these specific verification modules would expose methods that can later be bundled up into more top-level interfaces once we have a better idea of how policies and their results would look like in reality.

Each VC Verification Module is implemented independently, but generally, it needs to verify the following.
a) Schema / Data format. It needs to verify that the given payload matches the referenced Schema or Context
b) Signature Verification. Verify that an Issuer Signature matches the given Credential and Issuer.
c) Credential Status: Verify that the Credential Status of the VC is still valid:

I think maybe this approach is a bit too broad. I imagine much "smaller" checks, like: signature, issuance date, expiration date, challenge/domain, credential status, credential schema, etc...
This allows different modules to implement different checks, and can later be extended with constraints or predicate checks.
A collection of checks forms a policy and then there can be a simple relationship between the policy requirement and a particular verification success or failure.
In some situations, it may be useful to give details as to why a credential or presentation fails verification, and having granular checks allows UIs to be built that can provide these details in app-specific ways.

Specific verification for LD-based credential and presentation was implemented in #273. Open for this ticket would be:

Generalization to JWT-based credentials
Generic CredentialStatus checks in the verification
Error Messaging and Handling.

@rado0x54 pls add tasks for this epic.


go compiler: internal compiler error: assertion failed

What version of Go are you using (go version)?

$ go version

go version go1.18.4 darwin/arm64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/user1/Library/Caches/go-build"
GOENV="/Users/user1/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/user1/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/user1/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/opt/homebrew/Cellar/go/1.18.4/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/homebrew/Cellar/go/1.18.4/libexec/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.18.4"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/user1/Primetalk/goio/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/0g/jh8kp3pn3mz52jzfyq8c5md80000gn/T/go-build522047264=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

$ cd Primetalk
$ git clone git@github.com:Primetalk/goio.git
$ cd goio
$ go test ./...
# github.com/primetalk/goio/resource
resource/closable_io.go:13:62: internal compiler error: assertion failed

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
ok  	github.com/primetalk/goio/fun	0.368s
ok  	github.com/primetalk/goio/io	1.658s
ok  	github.com/primetalk/goio/option	0.211s
FAIL	github.com/primetalk/goio/resource [build failed]
ok  	github.com/primetalk/goio/slice	0.488s
ok  	github.com/primetalk/goio/stream	1.189s
FAIL	github.com/primetalk/goio/text [build failed]
FAIL

What did you expect to see?

$ go1.18.1 test ./...
ok  	github.com/primetalk/goio/fun	0.401s
ok  	github.com/primetalk/goio/io	1.743s
ok  	github.com/primetalk/goio/option	0.684s
ok  	github.com/primetalk/goio/resource	0.846s
ok  	github.com/primetalk/goio/slice	0.278s
ok  	github.com/primetalk/goio/stream	1.118s
ok  	github.com/primetalk/goio/text	0.866s

What did you see instead?

internal compiler error: assertion failed

This looks like a dup of #53852 , and should be fixed by CL https://go.dev/cl/417615 . Thanks.


Cu rand migration

Adding a New Sample(s)
Description
This is a batch of cuRAND samples migrated to SYCL.
Checklist
Administrative

[ ] Review sample design with the appropriate Domain Expert:
[ ] If you have any new dependencies/binaries, inform the oneAPI Code Samples Project Manager

Code Development

[ ] Implement coding guidelines and ensure code quality. see wiki for details
[ ] Adhere to readme template
[ ] Enforce format via clang-format config file
[ ] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com

Security and Legal

[ ] OSPDT Approval (see Project Manager for assistance)
[ ] Compile using the following compiler flags and fix any warnings, the falgs are: "/Wall -Wformat-security -Werror=format-security"
[ ] Bandit Scans (Python only)
[ ] Virus scan

Review

[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth(@tomlenth) and/or Project Manager
[ ] Tested using Dev Cloud when applicable

@IgorOchocki I compiled this and was able to get it running. Can you also submit the PR to the release/2023.2 branch?


Update m365bp-glossary.yml

Docs Build status updates of commit 652b9a4:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

microsoft-365/business-premium/m365bp-glossary.yml
:x:Error

Details

microsoft-365/business-premium/m365bp-glossary.yml

Line 2, Column 1: [Error: missing-attribute] Missing required attribute: 'products'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Time minutes preview broken on iOS?

I'm feeding following date into the options
date: "2020-08-02T16:00:00.000Z"
The pickers seem to be initialising correctly, except the preview time seems to have an offset in minutes and minutes are not updating when I change them in the time picker (date and hours are updating correctly as I change them).

The date that gets returned also reflects the correct date and time (including minutes) chosen by the pickers.
Am I doing something wrong or is something broken on the iOs end?
iOS 13.5.1
"@capacitor-community/date-picker": "^0.1.0",
"@capacitor/core": "^2.4.0",
"@capacitor/ios": "^2.4.0",

Thanks

@joplaete I believe that you are not doing anything wrong, this may be a bug in the plugin.
When I create the datepicker, on iOS, I reused only the time, I will try to upload a fix later this weekend


Merge of #392

Merge of #392

Codecov Report

Merging #416 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #416   +/-   ##
=======================================
  Coverage   73.31%   73.31%
=======================================
  Files          18       18
  Lines         802      802
  Branches      154      154
=======================================
  Hits          588      588
  Misses        164      164
  Partials       50       50

Continue to review full report at Codecov.

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


Typing multiline rebus

Associated Issue: #207
Summary of Changes
Added some changes to word.js so that the focus will jump automatically to the next word if there is one.

Awesome, thanks for working on this 🎉


autest: double the initial port pool for get_port

We're running into issues with port selection with our tests. This seems
to be an issue with recycled ports. This temporarily expands the number
of ports in the port pool to avert this problem while we investigate
this issue further.

... This temporarily expands the number
of ports in the port pool to avert this problem while we investigate
this issue further.

Let's revert this temporary stop gap measure once #8296 is merged in.

Reverted via #8300.


F ./tensorflow/core/util/cuda_launch_config.h:127] Check failed: work_element_count > 0 (0 vs. 0)

my computer get two gpus，it' s normal if i don't add this code in the context.
model = keras.utils.training_utils.multi_gpu_model(base_model, gpus=2)
however, it will use only one to compute, i don't understand what's it means 'work_element_count > 0'. is it that i have not cleared the cuda worker before ?

Same issue here

I have the same question

Does nobody solve this issue?

Same issue here

I don't have the issue with tensorflow-gpu 1.7.0

Same issue. Did anyone solve it?

Same issue.

Just try to re-build your environment with CUDA9.0, tensorflow-gpu 1.7.0 and cudnn7.0.
It solved this error for me and many other peoples.
And be careful with your training images, check if there are images with too many objects in it, it may cause OOM problem even if you reduced the ROI number in config. Try replacing those images may help solve this problem too.

beacuse there has gpu process none data in one batch. Notice the input sample number.

@mahaishou how do you make sure that one batch has at least 2 samples? Please help!

@ashwinijoshigithub do you output your logs like this?
6976/12000 [================>.............] - ETA: 2:02 - loss: 1.7103 - acc: 0.3749
7008/12000 [================>.............] - ETA: 2:01 - loss: 1.7102 - acc: 0.3747
7040/12000 [================>.............] - ETA: 2:00 - loss: 1.7103 - acc: 0.3741
7072/12000 [================>.............] - ETA: 2:00 - loss: 1.7103 - acc: 0.3740
7104/12000 [================>.............] - ETA: 1:59 - loss: 1.7102 - acc: 0.3744
12000 is my total samples and my batchsize is 32.

same ask.
@mahaishou how do you make sure that one batch has at least 2 samples? Please help!

@qiuyinglin control the number of one epoch input.
I use keras to train model, just like this
history = multi_model.fit(X_train, Y_train, batch_size=batch_size, epochs=1,
validation_data = (X_test, Y_test))
X_train is my input data, so just control the length of X_train.

@mahaishou This issue was resolved when I upgraded tensorflow-gpu version to 1.9.0.

Closing as this is resolved

Same issue when i use tensorflow-gpu2.0.0
I solve it by installing tensorflow2.0.0
Before solving it, it always check failed when i use two GPUs with tf.distribute.MirroredStrategy, but one GPU works well.


toggle button is not working in gwt

I'm using Bootstrap v2.3.2,bootstrap2-toggle.min.js and bootstrap2-toggle.min.css but in jsp pages it's working in gwt pages not working. It is showing only checkbox.
Please help me!

after the page has fully loaded, could you try doing this in your browser's js console?
$(':checkbox').bootstrapToggle()

Hey minhur,
I was experiencing a similar issue. I used $(':checkbox').bootstrapToggle() in my console and it pulled them up correctly! What does that tell us?

Same issue, any feedback?

Hi I did the following and now it's working
TestForm.ui.xml

TestForm.java
@UiField
InputElement onOfButtonForCarSearch;
// ...............................................................
// use this method for toogle
private void initToggleButtonInternal() {
final String toggleButtonId = DOM.createUniqueId();
    onOfButtonForCarSearch.setId(toggleButtonId);
    onOfButtonForCarSearch.setAttribute("data-toggle", "toggle");
    Scheduler.get().scheduleDeferred(new Scheduler.ScheduledCommand() {
        @Override
        public void execute() {

//this is native method
initToggle(toggleButtonId);
}
});
}
// here native method
private native void initToggle(String id) /*-{
    $wnd.jQuery('#' + id).bootstrapToggle('toggle');
    $wnd.jQuery('#' + id).bootstrapToggle('off')
}-*/;

$(':checkbox').bootstrapToggle()
VM40163:1 Uncaught DOMException: Failed to execute '$' on 'CommandLineAPI': ':checkbox' is not a valid selector.
at :1:1
i am getting above error


Airflow backend to not send events to the activity feed

Affected module
Backend
Describe the bug
Each time Airflow backend manages tasks in a Pipeline, a new event in the activity feed appears. Let's filter them out.
To Reproduce
Screenshots or steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

there is also a bug with how we handle Task Groups. I'll review it in this issue as well.


Add Longvinter

Tested by winglessraven and TempusThales (as per comments on Discord)

I see there's a Linux server as well. Is there an issue running that in AMP?

Yes, it needs a GH repo to be cloned

Can you not use the zip link for the repo?
https://github.com/Uuvana-Studios/longvinter-linux-server/archive/refs/heads/main.zip

Ha, whaddya know. Didn't see that (recent addition maybe?). Will add and test.

You can get that from clicking the green Code button and right click Download ZIP. Kind of hidden. Plus there's no guarantee AMP will let you download it to the same working directory.
One other thing I note is there's a query port but no EndpointURI. Does it support that? Otherwise, it seems good to go.

I like the idea of the GH zip download, but it creates an additional subdir (the zip folder name) and so messes up the working dir

Could you have the Steam download go to the same folder? Then adjust accordingly?

I know what you mean. It may not matter though, continuing to test

On the query port, this is what I included in the comments in the original PR (before it was prematurely merged into experimental):
The template is configured to use a query port but the server does not appear to listen on that port (it only appears to listen on the UDP game port). It appears the server online subsystem has recently been changed from Steam to EOS, which may be the reason.
The online guides refer to Steam ports but I suspect they are out of date.

I figured you wouldn't have missed that. Lol

@IceOfWraith, see what you think of my own "GitRepo" update stage implementation. Lol.
git-lfs needs to be installed.

I hate it and I love it at the same time. I'll give this a try later this week. Lol

I've added git-lfs to the base image.

Config file download path also updated for this template, @IceOfWraith


No mention to sub-site creation options

Previously, this article included a section that talked about sub-site creation options like in the image attached below:

Why is the article not including this anymore? My target release tenant still shows those options.
Thanks!

@ATJSM Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@officedocsbot assign @scanum

Hi @ATJSM
Thanks for reaching out!
As the title says this article shows the information related to Site creation options and settings only. Thank you!

Hi @sowjanya365
Not sure what you mean. There is a section within that article explicitly titles "Manage detailed site and subsite creation settings in the classic SharePoint admin center"
Thanks,

Hi @kaarins
Need your inputs and suggestions here. Thank you.

@kaarins Hi Kaarin, could you please help up on next steps? Thanks!

@kaarins Hi Kaarin, could you please help up on next steps? Thanks!

This was fixed some time ago.


Unmet dependencies

Hi there, I'm just trying BulletTrain for the first time, and running the config script, Yarn complains about unmet dependenciesand some other problems. I don't know whether that's dramatic, but maybe update the prject's dependencies?
Here's the Yarn output:
  yarn install v1.22.19
warning ../../package.json: No license field
  [1/4] Resolving packages...
warning @redocly/cli ><EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
warning @redocly/cli > glob ><EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning yalc ><EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
warning yalc > npm-packlist ><EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
  [2/4] Fetching packages...
  [3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "@redocly/cli > redoc ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>  [4/4] Building fresh packages...
  success Saved lockfile.
  Done in 57.14s.

Steps to reproduce: Follow set up instructions in readme and config script

Reopening this issue because there's a whole bunch of unmet dependencies as it looks like. Ok those I've mentioned are second- or thhird level deps, which I could solve by installing them manually using Yarn add. But in the next step, the installer fails to set up the database. This should be added to the configuration or setup scripts, but has nothing to do with the missing dependencies.
After adding the missing js dependencies and manually setting up the database and rails credentials for it, instead of starting the server and giving me a smooth development experience, bin/dev exits telling me this:
worker           | You are connecting to Redis 6.0.16, Sidekiq requires Redis 6.2.0 or greater
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/cli.rb:77:in `run'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/sidekiq-7.2.4/bin/sidekiq:31:in `<top (required)>'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/bin/sidekiq:25:in `load'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/bin/sidekiq:25:in `<top (required)>'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in `load'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in `kernel_load'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:23:in `run'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/cli.rb:492:in `exec'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in `dispatch'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in `start'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/exe/bundle:45:in `block in <top (required)>'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/lib/ruby/gems/3.3.0/gems/bundler-2.4.10/exe/bundle:33:in `<top (required)>'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/bin/bundle:25:in `load'
worker           | /home/jin/.asdf/installs/ruby/3.3.2/bin/bundle:25:in `<main>'
worker           | Exited with code 1
light-css        |
light-css        | Rebuilding...
web              | Interrupting...
js               | Interrupting...
light-css        | Interrupting...
light-mailer-css | Interrupting...
web              | [212287] - Gracefully shutting down workers...
js               | Exited with code 0
light-mailer-css | Exited with code 0
light-css        | Exited with code 0
web              | [212287] === puma shutdown: 2024-06-19 22:13:29 +0300 ===
web              | [212287] - Goodbye!
web              | Exiting
web              | Exited with code 0

Unfortunately, there is no Redis 6.2.0 gem in the gems repository. Not even after running gem update --system. The most recent version from just a little while ago is gem 'redis', '~> 5.2'. Possibly a typo?

Oh I see, that's a Sidekiq issue, also not yours

Unfortunately, even if this issue isn't your fault, it hinders me from using your app. I have to switch to RailsUI or so, which offers much less features, but at least boots up without any issues.

I've fixed the error in Sidekick that prevented the booting of BulletTrain. The app boots now. Unfortunately, my pull request was disregarded by the Sidekiq maintainer.
But there's still a whole bunch of errors piling up in the log like
worker           | 2024-06-19T19:34:42.656Z pid=231024 tid=4ezo ERROR: ERR Error running script (call to f_000a4c2f82df69db1780053377a2c9b0741570e0): @user_script:2: ERR value is not an integer or out of range (redis://localhost:6379)

about one per second. And seriously, the app is not quite intuitive to use, even not after reading the docs about super-scaffolding and creative concepts. Not going to use it for now.


nevim freezes after :RunClose

hi @CRAG666
posting this here as a separate issue since the other one (#51) is closed.
first let me thank you. I'm excited to use it since it would save my coding time.
:RunClose freezes neovim.
NeoVim version : 0.8.3
https://user-images.githubusercontent.com/10101468/222516847-cbe5032c-3678-4ad4-a4c0-098f1905eef1.mp4

Unfortunately I don't have windows to test that error. After reading this I tried in linux with your specific version and everything works fine so I concluded that maybe it is a matter of the operating system, I will wait for confirmation if someone else has problems with linux

I edited my configuration and now :RunClose doesn't freeze neovim. Hope it stays stable. Just in case someone else has the same issue this is my configuration using lazy.nvim.
NVIM v0.8.3
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compiled by runneradmin@fv-az171-224

Features: -acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM\sysinit.vim"
fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Run :checkhealth for more info

coderunner.lua plugin configuration:
return {
  "CRAG666/code_runner.nvim",
  lazy = false,
  init = function() require("which-key").register({ ["<leader>r"] = { name = "Code Runner" } }, { mode = "n" }) end,
  opts = {
    filetype = {
      python = "C:/Users/<path>/python.exe"
    },
  },
  keys = {
    { "<leader>rr", "<cmd>RunCode<cr>",    desc = "Run Code" },
    { "<leader>rf", "<cmd>RunFile<cr>",    desc = "Run File" },
    -- { "<leader>rft", "<cmd>RunFile tab<cr>", desc = "Run File Tab" },
    { "<leader>rp", "<cmd>RunProject<cr>", desc = "Run Project" },
    { "<leader>rc", "<cmd>RunClose<cr>",   desc = "Run Close" },
    -- { "<leader>crf", "<cmd>CRFiletype<cr>", desc = "Open Json supported files" },
    -- { "<leader>crp", "<cmd>CRProject<cr>", desc = "Open Json list of projects" },
  },
}


Data Quality Score: The next chapter of data quality at Airbnb / Airbnb blog

URL: https://medium.com/airbnb-engineering/data-quality-score-the-next-chapter-of-data-quality-at-airbnb-851dccda19c3
Review (1-2 sentences): Absolutely clear and brilliant approach of identifying data quality for all company data assets. And quite realistic approach.

Published in Digest #34.


Fatal exceptions can get swallowed in async operations

From gitter

@YulawOne
Hey guys, following code is behaving differently in monix 3.0.0-RC3 and 2.3.3:

Task.gatherUnordered(Seq(Task.eval(throw new NoSuchMethodError("oops")))).runSyncUnsafe()

In 2.3.3 code throws java.util.concurrent.ExecutionException: Boxed Error with NoSuchMethodError as a cause, while in 3.0.0-RC3 same code hangs indefinitely
Is this an intended behavior or it's a bug?

The minimal reproducible unit would be:
Task.evalAsync(throw new NoSuchMethodError("oops")).runSyncUnsafe()

This code will never finish

Actually, if I use Futures, I get similar results:
import scala.concurrent._
import duration._
import ExecutionContext.Implicits._

Await.result(Future { throw new NoSuchMethodError() }, 10.seconds)

The error will be logged (via default impl of ExecutionContext.reportFailure), but the future will not terminate.
I'm pretty convinced that this is the expected behavior of fatal errors (we don't catch 'em in Task) and the problem is that the definition of what is fatal now has changed in migration to 3.0.0, where we are now using stdlib NonFatal, which treats LinkageError subtypes (such as NoSuchMethod) as fatal. It mirrors the change in cats-effect, and unless we want to go into discussions about

the argument that if your classpath is broken, then whatever you're doing for recovery is pointless

and change stuff again for at least cats-effect ecosystem, that's probably the way it's going to remain.
Since error is actually being logged by the context as opposed to just disappearing, I think it's ok. Not perfect, but probably ok. I should adjust #888 to allow fatal errors to be directed to a custom reporter, and with that it's possible that one can build a custom combinator that can recover from fatal errors.
Or, of course, if that NSMError is thrown due to somebody doing shady things with their bytecodes, s/he might as well go all in and classload a custom NonFatal.
@alexandru thoughts?

@oleg-py @alexandru
The behavior what I expecting for that fatal errors is short-circuiting all computations and error propagation to the parent task (which spawned async process) and perform let-it-crush behavior in case of propagation reached main task (IOApp run, for example, it's similar behavior to what Akka do). And I am definitely not expecting that application would hang or continue running after receiving a fatal error (at least without explicit decision to do it in code)
Also, I expect that there will be an attempt to clean all allocated resources before shutdown (application might have shared resources, like file locks, which should be cleaned before termination. If I recall correctly Akka calls coordinated shutdown hooks when jvm-exit-on-fatal-error is set up)

Or, of course, if that NSMError is thrown due to somebody doing shady things with their bytecodes, s/he might as well go all in and classload a custom NonFatal.

I've received NSMError when in our environment when accidentally we've deployed an application with a dependency that had a transitive dependency on monix 3.0.0-RC2 while the application itself was running under monix 3.0.0-RC3, and due binary incompatibility call for that library have thrown NSMError

While I was looking for why current future implementation hags, I manage to find this open issue: https://github.com/scala/bug/issues/8938

We definitely need to rethink the way we're handling exceptions.
Outside of really serious virtual machine errors (e.g. OOMs), I see no reason for why we should let the process crash.
We also need to handle InterruptedException properly, by catching it and resetting the interruption flag.


Add ability to upload files to the container seamlessly

📝 Description of the feature
When running on Ansys Labs and adding a participant via a file, I first need to upload the file to the container, before I use it. For this, I need to first issue a separate command. It would be good to automatically upload the file to the container, as part of the add_participant command. This would also make the same script work using a desktop deployment, as well as cloud deployment.
💡 Steps for implementing the feature
Sample code (needs to be executed on Ansys Labs):
import ansys.systemcoupling.core as pysyc
syc = pysyc.launch()
syc.upload_file("source.scdt")
syc.setup.add_participant(input_file = "source.scdt")

The upload_file function is required currently, otherwise add_participant would fail. It would be good if add_participant function automatically detected that the file first needs to be uploaded and perform that operation.
🔗 Useful links and references
No response

Issue closed as part of the work done on PR #314


Tutorial proxy-backend returning index.html not json?

Note: I think I followed the tuto right, but it may well be a user error - what really happens behind my back in trunk serve --proxy-backend indeed worries me.
Problem
In the last step of the tutorial, the trunk serve process does report proxying as expected:
2023-12-16T23:28:47.916146Z  INFO 📡 proxying /tutorial -> https://yew.rs/tutorial

but the call to json() on the Response object fails with a parse error, caught by unwrap():
panicked at src/main.rs:74:22:
called `Result::unwrap()` on an `Err` value: SerdeError(Error("expected value", line: 1, column: 1))

When querying its text() instead I get something looking like dist/index.html, excep:

with template bits like {{__TRUNK_ADDRESS__}} expanded
with different filenames, but always the 56dc19c1d... hash in them, whereas the one in dist changes on every rebuild

"<!DOCTYPE html>\n<link rel=\"preload\" href=\"/yew-tuto-56dc19c1d2397a2a9d7ed57de056ad246e9780a244ab777c8af3501c5b435ab460786da12a03b5d575a5b77bb0c0b951_bg.wasm\" as=\"fetch\" type=\"application/wasm\" crossorigin=\"anonymous\" integrity=\"sha384-VtwZwdI5eiqdftV94FatJG6XgKJEq3d8ivNQHFtDWrRgeG2hKgO11XWlt3uwwLlR\">\n<link rel=\"modulepreload\" href=\"/yew-tuto-56dc19c1d2397a2a9d7ed57de056ad246e9780a244ab777c8af3501c5b435ab460786da12a03b5d575a5b77bb0c0b951.js\" crossorigin=\"anonymous\" integrity=\"sha384-abm7hNroHgmO-4dhhx1owgizoubsoronoQebv8kzdegbKJXclKG1Se4cNkK9b48k\">\n    \n\n\n


don't create RECORD when it would have no fields

given a proto like
message FooTable {
  option (gen_bq_schema.table_name) = "foo_table";
  string foo_field_a = 1;
  EmptyFooField foo_field_b = 2;
}

message EmptyFooField {
}

the plugin would produce an invalid schema:
...
{"name":"foo_field_b","type":"RECORD","mode":"NULLABLE"},
...

-> BigQuery error in mk operation: Field foo_field_b is type RECORD but has no schema
So this PR discards any RECORD that would have no fields.

I signed it!

LGTM. Thank you for your contribution.


Support for derived types

Feature Request 🛍
In the Concerto model below the field Zoo.animals can contain any type that extends the abstract type Animal. Concerto-UI does not allow the user to select the type that they want to add to the array - it appears to pick the first non-abstract type.
It would be great if (when there is more than 1 abstract type that extends a base type) the UI allows the user to explicitly select the type (both for array and for non-arrays).
namespace acme

abstract concept Animal {
 o String name
}

concept Tiger extends Animal {
}

concept Lizard extends Animal {
}

concept Zoo {
   o Animal[] animals
}

Here is the JSON created by Concerto-UI:
{
  "$class": "acme.Zoo",
  "animals": [
    {
      "$class": "acme.Tiger",
      "name": "Tigger"
    }
  ]
}

Use Case
Editing of Concerto model instances that contain a type hierarchy.
Possible Solution
Note that the sample generation code in Concerto already includes some logic to pick non-abstract types.

@dselman @jeromesimeon @martinhalford  @DianaLease   am working on it please can you assign  me this issues


[Form Provider Refactor] TaskTitlePage

Details

Changed the Form component into the new FormProvider component in TaskTitlePage
Fixed Issues

$ https://github.com/Expensify/App/issues/30003
Tests

Log into the app and go into a chat containing an existing task / create a task and go into it
On that screen click on the title to edit it
Input an updated title different from the previous one and confirm it with save
Check whether the title has been updated in the messages chat containing it

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/88325488/52d99390-7a91-4f83-b7de-2e847dc6686a

Android: mWeb Chrome
https://github.com/Expensify/App/assets/88325488/e08b68ae-d0c8-474f-aaee-5d3b4d11edf3

iOS: Native
https://github.com/Expensify/App/assets/88325488/7898e148-93ca-4ccb-a6cf-c6e8aa1e6e94

iOS: mWeb Safari
https://github.com/Expensify/App/assets/88325488/716721b6-6e36-4aa6-9b14-d35c17b5b75d

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/88325488/0cde8703-2c8c-4adc-b9b4-674384ab894d

MacOS: Desktop
https://github.com/Expensify/App/assets/88325488/5309a5e1-f647-4cec-b480-cc9f78d8b375

Cc. @luacmartins

Please update QA Steps - "Same as Tests"

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

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

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/108292595/7a68e0b3-9316-4e6c-a7b9-bb34de7f78aa

Mobile Web - Chrome
https://github.com/Expensify/App/assets/108292595/27d272ed-7645-4359-9881-bd73dd7d4fab

Mobile Web - Safari
https://github.com/Expensify/App/assets/108292595/d1a5cd0b-0b5f-4b96-bee0-7acbc1805374

Desktop
https://github.com/Expensify/App/assets/108292595/19657a51-dbb8-404d-bdcc-4d1f6cf92a1d

iOS
https://github.com/Expensify/App/assets/108292595/20b4fdb8-fd59-4bb0-8683-70fc92fcae91

Android
https://github.com/Expensify/App/assets/108292595/febd8380-a10b-47d7-9577-b0f47ec56661

🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.92-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.92-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.93-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.93-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Is there a bug in get_sensor_data of nuscenes dataset?

Hi,
I might find a bug here,
https://github.com/traveller59/second.pytorch/blob/3aba19c9688274f75ebb5e576f65cfe54773c021/second/data/nuscenes_dataset.py#L185
Why you concatenate timestamp channel instead of reflectance?

Will np.concatenate(sweep_points_list, axis=0)[:, [0, 1, 2, 3]] be better?

Will np.concatenate(sweep_points_list, axis=0)[:, [0, 1, 2, 3]] be better?

My experiment shows that use timestep is better than reflectance, which is confusing.

@Yihanhu  Do you know that is the  reflectance used when training on KITTI? I don't try it on  KITTI yet.

@Yihanhu Do you know that is the reflectance used when training on KITTI? I don't try it on KITTI yet. And could you tell me how much performance is gained when using timestamp on nuScenes according to your experiments?

Yes, it is. I haven't done detailed research yet. For the same configuration, my model somehow cannot even work without timesteps.

The original code stacks all the point cloud frames(~11 frames) into a single frames. I only sample 3 frames from the 11 frames uniformly, and use the reflection channel instead of the timestamp channel. Results on val set shows that using reflection is a little better(21.1/19.7 mAP on 1/8 datasets). What's your results stacking all the frames and using only the reflection?

Yes, it is. I haven't done detailed research yet. For the same configuration, my model somehow cannot even work without timesteps.

It seems like the timestamp introduces some bias to overfit the data.
I was wondering whether the operation of concatenating the timestamp as the input feature is reasonable or not.
I suppose the reason why it works is:
When evaluating the validation set, the prediction of the validation data should be similar to those training data with similar/near timestamps.
If this is really the reason behind, the operation of concatenating the timestamp as the input feature is really not reasonable and cannot generalize to real-world scenarios.

Hi, how to use more than 4 features as input.
for example, can I simply use points[:,[0,1,2,3,4]]?


does this work with the simple .delay. syntax?

I'm not using Delayed::Job.enqueue but rather simply object.delay.method which works fine in my case. I don't see AirBrake being called in this case. Not a big deal if I have to change my code to Delayed::Job.enqueue but just wanted to know if this is a Bug or not.

Unfortunately it doesn't work like that. All jobs must inherit from DJ::Worker in order to get all the funky cool goodness. :)

As I mentioned, not a huge deal ;-) I guess it's a good way to have be obliged of doing it the right way :-) Thanks for your help.


Teams Channel API returning incorrect data

I am using the API - https://graph.microsoft.com/v1.0/teams/" + team_id + "/channels
this API is returning me a private channel on a team which this user is not even a part of.
when i go to teams client i dont see the private channel but the API returns to me the private channel

@RiddhiKarani , Thanks for reporting the issue. We have created a bug and working on it.

any update on this issue?

@RiddhiKarani  This is bug is currently in our backlog and there is no ETA on this.


poetry lock produces an error Package docutils (0.21.post1) not found

dlt version
1.0.0
Describe the problem
If you're running the poetry lock command, it outputs an error
Package docutils (0.21.post1) not found

Related issue: https://github.com/python-poetry/poetry/issues/9293
Expected behavior
No response
Steps to reproduce
run poetry lock
poetry == 1.8.3
Operating system
macOS
Runtime environment
Local
Python version
3.10
dlt data source
No response
dlt destination
No response
Other deployment details
No response
Additional information
No response

workaround:

Use poetry lock --no-update
Do not commit the poetry.lock file when contributing a new dependency


fix(lambda.js): use fail exception only if not used setError

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Reuse of EntityFramework.Relational.FunctionalTests.dll

I have started writing a relational provider for EF7, and in order to run the test suite, I need the dll above. Maybe you should think about how to make it available to others. Just now, I have to build the dll and add a reference from my test project. Is there a better way (now or later) ?
Looks like it will soon be the same issue with EF.Core.FunctionalTests.dll

Note for Triage In today's triage we thought we had an item tracking this but I wasn't able to find it. I think we're all agreed that we should publish the tests as a NuGet package, we should just decided on package name and priority in next triage.

Sounds great.. turned out I basically needed most of them, not just the one mentioned in the issue title

For the moment we'll just publish to MyGet. In the future we need to come up with a proper test spec.

Great, thanks - that will Work fine for now!

@bricelam Great, but I also need: EntityFramework.Core.Tests.dll and EntityFramework.Relational.Tests.dll - sorry


ACM-992: Show errors on InfraEnv and Cluster details page

Depends on:

[x] #838
[x] #837
[x] https://github.com/openshift-assisted/assisted-ui-lib/pull/798

Still Work In Progress

Closing, merged into #851


Fix typo and examples in README file

Made changes to README header to match the role name, fixed description and examples.
Please, review :)

I must have been tired when I made the README :(
Thanks

hehe :)
Thanks for the merge.


Cleanup test coverage

Problem Statement

Add a bot that posts diff coverage on PRs

cleanup warnings/errors
/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/coverage/report.py:87: CoverageWarning: Couldn't parse '/tmp/pip-req-build-badksskm/sentry_sdk/debug.py': No source for code: '/tmp/pip-req-build-badksskm/sentry_sdk/debug.py'. (couldnt-parse)

Tests are ok now, so I am closing this for now.


When will open source code

Hi, I would like to know when the source code will open.

Thanks for your attention. The codebase has been released.

I safely close this issue. Feel free to drop me a new issue.


postfix is not added to opendkim group on first install

There is a code adding postfix to opendkim group:
https://github.com/deltachat/chatmail/blob/main/cmdeploy/src/cmdeploy/__init__.py#L141-L146
But on the forum it's reported that it did not work on a fresh chatmail setup:
https://support.delta.chat/t/error-sending-messages-between-accounts-on-self-hosted-chatmail/2933/6
This should be tested on a fresh setup to confirm, running cmdeploy run only once and checking if postfix is in opendkim group.

problem confirmed in https://github.com/deltachat/chatmail/actions/runs/8470883067/job/23210037319
test_no_vfry fails because of permission errors:
root@staging:~# journalctl -f -t postfix/smtpd -t postfix/smtp -t postfix/lmtp
Mär 28 17:20:31 staging postfix/smtpd[9162]: connect from unknown[<IP_ADDRESS>]
Mär 28 17:20:31 staging postfix/smtpd[9162]: warning: connect to Milter service unix:opendkim/opendkim.sock: Permission denied
Mär 28 17:20:31 staging postfix/smtpd[9162]: NOQUEUE: milter-reject: CONNECT from unknown[<IP_ADDRESS>]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Mär 28 17:20:31 staging postfix/smtpd[9162]: NOQUEUE: milter-reject: EHLO from unknown[<IP_ADDRESS>]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<User>

On a closer look, it's because postfix wasn't added to opendkim group:
root@staging:~# ls -la /var/spool/postfix/opendkim/opendkim.sock
srwxrwx--- 1 opendkim opendkim 0 28. Mär 17:12 /var/spool/postfix/opendkim/opendkim.sock
root@staging:~# groups postfix
postfix : postfix


real memory storage implementation

abstract
See #85
fixes
fixes #85
fixes #67
checklist

[x] Make sure you read and understood the CONTRIBUTING.md.
[x] Make sure you applied sufficient labels, milestone and assignee.
[x] Make sure all commits are squashed before merging.
[x] Make sure there is sufficient documentation.
[x] Make sure there are sufficient tests.
[ ] Make sure to delete the feature branch after merging.

Current coverage is 68.81%

Merging #99 into master will decrease coverage by -4.70% as of 7d8791e

Powered by Codecov. Updated on successful CI builds.

LGTM


[Enchancement] feat/zh-tw localization

Checks / 检查

[x] I confirm that I have searched for existing issues / pull requests before requesting to avoid duplicate requesting./我确认在报告之前我已经搜索了现有的问题或者拉取请求，以避免重复报告。
[x] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查，如果我不按照说明进行操作，该问题可能会被直接关闭。

Related Issues

N/A
Description

新增 繁體中文（台灣）（zh_tw) 的翻譯。

感谢贡献(/▽＼)


Create config validation

Pull request related to this trello task

:tada: This PR is included in version 1.4.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


no confirmation email

Subject: no confirmation email
Description:
Results:
I don't recieve any confirmation email to verify my account. Pls help!
Backend version: develop-58373f44
Frontend version: develop-58373f44
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Page: https://couchers.org/password-reset
User:

#3520


Feat: add "found" status to redirects

What is this Contribution About?
Please provide a brief description of the changes or enhancements you are proposing in this pull request.
Issue Link
Please link to the relevant issue that this pull request addresses:

Issue: #ISSUE_NUMBER

Loom Video

Record a quick screencast describing your changes to help the team understand and review your contribution. This will greatly assist in the review process.

Demonstration Link

Provide a link to a branch or environment where this pull request can be tested and seen in action.

What is the motivation to do this PR?
I understand some specific scenarios where you want to redirect POST requests to a GET, but that would usually be done in a handler specific to handle POST requests... not on the overall redirect handler.


Make it possible to cache absolute paths

This isn't working on remote runners, nor should it work locally.


ensure penalties cannot reduce the total remaining words below 1

Created by eugene (Eugene Raether)

Implemented by 0547cebac1e59c4a8106d257a07937eb872e70c3


Add UCXX handler getters to Python

Add UCXX handler getters to Python, such that consumers of UCXX (e.g., RAFT) can get the underlying objects to perform basic operations such as progress the worker and send/recv via the C++ API when interfacing with UCXX via Python applications (e.g., Dask).

Thanks @wence- !

/merge


Download Link broken

Can't download the installer for Mac. Browser displays "Not Found"

This was fixed over the weekend.


fix(hydrateUtxos): Stringifying bch-api object when passing error

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Proposal: Right click expanded menu as not arrow

Details are here  https://github.com/files-community/Files/issues/5202

You sure its not an issue specifically with Files?

According to them it a win ui issue but they might have not update recently. i will link this to them.

And it seems this may fix itself when WinUI 2.6 is done

Yes, this issue has already been fixed. :)


js code review

variable are not declared by "var" anymore but by "const" (if never reused) or "let" (if reused).
this also solve some nasty bug or bug wannabe.

Great! thank you

Great! thank you


Proxy lambda

On the list of items for JPype 0.8 that I discovered was interactions between Java classes that are annotated with @FunctionalInterface and Python callables.   These methods are intended for Java lambdas to implement functionality and we should do the same for  Python.  Therefore, we have added an implicit type conversion that automatically figures out what the SAM (single abstract method) is in a Java interface and creates a proxy for it on the fly.
This allows
    def Func(x):
       return 2*x
    ja = JObject(Func, "java.util.function.DoubleUnaryOperator")
    print(ja.applyAsDouble(2.0))

    ja = JObject(lambda x: 2*x, "java.util.function.DoubleUnaryOperator")
    print(ja.applyAsDouble(2.0))

We have not added anything to make FunctionalInterfaces appear as Callable for the purpose of Python, but it can be done in another PR.
Something in the CI is acting differently than all my test machines that I have access to currently.
But I will need the CI to have access to the travis results so that I can examine in more detail.  For now I have to access through the log link.
https://travis-ci.org/github/jpype-project/jpype

This one is a complete mystery to me.  I have tried 10 different machines/versions of Python and nothing thus far replicates the errors shown in the CI.  And without a way to replicate it I can't correct the issue.  So I am placing a hold on this until after the next release.

@marscher This one is ready for review.

This one is exercising a very weird edge case that I need to solve.   Best guess is that something can hop over proxy barrier and thus be called while things are being shut down.   The stack trace indicates that something was calling a method while the Destroyer was operating which is a sure way to crash.
I believe the issue is daemon threads.   Java kills everything but daemons before proceeding to destroy the C++ resources.  Unfortunately, proxies can be called from daemons.   Thus, it can start a race.  If the proxy is called before shutdown flag completes it can sneak in between the flag check and be in a live state as resources in TypeManager are being killed off.

@marscher okay back to ready for review status on this one.   The shutdown upgrades fixed the issue that was happening in the test bench.
I have one additional upgrade that I would like to do with lambdas.   That is if something is a SAM it should appear on Python side as a callable.   There is still a bit more wiring to make that happen as although Java currently knows the name of the SAM it is not communicating that to the Python object wrapper so we can't call the method.   If it just a matter of passing that info down the chain.
But that is a PR for another day.


Added node.js setup information for fish shell and changed path for inst...

...allation directory
The previous installation directory "./configure --prefix=~/.node" creates new directories ./~/.node within the current directory. Using $HOME/.node or /home/userName/.node fixes this.
Added fish shell instructions for adding PATH to config.fish because the syntax is different.

I'm working on a complete rewrite of the gitbook over here: https://github.com/codefellows/javascript_da_gitbook but I'll merge this in anyway.


Automatic resize

I wrote a button that when active the plots resize automatically if the amplitude of a signal increases. Plus fixed a bug on the previous pull requested: When the signals where constant no resize happened. The history may be a little messy, I don't know how you handle this.
There will be two buttons on the top bar: a straight arrow which represents a single resize of the plots, and a refresh icon to represent the constant and automatic option. I did it that way because I didn't now which other icons to use without making my own or expending too much time looking for options, so I grabbed two from QStyle::SP_whatever.
Cheers.

Thanks for posting!  I'll review this when I get a chance.

I'll make the modifications tomorrow and let you know. Thanks for going over the code.

I think I fixed all the issues. The branch history is a mess sorry about that. Would you guys be interested in modifying the CMakeLists files so that they can be compiled with/without catkin? some people in our team are using ROS a lot, others pronto, so they are asking me to be able to compile it with catkin optionally.

Looking good.  I made a few more inline comments.  That's for working on this, it's nice to have this feature!

Take a look at plotwidget and let me know what you think. I think this is clearer. Maybe a little redundant, I'm not sure its the "perfect" way. But it checks if the signal is constant and adds some margin so that the area is valid and the union works, and after adds some margin to the whole plot.

I made a few more in-line comments.  Sorry for the long review, but it's getting quite close now, thanks!

Done. How about now?

Thanks for developing this, it's a really nice addition!


Validate and prevent deploying multiple first-party providers in same resource group

When using az tc provider deploy, If the user explicitly provides a resource group name there is the potential that they will deploy multiple providers to a single resource group which causes issues.  Once #82 is implemented, the CLI should be updated to validate there is not an existing provider in the specified resource group.

closed because of solution redesign


Runtime exception when mapping TPH inheritance

We have an abstract base class called NotificationScheme with a few subclasses, like EmailNotificationScheme, AssigneeNotificationScheme etc. These are happed to a single table with discriminator column. We've used DevArt´s Entity Developer to generate the mapping files, and everything works like a charm when running the application.
This is how the NotificationScheme mapping looks:
    public partial class EmailNotificationSchemeMapping : EntityTypeConfiguration<EmailNotificationScheme> {

        public EmailNotificationSchemeMapping() {
            this
                .Map(tph => {
                    tph.Requires("Recipient").HasValue("Email");
                    tph.ToTable("NotificationScheme");
                });
            this.Property(p => p.EmailAddress)
                    .IsRequired()
                    .IsUnicode(false);
            OnCreated();
        }

        partial void OnCreated();

    }

When I run this in a test using Effort as in-memory database however, the code above causes this exception:
Message: System.MissingMethodException : Method not found: 'System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration`1<!0> System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration`1.ToTable(System.String)'.

Stack trace:
at BreezeProduction.Models.Entity.Local.Mapping.EmailNotificationSchemeMapping.<>c.<.ctor>b__0_0(EntityMappingConfiguration`1 tph)
   at System.Data.Entity.ModelConfiguration.EntityTypeConfiguration`1.Map(Action`1 entityMappingConfigurationAction)
   at BreezeProduction.Models.Entity.Local.Mapping.EmailNotificationSchemeMapping..ctor() in C:\work\breeze\src\BreezeProduction\Models\Entity\Local\Mapping\EmailNotificationSchemeMap.cs:line 22
   at BreezeProduction.Models.Entity.Local.BreezeLocalDatabase.OnModelCreating(DbModelBuilder modelBuilder) in C:\work\breeze\src\BreezeProduction\Models\Entity\Local\LocalDatabase.BreezeLocalDatabase.cs:line 251
   at System.Data.Entity.Internal.LazyInternalContext.CreateModelBuilder()
   at System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext)
   at System.Data.Entity.Internal.RetryLazy`2.GetValue(TInput input)
   at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
   at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
   at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()
   at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()
   at System.Data.Entity.Internal.Linq.InternalSet`1.ActOnSet(Action action, EntityState newState, Object entity, String methodName)
   at System.Data.Entity.Internal.Linq.InternalSet`1.Add(Object entity)
   at System.Data.Entity.DbSet`1.Add(TEntity entity)

Looking at the stack trace, the exception doesn't occur in any of your code, but since it works when running against a real MySql database, I still thought I might report this here. Any ideas what this might be?

Hello @johnknoop ,
Do you think you could provide a project sample with this issue?
It will help my developer investigate the issue more efficiently.
We now always ask for a project sample even if the issue is easy to reproduce. As a free product, we must find some way to save time to offer an overall better experience for everyone and release fixes faster.
You can send it to<EMAIL_ADDRESS>if you need to keep the source private
Best Regards,
Jonathan

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus •  LinqToSql Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Hello @johnknoop ,
This issue will be closed since we haven't heard back from you.
Feel free to reopen if you can provide further information.
Best Regards,
Jonathan

Sure,
As soon as we get the project, we will re-open this issue to investigate it.
Best Regards,
Jonathan

Hi
Just wanted to drop a message that we were able to get it working by upgrading version. When using version 6.1.3 of EF, version 3.0.0 of NMemory and version 2.0.2 of Effort, everything works as expected.


[QUERY] list blobs using the given continuation token

Query/Question
I'm upgrading the storage SDK in my application from v8 to v12. In v8, there is a list blobs API which accepts a continuation token and gets the next page of blobs. However, in v12, I could not find a similar API and either I need to always get the first page of blobs and use the response iterable to list using the continuation token (as shown below) or preserve the response object to avoid listing the first page every time. Is there a better way? With the first approach, I'm making unnecessary requests and with the second one, I cannot preserve state and resume processing of blobs from where I left off or continue processing on a different machine.
PagedIterable<BlobItem> response = containerClient.listBlobs();
Iterable<PagedResponse<BlobItem>> desiredPage = response.iterableByPage(continuationToken);

Why is this not a Bug or a feature Request?
NA
Setup (please complete the following information if applicable):

OS: Linux
IDE : IntelliJ
Version of the Library used: 12.0.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Query Added
[x] Setup information Added

Hi, @SukruthKS. Thank you for posting this. The first option you posted is actually the recommended approach, and it shouldn't require you to get the first page. I've investigated the behavior of this operation, and it looks like there is a bug that causes some duplicate requests with the same token (though this does not cause duplicate results in your listing), but it will not require you to restart from the beginning. I am working with the team that owns this PagedIterable type to get a fix out for this.
Additionally, given that what you shared is the recommended approach, it sounds like you would prefer a more clear means of specifying a continuation token? Would expect there to be a list overload that accepts this token?

Thanks @rickle-msft for promptly looking into this! So if I just run the below statement, it does not actually send a request to get the first page until I invoke nextI() on the iterable?
PagedIterable<BlobItem> response = containerClient.listBlobs();

Additionally, given that what you shared is the recommended approach, it sounds like you would prefer a more clear means of specifying a continuation token? Would expect there to be a list overload that accepts this token?
Either a list overload or using ListBlobsOptions would be preferable. It was not intuitive for me to arrive at the recommended approach. I first had to look through all the available list overloads and their parameters and then search the return type to see if there was an option to specify it. Given that there is a REST API to list blobs with the next marker, a more direct approach would be nice.

Sure thing! And that is correct with some nuance about calling next(). The reactor docs for how we create this iterable seem to be a bit misleading. While they say it is lazy, we are noticing that it only seems to be lazy insofar as waiting to call next to start, and after that it will eagerly fetch until the end of the stream, which means this iterable will try to eagerly list all your blobs, and that will be a problem. This is being tracked in #6518, and we are discussing a different implementation that will also lazy fetch as well as lazily subscribe.
I also hear what you're saying about the overload to accept the continuation token rather than passing it into the return type. With your permission, I'd like to rename this issue to track adding the overload and allow #6518 to track the iterator behavior.

While they say it is lazy, we are noticing that it only seems to be lazy insofar as waiting to call next to start, and after that it will eagerly fetch until the end of the stream, which means this iterable will try to eagerly list all your blobs, and that will be a problem. This is being tracked in #6518, and we are discussing a different implementation that will also lazy fetch as well as lazily subscribe.

Good that you caught this! It was definitely going to be an issue for us as some of the containers we list can contain a very large number of blobs.

I also hear what you're saying about the overload to accept the continuation token rather than passing it into the return type. With your permission, I'd like to rename this issue to track adding the overload and allow #6518 to track the iterator behavior.

Sure, please go ahead.

We caught it while looking into the behavior as a part of this thread, so thanks for starting easy on us :)
I'm not sure this will make into the next release, but I will prioritize investigating this overload and stay on top of the eager iterator behavior and keep you updated.


Re-hash participant ID's in responses collected prior to v1.3

That is, the mandatory follow-up to #191.

This is now done. I'll document the process here for posterity.
1. Collecting info for later sanity checks
Responses by known participant
Check that for a known participant, we can see their ID's both before v1.3 and after. They should be different, because we haven't re-hashed the old ones (yet).
SELECT participant_id, app_version, postal_code
FROM responses
WHERE participant_id = 'ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY='
   OR participant_id = 'YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI='

#
participant_id
app_version
postal_code

1
ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=
v0.6
00520

2
ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=
v0.6
00520

3
ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=
v0.6
00520

4
ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=
v1.0
00520

5
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v1.3
99999

6
ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=
v1.2
99999

7
ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=
v1.1
00520

8
ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=
v1.2
00520

9
ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=
v1.2
00520

Amount of repeat participants
SELECT response_count, COUNT(*) AS participants_with_this_many_responses FROM (
  SELECT participant_id, COUNT(*) AS response_count FROM responses GROUP BY participant_id
) GROUP BY response_count ORDER BY response_count DESC

#
response_count
participants_with_this_many_responses

1
13
1

2
11
1

3
10
2

4
9
2

5
8
3

6
7
3

7
6
5

8
5
36

9
4
128

10
3
730

11
2
7035

12
1
107727

2. Re-hashing pre-1.3 participant ID's
The following script was used to:

Download all responses from S3
Locally remove responses collected by v1.3 (as they're already re-hashed)
Re-hash the participant_id of responses collected by earlier versions
Upload re-hashed responses back to S3

mkdir -p rehash-prod
aws s3 cp --recursive s3://symptomradar-prod-storage rehash-prod
read SECRET_HASHING_PEPPER && export SECRET_HASHING_PEPPER
for file in $(find rehash-prod -name "*.json"); do
  app_version="$(cat "$file" | node -p 'JSON.parse(fs.readFileSync(0)).app_version')"
  echo -n "$file app_version=$app_version => "
  if [ "$app_version" = "v1.3" ]; then
    rm "$file"
    echo SKIPPED
  else
    cat "$file" | node -p "
      response = JSON.parse(fs.readFileSync(0))
      const hash = input => crypto.createHash('sha256').update(input).digest('base64')
      const participant_id = hash(response.participant_id + process.env.SECRET_HASHING_PEPPER)
      JSON.stringify({ ...response, participant_id })
    " > temp.json
    mv temp.json "$file"
    echo participant_id REHASHED
  fi
done | tee rehash-prod/log.txt
aws s3 cp --recursive rehash-prod s3://symptomradar-prod-storage

3. Running post-op sanity checks
Local sanity checks
These were actually checked before the upload.
Check that the correct action was taken for each version:
$ cat rehash-prod/log.txt | cut -d ' ' -f 2- | sort | uniq
app_version=v0.6 => participant_id REHASHED
app_version=v1.0 => participant_id REHASHED
app_version=v1.1 => participant_id REHASHED
app_version=v1.2 => participant_id REHASHED
app_version=v1.3 => SKIPPED

Check that there's no v1.3 responses in the local data set:
$ grep -rnIs 'v1\.3' rehash-prod/responses/ | wc -l
0

Check that we only see the new hash for the aforementioned known participant ID:
$ grep -nrIs 'ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY=' rehash-prod/responses/ | wc -l
0
$ grep -nrIs 'YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=' rehash-prod/responses/ | wc -l
8

Responses by known participant in the DB
After the upload, running this query again, we should only see the post-1.3 hash of the known participant ID in the DB too:
SELECT participant_id, app_version, postal_code
FROM responses
WHERE participant_id = 'ZZ9UpX5+BahEOvZnyoU0xuNuIf5vq5RhO/1Hvgj+EPY='
   OR participant_id = 'YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI='

#
participant_id
app_version
postal_code

1
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v0.6
00520

2
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v0.6
00520

3
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v0.6
00520

4
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v1.2
99999

5
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v1.3
99999

6
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v1.1
00520

7
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v1.2
00520

8
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v1.2
00520

9
YAfnVze5DZcdYO+nzxLYc94onmUdxqESaTw2yGp1xZI=
v1.0
00520

Amount of repeat participants
We should see that the number of participants who have only answered once has gone down, because responses from participants who have participated both before and after v1.3 should now be correctly correlated as the same participant:
SELECT response_count, COUNT(*) AS participants_with_this_many_responses FROM (
  SELECT participant_id, COUNT(*) AS response_count FROM responses GROUP BY participant_id
) GROUP BY response_count ORDER BY response_count DESC

#
response_count
participants_with_this_many_responses

1
13
1

2
11
1

3
10
3

4
9
3

5
8
2

6
7
5

7
6
10

8
5
72

9
4
203

10
3
1066

11
2
7900

12
1
104478

This assumption seems to hold, as the number of participants who have only participated once has gone down from 107727 to 104478. Conversely, the number of participants who have participated twice has gone up from 7035 to 7900.


ts_library source mapped files are now read only instead of symlinks to the source file

When debugging a nodejs application via the VS Code debugger, when you hit a breakpoint, the debugger will take you to a readonly source mapped file.
This is terribly un ergonomic since you must then manually navigate to the source file before you can make any changes.
I believe this now superseeds https://github.com/bazelbuild/rules_typescript/issues/254
This only started happening from the upgrade of rules_typescript=0.10.1 to current.
While the old issue of having source maps point to a symlinked file was also a unergonomic way to handle it, this is even worse and a blocker for us upgrading.
The ideal situation would be for source maps to point back to the source file

The cause of this issue is actaully when preserve_symlinks=False is set in node_repositories.

The latest update in rules_typescript from 0.21.0 -> 0.22.0 have broken the above work around.
This commit here: https://github.com/bazelbuild/rules_typescript/commit/676567c7369bc45470ea244b2bfd387e3411da87
I have a repo of it broken here: https://github.com/Toxicable/bug-bazel_source_maps


[crypto] Other SDK support

What content needs to be created or modified?
Support for other SDKs besides Go need to be documented once ready.
Describe the solution you'd like
Code examples and instructions for how-tos and quickstarts
Where should the new material be placed?
https://docs.dapr.io/developing-applications/building-blocks/cryptography/
https://docs.dapr.io/getting-started/quickstarts/cryptography-quickstart/
The associated issues from dapr/dapr
dapr/dotnet-sdk#1072
dapr/java-sdk#844
dapr/js-sdk#474
dapr/python-sdk#548

Now that the Javascript SDK supports cryptography  we should add documentation around to this page: https://docs.dapr.io/getting-started/quickstarts/cryptography-quickstart/


Bump Python support to 3.5+

No effort for backwards compatibility will be made. May offer a legacy version of Pyblox for user's who are still using Python 2.7.

Obv.. https://github.com/Sanjay-B/Pyblox/tree/python2