feat: rebuild only necessary canisters

Description
DFX doesn't compile canisters for which all dependencies are elder than the .wasm file. This results in big compilation speedups.
The PR also adds tracing and comments intended for future improvement of compilation speed.
This PR is a WIP. There is potential for further speedup and there is missing logging. More testing is necessary.
How Has This Been Tested?
I run it before the .wasm file has been created and after it with a significant speedup. Also dfx build -vv correctly does not output any moc compilation logs, when invoking dfx build for the second time..
Checklist:

[x] The title of this PR complies with Conventional Commits.
[x] I have edited the CHANGELOG accordingly.
[x] I have made corresponding changes to the documentation.

dfx deploy of my current DFX version running in https://github.com/vporton/zondirectory2 repo causes an infinite loop (but dfx build --all doesn't).

The last commit (79faa772dd3b8a7683ed9670a1447ecd0b2893ba) seems working!
Also note that unlike the original (master) code, my code does recompile dependent canisters (canister:* dependencies) when a dependency changed.
The code needs refactoring and more serious testing.

Testing shows a bug: When specifying a dependency to buold: dfx build dependency, the dependent canister may recompile, too.

The latest version commit 030f9af902515edd70d60acde5d2cb547c200b40 works as expected on simple (manual) tests (with more tests than the past time).
You may try to use it for your home projects, but don't try it for mission-critical tasks or if you fear to be lost in wrong recompilations, because errors are still possible.

Fixed crash on dfx build --all (creates a new bug, about compiling non-Motoko canister: dependencies).

Automated tests in make_like.bash passed.
There are yet several FIXME and TODO in the source.

Sorry for the confusion: Some versions above were non-functional. The last version passed my test make_like.bash.
Yet need to test for the case when zero arguments to dfx build or dfx deploy provided. There has been no testing at all for dfx generate.

The apparently working version is created. Please, do code review.
It can be tested by bats tests-dfx/make_like.bash.

When trying to compile https://github.com/vporton/zondirectory2 by my updated DFX, errors show up. Additional research is needed.

New e2e test add_dependency.bash fails. Need to correct it before merging to master.

New e2e test add_dependency.bash fails. Need to correct it before merging to master.

Apparently I just forgot to recompile dfx before testing. It works now. Probably, you should now merge to master.

When I tried to compile a real software, it still bugs.

I've found an error: My function traverse2 in src/dfx/src/lib/graph/traverse_filtered.rs is totally wrong.

The bug is fixed. It has been tried to compile real software with updated DFX and it seems to work (except that the "real software" is now not fully compilable because of frontend TypeScript errors).
Probably, appropriate to merge this to master.

After updating DFX to my version in a real project MS Code produces error message like file "/home/porton/Projects/zondirectory2/.dfx/local/lsp/be2us-64aaa-aaaaa-qaabq-cai.did" does not exist for import order "canister:order"; (despite I did deploy the order canister). I poorly understand what LSP is and how it should be used.
Please, help to debug.

After updating DFX to my version in a real project MS Code produces error message like file "/home/porton/Projects/zondirectory2/.dfx/local/lsp/be2us-64aaa-aaaaa-qaabq-cai.did" does not exist for import order "canister:order"; (despite I did deploy the order canister). I poorly understand what LSP is and how it should be used.
Please, help to debug.

https://github.com/dfinity/sdk/discussions/3732 shows a related hard to reproduce (it seems not to appear most of the time) and hard to understand why bug. Any ideas?

After updating DFX to my version in a real project MS Code produces error message like file "/home/porton/Projects/zondirectory2/.dfx/local/lsp/be2us-64aaa-aaaaa-qaabq-cai.did" does not exist for import order "canister:order"; (despite I did deploy the order canister). I poorly understand what LSP is and how it should be used.
Please, help to debug.

#3732 shows a related hard to reproduce (it seems not to appear most of the time) and hard to understand why bug. Any ideas?

I reproduced this bug not only with my development version but also with stable 0.19.0:
https://github.com/dfinity/sdk/issues/3733

Attempt to import undefined canister: causes a backtrace.

After updating DFX to my version in a real project MS Code produces error message like file "/home/porton/Projects/zondirectory2/.dfx/local/lsp/be2us-64aaa-aaaaa-qaabq-cai.did" does not exist for import order "canister:order"

Bug fixed.

Attempt to import undefined canister: causes a backtrace.

Bug fixed.
So, all known bugs are fixed. Please, review code and merge to master.
Meanwhile, I will try to use new DFX in my other project.

Sorry, testing on a real use case:

thread 'main' panicked at src/dfx/src/lib/canister_info.rs:227:17:
It is only valid to call get_canister_id after setting the canister id.

thread 'main' panicked at src/dfx/src/lib/canister_info.rs:227:17:
It is only valid to call get_canister_id after setting the canister id.

This was an incompatibility with #3719 - fixed.
Also fixed several bugs with the above commits. After this I succeeded to use new DFX to compile https://github.com/vporton/zondirectory2

"Field testing" trying to compile https://github.com/vporton/zondirectory2 triggers a bug.

After fixing a bug, https://github.com/vporton/zondirectory2 successfully compiled. There are no known bugs introduced in this PR ATM. However, it needs refactoring.

Ugh, compiling zondirectory2 still bugs.

Ugh, compiling zondirectory2 still bugs.

The bug was fixed.
Now this PR has no remaining known bugs except that it seems to read Motoko dependencies from this two or more times (on deploy). Also the function add_imports needs refactoring.

I've fixed the issue of calling moc --print-deps more than once for a given file.
However a small issue remains: it outputs Building dependencies graph. twice on dfx deploy.
No other remaining issues. What's about code review?

This MR has been "battle-tested" a little. It worked as expected in compiling https://github.com/vporton/zondirectory2 and in testing https://github.com/vporton/joining-proxy-rust without any visible errors.

There has been found yet a bug:
Compiling https://github.com/vporton/zondirectory2/commit/b145a4c57de8c28b34dd64ffbd4bace9bc607f2b it was output:
...
The command '"moc-wrapper" "src/backend/personhood.mo" "-o" "/home/porton/Projects/zondirectory/.dfx/local/canisters/personhood/personhood.wasm" "-c" "--debug" "--idl" "--stable-types" "--public-metadata" "candid:service" "--public-metadata" "candid:args" "--actor-idl" "/home/porton/Projects/zondirectory/.dfx/local/canisters/idl/" "--actor-alias" "CanDBIndex" "bkyz2-fmaaa-aaaaa-qaaaq-cai" "--actor-alias" "ic_eth" "avqkn-guaaa-aaaaa-qaaea-cai" "--package" "base"<EMAIL_ADDRESS>"--package" "candb" ".mops/_github/candb#no-blob/src" "--package" "nacdb"<EMAIL_ADDRESS>"--package" "stable-rbtree"<EMAIL_ADDRESS>"--package" "stable-buffer" ".mops/_github/stable-buffer#v0.2.0/src" "--package" "prng"<EMAIL_ADDRESS>"--package" "stableheapbtreemap"<EMAIL_ADDRESS>"--package" "sha2"<EMAIL_ADDRESS>"--package" "stablebuffer" ".mops/_github/stablebuffer#v0.2.0/src" "--package" "StableBuffer" ".mops/_github/StableBuffer#v0.2.0/src" "--package" "icrc1"<EMAIL_ADDRESS>"--package" "array" ".mops/_github/array#main/src" "--package" "StableTrieMap" ".mops/_github/StableTrieMap#main/src" "--package" "itertools"<EMAIL_ADDRESS>"--package" "base-0.7.3" ".mops/_github/base-0.7.3#aafcdee0c8328087aeed506e64aa2ff4ed329b47/src" "--package" "xtendedNumbers" ".mops/_github/xtendedNumbers#v1.1.0/src" "--package" "motoko-lib" ".mops/_github/motoko-lib#0.7/src" "--package" "map7" ".mops/_github/map7#v7.0.0/src" "--package" "sha" ".mops/_github/sha#master/src" "--package" "matchers" ".mops/_github/matchers#v1.3.0/src" "--package" "map"<EMAIL_ADDRESS>"--package" "btree" ".mops/_github/btree#v0.3.3/src" "--package" "CanDBMulti" ".mops/_github/CanDBMulti#v0.10.0@86d00711216349ba4879370d6313d44a26d16f61/src" "--package" "xtended-numbers"<EMAIL_ADDRESS>"--package" "json.mo"<EMAIL_ADDRESS>"--package" "parser-combinators" ".mops/_github/parser-combinators#v0.1.2/src" "--package" "nacdb-reorder"<EMAIL_ADDRESS>"--package" "passport-client"<EMAIL_ADDRESS>"--package" "sequence" ".mops/_github/sequence#366c419@366c4191d856ed4842267f5ab89d7222ed2d71d0/src" "--package" "stable-hash-map" ".mops/_github/stable-hash-map#v0.2.1@eb7edf4127233f2b1f3732ede7e2c55827ac6886/src" "--package" "encoding" ".mops/_github/encoding#v0.3.2@8e0fe1d8f5c2d284e77d719703c42e0e271839b1/src" "--package" "candy" ".mops/_github/candy#v0.3.0@907a4e7363aac6c6a4e114ebc73e3d3f21e138af/src" "--package" "stablebuffer_1_3_0" ".mops/_github/stablebuffer_1_3_0#v1.3.0@acdde6bb5b939227997cebdbb8919d2e6da8691c/src" "--package" "map9" ".mops/_github/map9#v9.0.1@10b68f6ea8df5e72dfa4c07a50c8bb60a916c233/src" "--package" "candb-multi"<EMAIL_ADDRESS>"--package" "test"<EMAIL_ADDRESS>"--package" "date.mo" ".mops/_github/date.mo#master@cfe51ad7d8a576d53e701136d4234233b94970eb/src" "--package" "testing" ".mops/_github/testing#main/src" "--package" "fmt" ".mops/_github/fmt#v0.1.0/src" "--package" "motoko-sequence" ".mops/_github/motoko-sequence#366c419@366c4191d856ed4842267f5ab89d7222ed2d71d0/src" "-fshared-code" "--actor-idl" ".dfx/local/lsp"' failed with exit status 'exit status: 1'. Stdout:
Stderr: src/backend/personhood.mo:5.1-5.40: import error [M0009], file ".dfx/local/lsp/bkyz2-fmaaa-aaaaa-qaaaq-cai.did" does not exist
That's weird, because src/backend/personhood.mo:5.1-5.40 is about import ic_eth "canister:ic_eth"; while bkyz2-fmaaa-aaaaa-qaaaq-cai is a different canister, CanDBIndex.
Moreover, .dfx/local/lsp/bkyz2-fmaaa-aaaaa-qaaaq-cai.did (CanDBIndex) doesn't exist and .dfx/local/lsp/avqkn-guaaa-aaaaa-qaaea-cai.did (ic_eth) exists.

