Please check epel-release packages on RHEL 7

Please add function check epel-release exits
cd /tmp
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install epel-release-latest-7.noarch.rpm

Okay thanks
I manual installed it, script work well.


3D?

The C++ version had a 3D variant. Are you interested in supporting that?

I personally don't have much interest haha. Perhaps it could be supported as a nested module containing just 3d stuff?
What's your use case, for my own learning? I feel like needing real 3d avoidance is rare, and in those cases something akin to boids might work better.

That's a pretty convincing use case! I'll see what I can do. It might be gross to have a 2d module and a 3d module (feature flagged), but I think it may be worth it. I'm also hoping the 3d version shares some code with the 2d version haha

That would be great! I guess some things might get more complex. Obstacle volumes for one. Not sure if spheres around points would be natural to implement, but I think it would be what I need at least (looking to make something space based). I love the non-intrusive bring-your-own spatial lookup approach you support, btw.

Ah yes I think that's where the C++ version gave up. FWIR, the C++ version didn't have support for obstacles in 3D. Even if we were to support it, it would probably be incredibly expensive performance-wise.
That said, we can just make obstacles that are just agents that never move and that might work!

@robinei would you mind reviewing #20? Or at the very least testing it out? I'd just like to make sure it works for you. Sorry it took so long!


MC: if takeoff speed is higher than max vel z it can overshoot in height

corner case after #3524

It would make sense to have a look at the vel/pos SP resetting in mc pos control when the setpoint type changes


Research backend technology

Consider https://supabase.com/ to get started quickly, otherwise look into more traditional ways of doing a backend (e.g., Node) or more modern things like Rust.
Some inspiration: https://survey.stackoverflow.co/2023/#technology

Looking over Rust frameworks for backend, knowing that we were talking about using an SQL related database. Rust has a library for directly working with SQL databases called SQLx.
Here is the documentation for it : https://docs.rs/sqlx/latest/sqlx/

https://medium.com/geekculture/building-backend-web-with-supabase-45eb8a97cdd7
Reading this article it seems like Supabase would be very convenient as it acts as a Backend as a platform Server(BaaS) where we can directly create our database, implement user authentication and more without the need of an external service.

For the NVP, we'll use SUpabase and its library


Integrate file upload system

Material overview component

Material upload component

Pull Request Test Coverage Report for Build 2770

83 of 267 (31.09%)  changed or added relevant lines in 17 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 36.665%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/material/Material.tsx
3
4
75.0%

src/components/material/MaterialUpload.tsx
5
6
83.33%

src/containers/material/MaterialContainer.ts
7
9
77.78%

src/reducers/session.ts
0
2
0.0%

src/utils/dateHelpers.ts
1
4
25.0%

src/actions/material.ts
9
14
64.29%

src/containers/material/MaterialUploadContainer.ts
7
13
53.85%

src/components/material/DeleteCell.tsx
5
15
33.33%

src/components/material/DownloadCell.tsx
5
18
27.78%

src/components/material/Dropzone.tsx
8
23
34.78%

Totals

Change from base Build 2761:
-0.6%

Covered Lines:
2577

Relevant Lines:
6278

💛  - Coveralls


Escape possible markdown syntax in types

Fixes: https://github.com/Turfjs/turf-point#parameters

:+1:


Use ERB::Util.html_escape because h() is not directly available in contr...

...oller.

We'll also need in 2-0-stable and 1-0-stable


Fix layout jumping when version is loaded

.show is conflicting with bootstrap styles, and it causes the button to do a little jump due to height change.

👍

That was very specific and well hidden, 👏 👏 !


