Sage intacct app redesign - onboarding connector

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4f15c4e). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff            @@
##             master      #97   +/-   ##
=========================================
  Coverage          ?   92.71%
=========================================
  Files             ?      119
  Lines             ?     1716
  Branches          ?      201
=========================================
  Hits              ?     1591
  Misses            ?      108
  Partials          ?       17


Export backtrack as GPX track

https://hikingguy.com/how-to-hike/what-is-a-gpx-file/
https://www.topografix.com/GPX/1/1/gpx.xsd


Proxy default not working

The whole request works, but how i know the proxy isn't working is because the site that i am sending the request to calls back with needing a captcha. I have it choose from a whole list of proxies but this is just how i am using the function.
This is how i have it set up:
var request = require('request-promise').defaults({
proxy: "http://ip:port",
pool: {maxSockets: Infinity},
simple: false,
gzip: true
});

Sorry this seems to be a problem on my side because i did test on an ip get site and it seems to be getting the proxy instead of my server's IP.

No problem.
Btw, the automated tests ensure that the parameters work correctly. And all proxy options available for request are available for request-promise as well.
I am closing this issue but feel free to ask follow-up questions.


hotplug callback

hi. thanks for making this library wrapper. one thing i would love to use but don't see implemented is the hotplug functionality. from the docs:

int libusb_hotplug_register_callback | ( | libusb_context * | ctx,
-- | -- | -- | --
  |   | libusb_hotplug_event | events,
  |   | libusb_hotplug_flag | flags,
  |   | int | vendor_id,
  |   | int | product_id,
  |   | int | dev_class,
  |   | libusb_hotplug_callback_fn | cb_fn,
  |   | void * | user_data,
  |   | libusb_hotplug_callback_handle * | handle
  | )

is this already available and i'm missing something?

Taking a look about two years later: it looks like this isn't currently supported.
I could take a stab at implementing it, if nobody else is currently trying.

Looks like rusb, which is the actively maintained fork of this crate, already has hotplug support: https://docs.rs/rusb/0.6.5/rusb/trait.UsbContext.html#method.register_callback


Mark managed atomic constructs Sendable if their payloads are

Resolves #45.
Checklist

[X] I've read the Contribution Guidelines
[X] My contributions are licensed under the Swift license.
[X] I've followed the coding style of the rest of the project.
[ ] I've added tests covering all new code paths my change adds to the project (if appropriate).
[X] I've verified that my change does not break any existing tests.
[ ] I've updated the documentation if necessary.

@swift-ci test