I've removed "that's weird" from my comment, because it has been written by me in error.

Note that the above error was caused by dfx start --background --clean && dfx deploy frontend.

There has been found yet a bug:

I run dfx deploy frontend 15 times and wasn't able to reprise the above bug. Probably, I just installed a wrong version of dfx and there is no bug in this version. I will keep using it in practice.

I've fixed a serious bug.

Found bugs, while attempting deploying a real app to ic network:

ic_eth (Rust) canister was decided to be compiled after a Motoko canister dependent on it.
Trying to deploy a real app to ic network:

Caused by: The command '"moc-wrapper" "/home/porton/Projects/zondirectory/src/backend/personhood.mo" "-o" "/home/porton/Projects/zondirectory/.dfx/ic/canisters/personhood/personhood.wasm" "-c" "--debug" "--idl" "--stable-types" "--public-metadata" "candid:service" "--public-metadata" "candid:args" "--actor-idl" "/home/porton/Projects/zondirectory/.dfx/ic/canisters/idl/" "--actor-alias" "CanDBIndex" "n674v-zqaaa-aaaap-qbpza-cai" "--actor-alias" "ic_eth" "jrzee-liaaa-aaaap-qhnoa-cai" "--package" "base"<EMAIL_ADDRESS>"--package" "candb" ".mops/_github/candb#no-blob/src" "--package" "nacdb"<EMAIL_ADDRESS>"--package" "stable-rbtree"<EMAIL_ADDRESS>"--package" "stable-buffer" ".mops/_github/stable-buffer#v0.2.0/src" "--package" "prng"<EMAIL_ADDRESS>"--package" "stableheapbtreemap"<EMAIL_ADDRESS>"--package" "sha2"<EMAIL_ADDRESS>"--package" "stablebuffer" ".mops/_github/stablebuffer#v0.2.0/src" "--package" "StableBuffer" ".mops/_github/StableBuffer#v0.2.0/src" "--package" "icrc1"<EMAIL_ADDRESS>"--package" "array" ".mops/_github/array#main/src" "--package" "StableTrieMap" ".mops/_github/StableTrieMap#main/src" "--package" "itertools"<EMAIL_ADDRESS>"--package" "base-0.7.3" ".mops/_github/base-0.7.3#aafcdee0c8328087aeed506e64aa2ff4ed329b47/src" "--package" "xtendedNumbers" ".mops/_github/xtendedNumbers#v1.1.0/src" "--package" "motoko-lib" ".mops/_github/motoko-lib#0.7/src" "--package" "map7" ".mops/_github/map7#v7.0.0/src" "--package" "sha" ".mops/_github/sha#master/src" "--package" "matchers" ".mops/_github/matchers#v1.3.0/src" "--package" "map"<EMAIL_ADDRESS>"--package" "btree" ".mops/_github/btree#v0.3.3/src" "--package" "xtended-numbers"<EMAIL_ADDRESS>"--package" "json.mo" ".mops/_github/json.mo#master@49612cf3865dc24bca7bb0e8b6fcf275d11a8cb2/src" "--package" "parser-combinators" ".mops/_github/parser-combinators#main/src" "--package" "nacdb-reorder"<EMAIL_ADDRESS>"--package" "cycles-simple"<EMAIL_ADDRESS>"--package" "stablehashmap"<EMAIL_ADDRESS>"--package" "candb-multi"<EMAIL_ADDRESS>"--package" "stable-hash-map" ".mops/_github/stable-hash-map#v0.2.1@eb7edf4127233f2b1f3732ede7e2c55827ac6886/src" "--package" "encoding" ".mops/_github/encoding#v0.3.2@8e0fe1d8f5c2d284e77d719703c42e0e271839b1/src" "--package" "candy" ".mops/_github/candy#v0.3.0@907a4e7363aac6c6a4e114ebc73e3d3f21e138af/src" "--package" "stablebuffer_1_3_0" ".mops/_github/stablebuffer_1_3_0#v1.3.0@acdde6bb5b939227997cebdbb8919d2e6da8691c/src" "--package" "map9" ".mops/_github/map9#v9.0.1@10b68f6ea8df5e72dfa4c07a50c8bb60a916c233/src" "--package" "join-proxy-motoko" ".mops/_github/join-proxy-motoko#master@3582456b29cb81e0e304f7df2a3935da670725f6/src" "--package" "parser-combinators.mo" ".mops/_github/parser-combinators.mo#master@f87c9417ab145017fb1f83e19ec2fc45588dbd41/src" "--package" "passport-client"<EMAIL_ADDRESS>"--package" "sequence" ".mops/_github/sequence#366c419@366c4191d856ed4842267f5ab89d7222ed2d71d0/src" "--package" "test"<EMAIL_ADDRESS>"--package" "date.mo" ".mops/_github/date.mo#master@cfe51ad7d8a576d53e701136d4234233b94970eb/src" "--package" "testing" ".mops/_github/testing#main/src" "--package" "fmt" ".mops/_github/fmt#v0.1.0/src" "--package" "motoko-sequence" ".mops/_github/motoko-sequence#366c419@366c4191d856ed4842267f5ab89d7222ed2d71d0/src"' failed with exit status 'exit status: 1'.
Stdout:

Stderr:
/home/porton/Projects/zondirectory/src/backend/personhood.mo:5.1-5.40: import error [M0009], file "/home/porton/Projects/zondirectory/.dfx/ic/canisters/idl/n674v-zqaaa-aaaap-qbpza-cai.did" does not exist
/home/porton/Projects/zondirectory/src/backend/personhood.mo:6.1-6.32: import error [M0009], file "/home/porton/Projects/zondirectory/.dfx/ic/canisters/idl/jrzee-liaaa-aaaap-qhnoa-cai.did" does not exist
/home/porton/Projects/zondirectory/src/backend/personhood.mo:9.1-9.56: import error [M0009], file "/home/porton/Projects/zondirectory/src/libs/configs/passport.config/lib.mo" does not exist


make VFOX_PYTHON_MIRROR variable works

Make VFOX_PYTHON_MIRROR variable works

export VFOX_PYTHON_MIRROR=https://mirrors.huaweicloud.com/python/

Thanks for the first contribution! ;)


Add stac opacity control

Added an opacity slider associated with the STAC layer to address the 3rd item in these review notes brought up by @jjfrench.
Still need to update a corresponding image in the maap-documentation, if/when approved.

Can you drop the screenshot in the comments here?

@emmalu Can you drop the screenshot in the comments here?

cc @heidimok

Quick demo video

Could bump the version, especially if you plan on including it in the UWG presentation. Otherwise do you do a beta version?


[Enhancement]: Whack A Mole

Is your enhancement request related to a problem? Please describe.➕
Increase the playing grid size
Describe the solution you'd like
Use the display grid of CSS
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @whiteknight16 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hello @whiteknight16, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @whiteknight16 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Weird Ordering Behviour in GetAccountAssetTransactions

Hello guys, and thank you so much for this wonderful piece of "blockchain-for-the-rest-of-us" technology 😄
As we're trying to implement "transaction ordering" in GetAccountAssetTransactions in the Python Client PR here, We run into a weird situation. Passing an ordering sequence, when we ask for the latest transaction, we only get the one just before. We tried doing the same using the JS client, in which this feature was already implemented, and we ran into the same issue. So we concluded it might be related to how Iroha C++ code internally works.
It might be related to #1118
For instance, see this example scenario, as noted in the related Thread in the [PR] - in python.
  def get_account_transactions_different_order(user_account: str, user_private_key: str,
                                               asset_name: str, transactions_limit: int):
      ordering_sequence = [[queries_pb2.kPosition, queries_pb2.kDescending]]

      iroha2 = Iroha(user_account)
      query = iroha2.query('GetAccountAssetTransactions', account_id=user_account,
                           asset_id=asset_name, page_size=transactions_limit,
                           ordering_sequence=ordering_sequence)

      IrohaCrypto.sign_query(query, user_private_key)
      response = net.send_query(query)

      transactions = response.transactions_page_response.transactions
      for tx in transactions:
          transfer_tx = tx.payload.reduced_payload.commands[0].transfer_asset
          print(transfer_tx)

  if __name__ == '__main__':
      print_paragraph('Preparing')
      create_account(user_account, user_public_key)
      create_asset(ASSET_ID)
      add_coin_to_admin(ASSET_ID, 10000)

      print_paragraph('Creating transactions')
      perform_few_transactions(user_account, 21)

      print_paragraph('Quering as usual')
      get_account_transactions(user_account, user_private_key, ASSET_ID, 21)

      print_paragraph('Quering as with different order')
      get_account_transactions_different_order(user_account, user_private_key, ASSET_ID, 1)
  And the output for different ordering is strange:

The results are like so:
  ---------- Quering as usual : ----------
	  Entering "get_account_transactions"
  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 1"
  amount: "1"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 2"
  amount: "2"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 3"
  amount: "3"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 4"
  amount: "4"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 5"
  amount: "5"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 6"
  amount: "6"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 7"
  amount: "7"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 8"
  amount: "8"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 9"
  amount: "9"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 10"
  amount: "10"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 11"
  amount: "11"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 12"
  amount: "12"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 13"
  amount: "13"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 14"
  amount: "14"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 15"
  amount: "15"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 16"
  amount: "16"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 17"
  amount: "17"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 18"
  amount: "18"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 19"
  amount: "19"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 20"
  amount: "20"

  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 21"
  amount: "21"

	  Leaving "get_account_transactions"

  ---------- Quering as with different order : ----------
	  Entering "get_account_transactions_different_order"
  src_account_id: "admin@test"
  dest_account_id: "a@test"
  asset_id: "lemurcoin#test"
  description: "tx 20"
  amount: "20"

	  Leaving "get_account_transactions_different_order"