code: -32603, message: Remote node did not answer to eth_feeHistory correctly

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (98fa895 2022-09-28T00:08:23.30706613Z)
What command(s) is the bug in?
forge script ... --broadcast
Operating System
Linux
Describe the bug
There appears to still be a bug (possibly related to the whole QUANTITY vs LOCATION parameter formatting thing at #1297?) attempting to deploy vs a hardhat instance. I assume that broadcasting via forge, to a hardhat node, should result in blockchain state that can be queried via cast after the deployment right? I'm not sure if the error results in the broadcast to be reverted or if the contract deployment never in fact happened...
... happy to provide further output if you give me guidance.
$ npx hardhat --version
2.11.2

$ forge script script/Contract.s.sol:ContractScript --rpc-url http://<IP_ADDRESS>:8545/ --broadcast --verify -vvvv --etherscan-api-key 0
[⠢] Compiling...
No files changed, compilation skipped
Traces:
  [3347138] ContractScript::run()
...
    ├─ [657385] → new XyzProxy@0x4c5859f0F772848b2D91F1D83E2Fe57935348029
...

Script ran successfully.
==========================
Simulated On-chain Traces:
...

Error:
(code: -32603, message: Remote node did not answer to eth_feeHistory correctly, data: Some(Object({"message": String("Remote node did not answer to eth_feeHistory correctly")})))

$ cast call 0x4c5859f0F772848b2D91F1D83E2Fe57935348029 'totalSupply()(uint256)' --rpc-url http://<IP_ADDRESS>:8545/
Error:
Contract 0x4c5859f0f772848b2d91f1d83e2fe57935348029 does not exist

The below conversation captured by tcpdump is from issuing: forge script script/Contract.s.sol:ContractScript --rpc-url http://<IP_ADDRESS>:8545/ --broadcast
It looks pretty strange to me because it looks like the eth_feeHistory call is attempted twice, with the parameter formatting changed during the second attempt ...
... prior POST of deployment transaction removed...

POST / HTTP/1.1
content-type: application/json
accept: */*
host: <IP_ADDRESS>:8545
content-length: 82

{"id":3,"jsonrpc":"2.0","method":"eth_feeHistory","params":["0xa","latest",[5.0]]}
19:45:59.009489 IP localhost.8545 > localhost.43066: Flags [.], ack 524, win 512, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
E..4..@.@.A.........!a.:4*.O.........(.....
........
19:45:59.120697 IP localhost.8545 > localhost.43066: Flags [P.], seq 3006:3496, ack 524, win 512, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 490
E.....@.@.?.........!a.:4*.O...............
...j....HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Request-Method: *
Access-Control-Allow-Methods: OPTIONS, GET
Access-Control-Allow-Headers: *
Content-Type: application/json
Date: Wed, 28 Sep 2022 19:45:59 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Content-Length: 191

{"jsonrpc":"2.0","id":3,"error":{"code":-32603,"message":"Remote node did not answer to eth_feeHistory correctly","data":{"message":"Remote node did not answer to eth_feeHistory correctly"}}}
19:45:59.120974 IP localhost.43066 > localhost.8545: Flags [P.], seq 524:707, ack 3496, win 512, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 183
E.....@.@..Z.........:!a....4*.9...........
...j...jPOST / HTTP/1.1
content-type: application/json
accept: */*
host: <IP_ADDRESS>:8545
content-length: 79

{"id":4,"jsonrpc":"2.0","method":"eth_feeHistory","params":[10,"latest",[5.0]]}
19:45:59.120990 IP localhost.8545 > localhost.43066: Flags [.], ack 707, win 511, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
E..4..@.@.A.........!a.:4*.9.........(.....
...j...j
19:45:59.122935 IP localhost.8545 > localhost.43066: Flags [P.], seq 3496:4018, ack 707, win 512, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 522
E..>..@.@.?.........!a.:4*.9.........3.....
...l...jHTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Request-Method: *
Access-Control-Allow-Methods: OPTIONS, GET
Access-Control-Allow-Headers: *
Content-Type: application/json
Date: Wed, 28 Sep 2022 19:45:59 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Content-Length: 223

{"jsonrpc":"2.0","id":4,"error":{"code":-32602,"message":"Errors encountered in param 0: Invalid value 10 supplied to : QUANTITY","data":{"message":"Errors encountered in param 0: Invalid value 10 supplied to : QUANTITY"}}}

Upon further investigation it appears hardhat is reaching out to the configured:
    hardhat: {
      chainId: 43114,
      gasPrice:<PHONE_NUMBER>00,
      forking: {
        url: "https://api.avax.network/ext/bc/C/rpc",
        enabled: true,
        //blockNumber: 99999...
         ...

upstream RPC provider, and this problem was due to the (now commented) blockNumber: directive. I guess the upstream RPC provider did not want to answer queries from that far back?
I'm leaving this issue open due to the existence of two separate calls to eth_feeHistory (per above trace), each with different formatting, and the -32602 (second error) not having been reported by forge. Possibly this is expected behavior.

Duplicate calls to eth_feeHistory seems expected so the script can fetch the latest data before each broadcast. And I vaguely remember that hardhat quantity but I think it should be fixed now? Going to close this, but we can reopen if there is still an issue here


Always set param type

In expr_param, we can always set the type of the param AST, even
when the initialiser is invalid.

Fix for #980


Updates eslint plugins

Changes

Updated gulp-eslint to 3.x and grunt-eslint to 19.x for compatibility with imported .eslintrc file.

Testing

gulp lint and grunt lint should not have an error in generated projects.

Review

@Scotchester
@contolini

Looks good. I'm getting linting errors, but the tasks themselves are running fine.


Changing fast-eslint-8 settings in atoms settings tab does not trigger re-lint of open editors

This issue requires assistance. If you have any hints, do not hesitate to reply. Thanks!
Currently it looks like atoms 'atom.commands.dispatch( view, "linter:lint" );' is ignored.
See How can I call lint() manually for standard linter? #1511
And in fast-eslint-8 code:
https://github.com/db-developer/fast-eslint-8/blob/74d3338e8fa1d972c899b23277b38f7293c8ddad/lib/exec.js#L130-L162

This project is not being continued, due to 'Microsoft is sunsetting atom'


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

Done!


4.9.0-0.okd-2021-12-12-025847 is not upgradable from 4.9.0-0.okd-2021-11-28-035710 on the stable-4 channel?

The OKD release status page lists v4.9.0-0.okd-2021-12-12-025847 and v4.9.0-0.okd-2021-11-28-035710 as the two last "stable" versions for OKD

But 4.9.0-0.okd-2021-11-28-035710  can not be upgraded to the latest version 4.9.0-0.okd-2021-12-12-025847, due to failing tests it seems

Q:

Is this a bug, ie this version should not have been released on the stable channel?
if we are currently on v4.9.0-0.okd-2021-11-28-035710 are we stuck there or will a future version be released where the upgrade will be possible?

I was on the understanding that each version released on the "stable" channel was a linear upgrade from the previous one, at least for OKD. Is it a wrong assumption?

Lets use Github Discussions for Q&A and track bugs with tech info in Issues

But 4.9.0-0.okd-2021-11-28-035710 can not be upgraded to the latest version 4.9.0-0.okd-2021-12-12-025847, due to failing tests it seems

2021-11-28-035710 can be updated to 2021-12-12-025847, as one passing upgrade is sufficient.

Is this a bug, ie this version should not have been released on the stable channel?

If there would be no upgrade path we'd remove it, yes. This has happened to few releases already

if we are currently on v4.9.0-0.okd-2021-11-28-035710 are we stuck there or will a future version be released where the upgrade will be possible?

A new version would be released and upgrade is always possible. "Upgrade from previous stable version" is the only release criteria so far (conformance tests are required to pass for a nightly, which is then promoted to a stable version)

Lets use Github Discussions for Q&A and track bugs with tech info in Issues

OK

A new version would be released and upgrade is always possible. "Upgrade from previous stable version" is the only release criteria so far (conformance tests are required to pass for a nightly, which is then promoted to a stable version)
OK. Since this morning the latest version suddenly "appeared" as a valid upgrade version from thestable-4channel

The missing tech info for completion (sorry for that..)
oc version <- I will upgrade the client to latest before upgrading...
Client Version: 4.9.0-0.okd-2021-11-28-035710
Server Version: 4.9.0-0.okd-2021-11-28-035710
Kubernetes Version: v1.22.1-1820+4dd1b5a1afc832-dirty

oc get clusterversion
NAME      VERSION                         AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.okd-2021-11-28-035710   True        False         14d     Cluster version is 4.9.0-0.okd-2021-11-28-035710

oc adm upgrade <- now with the latest version as a possible upgrade...
Cluster version is 4.9.0-0.okd-2021-11-28-035710

Upstream: https://amd64.origin.releases.ci.openshift.org/graph
Channel: stable-4
Updates:
VERSION                       IMAGE
4.9.0-0.okd-2021-12-12-025847 registry.ci.openshift.org/origin/release@sha256:4323eccc8c7cf782ff632a3c8ddf783b3f971af52e1b4bdcb93ab9127ed0be57

Anyway, it seems I can upgrade the cluster now,
Thanks for the clarifications and sorry for the noise


Set useDoubleURIEncode to false for S3 SigV4Config

Describe the bug
We are facing an issue where the presignURL captured from GetObjectInput , PutObjectInput  and UploadPartInput has useDoubleURIEncode set to true which fails to upload to S3.
Expected Behavior
The presignURL captured from the S3 Input objects should result in successful uploads.
Current Behavior
The presignURL results in a not authorized 403 error.
The request signature we calculated does not match the signature you provided. Check your key and signing method."), _requestID: Optional("DKGVF6G0WJQ2ETGD"), _retryable: false, _type: ClientRuntime.ErrorType.unknow

Reproduction Steps
Create a presignedURL form the input and use that to upload to S3 using URLSession.
let config: S3ClientConfigurationProtocol = // your configuration
let input = GetObjectInput(bucket: bucket, key: key)
let preSignedUrl = try await input.presignURL(config: config, expiration: expiration)

Possible Solution
Set useDoubleURIEncode set to false for S3 during SigV4 creation.
Additional Information/Context
No response
AWS SWIFT SDK version used
0.5.0
Compiler and Version used
Xcode 14.1
Operating System and version
iOS 16.1

URLs being signed for S3 requests must be constructed with single URI-encoding of the canonical URI.  Other services receive double URI-encoding.
https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html (see step 2.)
Our presign and presignURL methods for S3 operations do not specify single URI-encoding (though our operations do.)

Also note that UploadPartInput is missing a method to fetch presignURL. Please note that GetObjectInput , PutObjectInput has dedicated methods to get presignURL.
It would be nice if UploadPartInput could also provide that method.

@harsh62 #723 has been created for the UploadPart presign feature.

Fix for this issue is in #719 and will ship in the next release.
It was also discovered that the SDK was improperly normalizing URL paths for requests to S3; though that is not related to this issue, it has been fixed as well.

Shipped in https://github.com/awslabs/aws-sdk-swift/releases/tag/0.6.0, closing as completed.


RWX Support

Feature Request
Support for RWX volumes.
Description
Currently, I use Longhorn with RWO and RWX volumes. I'd love to leverage the Proxmox storage, but I require some RWX volumes.
Are RWX volumes supported or on the roadmap/planned?

Hello, Longhorn has CSI native driver. It will work much better.
Proxmox CSI uses qemu block device which cannot work as read/write many.
PS Inside one VM you can use read/write many mode.


Dashboard makeover

I think the dashboard screen needs a makeover. Here is my justification:

Wallet holders need to be able to star their most used accounts. Starred accounts should show up in the dropdown on the trading page. This ultimately gives users more flexibility and control.
The card view is gitchy but not particularly functional. I think that all a user needs to know is the balance of that account in their chosen currency. Maybe eventually each account could have a pref for currency but not really sure how much ppl will care about that.
Need to be able to filter accounts
Need to be able to sort accounts
It is not necessary to see the "icon" for the account on the dashboard

Agreed. We could add some more info to the table perhaps, "In open orders", "In collateral" maybe?

Well, the problem as I see it is that there might be variable amounts of information, which would mean we couldn't reliably display at a fixed row height. I think simply displaying the value would be preferable for this reason.
For instance, I could have 15 different collateral positions in an account right? How could you ever responsibly display this on the account list?

Yea I just meant the total value of the BTS locked in collateral, and the total value of all assets in open orders. In your preferred asset. So it would still just be one line.

Something like this?

Yep something like that :) Maybe "As collateral" or "Locked as collateral" would be more clear?

can it show last account overview by default when clicking on dashboard

What do you mean "last account overview"?

dashboard shows all your accounts. click an account and it will show you an overview of that account.
I'm saying everytime you click dashboard it should remember your last account overview and show it by default.

Instead of the list? I'm not sure I agree. Remember, your most recent account is active in the dropdown...

I supppose you want users to be able to star accounts elsewhere? As in the Account section for example, or from the account search in explorer?

@svk31 no, I was just thinking all accounts would appear here and you could star or unstar them which would make them appear/disappear in the dropdown.

Unstarred accounts would still be here, they would just be light gray stars instead of yellow stars.

Hm ok, I think it would be nice to be able to not show some accounts in the dashboard myself, quite a few people would like to hide their collateral-holder-x accounts for example. We could show an overview that includes all your accounts in the settings for example so that users could find them again once hidden.

Seems like an extra screen to me. I have a LOT of collateral accounts and I'd be fine if they were just sorted to the bottom. It would be a lot easier to just have one screen from a programming standpoint too.
Maybe you could also reduce the contrast on the account when it's unstarred... since the user can sort by starred accounts, it would be like they weren't there at all.

OK that works for me

I would drop the:

'as collateral' for just 'collateral'
'in open orders' for just 'open orders'


How to exclude some files for type checking with vue-tsc?

Hi @johnsoncodehk,
In my project, I want to exclude src/graphql/API.ts for type-checking so I excluded it in tsconfig like this

tsconfig.json

"exclude": ["node_modules", "src/graphql/API.ts"]

But I still got the error from this file when I run vue-tsc --noEmit in the project

Could you provide me with some advice about how to solve this issue?
Thanks

See https://github.com/johnsoncodehk/volar/issues/2018#issuecomment-1281802717.
You may consider using @ts-nocheck.


Show online TAs

Show the TAs with currently active sessions on the queue page.

https://github.com/mizzao/meteor-user-status

Implemented through #132.


[Client] Drop jcommander dependency in Pulsar java client

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Pulsar add the jcommander as dependency in pulsar-common module, but it should be an optional dependency because most people don't need it in client side.
Solution
Make the jcommander in pulsar-common with <optional>true</optional>.
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

I agree. Actually, this can be a bad design since the CLI tools is used for generating docs only. We may totally move the functionalities to pulsar-client-tools related modules.
cc @nicoloboschi @urfreespace @SignorMercurio

A test script to guard this refactor if it happens is reference-doc-generator.py in the site repo.

We may move out these classes to a dedicated module.
One class needs more consideration is org.apache.pulsar.client.impl.conf.CmdGenerateDocumentation in pulsar-client-original. It depends on jcommander transitively. And its FQN is referred by reference-doc-generator.py in the site repo.
Either we move it to another module while keep its FQN, or we should update the FQN and do some compatibility logics in the pytools in the site repo.

assign to me

@etcZYP Assigned. Go ahead!
... and feel free to ask if you are uncertain.

@etcZYP Assigned. Go ahead!
... and feel free to ask if you are uncertain.

can you plz tell me which branch should i merge into?

@etcZYP I think you should directly send a patch against the master branch.

Hello @etcZYP ! Are you still working on this issue?

Unassign the previous inactive assignee. @jak78 Would you like to take over this issue?

OK I'll try to fix it by next week

Maybe I can try to see if I can solve this, can you assign it to me?

@tobehardest there are three assignees from then here. I suggest you make a patch and I'll be glad to review and assign this ticket to you.
Also cc @jak78 do you still work on this ticket?

@tobehardest I’m glad you can make it, you can go ahead. Thanks!

I remove part of the usage in https://github.com/apache/pulsar/pull/20700, while there are still several others. What a mess 🤣.

Extend #20700 to fix this issue.


Don't clear _children on NodeArrays

Noticed this in #58045; _children is never read by anyone from arrays. There isn't a need to clear it. And clearing it probably causes worse perf as we're tacking yet another random prop on.
No doubt, we won't see any perf change in the tester since this only affected incremental mode, but it's probably real in the editor.

@typescript-bot perf test this

Not significant, but still an ok cleanup and one that will probably happen due to #58045 anyway...


Broken URLs in hover window due to special symbols

Describe the bug
Lspsaga prints the \ character which breaks URLs and reduces readability.
I'm guessing this has to do with escaping special characters.
Here's an example with Lspsaga hover:

Example with native hover:

Steps to reproduce
Hover over any symbol that has special characters (eg a URL) in the description.
In my examples above I am using jsonls and b0o/SchemaStore.nvim and then hovering over this schema
However I am noticing now that lspsaga does not print URLs at all in other LSPs (eg lua LSP) 🤔

I need to spend more time on specific steps to reproduce
Expected behavior
URLs are not broken, and \ does not get printed in front of special characters.
Neovim version (nvim -v)
v0.9.1
lspsaga commit
5073eda
Terminal name/version
alacritty
Related
https://github.com/b0o/SchemaStore.nvim/issues/21

However I am noticing now that lspsaga does not print URLs at all in other LSPs (eg lua LSP)

this is feature. it just like markdown render. and you can jump to url by press gx on view xxxx position


added parameter to specify a configuration file for compass

I needed a way to specify a compass config file location from the pom.xml, this was the solution.

Coverage decreased (-0.14%) to 80.84% when pulling f0c2550c956a303e251c0433f906b01ec338cd28 on StefanLiebenberg:master into e8b075fee2e2d20bd1d9d92a9fc9be24597a2b40 on GeoDienstenCentrum:master.

Can you please stick to the indentation style, sign the contributing agreement and provide a test project? You can find example test projects in  ./src/test/projects and create a copy or create your own.

i can take a look at doing that, but it probably will take a long time.

Also, how is the "contribution agreement" signed?

A link to the contribution agreement is available in the CONTRIBUTING.md document. We using clahub

changed all files as request, added test project. can't sign said agreement due to consistent error on page.

Coverage decreased (-0.36%) to 80.62% when pulling 60d60838350de39456f059de0de67cd5a222fafe on StefanLiebenberg:master into e8b075fee2e2d20bd1d9d92a9fc9be24597a2b40 on GeoDienstenCentrum:master.


Fix first option if disabled (#473)

Description
Fix issue #473.
The first disabled choice passed in as an option is not actually disabled.
Reproduced example
https://jsfiddle.net/uf9bmpy6/
Fix
We can simply pass in the disabled choice instead of checking whether it's preselected or not.

Thanks for this @markjoeljimenez. Could you add some tests to cover this change please?

Hey @jshjohnson, I haven't written tests before so please let me know if my tests are sufficient enough.

Hey - i've opened a new PR with your fix + some tweaks over latest master. Thanks 👍


Request to add phosphor icons

Great plugin from what I can see! We use https://phosphoricons.com/ in our designs, so it would be great if that could be added

Oh nice icon pack. I'll add it asap

It's done

Wow, that was fast! Awesome, thanks :smile:


internal errors are reported incorrectly

33 passed, 6 errors, 4 warnings, [KeyError('/etc/ceph/ceph.conf',), TypeError("'>' not supported between instances of 'str' and 'int'",), KeyError('/etc/ceph/ceph.conf',), KeyError('/etc/ceph/ceph.conf',), AttributeError("'NoneType' object has no attribute 'get_safe'",), AttributeError("'NoneType' object has no attribute 'get_safe'",), KeyError('/etc/ceph/ceph.conf',), TypeError("'>' not supported between instances of 'str' and 'int'",)] internal errors, on 3 hosts

Also a problem to solve here is that the KeyError should be caught and ignored in that check, so that it doesn't bubble up as an internal error - it isn't - because other checks look for missing ceph.conf files


added dark mode

Resolves

Resolves #2
Changes
Added dark mode.
Tests
Tested locally, because from now on I won't use replit for development.
also, you may have noticed that I removed alot of stuff where you wouldn't expect me to. this is just because I formated those files with VS Code

I would actually like to do this will css variables rather than doing !important and having a ton of css selectors

I would actually like to do this will css variables rather than doing !important and having a ton of css selectors

i think i only put like 1 !important rule

Pls use css variables

Pls use css variables

how

Look up dark mode like with css variables

okay ill make a new pr when i get dark mode with css vars working


Code writing with a function call notebook created

@ekzhu
Why are these changes needed?
Added notebook that shows an example of using function calls instead of code executor for creating advanced software apps.
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

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

Project coverage is 35.02%. Comparing base (4a85b63) to head (9ad9e92).
Report is 72 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2121      +/-   ##
==========================================
- Coverage   37.33%   35.02%   -2.31%
==========================================
  Files          64       68       +4
  Lines        6913     7069     +156
  Branches     1519     1543      +24
==========================================
- Hits         2581     2476     -105
- Misses       4109     4373     +264
+ Partials      223      220       -3

Flag
Coverage Δ

unittests
35.02% <ø> (-2.31%)
:arrow_down:

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

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

@ekzhu code formatting improved.

@GregorD1A1 thanks also please add the metadata field in the notebook.

@ekzhu I'm not familiar with concept of metadata. There is some "metadata" field in lines 926-944. Do you meant that or something different?

Oh, it dessapeared. Copied notebook to the directory again and repaired formatting.

@GregorD1A1 there is still some issue with the notebook. I created a PR to fix it. Please review: #2403


Customzied training Error

when i trained myself datasets,it comes
+-------------------------------------------+
loading dataset...
loading dataset...
100%|█████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:03<00:00,  1.16s/it]
creating index...
index created!
1e-06
0%|                                                                                | 0/20 [00:00<?, ?it/s]2021-04-28 11:28:55.279041: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic librarylibcudnn.so.7
2021-04-28 11:28:57.187358: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic librarylibcublas.so.10
0%|                                                                                | 0/20 [00:09<?, ?it/s]
Traceback (most recent call last):
File "train.py", line 298, in
main(args)
File "train.py", line 235, in main
model_outputs = model(batch_imgs, training=True)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 968, in call
outputs = self.call(cast_inputs, *args, **kwargs)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/keras/engine/network.py", line 719, in call
convert_kwargs_to_constants=base_layer_utils.call_context().saving)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/keras/engine/network.py", line 888, in _run_internal_graph
output_tensors = layer(computed_tensors, **kwargs)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 968, in call
outputs = self.call(cast_inputs, *args, **kwargs)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/keras/layers/merge.py", line 183, in call
return self._merge_function(inputs)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/keras/layers/merge.py", line 522, in _merge_function
return K.concatenate(inputs, axis=self.axis)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/keras/backend.py", line 2709, in concatenate
return array_ops.concat([to_dense(x) for x in tensors], axis)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
return target(*args, **kwargs)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 1606, in concat
return gen_array_ops.concat_v2(values=values, axis=axis, name=name)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 1181, in concat_v2
_ops.raise_from_not_ok_status(e, name)
File "/opt/anaconda3/envs/pray2/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 6653, in raise_from_not_ok_status
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [9,13,13,512] vs. shape[1] = [9,12,12,512] [Op:ConcatV2] name: concat
+-------------------------------+
could you help me》

Same here, running on colab.
Traceback (most recent call last):
File "train.py", line 309, in
main(args)
File "train.py", line 215, in main
use_multiprocessing=False)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py", line 1183, in fit
tmp_logs = self.train_function(iterator)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py", line 889, in call
result = self._call(*args, **kwds)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py", line 950, in _call
return self._stateless_fn(*args, **kwds)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py", line 3024, in call
filtered_flat_args, captured_inputs=graph_function.captured_inputs)  # pylint: disable=protected-access
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py", line 1961, in _call_flat
ctx, args, cancellation_manager=cancellation_manager))
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/function.py", line 596, in call
ctx=ctx)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py", line 60, in quick_execute
inputs, attrs, num_outputs)
tensorflow.python.framework.errors_impl.InvalidArgumentError:  ConcatOp : Dimensions of inputs should match: shape[0] = [8,512,13,13] vs. shape[1] = [8,512,12,12]
[[node model/concatenate_8/concat (defined at train.py:215) ]] [Op:__inference_train_function_68776]
Function call stack:
train_function
2021-06-20 08:54:23.124999: W tensorflow/core/kernels/data/generator_dataset_op.cc:107] Error occurred when finalizing GeneratorDataset iterator: Failed precondition: Python interpreter state is not initialized. The process may be terminated.
[[{{node PyFunc}}]]