17:36:08
/Users/buildnode/jenkins/workspace/pr-swift-atomics-macos/branch-main/swift-atomics/Sources/Atomics/autogenerated/HighLevelTypes.swift:105:26: error: unknown attribute 'unchecked'
17:36:08 extension ManagedAtomic: @unchecked Sendable where Value: Sendable {}
17:36:08                          ^
17:36:08 /Users/buildnode/jenkins/workspace/pr-swift-atomics-macos/branch-main/swift-atomics/Sources/Atomics/autogenerated/HighLevelTypes.swift:82:14: error: non-final class 'ManagedAtomic' cannot conform to `Sendable`; use `UnsafeSendable`
17:36:08 public class ManagedAtomic<Value: AtomicValue> {
17:36:08              ^

ಠ_ಠ

@swift-ci test

@swift-ci test macOS platform

@swift-ci test

@swift-ci test

@swift-ci test

It'd be great to land this so consumers don't need to @preconcurrency import Atomics.

@swift-ci test


Rfink/update plugins

New baseline config as per gradlew updateBaselineConfig

@markelliot

:+1:

+1, verified that this fixes the Checkstyle errors.
I still see FindBugs warnings in the generated files, but those are less important since they aren't errors. Will change my other PR to only include FindBugs change and that can be discussed there.

rebasing


Sandbox failing with ERROR Rolling back world state DB due to error assembling block

I'm getting the following error when trying to run the aztec-sandbox (v0.26.5) on my m1 mac:
aztec-1     | sequencer Retrieved 3 txs from P2P pool
aztec-1     | sequencer Building block 1 with 3 transactions
aztec-1     | sequencer ERROR Rolling back world state DB due to error assembling block

Here's the full log:
 Network sandbox_default  Creating
 Network sandbox_default  Created
 Container sandbox-ethereum-1  Creating
 Container sandbox-aztec-1  Creating
 ethereum The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 Container sandbox-ethereum-1  Created
 Container sandbox-aztec-1  Created
Attaching to aztec-1, ethereum-1
ethereum-1  | anvil -p 8545 --host <IP_ADDRESS> --chain-id 31337 --silent
aztec-1     |
aztec-1     |                _
aztec-1     |     /\        | |
aztec-1     |    /  \    ___| |_ ___  ___
aztec-1     |   / /\ \  |_  / __/ _ \/ __|
aztec-1     |  / ____ \  / /| ||  __/ (__
aztec-1     | /_/___ \_\/___|\__\___|\___|
aztec-1     |
aztec-1     | https://github.com/AztecProtocol
aztec-1     |
aztec-1     |
aztec-1     | Setting up Aztec Sandbox v0.26.5, please stand by...
aztec-1     | node:lmdb Opening LMDB database at temporary location
aztec-1     | kv-store:lmdb Opening LMDB database at temporary location
aztec-1     | kv-store:lmdb Opening LMDB database at temporary location
aztec-1     | pxe_service Added contract ContractClassRegisterer at 0x251ab40f36a148a5ac88fe3c2398ec1968d5676b0066299278610b870d738a9e
aztec-1     | pxe_service Added contract ContractInstanceDeployer at 0x0747a20ed0c86035e44ea5606f30de459f40b55c5e82012640aa554546af9044
aztec-1     | pxe_service Added contract GasToken at 0x022a82e2dc2c8b08721497c13da9e5a6c4fccb9a20d3028c1500def9457ec855
aztec-1     | pxe_service Started PXE connected to chain 31337 version 1
aztec-1     | Setting up test accounts...
aztec-1     | pxe_service Registered account 0x22db1f73b7fb09c7760f076b6b4253018b901de7d44d004471f6a2a3cd0d7fd9
aztec-1     | pxe_service Registered account 0x11aa68e6a8a4396aac4b987a832e65c8d1960bbe26fd89b43c91f98081d52647
aztec-1     | pxe_service Registered account 0x11847eeac1f93f5ff4133e4f6794c14736aa318c1968189df5619b3dd092f020
aztec-1     | pxe_service Added contract SchnorrAccount at 0x22db1f73b7fb09c7760f076b6b4253018b901de7d44d004471f6a2a3cd0d7fd9
aztec-1     | pxe_service Added contract SchnorrAccount at 0x11aa68e6a8a4396aac4b987a832e65c8d1960bbe26fd89b43c91f98081d52647
aztec-1     | pxe_service Added contract SchnorrAccount at 0x11847eeac1f93f5ff4133e4f6794c14736aa318c1968189df5619b3dd092f020
aztec-1     | node Simulating tx 1bcff2e00d78e81e108ad99635304ab5ba8f6d2f07b610302dbc7f4ea8b55782
aztec-1     | node Simulated tx 1bcff2e00d78e81e108ad99635304ab5ba8f6d2f07b610302dbc7f4ea8b55782 succeeds
aztec-1     | pxe_service Executed local simulation for 1bcff2e00d78e81e108ad99635304ab5ba8f6d2f07b610302dbc7f4ea8b55782
aztec-1     | node Simulating tx 0b7dee1b920531b91f44beed76b13b863a8dad19b53d765a9b79511771fec65a
aztec-1     | node Simulated tx 0b7dee1b920531b91f44beed76b13b863a8dad19b53d765a9b79511771fec65a succeeds
aztec-1     | pxe_service Executed local simulation for 0b7dee1b920531b91f44beed76b13b863a8dad19b53d765a9b79511771fec65a
aztec-1     | node Simulating tx 01cad64eb032f489b3f8efb2587c78b234a8b7af75ccc6bc448bccb8bbd4848d
aztec-1     | node Simulated tx 01cad64eb032f489b3f8efb2587c78b234a8b7af75ccc6bc448bccb8bbd4848d succeeds
aztec-1     | pxe_service Executed local simulation for 01cad64eb032f489b3f8efb2587c78b234a8b7af75ccc6bc448bccb8bbd4848d
aztec-1     | pxe_service Sending transaction 1bcff2e00d78e81e108ad99635304ab5ba8f6d2f07b610302dbc7f4ea8b55782
aztec-1     | node Received tx 1bcff2e00d78e81e108ad99635304ab5ba8f6d2f07b610302dbc7f4ea8b55782
aztec-1     | pxe_service Sending transaction 0b7dee1b920531b91f44beed76b13b863a8dad19b53d765a9b79511771fec65a
aztec-1     | node Received tx 0b7dee1b920531b91f44beed76b13b863a8dad19b53d765a9b79511771fec65a
aztec-1     | pxe_service Sending transaction 01cad64eb032f489b3f8efb2587c78b234a8b7af75ccc6bc448bccb8bbd4848d
aztec-1     | node Received tx 01cad64eb032f489b3f8efb2587c78b234a8b7af75ccc6bc448bccb8bbd4848d
aztec-1     | tx_pool Adding tx with id 1bcff2e00d78e81e108ad99635304ab5ba8f6d2f07b610302dbc7f4ea8b55782 eventName=tx-added-to-pool txHash=1bcff2e00d78e81e108ad99635304ab5ba8f6d2f07b610302dbc7f4ea8b55782 encryptedLogCount=1 unencryptedLogCount=0 encryptedLogSize=316 unencryptedLogSize=8 newContractCount=0 newContractDataSize=152 newCommitmentCount=1 newNullifierCount=3 proofSize=0 size=15115
aztec-1     | tx_pool Adding tx with id 0b7dee1b920531b91f44beed76b13b863a8dad19b53d765a9b79511771fec65a eventName=tx-added-to-pool txHash=0b7dee1b920531b91f44beed76b13b863a8dad19b53d765a9b79511771fec65a encryptedLogCount=1 unencryptedLogCount=0 encryptedLogSize=316 unencryptedLogSize=8 newContractCount=0 newContractDataSize=152 newCommitmentCount=1 newNullifierCount=3 proofSize=0 size=15115
aztec-1     | tx_pool Adding tx with id 01cad64eb032f489b3f8efb2587c78b234a8b7af75ccc6bc448bccb8bbd4848d eventName=tx-added-to-pool txHash=01cad64eb032f489b3f8efb2587c78b234a8b7af75ccc6bc448bccb8bbd4848d encryptedLogCount=1 unencryptedLogCount=0 encryptedLogSize=316 unencryptedLogSize=8 newContractCount=0 newContractDataSize=152 newCommitmentCount=1 newNullifierCount=3 proofSize=0 size=15115
aztec-1     | sequencer Retrieved 3 txs from P2P pool
aztec-1     | sequencer Building block 1 with 3 transactions
aztec-1     | sequencer ERROR Rolling back world state DB due to error assembling block
aztec-1     | sequencer Retrieved 3 txs from P2P pool
aztec-1     | sequencer Building block 1 with 3 transactions
aztec-1     | sequencer ERROR Rolling back world state DB due to error assembling block
aztec-1     | sequencer Retrieved 3 txs from P2P pool
aztec-1     | sequencer Building block 1 with 3 transactions
aztec-1     | sequencer ERROR Rolling back world state DB due to error assembling block
...

Works in v0.26.6


Title: Issue with tx.gasprice method in Dogechain Testnet

Hello Team,
I need help with the tx.gasprice method in REMIX IDE on Dogechain testnet.
The gas price returned seems incorrect or unavailable when deploying and executing a contract
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

contract GasConract {
    uint256 public gasPriceData;
    function setGasPrice() public {
        gasPriceData = tx.gasprice;
    }
}

Any insights or solutions would be appreciated.
Thank you,
Amit Kumar
SupraOracles

requires gas bump...resolved!


Missing links in mobile view

The mobile menu contains the following links:

Calendar
New absence
My requests
Logout

The following links are missing:

Team view (also see #136)
Employees
Feeds (useful for quickly subscribing to feeds with mobile calendar)

hi @jekuno.
Those pages were intentionally "hidden" in mobile view. As corresponding pages need to have special design to handle mobile devices view.
Mobile version of the application meant to allow just core functionality - allowing submit/decide request on the go.
Further improvements of mobil view would require the UX input (or references to examples where such information is rendered nicely on mobile devices).
I am closing this ticket for now, as I am not sure it is going to be addressed soon.

Ok, I understand. I would at least suggest to add the Feeds page to the mobile view because it is useful for quickly subscribing to feeds with the native calendar of the mobile phone (also see https://github.com/timeoff-management/application/issues/136#issuecomment-290420719).
The feeds page is quite simple so a big UI redesign shouldn't be necessary for adding that page to mobile.

Good point, and makes sense.
Moving back to progress :)


[WinReg] update to v2.2.3

Library name: WinReg
New version number: v2.2.3
Other information that may be useful (release notes, etc...)
I attached here the vcpkg port files.
Thanks.
winreg_vcpkg_files.zip

Hi @GiovanniDicanio
Thanks for posting this issue.
Winreg has been updated to the latest version. Please try to update vcpkg and use it.


Edge: Creating a Link from inline toolbar causes SCRIPT28: Out of stack space error

Environment:
Microsoft Edge 38.14393.1066.0
Expected Behavior:
When creating links in megadraft via the inline toolbar, the toolbar is responsive and a link is created once the user submits a link.
Observed:
When clicking the link button in the toolbar, the web page will hang and eventually yield an error without opening the link input field.

Impact:
Unable to create links in megadraft when using edge.
Steps to reproduce:

Highlight text on megadraft live demo
Click the link button on the inline toolbar
Observe that site hangs, and eventually error appears in devtools console.

This does not happen in IE.

We noticed the same issue with Chrome (59.0.3071.115 and 60.0.3112.50 beta (64-Bit)), but not with Firefox.
What we observed so far:
componentDidUpdate of component Toolbar calls setBarPosition to reposition the toolbar.
setBarPosition again calls setState if the return of utils.getSelectionCoords is different than during the previous call, which is the case for thousands of subsequent calls in Chrome.
Looks like the calculation of the editor position using getBoundingClientRect and getVisibleSelectionRect yields different results in a very short time. Calling setBarPosition after a delay of a few milliseconds solved the issue.
Not sure if this kind of hack is worth a PR.

Hello guys,
first of all, sorry about my english.
As mentioned by @remolueoend, I observed that problem happens because sometimes toolbar component getting in looping,
(componentDidUpdate > setBarPosition > setState > componentDidUpdate > componentDidUpdate > setBarPosition...)
It's happening because there is a 14px difference bettewen this.state.position.bottom and selectionCoords.offsetBottom
Example:
First loop:
this.state.position.bottom = 100
selectionCoords.offsetBottom = 114
second loop:
First loop:
this.state.position.bottom = 114
selectionCoords.offsetBottom = 128
I think that in the second loop it should have the same values (avoiding the loop)
In the utils.js getSelectionCoords, I removed the "14px" sum:
const offsetBottom = editorBounds.bottom - rangeBounds.top + 14;
to
const offsetBottom = editorBounds.bottom - rangeBounds.top;
That was fixed the problem but is not a good solution, because toolbar can get a wrong position (14px)

I´ve made some changes but I coundn´t test them because my notebook went dead.
Could anyone check it please?


fix:修复气泡确认框的底部按钮换行的问题

General

✏ Mark the necessary items without changing the structure of the PR template.

[x] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[x] My code follows the style guidelines of this project
[x] Is the code format correct
[x] Is the git submission information standard?
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@cMing1997

处理的是这里吗？ 好像不起作用

@cMing1997
处理的是这里吗？ 好像不起作用

哎呀，第一次提交贡献太激动了，少提交了一个文件更新

@cMing1997  nice catch！


Small fix for closing tags

Fixes two closing tags using the wrong slash.

Docs Build status updates of commit 0ed6806:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Xamarin.Forms/ContentPropertyAttribute.xml
:white_check_mark:Succeeded

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


Can audio forwarding be added to the documentation for developers

Now will three sockets be started, one of which is used to forward audio?

Yes, I planned to rewrite develop.md when I have some time, it's based on a very old version currently (v1.8 IIRC).

I started to update the developer documentation for the future release (2.1): branch | rendered.
It's not exhaustive, and can probably be improved, but at least it's up to date :)
It's not merged yet, please report any error (typo or grammar or anything) in the page.


Option for rsync/s3sync

I'd love to be able to sync a directory rather than tar and upload the same thing if it never changes.
Has anyone looked into adding this to this gem?

UP 👍
I'm intending to implement safe on the dedicated servers I have, that handle CollectiveAccess database. Large attached documents (thousands of pictures, eventually audio and video) are here, as I'm talking about museum collections.
I'm willing to work on that, anyone interested in ?


Having problems kickstarting UI Tests

Steps Followed:

Built with build-for-testing flag
xcodebuild build-for-testing -project SampleApp.xcodeproj -scheme UIFullRegression -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.2' -derivedDataPath 'DerivedDataPath1'

Config file has following entries
{
"app": "Path specified here",
"scheme-path": "Path specified here",
"output-dir": "./bluelogs/",
"test-bundle-path": "Path specified here/DerivedDataPath1/Build/Products/QA-iphonesimulator/UITests-RegressionSuite-Runner.app/",
"num-sims": 	"1",
"runtime": "iOS 10.2",
"device": "iPhone 6"
}

Ran using ./bluepill -c config.json ... gives the below shown error

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fff95c45452 __exceptionPreprocess + 178
1   libobjc.A.dylib                     0x00007fff83a70f7e objc_exception_throw + 48
2   CoreFoundation                      0x00007fff95b5ba40 checkForCloseTag + 0
3   bluepill                            0x000000010dc3affd +[BPApp appWithConfig:withError:] + 1354
4   bluepill                            0x000000010dc3436d main + 748
5   libdyld.dylib                       0x00007fff8f8975ad start + 1
6   ???                                 0x0000000000000003 0x0 + 3
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
Is it not reading the UI Test bundle properly? Would be great If I can get some pointers here.

Try removing some of the options to see which option is giving you problems. Bluepill seems very obscure with its errors.
My guess is that runtime is actually expecting an array of the form, ["iOS", "10.2"].

That's an unhandled error case... I think your test-bundle-path is wrong, you need to pass it the path to an xctest not the app.
@lyndsey-ferguson, yeah, I know the error messages are pretty obscure... we need to do a major cleanup in that area. Sorry about that 😞

Gave bundle path as below
"test-bundle-path": "Path specified here/DerivedDataPath1/Build/Products/QA-iphonesimulator/UITests-RegressionSuite-Runner/PlugIns/UITests-RegressionSuite.xctest"...still getting the same error

hmm...looks like something is weird in my test bundle ..was able to get it going  in another sample project


Minimal cleanup

Let's see if this one gets build by travis.

Coverage increased (+0.003%) to 98.367% when pulling 673fb50e49a37d3b30800ddf620d20bce5f5f7d4 on gforcada:gforcada-minimal-cleanup into 9596149d880663ab89d6c706992789ad2a4b00b8 on Simplistix:master.


feat: create a self signed x.509 certificate in tests

SHA1 provider using @noble/hashes
Export a p256 key (needed for the certificate)
Test that creates a self signed certificate

Added export and import methods for jwk only for now (secret+public)
Test to create a x509 certificate with askar and nodejs and validate with the opposite (they use the same key so nodejs should validate askar and vice versa)

Export a p256 key (needed for the certificate)
Export means private or public?

@TimoGlastra added the tests and some minor fixes, can you rereview?


Added a DTN IQFeed Price Handler. Also modified drawdown and drawdown…

… duration calculation to use vectorised Python/NumPy to vastly increase execution performance of backtests.

Coverage decreased (-3.0%) to 66.561% when pulling 0ade90d6d26eebadd9ff58251d317d4425659d03 on iqfeed_price_handler into 95cbe6d0abdf53bc145daa96d5352c60b5030540 on master.


Use ctru_sys to provide libctru functions/types/values

Like https://github.com/Meziu/rust-linker-fix-3ds, we can depend on https://github.com/Meziu/ctru-rs so we don't duplicate these definitions.

Fixed in https://github.com/Meziu/pthread-3ds/commit/87eceaf5ef07e6f191b4f2373b7a647f49dc6e82


Further localized API slimming & extra tests

Note to self: getting num_rec to work is a bit more annoying in the trait-based impl than I thought.


don't support chinese????

i use your library, write chinese in cell and create a xlsx , so using excel to open the file ,but it warning me that file is  damaged;

I guess you resolved it yourself, since you closed this issue?

yeah，the question is about charset , it need UTF8  but not need gbk2312 , i use gbk2312 frist.
and , the error file is "./xl/worksheets/sheet1.xml" in xlsx，when i launch excel to open the file  , it give me error.
so, i see your code and think the question of excel  that need to  recognize words of cell , but gbk2312 is incompatible in excel.
thank you


Provenance metadata

Once a decision is made about https://github.com/bids-standard/bids-specification/pull/300, we will be able to address https://github.com/bids-standard/bids-bep016/pull/5#discussion_r314172954

Provenance out of scope here. Closing.


Godot 4.2 and 4.3

What feature or improvement would you like to have?
Wonderful plugin ❤
Any plan to port to Godot 4.3?
Additional context
No response

Hello there, no need to port, my plugins are write to support Godot 3 & 4 in long term. 4.3 is now in newest release. Please give it a try.


GridBuilder doesn't work.

When I use GridBuilder in masamune/lib/ui/grid_builder.dart, error occurs.

With GridBuilder.count, error message is "maxCrossAxisExtent != null && maxCrossAxisExtent > 0 is not true"
With GridBuilder.extent, error message is "crossAxisCount != null && crossAxisCount > 0 is not ture"

I guess it needs to set non-zero value to each of them.
https://github.com/mathrunet/flutter_masamune/blob/5e2146c540c58c3c90364f58406b56e1b48dcaed/packages/masamune/lib/ui/grid_builder.dart#L60
https://github.com/mathrunet/flutter_masamune/blob/5e2146c540c58c3c90364f58406b56e1b48dcaed/packages/masamune/lib/ui/grid_builder.dart#L105

@nknotats
Thank you very much.
It was simply that the following were reversed.
[
crossAxisCount == 0
          ? SliverGridDelegateWithFixedCrossAxisCount(
              crossAxisCount: crossAxisCount,
              mainAxisSpacing: mainAxisSpacing,
              crossAxisSpacing: crossAxisSpacing,
              childAspectRatio: childAspectRatio,
              mainAxisExtent: mainAxisExtent,
            )
          : SliverGridDelegateWithMaxCrossAxisExtent(
              maxCrossAxisExtent: maxCrossAxisExtent,
              mainAxisSpacing: mainAxisSpacing,
              crossAxisSpacing: crossAxisSpacing,
              childAspectRatio: childAspectRatio,
              mainAxisExtent: mainAxisExtent,
            ),
```](https://github.com/mathrunet/flutter_masamune/blob/5e2146c540c58c3c90364f58406b56e1b48dcaed/packages/masamune/lib/ui/grid_builder.dart#L278)


Error: Server request for query ViewerQueries failed for the following reasons:

Hey denvned,
I've been exploring your module and I really love what you've trying to achieve. I'm trying to create a boilerplate which uses your module isomorphic-relay-router with and graffi-mongoose (https://github.com/RisingStack/graffiti-mongoose) to achieve a fully isomorphic, relay, react stack that uses mongoose/mongo for the database.
The great thing about graffiti is it generates the schema directly from the mongoose schema.
I did a pull of your code today however and saw the following error:
Error: Server request for query `ViewerQueries` failed for the following reasons:

1. Argument "first" has invalid value<PHONE_NUMBER>740991.
Expected type "Int", found<PHONE_NUMBER>740991.
  s:"completed",first:9007199254740991){...__RelayQueryFragmen
                      ^^^
   at /Users/cgwgreen/Desktop/stack/todo/node_modules/react-relay/lib/RelayDefaultNetworkLayer.js:71:23
   at process._tickCallback (node.js:379:9)

I'll keep exploring but I thought I'd ask to see if you know what's wrong.
Cheers
Chris GW Green

Hi @chrisgwgreen,
Probably the problem is that<PHONE_NUMBER>740991 is too big for Int in graffi-mongoose (it is fine in graphql-js). You might need to change these lines:
https://github.com/denvned/isomorphic-relay-router/blob/v0.3.1/examples/todo/src/components/TodoList.js#L77
https://github.com/denvned/isomorphic-relay-router/blob/v0.3.1/examples/todo/src/components/TodoListFooter.js#L62

Actually,<PHONE_NUMBER>740991 recently become too big for graphql-js also. So I fixed the example.


Update packages:

Django up to 3.2.7
prompt-toolkit up to 3.0.20
sqlparse up to 0.4.2
fix https://github.com/advisories/GHSA-p5w8-wqhj-9hhf

Codecov Report

Merging #13 (05d2518) into master (0abd3e0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           40        40
  Lines          764       764
  Branches        23        23
=========================================
  Hits           764       764

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Issue when synchronized multiple configuration from a same connector

Same connector can be registered multiple times. This is a severe issue in case we put anything but services in the register method

I fixed it right now as seen together ;)

And one more commit for @vsct-jburet :)


GraphSAGE/HinSAGE on Directed Graphs

I'm interested in applying the HInSAGE algorithm on a multi-edged directed graph and was wondering if the library currently supports directed graphs for the HinSAGE/GraphSAGE models? I believe these algorithms do not naturally support directed graphs, but would it be possible to model directed edges and edge features?

Hi Julie,
Currently StellarGraph does't support directed graphs or edge features. We are currently implementing directed edge support for GraphSAGE and then HinSAGE, so look out for our next release!
Using edge features is not supported in the GraphSAGE/HinSAGE algorithm. We are currently looking for algorithms that allow edge features to be used. If you are aware of any, please let us know!
Regards,
Andrew

Directed GraphSAGE is available in our recent release (https://github.com/stellargraph/stellargraph/releases/tag/v0.8.2).

@youph Separate this issue into 2: GraphSAGE and HinSAGE

I'm closing this 'epic' now, with HinSAGE work to continue in #563.  @juliecwang could you please try the directed GraphSAGE, and let us know any new requirements for HinSAGE in #563?
Thanks,
Tim


Faucet link broken

From the main site https://faucet.sepolia.dev/

CN information in certificate is invalid.
They know that too.
But it doesn't seem to be fixed.
CN = goerli-relay.wenmerge.com

Thanks for the report, the URL has been removed from the README


Pretrained models page is dead

The tfslim page that author mentioned is dead.
https://github.com/tensorflow/models/tree/master/slim#pre-trained-models
I need resnet 50 and 152 pretrained model.
Can anybody tell me how can I get it now?

wget -v http://download.tensorflow.org/models/resnet_v1_152_2016_08_28.tar.gz
wget -v http://download.tensorflow.org/models/resnet_v1_50_2016_08_28.tar.gz
These pages still work.


Add percent::scale

function to scale percent within a percent range and function to scale percent within a range with a generic type

.take


Add postgres create returning all serial type columns support

Make sure these boxes checked before submitting your pull request.

[] Do only one thing
[] No API-breaking changes
[] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?

Hello, we will only accept new features on GORM V2, for GORM V1, only accept bug fix pull request.
Thank you for your PR.


Add discreet mode

Which should hide all values, graphs and all sensitive content.
Setting can be persisted with #16

just css with filter: blur(10px); should be OK

For graphs we can just hide axes and labels, at least at the beginning


Copy not working

When i want to copy some text from the editor it is not selecting

V1.8.2

V 1.8.2 (276)

Seems to be working for me.

Using v1.8.7 (330) and can confirm, that copying is still broken but in a bit other way. Usually copying text will cut it instead of copying it. There is a difference, how text is selected. Either manually by dragging appropriate handlings or using select all button from floating toolbar. After trying several times the copying finally somehow succeeds. Veri annoying bug.

It seems like copying working fine


Site extension build optimizations

A few of the suggestions in https://github.com/aspnet/AspNetCore/pull/11409#pullrequestreview-253738185. Also fix the typo

Assigning, since you are working on this now.

This isn't too important for 3.0.0. Moving it out to 5.0 as a QoL improvement.


Docs for feature: Node Pools/Autoscaling Group

@catherineluse can you follow up with dax to expand our node pools section and discuss what the new field does and how it works?


⚠ Avatar API Endpoint has degraded performance

In bae852d, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1561 ms

Resolved: Avatar API Endpoint performance has improved in 099b459.


create analyzer that ensures every task is awaited in scope

No Task should be stored in a variable to ensure structured sequential concurrency.
https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-disposeasync
Maybe there is a way to force await at the end of the scope which would probably be fine to.
Like: StructuredTaskScope
https://howtodoinjava.com/java/multi-threading/structured-concurrency/#3-implementing-structured-concurrency-with-structuredtaskscope

https://github.com/microsoft/vs-threading/blob/main/doc/analyzers/index.md
https://github.com/DotNetAnalyzers/AsyncUsageAnalyzers/blob/master/AsyncUsageAnalyzers/AsyncUsageAnalyzers.Test/Usage/UseConfigureAwaitUnitTests.cs
https://github.com/DotNetAnalyzers/AsyncUsageAnalyzers/blob/master/AsyncUsageAnalyzers/AsyncUsageAnalyzers/Usage/UseConfigureAwaitAnalyzer.cs
https://github.com/microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD103.md
https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix

CS4014
https://github.com/semihokur/AsyncFixer


chore: Adding cherry picked commits to release-v0.33.x

Fixes #N/A
Description
Adding in cherry picked commits to the v0.33.x release branch

https://github.com/kubernetes-sigs/karpenter/pull/959
https://github.com/kubernetes-sigs/karpenter/pull/958

How was this change tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm
/approve


WIP: Pull in trackerdash

Current coverage is 58.36% (diff: 100%)

Merging #455 into master will not change coverage

@@             master       #455   diff @@
==========================================
  Files            26         26
  Lines           711        711
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            415        415
  Misses          296        296
  Partials          0          0

Powered by Codecov. Last update 7aee8e0...9711844


Running 'run_ancient.sh'

Hi,
if I want to estimate allele frequency trajectories using only aDNA, can I only use the file under "ancestral_paths_v3:"?
Do I need to include modern groups in my file? Are there any other considerations or points to keep in mind?

If all you want to do is infer frequency trajectories using only aDNA then you don't need my pipeline, and you would be better of using CLUES directly. See https://github.com/standard-aaron/clues/wiki/Command-line-options-for-CLUES for documentation.

Thank you very much !!!


User preview on avatar hover

Split from #806
User profile preview on avatar hover:

I don't like how it is revealed on stages. Is it because of the backend request taking more time or sth else?

I don't like how it is revealed on stages. Is it because of the backend request taking more time or sth else?

Yes, it makes additional request and some calculations for the stats - it's the same component as in user profile page.
A spinner may be added until all the information is retrieved... or skip entirely the second part with the stats from this preview...

I don't like how it is revealed on stages. Is it because of the backend request taking more time or sth else?

Yes, it makes additional request and some calculations for the stats - it's the same component as in user profile page.
A spinner may be added until all the information is retrieved... or skip entirely the second part with the stats from this preview...

Let's bring this up for discussion with the design team. cc @onvisions

Ok. It's not ok to load in 2 steps.
Actually I suggested in a forum post before reading your question here that we add some delay between the mouse-hover event and the ID card display. This is how Twitter does in order not to trigger by accident displaying of user ID cards while the user is trying to interact with other UI elements. May be this delay of 2-3 seconds will also solve the issue mentioned above?
Another part of this forum suggestion is to use the compact version (intended for mobile).

Ok. It's not ok to load in 2 steps.
Actually I suggested in a forum post before reading your question here that we add some delay between the mouse-hover event and the ID card display. This is how Twitter does in order not to trigger by accident displaying of user ID cards while the user is trying to interact with other UI elements. May be this delay of 2-3 seconds will also solve the issue mentioned above?
Another part of this forum suggestion is to use the compact version (intended for mobile).
Test it on Twitter!
Screenshot:

Isn't 2-3sec too much?

@mradkov @AtanasKrondev
2-3 sec. is really too much. Even now if it is 1.5 sec. it seems to me it is too much. But it looks cool though! :)
Another suggestion (easy for implementation) is that we have the bigger user avatar within the ID card linking to User Profile page.
At some point all this labels showing "Tips Sent" , "Tips Claimed" will be links leading to User Profile/ Activity / respective filter loaded ... (we should add more interactive options to the users not only displaying static info in the ID card).
I found a problem (bug?) with auto-hiding the ID card and I managed to display 2 at the same time.

I have written an example of how I'm proposing to show Card using Transition and CSS: https://github.com/davidyuk/vue-reproductions/commit/94cfd0a4eca152bcaf72c7dd2950fa763a0cbfd0#diff-c970699f851dadc4a40a1c2a7b29886d5da454125e84e387a8d0abfa8b63be85R1

The overall UI is a bit more flickers than it should be. I'm proposing to avoid that by putting Avatar and UserCard into the same element (to track hover state on it), check 3ee07056edaf05adb20e921f4feb98adec98cdd8.


Travis build matrix & housekeeping

Future-proofing for multiple test suites as well as running tests in both emulated/real shadow DOM, test suites are named in env.js
Slight modification to avoid running xvfb directly (concurrency issues) and to cache node_modules and bower_components

I think there's no travis build for this PR because I have travis watching my fork, here is the build for the branch
Incidentally the template-finder tests fail on shadow lol
@dlasky @jcmoore

that doesnt surprise me, nor is it particularly concerning considering shady is gonna be around for quite a while.
why did you feel the need to add this?

primarily to support multiple parallel test suites (the shadow flag was a few lines add on)


slightly better error messages for missing arguments and files

make sage fail earlier than later when parameters are not set in the JSON file and are not command line arguments (it made the program panic once the computation started)
use anyhow's context for errors when reading files, now the problematic file is displayed

Error: Failed to read parameters from `missing_file.json`

Caused by:
    IO error: No such file or directory (os error 2)

you may want to squash my commits

Definitely going to squash!

as of now we get this error message with problematic mzML files
; cargo run -- tests/config.json tests/LQSRPAAPPAPGPGQLTLR.mzML tests/aa.mzML tests/bb.mzML s3://beep
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
     Running `target/debug/sage tests/config.json tests/LQSRPAAPPAPGPGQLTLR.mzML tests/aa.mzML tests/bb.mzML 's3://beep'`
[2023-05-09T21:48:24Z INFO  sage] generated 1845 fragments in 6ms
[2023-05-09T21:48:24Z INFO  sage] processing files 0 .. 4
Error: Failed to process mzML files

Caused by:
    Processing chunk 0 failed
        Failed to process `tests/aa.mzML`: IO error - No such file or directory (os error 2)
        Failed to process `tests/bb.mzML`: IO error - No such file or directory (os error 2)
        Failed to process `s3://beep`: S3 error - failed to construct request - key was missing: cannot be empty or unset

Awesome, thanks!
Sorry to flip flop... but I realized yesterday I have a couple of workflows that actually depend on sage not failing if files are missing (incremental searching of datasets as they come off MS...). I'll try to keep the most recent commit in the git history in case we want to use it in the future. I will try to squash and merge everything today

cool, no problem, you might want to work on a proper refactor to different checks and errors, not just something a bit hacky about the files being present.

Ok, I squashed your branch and merged it in - I'm closing this one without merging.
Thanks again!


[CON-4790] Fix transaction host for new staging

Coverage remained the same at 34.343% when pulling 37a22ef3a86303495063bbdb7c7d7f39c527375b on CON-4790 into 71f7fee7fbc5d6e408f960ed1b3721eb4c090dae on master.

Coverage remained the same at 34.344% when pulling 764c837f835ed1820d1a8a15195d091a6adfd7f4 on CON-4790 into c6ca7a905c30701a04bfd8950c3de63cd1c22636 on master.

Coverage remained the same at 34.26% when pulling fb43ff30ebcde89a00f18e82d4fd9aec4a6a6b56 on CON-4790 into d140fd4c287f3e3e84c621eb2b45d986cd69c24d on master.


node alredy exist

Hi, when try to run the code and appears this message, what means?
raise RuntimeWarning("Node %s already exists" % node_name)
this is my code:
    for s in self.periodi:

        s=yed.add_group(s[2])

    for e in  self.sequence:
        s.add_node(e[0])
        s.add_edge(e[0],e[1])

    for h in  self.negative:
        s.add_node(h[0])
        s.add_edge(h[0],h[1])

    for j in  self.conteporene:
        s.add_node(j[0])
        s.add_edge(j[0],j[1],arrowfoot= "none")

This error means that you try create a node with an existing node name.
You could try:
for e in  self.sequence:
    try:
        s.add_node(e[0])
    except:
         pass
....


bug: TapticEngine integration does not work with ion-picker

Bug Report
Ionic version:
[x] 5.1
Current behavior:
No taptic feedback is triggered. When selecting a value with ion-picker, during the swipe gesture there should be a "selection" feedback from the taptic engine.
I checked and triggering it manually via dev console (window.TapticEngine.selection()), which works. The issue seems to be that with Ionics' integration gestureSelectionStart() (hapticSelectionStart()) and gestureSelectionEnd() (hapticSelectionEnd()) are never called, which leads to gestureSelectionChanged() (hapticSelectionChanged()) not being effective.
Expected behavior:
Taptic feedback works when the corresponding cordova-plugin is installed. See for example the implementation of ion-reorder-group where it's working.
Steps to reproduce:
Use ion-picker in a cordova application with the cordova-plugin-taptic-engine installed which is running on a device which supports taptic feedback.
Related code:
https://github.com/ionic-team/ionic/blob/1fbdb2255e4ff7fccf22d9ccc12b7f9bb4c3a064/core/src/components/picker-column/picker-column.tsx#L193
https://github.com/ionic-team/ionic/blob/1fbdb2255e4ff7fccf22d9ccc12b7f9bb4c3a064/core/src/utils/haptic.ts#L37
https://github.com/ionic-team/ionic/blob/f0e4215f41fdf6979f28d09531b9e7959a505b83/core/src/components/reorder-group/reorder-group.tsx#L160
Other information:
I tested on an iPhone 11 Pro which has a taptic engine built in.
And I also noticed that there are two versions of the haptic util:
core/src/utils/native/haptic.ts
and
core/src/utils/haptic.ts
Ionic info:
Ionic:

   Ionic CLI                     : 6.8.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.1.0
   @angular-devkit/build-angular : 0.901.5
   @angular-devkit/schematics    : 9.1.5
   @angular/cli                  : 9.1.5
   @ionic/angular-toolkit        : 2.2.0

Cordova:

   Cordova CLI       : 9.0.0<EMAIL_ADDRESS>   Cordova Platforms : ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 27 other plugins)

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   ios-deploy : 1.9.2
   ios-sim    : 8.0.2
   NodeJS     : v14.2.0 (/usr/local/bin/node)
   npm        : 6.14.5
   OS         : macOS Catalina
   Xcode      : Xcode 11.4.1 Build version 11E503a

Thanks for the issue. Can you try the following dev build and let me know if it resolves the issue?
npm i<EMAIL_ADDRESS>

@liamdebeasi Thank you Liam, works perfectly with the dev-build :)

Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic/pull/21268, and a fix will be available in an upcoming release of Ionic Framework.


[Prod] Added Kubernetes deployment scripts

Hey, do we still need this? Since we're going with serverless now, and also these older Kubernetes config files were based on the older microservices architecture we were going with... but tyat's changed a bit now.

closing this for now, we can reopen a new PR when we are closer to k8s deployment


The reproduce performance and pretrained performance for MSRVTT dataset.

I reproduce your code on 4 A800 GPUs. The final results are shown below:
`024-01-22 08:48:26,546:INFO: The best model is: log/pytorch_model.bin.3, the R1 is: 46.4000
2024-01-22 08:48:26,748:INFO: Model loaded from log/pytorch_model.bin.3
2024-01-22 08:48:27,664:INFO: loading archive file /home/changty/DG-VTR/PAU-main/modules/cross-base
2024-01-22 08:48:27,665:INFO: Model config {
  "attention_probs_dropout_prob": 0.1,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 512,
  "initializer_range": 0.02,
  "intermediate_size": 2048,
  "max_position_embeddings": 128,
  "num_attention_heads": 8,
  "num_hidden_layers": 4,
  "type_vocab_size": 2,
  "vocab_size": 512
}

2024-01-22 08:48:27,665:INFO: Weight doesn't exsits. /home/changty/DG-VTR/PAU-main/modules/cross-base/cross_pytorch_model.bin
2024-01-22 08:48:27,665:WARNING: Stage-One:True, Stage-Two:False
2024-01-22 08:48:27,666:WARNING: Test retrieval by loose type.
2024-01-22 08:48:27,666:WARNING: 	 embed_dim: 512
2024-01-22 08:48:27,666:WARNING: 	 image_resolution: 224
2024-01-22 08:48:27,666:WARNING: 	 vision_layers: 12
2024-01-22 08:48:27,666:WARNING: 	 vision_width: 768
2024-01-22 08:48:27,666:WARNING: 	 vision_patch_size: 32
2024-01-22 08:48:27,666:WARNING: 	 context_length: 77
2024-01-22 08:48:27,666:WARNING: 	 vocab_size: 49408
2024-01-22 08:48:27,666:WARNING: 	 transformer_width: 512
2024-01-22 08:48:27,666:WARNING: 	 transformer_heads: 8
2024-01-22 08:48:27,666:WARNING: 	 transformer_layers: 12
2024-01-22 08:48:27,666:WARNING: 		 linear_patch: 2d
2024-01-22 08:48:27,666:WARNING: 	 cut_top_layer: 0
2024-01-22 08:48:29,024:WARNING: 	 sim_header: seqTransf
2024-01-22 08:48:33,018:INFO: --------------------
2024-01-22 08:48:33,018:INFO: Weights from pretrained model not used in PAU:
   clip.input_resolution
   clip.context_length
   clip.vocab_size
2024-01-22 08:49:18,779:INFO: sim matrix size: 1000, 1000
2024-01-22 08:49:18,804:INFO: 	 Length-T: 1000, Length-V:1000
2024-01-22 08:49:18,804:INFO: Text-to-Video:
2024-01-22 08:49:18,804:INFO: 	>>>  R@1: 46.4 - R@5: 72.1 - R@10: 81.5 - Median R: 2.0 - Mean R: 13.0
2024-01-22 08:49:18,804:INFO: Video-to-Text:
2024-01-22 08:49:18,804:INFO: 	>>>  V2T$R@1: 45.6 - V2T$R@5: 71.9 - V2T$R@10: 81.7 - V2T$Median R: 2.0 - V2T$Mean R: 9.8
`

The best model is "pytorch_model.bin.3", and the performance has a large discrepancy with the result in the official paper.
Then I directly evaluate your released model "MSRVTT-pytorch_model.bin.0", the  results are shown below:
2024-01-22 09:04:28,266:INFO: Effective parameters:
2024-01-22 09:04:28,266:INFO:   <<< K: 8
2024-01-22 09:04:28,266:INFO:   <<< batch_size: 256
2024-01-22 09:04:28,266:INFO:   <<< batch_size_val: 40
2024-01-22 09:04:28,266:INFO:   <<< cache_dir:
2024-01-22 09:04:28,266:INFO:   <<< coef_lr: 0.001
2024-01-22 09:04:28,266:INFO:   <<< cross_model: cross-base
2024-01-22 09:04:28,266:INFO:   <<< cross_num_hidden_layers: 4
2024-01-22 09:04:28,266:INFO:   <<< data_path: /data/changty/video_text_retrieval/msrvtt_data/MSRVTT_data.json
2024-01-22 09:04:28,266:INFO:   <<< datatype: msrvtt
2024-01-22 09:04:28,266:INFO:   <<< do_eval: True
2024-01-22 09:04:28,266:INFO:   <<< do_lower_case: False
2024-01-22 09:04:28,266:INFO:   <<< do_pretrain: False
2024-01-22 09:04:28,267:INFO:   <<< do_train: False
2024-01-22 09:04:28,267:INFO:   <<< epochs: 5
2024-01-22 09:04:28,267:INFO:   <<< eval_frame_order: 0
2024-01-22 09:04:28,267:INFO:   <<< expand_msrvtt_sentences: True
2024-01-22 09:04:28,267:INFO:   <<< feature_framerate: 1
2024-01-22 09:04:28,267:INFO:   <<< features_path: /data/changty/video_text_retrieval/MSRVTT/videos/all
2024-01-22 09:04:28,267:INFO:   <<< fp16: False
2024-01-22 09:04:28,267:INFO:   <<< fp16_opt_level: O1
2024-01-22 09:04:28,267:INFO:   <<< freeze_layer_num: 0
2024-01-22 09:04:28,267:INFO:   <<< gradient_accumulation_steps: 1
2024-01-22 09:04:28,267:INFO:   <<< hard_negative_rate: 0.5
2024-01-22 09:04:28,267:INFO:   <<< init_model: /home/changty/DG-VTR/PAU-main/MSRVTT-pytorch_model.bin.0
2024-01-22 09:04:28,267:INFO:   <<< lambda1: 1
2024-01-22 09:04:28,267:INFO:   <<< lambda2: 100
2024-01-22 09:04:28,267:INFO:   <<< lambda3: 0.025
2024-01-22 09:04:28,267:INFO:   <<< linear_patch: 2d
2024-01-22 09:04:28,267:INFO:   <<< local_rank: 0
2024-01-22 09:04:28,267:INFO:   <<< loose_type: True
2024-01-22 09:04:28,267:INFO:   <<< lr: 0.0001
2024-01-22 09:04:28,267:INFO:   <<< lr_decay: 0.9
2024-01-22 09:04:28,267:INFO:   <<< margin: 0.1
2024-01-22 09:04:28,267:INFO:   <<< max_frames: 12
2024-01-22 09:04:28,267:INFO:   <<< max_words: 32
2024-01-22 09:04:28,267:INFO:   <<< n_display: 10
2024-01-22 09:04:28,267:INFO:   <<< n_gpu: 1
2024-01-22 09:04:28,267:INFO:   <<< n_pair: 1
2024-01-22 09:04:28,267:INFO:   <<< negative_weighting: 1
2024-01-22 09:04:28,267:INFO:   <<< num_thread_reader: 8
2024-01-22 09:04:28,267:INFO:   <<< output_dir: log
2024-01-22 09:04:28,267:INFO:   <<< precision: fp16
2024-01-22 09:04:28,267:INFO:   <<< pretrained_clip_name: ViT-B/32
2024-01-22 09:04:28,267:INFO:   <<< rank: 0
2024-01-22 09:04:28,267:INFO:   <<< rerank_coe_t: 0.05
2024-01-22 09:04:28,267:INFO:   <<< rerank_coe_v: 0.05
2024-01-22 09:04:28,268:INFO:   <<< resume_opt: None
2024-01-22 09:04:28,268:INFO:   <<< sampled_use_mil: False
2024-01-22 09:04:28,268:INFO:   <<< seed: 42
2024-01-22 09:04:28,268:INFO:   <<< sim_header: seqTransf
2024-01-22 09:04:28,268:INFO:   <<< slice_framepos: 2
2024-01-22 09:04:28,268:INFO:   <<< task_type: retrieval
2024-01-22 09:04:28,268:INFO:   <<< tau: 5
2024-01-22 09:04:28,268:INFO:   <<< text_num_hidden_layers: 12
2024-01-22 09:04:28,268:INFO:   <<< train_csv: /data/changty/video_text_retrieval/msrvtt_data/MSRVTT_train.9k.csv
2024-01-22 09:04:28,268:INFO:   <<< train_frame_order: 0
2024-01-22 09:04:28,268:INFO:   <<< use_mil: False
2024-01-22 09:04:28,268:INFO:   <<< val_csv: /data/changty/video_text_retrieval/msrvtt_data/MSRVTT_JSFUSION_test.csv
2024-01-22 09:04:28,268:INFO:   <<< video_dim: 1024
2024-01-22 09:04:28,268:INFO:   <<< visual_num_hidden_layers: 12
2024-01-22 09:04:28,268:INFO:   <<< warmup_proportion: 0.1
2024-01-22 09:04:28,268:INFO:   <<< world_size: 1
2024-01-22 09:04:28,268:INFO: device: cuda:0 n_gpu: 1
2024-01-22 09:04:29,467:INFO: loading archive file /home/changty/DG-VTR/PAU-main/modules/cross-base
2024-01-22 09:04:29,467:INFO: Model config {
  "attention_probs_dropout_prob": 0.1,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 512,
  "initializer_range": 0.02,
  "intermediate_size": 2048,
  "max_position_embeddings": 128,
  "num_attention_heads": 8,
  "num_hidden_layers": 4,
  "type_vocab_size": 2,
  "vocab_size": 512
}

2024-01-22 09:04:29,467:INFO: Weight doesn't exsits. /home/changty/DG-VTR/PAU-main/modules/cross-base/cross_pytorch_model.bin
2024-01-22 09:04:29,467:WARNING: Stage-One:True, Stage-Two:False
2024-01-22 09:04:29,467:WARNING: Test retrieval by loose type.
2024-01-22 09:04:29,467:WARNING: 	 embed_dim: 512
2024-01-22 09:04:29,467:WARNING: 	 image_resolution: 224
2024-01-22 09:04:29,468:WARNING: 	 vision_layers: 12
2024-01-22 09:04:29,468:WARNING: 	 vision_width: 768
2024-01-22 09:04:29,468:WARNING: 	 vision_patch_size: 32
2024-01-22 09:04:29,468:WARNING: 	 context_length: 77
2024-01-22 09:04:29,468:WARNING: 	 vocab_size: 49408
2024-01-22 09:04:29,468:WARNING: 	 transformer_width: 512
2024-01-22 09:04:29,468:WARNING: 	 transformer_heads: 8
2024-01-22 09:04:29,468:WARNING: 	 transformer_layers: 12
2024-01-22 09:04:29,468:WARNING: 		 linear_patch: 2d
2024-01-22 09:04:29,468:WARNING: 	 cut_top_layer: 0
2024-01-22 09:04:30,816:WARNING: 	 sim_header: seqTransf
2024-01-22 09:04:34,977:INFO: --------------------
2024-01-22 09:04:34,977:INFO: Weights of PAU not initialized from pretrained model:
   global_mat_weight
   word_logit_weight
   frame_logit_weight
   local_mat_weight
   frame_mat_weight
   word_mat_weight
   frame_mat_weight2
   word_mat_weight2
2024-01-22 09:04:34,977:INFO: Weights from pretrained model not used in PAU:
   clip.input_resolution
   clip.context_length
   clip.vocab_size
2024-01-22 09:04:36,567:INFO: ***** Running test *****
2024-01-22 09:04:36,567:INFO:   Num examples = 1000
2024-01-22 09:04:36,567:INFO:   Batch size = 40
2024-01-22 09:04:36,567:INFO:   Num steps = 25
2024-01-22 09:04:36,567:INFO: ***** Running val *****
2024-01-22 09:04:36,567:INFO:   Num examples = 1000
2024-01-22 09:05:26,368:INFO: sim matrix size: 1000, 1000
2024-01-22 09:05:26,394:INFO: 	 Length-T: 1000, Length-V:1000
2024-01-22 09:05:26,394:INFO: Text-to-Video:
2024-01-22 09:05:26,394:INFO: 	>>>  R@1: 47.5 - R@5: 72.6 - R@10: 82.1 - Median R: 2.0 - Mean R: 13.4
2024-01-22 09:05:26,394:INFO: Video-to-Text:
2024-01-22 09:05:26,394:INFO: 	>>>  V2T$R@1: 46.1 - V2T$R@5: 73.0 - V2T$R@10: 82.3 - V2T$Median R: 2.0 - V2T$Mean R: 9.7
`

It also has a large discrepancy with the preformance in the official paper.
Please explain the reason, thank you.

Thank you for your interest. I'm sorry, the batchsize should be 256 (original version is 128). I retrained the model using official code on another server (4 x V100), the training log file can be found at PAU/log/trainlog.out. It seems the result is reasonable.
I also re-evaluate my released model "MSRVTT-pytorch_model.bin.0". The test log file is as follows.
01/24/2024 20:52:07 - INFO -   Effective parameters:
01/24/2024 20:52:07 - INFO -     <<< K: 8
01/24/2024 20:52:07 - INFO -     <<< batch_size: 256
01/24/2024 20:52:07 - INFO -     <<< batch_size_val: 40
01/24/2024 20:52:07 - INFO -     <<< cache_dir:
01/24/2024 20:52:07 - INFO -     <<< coef_lr: 0.001
01/24/2024 20:52:07 - INFO -     <<< cross_model: cross-base
01/24/2024 20:52:07 - INFO -     <<< cross_num_hidden_layers: 4
01/24/2024 20:52:07 - INFO -     <<< data_path: ../data/VR_Dataset/MSRVTT/msrvtt_data/MSRVTT_data.json
01/24/2024 20:52:07 - INFO -     <<< datatype: msrvtt
01/24/2024 20:52:07 - INFO -     <<< do_eval: True
01/24/2024 20:52:07 - INFO -     <<< do_lower_case: False
01/24/2024 20:52:07 - INFO -     <<< do_pretrain: False
01/24/2024 20:52:07 - INFO -     <<< do_train: False
01/24/2024 20:52:07 - INFO -     <<< epochs: 5
01/24/2024 20:52:07 - INFO -     <<< eval_frame_order: 0
01/24/2024 20:52:07 - INFO -     <<< expand_msrvtt_sentences: True
01/24/2024 20:52:07 - INFO -     <<< feature_framerate: 1
01/24/2024 20:52:07 - INFO -     <<< features_path: ../data/VR_Dataset/MSRVTT/videos/all
01/24/2024 20:52:07 - INFO -     <<< fp16: False
01/24/2024 20:52:07 - INFO -     <<< fp16_opt_level: O1
01/24/2024 20:52:07 - INFO -     <<< freeze_layer_num: 0
01/24/2024 20:52:07 - INFO -     <<< gradient_accumulation_steps: 1
01/24/2024 20:52:07 - INFO -     <<< hard_negative_rate: 0.5
01/24/2024 20:52:07 - INFO -     <<< init_model: /home/lihao/PAU/log/MSRVTT-pytorch_model.bin.0
01/24/2024 20:52:07 - INFO -     <<< lambda1: 1
01/24/2024 20:52:07 - INFO -     <<< lambda2: 100
01/24/2024 20:52:07 - INFO -     <<< lambda3: 0.025
01/24/2024 20:52:07 - INFO -     <<< linear_patch: 2d
01/24/2024 20:52:07 - INFO -     <<< local_rank: 0
01/24/2024 20:52:07 - INFO -     <<< loose_type: True
01/24/2024 20:52:07 - INFO -     <<< lr: 0.0001
01/24/2024 20:52:07 - INFO -     <<< lr_decay: 0.9
01/24/2024 20:52:07 - INFO -     <<< margin: 0.1
01/24/2024 20:52:07 - INFO -     <<< max_frames: 12
01/24/2024 20:52:07 - INFO -     <<< max_words: 32
01/24/2024 20:52:07 - INFO -     <<< n_display: 10
01/24/2024 20:52:07 - INFO -     <<< n_gpu: 1
01/24/2024 20:52:07 - INFO -     <<< n_pair: 1
01/24/2024 20:52:07 - INFO -     <<< negative_weighting: 1
01/24/2024 20:52:07 - INFO -     <<< num_thread_reader: 8
01/24/2024 20:52:07 - INFO -     <<< output_dir: log
01/24/2024 20:52:07 - INFO -     <<< precision: fp16
01/24/2024 20:52:07 - INFO -     <<< pretrained_clip_name: ViT-B/32
01/24/2024 20:52:07 - INFO -     <<< rank: 0
01/24/2024 20:52:07 - INFO -     <<< rerank_coe_t: 0.05
01/24/2024 20:52:07 - INFO -     <<< rerank_coe_v: 0.05
01/24/2024 20:52:07 - INFO -     <<< resume_opt: None
01/24/2024 20:52:07 - INFO -     <<< sampled_use_mil: False
01/24/2024 20:52:07 - INFO -     <<< seed: 42
01/24/2024 20:52:07 - INFO -     <<< sim_header: seqTransf
01/24/2024 20:52:07 - INFO -     <<< slice_framepos: 2
01/24/2024 20:52:07 - INFO -     <<< task_type: retrieval
01/24/2024 20:52:07 - INFO -     <<< tau: 5
01/24/2024 20:52:07 - INFO -     <<< text_num_hidden_layers: 12
01/24/2024 20:52:07 - INFO -     <<< train_csv: ../data/VR_Dataset/MSRVTT/msrvtt_data/MSRVTT_train.9k.csv
01/24/2024 20:52:07 - INFO -     <<< train_frame_order: 0
01/24/2024 20:52:07 - INFO -     <<< use_mil: False
01/24/2024 20:52:07 - INFO -     <<< val_csv: ../data/VR_Dataset/MSRVTT/msrvtt_data/MSRVTT_JSFUSION_test.csv
01/24/2024 20:52:07 - INFO -     <<< video_dim: 1024
01/24/2024 20:52:07 - INFO -     <<< visual_num_hidden_layers: 12
01/24/2024 20:52:07 - INFO -     <<< warmup_proportion: 0.1
01/24/2024 20:52:07 - INFO -     <<< world_size: 1
01/24/2024 20:52:07 - INFO -   device: cuda:0 n_gpu: 1
01/24/2024 20:52:09 - INFO -   loading archive file /home/lihao/PAU/modules/cross-base
01/24/2024 20:52:09 - INFO -   Model config {
  "attention_probs_dropout_prob": 0.1,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 512,
  "initializer_range": 0.02,
  "intermediate_size": 2048,
  "max_position_embeddings": 128,
  "num_attention_heads": 8,
  "num_hidden_layers": 4,
  "type_vocab_size": 2,
  "vocab_size": 512
}

01/24/2024 20:52:09 - INFO -   Weight doesn't exsits. /home/lihao/PAU/modules/cross-base/cross_pytorch_model.bin
01/24/2024 20:52:09 - WARNING -   Stage-One:True, Stage-Two:False
01/24/2024 20:52:09 - WARNING -   Test retrieval by loose type.
01/24/2024 20:52:09 - WARNING -   	 embed_dim: 512
01/24/2024 20:52:09 - WARNING -   	 image_resolution: 224
01/24/2024 20:52:09 - WARNING -   	 vision_layers: 12
01/24/2024 20:52:09 - WARNING -   	 vision_width: 768
01/24/2024 20:52:09 - WARNING -   	 vision_patch_size: 32
01/24/2024 20:52:09 - WARNING -   	 context_length: 77
01/24/2024 20:52:09 - WARNING -   	 vocab_size: 49408
01/24/2024 20:52:09 - WARNING -   	 transformer_width: 512
01/24/2024 20:52:09 - WARNING -   	 transformer_heads: 8
01/24/2024 20:52:09 - WARNING -   	 transformer_layers: 12
01/24/2024 20:52:09 - WARNING -   		 linear_patch: 2d
01/24/2024 20:52:09 - WARNING -   	 cut_top_layer: 0
01/24/2024 20:52:10 - WARNING -   	 sim_header: seqTransf
/home/lihao/miniconda3/envs/xclip/lib/python3.8/site-packages/torch/nn/_reduction.py:44: UserWarning: size_average and reduce args will be deprecated, please use reduction='mean' instead.
  warnings.warn(warning.format(ret))
01/24/2024 20:52:17 - INFO -   --------------------
01/24/2024 20:52:17 - INFO -   Weights of PAU not initialized from pretrained model:
   beta_1
   beta_2
   global_mat_weight
   word_logit_weight
   frame_logit_weight
   local_mat_weight
   frame_mat_weight
   word_mat_weight
   frame_mat_weight2
   word_mat_weight2
01/24/2024 20:52:17 - INFO -   Weights from pretrained model not used in PAU:
   clip.input_resolution
   clip.context_length
   clip.vocab_size
01/24/2024 20:52:17 - INFO -   ***** Running test *****
01/24/2024 20:52:17 - INFO -     Num examples = 1000
01/24/2024 20:52:17 - INFO -     Batch size = 40
01/24/2024 20:52:17 - INFO -     Num steps = 25
01/24/2024 20:52:17 - INFO -   ***** Running val *****
01/24/2024 20:52:17 - INFO -     Num examples = 1000
0/25
1/25
2/25
3/25
4/25
5/25
6/25
7/25
8/25
9/25
10/25
11/25
12/25
13/25
14/25
15/25
16/25
17/25
18/25
19/25
20/25
21/25
22/25
23/25
24/25
01/24/2024 20:53:29 - INFO -   sim matrix size: 1000, 1000
01/24/2024 20:53:29 - INFO -   	 Length-T: 1000, Length-V:1000
01/24/2024 20:53:29 - INFO -   Text-to-Video:
01/24/2024 20:53:29 - INFO -   	>>>  R@1: 48.5 - R@5: 72.7 - R@10: 82.5 - Median R: 2.0 - Mean R: 14.0
01/24/2024 20:53:29 - INFO -   Video-to-Text:
01/24/2024 20:53:29 - INFO -   	>>>  V2T$R@1: 48.0 - V2T$R@5: 72.7 - V2T$R@10: 83.0 - V2T$Median R: 2.0 - V2T$Mean R: 9.9

If there is a large performance discrepancy. I guess some environmental difference may lead it, such as the torch version. Do you use the torch version greater than 2.0? Could you please provide more detailed environment information for further analysis?


10802 - Ruby Gem Code Cleanup

Cleanup of the code added.
Ruby gem is working for two models as of now - Activity, Email.
Further all the models need to be updated according to the code.

Checking in - I've updated the code generator using your latest proposed patterns in PR #3 .  Could you please look at that and let me know if I've got the styles correct?


Fishhash plus implementation with hard fork procedure

HF defined at DAA score 6,000,000
HF date will be calculated in a future commit

I will merge it, we will define HF date later and define DAA score.


Takeoff detect pre throttle

@tumbili This is the continuation of the takeoff_detect branch. The primary addition is the pre-takeoff throttle value. Needs careful bench testing first.

Changes Unknown when pulling cb0ddc98da5f60de3c615ac21dc16f55f9771264 on takeoff_detect_pre_throttle into ** on takeoff_detect**.


Add texture browser

One issue with this is that it is a bit laggy if you scroll too fast and there's a lot of images. Avalonia doesn't have any virtualization for WrapPanel but we could implement this. They haven't merged it because of it's insufficient support for elements of different sizes but that's not an issue for us.
Also I've added the truncation because it's very ugly if we show really long names. You can see the full name when you hover over.

[ X ] VTF -> Vtf

[ X ] VTFData definitely shouldn't be directly in Models, should be something like Models/Vtf/VtfFileData.cs.

[ X ] Clicking a texture should open a new window showing that texture at full size

[ X ] Picking the width/height of textures on the grid, with a top bar for setting that

[ X ] Searching/filtering

[ X ] Filtering out cubemaps (something like ^c-?\d+-?\d+-?\d+[.hdr]{0,}.vtf$), checkbox (default) in topbar for

sure

@BIRD311 @tsa96 I've pushed commit that's addressing all the things I've resolved, does it all look good? As for the ones remaining, I need a bit of guidance


Fix: ctx.set_fonts() Doesn't Apply Fonts with Same Name

If a font file named my_font is set using ctx.set_fonts() and then another font file with the same name is set again using ctx.set_fonts(), it won't be applied.

Additionally, it's recommended to apply fonts immediately using ctx.set_fonts().
This will also allow you to reset the fonts and texture.

Related #5233
Closes #5252

Let's wait until after https://github.com/emilk/egui/pull/5228 is merged

Needs to fix merge conflict now that https://github.com/emilk/egui/pull/5228 is merged


usocket.gettaddrinfo does not work for IP addresses

Calling usocket.gettaddrinfo() with an IP address and port number causes the badge to hang.  I ran into this bug when trying to connect the badge to an MQTT server on my local network.
import mqtt
c = mqtt.MQTTClient('tilda', '<IP_ADDRESS>')
# hangs forever

The line that causes this is https://github.com/emfcamp/Mk3-Firmware/blob/master/lib/mqtt.py#L24
import usocket as socket
# This hangs
socket.gettaddrinfo('<IP_ADDRESS>', 1883)
# But this works fine
socket.gettaddrino('www.google.com', 1883)

usocket.gettaddrinfo() should work for both DNS names and IP addresses.

We have handled this case on the lib layer for HTTP, it might be easier to fix it on that level for MQTT: https://github.com/emfcamp/Mk3-Firmware/blob/master/lib/http_client.py#L161-L166


Dissassembly view flashes briefly on every Step Over

Issue Type: Bug
I think this only started since I upgraded from VS Code 1.57.0 to 1.58.0.
When stepping through a Rust debug session when I use Step Over by pressing F10 the dissassembly view appears and disappears on every step. This was not happening before.

Note: It also happens on "Step Into", not just "Step Over".

It happens also when singlestepping via ms-vscode.cpptools gdb session.
It seems to happen only when there are multiple threads around, which it briefly switches to then.

Same issue observed.
Gdb session with WSL.
Debugger view briefly switches to another thread (and returns back in fraction of second) on every single debug step (F10).
VS Code version: 1.58.2

@ximon18 VS Code will start to have a disassembly view in 1.59.
So your "disassembly view" seems to be a feature of your specific debug extension.

/causedByExtension

Ah, that's interesting!

@weinand removing this code https://github.com/microsoft/vscode/blob/9305cd060955caa9c434350657ebc25ead5858b2/src/vs/workbench/contrib/debug/browser/debugSession.ts#L955-L969 restores the old behaviour
it seems the 800ms timeout thing got lost somehow in https://github.com/microsoft/vscode/commit/5278e78731ce5f0e73c4af8f309960c839aebef3

@isidorn ?

More details about that change are explained in my comment here https://github.com/microsoft/vscode/issues/125144#issuecomment-869641057

@isidorn do you think there is a way to fix it? (maybe put the timeout back to prevent instant focus switch)
and since vscode-lldb and ms-vscode.cpptools are affected, i'm not sure its really an extension issue

There was never a timeout there. It existed for less than a day.
In order for this to not happen we would need to not focus or introduce a timeout. There are no plans to change this this milestone.

would it be okay to reopen the issue so it won't get lost? its a bit distracting when it switches around on every step

I do not like that since this talks about the Disassembly view contributed by an extension. While we have a new built in disassembly view. Which I would find confusing when I look at this in a couple of milestone.


Pipes for ws and rpc calls

Same case as for http - validate input params )

hey @artaommahe ,
what if pipe throws an exception in ws case?

@kamilmysliwiec yep, but response format is good question ) I dont know if there is some best practice for ws response format. In my projects i use this one
interface IWsSuccessResponse {
  status: 'ok';
  result: Object | Array | null;
}
interface IWsErrorResponse {
  status: 'error';
  result: { message: string };
}

hi @artaommahe,
it'd be possible since the nearest release - you would be able to use pipes, filters and guards also (new feature).

Hi @artaommahe,
The v4 is published now. Enjoy! :cat:


cannot open app package

Windows Terminal version
1.18.3181.0
Windows build number
10.0.18363.1139
Other Software
No response
Steps to reproduce
https://github.com/microsoft/terminal/releases/download/v1.18.3181.0/Microsoft.WindowsTerminal_1.18.3181.0_8wekyb3d8bbwe.msixbundle
Expected Behavior
No response
Actual Behavior
This app package is not supported for installation by App Installer because it uses certain restricted capabilities.

First off - The Terminal definitely isn't going to work on 10.0.18363.1139. We bumped our min version to 19041 a year or two ago.
Secondly - I hit this myself last week setting up a fresh machine. I believe that the version of the App Installer that ships with the OS it pretty out of date. If you go to the Microsoft Store and open up the App Installer page, you should be able to manually pull down an update that's got the latest bits in it.

better workaround:

rename to ZIP
extract using Windows
dont update anything

FWIW, I'd be careful doing that. There are some crashes in system XAML that were only fixed in the 1904x builds of windows. For example, any sort of nested dropdown menu will crash the Terminal on 18363.

better workaround:

rename to ZIP
extract using Windows
dont update anything

It is much simpler to use the ZIP files we distribute - they contain the dependencies that would have automatically been resolved by the MSIX system.


Enable undo on a per-load basis

Partially addresses Issue #2

For reference, this was missing an update to the Makefile: 00a0fc0018137dae7c37511562cc554b734db2e6


DeleteKeyspace leaves a Lock file in the topo

When cleaning up a keyspace, we noticed that sometimes the DeleteKeyspace vtctl command doesn't end up removing it from the list.
Looking into this, I noticed that deleting the keyspace deleted the file <global>/keyspaces/<keyspace>/Keyspace but did not delete the file <global>/keyspaces/<keyspace>/Lock, which meant that the containing path <global>/keyspaces/<keyspace> was still around.

This is a bug with the Consul topo implementation, the Lock file is not removed after the Lock is released. It should be, in a transaction. Will look into it.

Should be fixed.


fix missing return

Codecov Report

Merging #6751 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #6751      +/-   ##
==========================================
- Coverage   40.97%   40.97%   -0.01%
==========================================
  Files         421      421
  Lines       57931    57932       +1
==========================================
- Hits        23739    23736       -3
- Misses      31033    31036       +3
- Partials     3159     3160       +1

Impacted Files
Coverage Δ

routers/user/oauth.go
43.86% <0%> (-0.14%)
:arrow_down:

modules/log/file.go
75.52% <0%> (-2.1%)
:arrow_down:

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 dabee9b...4ae404e. Read the comment docs.


Issue 804

Corrected type in language dropdown CSS

Looks good @benjaminfaure. We will test it out and move it into the development branch and then into the next release (master branch)


Unwrap project title and span across entire table

Project titles tend to be long, sometimes so long that they wrap over four or five lines, artificially increasing the row height, and limiting the number of rows that fit on a screen.
We could solve this by making each project take up two table rows. The first row could have only one cell for the title, spanning the entire width of the table. The second row would contain the cells for the remaining columns. The first cell in the second row would contain the project short name.
cc @malloryfreeberg
┆Issue Number: HCAB-317

Connected to #365

Looks OK now.


[Removal]: Soaring Green Dalmatian

Hotspot Name
Soaring Green Dalmatian
Hotspot b58 Address
11efc2HoCh1vuggUowwJ6YQM14EWRHUSU1X7YAtqMSQENykPKUc
Discord Handle
No response
Hotspot Manufacturer
Bobcat
Removal Reason
My hotspots is a true deployment,that can be detected or mappping at any time. I request that my my hotspots be removed from the rejected list, and I hope helium can approves it.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
Here are my hotspots actual photos
https://user-images.githubusercontent.com/64061024/156873433-6b33fa4c-9cb0-4ee0-83d8-40b9938920ab.mp4

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Implement chunk iterators that drop the GIL

This allows callers to get chunks at a time from the iterator and in such scenarios, it makes sense to drop the GIL.
Dropping the GIL is not only useful for scenarios when there are multiple iterators but when code may be calling other GIL-dropping code.
Benchmarking Rdict Iterator...
Iterator performance: 4194304 items in 1.7615967919118702 seconds (2380967.0971572897 it/s)
Iterator performance multi-thread: 16777216 items in 6.953388374997303 seconds (2412811.5812323666 it/s)

Benchmarking Rdict Batch Iterator...
Batched iterator performance: 16777216 items in 12.566605832893401 seconds (1335063.4390143137 it/s)
Batched iterator performance multi-thread: 16777216 items in 9.088478291872889 seconds (1845987.3546710834 it/s)

I think it's better to provide a default limited chunk size rather than using None as default--doesn't seem like a default behaviour.

Iter_chunk still seems significantly slower, although the chunk size is pretty large (25000).

Iter_chunk still seems significantly slower, although the chunk size is pretty large (25000).

That's because it's doing 4x more work for less than 4x time

I think it's better to provide a default limited chunk size rather than using None as default--doesn't seem like a default behaviour.

This is now done.

Iter_chunk still seems significantly slower, although the chunk size is pretty large (25000).

@Congyuwang iter chunk is faster. It's probably more helpful to look at the it/s metric than the total seconds because the number of items used to be different between single-thread and multi-thread. I've updated the benchmark to not do this.

I'm comparing iter vs. iter_chunk. Not multithreaded vs. single threaded. Seems that based on the previous benchmark, multithreaded iter chunk is slower than multithreaded iter where GIL is not released.

Looks like we have some kind of deadlock.


Clarity on how to use riverpod with "local" state

Is it appropriate to use riverpod for "local" state management?
And by local I mean a provider that is meant to be used exclusively by a sub section of the app or specific widget and is not accessible to the entire app. In other words, providers that manage state that shouldn't be accessible to every widget, but could otherwise be shared with relevant widgets. I modified the counter example to try to illustrate a simple example of my confusion.
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

// A Counter example implemented with riverpod

void main() {
  runApp(
    // Adding ProviderScope enables Riverpod for the entire project
    const ProviderScope(child: MyApp()),
  );
}

class MyApp extends StatelessWidget {
  const MyApp({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(home: Home());
  }
}

/// Providers are declared globally and specifies how to create a state
final counterProvider = StateProvider((ref) => 0);

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Counter example')),
      body: Center(
        // Consumer is a widget that allows you reading providers.
        // You could also use the hook "useProvider" if you uses flutter_hooks
        child: Column(
          children: [
            Counter(),
            Counter(),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        // The read method is an utility to read a provider without listening to it
        onPressed: () {},
        child: const Icon(Icons.add),
      ),
    );
  }
}

class Counter extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Column(
        children: [
          Consumer(builder: (context, watch, _) {
            final count = watch(counterProvider).state;
            return Text('$count');
          }),
          FloatingActionButton(
            // The read method is an utility to read a provider without listening to it
            onPressed: () => context.read(counterProvider).state++,
            child: const Icon(Icons.add),
          ),
        ],
      ),
    );
  }
}

Assuming that there are multiple widgets using the same provider (like Counter) and that it doesn't make sense to have them share state, the correct solution isn't apparent. Should you not use riverpod in this case? One solution is to move the counterProvider into the Counter as a private member, but the documentation is unclear if that is okay as it always shows provider declarations in the global scope. Is the solution to use ScopedProvider/ProviderScope? If so then the documentation for it are scarce and don't reference an issue like this.
I am new to riverpod so maybe the solution is apparent, I apologize if it is. Obviously this example is intentionally simple and there are more examples I could give if necessary but hopefully it conveys the general confusion.

That is not a good idea, no.
You could run into issues where a state does not reset properly when the widget is destroyed. Or if you use that widget in multiple places, those different instances may not want to share state
Providers aren't made for local state
What are you trying to solve by doing that?

Providers aren’t made for local state

Yeah that’s all I needed to know. Like I said riverpod didn’t seem to fit in the scenario that I am painting but I was making sure of that.
The reason I asked was for two reasons. First, the way you can compose and combine providers is handy and could be useful in constructing local state behavior. Second, I got the feeling that riverpod was meant for global state but wasn’t ever explicitly mentioned in the docs. The reason I didn’t assume it was for global state only and just move on was because “state management” is such a broad term, especially in the Flutter community. Sometimes “state management” libraries are exclusively for local/emphermal state, some are for global, and some are even for both. Perhaps there is value in clarifying that that in the docs

If you can distinguish local scopes by some key, maybe family can help?

If you're looking for local composable state, flutter_hooks is more fitting (but more advanced)


testapp - tags aren't displayed/added properly on questions

When I look in test.db from git, I see tags for both questions - but when I look at those forms on the webpage, no tags are displayed.
If I try to add my own tags, the first one seems to be properly saved to the tags table, but not subsequent tags. And only the first tag is associated with the question. And, the old tags that used to be associated with the question aren't anymore.
Am I missing something?

Here's some more detail on this issue - this time from an actual project I'm working on:
I am using a modified HeavyModelSelect2TagField for some keywords, and the widget is a HeavySelect2TagWidget with '\t' as the tokenSeparator and createSearchChoicePosition = 'bottom'. The code works great on Firefox and Chrome.
However, on Safari I'm seeing some issues. If I've entered two values in the field, when the page loads, it doesn't see the two values. I've traced the issue to the onInit: function in heavy_data.js - the 'val' variable is supposed to have two values (eg. 33,34), but on Safari, it only has the first one (eg. 33). It's pulling the this value from the event: val = e.select2('val');
My jquery version is 1.11.3.
Has anyone else seen this issue? Any thoughts on how to fix it?

+1 Facing the same issue on Safari 8.0.5

@codingjoe Was this resolved or something?

@vikasgulati I closed the bug with the release of version 5. Since we updated jQuery to version 2 as well as Select2 to version 4. This bug should also be covered by tests now.
Let me know if you're still having the same issue.

@codingjoe Thanks for the details. Would check and let you know.

@vikasgulati sorry about the confusion. I closed all issues with the version 5 release, since its a complete rewrite. I should have left a comment when I closed the issue.


Breaks on properties with an inline comment including curly braces

Essentially, the following doesn't work correctly, and throws errors rather than actually accepting it as valid css:
a {color: #000 /*{a}*/;}
There were some other combinations with braces inside comments that cause problems, but it's hard to tell if they all have the same underlying problem or not.

Sounds strange, could you please post the error you get?


Removed the old packages and integrated the upcoming sdk-py package

New python sdk 0.9.0 seems over engineered with all the new computers and converters. Could have been easier to have a single object with the necessary functionalities


throw e; // process.nextTick error, or 'error' event on first tick

Hello, I have setup a local windows 7 server that I was going to test this out and it apears that when I run node server.js  it is having trouble locating the module? Any thoughts? Thank you for your help.
C:\wamp\www\webattle>node server.js

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: Cannot find module "C:\\wamp\\www\\webattle/lib/serializer" from director
y "C:\\wamp\\www\\webattle"
    at Wrap.require (C:\wamp\www\webattle\node_modules\browserify\lib\wrap.js:31
4:19)
    at include (C:\wamp\www\webattle\node_modules\browserify\lib\wrap.js:277:14)

    at Array.forEach (native)
    at Wrap.requireMultiple (C:\wamp\www\webattle\node_modules\browserify\lib\wr
ap.js:255:16)
    at Wrap.require (C:\wamp\www\webattle\node_modules\browserify\lib\wrap.js:28
9:21)
    at C:\wamp\www\webattle\node_modules\browserify\index.js:79:7
    at Object.<anonymous> (C:\wamp\www\webattle\server.js:9:32)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)

I haven't tested it on windows, it looks I have hardcoded the paths using forward slash, whereas windows is using backwards slashes C:\\wamp\\www\\webattle/lib/serializer.
It'd be nice if you could try to fix this issue and get a OS-aware paths in require statements and submit a pull request :)

Okay, I will give that a try - thank you!

I found it easier to setup a ubuntu server for live testing - windows is still a bit shakey when it comes to node.js


Help me

When I give myself a quest by the admin team an error occurs and when I reload the plugin or take the quest the NPC gets a warning

"Help me" does not assist me with understanding the issue. I will update your title to something more descriptive.
It appears your quests.yml file may be corrupted. Try running it through a YAML parser such as this (not affiliated).


bugfix: fix the issue of saved branch session status does not match the actual branch session status

…he actual branch session status(https://github.com/seata/seata/issues/5953)

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

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

Personal opinion, if we simply change

branchSession.setStatus(BranchStatus.Registered);

to changeBranchStatus(branchSession, BranchStatus.Registered);

not only can we fix the issue, but we can also track the changes in status. It seems more reasonable, but the downside is that we need to writeSession twice.

Personal opinion, if we simply change

branchSession.setStatus(BranchStatus.Registered);

to changeBranchStatus(branchSession, BranchStatus.Registered);

not only can we fix the issue, but we can also track the changes in status. It seems more reasonable, but the downside is that we need to writeSession twice.

Personal opinion, lifecycleListener.onAddBranch() means add branch session, as long as the branch session can be added successfully, then the initial state of the branch session should be Registered, because at this time the branch session has been associated with the global session through the xid, since it has been associated, then the initial state should not be Unknown.
So I think it makes more sense to set the state to Registered before lifecycleListener.onAddBranch().

Personal opinion, lifecycleListener.onAddBranch() means add branch session, as long as the branch session can be added successfully, then the initial state of the branch session should be Registered, because at this time the branch session has been associated with the global session through the xid, since it has been associated, then the initial state should not be Unknown.
So I think it makes more sense to set the state to Registered before lifecycleListener.onAddBranch().
------------------ 原始邮件 ------------------
发件人: "Lei @.>;
发送时间: 2023年10月25日(星期三) 上午8:05
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [seata/seata] bugfix: fix the issue of saved branch session status does not match the actual branch session status (PR #5954)
Personal opinion, if we simply change

branchSession.setStatus(BranchStatus.Registered);

to changeBranchStatus(branchSession, BranchStatus.Registered);

not only can we fix the issue, but we can also track the changes in status. It seems more reasonable, but the downside is that we need to writeSession twice.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

globalsession is in the future refactoring plan, it will be clearly differentiated from the sessionmanager's responsibilities, and this change is better suited to changes in SessionHelper#newBranchByGlobal

make sense, the init state should be Registered(which means ininted here) when construct a new branch from global session

globalsession is in the future refactoring plan, it will be clearly differentiated from the sessionmanager's responsibilities, and this change is better suited to changes in SessionHelper#newBranchByGlobal

make sense, the init state should be Registered(which means ininted here) when construct a new branch from global session

ok, I get it.

I think the reason why I didn't change the state to memory when I added the branchsession is because of these points:

there is an overhead of inserting and updating twice, which has a big impact on the db and redis schema
the state of the branchsession is of no use to tc, except for the state of a failed stage.

我认为当时为什么在加入该branchsession时，没有将状态更改到存储器中的原因应该是这几点：

存在insert与update 两次开销，对于db和redis模式影响较大
branchsession的状态除了一阶段失败这个状态外，对于tc而言没有其他用处

Yes, only PhaseOne_Failed status is used by TC。personal opinion, there are two solutions:

set the initial state to Registered when creating the branch session.
set Registered status like global session how to set begin status：initial status is still Unknown but set status as begin before lifecycleListener.onBegin(this) writes to db/redis/file (which is what my PR did)

是的，只有PhaseOne_Failed状态被TC使用到。个人观点，解决办法有两种：

在创建branch session时就直接将初始状态设置为Registered
像global session设置begin状态那样去处理：初始状态仍然为Unknown状态，但是在lifecycleListener.onBegin(this)将global session写入到db/redis/file之前将状态设置为begin（这也是我提交的PR所做的）

I think the reason why I didn't change the state to memory when I added the branchsession is because of these points:

there is an overhead of inserting and updating twice, which has a big impact on the db and redis schema
the state of the branchsession is of no use to tc, except for the state of a failed stage.

我认为当时为什么在加入该branchsession时，没有将状态更改到存储器中的原因应该是这几点：

存在insert与update 两次开销，对于db和redis模式影响较大
branchsession的状态除了一阶段失败这个状态外，对于tc而言没有其他用处

Yes, only PhaseOne_Failed status is used by TC。personal opinion, there are two solutions:

set the initial state to Registered when creating the branch session.
set Registered status like global session how to set begin status：initial status is still Unknown but set status as begin before lifecycleListener.onBegin(this) writes to db/redis/file (which is what my PR did)

是的，只有PhaseOne_Failed状态被TC使用到。个人观点，解决办法有两种：

在创建branch session时就直接将初始状态设置为Registered
像global session设置begin状态那样去处理：初始状态仍然为Unknown状态，但是在lifecycleListener.onBegin(this)将global session写入到db/redis/file之前将状态设置为begin（这也是我提交的PR所做的）

I'm more in favor of option 1, and I wonder what others think?
我更赞成方案1,不知道大家怎么看? @slievrly

I think the reason why I didn't change the state to memory when I added the branchsession is because of these points:

there is an overhead of inserting and updating twice, which has a big impact on the db and redis schema
the state of the branchsession is of no use to tc, except for the state of a failed stage.

我认为当时为什么在加入该branchsession时，没有将状态更改到存储器中的原因应该是这几点：

存在insert与update 两次开销，对于db和redis模式影响较大
branchsession的状态除了一阶段失败这个状态外，对于tc而言没有其他用处

Yes, only PhaseOne_Failed status is used by TC。personal opinion, there are two solutions:

set the initial state to Registered when creating the branch session.
set Registered status like global session how to set begin status：initial status is still Unknown but set status as begin before lifecycleListener.onBegin(this) writes to db/redis/file (which is what my PR did)

是的，只有PhaseOne_Failed状态被TC使用到。个人观点，解决办法有两种：

在创建branch session时就直接将初始状态设置为Registered
像global session设置begin状态那样去处理：初始状态仍然为Unknown状态，但是在lifecycleListener.onBegin(this)将global session写入到db/redis/file之前将状态设置为begin（这也是我提交的PR所做的）

I'm more in favor of option 1, and I wonder what others think? 我更赞成方案1,不知道大家怎么看? @slievrly

agree with option 1

We should have agreed on this, please make the initial state changes in newBranchByGlobal.

We should have agreed on this, please make the initial state changes in newBranchByGlobal.

Okay, I've changed it.


Upload fails on Linux due to Mac-specific script in platformio.ini

My Linux system complains that osascript doesn't exist in the post-upload step, due to mac-post-upload.py. Could platformio.ini be set up to only run this step on Mac systems? Or maybe add an OS check to mac-post-upload.py?
I was able to get the upload to work by just removing the script from platformio.ini.
(I may submit a pull request for this later, just wanted to throw it out there in case someone else wanted to get to it before me since it's probably not too complicated)

@dustin-richards-was-here thanks so much for raising this!


Tenant could not be mounted because  of missing apps although the apps are installed

I am trying to install an online database in a local sandbox. For this I followed the principle of https://freddysblog.com/2021/03/02/restoring-your-online-business-central-database-locally/. But a little bit modified.

I have taken the same sandbox version as the online version
I exported the app database from the sandbox as bacpac and imported it into azure sql
I exported a backup of the online tenant and imported it as bacpac into azure sql
I start the local sandbox as multitenant and take app-database on azure sql
I publish all non defaults apps in the app-database

This works up to here without problems
Then I mount the tenant database from azure sql and get the message
The tenant default could not be mounted because the following installed NAV extensions are missing, matching content
could not be found, or have a higher version than those that are published and synchronized:

But only for a few extensions - not for all. The missing extensions are installed with the same name, publisher and version like I can see in the tenant database in Select * from [dbo].[NAV App Installed App]. These apps are installed before the tenant backup was created. They are the same.
Does anybody know why this happens or how can I investigate in that?

Did you try Get-BcContainerEventLog to see if there is any info in the eventlog about which app and whY?

In the Eventlog I can only see the same error like in powershell.
There are a total of 13 non-default apps published in the app database, but 6 have this error.
Type: System.ServiceModel.FaultException`1[[Microsoft.Dynamics.Nav.Types.ServerFault, Microsoft.Dynamics.Nav.Types, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]
Action: http://www.microsoft.com/Dynamics/NAV/51/ServerFault
Message:
The tenant default could not be mounted because the following installed NAV extensions are missing, matching content could not be found, or have a higher version than those that are published and synchronized:
"app" by publisher, version 18.1801.20210615.0
"app" by publisher, version <IP_ADDRESS>
"app" by publisher, version <IP_ADDRESS>
"app" by publisher, version <IP_ADDRESS>
"app*" by publisher, version <IP_ADDRESS>
"app" by publisher, version <IP_ADDRESS>.
StackTrace:
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Nav.Types.ITenantManagementService.MountTenant(MountTenantArguments mountTenantArguments)
at Microsoft.Dynamics.Nav.Management.Cmdlets.MountNavTenant.MountUsingServer(NavTenantSettings settings)
at Microsoft.Dynamics.Nav.Management.Cmdlets.MountNavTenant.InternalProcessRecord()
at Microsoft.Dynamics.Nav.Management.NavCommand.ProcessRecord()
Source: mscorlib
HResult: -2146233087
StackTrace:
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Nav.Types.ITenantManagementService.MountTenant(MountTenantArguments mountTenantArguments)
at Microsoft.Dynamics.Nav.Management.Cmdlets.MountNavTenant.MountUsingServer(NavTenantSettings settings)
at Microsoft.Dynamics.Nav.Management.Cmdlets.MountNavTenant.InternalProcessRecord()
at Microsoft.Dynamics.Nav.Management.NavCommand.ProcessRecord()

Did you try with a SQL Server on the host (like the blog post describes)?
Does that give the same problem?

It is the same problem.
I have installed a local SQLExpress on the host and imported the app database and backup with the management studio as bacpac.

OK - did you try to run a SQL script to modify the Package ID in the database?

I was able to fix it by adjusting the PackageIds.

Could you share the script (SQL statements)?

Here's the container script part we used in AdditionalSetup.ps1 to mount the tenant from a SaaS backup (after publishing and installing all needed apps before):
Write-Host "HANDLING SaaS BAKFILE"

$bak = $env:saasbakfile
$tenantId = "saas"

Write-Host " - Restoring SaaS db"
New-NAVDatabase -DatabaseServer $DatabaseServer `
                    -DatabaseInstance $DatabaseInstance `
                    -DatabaseName "$tenantId" `
                    -FilePath "$bak" `
                    -DestinationPath "$databaseFolder" `
                    -Timeout $SqlTimeout -Force | Out-Null

Write-Host " - Adapting package IDs"
$diffPackageIds = Invoke-Sqlcmd -Query "select da.[App ID], da.[Package ID] FROM [default].[dbo].[NAV App Installed App] da JOIN [$tenantId].[dbo].[NAV App Installed App] ta ON da.[App ID] = ta.[App ID] AND da.[Version Major] = ta.[Version Major] AND da.[Version Minor] = ta.[Version Minor] AND da.[Version Build] = ta.[Version Build] AND da.[Version Revision] = ta.[Version Revision] AND da.[Package ID] != ta.[Package ID]"
foreach ($app in $diffPackageIds) {
    Invoke-Sqlcmd -Database $tenantId -Query "UPDATE [dbo].[NAV App Installed App] SET [Package ID] = '$($app.'Package ID')' WHERE [App ID] = '$($app.'App ID')'"
}

Write-Host " - Replacing default tenant database with new SaaS database"
Dismount-NAVTenant -ServerInstance $ServerInstance -Tenant "default" -Force
Invoke-SqlCmd -Query "alter database [default] set single_user with rollback immediate; DROP DATABASE [default]"
Invoke-SqlCmd -Query "ALTER DATABASE $tenantId SET SINGLE_USER WITH ROLLBACK IMMEDIATE; ALTER DATABASE $tenantId MODIFY NAME = [default]; ALTER DATABASE [default] SET MULTI_USER"
$tenantId = "default"

Write-Host " - Mounting SaaS tenant"
Mount-NavTenant `
    -ServerInstance $ServerInstance `
    -id $tenantId `
    -databasename $tenantId `
    -databaseserver $DatabaseServer `
    -databaseinstance $DatabaseInstance `
    -EnvironmentType Sandbox `
    -OverwriteTenantIdInDatabase `
    -Force

Write-Host " - Syncing new tenant"
Sync-NavTenant `
    -ServerInstance $ServerInstance `
    -Tenant $tenantId `
    -Force

Write-Host " - Syncing all apps"
for ($i = 0; $i -lt 10; $i++) {
    Get-NAVAppInfo -ServerInstance $ServerInstance -Tenant $tenantId | Sync-NAVApp -ServerInstance $ServerInstance -Tenant $tenantId -ErrorAction silentlycontinue -WarningAction silentlycontinue
}

Write-Host " - Upgrading all apps"
Get-NAVAppInfo -ServerInstance $ServerInstance -Tenant $tenantId | Start-NAVAppDataUpgrade -ServerInstance $ServerInstance -Tenant $tenantId -ErrorAction silentlycontinue

Write-Host " - Upgrading tenant"
Start-NAVDataUpgrade `
        -ServerInstance $ServerInstance `
        -Tenant $tenantId `
        -Force `
        -FunctionExecutionMode Serial `
        -SkipIfAlreadyUpgraded
Get-NAVDataUpgrade `
    -ServerInstance $ServerInstance `
    -Tenant $tenantId `
    -Progress

Write-Host " - Create user in new tenant"
New-NAVServerUser -ServerInstance $ServerInstance -Tenant $tenantId -UserName $env:username -Password $securePassword
New-NAVServerUserPermissionSet -ServerInstance $ServerInstance -Tenant $tenantId -UserName $env:username -PermissionSetId SUPER

Write-Host " - Importing License to new tenant"
Invoke-Sqlcmd -Database $tenantId -Query "truncate table [dbo].[Tenant License State]"
Import-NAVServerLicense -ServerInstance $ServerInstance -Tenant $tenantId -LicenseFile "$runPath\license.flf" -Database Tenant
Set-NAVServerInstance -ServerInstance $ServerInstance -Restart