And this is how we tried to achieve the same via the JS client, getting the same behaviour:
const queryService = new QueryService(
  IROHA_ADDRESS,
  grpc.credentials.createInsecure()
)

queries.getAccountAssetTransactions({
  privateKey: adminPriv,
  creatorAccountId: adminId,
  queryService,
  timeoutLimit: 5000
}, {
  accountId: adminId,
  assetId: 'coin#test',
  pageSize: 1,
  firstTxHash: undefined,
  ordering: {
    field: 1,
    direction: 1
  }
}).then(a => {
  console.log(a);
  (a as any).transactionsList.forEach(element => {
    element.payload.reducedPayload.commandsList.forEach(element => {
      console.log(element.transferAsset)
    })
  })
}).catch(e => console.error(e))

for the output:
{
  transactionsList: [ { payload: [Object], signaturesList: [Array] } ],
  allTransactionsSize: 42,
  nextTxHash: '637de0e7321b40627b2152bad651f4da1a26d11d47cf1c960c2034313eaa7c69'
}
{
  srcAccountId: 'alice@test',
  destAccountId: 'a@test',
  assetId: 'coin#test',
  description: 'tx 20',
  amount: '20'
}

Can you please assist ?

Hello, any one had a chance to look into this guys ?

Hello. Last time we had much things to do. There was no time to support. Is it still actual?

Hey 👋
Yeah indeed, ordering transactions is indeed something very important, we
as a major marketplace in Tunisia do need it to fuel our users' wallets :)
Thank you so much,
Cheers
Le mer. 14 juil. 2021 à 14:44, kuvaldini @.***> a
écrit :

Hello. Last time we had much things to do. There was no time to support.
Is it still actual?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/iroha/issues/1122#issuecomment-879905169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVGQH7IB6ZXBUH4BUE7T7DTXWIE7ANCNFSM47WS2JGA
.

Hello Guys, Sorry to ask again, but any one had some spare cycles to look into this ?

If you could contribute, we appreciate any effort!

This issue was reported again by Grzegorz Bazior in Telegram at Jul 29, 2022.

@6r1d Today I've checked with RocksDB instead of Postgres and ordering doesn't look to work at all:
When running:
https://github.com/hyperledger/iroha-python/blob/main/examples/tx-ordering.py here is end of output:
         > Entering "get_account_transactions"
Transaction: admin@test -> aa@test,lemurcoin#test*1: "tx 1". Created: 2022-08-25T03:34:55.851000<PHONE_NUMBER>851)
Transaction: admin@test -> aa@test,lemurcoin#test*2: "tx 2". Created: 2022-08-25T03:34:56.857000<PHONE_NUMBER>857)
Transaction: admin@test -> aa@test,lemurcoin#test*3: "tx 3". Created: 2022-08-25T03:34:57.864000<PHONE_NUMBER>864)
         < Leaving "get_account_transactions"
---------- Quering as with reversed order: ----------
         > Entering "get_account_transactions"
Transaction: admin@test -> aa@test,lemurcoin#test*1: "tx 1". Created: 2022-08-25T03:34:55.851000<PHONE_NUMBER>851)
Transaction: admin@test -> aa@test,lemurcoin#test*2: "tx 2". Created: 2022-08-25T03:34:56.857000<PHONE_NUMBER>857)
Transaction: admin@test -> aa@test,lemurcoin#test*3: "tx 3". Created: 2022-08-25T03:34:57.864000<PHONE_NUMBER>864)


"url" option should encode spaces as "%20"

I am using Streeng to urlencode text for an email.
Since Streeng currently uses the PHP function "urlencode", it encodes spaces as plus signs.
I recommend changing this to use "rawurlencode" so that spaces are encoded as "%20".
See PHP manual: http://php.net/manual/en/function.rawurlencode.php

Thanks for the suggestion, makes total sense but since it would be a major breaking change I think we would be better off adding a rawurl parameter. Would that seem to make sense to you?

Hi Michael,
sure, that's an even better option. Thank you!
Regards,
Jens
On Mon, April 25, 2016 10:26 pm, Michael Leigeber wrote:

Thanks for the suggestion, makes total sense but since it would be a major breaking change I
think we would be better off adding a rawurl parameter. Would that seem to make sense to you?

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/caddis/streeng/issues/12#issuecomment-214293621

This has been resolved with the latest release. Ended up allowing "raw" as a value to the existing url parameter, which was ultimately the cleanest solution.
https://github.com/caddis/streeng/releases/tag/1.10.0


common: utils: fix potential string truncation in mkldnn_getenv()

GCC9 causing build failure:
recipe-sysroot/usr/include/bits/string_fortified.h:106:34: error: 'char* __builtin_strncpy(char*, const char*, long unsigned int)'
output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
|   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
|       |
Signed-off-by: Naveen Saini<EMAIL_ADDRESS>

Also, do you want this to be fixed in 0.19 (with a point release) or just fixing it in mnt-v0 is fine?


incompatible with tensorflow 2.0

since a lot of code restructure happened in tensorflow2.0, many tensorflow methods are uncallable within midas/midas_base.py

Hi there,
Thanks for raising this issue. We have now migrated the midas code base to this GitHub Repository.
We would appreciate it if you could re-raise this issue there, as incorporating  TF 2.X  support is among our list of priorities. All updates will be posted on this new repo too.
Many thanks,
Tom


Replaced all for-in cycles with maps and filters

Replaced all for-in cycles with maps and filters in underline project

Updated project to Swift 3.0; if you would like to make new PR for anything, it'll be most welcomed


Tracing cannot collected by jaeger

I'm trying add tracing to my micro apps, the log say span have been successfully created. but i didn't see my service on jaeger UI, but i have try using another source code and it successfully stored to jaeger also the service appear on jaeger ui.
please help me to correction my tracing setup on my micro apps. here my configuration

and the env configuration

log say span successfully created

but not showing on jaeger ui (FYI my service name not videos api or playlist api)

please tell me where i got wrong on my code. thank you for your answers

solved, i don't know why if using config like above cannot sent to jaeger but if config tracing like this its work well


"Live Reload is not possible as body or head tag or defined tag is missing in HTML" warning shows on every reload

Every time I save a watched file, my page reloads, but in VS code the warning appears "Live Reload is not possible as body or head tag or defined tag is missing in HTML". I have to close the warning every time (very annoying) and there is no option to disable this warning.

okay! It's added in new version. Add  or  tag in html. It will disappear.

Without  or  tag live reload is not possible.

Have you meant that? or I am getting wrong point?