Could you share your command line?  what's your "model-type"?  p5?  what's your "--multi-scale"?  It's seem that image size is not divided by 32(p5) / 64(p6) / 128(p7) .

Yes I found out that it needs to be divisible by 32 using the formula. I have fixed it already, thanks!


Show unlearned ability levels

This requires ReDota to bundle ability definitions which may impact bundle size.

Added in f459292228118655c896cb723bd3f99cf0e23a09 and f48b94451a7b422497e3a87058b58abf6ad8ab82.


ascii: Update Lubuntu and Xubuntu

Description
Reworked the Xubuntu and Lubuntu logos as suggested in #1509
Used suggested colors from #1517, choosed 20 for xubuntu
Features

Nice stuff!


Improve instructions to use the 3rd-party plugin directory

Refresh the requirements, install, and usage documentation
Use Terraform's 3rd-party plugin directory to provide a mechinism
for migrating infrastructure between plugin versions
https://www.terraform.io/docs/configuration/providers.html#third-party-plugins
Prepare for a v0.2.3 release

Note: List Terraform v0.11 as a requirement. While nothing has been done to
break functionality with old Terraform versions, they're quite old. Going
forward, v0.11+ will be assumed

Closes #27


Improve Web Vitals Score

https://lighthouse-dot-webdotdevsite.appspot.com//lh/html?url=https%3A%2F%2Fhacknitr.tech

Hey @ankitkumarsamota121 @CIPHERTron
All images based fixes are done. Look for other remaining ones and do
New Report: https://lighthouse-dot-webdotdevsite.appspot.com//lh/html?url=https%3A%2F%2Fhacknitr.tech

