refactor: refactor owner in smart contract account to connected signer

Pull Request Checklist

[ ] Did you add new tests and confirm existing tests pass? (yarn test)
[ ] Did you update relevant docs? (docs are found in the site folder, and guidelines for updating/adding docs can be found in the contribution guide)
[ ] Do your commits follow the Conventional Commits standard?
[ ] Does your PR title also follow the Conventional Commits standard?
[ ] If you have a breaking change, is it correctly reflected in your commit message? (e.g. feat!: breaking change)
[ ] Did you run lint (yarn lint:check) and fix any issues? (yarn lint:write)
[ ] Did you follow the contribution guidelines?

PR-Codex overview
The focus of this PR is to replace occurrences of owner with signer across various files for consistency in naming conventions.
Detailed summary

Replaced owner with signer in multiple files related to account signing and ownership.
Ensured consistency in naming conventions for SmartAccountSigners.
Updated function calls and object properties to reflect the change from owner to signer.

The following files were skipped due to too many changes: packages/accounts/src/nani-account/transferNaniAccountOwnership.ts, packages/core/src/signer/local-account.ts, site/signers/eoa.md, packages/accounts/src/nani-account/__tests__/account.test.ts, site/packages/aa-core/smart-account-client/types/userOperationFeeOptions.md, site/snippets/aa-ethers/ethers-signer.ts, site/snippets/aa-ethers/ethers-provider.ts, site/packages/aa-accounts/light-account/actions/transferOwnership.md, site/using-smart-accounts/transfer-ownership/modular-account.md, site/signers/guides/walletkit.md, site/snippets/nani-account.ts, site/snippets/getting-started/send-user-operation.ts, site/snippets/aa-alchemy/light-account.ts, site/packages/aa-ethers/account-signer/signMessage.md, site/packages/aa-signers/magic/introduction.md, site/packages/aa-signers/portal/introduction.md, site/packages/aa-signers/capsule/introduction.md, site/packages/aa-signers/turnkey/introduction.md, site/packages/aa-signers/particle/introduction.md, site/packages/aa-signers/web3auth/introduction.md, site/packages/aa-ethers/provider-adapter/connectToAccount.md, site/packages/aa-signers/arcana-auth/introduction.md, packages/accounts/src/msca/plugins/multi-owner/signer.ts, site/packages/aa-signers/fireblocks/introduction.md, site/using-smart-accounts/session-keys/getting-started.md, site/snippets/getting-started/client.ts, site/getting-started/setup.md, packages/alchemy/src/client/lightAccountClient.ts, site/smart-accounts/index.md, site/snippets/session-keys/full-example.ts, site/signers/guides/custom-signer.md, site/using-smart-accounts/transfer-ownership/light-account.md, site/signers/choosing-a-signer.md, packages/core/src/account/schema.ts, packages/ethers/src/__tests__/provider-adapter.test.ts, packages/accounts/src/light-account/decorator.ts, packages/accounts/src/light-account/actions/transferOwnership.ts, packages/accounts/src/light-account/client.ts, site/packages/aa-ethers/account-signer/connect.md, packages/alchemy/src/client/modularAccountClient.ts, site/smart-accounts/light-account/index.md, packages/core/src/account/types.ts, packages/ethers/e2e-tests/simple-account.e2e.test.ts, packages/core/src/account/base.ts, packages/alchemy/src/client/lightAccountClient.test.ts, packages/core/src/account/__tests__/simple.test.ts, packages/accounts/src/light-account/account.test.ts, packages/accounts/src/msca/utils.ts, packages/accounts/src/msca/client.ts, site/packages/aa-ethers/account-signer/introduction.md, site/smart-accounts/modular-account/getting-started.md, packages/accounts/src/msca/account/multiOwnerAccount.ts, packages/alchemy/e2e-tests/light-account.e2e.test.ts, packages/core/src/account/simple.ts, site/resources/faqs.md, packages/accounts/src/light-account/account.ts, site/packages/aa-accounts/light-account/index.md, packages/accounts/src/nani-account/account.ts, packages/core/e2e-tests/simple-account.e2e.test.ts, packages/accounts/src/light-account/e2e-tests/light-account.e2e.test.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@moldy530 fixed some e2e tests.
One test failing in e2e is:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: {
  "code": -32521,
  "details": "user operation's call reverted: 0xa24a13a6",
  "docsPath": undefined,
  "metaMessages": [
    "URL: https://eth-sepolia.g.alchemy.com/v2/wezhr4S1VfAMhjFXpIb7opdCZcIOPAow",
    "Request body: {"method":"eth_estimateUserOperationGas","params":[{"initCode":"0x00004ec70002a32400f8ae005a26081065620d205fbfb9cf0000000000000000000000007cbfe93f3722c53a8900044d61908e5decac23d60000000000000000000000000000000000000000000000000000000000000000","sender":"0x92496cD1D7afbd516932162509Edea80D94570de","nonce":"0x0","callData":"0xb61d27f600000000000000000000000092496cd1d7afbd516932162509edea80d94570de0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002a44f1ef2860000000000000000000000000000006641db11037b7a187c45d9d50f2aeee75000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000224e69e24a8000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000e8f14a838a00505d861c6ef15cdfb05455000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000121d0f6cca8bef15ac65bf93ae5ae9ec383ea5010bf3e02b44d3c0abd2d2bd0fb0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000007cbfe93f3722c53a8900044d61908e5decac23d600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","signature":"0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c","paymasterAndData":"0x","maxFeePerGas":"0xd999cfe","maxPriorityFeePerGas":"0xa8"},"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"]}",
  ],
  "shortMessage": "RPC Request failed.",
  "version"<EMAIL_ADDRESS>  "walk": "Function<walk>",
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

 Test Files  1 failed (1)
      Tests  1 failed | 11 passed (12)
   Start at  17:46:56
   Duration  172.46s (transform 287ms, setup 16ms, collect 622ms, tests 171.49s, environment 0ms, prepare 39ms)

is this rpc endpoint working all well? for sepolia cc: @dancoombs


feat(MSS): Add support for Microsoft Smooth Streaming (VOD only)

Closes https://github.com/shaka-project/shaka-player/issues/703
Live is not supported

Thanks so much for all the help @joeyparrish!


[Fancy Zones] Zone editor window opens behind overlay

ℹ Computer information

PowerToys version: 0.23.2 & 0.25.0
PowerToy Utility: Fany Zones
Running PowerToys as Admin: Yes
Windows build number: 2004 (19041.572)

Three displays - left one is in portait orientation, the others are in landscape.
📝 Provide detailed reproduction steps (if any)

Press Fancy Zones Editor hotkey (in my case Win+Ö, because German keyboard)

✔ Expected result
Zone Editor window opens in front of zone overlay
❌ Actual result
Zone Editor window opens behind zone overlay. It can be controlled with the keyboard, but once you click on the screen, it looses focus. At that point you can only close it all with Alt+F4, which results in a crash message.
When you manage to get the right settings in with keyboard only, everything works fine - it's just, you can't use the mouse at all.
📷 Screenshots

Now to figure out how to repro this.

I wonder if this is caused by a third party software, since the window hierarchy in the editor is hardcoded, this should be technically impossible to happen by itself.

@xpac1985 do you have any additional applications on your system that could be causing interactions?  AHK or something that can manipulate windows?

@enricogior @crutkas I gave it another test. I updated PowerToys to 0.25.0, rebooted my laptop, then closed pretty much everything I could. Every application in the tray bar, even killed a few other background processes using task manager - pretty much as clean of a slate as I can offer.
Sadly - no difference - editor is still behind the overlay. The only noticeable applications that I could not get rid of are Cisco AnyConnect (the service processes of it), BeyondTrust Defendpoint (which is a "you don't get full admin access to your box but can request it for most tasks" tool, as this is a corp laptop), and the Teamviewer service. None of those strike as very likely to hijack window orders.
I don't really have any good idea why this would happen at this point...

I'm removing this from 0.27 since we don't have a repo and we won't have time to investigate this.
Since the initial release of PT, it's the first time such a problem as been reported. We didn't change anything that may have caused this. The z-order is provided by the system, the editor just sets the attribute to make the dialog window to stay on top of the zones preview.

@enricogior
sorry I didn't know similar issue reported already
answering to your question
Does it also happen when opening from the Settings app?
Yes it's the same behavior
it was working with previous version 0.18, upgraded yesterday to 0.25
I'm considering to downgrade to 0.24 and see how it goes

Okay - for reasons unclear to me it works fine at the moment. The only thing that changed might be automatically installed Windows updates - besides that I made no config change or installed/uninstalled software that would affect this (as far as I know).
So - for me the problem is solved, but for @apratomo it seems to still exist?

@xpac1985
thanks for the follow up.

@xpac1985 @enricogior
for some reason now it's just works, I didn't do anything and there's no windows update either (windows update been strictly controlled by company administrator).
Yes we can close this. Thanks!

@apratomo
OK thanks.


Button position

I'd like to use the close button right aligned (like the fullscreen button).
Is there a way to define alignment without changing javascript code?

You just need to add close after fullscreen in the last array of btns array and it's done :)

Thanks.


Add support for Caddy TLS termination proxy

This moves the Canasta app image away from providing any ports to the host. Caddy, the TLS termination proxy, will instead serve to the host ports 80 and 443.

By the way, I think there's some issues with using non-port 80 ports on the Canasta image. This PR incorporates a change to ports.conf, but it doesn't seem to fully resolve the problem.

I just tried it out and it seems to be working!

And here is an example of Caddy successfully automatically provisioning a TLS certificate:
ubuntu@ip-172-31-25-239:~/Canasta$ sudo docker logs canasta_caddy_1
Caddy proxying https://canastatest1.mywikis.net -> http://web:8080
{"level":"warn","ts":1643367431.557757,"logger":"admin","msg":"admin endpoint disabled"}
{"level":"info","ts":1643367431.557922,"logger":"http","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"proxy","https_port":443}
{"level":"info","ts":1643367431.5579395,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"proxy"}
{"level":"info","ts":1643367431.558107,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc00019fd50"}
{"level":"info","ts":1643367431.558259,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/data/caddy"}
{"level":"info","ts":1643367431.5584235,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["canastatest1.mywikis.net"]}
{"level":"info","ts":1643367431.5586016,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
{"level":"info","ts":1643367431.5586364,"logger":"tls","msg":"finished cleaning storage units"}
{"level":"info","ts":1643367431.5589042,"logger":"tls.obtain","msg":"acquiring lock","identifier":"canastatest1.mywikis.net"}
{"level":"info","ts":1643367431.5676818,"logger":"tls.obtain","msg":"lock acquired","identifier":"canastatest1.mywikis.net"}
{"level":"info","ts":1643367431.5889199,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["canastatest1.mywikis.net"],"ca":"https://acme-v02.api.letsencrypt.org/directory","account":""}
{"level":"info","ts":1643367431.5889456,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["canastatest1.mywikis.net"],"ca":"https://acme-v02.api.letsencrypt.org/directory","account":""}
{"level":"info","ts":1643367432.0219877,"logger":"tls.issuance.acme.acme_client","msg":"trying to solve challenge","identifier":"canastatest1.mywikis.net","challenge_type":"http-01","ca":"https://acme-v02.api.letsencrypt.org/directory"}
{"level":"error","ts":1643367432.3920736,"logger":"tls.issuance.acme.acme_client","msg":"challenge failed","identifier":"canastatest1.mywikis.net","challenge_type":"http-01","problem":{"type":"urn:ietf:params:acme:error:connection","title":"","detail":"Fetching http://canastatest1.mywikis.net/.well-known/acme-challenge/eprvmH37mhrig3hiFiz6mf8W_PbCSbRne2n7VOT6avk: Connection refused","instance":"","subproblems":[]}}
{"level":"error","ts":1643367432.392186,"logger":"tls.issuance.acme.acme_client","msg":"validating authorization","identifier":"canastatest1.mywikis.net","problem":{"type":"urn:ietf:params:acme:error:connection","title":"","detail":"Fetching http://canastatest1.mywikis.net/.well-known/acme-challenge/eprvmH37mhrig3hiFiz6mf8W_PbCSbRne2n7VOT6avk: Connection refused","instance":"","subproblems":[]},"order":"https://acme-v02.api.letsencrypt.org/acme/order/382719210/59162756120","attempt":1,"max_attempts":3}
{"level":"info","ts":1643367433.5670924,"logger":"tls.issuance.acme.acme_client","msg":"trying to solve challenge","identifier":"canastatest1.mywikis.net","challenge_type":"tls-alpn-01","ca":"https://acme-v02.api.letsencrypt.org/directory"}
{"level":"info","ts":1643367433.7978704,"logger":"tls","msg":"served key authentication certificate","server_name":"canastatest1.mywikis.net","challenge":"tls-alpn-01","remote":"<IP_ADDRESS>:51558","distributed":false}
{"level":"info","ts":1643367433.8218176,"logger":"tls","msg":"served key authentication certificate","server_name":"canastatest1.mywikis.net","challenge":"tls-alpn-01","remote":"<IP_ADDRESS>:23134","distributed":false}
{"level":"info","ts":1643367433.897994,"logger":"tls","msg":"served key authentication certificate","server_name":"canastatest1.mywikis.net","challenge":"tls-alpn-01","remote":"<IP_ADDRESS>:55564","distributed":false}
{"level":"info","ts":1643367433.990173,"logger":"tls","msg":"served key authentication certificate","server_name":"canastatest1.mywikis.net","challenge":"tls-alpn-01","remote":"<IP_ADDRESS>:50506","distributed":false}
{"level":"info","ts":1643367434.251371,"logger":"tls.issuance.acme.acme_client","msg":"validations succeeded; finalizing order","order":"https://acme-v02.api.letsencrypt.org/acme/order/382719210/59162761660"}
{"level":"info","ts":1643367434.6734843,"logger":"tls.issuance.acme.acme_client","msg":"successfully downloaded available certificate chains","count":2,"first_url":"https://acme-v02.api.letsencrypt.org/acme/cert/039f644429de4d0b280d335d73fa11181054"}
{"level":"info","ts":1643367434.6751308,"logger":"tls.obtain","msg":"certificate obtained successfully","identifier":"canastatest1.mywikis.net"}
{"level":"info","ts":1643367434.675274,"logger":"tls.obtain","msg":"releasing lock","identifier":"canastatest1.mywikis.net"}

@jeffw16 I've tried to clone the branch and run docker-compose up . It forces the port to be 443 (https). And in that case, I'm not taken to wiki-creation wizard when LocalSettings.php is not found.

@sanjay-thiyagarajan Looks like there is a step that I forgot to do: specify to Caddy to use a different port.
I don't see a straightforward way to do it using the caddy reverse-proxy command, so it's likely Canasta will have to switch to using a Caddyfile. I don't see an easy way to do it right now, proposals are welcome. https://caddyserver.com/docs/caddyfile/options
In the meantime, I would say let's just merge it without support for non-standard HTTPS port numbers. Worst case, the user can disable Caddy and restore it to using Apache.

So,

@sanjay-thiyagarajan Looks like there is a step that I forgot to do: specify to Caddy to use a different port.
I don't see a straightforward way to do it using the caddy reverse-proxy command, so it's likely Canasta will have to switch to using a Caddyfile. I don't see an easy way to do it right now, proposals are welcome. https://caddyserver.com/docs/caddyfile/options
In the meantime, I would say let's just merge it without support for non-standard HTTPS port numbers. Worst case, the user can disable Caddy and restore it to using Apache.

So, how do I get to https://localhost ? Doing docker-compose up was not taking me to my canasta wiki / setup wizard

Okay, In that case, everything works fine ! All traffic to http gets redirected to https now.

Yes, it seems like this should just be merged in... should I do it?

Sure, go for it!


Export Model in XMI Format

To the author,
IFML is already OMG standard modeling language, so to exchange data to another tools, the model should be able to saved into XMI file format. I hope that in the future this feature will be able to be implemented

@hafiyyan94 thank you for your interest in the project.
This is definetly an important feature and is in the todo list.
The version implemented in the tool is a restricted dialect of the full OMG standard, but it should be perfectly compatible with the XMI format.
Due to the restricted manpower on the project, and some design decisions, dealing with the XMI format was overkilling and definetly a nogo.
We have opted for ALMOsT.js as framework ad used its format for model storage.
https://link.springer.com/chapter/10.1007/978-3-319-60131-1_5
It should be straightforward to implement a model to text transformation rule to generate the required file.


Updated Region parameter description

Removed ARE, GBR, ZAF; added LAM Per email request

Docs Build status updates of commit ce8e58e:
:clock10: Pending: waiting for processors (10 builds ahead of you)
:warning: Docs Build is busy, currently there are 10 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit ce8e58e:
:clock10: Full build: the average full build time is 12 min(s) 27 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit ce8e58e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-content-search/New-ComplianceSecurityFilter.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance-content-search/Set-ComplianceSecurityFilter.md
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 532ca47:
:clock10: Pending: waiting for processors (16 builds ahead of you)
:warning: Docs Build is busy, currently there are 16 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 532ca47:
:clock10: Full build: the average full build time is 12 min(s) 28 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 532ca47:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/policy-and-compliance-content-search/New-ComplianceSecurityFilter.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/policy-and-compliance-content-search/Set-ComplianceSecurityFilter.md
:white_check_mark:Succeeded
View (exchange-ps)

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


Display a "notes file" at the bottom of the help dialog

a simple file say flags.md that is attached after the generation at the bottom ?
maybe that leads to scrolling
or maybe a seperate dialog that shows the content of such a file ?
its not a big deal. but falgs are very versatile and individual. i have a md file for that.
the most obviously (R)eadLater is in a header before the query.
Originally posted by @Jorval in https://github.com/newsboat/newsboat/issues/228#issuecomment-745411018

Some quick notes and ideas from me:

I don't want to add a Markdown renderer into Newsboat, so let's treat the file as plain text, to be displayed verbatim. I think the only processing we should do is word-wrap long lines (since we don't have vertical scrolling)
I think this feature would be useful not just for flags, so let's give the file a more generic name; "help_notes.txt" maybe?
I think the file should have a well-known location, just like config and urls files do. I'm not yet sure if there should be a corresponding CLI option to set the path — I feel like these are getting out of hand, and we should drop all of them rather than adding new ones.

a plain txt file is absolutly fine. i use md only because it's a habit. (and using glow to render them nicely in vte) but a textfile is perfect.
of course someone can also use it for macros, cookierecipes ...
yes absolutly this one belongs in XDG_CONFIG_DIR or ~/.newsboat

a just had a brief look in the code (and iam not a cpp coder) is it hard to create dialogs ? so is a usercreated dialog with the path to a plain textfile hard to achieve ?

A new dialog would be a couple hundred lines: a new file in the stfl/ (with STFL markup which can be easily copied from any other dialog), plus a new class derived from FormAction (similar to include/helpformaction.h and src/helpformaction.cpp). But why? I don't see much benefit in having a separate dialog for this.

i couldn't evalutae this, so i asked. ;)
my thought was giving the user the ability to make use of this fine dialog manager, for example to display there selfmade helpfile or note. on the other hand newsboat is a rss newsreader (and a very fine one) and following unxi and KISS principles and should not be overblown with thinks it doesn't really need.
i'am thankful that you consider maybe enhancing the helptext.
PS: beeing in nightcity for a couple of (hopefully hours not minutes)


cannot find -lsds_lib

Hi
I use the pynq z2 with img v2.3.  When I input the ''sudo pip3.6 install git+https://github.com/Xilinx/QNN-MO-PYNQ.git", the error is '/usr/bin/arm-linux-gnueabihf-ld : cannot find -lsds_lib'. Please help me, it troubled me for three days.

Just pushed the update supporting PYNQ 2.3, please try now

The official support to PYNQ2.3 has just been pushed, please check now if this works for you.

Thank you very much! You are so great!!!


[Feature] Better Comment Sorting

A function for comment-sorting (better than Youtube's sorting) would be phenomenal.
Namely, the ability to sort all comments by:

most-upvotes
most-replies-to
newest/oldest
comments-that-creator-replied-to

The two most useful sortings would be by most-upvotes and newest vs. oldest.
Currently, Youtube's comment-sorting is algorithmically selective, Youtube choosing from a pool of comments to present as "Top Comments". Even then, Youtube doesn't sort them in proper order. Even worse, you're not actually seeing the highest upvoted comments of all, but rather, Youtube's "digest" of picked recent comments with upvotes.
It would be great to be able to see an absolute scale of comment sorting from highest-to-lowest across all comments.

I'll think about it. But I doubt it. Since the Youtube API has a limit on the number of calls per unit of time

Makes sense. Even just 1-2 extra "Load more"s (then sorted), would be useful. Just an idea.

Test version (extension). This is an example of the functionality that will be available
Loads only the top 100 (by Google comment versions) possible by date but not yet implemented
nova-extensions_v1.34.0.zip
Here is the full list of available data in the comment
{
      "snippet": {
         "videoId": "aabbcc11",
         "textDisplay": "text",
         "textOriginal": "text",
         "authorDisplayName": "user A",
         "authorProfileImageUrl": "https://yt3.ggpht.com/ytc/..",
         "authorChannelUrl": "http://www.youtube.com/channel/UC1..",
         "authorChannelId": { "value": "UC.." },
         "canRate": true,
         "viewerRating": "none",
         "likeCount": 5,
         "publishedAt": "2022-01-01T01:23:00Z",
         "updatedAt": "2022-01-01T01:23:00Z"
      },
   "canReply": true,
   "totalReplyCount": 7,
   "isPublic": true
}

p.s. may need your api key

Here is the pre-release version.
nova-extensions_v1.34.0.zip
Missing reply view totaly. But the left link to the comment.


Disabling creep sheild

This may be an issue or it may be that i lack the tech savvy, but can creep sheild be disabled, it hogs resources and is both questionable in its fairness, and irrelevant to me, as I am not a US citizen (there are millions of us, you'd be amazed!). it also hogs resources, so id like to turn it off, can it be done?

CreepShield.com apparently no longer exists. If this functionality is to remain in the tool, it must be implemented differently.


Which callback?

I can not say this is a bug but it is not a suggestion either.
I've made a research on OS, YouTube and GitHub.
I followed the steps described on https://pub.dev/packages/freerasp and everything seems to be working fine.
The question is, should I use the ThreatCallback or the TalsecCallback? Each callback checks for not the same things exactly.
void main() async {
       WidgetsFlutterBinding.ensureInitialized();
...
    // create configuration for freeRASP
    final config = TalsecConfig(
    /// For Android
    androidConfig: AndroidConfig(
        packageName: 'com.tada.tadaaa',
        signingCertHashes: ['dslkhfsdakjhfkjdshfkdshkfdsh'],
        supportedStores: ['adb', 'com.sec.android.app.samsungapps'],
    ),

    /// For iOS
    iosConfig: IOSConfig(
        bundleIds: ['com.tada.tadAAAA'],
        teamId: 'fsdjhgfksjdhgj',
    ),

    watcherMail<EMAIL_ADDRESS>
    isProd: false,
 );

 // Setting up callbacks
 final callback = ThreatCallback(
     onAppIntegrity: () => print("App integrity"),
     onObfuscationIssues: () => print("Obfuscation issues"),
     onDebug: () => print("Debugging"),
     onDeviceBinding: () => print("Device binding"),
     onDeviceID: () => print("Device ID"),
     onHooks: () => print("Hooks"),
     onPasscode: () => print("Passcode not set"),
     onPrivilegedAccess: () => print("Privileged access"),
     onSecureHardwareNotAvailable: () => print("Secure hardware not available"),
     onSimulator: () => print("Simulator"),
     onUnofficialStore: () => print("Unofficial store"));

     // Attaching listener
     Talsec.instance.attachListener(callback);

     await Talsec.instance.start(config);

     ...

     runApp(const App());
}

As a side note an easier way to get your android app hash if you can not run the Gradle Task is:
Google Play Console > View App > Setup > App Signing > App Signing Key Certificate > SHA 256.
Then use https://base64.guru/converter/encode/hex as suggested.
Thanks

Hello @rodrifting ,
thank you for the question! I will let @tompsota or @yardexx answer and add the information into the documentation.

Hi @rodrifting,

Callbacks

should I use the ThreatCallback or the TalsecCallback?

TalsecCallback was removed in freeRASP 5.0.0, therefore this depends on the version of freeRASP you are using. For freeRASP < 5.0.0, you should use TalsecCallback. For newer versions, the preferred method is to use ThreatCallback.

Each callback checks for not the same things exactly

They both check for the same threats, we just unified the interface for iOS and Android since v5.0.0. For example, onRootDetected from old AndroidCallback and onJailbreakDetected from old iOSCallback were unified into onPrivilegedAccess in the ThreatCallback. Therefore, you don't receive root and jailbreak callbacks separately, but instead get privilegedAccess regardless of the platform.

Getting android app hash
We updated our wiki with the correct way how to obtain the certificate hash from Google Play Console. Thank you for pointing this out.

If you have any other questions feel free to ask.
Cheers,
Tomas, Talsec developer

Thank you!


Where is the generic.xbf file associated with the WindowsAppSDK NuGet?

Describe the bug
When we create a custom WinUI3 NuGet with xaml resources (e.g., Resource Dictionaries with custom styles), we need to provide the corresponding XBF/XAML files along with other NuGet files(e.g.: .dll, .winmd etc) in order to copy them to the client application's output location. However, the self-contained WinUI3 application's output directory does not contain any XBF/XAML files associated with WindowsAppSDK NuGet, such as generic.xaml or generic.xbf.
How does the client application getting XAML resources from WindowsAppSDK NuGet ?
Does the WindowsAppSDK have a specific location where it stores its XBF/XAML files?
If so, may we incorporate this method into our custom NuGet?
Steps to reproduce the bug
Custom NuGet is created by referring https://learn.microsoft.com/en-us/nuget/guides/create-uwp-packages
Expected behavior
No response
Screenshots
No response
NuGet package version
Windows App SDK 1.3.2: 1.3.230602002
Packaging type
Unpackaged
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response

The generic.xaml file is in the nuget package.
There are three copies in the package, there is the one under lib\net6.0-windows10.0.17763.0\Microsoft.WinUI\Themes, which is the one you would likely reference if you are targeting Windows 10 1809 (17763) with .NET. There is one under lib\net6.0-windows10.0.18362.0\Microsoft.WinUI\Themes which is for Windows 10 1903 (18362) with .NET. Finally, there is the one under lib\uap10.0\Microsoft.UI\Themes which would be for the languages that use direct .winmd references. Although the files should be identical.
As far as where the WinUI resources end up in a self contained application, you really have to understand that by default there is only one .pri file for an application (UWP applications could really only have one per package). This means that if you bring the component into the application, you also have to bring the resources in too.
As an example, suppose I have the amazingly named WinUI 3 application named meh.exe. This is set to be unpackaged and self contained. I don't think this is really documented, but the resources file that MRT Core looks for by default for an unpackaged application is meh.pri in the same directory as the executable. If it is packaged then it looks for resources.pri, and this is documented.
If we then use makepri to dump the contents of meh.pri,
makepri dump /if meh.pri /of meh.pri.xml
It is possible to look at the content of the resource file for the application. In this case, the file starts off with:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PriInfo>
	<ResourceMap name="Meh" version="1.0" primary="true">
		<Qualifiers>
			<Language>EN-US,EN-GB,AF-ZA,AM-ET,AR-SA,AS-IN,AZ-LATN-AZ,BG-BG,BN-IN,BS-LATN-BA,CA-ES,CA-ES-VALENCIA,CS-CZ,CY-GB,DA-DK,DE-DE,EL-GR,ES-ES,ES-MX,ET-EE,EU-ES,FA-IR,FI-FI,FIL-PH,FR-CA,FR-FR,GA-IE,GD-GB,GL-ES,GU-IN,HE-IL,HI-IN,HR-HR,HU-HU,HY-AM,ID-ID,IS-IS,IT-IT,JA-JP,KA-GE,KK-KZ,KM-KH,KN-IN,KO-KR,KOK-IN,LB-LU,LO-LA,LT-LT,LV-LV,MI-NZ,MK-MK,ML-IN,MR-IN,MS-MY,MT-MT,NB-NO,NE-NP,NL-NL,NN-NO,OR-IN,PA-IN,PL-PL,PT-BR,PT-PT,QUZ-PE,RO-RO,RU-RU,SK-SK,SL-SI,SQ-AL,SR-CYRL-BA,SR-CYRL-RS,SR-LATN-RS,SV-SE,TA-IN,TE-IN,TH-TH,TR-TR,TT-RU,UG-CN,UK-UA,UR-PK,UZ-LATN-UZ,VI-VN,ZH-CN,ZH-TW</Language>
		</Qualifiers>
		<ResourceMapSubtree name="Files">
			<NamedResource name="App.xbf" uri="ms-resource://Meh/Files/App.xbf">
				<Candidate type="Path">
					<Value>App.xbf</Value>
				</Candidate>
			</NamedResource>
			<NamedResource name="MainWindow.xbf" uri="ms-resource://Meh/Files/MainWindow.xbf">
				<Candidate type="Path">
					<Value>MainWindow.xbf</Value>
				</Candidate>
			</NamedResource>
			<ResourceMapSubtree name="Microsoft.UI.Xaml">
				<ResourceMapSubtree name="Assets">
					<NamedResource name="NoiseAsset_256X256_PNG.png" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/Assets/NoiseAsset_256X256_PNG.png">
						<Candidate type="Path">
							<Value>Microsoft.UI.Xaml\Assets\NoiseAsset_256X256_PNG.png</Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
				<ResourceMapSubtree name="DensityStyles">
					<NamedResource name="Compact.xbf" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/DensityStyles/Compact.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
					<NamedResource name="CompactDatePickerTimePickerFlyout.xbf" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/DensityStyles/CompactDatePickerTimePickerFlyout.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
				<ResourceMapSubtree name="Themes">
					<NamedResource name="generic.xbf" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/Themes/generic.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
					<NamedResource name="themeresources.xbf" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/Themes/themeresources.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
			</ResourceMapSubtree>
		</ResourceMapSubtree>

This is incomplete since the file is around 1.7MiB, but do you notice the Microsoft.UI.Xaml subtree? These are the WinUI 3 resources that were merged with the application's resources. It is possible to verify this by grabbing the resources.pri out of the Windows App SDK package (the .msix file is just a renamed .zip file) and use makepri to dump the contents in the same way. This file starts off with the following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PriInfo>
	<ResourceMap name="Microsoft.WindowsAppRuntime.1.3" version="1.0" primary="true">
		<Qualifiers>
			<Language>EN-US,EN-GB,AF-ZA,AM-ET,AR-SA,AS-IN,AZ-LATN-AZ,BG-BG,BN-IN,BS-LATN-BA,CA-ES,CA-ES-VALENCIA,CS-CZ,CY-GB,DA-DK,DE-DE,EL-GR,ES-ES,ES-MX,ET-EE,EU-ES,FA-IR,FI-FI,FIL-PH,FR-CA,FR-FR,GA-IE,GD-GB,GL-ES,GU-IN,HE-IL,HI-IN,HR-HR,HU-HU,HY-AM,ID-ID,IS-IS,IT-IT,JA-JP,KA-GE,KK-KZ,KM-KH,KN-IN,KO-KR,KOK-IN,LB-LU,LO-LA,LT-LT,LV-LV,MI-NZ,MK-MK,ML-IN,MR-IN,MS-MY,MT-MT,NB-NO,NE-NP,NL-NL,NN-NO,OR-IN,PA-IN,PL-PL,PT-BR,PT-PT,QUZ-PE,RO-RO,RU-RU,SK-SK,SL-SI,SQ-AL,SR-CYRL-BA,SR-CYRL-RS,SR-LATN-RS,SV-SE,TA-IN,TE-IN,TH-TH,TR-TR,TT-RU,UG-CN,UK-UA,UR-PK,UZ-LATN-UZ,VI-VN,ZH-CN,ZH-TW</Language>
		</Qualifiers>
		<ResourceMapSubtree name="Files">
			<ResourceMapSubtree name="Microsoft.UI.Xaml">
				<ResourceMapSubtree name="Assets">
					<NamedResource name="NoiseAsset_256X256_PNG.png" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/Assets/NoiseAsset_256X256_PNG.png">
						<Candidate type="Path">
							<Value>Microsoft.UI.Xaml\Assets\NoiseAsset_256X256_PNG.png</Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
				<ResourceMapSubtree name="DensityStyles">
					<NamedResource name="Compact.xbf" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/DensityStyles/Compact.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
					<NamedResource name="CompactDatePickerTimePickerFlyout.xbf" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/DensityStyles/CompactDatePickerTimePickerFlyout.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
				<ResourceMapSubtree name="Themes">
					<NamedResource name="generic.xbf" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/Themes/generic.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
					<NamedResource name="themeresources.xbf" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/Themes/themeresources.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
			</ResourceMapSubtree>
		</ResourceMapSubtree>

The biggest difference is the root path of the URI is set up to target the Windows App SDK package directory.
Anyway, the interesting thing about both of these is under the WinUI 3 .xbf files, do you notice the references to embedded data? This means that the data for these files is stored in the .pri file itself. This means that you don't have to do anything out of the ordinary to get these files since MRT Core should just look in the application/package resource file.
If there is any problem in particular that you are facing then it would be better to describe that problem as precisely as you can.

Thank you for your response

The generic.xaml file is in the nuget package. There are three copies in the package, there is the one under lib\net6.0-windows10.0.17763.0\Microsoft.WinUI\Themes, which is the one you would likely reference if you are targeting Windows 10 1809 (17763) with .NET. There is one under lib\net6.0-windows10.0.18362.0\Microsoft.WinUI\Themes which is for Windows 10 1903 (18362) with .NET. Finally, there is the one under lib\uap10.0\Microsoft.UI\Themes which would be for the languages that use direct .winmd references. Although the files should be identical. As far as where the WinUI resources end up in a self contained application, you really have to understand that by default there is only one .pri file for an application (UWP applications could really only have one per package). This means that if you bring the component into the application, you also have to bring the resources in too. As an example, suppose I have the amazingly named WinUI 3 application named meh.exe. This is set to be unpackaged and self contained. I don't think this is really documented, but the resources file that MRT Core looks for by default for an unpackaged application is (executable name).pri, so meh.pri in this case. MRT Core looks in the same directory as the executable. If it is packaged then it looks for resources.pri, and this is documented. If we then use makepri to dump the contents of meh.pri, makepri dump /if meh.pri /of meh.pri.xml It is possible to look at the content of the resource file for the application. In this case, the file starts off with:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PriInfo>
	<ResourceMap name="Meh" version="1.0" primary="true">
		<Qualifiers>
			<Language>EN-US,EN-GB,AF-ZA,AM-ET,AR-SA,AS-IN,AZ-LATN-AZ,BG-BG,BN-IN,BS-LATN-BA,CA-ES,CA-ES-VALENCIA,CS-CZ,CY-GB,DA-DK,DE-DE,EL-GR,ES-ES,ES-MX,ET-EE,EU-ES,FA-IR,FI-FI,FIL-PH,FR-CA,FR-FR,GA-IE,GD-GB,GL-ES,GU-IN,HE-IL,HI-IN,HR-HR,HU-HU,HY-AM,ID-ID,IS-IS,IT-IT,JA-JP,KA-GE,KK-KZ,KM-KH,KN-IN,KO-KR,KOK-IN,LB-LU,LO-LA,LT-LT,LV-LV,MI-NZ,MK-MK,ML-IN,MR-IN,MS-MY,MT-MT,NB-NO,NE-NP,NL-NL,NN-NO,OR-IN,PA-IN,PL-PL,PT-BR,PT-PT,QUZ-PE,RO-RO,RU-RU,SK-SK,SL-SI,SQ-AL,SR-CYRL-BA,SR-CYRL-RS,SR-LATN-RS,SV-SE,TA-IN,TE-IN,TH-TH,TR-TR,TT-RU,UG-CN,UK-UA,UR-PK,UZ-LATN-UZ,VI-VN,ZH-CN,ZH-TW</Language>
		</Qualifiers>
		<ResourceMapSubtree name="Files">
			<NamedResource name="App.xbf" uri="ms-resource://Meh/Files/App.xbf">
				<Candidate type="Path">
					<Value>App.xbf</Value>
				</Candidate>
			</NamedResource>
			<NamedResource name="MainWindow.xbf" uri="ms-resource://Meh/Files/MainWindow.xbf">
				<Candidate type="Path">
					<Value>MainWindow.xbf</Value>
				</Candidate>
			</NamedResource>
			<ResourceMapSubtree name="Microsoft.UI.Xaml">
				<ResourceMapSubtree name="Assets">
					<NamedResource name="NoiseAsset_256X256_PNG.png" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/Assets/NoiseAsset_256X256_PNG.png">
						<Candidate type="Path">
							<Value>Microsoft.UI.Xaml\Assets\NoiseAsset_256X256_PNG.png</Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
				<ResourceMapSubtree name="DensityStyles">
					<NamedResource name="Compact.xbf" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/DensityStyles/Compact.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
					<NamedResource name="CompactDatePickerTimePickerFlyout.xbf" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/DensityStyles/CompactDatePickerTimePickerFlyout.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
				<ResourceMapSubtree name="Themes">
					<NamedResource name="generic.xbf" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/Themes/generic.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
					<NamedResource name="themeresources.xbf" uri="ms-resource://Meh/Files/Microsoft.UI.Xaml/Themes/themeresources.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
			</ResourceMapSubtree>
		</ResourceMapSubtree>

This is incomplete since the file is around 1.7MiB, but do you notice the Microsoft.UI.Xaml subtree? These are the WinUI 3 resources that were merged with the application's resources. It is possible to verify this by grabbing the resources.pri out of the Windows App SDK package (the .msix file is just a renamed .zip file) and use makepri to dump the contents in the same way. This file starts off with the following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PriInfo>
	<ResourceMap name="Microsoft.WindowsAppRuntime.1.3" version="1.0" primary="true">
		<Qualifiers>
			<Language>EN-US,EN-GB,AF-ZA,AM-ET,AR-SA,AS-IN,AZ-LATN-AZ,BG-BG,BN-IN,BS-LATN-BA,CA-ES,CA-ES-VALENCIA,CS-CZ,CY-GB,DA-DK,DE-DE,EL-GR,ES-ES,ES-MX,ET-EE,EU-ES,FA-IR,FI-FI,FIL-PH,FR-CA,FR-FR,GA-IE,GD-GB,GL-ES,GU-IN,HE-IL,HI-IN,HR-HR,HU-HU,HY-AM,ID-ID,IS-IS,IT-IT,JA-JP,KA-GE,KK-KZ,KM-KH,KN-IN,KO-KR,KOK-IN,LB-LU,LO-LA,LT-LT,LV-LV,MI-NZ,MK-MK,ML-IN,MR-IN,MS-MY,MT-MT,NB-NO,NE-NP,NL-NL,NN-NO,OR-IN,PA-IN,PL-PL,PT-BR,PT-PT,QUZ-PE,RO-RO,RU-RU,SK-SK,SL-SI,SQ-AL,SR-CYRL-BA,SR-CYRL-RS,SR-LATN-RS,SV-SE,TA-IN,TE-IN,TH-TH,TR-TR,TT-RU,UG-CN,UK-UA,UR-PK,UZ-LATN-UZ,VI-VN,ZH-CN,ZH-TW</Language>
		</Qualifiers>
		<ResourceMapSubtree name="Files">
			<ResourceMapSubtree name="Microsoft.UI.Xaml">
				<ResourceMapSubtree name="Assets">
					<NamedResource name="NoiseAsset_256X256_PNG.png" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/Assets/NoiseAsset_256X256_PNG.png">
						<Candidate type="Path">
							<Value>Microsoft.UI.Xaml\Assets\NoiseAsset_256X256_PNG.png</Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
				<ResourceMapSubtree name="DensityStyles">
					<NamedResource name="Compact.xbf" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/DensityStyles/Compact.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
					<NamedResource name="CompactDatePickerTimePickerFlyout.xbf" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/DensityStyles/CompactDatePickerTimePickerFlyout.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
				<ResourceMapSubtree name="Themes">
					<NamedResource name="generic.xbf" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/Themes/generic.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
					<NamedResource name="themeresources.xbf" uri="ms-resource://Microsoft.WindowsAppRuntime.1.3/Files/Microsoft.UI.Xaml/Themes/themeresources.xbf">
						<Candidate type="EmbeddedData">
							<Base64Value>[Embedded Binary Data]</Base64Value>
						</Candidate>
					</NamedResource>
				</ResourceMapSubtree>
			</ResourceMapSubtree>
		</ResourceMapSubtree>

The biggest difference is the root path of the URI is set up to target the Windows App SDK package directory. Anyway, the interesting thing about both of these is under the WinUI 3 .xbf files, do you notice the references to embedded data? This means that the data for these files is stored in the .pri file itself. This means that you don't have to do anything out of the ordinary to get these files since MRT Core should just look in the application/package resource file.
If there is any problem in particular that you are facing then it would be better to describe that problem as precisely as you can.
--Edit-- I forgot to mention. If you want to embed the resources yourself then it is possible. One reference to this that I have found is #348. This is the only reference that I found which shows how to embed resources, I'm not sure if much has changed between when that was written and 1.3 or 1.4.

Thank you so much for your response.
I have multiple .pri files from different libraries that contain .xbf files related to resource dictionaries. Is there another way to add .xbf or .xaml resources to application context using code except using the makepri command to combine these .pri files with the final .pri file (the one with .pri or resources.pri) or manually copying the .xbf/.xaml file to output location?

There is a long and convoluted answer here, but I think your best bet is to look into how WinUI 3 merges its resources during build time. This does mean looking into the MSBuild files in the Windows App SDK nuget package and maybe looking into understanding MSBuild in general, but if you are able to do this automatically with any nuget packages then it should be worth the effort.


HCAP-1039: view cohort details page

https://freshworks.atlassian.net/browse/HCAP-1039
Creating a new CohortDetails page to show

Start date
End date
Capacity
Availability
Number of unsuccessful participants

There's a separate ticket to display a list of participants attached to this cohort --> https://freshworks.atlassian.net/browse/HCAP-1056
https://www.figma.com/proto/35c5C0DyTEOxJ4N4DIaADL/HCAP-Design?node-id=2441%3A37315&viewport=241%2C48%2C0.37&scaling=min-zoom&starting-point-node-id=2441%3A37147

@arranfw @taraepp I addressed your comments in https://github.com/bcgov/hcap/pull/835/files - it also includes some refactoring to this request as well as adding participants table. I'm sorry about the inconsistency!
Please take a look 👀


Deployment

Deploy the model to anyone vercel, heroku, hugging face or AWS

Deployment completed with testing done


Added 2 new TemplateEngine tests

Description
Added tests for a missing extension and no default extension
Motivation and Context
Increases coverage in TestTemplateEngine.swift
How Has This Been Tested?
Ran tests again and passed

This does more than add tests - it changes the behaviour of FileResourceServer too. @shmuelk ?

The changes to FileResourceServer only affect the internal serving for the landing page.


Firebase Realtime-Database: changing which database to connect to

So, I am using the Blaze plan in Firebase and I have multiple realtime databases. I was wondering how I can connect to a specific one through my Flutter app.
 FirebaseDatabase.instance.reference(); connects me to the default database, but how can I connect to another one?

Hi @hetkpatel
This platform is not meant for assistance and not related to Flutter
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you"


Turn of config_updates warnings or verbosity control.

I'm using sacred for my ML and DL experiment, absolutely love the package, and recently I have been using the option to modify the config when you run an experiment by passing a dictionary to the config_updates parameter of the run function. At this point I'm passing full classifier parameter dictionary updates via this functionallity and for each parameter in this dictionary sacred generates a warning like this:
WARNING - root - Added new config entry: "parameter"
At this point this is completely clogging up my console and I would like to turn these warning off, since I know perfectly well what I'm passing to the config. I was not able to find a way to do this, is this possible?
As a side note, it might be nice to implement some general verbosity control, like many other python packages have, via which these warnings can also be silenced.
Thanks in advance.
Sako

You can use the --force / -f flag to disable configuration checks. This will silence your warnings, but also disable typechange warnings and the automatic failing if you added a config entry that isn't being used anywhere (e.g. typo). So use it with care.
In theory, the other option would be to set the general loglevel (-l ERROR), which should deactivate all  sacred logging. However, I tried just before sending this reply, and for some reason this doesn't seem to affect the configuration warnings. This is clearly a bug, so I'll use this issue to keep track of it.
In general I agree with your desire for more fine-grained control over the behaviour and verbosity of sacred. It's on my wishlist :-)

I changed when the log level is evaluated so that now you should be able to set -l ERROR and silence the config warnings.


Update c++ requirement to 17 for the R package.

Don't we also need to change these?
https://github.com/dmlc/xgboost/blob/master/R-package/src/Makevars.in#L6
https://github.com/dmlc/xgboost/blob/master/R-package/src/Makevars.win#L6

I wonder why the CI passed. Anyway, can you file a new PR to fix it?


Add test result instructions to resources

Fixes #91
Does not include the updated screenshot
Preview →

@Rebecca-LM sure, feel free to open a PR with any copy edit changes you'd like.

@maya These are in app pages, correct? What folder are they located in so I can submit a PR?

The guides refer to the app. The content of the guide is in this site repo, which is what I thought you wanted to change. Regarding changes to the app, the best would be to open an issue describing each change you'd like to see and an engineer can be assigned to work on it.

@maya ah ok, got it. Basically the universal change to move nav and titles, etc. from title case to sentence case, which is what I spotted in the guide (but is actually in the app itself). Not high priority, but something to flag and fix as we see it.


Run Docker Image freeze

Issue
I start docker with  docker run -it -p 8501:8501 --volume $(pwd):/app aider-chat  --no-auto-commits --35-t
urbo --no-verify-ssl --openai-api-key sk-proj-... --browser. first I have to add this to a docker file:

RUN git config --global --add safe.directory /app. Because always show that and stops the container
I need to add a port to run -p 8501:8501 with a docker container, the other way don´t work
Is running welll but when open the url shows = Running get_coder(). with spinner but it doesn't move forward it stays there
when make a ctrl+c shows:
Exception ignored in: <module 'threading' from '/usr/local/lib/python3.10/threading.py'>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/threading.py", line 1567, in _shutdown
lock.acquire()
File "/usr/local/lib/python3.10/site-packages/streamlit/web/bootstrap.py", line 44, in signal_handler
server.stop()
File "/usr/local/lib/python3.10/site-packages/streamlit/web/server/server.py", line 405, in stop
self._runtime.stop()
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/runtime.py", line 324, in stop
async_objs.eventloop.call_soon_threadsafe(stop_on_eventloop)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 798, in call_soon_threadsafe
self._check_closed()
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Version and model info
Aider v0.41.0
35-turbo

Thanks for trying aider and filing this issue.
Sorry, I am not sure I understand what issue you are reporting?

using docker over wsl --browser doesn't work. Stay showing: Running get_coder().

I was able to use the browser just fine like this:
$ docker run -it -p 8501:8501 --volume $(pwd):/app paulgauthier/aider --browser <..rest of args...>

And then connect my browser to http://<IP_ADDRESS>:8501/

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

I use Aider webui on a remote server. When I start the container, it provides several options to access the UI, but none of these IP addresses match my host's IP address. Is there a way to set the hostname or configure Aider to bind to <IP_ADDRESS>?
  You can now view your Streamlit app in your browser.

  Local URL: http://localhost:8501
  Network URL: http://<IP_ADDRESS>:8501
  External URL: http://<external-modem-ip>:8501


[Spanner] Where is NumChannels config?

In Go client library, There is NumChannels in ClientConfig.
And the max number of sessions is determined by NumChannels.
	// Default configs for session pool.
	if config.MaxOpened == 0 {
		config.MaxOpened = uint64(config.NumChannels * 100)
	}

https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/spanner/client.go#L157
But PHP client library has this fixed to 500 by default.
    /**
     * @var array
     */
    private static $defaultConfig = [
        'maxSessions' => 500,
        ...
    ];

Where is NumChannels on PHP?
How many channels does library open by default ?

Hi @castaneai,
When you create a Session Pool instance, you can override the default configuration specified in $defaultConfig:
use Google\Cloud\Spanner\Session\CacheSessionPool;

$cache = \MyPsr6CacheImplementation;
$pool = new CacheSessionPool($cache, [
    'maxSessions' => 250
]);

By default, Google Cloud PHP will create enough sessions to reach the minimum session count, configured in the constructor ($config['minSessions']). By default, this is simply 1. If the number of sessions in use at any given time is higher than that minimum level, Google Cloud PHP will create additional sessions on demand up to the maxSessions limit. When those sessions are not allocated, they will wait in the pool until they are picked up by the next requester, or eventually they will be cleaned up.
If your configuration requires a minimum number of sessions higher than one, it is recommended that you call CacheSessionPool::warmup() when starting a new pool (not on every request, but when the asynchronous pool is started). This will fill the session pool to the minimum value, and if done outside of a user's request it will do so without the additional latency required for on-demand session creation.

@jdpedrie Thank you for your reply!
In my recognition, "Cloud Spanner Session" and "gRPC Channel" are in different layers.
Cloud Spanner documentation says the following
https://cloud.google.com/spanner/docs/sessions#create_and_size_the_session_cache

(For users working with the RPC API, we recommend having the cache store no more than 100 sessions, because 100 is the maximum number of concurrent sessions per gRPC channel.)

In case of 500 which is the default value of maxSessions,  Is it correct in the configuration with 5 gRPC channels (NumChannels in Go client library) and 100 Cloud Spanner sessions?

@ZhouyihaiDing Thank you for improving gRPC.
But this issue is not actually a problem but I just wrote a question that I had while watching APIs from other languages.


Using Reordering interactive between two sections with multiple data

New issue checklist

[x] I have reviewed the README and documentation
[x] I have searched existing issues and this is not a duplicate

General information

IGListKit version:  3.4.0
iOS version(s): 11.3
CocoaPods/Carthage version: Cocoapods 1.5.0
Xcode version: 9.3
Reproducible in the demo project? (Yes/No): No
Related issues: #976

I've seen on the issue #976 , but updated version of framework i can't see a change or update, for trying move a item from a grid section, to another grid section.. There is any example or a guideline for could use this awesome feature with that behavior?

If you check out the source code, you'll see that the only moves supported are inter-section moves (cells w/in the same section) and sections that only have 1 item in them. You can't move items between sections at this time, and we don't have any plans to add that feature.


Inject contents of file

Is it possible to inject the contents of a file, and not just the reference?  I have a JSON file that I would to inject.  The json is build by grunt-tree when I run my grunt file.

It turns out to be pretty simple, but it took me a while to figure it out.  I simply used require() inside the transform() option.  If you require() a JSON file, it will return a JSON object.  So my grunt file looks like this...
injector: {
      // Inject JSON file into client and server files
      soundFileTree: {
        options: {
          transform: function(filePath) {
            var soundTreeJSONString = require('./.tmp/soundTree.json');
            return JSON.stringify(soundTreeJSONString);
          },
          starttag: '/* injector:soundFileTree */',
          endtag: '/* endinjector */',
        },
        files: {
          '<%= yeoman.client %>/treeTarget.js': ['.tmp/soundTree.json'],
        },
      },
...
}

My destination file looks like this
var myVar=
/* injector:soundFileTree */
{"boxing":{"bell":"boxing/bell.wav","warning":"boxing/warning.wav"}}
/* endinjector */
;


Random default names for room and player creation in modal

Update the modal
Assign a random name and let the user the possibility to change its name + avatar


feature: implemented text outline

I noticed the stroke functionality on text watermark was not functional so I implemented that kindly merge please so i can see it in the next installment

Thank you for your updates. Please edit the following two things because otherwise I cannot merge it.

The font system has been heavily rewritten by me in https://github.com/Intervention/image/pull/1292. I suggest that you build your PR on the state of the not-yet-integrated state of #1292 , which will be integrated in the next minor release on February 17, 2024. I would suggest to merge feature/text-wrapping into this (your) feature branch and fix possible conflicts. After that you can push to GitHub again.

Intervention image is a library that provides a unified API for GD and Imagick. The goal is that every command will produce the same result when you replace the driver. I realize that this is not always 100% possible, as GD and Imagick work differently, but it should be a benchmark. However, the new feature currently only works with GD. I would ask you to add it for Imagick as well.

Text outline with Imagick is definitely possible.
$draw = new ImagickDraw();
$draw->setStrokeColor('#000');
$draw->setStrokeWidth(4);
$draw->setStrokeAntialias(true);

https://www.php.net/manual/en/imagickdraw.setstrokecolor.php
https://www.php.net/manual/en/imagickdraw.setstrokewidth.php
https://www.php.net/manual/en/imagickdraw.setstrokeantialias.php
And it's even easier than with GD. 😄

merged feature/text-wrapping into add-outline-to-text branch

I am lost with the failed checks

Please Sir I'd love to improve on my open source contribution what are the
things you feel I could improve and what other open source task can I take
on
Gideon Amowogbaje
[image: https://]about.me/amowogbaje
https://about.me/amowogbaje?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=plaintext
On Mon, Feb 12, 2024 at 3:11 PM Oliver Vogel @.***>
wrote:

Closed #1296 https://github.com/Intervention/image/pull/1296.
—
Reply to this email directly, view it on GitHub
https://github.com/Intervention/image/pull/1296#event-11775096339, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACC5L4VLF3FILQZMO5D552LYTIPKRAVCNFSM6AAAAABC3UN6K6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG43TKMBZGYZTGOI
.
You are receiving this because you were assigned.Message ID:
@.***>

I just closed this because you opened another MR.


ERROR IN CONSOLE

What is this??

Did you run the updated installer command? I'm missing context here, and chill with the all caps.

yeah i ran the code and put my password in. it ran then gave me this error when installing

Am I doing something wrong then?

Please use the GUI installer.
cd $HOME && rm -rf $HOME/SteamDeck_rEFInd/ && git clone https://github.com/jlobue10/SteamDeck_rEFInd && cd SteamDeck_rEFInd && chmod +x install-GUI.sh && ./install-GUI.sh

I may have broken the old installer with repo reorganization when I made my latest rounds of GUI updates. That old method is practically deprecated anyways. I'll try to fix it when I can, but it is no longer the recommended method, for quite some time now.


drunc compose profile fails to build on MacOS

Following the Docker setup instructions in the README, I was able to get the drunc-lite profile working, but the drunc profile failed.
I believe this is an Apple Silicon-only issue because it mentions "rosetta" in the error message, which is the conversion tool for running x86 on ARM.
I can't tell where the error is because it's happening on a multi-line RUN command in the Dockerfile.
$ docker compose --profile drunc build
 => ERROR [drunc  4/14] RUN source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh &&         setup_dbt latest_v5 &&         dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9 &&         cd fddaq-v5.1.0-a9 &&  0.8s
------
 > [drunc  4/14] RUN source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh &&         setup_dbt latest_v5 &&         dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9 &&         cd fddaq-v5.1.0-a9 &&         source env.sh &&         dbt-build &&         dbt-workarea-env &&         pip install<EMAIL_ADDRESS>0.267 Added /cvmfs/dunedaq.opensciencegrid.org/tools/dbt/v8.4.0/bin -> PATH
0.268 Added /cvmfs/dunedaq.opensciencegrid.org/tools/dbt/v8.4.0/scripts -> PATH
0.268 DBT setuptools loaded
0.777 ERROR: [Wed Nov 6 12:28:23 UTC 2024] [/cvmfs/dunedaq.opensciencegrid.org/tools/dbt/v8.4.0/scripts/dbt_setup_tools.py:82]: There was a problem running "/cvmfs/dunedaq.opensciencegrid.org/tools/dbt/v8.4.0/scripts/dbt-clone-pyvenv.sh /cvmfs/dunedaq.opensciencegrid.org/spack/releases/fddaq-v5.1.0-a9-1/.venv 2>&1" (return value 100); exiting...
0.777 Release "fddaq-v5.1.0-a9" requested; interpreting this as release "fddaq-v5.1.0-a9-1"
0.777 Setting up the Python subsystem.
0.777 ==> Error: SPACK_ROOT must point to spack's prefix when using rosetta
0.777 Run this with the correct prefix before sourcing setup-env.sh:
0.777     export SPACK_ROOT=</path/to/spack>
0.777 ERROR: [11/06/24 12:28:23] [dbt-setup-tools.sh:210]:  There was a problem source-ing Spack setup script "/cvmfs/dunedaq.opensciencegrid.org/spack/releases/fddaq-v5.1.0-a9-1/spack-0.20.0/share/spack/setup-env.sh"
------
failed to solve: process "/bin/bash -c source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh &&         setup_dbt latest_v5 &&         dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9 &&         cd fddaq-v5.1.0-a9 &&         source env.sh &&         dbt-build &&         dbt-workarea-env &&         pip install<EMAIL_ADDRESS>did not complete successfully: exit code: 1

I tried isolating the multi-line RUN command in the Dockerfile into steps to see which one is causing the error. I think it's the dbt-create step that is causing the error.
This is a little convoluted because there must be some details about the way RUN and && \ work in Dockerfiles that I'm missing. But I got the same error as above with this in the Dockerfile:
RUN source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh && \
        setup_dbt latest_v5 && \
        dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9
RUN cd fddaq-v5.1.0-a9
RUN source env.sh
RUN dbt-build
RUN dbt-workarea-env
RUN pip install<EMAIL_ADDRESS>
And then I got a different error with this in Dockerfile:
RUN source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh && \
        setup_dbt latest_v5
RUN dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9
RUN cd fddaq-v5.1.0-a9
RUN source env.sh
RUN dbt-build
RUN dbt-workarea-env
RUN pip install<EMAIL_ADDRESS>
That error was:
 => ERROR [drunc  5/20] RUN dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9                                                                                0.1s
------
 > [drunc  5/20] RUN dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9:
0.122 /bin/bash: line 1: dbt-create: command not found
------
failed to solve: process "/bin/bash -c dbt-create fddaq-v5.1.0-a9 fddaq-v5.1.0-a9" did not complete successfully: exit code: 127

Since the dbt-create line was run, it makes we think everything before it passed.


WASM Compiling failure on Kusama for block #1472960

Using docker image a5da4c453963
23.08.24 06:55:28.087763  kagome           Warning   Synchronizer  Block #1472960 (0xfc3f…c07b) and 126 others have been discarded: An error occurred during wasm call execution; Check the logs for more information
23.08.24 06:55:28.087906  kagome           Warning   ConsistencyKeeper  Rolling back of block #1472960 (0xfc3f…c07b) is failed: the target block is not a leaf
23.08.24 06:55:28.110023  kagome           Info      WAVM Module  Compiling WebAssembly module for Runtime (going to take a few dozens of seconds)
23.08.24 06:55:40.474545  kagome           Info      MiscExtension  utf8: Hash not equal
23.08.24 06:55:40.474559  kagome           Info      MiscExtension  hex: 997d83c68052a7ca06ef2078fd5e31bbf3de2a7ec19c6d68eab2e0c413d2e712
23.08.24 06:55:40.474562  kagome           Info      MiscExtension  hex: 873ee8c7325476f141a8b4e283faf9971578f91f84a8548ffa5185e7c7b7d419
23.08.24 06:55:40.474781  kagome           Error     ModuleInstance  wavm.reachedUnreachable
Call stack:
  host!kagome+32864956
  wasm!runtime_module!rust_begin_unwind+47
  wasm!runtime_module!core::panicking::panic_fmt::h3b4870a21b320c52+18
  wasm!runtime_module!core::panicking::panic::h50ca182b1b584b5d+24
  wasm!runtime_module!Core_execute_block+0
  thnk!C to WASM thunk!(i32, i32)->i64+0
  host!kagome+32866494
  host!kagome+32691299
  host!kagome+32791811
  host!kagome+32239779
  <2 redundant frames omitted>
  host!kagome+32527966
  host!kagome+111230892
  host!kagome+193130899
  host!kagome+84002746
  host!kagome+164930655
  host!kagome+131072861
  host!kagome+131073879
  host!kagome+221644562
  host!kagome+221646811
  host!kagome+221631066
  host!kagome+10908031
  host!/usr/lib/x86_64-linux-gnu/libstdc++.so.6+902258
  host!/lib/x86_64-linux-gnu/libc.so.6+558059
  host!/lib/x86_64-linux-gnu/libc.so.6+63

23.08.24 06:55:40.476541  kagome           Warning   Synchronizer  Block #1472960 (0xfc3f…c07b) and 126 others have been discarded: An error occurred during wasm call execution; Check the logs for more information

this is Kusama, right?

Yes, on kusama.

Seems like ext_misc_runtime_version_version_1 called by runtime upgrade can randomly fail.
E.g. can't instantiate WASM to call Core_version because of insufficient resources, depending on total and used RAM.
https://kusama.subscan.io/extrinsic/1472960-0?event=1472960-1
Reverting last block and restarting node fixes it, because node didn't consume too much RAM to fail yet.


Waits for the handle completes.

This allow EasyNetQ catch any exception on the handle, and generate the special ErrorMessage to push to the default error message queue.

What do you think about start adding tests?
I know that it could make the starting process slow, but it will be really useful, mainly when you need that other people start to work on this project.


Start using yarp-telemetry in the framework

yarp-telemetry is a brand new library that allows logging data in a fancy and simple way.
It may be worth starting to think about how to use it in our library. A possible example is to extend advanceable and add a log function to store the dataset.
These are the limitations that I see

[ ] yarp-telemetry cannot store inffenetly long dataset https://github.com/robotology-playground/yarp-telemetry/pull/55
[ ] Right now the interface requires a reference to a std::vector as input. https://github.com/robotology-playground/yarp-telemetry/issues/49 A possible solution is to use iDynTree::span and iDynTree::MatrixView

cc @nicogene @traversaro @S-Dafarra @isorrentino @prashanthr05

[ ]  yarp-telemetry currently supports circular buffer.

Why do you think this is a limitation? That's a sort of internal detail and the fact that has a limited size should be overcome with https://github.com/robotology-playground/yarp-telemetry/pull/55

It may be required to have an infinitely long buffer. Assume that you run an application and you want to collect the data of the entire sequence. (You may need it for a paper)
Given the current implementation, only the last n values are stored.
In WalkingLoggerModule for instance, we store all the data

It may be required to have an infinitely long buffer. Assume that you run an application and you want to collect the data of the entire sequence. (You may need it for a paper)
Given the current implementation, only the last n values are stored.
In WalkingLoggerModule for instance, we store all the data

Yes, but you don't have infinite memory. So it is safer to specify a limit and eventually save multiple files when you reach a certain limit or condition. This is what https://github.com/robotology-playground/yarp-telemetry/pull/55 does :wink:

Comment https://github.com/dic-iit/bipedal-locomotion-framework/issues/189#issue-801173818 updated after F2F discussion with @traversaro and @S-Dafarra

[ ] Right now the interface requires a reference to a std::vector as input. Investigate about a more flexible data type for storing data robotology/yarp-telemetry#49 A possible solution is to use iDynTree::span and iDynTree::MatrixView

Handled by https://github.com/robotology/yarp-telemetry/pull/144

@GiulioRomualdi @isorrentino can we consider this done? Is the data stored reasonable?

@GiulioRomualdi @isorrentino can we consider this done? Is the data stored reasonable?

Waiting for https://github.com/ami-iit/bipedal-locomotion-framework/pull/487

We managed to use the new logger to log also the data coming from the walking. The modifications are included in the related branch: https://github.com/robotology/walking-controllers/tree/test/telemetry_logger.
iCubGenova09 Configuration
In order to use the new logger on iCubGenova09, we configured icub-console to have:

bipedal-locomotion-framework in the device/telemetry branch (with the YarpRobotLoggerDevice compilation enabled)
YARP_telemetry in the feature/nested_struct fork

and icub-head to have:

walking-controllers in the telemetry-logger branch

New logger usage
Store the logged data on icub-console and not on icub-head, due to potential memory issues when collecting long datasets. Once in the folder where you want to save the .mat file with the logged data, just start the new logger before running the WalkingModule with:
yarprobotinterface --config launch-yarp-robot-logger.xml

Close the logger wih a single CTRL+C. A .mat file with the logged data will be saved in the current folder.
Logged data format
Recalling the previous version of the logger, data from the WalkingModule are currently logged using the following nested structure (where :: defined the subfields):
// DCM
dcm::position::measured
dcm::position::desired
dcm::velocity::desired
// ZMP
zmp::measured
zmp::desired
zmp::desired_planner
// COM
com::position::measured
com::position::desired
com::position::desired_macumba
com::velocity::desired
// Left foot
left_foot::position::measured
left_foot::position::desired
left_foot::orientation::measured
left_foot::orientation::desired
left_foot::linear_velocity::measured
left_foot::angular_velocity::measured
left_foot::linear_force::measured
left_foot::angular_torque::measured
// Right foot
right_foot::position::measured
right_foot::position::desired
right_foot::orientation::measured
right_foot::orientation::desired
right_foot::linear_velocity::measured
right_foot::angular_velocity::measured
right_foot::linear_force::measured
right_foot::angular_torque::measured
// Joint
joint::positions::measured
joint::positions::desired
joint::positions::retargeting
joint::velocities::measured

We can obviously change the names of the stored quantities and the nested structure at our will. Please doublecheck whether we are missing useful data and feel free to suggest alternative data organization @S-Dafarra @GiulioRomualdi @isorrentino.

The modifications are included in the related branch: https://github.com/robotology/walking-controllers/tree/test/telemetry_logger.

@S-Dafarra and I rebased the branch of the new logger on top of the clean up https://github.com/robotology/walking-controllers/pull/96. The currently most updated branch is telemetry_logger_rebased.
We tested it on iCubGenova09 and it seems to be working fine.

Thanks to https://github.com/ami-iit/component_ANA-Avatar-XPRIZE/issues/446, we can directly inspect the collected data on icub-console.

I will close it a soon as #487 this is merged


FOV in preview different than FOV in build

Using 16:10 preview and Unity Remote, I see this when I run DemoScene with the editor:

This first image is correct, and looks fine on the device.
but after build and running on the device natively, it looks like this:

Device is 16:10 aspect ratio. These are both screenshots taken on the device.
This second image is incorrect, and produces double vision.
Nexus 7 2013, Unity4.6

Fixed in v0.4.5


reserved identifier violation

I would like to point out that identifiers like "__TYPES_H" and "__UTIL_H" do not fit to the expected naming convention of the C language standard.
Would you like to adjust your selection for unique names?

Alternatively, you could use "#pragma once", which the compilers on all of your target platforms support.

I prefer standard-compliance a bit more.

This software is already less portable than the C/C++ standards, and by necessity always will be.  The underlying libffi in particular supports a limited set of compilers.  Every one of those compilers supports "#pragma once", as do others.
In any case, the choice of how to address this (including not doing so at all, since these identifiers work just fine and are widely used) is up to the author at this point.

Point taken, I'll keep this in mind.


1.2.14 broke Gantt chart respecting links between tasks

Actual behaviour
In Gantt chart task bars without start date ... expand to the full left ...  even if this task is blocked by another with due date fixed later.
Expected behaviour
As with 1.2.13 ... for task blocked by another ... a bar beginning the same the parent task due date is fixed;
Steps to reproduce
build two task the first with a due date sooner ... link the second task to be block by the first ... and look at the gantt chart.
Screenshots
The expected behaviour working with 1.2.13

The actual behaviour broken in 1.2.14

Logs
Configuration

Kanboard version: 1.2.13 and 1.2.14
Database type and version: mysql 5.6.46
PHP version:  7.3
OS: Linux
Browser: Firefox

thanx

I cannot reproduce the expected behaviour with any of those combinations:

Kanboard 1.2.13 + mysql 5.7 + Gantt 1.0.4 or 1.0.5 + PHP 7.3 + Firefox/Chromium
Kanbaord 1.2.12 or 1.2.13 or 1.2.14 + MariaDB 10.3 + Gantt 1.0.4 or 1.0.5 + PHP 7.3 + Firefox

Taking a look onto the code, nothing suggests me that the funcionality of the expected behaviour is implemented (my knowledge is very limited...).
Could anyone confirm?

It might be then more like a feature request, as currently the plugin does not give such functionality..
I fully second the request, as seeing "dependency tree" is the most useful application of Gantt chart..

I've just installed Gantt chart and am quite surprised the dependencies do not apply to the chart. Without them the Gantt plugin seems to be a mere elegant way to set due dates of tasks.


ARROW-7963: [C++][Dataset][Python] Expose Dataset Fragments to Python

In C++ adds Scanner::GetFragments, currently only used from python.
In Python adds class Fragment and subclass FileFragment. The former has only a partition_expression property, the latter adds a path property.
Also in C++: deletes unused FileFragment subclasses.

so all true:bool, and not having the actual partition level information

I thought that in your previous branch that I tested out when doing the dask POC, this actually had the partition information (because I used that for getting the partition expressions of the file path segments).
But rebuilding that branch, I see now this also gives all true:bool
In [10]: print(f.partition_expression)
(true:bool and (true:bool and true:bool))

But I don't understand (anymore) how this could ever give the partition information needed to reconstruct a dataset from a single file fragment.

Argh, I of course forgot to specify the partitioning:
In [1]: import pyarrow.dataset as ds

In [2]: dataset = ds.dataset("notebooks-arrow/nyc-taxi-data/dask-partitioned/", partitioning="hive")

In [3]: fragments = list(dataset.get_fragments())

In [4]: fragments[0].partition_expression
Out[4]: <pyarrow.dataset.AndExpression (true:bool and ((month == 10:int32) and (year == 2016:int32)))>

which works nicely (I forgot the partitioning="hive", it would be nice to by default "discover" if there is a partitioning scheme)
Sorry for the noise.

@jorisvandenbossche I'm not sure how you got all true for your partition expression; could you link to the code used to produce your dataset? Could you have constructed it without including intermediate directories (or otherwise caused partition information to become unreadable)?

We should be able to list fragments without going through the Scanner/ScanOptions hoops. This exposes a flaw with the current API where it require a ScanOptions to create Fragment

I don't see why this is a flaw. Please open a follow up ticket for the changes you describe; we can discuss whether Fragments should have ScanOptions there. I don't think it's relevant to this PR because ScanOptions are not even exposed in Python.

if required, we can still provide an alternate signature, e.g. Dataset::GetFragments(std::shared_ptr predicate) for sub-tree pruning in FileSystemDataset.

Yes, this would indeed be needed in such a case (eg I was using this pruning of the fragments in dask, to avoid many "empty" fragments/tasks)

I don't know the C++ details, but conceptually I think I agree with @fsaintjacques on the feeling that you should not necessarily need ScanOptions to list fragments (but on the python side this is indeed alread hidden for the user)

Would it help, and would it be possible, to deal with the ScanOptions/Fragments question in a followup?

The python side does indirectly construct a ScanOptions via the Scanner constructor. As a mater of fact, the column parameter of python's Dataset.get_fragments has no effect since the projector is not even applied in Scanner::GetFragments.
My point is, Scanner::GetFragments shouldn't exist, Dataset::GetFragments should suffice for introspection. The reason it can't is because we need a ScanOptions to create a Fragment. The fact that Python's Dataset.get_fragments calls C++ Scanner::GetFragments and not C++'s Dataset::GetFragments as currently implemented just reinforce this point, it introduces confusion.
The pr adds a method to Scanner, the class which is a closure that generates RecordBatches, to introspect its internals, which really are Dataset internals, and immediately drop the closure without actually calling it (consuming said RecordBatches). All of this to call Dataset::GetFragments by using the Scanner's option. This points to a design flaw. The way to break it, is to remove the cycle between Dataset, Fragment, and any Scan* related classes. I added ARROW-8065 for this.

FWIW: columns is used here: the resulting fragments' schemas contain only fields referenced in that (but fragment schema isn't currently exposed in Python so it's not visible that columns is used)

FWIW: columns is used here: the resulting fragments' schemas contain only fields referenced in that (but fragment schema isn't currently exposed in Python so it's not visible that columns is used)

Is it useful for a Fragment having a different schema as the parent Dataset?
(I can't directly think of a use case for it)

We'll have to decide in ARROW-8065 which schema to store in the Fragment, the physical schema or the Dataset's schema. I don't think columns is useful in listing the fragments, but filter definitively is.

Merging so that we can move forward with other dependent issues/refactors.

In the comment above (https://github.com/apache/arrow/pull/6570#issuecomment-597170529), I showed the output of a fragment's partition_expression based on the intermediate state of this PR at that moment. With my example, this gave:
<pyarrow.dataset.AndExpression (true:bool and ((month == 10:int32) and (year == 2016:int32)))>

But now with latest master now this PR is merged, I get:
In [2]: dataset = ds.dataset("notebooks-arrow/nyc-taxi-data/dask-partitioned/", partitioning="hive")

In [3]: fragments = list(dataset.get_fragments())

In [4]: fragments[0].partition_expression
Out[4]: <pyarrow.dataset.AndExpression ((year == 2016:int32) and (month == 10:int32))>

So before, the expression was "backwards" (compared to the partition path segments), and included a "true:bool" expression for the actual file.
This new behaviour seems more useful / easier to work with, but just want to get confirmation that this was an intentional change / considered stable. Because I will need to update my dask POC where I decompose the path and partition expression into a list of paths and expressions (in the format that the dataset constructor expects), so and for that I need to be able to rely on the order of the operands in the partition expression.

@jorisvandenbossche yes, I added code which removes any scalar(true) from the resulting fragment partition expression (since it seemed easier to work with and less redundant). Sorry to mess up your dask POC. The operands will still be ordered as you expect for a normal  partitioning layout, but the root partition expression will not be present if it was scalar(true)

No problem! The new way is indeed easier to work with, and it's only a small update to the POC


Create temporary token for validating email

There are is_email_verified field in User model but this can't be changed by any route.
We should implement API for receive temporary token that can assure users' privilege for update their is_email_verified status.
We need what:

Create temporary token only for email validating
Update is_email_verified status of user from passed temporary token

And someone can use this:

Receive request from client that validate their email.
Create temporary token from jauth
Send email to target that contains temporary token
Receive temporary token with their own service and pass it to jauth

Also it can be used for reset email users's password as random string (authenticated by temporary token)


Pinecone-python-client v3.0.0 breaks pinecone-haystack

Describe the bug
The version 3.0.0 of pinecone-python-client is a big update and introduces a lot of changes. This new version is not compatible with the current implementation of pinecone-haystack and the code breaks as soon as you try to initialize the document store.
To Reproduce
The global pinecone.init has been removed, so pinecone-haystack gives an error as soon as you try to initialize the document store with the new version of pinecone-python-client.
Please see this Colab notebook for more information.
Immediate Fix
Pin pinecone-client to version 2.2.4 in the pinecone-haystack dependencies.
Describe the solution you'd like
Refactor pinecone-haystack to support the new version.
The new version introduces a lot of new features. Some of the changes include:

Serverless indexes
Global state variables set with pinecone.init have been refactored into new Pinecone class instances that encapsulate their configuration state.
Everything GRPC-related is now moved into a subpackage, pinecone.grpc, so that GRPC code is only imported when needed.
The list_indexes and list_collections methods now return an array with full descriptions of each resource, not merely an array of names.
The Pinecone SDK now has a Apache 2.0 license.

Please see the Migration Guide for version 3.0.0 for more information.
Describe your environment:

OS: Linux
Haystack version: haystack-ai - 2.0.0-beta.4
Integration version: pinecone-haystack - 0.0.1

Thank you for reporting this!
I would adopt the immediate fix and then refactor the Document Store.

0.1.0 was released to ship the temporary workaround

We can resolve #715 with this upgrade

Hi All,
I took a pass at updating this to the new client in #756

- [ ] Upgrade the Document Store and Retriever (#793)
- [ ] Update examples
- [ ] The package has been released on PyPI
- [ ] Docs at https://docs.haystack.deepset.ai/ were updated
- [ ] Integration tile on https://github.com/deepset-ai/haystack-integrations was updated


Refactor prop-types

Collect the definitions of proptypes in various files into one file and use them.
Fix type bug of limit condition component.

PTAL 🙇

just awaiting travis to finish


"Maximum amount of memory given to a sandbox is 400" does Azure Runbook can process on 4000 MB of data?

"Maximum amount of memory given to a sandbox is 400" does Azure Runbook can process on 4000 MB of data?
We have 900TB of data to be process. Are calculating Storage size and Tier in Azure Storage account. We are getting data by running ADF which includes Azure Runbook, Databricsk and other services and make report in Power BI.
Error - "Pipeline gets failed when ever Run Book tries to process very very large data"
Please help us to resolve this issue

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

ID: 36f49a06-90b1-cbe1-3853-2c38277b79f8
Version Independent ID: 02ff6f6c-3ef6-b48f-060d-b290419e0aba
Content: Azure subscription limits and quotas - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/azure-subscription-service-limits.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@SarveshPandey Thanks for your comment. We will review the issue and get back to you shortly.

@SarveshPandey Yes, the maximum amount of memory given to Azure sandbox is 400 MB. If you need to process data with more memory , you need to create Hybrid Workers and execute the runbooks on it. For more information, on how to create hybrid worker groups ,do check the following documents.

https://docs.microsoft.com/en-us/azure/automation/automation-hybrid-runbook-worker
https://docs.microsoft.com/en-us/azure/automation/extension-based-hybrid-runbook-worker-install?tabs=windows

@SarveshPandey  As there are no further documentation changes, we will close the issue for now. If there are further questions , please revert and we will be glad to assist you.


Memory leak when using enumerate in a jit function

Reporting a bug

[X] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[X] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

There seem to be a memory leak caused by the use of enumerate in a jit function.
The following script (requires the psutil package.) prints the memory usage at each iteration and it's clearly increasing.
import psutil
from numba import (jit, jitclass, uint32)

@jitclass([
    ('attr', uint32),
])
class JitClass:
    def __init__(self):
        pass

@jit  # same with njit
def f():
    cs = [JitClass() for i in range(1000)]

    # leak
    for i, c in enumerate(cs):
        c.attr = 1234

    # No enumerate, no leak
    # for c in cs:
    #     c.attr = 1234

p = psutil.Process()
for _ in range(10000):
    f()
    # leak proportional to the size of cs
    print(f"memory used by program: {p.memory_info().rss / 1e6} MB")

This seems to be coupled with the list comprehension because the following doesn't leak:
@jit
def f():
    c = JitClass()
    for i, j in enumerate(range(10)):
        c.attr = 1234

Not sure if this is related but using list comprehensions has some weird side effect (I also opened #3472)

Update:
Here is a leaking log (shortened):

memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.402816 MB
memory used by program: 90.66496 MB
memory used by program: 90.66496 MB
memory used by program: 90.66496 MB
memory used by program: 90.66496 MB
memory used by program: 90.66496 MB
memory used by program: 90.935296 MB
memory used by program: 90.935296 MB
memory used by program: 90.935296 MB
memory used by program: 90.935296 MB
memory used by program: 91.205632 MB
memory used by program: 91.205632 MB
memory used by program: 91.205632 MB
memory used by program: 91.205632 MB
memory used by program: 91.475968 MB
memory used by program: 91.475968 MB
memory used by program: 91.475968 MB
memory used by program: 91.475968 MB
memory used by program: 91.746304 MB
memory used by program: 91.746304 MB
memory used by program: 91.746304 MB
memory used by program: 91.746304 MB
memory used by program: 92.01664 MB
memory used by program: 92.01664 MB
memory used by program: 92.01664 MB
memory used by program: 92.01664 MB
memory used by program: 92.01664 MB
memory used by program: 92.286976 MB
memory used by program: 92.286976 MB
memory used by program: 92.286976 MB
memory used by program: 92.286976 MB
memory used by program: 92.557312 MB
memory used by program: 92.557312 MB
memory used by program: 92.557312 MB
memory used by program: 92.557312 MB
memory used by program: 92.827648 MB
memory used by program: 92.827648 MB
memory used by program: 92.827648 MB
memory used by program: 92.827648 MB
memory used by program: 93.097984 MB
memory used by program: 93.097984 MB
memory used by program: 93.097984 MB
memory used by program: 93.097984 MB
memory used by program: 93.36832 MB
memory used by program: 93.36832 MB
memory used by program: 93.36832 MB
memory used by program: 93.36832 MB
memory used by program: 93.36832 MB
memory used by program: 93.638656 MB
memory used by program: 93.638656 MB
memory used by program: 93.638656 MB
memory used by program: 93.638656 MB
memory used by program: 93.908992 MB
memory used by program: 93.908992 MB
memory used by program: 93.908992 MB
memory used by program: 93.908992 MB
memory used by program: 94.179328 MB
memory used by program: 94.179328 MB
memory used by program: 94.179328 MB
memory used by program: 94.179328 MB
memory used by program: 94.449664 MB
memory used by program: 94.449664 MB
memory used by program: 94.449664 MB
memory used by program: 94.449664 MB
memory used by program: 94.72 MB
memory used by program: 94.72 MB
memory used by program: 94.72 MB
memory used by program: 94.72 MB
memory used by program: 94.72 MB
memory used by program: 94.990336 MB
memory used by program: 94.990336 MB
memory used by program: 94.990336 MB
memory used by program: 94.990336 MB
memory used by program: 95.260672 MB
memory used by program: 95.260672 MB
memory used by program: 95.260672 MB
memory used by program: 95.260672 MB
memory used by program: 95.531008 MB
memory used by program: 95.531008 MB
memory used by program: 95.531008 MB
memory used by program: 95.531008 MB
memory used by program: 95.801344 MB
memory used by program: 95.801344 MB
memory used by program: 95.801344 MB
memory used by program: 95.801344 MB
memory used by program: 96.07168 MB
memory used by program: 96.07168 MB
memory used by program: 96.07168 MB
memory used by program: 96.07168 MB
memory used by program: 96.07168 MB
memory used by program: 96.342016 MB
memory used by program: 96.342016 MB
memory used by program: 96.342016 MB
memory used by program: 96.342016 MB
memory used by program: 96.612352 MB
memory used by program: 96.612352 MB
memory used by program: 96.612352 MB
memory used by program: 96.612352 MB
memory used by program: 96.882688 MB
memory used by program: 96.882688 MB
memory used by program: 96.882688 MB
memory used by program: 96.882688 MB
memory used by program: 97.153024 MB
memory used by program: 97.153024 MB
memory used by program: 97.153024 MB
memory used by program: 97.153024 MB
memory used by program: 97.42336 MB
memory used by program: 97.42336 MB
memory used by program: 97.42336 MB
memory used by program: 97.42336 MB
memory used by program: 97.42336 MB
memory used by program: 97.693696 MB
memory used by program: 97.693696 MB
memory used by program: 97.693696 MB
memory used by program: 97.693696 MB
memory used by program: 97.964032 MB
memory used by program: 97.964032 MB
memory used by program: 97.964032 MB
memory used by program: 97.964032 MB
memory used by program: 98.234368 MB
memory used by program: 98.234368 MB
memory used by program: 98.234368 MB
memory used by program: 98.234368 MB
memory used by program: 98.504704 MB
memory used by program: 98.504704 MB
memory used by program: 98.504704 MB
memory used by program: 98.504704 MB
memory used by program: 98.77504 MB
memory used by program: 98.77504 MB
memory used by program: 98.77504 MB
memory used by program: 98.77504 MB
memory used by program: 98.77504 MB
memory used by program: 99.045376 MB
memory used by program: 99.045376 MB
memory used by program: 99.045376 MB

...
...
...

keeps going up

And here is a non-leaking log (shortened)

memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
...
...
...
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB
memory used by program: 89.841664 MB

Thanks for the report. The Numba runtime (NRT) is leaking.
import psutil
from numba import (jit, jitclass, uint32)
import numba

rtsys = numba.runtime.rtsys

@jitclass([
    ('attr', uint32),
])
class JitClass:
    def __init__(self):
        pass

@jit  # same with njit
def f():
    cs = [JitClass() for i in range(1000)]

    # leak
    for i, c in enumerate(cs):
        c.attr = 1234

    #No enumerate, no leak
    #for c in cs:
        #c.attr = 1234

p = psutil.Process()
for _ in range(3):
    print('-' * 80)
    print(rtsys.get_allocation_stats())
    f()
    print(rtsys.get_allocation_stats())
    # leak proportional to the size of cs
    print(f"memory used by program: {p.memory_info().rss / 1e6} MB")

the leaking code gives:
--------------------------------------------------------------------------------
nrt_mstats(alloc=0, free=0, mi_alloc=0, mi_free=0)
nrt_mstats(alloc=1002, free=2, mi_alloc=1001, mi_free=1)
memory used by program: 77.238272 MB
--------------------------------------------------------------------------------
nrt_mstats(alloc=1002, free=2, mi_alloc=1001, mi_free=1)
nrt_mstats(alloc=2004, free=4, mi_alloc=2002, mi_free=2)
memory used by program: 77.238272 MB
--------------------------------------------------------------------------------
nrt_mstats(alloc=2004, free=4, mi_alloc=2002, mi_free=2)
nrt_mstats(alloc=3006, free=6, mi_alloc=3003, mi_free=3)
memory used by program: 77.238272 MB

whereas the non-leaking gives:
--------------------------------------------------------------------------------
nrt_mstats(alloc=0, free=0, mi_alloc=0, mi_free=0)
nrt_mstats(alloc=1002, free=1002, mi_alloc=1001, mi_free=1001)
memory used by program: 76.439552 MB
--------------------------------------------------------------------------------
nrt_mstats(alloc=1002, free=1002, mi_alloc=1001, mi_free=1001)
nrt_mstats(alloc=2004, free=2004, mi_alloc=2002, mi_free=2002)
memory used by program: 76.439552 MB
--------------------------------------------------------------------------------
nrt_mstats(alloc=2004, free=2004, mi_alloc=2002, mi_free=2002)
nrt_mstats(alloc=3006, free=3006, mi_alloc=3003, mi_free=3003)
memory used by program: 76.439552 MB