I don't understand the current behaviour, because the warning is saying that live reload won't work, but it is working... So, I think the warning comes at the wrong time (or I don't fully understand the purpose of the warning :-) ).

If this tag-problem occurs, I think it's better to show the warning only once in VS code and not on every save. And it might be better to show the warning in the console.

Okay! I understand. And definitely as I always give priority on feedback, I am adding a settings so that we can turn off the warring message.

Open the folder to VSCODE
type exclamation sign (!) and tab. (Emmet Snippet)
Start Live Server.

And now please tell me, is this working? or you're still getting the warning?.

I want to know if it is a bug or not before releasing new version. Because it is working on my Windows 10

It is working (without a warning) when I create a new file in new folder. So there must be something wrong in my file?
The structure of my file is :

So I think there shouldn't be a warning, because I have head and body tags?
(I'm also working in windows 10)

Is this not working for you?........ I tried....
<!DOCTYPE html>
<html ng-app="TestApp">
	<head>
        </head>
        <body ng-controller="testCtrl">
        </body>
</html>

but it is working for me....

yes, it works if I try it with that simple structure, but with my complete code, it is still showing the warning.
Does it matter which code is between the head and body tags? I would expect that the existence of head/body-tags is enough? But apparently, some of my code between the head-tags or the body-tags is triggering that warning...

This issue has been fixed with v2.1.1 update. Please update it from vscode marketplace 😄.
If you like the extension, please drop a review to vscode marketplace.

Hello. Sorry for request, but I have same problem with LiveServer. When I create new document, type (!) and tab, VSCode create base html structur automaticly. But if i add some tags in  or , than LiveReload warning than "Live Reload is not possible without body or head tag."

Same issue here. As per above.

Same issue here. As per above.

I think I found a solution - try creating the html file in the file explorer instead of powershell/terminal.

I had the same problem. I just "solved" it by pressing 'I understand - don't show again'.

I had the same problem. I just "solved" it by pressing 'I understand - don't show again'.

I had the same problem and tried the same step to 'Don't show again'.  I had to reload the page in the browser and then make a change to the html file and save it in VSCode.

My HTML has body and head tag, and I am still getting the message ...

I have just had the same problem having not had an issue for 12+ months.
A new .html file with exactly the same content would work so slightly confused. Ended up deleting my index.html and creating a new one then pasting the content over and it worked.
As a side note - my original .html file was created in the terminal and my "working" .html created in VSC as referenced above.
Strange one.

I've seen issues with the file encoding (UTF-16 has caused it to complain about HEAD or BODY missing)

I'm working with HTML5 which doesn't need these tags, and should have Live Server's snippet simply appended to the end of the document. Could you change the extension so that if body is not found, it just adds its code to the end and doesn't give this warning?

I believe this might be a problem with the extension "Browser Preview" at  https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview. But I admit it is just a guess - I have not dug deep into it.
One way to see if my hunch is right, would be to investigate if this issue ever occurs when the Live Server extension setting "Use Browser Preview" is unchecked.

it happened to me too and it was very irritating so i turned it off from settings.json
"liveServer.settings.donotVerifyTags": off,

it happened to me too and it was very irritating so i turned it off from settings.json
"liveServer.settings.donotVerifyTags": off,

How did you get this working? It would appear that this takes true or false rather than off but I couldn't get rid of the warning or get live reloads working with any value.

it happened to me too and it was very irritating so i turned it off from settings.json
"liveServer.settings.donotVerifyTags": off,

How did you get this working? It would appear that this takes true or false rather than off but I couldn't get rid of the warning or get live reloads working with any value.

i think this did it for me
"liveServer.settings.donotShowInfoMsg": true,
"liveServer.settings.donotVerifyTags":true,

@mrmatata That gets rid of the message but auto reloading still doesn't work unless there is </body> in the document (no other tags are needed).

I had the same problem. I just "solved" it by pressing 'I understand - don't show again'.

This somehow fixed it for me a s well, btw I know this is old but still happening in version 5.6.1

Hey everyone, so today I got the live server to work by downloading an older version (v 1.0) and it worked so far. I'm not getting that dreaded live server needs a head or body tag message and more importantly my webpage reloads without me having to hit ctrl + R (or F5). I haven't received any issues, you can give a try and let me know

For anyone downloading an older version, please note that you'll have to make consistent changes for the web page to refresh by itself. In other, words if you take a break from coding you'll probably have to refresh the page a couple times after making a change, usually I have to manually refresh 3 times before live server works.

the same to me

I find that I get this erroneous message if I have an invalid import in a CSS file that is imported by the CSS file imported in my HTML.
In particular, a line was trying to import a folder, and one was trying to import by name without .css, and fixing/removing those removed the warning message:
@import url(../blocks/footer/__columns/_content/);
@import url(../blocks/header/__square-pic/header__square-pic);

why the {% load static %} tag
is still displayed in my html page?

Idk guys but I got this error too.
So I got it when fixed my webpack.config. Lol. I didn't notice that my loader has two svg handlers. I fixed it and the error disappeared.

helloo, i received this error message today every time i reload my live server. i have both head tags and body tags so this issue is still happening today it seems.-.

Hello, I also had the error, but I think I solved it, simply add the  tag and in the extension settings, look for Live Server>Settings: Custom Browser, in my case select microsoft edge, because it is the that I usually use to observe the changes, and finally restart VS code, with that I solve the problem, I hope it works for you

I solved it by changing the html file's encoding in the VSCode.
Click current encoding

Click save with encoding

Click UTF-8

I had this problem randomly appeared after 1 year. I finally solved it, it was and @import row in the style.css file. This was the specific row: @import 'https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap';

It is because you have made a media query on your file and your display screen/window is in that size, and since you don't have a body or head in your media query----That's why!!! Had a similar case, try resizing your window, save and see.

This is my problem please help me

Same problem as above right now, my structure has head and body tag, so I don't know what it refers too. Any ideas?

I had this problem, too. I opened my .scss file, saved it and my extension recompiled the CSS. The pop-up is now gone.

Make sure that your HTML tab is active, not the CSS or JS!

Same issue as above. I previously never had this issue. It's a simple html file:
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Project</title>
  </head>
  <body>
    hello
  </body>
</html>

It's a syntactically valid HTML file with head and body tag, and it serves other html files in the directory fine. The HTML tab is active and works when I open it without live server.

@justingolden21 it might be the utf-16 LE encoding issue. I created the file using ps7 prompt using Out-File cmdlet. Never had this issue crating empty file from command prompt though. Check these answer by @neospud1

I solved it by changing the html file's encoding in the VSCode. Click current encoding  Click save with encoding  Click UTF-8

I had the same problem with live-server.
When I turned on live-server by pressing the Go Live button and modified index.html and saved it, an error message saying "live reload is not possible without a head or body tag" appeared and the Chrome browser turned white.
I thought it was because I didn't turn on live-server in the direct folder,
and it turned out to be the same problem.
I'll attach a screenshot of the folder structure.
Please try opening the folder that contains the index.html file in vscode!
##Good Case

##Bad Case

This bug was not fixed yet?
I have the warning "Live Reload is not possible as body or head tag or defined tag is missing in HTML" if in my  I have included JQuery:

Removing this line the warning do not appear anymmore.

I had the same problem with a very simple html and the reason was the encoding. Thanks @WeaponXiii !!

@justingolden21 it might be the utf-16 LE encoding issue. I created the file using ps7 prompt using Out-File cmdlet. Never had this issue crating empty file from command prompt though. Check these answer by @neospud1

I solved it by changing the html file's encoding in the VSCode. Click current encoding  Click save with encoding  Click UTF-8


Add compablity with 2 and 3 filament versions

Add compablity with 2 and 3 filament versions

Add compablity with 2 and 3 filament versions


provide reefied helper function for fixture creation

  val fixture = AggregateTestFixture(MyAggregate::class.java)

is so java-ish.
Lets provide
val fixture = aggregateTestFixture<MyAggregate> {
     // further fixture config
}

See:

https://github.com/toolisticon/axon-extension-kotlin/issues/3
https://github.com/toolisticon/axon-extension-kotlin/issues/4


Update GitHub actions to match module template

The GitHub actions have been updated to match the module template more closely. There are still many differences because this library is not yet using TypeScript, so it doesn't have any build step. It also doesn't yet have API documentation, so steps relating to that have been removed.

See here for the module template workflows: https://github.com/MetaMask/metamask-module-template/tree/main/.github/workflows


Removeclones

Looks good so far - as we've discussed, we can remove the abstract base class from service settings now.

Generic ServiceSettingsBase class now removed

LGTM. I wouldn't be shocked if we ended up deciding to put the generic base class back again, but I'm definitely in favour of reverting to simplicity for the moment.


Proto version with protoc v3.20.3

What version?
0.42.
Which command?
No response
What happened?
Hey guys, so we've used the protoc npm package to generate typescript clients however proto (this one) seems to be ahead of that npm package. namely that one generates 3.20.3 clients whereas with version 0.42, im generating  5.28.3. Which version of proto from brew should I install to get a version of proto that generates 3.20.3 clients using protoc
Trace logs?
No response
Operating system?
Mac
Architecture?
ARM

This project isn't related to protoc or protobuf.
But to answer your question, you probably want brew install protobuf, not brew install proto.


:align: center doesn't work

From what I can tell, the :align: center; doesn't work on an .. image (and probably else where).
.. image:: image.png
    :align: center

This seems to be because the :align: center; adds the following css;
.align-center, .align-default {
    margin-left: auto!important;
    margin-right: auto!important;
}

However a .img is an inline element so the margin-left: auto; margin-right: auto; trick doesn't work.
This seems to be fixed by applying the display: block css to the element.

@daniellimws -- Can chance you could see if the display:block; solution doesn't break anything else?

I tried with .. figure, and it needs text-align: center; to work.
.align-center {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    text-align: center;
}

I think only image and figure uses the :align: option? So I think it should be fine.

@daniellimws -- Want to send a pull request to fix?

Sure, back from a long hiatus yay


RAC5511: only pull mongo and rabbitmq images

can you add RAC-5511 into this PR title ?

BUILD on-build-config #572 : FAILURE

test this please


Add instructions for rocketpool node set-voting-delegate

Add instructions and description to documentation

Voting support: the command rocketpool node set-voting-delegate can be used to specify an Ethereum address you would like represent your node when voting on Rocket Pool DAO governance proposals.

This should be something you can safely use with a browser.
A full write-up of DAO voting, Snapshot, and this command will be released soon.

Introduced in 1.4.2 (Fixed in 1.4.3):
https://github.com/rocket-pool/smartnode-install/releases/tag/v1.4.2

WIP:
https://github.com/blinc117/docs.rocketpool.net/tree/1.5-Doc-Upadtes

Resolved with a previous update :+1:


Fix Issue: #106 Improve UI for Homepage and About page

Hacktoberfest 2022 Issue
Issue no. #106
Issues Fixed

Issue in footer on dark mode (made footer adapt to light and dark modes).

Before :

After :

Overflowing text in preview section (Removed the overflowing of text in preview section).

Before :

After :

Removed the uneccessary Alert Space from the home and about page.

Before :

After :

UI Improvements

Added new font to the whole app.
Made the Brand Name in navbar bold and distinguishable.

Before :

After :

Made the UI for the home page more clean and practical

User can now see preview side by side to the textarea box.(Improved Accesability).
User can see word counts and other counts directly around the textarea.(Earlier User had to scroll to see this).

Before :

After :

Added split paragraphs for the About section to imporve Readability for users.
Changed the Accordian into a FAQ section.

Before :

After :

@Susmita-Dey plz review and Merge this PR as Early as possible

@SahilDahekar If there's long text/paragraphs, then the user have to scroll long up to search for buttons.


variable inspector crashes with variables ending  "\"

Hi,
When i define a variable ends with "\\" variable inspector hangs and does not refresh current or any new variables.
very easy to simulate:
a='xx\\' -->  makes it crash., jupyterlab 2.02 and 2.1 tested without any other extensions
Developer tools shows error  below:
default.js:99 SyntaxError: Unexpected token i in JSON at position 93
at JSON.parse ()
at _handleQueryResponse (handler.js:26)
at r.onIOPub (kernelconnector.js:55)
at c._handleIOPub (future.js:216)
at async c.handleMsg (future.js:185)
at async m._handleMessage (default.js:1086)
"

Thanks for finding this. I thought I am affected by #130/#135 but actually it was a variable ending with \\.

When changing it to
content = content.replace( /\'/g, "'" );
the issue is gone, but I am not sure why it was there and about possible side-effects. Also there is another occurrence of this replacement in a neighbouring case which might be re-thought.


chore(deps) bump luatz to 0.4

Summary
Bump luatz dependency to 0.4.

Fix timetable normalisation carry bugs (#10, #13)
Clean up of docs
No longer throw errors in parse module on error (now return nil, err)
Support version 3 tzfiles

Manually merged to resolve the conflict!


Black screen when closing app in fullscreen mode

Expected behavior
The application closes after pressing the x (close) button in the top left corner on mac osx in fullscreen mode
Actual behavior
The application stays open and gives a black screen

File: Header.react.js line 79
Old Version
handleClose: function handleClose() {
    if (_utilsUtil2['default'].isWindows()) {
      remote.getCurrentWindow().close();
    } else {
      remote.getCurrentWindow().hide();
    }
  },

Proposition
handleClose: function handleClose() {
      remote.getCurrentWindow().close();
  },

@nmingneau thanks for the suggestion - Would you mind opening a PR with this change?


Vega 64: hipoc_program.cpp:286: Code object build failed. Source: MIOpenIm2d2Col.cl

python3.6.6
pytorch 1.9.1 with ROCm support
Ubuntu:20.04
MIOpen(HIP): Warning [SQLiteBase] Unable to read system database file:/opt/rocm/miopen/share/miopen/db/gfx900_64.kdb Performance may degrade
MIOpen(HIP): Error [SetIsaName] 'amd_comgr_action_info_set_isa_name(handle, isa.c_str())' amdgcn-amd-amdhsa--gfx900:sramecc-:xnack-: INVALID_ARGUMENT (2)
MIOpen(HIP): Error [BuildOcl] comgr status = INVALID_ARGUMENT (2)
MIOpen(HIP): Warning [BuildOcl] amdgcn-amd-amdhsa--gfx900:sramecc-:xnack-
MIOpen Error: /MIOpen/src/hipoc/hipoc_program.cpp:286: Code object build failed. Source: MIOpenIm2d2Col.cl

Traceback (most recent call last):
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/engine/train_loop.py", line 149, in train
    self.run_step()
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 493, in run_step
    self._trainer.run_step()
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/engine/train_loop.py", line 273, in run_step
    loss_dict = self.model(data)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/modeling/meta_arch/rcnn.py", line 154, in forward
    features = self.backbone(images.tensor)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/modeling/backbone/fpn.py", line 126, in forward
    bottom_up_features = self.bottom_up(x)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/modeling/backbone/resnet.py", line 445, in forward
    x = self.stem(x)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/modeling/backbone/resnet.py", line 356, in forward
    x = self.conv1(x)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/layers/wrappers.py", line 107, in forward
    x, self.weight, self.bias, self.stride, self.padding, self.dilation, self.groups
RuntimeError: miopenStatusUnknownError

based on RadeonOpenCompute/ROCm#1572
PS: but! those lines from 1572 work for me
import torch
import torchvision

device = torch.device('cuda')
print(f"using device: {device}")
model = torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True).to(device)
model.eval()

rand_input = torch.rand(3, 1920, 1080, device=device)
model([rand_input])

@Sigura Please show output of /opt/rocm/opencl/bin/clinfo | grep gfx.

@Sigura Another question if why you use COMGR for building kernels. Currently the default build path is offline compilation. Please consult PyTorch guys who work on AMD support.

/cc @sunway513

@Sigura Please show output of /opt/rocm/opencl/bin/clinfo | grep gfx.

Name:						 gfx900:xnack-

@Sigura Another question if why you use COMGR for building kernels. Currently the default build path is offline compilation. Please consult PyTorch guys who work on AMD support.

Could you please help to check my understanding – you are a mean question about how to change the path to MIOpen for PyTorch?

@atamazov I'm open to any questions. I will be glad to help with your great work!

/opt/rocm/opencl/bin/clinfo

Number of platforms:				 1
Platform Profile:				 FULL_PROFILE
Platform Version:				 OpenCL 2.0 AMD-APP (3305.0)
Platform Name:				 AMD Accelerated Parallel Processing
Platform Vendor:				 Advanced Micro Devices, Inc.
Platform Extensions:				 cl_khr_icd cl_amd_event_callback
Platform Name:				 AMD Accelerated Parallel Processing
Number of devices:				 1
Device Type:					 CL_DEVICE_TYPE_GPU
Vendor ID:					 1002h
Board name:					 Vega 10 XL/XT [Radeon RX Vega 56/64]
Device Topology:				 PCI[ B#3, D#0, F#0 ]
Max compute units:				 64
Max work items dimensions:			 3
Max work items[0]:				 1024
Max work items[1]:				 1024
Max work items[2]:				 1024
Max work group size:				 256
Preferred vector width char:			 4
Preferred vector width short:			 2
Preferred vector width int:			 1
Preferred vector width long:			 1
Preferred vector width float:			 1
Preferred vector width double:		 1
Native vector width char:			 4
Native vector width short:			 2
Native vector width int:			 1
Native vector width long:			 1
Native vector width float:			 1
Native vector width double:			 1
Max clock frequency:				 1630Mhz
Address bits:					 64
Max memory allocation:<PHONE_NUMBER>
Image support:				 Yes
Max number of images read arguments:		 128
Max number of images write arguments:		 8
Max image 2D width:				 16384
Max image 2D height:				 16384
Max image 3D width:				 16384
Max image 3D height:				 16384
Max image 3D depth:				 8192
Max samplers within kernel:			 26751
Max size of kernel argument:			 1024
Alignment (bits) of base address:		 1024
Minimum alignment (bytes) for any datatype:	 128
Single precision floating point capability
Denorms:					 Yes
Quiet NaNs:					 Yes
Round to nearest even:			 Yes
Round to zero:				 Yes
Round to +ve and infinity:			 Yes
IEEE754-2008 fused multiply-add:		 Yes
Cache type:					 Read/Write
Cache line size:				 64
Cache size:					 16384
Global memory size:<PHONE_NUMBER>
Constant buffer size:<PHONE_NUMBER>
Max number of constant args:			 8
Local memory type:				 Scratchpad
Local memory size:				 65536
Max pipe arguments:				 16
Max pipe active reservations:			 16
Max pipe packet size:<PHONE_NUMBER>
Max global variable size:<PHONE_NUMBER>
Max global variable preferred total size:<PHONE_NUMBER>
Max read/write image args:			 64
Max on device events:				 1024
Queue on device max size:			 8388608
Max on device queues:				 1
Queue on device preferred size:		 262144
SVM capabilities:
Coarse grain buffer:			 Yes
Fine grain buffer:				 Yes
Fine grain system:				 No
Atomics:					 No
Preferred platform atomic alignment:		 0
Preferred global atomic alignment:		 0
Preferred local atomic alignment:		 0
Kernel Preferred work group size multiple:	 64
Error correction support:			 0
Unified memory for Host and Device:		 0
Profiling timer resolution:			 1
Device endianess:				 Little
Available:					 Yes
Compiler available:				 Yes
Execution capabilities:
Execute OpenCL kernels:			 Yes
Execute native function:			 No
Queue on Host properties:
Out-of-Order:				 No
Profiling :					 Yes
Queue on Device properties:
Out-of-Order:				 Yes
Profiling :					 Yes
Platform ID:					 0x7f59a80a4e10
Name:						 gfx900:xnack-
Vendor:					 Advanced Micro Devices, Inc.
Device OpenCL C version:			 OpenCL C 2.0
Driver version:				 3305.0 (HSA1.1,LC)
Profile:					 FULL_PROFILE
Version:					 OpenCL 2.0
Extensions:					 cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program

traceback

RuntimeError                              Traceback (most recent call last)
 in
1 trainer = DefaultTrainer(cfg)
2 trainer.resume_or_load(resume=False) # (resume=False)
----> 3 trainer.train()
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/engine/defaults.py in train(self)
481             OrderedDict of results, if evaluation is enabled. Otherwise None.
482         """
--> 483         super().train(self.start_iter, self.max_iter)
484         if len(self.cfg.TEST.EXPECTED_RESULTS) and comm.is_main_process():
485             assert hasattr(
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/engine/train_loop.py in train(self, start_iter, max_iter)
147                 for self.iter in range(start_iter, max_iter):
148                     self.before_step()
--> 149                     self.run_step()
150                     self.after_step()
151                 # self.iter == max_iter can be used by after_train to
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/engine/defaults.py in run_step(self)
491     def run_step(self):
492         self._trainer.iter = self.iter
--> 493         self._trainer.run_step()
494
495     @classmethod
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/engine/train_loop.py in run_step(self)
271         If you want to do something with the losses, you can wrap the model.
272         """
--> 273         loss_dict = self.model(data)
274         if isinstance(loss_dict, torch.Tensor):
275             losses = loss_dict
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
1052         # Do not call functions when jit is used
1053         full_backward_hooks, non_full_backward_hooks = [], []
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/modeling/meta_arch/rcnn.py in forward(self, batched_inputs)
152             gt_instances = None
153
--> 154         features = self.backbone(images.tensor)
155
156         if self.proposal_generator is not None:
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
1052         # Do not call functions when jit is used
1053         full_backward_hooks, non_full_backward_hooks = [], []
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/modeling/backbone/fpn.py in forward(self, x)
124                 ["p2", "p3", ..., "p6"].
125         """
--> 126         bottom_up_features = self.bottom_up(x)
127         results = []
128         prev_features = self.lateral_convs0
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
1052         # Do not call functions when jit is used
1053         full_backward_hooks, non_full_backward_hooks = [], []
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/modeling/backbone/resnet.py in forward(self, x)
443         assert x.dim() == 4, f"ResNet takes an input of shape (N, C, H, W). Got {x.shape} instead!"
444         outputs = {}
--> 445         x = self.stem(x)
446         if "stem" in self._out_features:
447             outputs["stem"] = x
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
1052         # Do not call functions when jit is used
1053         full_backward_hooks, non_full_backward_hooks = [], []
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/modeling/backbone/resnet.py in forward(self, x)
354
355     def forward(self, x):
--> 356         x = self.conv1(x)
357         x = F.relu_(x)
358         x = F.max_pool2d(x, kernel_size=3, stride=2, padding=1)
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
1052         # Do not call functions when jit is used
1053         full_backward_hooks, non_full_backward_hooks = [], []
/home/sigura/.pyenv/versions/3.6.6/lib/python3.6/site-packages/detectron2/layers/wrappers.py in forward(self, x)
105
106         x = F.conv2d(
--> 107             x, self.weight, self.bias, self.stride, self.padding, self.dilation, self.groups
108         )
109         if self.norm is not None:
RuntimeError: miopenStatusUnknownError

@Sigura Please expect feedback tomorrow, sorry for delaying.

I need to know the ROCm version that you use. I remember that some versions have problems with the kernel mode driver, and that problems are gfx900-specific.

Hey
I just want to report that I came across this exact problem, with VEGA 56.
So it does seem to affect quite a lot of people
MIOpen(HIP): Warning [SQLiteBase] Unable to read system database file:gfx900_56.kdb Performance may degrade
MIOpen(HIP): Error [SetIsaName] 'amd_comgr_action_info_set_isa_name(handle, isa.c_str())' amdgcn-amd-amdhsa--gfx900:sramecc-:xnack-: INVALID_ARGUMENT (2)
MIOpen(HIP): Error [BuildOcl] comgr status = INVALID_ARGUMENT (2)
MIOpen(HIP): Warning [BuildOcl] amdgcn-amd-amdhsa--gfx900:sramecc-:xnack-
MIOpen Error: /MIOpen/src/hipoc/hipoc_program.cpp:286: Code object build failed. Source: MIOpenIm2d2Col.cl
  0%|          | 0/1000000 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/src/train.py", line 51, in <module>
    main_worker(0, 1, args)
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/src/train.py", line 31, in main_worker
    trainer.train()
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/src/trainer/trainer.py", line 108, in train
    pred_img = self.netG(images_masked, masks)
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/src/model/aotgan.py", line 37, in forward
    x = self.encoder(x)
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/venv/lib/python3.8/site-packages/torch/nn/modules/container.py", line 139, in forward
    input = module(input)
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/venv/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/venv/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 443, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "/home/ffleader1/PycharmProjects/AOT-GAN-for-Inpainting/venv/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 439, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
RuntimeError: miopenStatusUnknownError

Process finished with exit code 1

what can be a quick/painless option to solve this? Thank you.

No. MIOpen can use different ways to build kernels. The default way is offline compiler, i.e. /opt/rocm/bin/clang++ which is capable to build HIP, OpenCL and assembly kernels. But in your case MIOpen was built to use COMGR library (which can build HIP, OpenCL and assembly kernels as well). This feature is still experimental and not guaranteed to work in all cases.

@ffleader1 @Sigura The question to both of you still remains: why the MIOpen used by PyTorch was built with the -DMIOPEN_USE_COMGR=On CMake option. Do you use PyTorch wheels?

No. MIOpen can use different ways to build kernels. The default way is offline compiler, i.e. /opt/rocm/bin/clang++ which is capable to build HIP, OpenCL and assembly kernels. But in your case MIOpen was built to use COMGR library (which can build HIP, OpenCL and assembly kernels as well). This feature is still experimental and not guaranteed to work in all cases.

@ffleader1 @Sigura The question to both of you still remains: why the MIOpen used by PyTorch was built with the -DMIOPEN_USE_COMGR=On CMake option. Do you use PyTorch wheels?

It was the version that was published on pytorch homepage.
Anyway, I really want to try out your patch, but I am normally a Windows kinda guy, so all this building HIP/MIOpen/Rocm from source seem overwhelming to me. I guess I will wait for a better release of pytorch then.

It looks like now it may be closed
https://github.com/RadeonOpenCompute/ROCm/issues/1572#issuecomment-992589243


Noise

Complete this sentence
THIS PULL REQUEST __ IS __ READY TO MERGE
Feature or improvement description
Check on the interpolation of Re in the BL characteristics + bug fix in the LE and TE positions + bug fix in outputs 1 and 3 for the A-weighting
A clear and concise description of the new code.
Related issue, if one exists
Link to a related GitHub Issue.
Impacted areas of the software
List any modules or other areas which should be impacted by this pull request. This helps to determine the verification tests.
Additional supporting information
Add any other context about the problem here.
Automated test results
Add the automated test results (unit tests and regression tests) here, if they've been run.
For any failing tests, please provide justification.

Thanks! I haven't checked the change of coordinates.
re_flag could be a logical, and instead of stopping the code, we should return ErrStat=ErrID_Fatal and ErrMesg=....

Great, thank you!!!


Typo "a Azure Databricks"→"an Azure Databricks"

https://learn.microsoft.com/en-us/azure/databricks/dev-tools/vscode-ext/

#PingMSFTDocs

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

ID: d13946f9-8805-5489-9509-6a2fba55fe7b
Version Independent ID: d13946f9-8805-5489-9509-6a2fba55fe7b
Content: What is the Databricks extension for Visual Studio Code? - Azure Databricks
Content Source: databricks/dev-tools/vscode-ext/index.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@hyoshioka0128
Thanks for your feedback! We will investigate and update as appropriate.

@hyoshioka0128
Thank you for bringing this to our attention! We've initiated a pull request (PR) to address this issue. Once the author reviews the changes, they will be merged, and the updates should go live shortly. Your diligence is much appreciated!


Chart can't move when inside a PageView

If a chart is inside a PageView, swiping horizontally does not move the chart but instead moving the PageView.
Steps to reproduce:
1: Create a chart inside a PageView. This PageView should have more than 2 pages.
2: Pinch the chart to zoom in
3: Drag the chart to move but can't. If you drag vertically then switch to horizontally, the chart can move normally. However, If you try to move it horizontally first, it will not work.

I know this, but PageView(or flutter) don't have a nice event dispatch mechanism like android. I search many informations and I still don't know how to make the chart move priority over PageView when chart can move horizontally. Any Ideas?

Try this days but not work, any ideas?

Try this days but not work, any ideas?

I think this has something to do with the OptimizedGestureDetector library because every time the chart's horizontal drag gesture enters the gesture arena always ended with a loss. My temporary workaround will be wrapping the chart in a new GestureDetector and use the painter to translate the chart. But the downside to this is I was not able to fling the chart.

I try to modify the OptimizedGestureDetector which have multiple GestureRecognizers but only one GestureRecognizer can win in arena, I don't find a solution which can let all GestureRecognizers(all belong to OptimizedGestureDetector ) win together

finally I find a solution in version 0.2.1, you can see the Scrolling Charts's View Pager Demo to see how to solve this. Though Its worked, it is not perfect yet. The reason is below
I add resolveGestureHorizontalConflict and resolveGestureVerticalConflict to controller to solve chart gesture miss in scrollable views, but set these value to true means in chart area scrollable views will miss gestures. After read a lot about the gesture in flutter, not yet find a solution that can control nest scroll like android fragment in viewpager(when child scroll to the edge the scroll can pass to parent and parent can begin scroll)


Snapp verification key format

Choose a human-readable format for verification keys to be used in graphQL, cli, config file etc

base58 format


Support setting ambient temperature

I know you're not at this stage yet, but eventually it would be nice of course if we could set the desired living room temperature through HomeAssistant.
I did some digging, and for the 2022 API here's the request that is made:
POST hp_data https://mastertherm.online/api/v1/hp_data
with form data:
messageId: 2
moduleId: xxxxx
deviceId: 1
variableId: A_210
variableValue: 17.5

Response received:
{"timestamp":1670512072,"error":{"errorId":0,"errorMessage":""},"messageId":2,"data":{"data":{"001":{"A_210":"17.5"}}},"type":"read"}
This sets register A_210 to a temperature of 17.5 degrees Celsius. As you know, from const.py, A_210 is the ambient_requested setting for hc0. We'll have to figure out how to best mark some of our registers in const.py as 'writeable' instead of just 'read-only'. For example, control_curves, ambient_requested, domestic_hot_water['required_temp'] are all writeable values.

Available from the Command Line either using
masterthermconnect set --username user --password pass --api-ver v2 reg module_id unit_id A_210 1
or
masterthermconnect set --username user --password pass --api-ver v2 data module_id unit_id heating_circuits.hc0.ambient_requested 17.5
Setting up alpha version 2.0.0a0


Update REST API to handle proxying properly

Updates the REST API to handle proxy urls when building a response link. It will now look for an X-Forwarded-Host header, and an X-Forwarded-Path header, and prefer those to the default host/path.
Also includes a new integration test which will set up an Apache 2 Basic Auth proxy in front of the REST API, and confirm it can be properly authorized, and sends back correct links.

To Test This PR
This PR adds support for Basic Auth proxies. In order to test it, you'll need to build one. These are the instructions for setting up a simple authed Apache proxy in vagrant.
Install Apache
% sudo apt-get update
% sudo apt-get install -y apache2
% sudo a2enmod headers
% sudo a2enmod proxy_http

Set up a password file
Go to http://www.htaccesstools.com/htpasswd-generator/ and generate a .htpdpassword file from a username and password of your choice.
% vi /tmp/.password

Copy and paste the contents of the textbox into this file, save, and exit.
Set up the site configuration
% sudo vi /etc/apache2/sites-enabled/000-default.conf

Edit the file to look like this:
<VirtualHost *:80>
        ServerAdmin sawtooth@sawtooth
        DocumentRoot /var/www/html

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        <Location />
                Options Indexes FollowSymLinks
                AllowOverride None
                AuthType Basic
                AuthName "Enter password"
                AuthUserFile "/tmp/.password"
                Require user sawtooth
                Require all denied
        </Location>
</VirtualHost>

ProxyPass /sawtooth http://localhost:8080
ProxyPassReverse /sawtooth http://localhost:8080
RequestHeader set X-Forwarded-Path "/sawtooth"

Start and/or restart Apache
% sudo apachectl start

% sudo apachectl restart

Make sure everything is set up properly
Start up a validator and the REST API normally. When you query the REST API, you should get back some block data as JSON:
% curl localhost:8080/blocks

You should also be able to get a 401 by querying the proxy without authorization:
% curl localhost/sawtooth/blocks

And finally, you should be able to get the same JSON by querying the proxy with authorization:
% curl localhost/sawtooth/blocks -u {USERNAME}:{PASSWORD}

When you send a request to the REST API it should format the "link" response parameter relative to the proxy not its own url. So when you get a JSON response back to the authed proxy url, heck the link parameter.
It should start with:
"http://localhost/sawtooth/blocks?head=...

It should not start with:
"http://localhost:8080/blocks?head=...

What to do if you have permissioning issues around port 80
Sometimes vagrant seems to get angry when you try to run the proxy on port 80. You can switch it to port 8000 by changing two files.
% sudo vi /etc/apache2/ports.conf

Switch Listen 80 -> Listen 8000.
% sudo vi /etc/apache2/sites-enabled/000-default.conf

Switch <VirtualHost *:80> -> <VirtualHost *:8000>
Then:
% sudo apachectl restart

Afterwards the above example should work fine, but the proxy url will be localhost:8000/sawtooth instead of localhost/sawtooth.


Assign statistics to inventory items

Items will have stats such health for potions or hit points for a sword. This issue is about implementing every items available in the GLS prototype and for the planned game and assign them their relevant statistics.


How do you download the game

I love this game and It looks interesting, how to download it!?

SCM_Build.zip
Here you go, I've added the ability to restart the game after you lose.

I love this game and It looks interesting, how to download it!?

You could also compile it through Unity, then you can run it on Mac, Linux and Windows.


Make the yotta config tool include target_config.h

Fix no longer required as we have an alternative fix in commit b2c81b1.


Reward page render error

Description
When going back  to the rewards page from a user's page it results in a react hook render error
Steps to Reproduce

Go to rewards page
click on a user's profile
Wait some x amount of time as it does not happen consistently if you try to reproduce too quickly
press the back button

Expected behavior
Should re-render the rewards page
Screenshots

Logs

di@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:61587
fi@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:61838
useState@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:68616
72408/t.useState@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:25:6171
useData@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:435503
Rewards@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:32:171744
Xh@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:60992
dj@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:72859
x@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:120346
Vk@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:99133
64448/Jk/<@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:99001
Jk@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:99006
Ok@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:95762
Fk@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:96151
jg@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:44901
64448/Ek/<@https://a.stacker.news/_next/static/chunks/framework-b78bc773b89d3272.js:9:93663

Component stack:
Rewards@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:32:171525
ErrorBoundary@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:32:165422
ChainFeeProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:136514
BlockHeightProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:134971
ShowModalProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:254179
RawWebLNProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:442759
NWCProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:447388
LNbitsProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:445725
WebLNProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:444167
ToastProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:431306
LightningProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:241041
PriceProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:258537
ServiceWorkerProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:268501
LoggerProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:246834
HasNewNotesProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:436779
MeProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:13:248383
ApolloProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:32:3513
PlausibleProvider@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:32:4513
ErrorBoundary@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:32:165422
MyApp@https://a.stacker.news/_next/static/chunks/pages/_app-86ecac3e72ee0565.js:32:166481
PathnameContextProviderAdapter@https://a.stacker.news/_next/static/chunks/main-ae7fbb58e20fc278.js:1:60223
Container@https://a.stacker.news/_next/static/chunks/main-ae7fbb58e20fc278.js:1:8711
AppContainer@https://a.stacker.news/_next/static/chunks/main-ae7fbb58e20fc278.js:1:10294
Root@https://a.stacker.news/_next/static/chunks/main-ae7fbb58e20fc278.js:1:13734

minified error decoded as Rendered more hooks than during the previous render.
Environment:
Tested on Firefox mobile and desktop
Additional context
Based on the fact that you generally need to wait to ge this error I suspect it may be caused by a change in the rewards from the first render, not 100% sure though

I was able to reproduce this error. The console reports error 310: "Rendered more hooks than during the previous render."


[BUG] React dependencies were not found

Describe the bug
We use the typeform embed on a Vue.js web app. We started getting an error and decided to update from 0.9.0. Now when building our project we get an error saying we're messing react and react-dom dependencies.
To Reproduce
Vue.js project.
Install package and build project

OS: MacOS
Browser: build stage bug
Embed SDK Version: 0.31.1
NodeJS version: 10.22.0
NPM version: 6.14.6

Hello @magpiedigital. Embed lib requires react lib at the moment. Since it is a peer dependency you need to install it into your project yourself:
yarn add react react-dom

This is a benefit for react projects to reuse react from the project and not introduce a new one. I know this is not ideal for non-react projects such as yours because you will need to add react.
I can tell you we are currently working on a new version of the embed lib that will not require react dependency. We will keep you updated.

Ok, that's a shame. For now I'll use the cdn version


where are test spec for jashmine

Hi all,
I am little bit interested in jashmine test spec but i have not find any. May i where i can get those?
regards
Mithun Mandal

There are no Jasmine tests. Since tests are good idea they will maybe be added in 2.x.


Basic Bag/Items

Basic bag system and item spawning, picking, using and/or droping. We could start with something like "boots" that give more speed (speed is controled by the delay movement method), or food that restores hp.

[ ] server

maybe a new layer for drops
logic to spawn, pickup, use, drop
broadcasts

[ ] client

drawing new items (sprites layer)
backpack design
system to use/drop/wear items and send info to server

maybe a new layer for drops

I think we need a layer for "usable" items in general.

backpack design

Backpack and wearable items should be stored and controlled by server.


fix(@angular-devkit/build-angular): downlevel and optimize locale data

Locale data is now transformed to be compatible with the ECMAScript level of the application bundles.  The locale data is also optimized to remove comments and unnecessary whitespace.
Fixes: #17497

Cool! So after this we could revert https://github.com/angular/angular/commit/078b0be4dc69ef4a8cdf4eb15caedde1114950c7, right?

Yes.  The referenced changes can be reverted with this in place.


fix: random nil dereference caused by non-zero PipelineMultiplex

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0c5c4b8) 95.99% compared to head (495820f) 96.00%.
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #427      +/-   ##
==========================================
+ Coverage   95.99%   96.00%   +0.01%
==========================================
  Files          77       77
  Lines       32389    32389
==========================================
+ Hits        31091    31096       +5
+ Misses       1107     1103       -4
+ Partials      191      190       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ESDN: add alternative title and make collection mapping change

Add a mapping to dcterms:alternative.

Note: Should dcterms:title mapping be changed to not include those titles that are mapped to dcterms:alternative? (cc @guegueng) - resolved by 5fa6445

Change the collection mapping to use the OAI-PMH setSpec element. (ESDN previously used the similarly named but non-spec-defined set_spec element.)

This PR is now ready for review. The most recent commit, 5fa6445, addresses the last outstanding issue.  I tested this locally against the whitneystudioclub_collection as suggested by Chris at ESDN and it appears to work as intended.

This looks solid. Want to squash it?

On it.

Squashed.


Add range end parameter to GetLastStagedBlockNumber

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

#69  👈
#67
main

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

Join @iuwqyir and the rest of your teammates on  Graphite


TypeError: Cannot read properties of undefined (reading'SimpleModal')

getting this error upon booting on new steam os update, on the latest stable releases of steam os and decky loader

Same here

I also have the same issue.
It started about a week ago, with the latest stable steam client update.
Hope it gets fixed sometime.

Same

Just rollback to older version for now as advised here:
https://github.com/hulkrelax/hltb-for-deck/issues/33#issuecomment-1981009223


Level end graphics

add (very) basic level completion screen
add lives display to gameplay

@kamiboers I love all of this. Let's discuss a merge this morning.


How to set audio panning / balance / right left volume ?

I already searched the issues here, and in exoplayer repo.
Is there a way to set the right and left audio volume of a player. Or set balance or panning? Thx :)

Not as a player API method, but this is possible to do via an audio processor - see https://github.com/google/ExoPlayer/issues/2659. We've submitted a ChannelMixingAudioProcessor that supports this internally and it will be on the main branch over the next few weeks, and should then go into the media3 1.1 release.

@andrewlewis is there any accessible way to set audio pan on the fly, see https://github.com/androidx/media/issues/797.
I attempted this in this PR but I only got it working to set at the beginning, not on the fly.

It isn't supported directly, but in theory I think it should be possible to get your PR to work.
I haven't looked into this recently, but at a high level the important things are:

Make sure the audio processor is always active (so that DefaultAudioSink includes it in the active audio processors list and feeds it data)
Ensure when you set a new matrix it gets applied from the next input buffer. You are probably setting the mixing matrix from a different thread from the one doing the audio processing, so I would mark the matrix setter and the method that uses the matrix as synchronized.
Side note: it won't be possible to change the number of output channels like this, because that would require triggering reconfiguration of the audio processor which isn't supported.

If it still doesn't work, could you add some logging to see what matrix is being used in queueInput and make sure it's changing after you set a new matrix?


[Network] ExpressRoute peering client-side validation workaround

Closes #1575.
Prevents attempting to create MicrosoftPeering settings with SKU type "Standard" as the server does not currently validate this.
Prevents attempting to create peering settings if the VLAN id is already in use on that circuit as the server does not currently validate this.

@yugangw-msft comments addressed.


feat: add initial filetype plugin for autohotkey

This is a very minimal ftplugin, and I don't really want to be the maintainer (though I will if that's what it takes). But after looking at runtime/ftplugin, there seem to be many that are minimal. Also a search on GitHub turns up several examples of autohotkey.vim that include these comment settings.

One last question for @dkearns: I was inclined to add setlocal formatoptions+=croq, but I could not decide if that was too opinionated. Let me know if you think I should add it (and the corresponding undo).

i'm the current maintainer of the ahk syntax highlighting (https://github.com/mmikeww/autohotkey.vim), although all i've really done is just add new keywords onto the older maintainers work. and its mostly been just for ahk v1. i didnt even know that a filetype plugin was necessary

i didnt even know that a filetype plugin was necessary

@mmikeww I could be wrong, but I believe you normally need (and have) both a syntax/something.vim and a ftplugin/something.vim. (And usually also indent/something.vim and others.) These files do different jobs.

that syntax file should already be included with default vim, and commenting should work

The syntax file is there, and that handles detection of comments for highlighting. But more is required for commenting to work fully. A ftplugin/something.vim file normally sets both comments and commentstring (as this one does). Without those being set, vim falls back to defaults, and those defaults apply (I think) to C files. If those are set, then vim can do various things automatically (like correctly apply the comment marker to the next line) and plugins can interact with comments through scripting. At the moment, none of that applies to AutoHotkey files. (That's sort of how I ended up here: someone filed a bug in neovim because a built-in commenting plugin doesn't work with AutoHotkey files.
tl;dr the syntax file is only part of what AutoHotkey needs; this file will help add more capabilities for AutoHotkey files.

thanks @telemachus
if you want to submit the files to my repo, thats fine. or if you want to submit them here too. or if you want to take over maintainership of both this and also the syntax file, thats also fine by me. whatever you think is best, let me know

i use the tcomment plugin with normal vim and i havent had a problem using gcc and the likes in order to comment ahk files

@mmikeww If I start vim without this added filetype plugin and run :set commentstring?, the result is commentstring=/* %s */. That's a default derived from C. So with tcomment installed, commenting will work in the sense that it gives me C-style comments. E.g., "This is a test" becomes "/* This is a test */". That (sort of? maybe?) works because AutoHotkey allows for multiline comments with /*...*/ too. But (strictly speaking), AutoKey says that multiline comments "can be used to comment out an entire section, but only if the symbols appear at the beginning of a line (excluding whitespace)." With vim's defaults, that's not what you get as a result. Instead, you get a single-line comment with /* at the start and */ at the end. When you use tcomment, what kind of comments do you get? Also, I thought that the primary way to comment in AutoHotkey is single-line comments with ; . That does not seem to be supported for me unless this filetype plugin is added.
@dkearns I'm okay to maintain this for now. Let me know if you want me to make any other changes.

Thanks.  LGTM.

Great. I will leave out the format options, so this is ready. Thanks again for review and guidance.

@telemachus using gcc does use ; for ahk comments for me, so maybe i've made other changes to my config somewhere to get that to happen, not sure

thanks all!


Should the lookup allowlist in mvp1 template 7 be arax or rtx-kg2?

In the template here, infores:arax is specified in the lookup allowlist:

In all other templates, a KP is specified here, not an ARA.  Should arax be changed to rtx-kg2 in this template?  and generally, what is the convention/rule here?
@karafecho @maximusunc @jdr0887

I think you're correct, @mbrush. It's funny because the template is named correctly (i.e., it includes rtxkgs as the target KP). I just created a PR. After this is merged, then I think this issue will be resolved: https://github.com/NCATSTranslator/Feedback/issues/854.


[Bug Report] Unable to set default value for  with remote-method

Element UI version
2.13.0
OS/Browsers version
Chrome 79
Vue version
2.6.11
Reproduction Link
https://jsfiddle.net/0fh1d4ck/
Steps to reproduce
Add a <el-select> element with remote-method, filterable, and remote attributes, and set the v-model with a default value.
What is Expected?
Be able to set a default value for the <el-select> element.
What is actually happening?
Getting the actual value instead of the label.

Nevermind got it now. Need to populate the options first before assigning the value:
async mounted() {
	await this.fetchData();
  	this.objectValue = 1;
},

Found a similar issue and got the solution despite not understanding the conversation (language). I can't seem to find it now though, sorry.


[3.0.x] Fix c++ complex double_proj test

I think the issue was partly that the function was defined twice with slightly different tests and that this was behaving differently on Py2.7, but not completely sure.
Either way, it's testing the standard library rather than our code, so we probably don't have to make it too detailed beyond that it compiles.

Seems to fix the python 2.7 issues.

The NumPy failures are unrelated.


Call to KDS 'put_records' fails intermittently with 'Connection reset by Peer' within lambda extension

Describe the bug
Hey!
I've derived an example from this repository: HERE
But instead of pushing to firehose, pushing to KDS instead. See minimal example
I've added some extra logic to my version of the above code where I'm providing custom credentials to the KDS client that's instantiated, but mostly, my implementation is the same. Is there a common reason for the Connection reset by peer error? It seems like the extension doesn't spin up the logs processor unless I invoke my lambda again, but this could just be because the async processing means any logs made in the Processors call method aren't spit out until they're resolved. I've seen some calls to kinesis succeed, but others seem to fail unexpectedly with this error:
DispatchFailure(DispatchFailure { source: ConnectorError { kind: Io, source: hyper::Error(Connect, Custom { kind: Other, error: Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" } }), connection: Unknown } }

The above error is logged during a match on the result of the future that is pinned inside of a Box in the example, expanded from this value HERE
Please note that the error is intermittent, meaning that sometimes the call to KDS works, but fails randomly.
I created an issue here in the lambda extension repository, but one of the maintainers mentioned this could be an issue with the SDK. I am thinking it may be a result of the lifecycle of the extension causing connection interference with the requests to KDS.
Any guidance would be much appreciated!
Expected Behavior
Lambda extension pushes logs to KDS with no issues
Current Behavior
Lambda extension fails to push logs to KDS on an intermittent / irregular basis
Reproduction Steps
https://github.com/dgarcia-collegeboard/aws-rust-lambda-extension-kinesis-example/blob/main/src/main.rs
The above code pushes to a KDS based on set env var
Possible Solution
No response
Additional Information/Context
Relevant issue link:
https://github.com/awslabs/aws-lambda-rust-runtime/issues/837
Version
1.15.0

Environment details (OS name and version, etc.)
AWS NodeJS runtime for lambda
Logs
DispatchFailure(DispatchFailure { source: ConnectorError { kind: Io, source: hyper::Error(Connect, Custom { kind: Other, error: Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" } }), connection: Unknown } }

is this happening during running the lambda locally or running it on a real lambda function? There are apparently some issues with the local simulator.

Updating, I'm getting another error that seems potentially related:
DispatchFailure(DispatchFailure { source: ConnectorError { kind: Io, source: hyper::Error(Canceled, hyper::Error(IncompleteMessage))

After looking a bit, I found this issue which seems to indicate that maybe the issue is related to connection pooling. I've attempted to look to see if anyone has encountered this issue with KDS / lambda extensions, agnostic to the actual language, but some of these errors seem specific to the usage of hyper. I can't narrow down if this is some setting with the Extension struct I need to modify, or if I need to add some more logic when creating the future to send to KDS.
Is there any similar issues others have experienced that could maybe lead to a resolution? I'm unsure what logic on the client-side will lead to resolving this issue

I had something similar issue in past when pushing data to AWS-S3, my findings:

Observed on wireshirk: both errors you mentions os 104 connection reset and incomplete message are same and cause by server closing (reset) connection (RST and not FIN/graceful close). Its just that hyper throws different error based on racing condition of when/how it gets to know about connection closure where it is attempting to flush data. os 104 is thrown when hyper is informed of closed connection by os while writing to closed socket, while incomplete msg is thrown when hyper knows of it while reading from closed socket.

So above is normal workflow, main issue is to identify cause of why server is closing connection. In my case I solved as:
a) connection pool: Default timeout for idle connection is 90s in hyper, while for S3 it is actually around 20s. So, for next request when a idle connection is picked by hyper, it might have been already closed by server leading to those errors.
b) Server may close connections on violation of different policies. I found that I was exceeding the requests-count/sec rate as well as request-size/sec rate. So, as soon as rates exceeded, server started connection resets randomly on connections leading to these errors intermittently. I solved it by tuning the data-inflight as well as concurrent connection count, like max idle pool size =500. Because even I limit data-inflight , in high-bandwidth low-latency scenario for small sized requests, I still could exceed request-rate limit.

For me, this reduced incomplete message error count from hundreds-of-thousands to almost zero.

I had something similar issue in past when pushing data to AWS-S3, my findings:
Observed on wireshirk: both errors you mentions os 104 connection reset and incomplete message are same and cause by server closing (reset) connection (RST and not FIN/graceful close). Its just that hyper throws different error based on racing condition of when/how it gets to know about connection closure where it is attempting to flush data. os 104 is thrown when hyper is informed of closed connection by os while writing to closed socket, while incomplete msg is thrown when hyper knows of it while reading from closed socket.
So above is normal workflow, main issue is to identify cause of why server is closing connection. In my case I solved as:
a) connection pool: Default timeout for idle connection is 90s in hyper, while for S3 it is actually around 20s. So, for next request when a idle connection is picked by hyper, it might have been already closed by server leading to those errors.
b) Server may close connections on violation of different policies. I found that I was exceeding the requests-count/sec rate as well as request-size/sec rate. So, as soon as rates exceeded, server started connection resets randomly on connections leading to these errors intermittently. I solved it by tuning the data-inflight as well as concurrent connection count, like max idle pool size =500. Because even I limit data-inflight , in high-bandwidth low-latency scenario for small sized requests, I still could exceed request-rate limit.
For me, this reduced incomplete message error count from hundreds-of-thousands to almost zero.

I solved it by tuning the data-inflight as well as concurrent connection count, like max idle pool size =500. Because even I limit data-inflight , in high-bandwidth low-latency scenario for small sized requests, I still could exceed request-rate limit.
For me, this reduced incomplete message error count from hundreds-of-thousands to almost zero.

Do you have an example of how this is done? I have no results for idle or pool in the kinesis sdk docs
https://docs.rs/aws-sdk-kinesis/latest/aws_sdk_kinesis/?search=idle

Seems related? https://github.com/awslabs/aws-sdk-rust/issues/1130


⚠ Bofrost.at has degraded performance

In 28e8519, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1458 ms

Resolved: Bofrost.at performance has improved in beed0d0.


TypeError: Cannot read properties of undefined (reading 'flatMap') in provideCodeLenses method

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Windows 11
- Continue: v0.9.175 (pre-release)~
- IDE: vscode 1.91.0
- Model:
- config.json:

Description
extension.js<PHONE_NUMBER>87)
      async provideCodeLenses(document2) {
        if (isTutorialFile(document2.uri)) {
          return [];
        }
        const editor = vscode24.window.activeTextEditor;
        if (!editor) {
          return [];
        }
        const symbols = await vscode24.commands.executeCommand("vscode.executeDocumentSymbolProvider", document2.uri);
        const filteredSmybols = symbols?.filter(
          (def) => _QuickActionsCodeLensProvider.quickActionSymbolKinds.includes(def.kind)
        );
        return filteredSmybols.flatMap(({ range }) => {
          const commands14 = !!this.customQuickActionsConfig ? this.getCustomCommands(range, this.customQuickActionsConfig) : this.getDefaultCommands(range);
          return commands14.map((command) => new vscode24.CodeLens(range, command));
        });
      }
    };
    QuickActionsCodeLensProvider = _QuickActionsCodeLensProvider;

https://github.com/continuedev/continue/blob/c93f530abd0d64300c4d45a8ad8da9ee996f03f8/extensions/vscode/src/lang-server/codeLens/providers/QuickActionsCodeLensProvider.ts#L125
To reproduce

Open a document in Visual Studio Code.
Observe the error message: TypeError: Cannot read properties of undefined (reading 'flatMap')

Log output
2024-07-09 21:48:40.531 [error] [Continue.continue] provider FAILED
2024-07-09 21:48:40.531 [error] TypeError: Cannot read properties of undefined (reading 'flatMap')
	at _QuickActionsCodeLensProvider.provideCodeLenses (c:\Users\*\.vscode\extensions\continue.continue-0.9.175-win32-x64\out\extension.js:444998:32)
	at async u.provideCodeLenses (c:\Users\*\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:154:99909)

Good catch! It looks like this was specifically with new files. The has been resolved in pre-release 👍


Added delegates for SDL_GetDesktopDisplayMode and SDL_GetNumVideoDisplays

I needed to use these two functions from SDL and couldn't see them in the Sdl2Native class so just thought I would add them in.
SDL_GetDesktopDisplayMode is useful to get the desktop resolution in a cross-platform way.

LGTM, thanks for the submission!


Add "box" styles for framer motion learnings

These arent described in the code cells in your documentation

yeep will add noted