We have a good score on the desktop now. We need to work on the mobile score
Have to give a try for PWA and AMP to see if it helps by any chance

We have a good score on the desktop now. We need to work on the mobile score
Have to give a try for PWA and AMP to see if it helps by any chance


How to create a hover style?

I tried implementing a onHover behavior similar to the default button behavior that works with a theme color and results on a color that is darker or lighter depending on an overlay transparent color. I try using the fade function as done under the button file but the results are an almost transparent version of the color when its onHover. The buttons default behavior is a shade darker.

[ x] The issue is present in the latest release.
[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Here is the default state of both the button and the div:

Here is the on hover state of the button (notice the darker shade):

And finally here is the hover state of the div (almost transparent):

Expected Behavior 🤔

Both onHover  backgroundColors should be the same
Steps to Reproduce 🕹
Here is the styles I applied to the div (ignore the transition time)
div: {       backgroundColor: theme.palette.primary.main,       transition: '1s',       "&:hover": {         backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),       }     }
Here is a simple codeSandBox:
https://codesandbox.io/s/onhover-state-manually-e0jg2

Your Environment 🌎
Latest version of Material UI on Firefox

`npx @material-ui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @material-ui/envinfo` goes here.

@dceballos1991 It looks like you are using the wrong color manipulator method. You want darken():
      backgroundColor: theme.palette.primary.main,
      "&:hover": {
        backgroundColor: darken(
          theme.palette.primary.main,
          theme.palette.action.hoverOpacity * 3
        )
      }

https://codesandbox.io/s/onhover-state-manually-forked-eyzci?file=/demo.tsx:355-532

@dceballos1991 It looks like you are using the wrong color manipulator method. You want darken():
      backgroundColor: theme.palette.primary.main,
      "&:hover": {
        backgroundColor: darken(
          theme.palette.primary.main,
          theme.palette.action.hoverOpacity * 3
        )
      }

https://codesandbox.io/s/onhover-state-manually-forked-eyzci?file=/demo.tsx:355-532

That makes sense! However, is there a reason why inside the Button file fade is being used as opposed to darken?
This screenshot is taken from material-ui/packages/material-ui/src/button/Button.js

That makes sense! However, is there a reason why inside the Button file fade is being used as opposed to darken?
This screenshot is taken from material-ui/packages/material-ui/src/button/Button.js

@dceballos1991 You are looking at the style of the outlined or text variant, not the contained one you tried to reproduce.

@dceballos1991 You are looking at the style of the outlined or text variant, not the contained one you tried to reproduce.


Add Windows support

I have a Windows system and would like to use the primecount-rs crate. I am no expert in C-compiling, but would be happy to test the code.

Hi @bruderjakob17,
If you install cmake for windows first, then just cargo build should work since this crate will build the libprimecount internally.

Hm, I already have cmake (3.23.2) installed. When I run cargo build, it says thread 'main' panicked at 'not implemented', ...\primecount-0.1.2\build.rs:16:14

@bruderjakob17 I see what you mean, thank you for the clarification. I've pushed a candidate fix, let me know if it works.

cargo test failed with the following message:
error: failed to run custom build command for `primecount v0.1.2 (...\primecount-rs)`

Caused by:
  process didn't exit successfully: `...\primecount-rs\target\debug\build\primecount-35de05eddd6d8251\build-script-build` (exit code: 101)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_x86_64-pc-windows-msvc = None
  CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_msvc = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-pc-windows-msvc = None
  CMAKE_GENERATOR_x86_64_pc_windows_msvc = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-pc-windows-msvc = None
  CMAKE_PREFIX_PATH_x86_64_pc_windows_msvc = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-pc-windows-msvc = None
  CMAKE_x86_64_pc_windows_msvc = None
  HOST_CMAKE = None
  CMAKE = None
  running: "cmake" "...\\primecount-rs\\libprimecount" "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64" "-DBUILD_PRIMECOUNT=OFF" "-DCMAKE_INSTALL_PREFIX=...\\primecount-rs\\target\\debug\\build\\primecount-7143a38ece822d0e\\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_BUILD_TYPE=Debug"

  --- stderr
  CMake Warning:
    Ignoring extra path from command line:

     "...\primecount-rs\libprimecount"

  CMake Error: The source directory ".../primecount-rs/libprimecount" does not appear to contain CMakeLists.txt.
  Specify --help for usage, or press the help button on the CMake GUI.
  thread 'main' panicked at '
  command did not execute successfully, got: exit code: 1

  build script failed, must exit now', ...\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.48\src\lib.rs:975:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@bruderjakob17 make sure to run git submodule update --init --recursive from root directory

Ah, I forgot that. Now it is working. Thank you very much for all the effort!

Hi @bruderjakob17
Thank you for helping with testing. I also published a new version with the fix.  Now, you should be able to add primecount = "0.2.0" to your Cargo.toml.


Loop variables don't persist following the loop but within the same block

Steps to reproduce the issue
Consider the following code:
module mcve1(i_value, o_value);
	input	wire	[3:0]	i_value;
	output	reg	[7:0]	o_value;

	integer k;
	always @(*)
	begin
		for(k=0; k<4; k=k+1)
			o_value[k] = i_value[k];
		o_value[4] = i_value[k];
		o_value[5] = i_value[k];
		o_value[6] = i_value[k];
		o_value[7] = i_value[k];
	end
endmodule

and process it with
yosys -p 'read -sv mcve1.v; synth; write_verilog mcve1y.v'

Expected behavior
I'd expect the resulting Verilog code to look something like,
    assign o_value = { {(5){i_value[3]}}, i_value[2:0] };

Actual behavior
Instead, I get
    assign o_value = { 4'hx, i_value };

The difference between the two is whether or not the loop variable maintains its last value after exiting the context of the for loop.

I'd expect the resulting Verilog code to look something like, assign o_value = { {(5){i_value[3]}}, i_value[2:0] };

Actually, k is 4 after the for-loop is completed, not 3. Updated test case with wider i_value:
module mcve1(i_value, o_value);
	input	wire	[4:0]	i_value;
	output	reg	[7:0]	o_value;

	integer k;
	always @(*)
	begin
		for(k=0; k<4; k=k+1)
			o_value[k] = i_value[k];
		o_value[4] = i_value[k];
		o_value[5] = i_value[k];
		o_value[6] = i_value[k];
		o_value[7] = i_value[k];
	end
endmodule

And this one is actually broken. Fixed in #972.
(Verific results are looking fine with the updated test case.)

I just tested this patch within a much larger design, and so I'm now getting driver-driver conflicts based upon the loop variables.

@ZipCPU can you send me that design?

You should have a copy now.
With this patch, yosys also generates the same warnings when verifying this design.  See this sby file for reference

Disabled the change in e35fe13. Here is an MCVE that even segfaults:
module test (input clk, output [3:0] foo);
	integer k;
	always @(posedge clk) begin
		for (k=0; k<5; k=k+1) begin end
	end
	always @(posedge clk) begin
		for (k=0; k<10; k=k+1) begin end
	end
	assign foo = k;
endmodule

I have no idea what value should be assigned to foo in this case.

Segfault fixed in 32ff37b.

This is the proper MCVE:
module test (input clk, a, b, output reg x, y);
	integer k;
	always @(posedge clk) begin
		for (k=0; k<2; k=k+1) begin x <= a; end
	end
	always @* begin
		for (k=0; k<5; k=k+1) begin y = b; end
	end
endmodule

I'm not sure yet what the correct solution is for this. I mean, technically there is a driver driver conflict here for k..

Two little test cases:
module test1 (input clk, a, b, output reg [3:0] p, q, x, y);
        integer k;
        always @(posedge clk) begin
                for (k=0; k<2; k=k+1)
                        p[2*k +: 2] = {a, b} ^ {2{k}};
                x <= k + {a, b};
        end
        always @* begin
                for (k=0; k<4; k=k+1)
                        q[k] = {~a, ~b, a, b} >> k[1:0];
                y = k - {a, b};
        end
endmodule

module test2 (input clk, a, b, output reg [3:0] q, x, output [3:0] y);
        integer k;
        always @* begin
                for (k=0; k<4; k=k+1)
                        q[k] = {~a, ~b, a, b} >> k[1:0];
        end
        always @* begin
                x = k + {a, b};
        end
        assign y = k - {a, b};
endmodule

With 9af825e we get then both right afaict, but we get Warning: Driver-driver conflict for \k [0] between cell $procdff$43.Q and constant 1'0 in test1: Resolved using constant. warnings.
Without it we get them both wrong.

I think/hope #975 provides a proper fix. Please test.

Nope, this isn't there yet.  I'm still getting the warnings.  These include my WB crossbar referenced above, but also my AXI-lite crossbar as well.

@ZipCPU Just pushed some updates to #975. Please test again. I don't see any driver-driver conflict warnings now for wbxbar.v or axilxbar.v.

@ZipCPU Do you still see driver-driver conflict warnings that shouldn't be there in HEAD of https://github.com/YosysHQ/yosys/tree/clifford/fix968? Can I merge #975?

I've now merged #975. Let me know if there are any issues. Closing for now.

Sorry for not getting back to you on this sooner.  I have tested the patch and no longer get any driver-driver conflict warnings.


⚠ Turnos 24x7 has degraded performance

In 81fa250, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1004 ms

Resolved: Turnos 24x7 performance has improved in 3ff1990.


Cannot debug a boolean

Expected Behavior

I would like to see booleans supported in debug logging.
Actual Behavior

When i run:
self.debug("------->" + self.portfolio.invested)
I get this error:
20240908 01:00:33.242 ERROR:: Extensions.SetRuntimeError(): Extensions.SetRuntimeError(): RuntimeError at 10/07/2013 04:00:00 UTC. Context: OnData  Python.Runtime.PythonException: can only concatenate str (not "bool") to str   File "/LeanCLI/main.py", line 19, in on_data     self.debug("------->" + self.portfolio.invested)
Potential Solution
A potential hack for the developer is to override the debug method it in their subclass.
However, it would be much more efficient if the library could handle this, this would help the developer write cleaner code.
System Information

2020 Mac Book Pro
macOS: 14.6.1
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Hi @ahmadsaadat
The error message is actually quite clear here. You're trying to concatenate a string with a boolean which is not supported in Python. Just replace the line with
self.debug(f"------> {self.portfolio.invested}")

That should fix it.

Correct, this is the behavior of python itself, another potential solution is using str()
>>> a = "test"
>>> b = False
>>> a + b
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: can only concatenate str (not "bool") to str
>>> a + str(b)
'testFalse'
>>>


Unclear differentiation between myApp.config copy property and auto-copy of App.config

The two paragraphs do not make it clear what the intended workflow is.
If Visual Studio automatically copies a "source configuration file" to the output directory, then when should the config file property set to copy always or copy if newer? Is the "source configuration file" something different than the myApp.config file?
The paragraphs in question:
>  When you develop in Visual Studio, place the source configuration file for your app in the project directory and set its Copy To Output Directory property to Copy always or Copy if newer. The name of the configuration file is the name of the app with a .config extension. For example, an app called myApp.exe should have a source configuration file called myApp.exe.config.
>
> Visual Studio automatically copies the source configuration file to the directory where the compiled assembly is placed to create the output configuration file, which is deployed with the app.

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

ID: b39c5030-7cdb-a2b4-4abf-0451ab4d8de4
Version Independent ID: 4aae87fd-84b4-4cbf-aeec-4da9a43f4396
Content: Configuring Apps by using Configuration Files
Content Source: docs/framework/configure-apps/index.md
Product: dotnet-framework
GitHub Login: @mcleblanc
Microsoft Alias: markl

The "source configuration file" is the same as the "myApp.config" file.
You can generally pick either "copy if newer" or "copy always".  The difference would be observed if you edit the destination file manually.


ReflectionException (-1) Class teamwork does not exist

ReflectionException (-1)
Class teamwork does not exist.

Happens: When trying to invite someone to a Team!

Forgot to add ServiceProvider due change of website folders etc...
Mpociot\Teamwork\TeamworkServiceProvider::class,


Items randomly gain NBT data and lose the ability to stack

Stackable items will sometimes be unable to stack with other items of the same type. A closer look revealed this to be some of the items gaining nbt tags, though i wasn't able to see what those tags were. Could possibly be an issue caused by fabric or it's api (these were the only other mods in use). It happens seemingly at random, but I'll keep an eye out for any patterns and let you know if I notice anything.

Actually, I have found a distinct pattern for this occurring. Items only gain the junk NBT tag when you either switch off from that item to a shotgun/slab revolver, OR when you switch off from the shotgun/slab revolver to an item, all in your hotbar. So if I have the shotgun in hotbar slot 1 and a stack of beef in hotbar slot 2, scrolling from the beef in slot 2 to my shotgun in slot 1 will cause the beef to gain junk nbt data, and so will switching the shotgun to the beef.


Double usage of Strg + W

I using ssh to an Linux machine. To edit text-files i use the editor "nano".
This editor uses his own shortcuts, like STRG + X to close document.
To search in a document, the shortcut ist STRG + W.  When I want to use this, it close the active tab instead of use the search.
I know it's wanted the terminal to have its own shortcuts. That also makes working easier.
It would be great to first check whether the running program inside the window evaluates the shortcut before it is interpreted as a terminal shortcut.

We already changed the default binding for closeTab, but if you are using a settings file from 0.2 you will need to change it yourself. This was mentioned in the release notes for 0.3 or 0.4.
Thanks!


[Request] History

Add ability to save history of chat to a json file to come back to later. Could be a parameter in the service called "conversation" which much have the same name as the json file in which the history of the conversation is saved.

Hi,
could you explain the use case for this? Currently I look in the automation/script traces to look back at what happened. I added this to my say_with_gpt script:
trace:
  stored_traces: 100

The use of this is for followup questions or questions about the same topic that uses the past questions and answers as logic. It saves the user input and the assistant output.

Ah, maybe the conversation agents built into Home Assistant will help you reach your goal. I'm discontinuing the project because my personal use-cases are now covered by those conversation agents and service responses in the latest Home Assistant release.
See the README for my suggested migration option.


The android version of the data grid does not display any data

Describe the bug
When tested in an android device, the data in the datagrid are not shown. But it does work fine in windows. I tried removing it from the scrollview like the suggestions from others with the same issue. But i need it to be able to be scrolled horizontally since i have many columns and working on a cellphone device.

To Reproduce

Wrap the datagrid in a scroll view and test on an android device

Expected behavior
The datagrid should show the data and can be scrolled sideways
Smartphone (please complete the following information):

Device: [Xiaomi Redmi 9T]
OS: [Android 10, MIUI 12]
Browser [Chrome]
Version 10]

One thing you could try is using the latest .NET 9 preview

https://github.com/dotnet/maui/pull/23188

Android 11, .NET 8.0 MAUI


@infiniteHandler fires off on page load - how do I prevent default?

Version
2.2.3
Vue.js version
2.8.2
What is expected?
When the page loads, the variable, pageCount is set to 10, but the infiniteHandler method fires off right away and the number increases by 10 (per the function), so instead of loading 10 results at first, it loads 20.
I would expect the infiniteHandler method to only get called upon scrolling to the bottom of the page. I tried doing something like
<infinite-loading @infinite.prevent="infiniteHandler">
but that doesn't work.
pageCount: 10, pageCountDefined: 10,
infiniteHandler($state) {
	if(this.infiniteScroll !== 'stop'){
		setTimeout(() => {
			this.pageCount = this.pageCount + this.pageCountDefined;
			this.refreshParts();
			$state.loaded();
		}, 1000);
	} else {
		$state.complete();
	}
},

Hi @cassandradanger , the prevent modifier only can be used with native event, the infinite is a custom event, so it cannot work properly.
This component will trigger continuously until the scroll wrapper has scroll bar, so if you want to fill up data manually in the first time, you can render this component after the scroll wrapper be fill up through v-if directive:
<infinite-loading v-if="pageCount > 10"></infinite-loading>

Doing that v-if prevents the infiniteHandler from triggering at all. I'm just trying to prevent it from triggering on page load

So, would there be 2 instances of the infinite-loading component?
<infinite-loading @infinite="infiniteHandler" spinner="spiral">
			<span slot="no-more">
			There are no more parts.
			</span>
		</infinite-loading>
		<infinite-loading v-if="pageCount > 10"></infinite-loading>

It does seem to prevent the loading problem, but then I'm left with 2 instances of the infinite-loader

Nope, there should be only 1 instance, perhaps I misunderstood what you mean, it would be better if you could describe your situation in detail.

I changed the distance and it seemed to help a little bit


iptables rules interference

This is something that is inevitably going to pop up: how do we deal with multiple sidecars operating on iptables rules. At the very least, we should document how we can exclude traffic per port or per container/process from istio proxy traffic capture. For per node set-up, dealing with kube-proxy iptables rules in conjunction with istio proxy rules needs to be addressed.

multiple sidecars in same pod? Well, we could basically punt on it stating that there can be only one, unless someone is willing to setup some super fancy chaining.
Personally, if I were writing the app from scratch, i wouldn't bother running the init container for ip tables setup. Rather, i would just explicitly invoke the sidecar (depends on how you view the problem: enforcement or opt-in)

We want enforcement for security policies (auth especially). Currently, you can escape rules by setting PID, which is probably good enough for now.

We should also be prepared for scenarios where IPtables setup is not desired (in non kubernetes platforms). If this issue is being tracked for beta (Aug 31st), then support for another platform like CloudFoundry is definitely on the plate.

Is there an adopted specification how to address services and ports with an explicit proxy? Should we adopt linkerd convention and only support HTTP?

@smawson Should this still be part of 0.2 since it now resides in backlog?

This is probably irrelevant now since we have settled on the transparent proxy setup. A better issue would be to enable non transparent proxy in k8s

So should this be closed in favor of that epic?

This issue is orthogonal to the transparent proxy injection.
We need to leave it open and address it in 0.3. We need at a minimum to selectively capture traffic only for some of the container ports, opt-in or opt-out. Some of the other concerns from the description are also valid, but I see the selective capture as higher priority.

Issue moved to istio/istio #1428 via ZenHub


Integrate text-to-speech and speech-to-text functionality

please make this an optional package that is separate

Yes certainly, it will be possible to attach STT or TTS to the chat functionality but it will not be enabled by default.

Hey there 👋 , will you use Sentis for STT and TTS? Or do you have another idea?
We have some Sentis model on the Hub that are super fast (Tiny Whisper and Jets).
Tiny Whisper: https://huggingface.co/unity/sentis-whisper-tiny
Jets: https://huggingface.co/unity/sentis-jets-text-to-speech
Demo with Whisper: https://singularite.itch.io/jammo-the-robot-with-unity-sentis-whisper-version

Hi, thank you for the suggestions!
I need to do a small exploration first, but yes I was thinking to start with your Whisper-Tiny model 🙂.
Ideally I would like to support a range of models e.g. similarly to whisper.cpp project but need to have it working cross-platform in Unity which is work-in-progress (link).
By the way, thanks a lot for your great work on the sharp-transformers ⭐!
I'm using it in the other repo, RAGSearchUnity, to build a RAG similarity search system!

Hi @amakropoulos : I want this functionality for a project I am building! Are you planning to add this soon? I can help raise a PR for this functionality too if you are fine with this? Looking forward to hearing from you. Thanks!

@siddhant-bharti I'm replying here as well :).
This is the next big feature that I'll work on soon.
@simoninithomas I can't use Jets because it has a cc-by-4.0 license.
The Unity Asset store does not allow packages with licenses that require attribution and I'd like to LLM for Unity to be there as well (p.s. we are live on asset store as of last week :tada: !)

This feature is blocked at the moment.
I can't find an open-source library for TTS to integrate that fulfills the following requirements:

C/C++/C# code without many dependencies
MIT/Apache 2.0 or any other equivalent license that is open-source and attribution-free
allow multiple voices

The best solution would be Piper but at the moment has a potential license issue due to to using espeak (link).

Adding TTS and STT functionality would take llamafile to the next level!

I also think that piper is the best choice for TTS and whisper for STT. I made a project using the UnityPiper and whisper.unity projects. It works, but it was a bit complicated getting it all to work. I also found Piper without espeak but I don't know how well it works.

Having this feature is super Amazing and Instead of being blocked by Unity's opensource license requirements.  Could this feature be delivered via Github instead of the unity asset store?

I can't spend months to implement it when it can't go to any Unity or commercial product.
If someone wants to use TTS they can have a look at these options instead:
commercial: Overtone, ElevenLabs
open-source (Piper): piper.unity, UnityPiper
I haven't personally used any of these, but I know a lot of people that use the commercial ones.


Library Version with HTTP2 support doesn't appear to be published on jitpack

When I bundle the oksse library as part of my android app, I get an issue where the list of protocols available is limited to only http/1.1
However, I've been explicitly passing in an OkHttpClient that has h2 as part of the protocols
Seems like the PR here isn't included in the library that was published to jitpack https://github.com/heremaps/oksse/pull/25

This is a dead project. Use the SSE features built into okhttp as okhttp-sse.

@lbdroid okhttp-sse does not reconnect - https://github.com/square/okhttp/issues/5471

@lbdroid nothing stopped me writing my own library, but SSE support in okhttp-sse is broken and incomplete, while everything is ok in oksse

Its not broken, and incomplete doesn't matter if it does what is needed. oksse is both broken and unsupported, which makes it a non-starter no matter how you look at it.

@lbdroid automatic reconnection is a key feature of SSE standard, so okhttp-sse is broken(incomplete) and can not be used until the issue is not fixed

Cry me a river. Its ONE LINE in your own code to make it automatically reconnect.

It should be fixed, because that library does not implement key feature of the standard it tries to implement

What is your point?

This project works perfectly and I'm pointing out key feature, while you are repeating FUD.

This project hasn't seen a commit in 3 years. It does NOT work, and it uses a horrendously out of date and non-secure version of okhttp.

It works absolutely correct and you can use any version of okhttp with it, learn how to manage dependencies before writing misinformation.

Come back when you reach adulthood.


Add a new selector to 'Core -> Base -> Media' for responsive images

.img-responsive {
  max-width: 100%;
  height: auto;
}

This is handy if your UI isn't responsive but you still would like this treatment on certain images e.g. if you want to serve inline (img) retina images.

Fixed: #54.


[cleanup][txn] Avoid create multiple future and exception handler.

Motivation
When I try to learn the transaction part features. I found the TransactionMetadataStoreService#endTransaction method to look complicated. I think I should try to refactor it to reduce the complexity caused by many CompletableFuture.
Modifications

Use chain-call to avoid catching exceptions everywhere.

Try to avoid using multiple CompletableFutures to increase understanding complexity.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] no-need-doc

/pulsarbot run-failure-checks

@codelipenghui @congbobo184 @liangyepianzhou @Technoboy-  PTAL, when you have time :-)


XmlDocument is saved with incorrect Encoding/Contents

Test.txt

Describe the bug
Importing an XML File with UTF-8 encoding and saving it using the native XmlDocument type results in an incorrect XML File with UTF-8 BOM encoding.
To Reproduce
Import/Export the attached XML file (please rename the extension) using the following code:
procedure TestEncodingIssue()
    var
        FileMgt: codeunit "File Management";
        TempBlobIn: codeunit "Temp Blob";
        TempBlobOut: codeunit "Temp Blob";
        InStr: InStream;
        OutStr: OutStream;
        XmlDoc: XmlDocument;
    begin
        FileMgt.BLOBImportFromServerFile(TempBlobIn, '\\por16-05-01\Temp\Test.xml');

        TempBlobIn.CreateInStream(InStr, TextEncoding::UTF8);

        XmlDocument.ReadFrom(InStr, XmlDoc);

        TempBlobOut.CreateOutStream(OutStr, TextEncoding::UTF8);
        XMLDoc.WriteTo(OutStr);

        FileMgt.BLOBExport(TempBlobOut, 'Test.xml', true);

    end;

EDIT: the corrupt xml contents was caused by using the same Temp Blob variable. The encoding issue however remains.
Expected behavior
The resulting XML File should be identical to the original File.
 Versions:

AL Language:

Business Central:

Hi! Please take a minute to read the guidelines for this repository https://github.com/microsoft/AL and our collection of frequently asked questions https://github.com/Microsoft/AL/wiki/frequently-Asked-Questions .
As this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.

Hi! Please take a minute to read the guidelines for this repository https://github.com/microsoft/AL and our collection of frequently asked questions https://github.com/Microsoft/AL/wiki/frequently-Asked-Questions .
As this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.

Hi,
Why isn't this a bug in the compiler? A similar issue was reported and solved here... https://github.com/Microsoft/AL/issues/630.

At the point when the issue was reported, this repository also handled issues related to the runtime. As stated in our readme, we have chosen to focus solely on developer experience issues.

Loggon on collaborate
https://partner.microsoft.com/en-us/dashboard/collaborate/engagements/1173/feedback/wits/Bugs/358971


Update calculate-a-truck-route.md

added "toll road" summary to `regionTravelSummary" in RouteAttributes

Docs Build status updates of commit 7aee2da:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingMaps/rest-services/routes/calculate-a-truck-route.md
:white_check_mark:Succeeded
View

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.


Switch to pytest

I'm not very happy with our current unit test framework. The two most annoying things are the bad diffs for complex objects and the missing summary of failed tests. That is why I propose to switch to pytest. As far as I see it is the de facto standard for unit tests in Python and has multiple advantages over the currently used unittest. Pytest is also compatible to our current unit tests, so that we do not have to rewrite everything at once. The only drawback is that this is another development dependency, but I think it is worth it.

If fully agree with the drawbacks you mention, which bother me regularly.
Another issue I'm seeing is lack of parallel test execution. Our 400+ take quite a while, but  are only execute on a single core. Can pytest run tests in parallel?

There are plugins for pytest. pytest-xdist allows parallel execution of tests. I just tried it and it seems to work fine.

Nice! I'm all for it.


Need some kind of window / door alert when no response

Need some kind of window / door alert when no response (basically to monitor battery level).  Perhaps something with LWT / MQTT???

Not needed, using MQTT retain


Unit Testing Custom Filter

I'm trying to unit test my custom filter.  I have a current question about this on StackOverflow.
Immediately, I try to get the settings for the filter.
public virtual Task<Boolean> EvaluateAsync(FeatureFilterEvaluationContext context)
{
    _settings = context.Parameters.Get<IdFilterSettings>();

Where IdFilterSettings looks like this:
internal class IdFilterSettings
{
    public String[]? AllowedIds { get; set; }
    public String[]? BlockedIds { get; set; }
}

When calling it through an actual API call, _settings properly gets set to a new instance of IdFilterSettings with AllowedIds and BlockedIds properly populated.
I try to unit test this and use fake data in FeatureFilterEvaluationContext with this code:
var allowedIds = new string[2] { "someId1", "someId2" };
var blockedIds = new string[1] { "someId3" };
var parameters = new Dictionary<string, string?>
{
    { "AllowedIds", JsonSerializer.Serialize(allowedIds) },
    { "BlockedIds", JsonSerializer.Serialize(blockedIds) }
};
var context = new FeatureFilterEvaluationContext
{
    Parameters = new ConfigurationBuilder().AddInMemoryCollection(parameters).Build()
};

_filter = new CustomIdFilter(_httpContextAccessor.Object);

var result = await _filter.EvaluateAsync(context);

If I put a break point after _settings = context.Parameters.Get();, settings is a new instance of IdFilterSettings, but AllowedIds and BlockedIds are both null.
I tried Mocking FeatureFilterEvaluationContext, but the Parameters property is not virtual, so I cannot Mock it.  I tried Mocking IConfiguration and setting it to Parameters, but IConfiguration.Get is not allowed as it is also not virtual.  How can we unit test our custom filters?

Hey @steven-rothwell thanks for reaching out. The issue here should be that the configuration dictionary you're building is not quite what .NET Core makes when it reads from app settings.
The dictionary that you pass in to AddInMemoryCollection should actually look like this, according to your scenario.
{
    { "AllowedIds:0", "someId1" },
    { "AllowedIds:1", "someId2" }
    { "blockedIds:0", "someId1" }
}

The idea here is that arrays are flattened. You can see I've appended the index of each element in the array to the configuration setting key.
Let me know if this helps !

I wanted to callout that in 2.6.0-preview we added an Exclusion list on TargetingFilters, where you can explicitly block specific users or groups from the filter. Not sure if it's relevant for you, but it sounded similar to your example custom filter so I figured I'd mention it.

@jimmyca15, thank you so much for getting back to me so quickly!  I spent about 6 hours trying to figure this out today.  Your suggestion worked!  Truly appreciate it!
@rossgrambo, that's cool!  We needed a little bit more customization.  I ended up customizing both the FeatureGate and FeatureManager to allow the coder to tell the custom filter where to look for the id.  (Ex: query param, claims, or given value)  But, thanks for letting me know!


NEW: (Admin) Functional tests for inviting a supplier contributor

Update create_supplier helper method to accept customisation data to customise returned supplier
Update create_user helper method to accept customisation data to customise returned user
Update I have a supplier user step to pass arguments to create_supplier in new format
New I have a supplier step to create only a supplier object
New I have a user with step to take advantage of new customisable users
New I have a supplier with step to take advantage of new customisable suppliers
New that supplier has a user with step to associate customised supplier with custom user, uses @supplier global var as per log in steps
New get_or_create_supplier helper method. Searches for existing supplier before creating
New get_or_create_user helper method to search for user before creating
NEW: (Admin user only) Functional test for inviting a supplier contributor
NEW: (Sourcing and Manager) Functional tests for inviting a supplier contributor
NEW: (Category and Framework Manager) Functional tests for inviting a supplier contributor

Thanks for the review @TheDoubleK I'll merge this tomorrow AM if I don't hear back as you're on hols. Have addressed all comments as much as possible


[Bug]: 打包产物应该是 app.wxss，但输出却是 app-[hash].css

version
1.1.5
Link to minimal reproduction
无
Steps to reproduce

更新依赖

执行 dev/build

What is expected?
应输出 app.wxss
What is actually happening?
app.wxss 输出为 app-[hash].css 文件
System Info
No response
Any additional comments?
No response

fixed in 1.1.6


updating backup retention.

@allenwux : Thanks for your contribution! The author, @anosov1960, has been notified to review your proposed change.

#sign-off

@CarlRabeler: I'm sorry - only the author of this article, @anosov1960, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#hold-off
#holdoff

@allenwux : Thanks for your contribution! The author, @anosov1960, has been notified to review your proposed change.

@anosov1960 what is the status of this PR?

I believe this isn't needed anymore, @anosov1960 had a separate PR for this. The public webpage is already updated and this PR can likely be abandoned/closed @allenwux.
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-automated-backups

#please-close


Modify word spelling  in stats.go's comments

Signed-off-by: Shuwei Hao<EMAIL_ADDRESS>

LGTM 🐡

LGTM, thanks!


Fixes clone creation command - Get-Disk doesn't retun Location parameter

Resolves #82.
Was running into the same issue with the clone command as I did with the image command, in that Get-Disk did not provide Location property for mounted disks.

Update: I reverted this as it didn't work as I expected. But might be useful to keep these data around as it is something that would need to be fixed 😄
Additionally, I fixed the New Image command to bypass the Location parameter during the mounted check.
@sanderstad You might want to look at this bit of code in the New-PSDCClone function:
else {
                            # Mount the disk
                            $command = [ScriptBlock]::Create("Mount-DiskImage -ImagePath `"$($clonePath)`"")
                            $null = Invoke-PSFCommand -ComputerName $computer -ScriptBlock $command -Credential $Credential

                            # Get the disk based on the name of the vhd
                            $command = [ScriptBlock]::Create("Get-Vhd -Path `"$($clonePath)`"")
                            $disk = Invoke-PSFCommand -ComputerName $computer -ScriptBlock $command -Credential $Credential
                        }

The change I made only affects the localhost part, whereas this code is for the remote part. I apparently don't even have a Get-Vhd on my system, and since this deals with remote management (something I haven't myself tested), I figured you might want to look at it to see if it needs any updating that you can tell to incorporate this  change. 😄

I'm going to get the remote part changed to make sure it works the  same way.


Allow to override drop data in LineEdit

Addresses #30480 (the change in Control is unrelated, I can remove it if requested)
Not sure what should we do about SpinBox. It's impossible pass drop data to parent without explicitly checking its type. But with LineEdit fixed, this can be done on user side (although in a bit convoluted way, see my comment in the issue). If it's fine this way, #30480 can be closed after this PR is merged.

Cherry-picked for 3.2.4.

Cherry-picked for 3.2.4.


try fixing templates on home-manager

Fix for #681, or at least trying.
Should probably be squashed, because i kind of bruteforce the issue
EDIT: i did squashed

@mergify queue


Make text-icons use the configured font and color

When an menu item shows text instead of an icon, this uses a black Sans font now. I think it should rather use the same font and color as the center item.
If you want to work on this feature, just drop a note here and I will point you to the parts of the code you should start to work on!

As this is not so important, I will re-schedule this to Fly-Pie 5!

Resolved by 5584310cbf603e999c25b8b7223a899ff1af500d

Resolved by 5584310cbf603e999c25b8b7223a899ff1af500d


fix dict keys

use correct dict keys
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

yes it should solve the nan issue


torch.nn.modules.module.ModuleAttributeError: 'SynthesizerTrn' object has no attribute 'emb_g' 【anybody help me，please！】

when I am running the train_ms.py , it has some errows as follow：
Traceback (most recent call last):
File "train_ms.py", line 296, in
main()
File "train_ms.py", line 50, in main
WARNING:vctk_base:/data/private/sxyl3800/workspace/emotional-vits-main is not a git repository, therefore hash value comparison will be ignored.
Traceback (most recent call last):
File "train_ms.py", line 296, in
main()
File "train_ms.py", line 50, in main
mp.spawn(run, nprocs=n_gpus, args=(n_gpus, hps,))
File "/home/sxyl3800/.conda/envs/pytorch/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 200, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/home/sxyl3800/.conda/envs/pytorch/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 158, in start_processes
while not context.join():
File "/home/sxyl3800/.conda/envs/pytorch/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 119, in join
raise Exception(msg)
Exception:
-- Process 2 terminated with the following error:
Traceback (most recent call last):
File "/home/sxyl3800/.conda/envs/pytorch/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap
fn(i, *args)
File "/data/private/sxyl3800/workspace/emotional-vits-main/train_ms.py", line 120, in run
train_and_evaluate(rank, epoch, hps, [net_g, net_d], [optim_g, optim_d], [scheduler_g, scheduler_d], scaler, [train_loader, None], None, None)
File "/data/private/sxyl3800/workspace/emotional-vits-main/train_ms.py", line 147, in train_and_evaluate
(z, z_p, m_p, logs_p, m_q, logs_q) = net_g(x, x_lengths, spec, spec_lengths, speakers, emo)
File "/home/sxyl3800/.conda/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/sxyl3800/.conda/envs/pytorch/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 511, in forward
output = self.module(*inputs[0], **kwargs[0])
File "/home/sxyl3800/.conda/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/data/private/sxyl3800/workspace/emotional-vits-main/models.py", line 466, in forward
g = self.emb_g(sid).unsqueeze(-1) # [b, h, 1]
File "/home/sxyl3800/.conda/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 772, in getattr
type(self).name, name))
torch.nn.modules.module.ModuleAttributeError: 'SynthesizerTrn' object has no attribute 'emb_g'
anybody help me，please！

Hello!
I am not sure about your modified module, but it seems that it is caused by your forward arg speakers while you are using single speaker dataset
https://github.com/jaywalnut310/vits/blob/2e561ba58618d021b5b8323d3765880f7e0ecfdb/models.py#L456
Check this line and remove speaker argument if you are using single speaker dataset


New Architect iOS build error: Could not build Objective-C module 'React'

New version gives iOS build error

"react-native": "0.76.5",
"@baronha/react-native-multiple-image-picker": "2.0.3",
"react-native-nitro-modules": "0.18.2",

Podfile
# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
  'require.resolve(
    "react-native/scripts/react_native_pods.rb",
    {paths: [process.argv[1]]},
  )', __dir__]).strip

platform :ios, 16.0
prepare_react_native_project!

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
  use_frameworks! :linkage => linkage.to_sym
end

$RNFirebaseAsStaticFramework = true
$RNVideoUseVideoCaching = true

target 'XXXX' do
  config = use_native_modules!

  rn_maps_path = '../node_modules/react-native-maps'
  pod 'react-native-google-maps', :path => rn_maps_path
  pod 'IQKeyboardManagerSwift', :git => 'https://github.com/douglasjunior/IQKeyboardManager.git', :branch => 'react-native-keyboard-manager'

  use_react_native!(
    :path => config[:reactNativePath],
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  target 'XXXXTests' do
    inherit! :complete
    # Pods for testing
  end

  pre_install do |installer|
    installer.pod_targets.each do |pod|
      if pod.name.eql?('op-sqlite')
        def pod.build_type
          Pod::BuildType.static_library
        end
      end
    end
  end

  post_install do |installer|
    # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false,
      # :ccache_enabled => true
    )

    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = 16.0
        end
      end
  end
end

and I'm also using USE_FRAMEWORKS=static for Firebase

Hi @mrousavy. How to solve this with"useFrameworks": "static"?

Unistyles has this in their pod spec, maybe worth a try:
https://github.com/jpudysz/react-native-unistyles/blob/6f1302e517d47e85ef16f38cffbf755b0dc3761c/Unistyles.podspec#L29-L33

Unistyles has this in their pod spec, maybe worth a try:
https://github.com/jpudysz/react-native-unistyles/blob/6f1302e517d47e85ef16f38cffbf755b0dc3761c/Unistyles.podspec#L29-L33

yahh Sir <3

Check version 2.0.5

works fine guys, thanks 💯


No preview given

Describe the bug
The minute I've ask for a modification, I lost the preview feature
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-guxjwe
Steps to reproduce
I just ask to switch the company name
Expected behavior
I wanted the site to update with a diffrent name
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 320541757,
  "usedJSHeapSize": 312195969,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = 911Vinny
Chat ID = 1370329a2ec9

Additional context
No response

We appreciate the feedback and are aware of this issue which is being tracked here: #1791.


data synchronization

Hello,
When i can do update when i don't have connection but when internet coming, my update is delete by the distant data on mongodb.
How flutter data can send last update on json server when internet come back ?
Help my please.

Hello, someone can help me please ?
when i add or update task in offline, how this new task can be send automatically on my json server when i am in online ?
How synchronization work exactly ?

https://flutterdata.dev/docs/offline/
For details you have the source code at your disposal.


WIP: Make a single script to run go tests with coverage

Since it was split partially between the Makefile and coverpkg.sh.
We needed to make the dependency calculation a little more complex, because as discovered in #869, a test file may import and use code that is not a dependency of the non-test version of the package itself, and go list -f {{.Deps}} does not actually get the test dependencies.
So in #869, for example, the test touches both the signer client and the signer RPC code, but coverage wasn't generated for either because the signer package it was in would not have touched it at all.   Moving the test into the signer/client package wouldn't have generated coverage reports for signer/api, and vice versa.
This way, we manually get the test imports, and get the recursive dependencies for those imports as well, and try to calculate coverage for all of them, although this results in some warnings about tests not touching a particular package.
It would be simpler if we could just do --coverpkg=all, but then we get flag conflicts when it tries to load cmd/notary-server and cmd/notary-signer at once.

Meh I may have done a bunch of unnecessary work - sec...

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

Ok, I think this fixes it.  Ready for review :)

thank you for tackling this!  LGTM

LGTM!


GraphHopperGeocodingIT#testExtent fails

These assertions fail:
https://github.com/graphhopper/graphhopper/blob/6289fe5d2da5b1942de35c48141a4ae83c7b9faa/client-hc/src/test/java/com/graphhopper/api/GraphHopperGeocodingIT.java#L36-L45
The values returned from the API are:
minLon: -74.25909, maxLon: -73.7001809, minLat: 40.477399, maxLat: 40.9161785

This is what was expected so far:

And this is what we are getting now:

I guess it is the difference between New York state and New York City.

Good catch - thanks! We should probably avoid such a error-prone query here and use a city like seattle?
extent:

0 | -122.459696
1 | 47.7341357
2 | -122.224433
3 | 47.4810022

Ok yes, but the only thing I do not understand is why is it:
assertTrue(extent.minLon < -79);
assertTrue(extent.maxLon > -72);

so it checks that the left end of the box is left of -79 and the right end is right of -72, i.e. it passes also if the box is way too large (like minLon = -150 and maxLon = +200) ? This is why it fails if NYC is resolved (NYC's box is contained in the box for NY state).
Anyway I will change to seattle and use lower+upper limit for the box size.

Ok yes, but the only thing I do not understand is why is it:

Yeah, indeed this looks wrong

Anyway I will change to seattle and use lower+upper limit for the box size.

Thanks!


New version of atomic-router conflicts

When installing atomic-router-react: 0.9.1 there is a conflict if the project has a new version of atomic-router: 0.10.0 installed.
I think this occurs because this package's peerDependencies specifies atomic-router:^0.9.0.

Logs
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/atomic-router
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/atomic-router-react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/atomic-router
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/atomic-router-react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution

package.json:
"atomic-router": "0.10.0",
"atomic-router-react": "0.9.1",

any updates ?


RR Heat diffusion does not work with infinite major radius

Should add a check to see if R0 is finite when including the R0 dependence


COD Summit^3 - Logos for COD summit T-shirts

Fluence Labs - SIlver
Nunet - Bronze

Deleting this ticket as it is duplication of: https://github.com/bacalhau-project/devrel/issues/3


Power platform

[Enter feedback here]

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

ID: 9eadb9e2-bc3a-25e6-ec3d-e85e1f404405
Version Independent ID: 5b70c7ac-bce9-36ec-09ce-c9291c1744e0
Content: Administer Power Platform - Power Platform
Content Source: power-platform/admin/admin-documentation.md
Service: power-platform
Sub-service: admin
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

Issues reported against the documentation must include some specific feedback to be actionable, preferably relating to a specific topic.


Triage finschia-sdk#177

The subject of the triage:

Finschia/finschia-sdk#177

This PR needed to be abandoned. Because cosmos is using sonarcloud instead of code coverage.
Same link with #20


Progressive_view, batch_sizes can also change with resolution_milestones

Makes progressive increase of elevation, azimuth

Just set progressive_until steps in the config file. elevation_range, azimuth_range are progressively (linearly) increased from their default eval values to the full range values over progressive_until steps. If progressive_until = 0, no progression is made.

Can set batch_size as a list for different resolutions. For e.g.,

height: [64, 512]
width: [64, 512]
batch_size: [12, 3]
resolution_milestones: [1000]

In this case,
before iter1000, training is at 64x64 with batch_size 12,
after iter1000, training is at 512x512 with batch_size 3.

Thanks Vikram!
This introduces a new convention and doesn't provide much control over the rate of expansion. Can't we instead reuse the existing convention, e.g. min_step_percent: [0, 0.4, 0.02, 2000]  # (start_iter, start_val, end_val, end_iter)?

BTW I'm not sure when radius or fov expansion would be desirable, and if so, whether we'd start from the larger value, or the smaller one. Either way, if we reuse the old convention, we'll have more flexibility in this regard as well.

I agree with Christian. It would be better if we could use something like self.C to update arbitrary values in the dataset. However in the dataset we currently are not able to access the global step, any thoughts?

And we probably need a more flexible expansion instead of the linear interpolation of the current self.C. For example, in ProlificDreamer, we increase the render resolution at certain steps.

The problem indeed was not being able to access global_step in the data, I "fixed" that by making data.collate fn record its own step.
radius/fovy start from the eval value, not the higher/lower ones. This is how it was in stable dreamfusion as well
So it's effectively like the (start_iter, start_val, end_val, end_iter) scheme. For example, the fovy range's start and end values change like so:
(0, cfg.eval_fovy, cfg.fovy_range[0], cfg.progressive_until)
(0, cfg.eval_fovy, cfg.fovy_range[1], cfg.progressive_until)

Let the dataset maintain its state can be problematic when resuming from checkpoints as the state is not saved to the checkpoint. How about setting the global step in update_step?

You have to make the dataset inherit to Updateable for this to work. See the uncond dataset for an example. One thing to notice is that you also need to disable multi-processing data loading by setting num_workers to 0, or you won't be able to modify self attributes of the dataset (the reason for this is not clear).

@voletiv I'd like to try this, this week-end... please include in your description on top an example command line for the 2nd phase of Anya, and a typical result you get (if you have that handy). Thanks!

My typical command for it is:
python launch.py --config configs/experimental/imagecondition_zero123nerf.yaml --train --gpu 0 system.prompt_processor.prompt="A DSLR 3D photo of a cute anime schoolgirl stands proudly with her arms in the air, pink hair ( unreal engine 5 trending on Artstation Ghibli 4k )"<EMAIL_ADDRESS>system.loggers.wandb.enable=true system.loggers.wandb.project="voletiv-anya-new" data.image_path=./load/images/anya_front_rgba.png system.loggers.wandb.name="anya"
When I want to switch from SD to DF, I comment/uncomment the relevant lines in the yaml file.

I've also added changing of batch_size with resolution_milestone, please check!

I'll merge this after the comments have been addressed, but we probably need a better way to control these parameters so that we can support more advanced expansion scheme. Will come up with a proposal later.

Agreed!
I didn't want to introduce 4 more parameters (elevation_range_min, elevation_range_max, azimuth_range_min, azimuth_range_max) that could be specified with [start_iter, start_val, end_val, end_iter]. I opted to introduce only one more progressive_until. Perhaps there's a better way to deal with this.

Agreed! I didn't want to introduce 4 more parameters (elevation_range_min, elevation_range_max, azimuth_range_min, azimuth_range_max) that could be specified with [start_iter, start_val, end_val, end_iter]. I opted to introduce only one more progressive_until. Perhaps there's a better way to deal with this.

Yes this is what I thought.


Crash (0.5.1)

Crash occuring when i use a bluprint.
Can provide more information if needed.
Crashlog :
10801.982 Error MainLoop.cpp:1284: Exception at tick 54220810
Error while running event factory-levels::on_robot_built_entity (ID 14)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function '__index'
factory-levels/control.lua:209: in function 'upgrade_factory'
factory-levels/control.lua:331: in function 'replace_built_entity'
factory-levels/control.lua:339: in function <factory-levels/control.lua:336>

The crash has occured with some ghost factory too

Hopefully i fixed the issue in 0.5.2

I'm getting a similar error of
Error while running event factory-levels::on_nth_tick(10)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function '__index'
factory-levels/control.lua:209: in function 'upgrade_factory'
factory-levels/control.lua:241: in function 'replace_machines'
factory-levels/control.lua:285: in function <factory-levels/control.lua:253>
I don't really want to update to 0.5.2 since when I tried that all my chemical plants and oil refineries disappeared since you had to remove them to deal with the module bug

0.6.0 should fix the problem

I had a save before the crash and I just went right past it, so I can confirm that it is fixed. Thank you so much!


More renaming env to process/servlet

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

#1563  👈 (View in Graphite)
#1560
main

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


Use Polly instead of custom execution policy

I think would be better to use Polly framework to execute HTTP calls with backoff functionality
More info about Polly could be found here https://github.com/App-vNext/Polly

Polly is awesome, but I don't really want to take the dependency

@alhardy, Probably you could use IHttpClientFactory, and let users of your library to inject whatever they want. The series of blog posts also describes how to add Polly.

agree with @stukselbax !

Yep this is a new thing, happy with that approach


Convert internal static initializer (thread safe) to global

MSVC uses TLS for internal thread safe static initializers. Use static class constructor. Fixes build break with Full.

@dotnet-bot test this please

re-pushing to trigger CI (at least to try)

@obastemur @dotnet/dnceng No interruption that I know of.

@jianchun Thanks for the review!


adding ability to continue bootstraping when a spec fails

When specs fail, print out the error to the log.
Only include correctly created specs in the completed list.

I am wondering if the BootstrapResponse should have ImageCount and SpecCount. That way we can say created X specs of Y images to the clients? We could also name -> bool object for each image if it was created?

@shawn-hurley I would be ok with the BootstrapResponse changes you propose. Having imported count would be useful.
Go from this:
type BootstrapResponse struct {
    SpecCount int
}

to:
type BootstrapResponse struct {
    ImportedCount int
    SpecCount int
}

Something like that, might need a better name.

@shawn-hurley the tests failed. make test will run all the tests. To debug and work on a single test, in this case I believe it is handler_test.go. Do the following workflow, it makes things easier IMO:
cd pkg/handler
go test -v

Runs just the tests in handler_test.go making it easier to figure out what went wrong. I suspect the BootstrapResponse we create in the test no longer matches the change you made in this PR.

TEST
Bootstrap returns the image count and the spec count now. :+1:
$ curl -X POST http://localhost:1338/v2/bootstrap
{
  "spec_count": 7,
  "image_count": 9
}

And I see in the log the bad spec.

ACK, fix the tests, and I'll merge.

ACK


Vendored package needs updating

Requesting the update of the package golang.org/x/sys/unix which has been vendored. The update has the BLK* constants needed for some of the block device work happening in local volume.

Sounds good to me! can run glide up -v and glide-vc --use-lock-file to pick up updates

closing; I'm going to be updating docs on the way we are doing vendoring, has come up a lot recently, and could maybe explore a better/easier way.