feat: verify ciphertext

verify ciphertext computed inside circuit matches the private input
increases max number of headers for http_nivc

Test these artifacts in web prover first

native/wasm tested with new artifacts


move interactive option to global

Signed-off-by: yxxhero<EMAIL_ADDRESS>move interactive option to global
fix: https://github.com/helmfile/helmfile/issues/366

@mumoshu


Cleanup unwanted large files

I see that you careless added some large files to commits 350927067a0e4e0b6a26a3424869d8ddb9ac9d02 - 71d1e667958308373972998cbc684d7e518ed94a (v4.13-9522-beta), I feel now is a good time to clean up them and rewrite the subsequent commits, otherwise it will lead to a permanent expansion for the git repository.

Thank you for your advice. However, I do not understand how to perform the "clean up them and rewrite the subsequent commits" task. Could you please kindly tell me the exact command what I should do on the git command?

https://help.github.com/articles/working-with-large-files/#removing-the-file-added-in-an-older-commit have a way; you might also consider other methods, use Google search it. Caution operating.

Thank you! But I do not know how to use the Google search!

Do you use TortoiseGit? It is a simple operation.
Show the Revision Log Dialog in the repo, select the three commits for v4.13-9522-beta, click the 'Combine to one commit' in the context menu. Reduce the duplicate message, commit it. Then, push it with 'Force (May discard known changes)' option.
sorry for I cannot give a straightforward method of operation for use git.exe or else.

git filter-branch --tree-filter 'git rm -rf --ignore-unmatch binary/' --prune-empty HEAD
git push -f

これで 350927067a0e4e0b6a26a3424869d8ddb9ac9d02 - 71d1e667958308373972998cbc684d7e518ed94a が削除されます
でもこれ以降のコミット全てが更新されるのである人がgit cloneした後にdnoboriさんが上記改変するとある人がコミットできなくなります

余談ですが.gitignore使うとこういうミスがなくなります

ありがとうございました。上記コマンドで不要ファイル削除しました。

Good job.


Feedback on Tutorial: Build an app from an SAP Web IDE template

Hi
I am trying to register to sap .I registered with my facebook account but when I try to link a new sap cloud account then i am getting an error message.

Please follow the procedure in the tutorial below to create a new HCP Trial account. You will need to register with a valid email account (work or personal), then the registration process will work properly.
http://go.sap.com/developer/tutorials/hcp-create-trial-account.html


Update README.md

fix: if the UID of current user is not 1000 would occur permission error

I think this would be better as a note with an additional example rather than changing the existing example.

@ziqiangxu aee you still interested in this pull request?

Is  here anything need to do?

Closing as comment not addressed after nearly 2 years


upgrading EKS cluster hosting Kafka

Use case
I am trying to update the EKS cluster hosting Kafka. The script upgraded nodes one by one. Is there any provision where the script can wait some specified time until the next node upgrade or waits till the Kafka partition syncs up?
Solution/User Experience
None
Alternative solutions
No response

To clarify, are you asking for a wait state between node upgrade based on user input ?

I don't know if this should be handled here - I think this is better handled through the normal Kubernetes highly available constructs such as startup probes, readiness probes, PDBs, etc.
How are you deploying Kafka - are you using the Strimzi operator?

I don't know if this should be handled here - I think this is better handled through the normal Kubernetes highly available constructs such as startup probes, readiness probes, PDBs, etc.
How are you deploying Kafka - are you using the Strimzi operator?

I am using confluent kafka as operator

Yes. before upgrading the next node script should wait until Kafka pods sync the partitions. otherwise, there will be a loss of data. I believe this will be a good feature addition.

and how would one check if a kafka pod has finished syncing? isn't this what statefulsets in combination with pod disruption budgets are intended to handle?


Upgrade to latest Gradle release version

Currently, Gradle is at version 4.10 while this repository uses 4.2.1.
It would be nice if the Gradle version of the wrapper and its corresponding build file would be upgraded to use the latest release version.

I second this. The gradle wrapper fails with jdk11 due to 4.2.1 not being able to resolve the version number 11.0.1

Thanks! Updated


Handle very long fields on vulnerabilities pages

Currently https://osv.dev/vulnerability/USN-6766-2 looks like this:

We should collapse these by default when there's too many, and let the user click through to expand instead.

@ZhangChen199102 @zahraaalizadeh is this something one of you can help with?


Hi @milkotodorov.
This issue has been resolved by @mhewedy and will be part of release 1.30.
Thank you for reporting this issue. Much appreciated.
Best regards,
Karl Dahlgren


Sync Analyses Results

Asana task: https://app.asana.com/0/37131652076106/46402852734858

Goal: Add visuals for consortium’s analyses results.
Test:

Load up a single consortium view. You should see some results:

Try changing the results in either CouchDB’s Futon admin or via the Electron console. Observe the changes are persisted to the UI.

feature request, add ui push notification on change?

feature request, add ui push notification on change?

Added in 5cfc24f0a9a1b7869850c14fe856952539191d0e.


WI/MI CLI Phase 1 - Base API functionality

Which issue this PR addresses:
Fixes ARO-6453
Fixes ARO-4398
What this PR does / why we need it:
Implements functionality into the az aro extension to allow creating ARO clusters with a set of managed identities, instead of a service principal.
As a consequence, this PR also includes changes to update the version of the az aro extension, as well as changes to upgrade the used ARO SDK/API to v20240812preview.
Test plan for issue:

[X] Unit tests have been added for validation logic implemented across the three flags: --enable-managed-identity, --assign-platform-workload-identity, --mi-user-assigned
[x] az aro create with the MIWI flags results in an API call being made to the RP with the neccessary fields populated

Example invocation:
az aro create \
  --subscription ${SUBSCRIPTION_ID} \
  --resource-group ${CLUSTER_RESOURCE_GROUP} \
  --name azcli-testcluster \
  --version 4.14.16
  --vnet aro-vnet --master-subnet master-subnet --worker-subnet worker-subnet \
  --enable-managed-identity \
  --assign-platform-workload-identity foo asdf \
  --assign-platform-workload-identity bar ghjkl \
  --mi-user-assigned baz

Produces request body:

Open
{
    "id": "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${CLUSTER_RESOURCE_GROUP}/providers/Microsoft.RedHatOpenShift/openShiftClusters/azcli-testcluster",
    "location": "eastus",
    "identity": {
        "type": "UserAssigned",
        "userAssignedIdentities": {
            "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${CLUSTER_RESOURCE_GROUP}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/baz": {}
        }
    },
    "properties": {
        "clusterProfile": {
            "pullSecret": "",
            "domain": "fv0w9cvw",
            "version": "4.14.16",
            "resourceGroupId": "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/aro-fv0w9cvw",
            "fipsValidatedModules": "Disabled"
        },
        "platformWorkloadIdentityProfile": {
            "platformWorkloadIdentities": [
                {
                    "operatorName": "foo",
                    "resourceId": "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${CLUSTER_RESOURCE_GROUP}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/asdf"
                },
                {
                    "operatorName": "bar",
                    "resourceId": "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${CLUSTER_RESOURCE_GROUP}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ghjkl"
                }
            ]
        },
        "networkProfile": {
            "podCidr": "<IP_ADDRESS>/14",
            "serviceCidr": "<IP_ADDRESS>/16",
            "outboundType": "",
            "preconfiguredNSG": "Disabled"
        },
        "masterProfile": {
            "vmSize": "Standard_D8s_v3",
            "subnetId": "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${CLUSTER_RESOURCE_GROUP}/providers/Microsoft.Network/virtualNetworks/aro-vnet/subnets/master-subnet",
            "encryptionAtHost": "Disabled"
        },
        "workerProfiles": [
            {
                "name": "worker",
                "vmSize": "Standard_D2s_v3",
                "diskSizeGB": 128,
                "subnetId": "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${CLUSTER_RESOURCE_GROUP}/providers/Microsoft.Network/virtualNetworks/aro-vnet/subnets/worker-subnet",
                "count": 3,
                "encryptionAtHost": "Disabled"
            }
        ],
        "apiserverProfile": {
            "visibility": "Public"
        },
        "ingressProfiles": [
            {
                "name": "default",
                "visibility": "Public"
            }
        ]
    }
}

Is there any documentation that needs to be updated for this PR?
Not yet
How do you know this will function as expected in production?
Preview extension-only change. We will perform comprehensive testing before releasing this extension to users.
Additional notes
This PR is opened against ARO-RP's master branch. We may desire to isolate MIWI CLI changes to a dedicated branch, in order to afford us the ability to perform changes to our extension code pointing against the "stable" (v20231122) API, or to another future in-development API, but as we do not currently have any plans for parallel API efforts, I've chosen to merge these changes into our trunk branch.

/azp run ci,e2e

/azp run ci,e2e

/azp run ci,e2e

/azp run ci

/azp run ci

/azp run ci,e2e

/azp run e2e

/azp run ci

/azp run ci,e2e

/azp run ci,e2e

Merging this PR now to unblock #3709


feat: make mito2 have ObjectStoreManager(initial)

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
This PR replaces ObjectStore with ObjectStoreManager in mito2.
Note that right now mito2 calls only ObjectStoreManager::default_object_store because custom_storage is not supported yet.
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)
Part of #919

@evenyag PTAL.

@evenyag PTAL

@evenyag PTAL

It seems like test_to_timezone_aware_string fails:
common-time time::tests::test_to_timezone_aware_string
error: test run failed
error: process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-2023-08-07-x86_64-unknown-linux-gnu/bin/cargo nextest run --manifest-path /home/runner/work/greptimedb/greptimedb/Cargo.toml --target-dir /home/runner/work/greptimedb/greptimedb/target/llvm-cov-target --workspace -F pyo3_backend -F dashboard` (exit status: 100)

It seems like test_to_timezone_aware_string fails:
common-time time::tests::test_to_timezone_aware_string
error: test run failed
error: process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-2023-08-07-x86_64-unknown-linux-gnu/bin/cargo nextest run --manifest-path /home/runner/work/greptimedb/greptimedb/Cargo.toml --target-dir /home/runner/work/greptimedb/greptimedb/target/llvm-cov-target --workspace -F pyo3_backend -F dashboard` (exit status: 100)

I'm afraid that it is caused by sommerzeit

The test is fixed in https://github.com/GreptimeTeam/greptimedb/pull/2666

@evenyag
Thank you for fixing this issue! Can we merge this PR?

@evenyag
Thank you for fixing this issue! Can we merge this PR?

You might need to merge the develop branch first.


Adding Application Menu

adding quite simple application menu

Nice. I'll release a new version of Playback next week that includes this as well.


Update integration docs

What kind of changes does this PR include?

New or updated content

Description

Closes #3257
What does this PR change?

Updates the integration docs to include the pages param. Seems this was removed previously as pages was due to be deprecated, but never was. routes also currently has some limitations, so pages is still useful for the time being.
This also removes a note about routes metadata being empty in SSR because that doesn't appear to be true (example).

Removed the types section. Check links failed it and it's honestly not necessary. The type doesn't actually exist, let alone is anything exported to the user, and with one property it feels like a separate section just adds more scroll height more than anything.

Alright, then let's do this thing!  :partying_face:


Is leftover KNC from whitelist available for public crowd?

Although it might not possible, there might be left over KNC from whiltelist due to whatever reason.
It the leftover open for public?
Do not saw any code which allows that.

Left overs after 48 hours sale are burned

I mean leftover after the openSaleStartTime. Is there a public 'openSale' ?
The code below will disallow public sales since all contributor coming in after openSaleStartTime also need to be checked with `contributorCap' .
in ContributorApprover.sol
`
function eligible( address contributor, uint amountInWei ) constant returns(uint) {
if( now < cappedSaleStartTime ) return 0;
if( now >= openSaleEndTime ) return 0;
    uint cap = contributorCap( contributor );

    if( cap == 0 ) return 0;
    if( now < openSaleStartTime ) {
        uint remainedCap = cap.sub( participated[ contributor ] );

        if( remainedCap > amountInWei ) return amountInWei;
        else return remainedCap;
    }
    else {
        return amountInWei;
    }

}
`

Even in open sale, only whitelisted users can participate. If your cap is 0, you are not whitelisted, and you cannot join.

so who can join participate in opensale?
whitelisted who is yet contributed?
if that the case, there is no need opensale

if i am whitelisted, I could just wait after openSaleStartTime and try to buy any amount is remained.
not fair to other whitelisted

Any whitelist user. In capped sale your are limited by a cap. In open sale only hard cap is the limit.

Any user can participate in both periods

If I participated in cappedsales and no more cap, i cant join open sales.
But if I skip cappedsales, I can contribute any cap remain in open sales

Shouldn't the code should be like this?
`
if( now < openSaleStartTime ) {
uint cap = contributorCap( contributor );
    if( cap == 0 ) return 0;
    uint remainedCap = cap.sub( participated[ contributor ] );

    if( remainedCap > amountInWei ) return amountInWei;
    else return remainedCap;
}
else if (token.amount_remain > amountInWei){
    return amountInWei;
}

`

I think there is a misunderstanding.
Use can (and should) participate both in capped and open sale. In the capped sale duration, he can buy only according to his cap. After that he can buy with any amount (as long as there are enough tokens for sale).

Yes, I understand user should able to participate both in capped and open sale even they contributed max cap during the capped sale.
But the code
        uint cap = contributorCap( contributor );         if( cap == 0 ) return 0;
will always return 0 for user who contributed max cap during the capped session.
But it was not the case for user who did not contributed max cap during the capped session.

@loiluu

contributorCap( contributor ) is only the cap. The return value is not changing after making a contribution.
What is changing after contribution is participated value.

so, after the openSaleStartTime, the amount eligible do not need to check with remaining token?

@ieow SafeMath will not allow you do that,see the source code.Then only thing will happen is sold out, never over sold.
  function sub(uint256 a, uint256 b) internal constant returns (uint256) {
    assert(b <= a);
    return a - b;
  }

cap.sub is only called during the capped session but not the open sale session
        if( now < openSaleStartTime ) {
            uint remainedCap = cap.sub( participated[ contributor ] );
            if( remainedCap > amountInWei ) return amountInWei;
            else return remainedCap;
        }
        else {
            return amountInWei;
       }

That mean any whitelist can buy in any amount after openSaleStartTime

From eligible function point of view, yes.
But if there are not enough tokens left, transfer function will throw and everything is reverted. So it is not possible to buy more tokens than there are in supply.
You might notice some asymmetry here. In capped sale, if you buy more than your cap, we execute the sale and give you a change back. While in open sell we just throw if there are not enough tokens. Reason is the buy function allows anyone to buy on behalf of a white-listed address, hence we must handle the case where cap is exceeded by some epsilon, in order to ensure fairness.
While in the general uncapped case, it is only an edge case that might prevent you from buying some remaining epsilon (buy your personal cap is still guaranteed).
This is common in many token sale contracts. Reason is that from UX point of view, users might be confused to see that their tx didn't throw and still they only got partial return.

Understood. No more comment on this.

thanks for the feedback

Thanks for explaining. I am still learning. :)
On Sep 9, 2017 5:55 PM, "yaronvel"<EMAIL_ADDRESS>wrote:

thanks for the feedback
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KyberNetwork/TokenDistributionContracts/issues/4#issuecomment-328267178,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEp6oV13iIqyjh4EJS42csDQgVz-Geq1ks5sgmCPgaJpZM4PR6J2
.


[AutoPR operationalinsights/resource-manager] Remove deprecated search APIs and definitions

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7154

(message created by the CI based on PR content)


New WinClientInstaller-Updater.ps1

Hi! This is my first time doing this, I fixed the previous script "WindowsAgentAIOInstall.ps1" which would not implement configurations when run because it would not wait for the dlls to download first.

sorry, what did you change?


feat: Improved performance in Progress Report

When profiling performance in Rhino, we noticed the updating report objects in the progress report was unnecessarily costly.
So we have switched from a list to using a dictionary.
Now the performance impact of the progress report is trivial

Closing as this changes seem to have been already merged here 👉🏼 https://github.com/specklesystems/speckle-sharp/pull/2179


1.12.2 Sponge server & apples overspawning

Honestly I don't even know where to begin with this issue report and I am dreadfully sorry in advance lol.
With TreeChop chopping on, cutting down a dark oak tree spawns several stacks worth of apples. Not all at once, but per each block "break." One tree nearly filled three double chests alone. Disabling chopping breaks the logs normally without any apple issues.
I have quite a few mods installed (I'll list these at the end of this report), have tested this on both single player and on a dedicated server, and only on dark oak vs oak trees. This only happens on the server and only with the dark oak trees. Turning off breakLeaves in TreeChop's config does not fix this. I am currently unsure if this is specifically spongeforge related or if it also occurs on a forge server.
Here are the debug and latest logs, however I'm fairly certain they don't contain anything useful.
debug.log
latest.log
Finally, the main mod list;

treechop 0.11.4
forge <IP_ADDRESS>54
spongeforge 2838-7.3.0
biomes o' plenty <IP_ADDRESS>4

the plugins;

catclearlag <IP_ADDRESS> (tested without!)
luckperms 5.3.16
magibridge 2.11.1
nucleus 2.3.2

full_modlist.txt
I do apologize that I don't have any more information on this, just hadn't run into the issue until cutting down dark oak trees for the first time today... lmao. Let me know if there's anything else I can do to help!

What a wonderful bug! Sounds like TreeChop is triggering break events somehow during tree detection. Could I get your config files for treechop? There might be more than one (a “common” and a “client”) but I don’t remember whether that’s the case for 1.12.2. They should help me narrow down the problem. Thanks!

Ahaha wonderful indeed. So I have one config for treechop from the server's files, as far as I can tell; treechop.txt. I don't believe much was edited from default if anything, hopefully it helps!

I haven't tried very hard at recreating this bug, but I have a feeling it should be fixed in the new version (0.14.1). A lot of the code has been rewritten. There were some questionable things in the old version that probably caused wonky issues like this. Sorry for the wait!

Totally understood, no worries!! I'll try to test out the new version asap and let you know for sure.

As much as I love this issue, I'm gonna assume it's fixed and close. Feel free to reopen if needed


I successfully integrated click to move funtionality but it doesn't work with premoves.

   const onSquareClick = useCallback(     (square) => {       if (selectedSquare === null) {         const piece = game.get(square);         if (piece && piece.color === game.turn()) {           setSelectedSquare(square);           setPotentialSourceSquare(square);         }       } else {         const moves = getPossibleMoves(selectedSquare);         const move = { ...moves.find((m) => m.to === square) };         if (move) {           if (move.promotion) {             setSelectedSquare(square);             setPromotionDialogue(true);             setPromotionToSquare(move.to);           } else {             const newGame = new Chess(game.fen());             const result = newGame.move(move);             if (result) {               onDrop(move.from, move.to);             }           }         }         setSelectedSquare(null);       }     },     [game, selectedSquare, getPossibleMoves]   );
this the function im using. help me please

Please format the code block to be readable using ``` around your code instead of `

Click to move with premoves is not currently supported within the component, but you should be able to implement your own logic outside of the component by storing your own premove queue, updating square colors and running updates when getPositionObject is called on position change

Thanks, I'll do just that!


Microsoft Learn - Missing transcript from Microsoft Virtual Academy

In MVA I have completed number of courses, now I lost my local copy of transcript and I can not download it anywhere.

@matjazmav Ask at https://aka.ms/CertificationSupport


[Release] v0.5.0

Description
Dit gebruikt het nieuwe redesign
Closes #
Type of change
Please select the option that is relevant

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

Checklist

[x] I have commented my code, particularly in hard-to-understand areas.
[x] All the required documentation is added.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.

Additional information
[Provided extra information if necessary]

Lekker force pushen met die conflicten


Added Voice Assistant Project

I have added a commit that resolves issue #55.
Please go through it and let me know if any changes are required!

Works!


Partitionkey for SecureStore Table seems to be wrong

The partition key for SecureStore is currently "/tenantId". Shouldn't this be "/azureTenantId". The SecureStore data type does not have a property "tenantID".
In my tests this led to an exception:
Exception while executing function: ProcessSecurity Message: {"Errors":["Encountered exception while executing function. Exception = Error: {"Errors":["Requests originating from scripts cannot reference partition keys other than the one for which client request was submitted."]}\r\nStack trace: Error: {"Errors":["Requests originating from scripts cannot reference partition keys other than the one for which client request was submitted."]}\n   at callback (script.js:35:18)\n   at Anonymous function (script.js:758:29)"]}

@g-martinse thank you for opening this issue. I am in the process of retiring this project because it is being replaced by Security and Management Insights Connector. With this in mind, I would like to encourage you to review that project and open any feature request if there are additional items you are interested in seeing.


Code refactoring

These slight code adjustments aim to enhance Pythonic quality by incorporating python dictionary update

Thank you very much!


finetuned model returns garbage

Thansk for this work, it's really helping getting started!
I have few hundred hours of 5-15 secs utterances transcribed that I'd like to finetune whisper on.  I was able to generate the json files properly and run finetuning with the default params on the medium.en model.
Running transcribe.py on the saved checkpoints, I see that the model is producing  pure garbage (I barely have meaningful sentences...) My audios are in wav, pcm, 16kHz.
Is the default learning rate problematic?  Anything special to take into account?

Hi, thank you for giving this repository a try. I apologize that it did not work well for you.
It is possible that this was due to inadequate hyper-parameters. Training neural networks is highly dependent on hyper-parameters, and finding the right hyper-parameters is also influenced by the specific dataset used. However, I was able to successfully fine-tune Whisper-medium on the CSJ (Japanese) dataset, resulting in a significant reduction in the Character Error Rate from 14.7% to 4.8%. Perhaps, you could try tuning the hyper-parameters to see if it improves the performance.
Thank you again for giving this repository a shot.

After reading all the info about how the models were trained, i suspect the problem here could be related to training "utterances" (if that means unfinished sentences). It seems to be like you get what you train, e.g. if you train single words then you get single words output but you would never get any punctuation in this case... Does that make sense?


Big GIF image in the archive

When downloading the ZIP archive of the project, it is very big (75 Mo) because of one file : particle.gif (45 Mo), do you need it ?

starwars.gif and sea.gif too...

Thanks for the hint ... Will think about removing it


Automated Movement

Hey love this package. Not sure if it's even possible but was wondering if there were plans to implement auto-generated movements? I guess emulating mouse movement to give the impression.

The only way to do this currently would be to use the splat at location method multiple times in the trail you want. I do not have time right now to implement a method for it, but maybe for the future

Also any PR is welcome :)

Hi! Love the library, if no one's working on this in a week or so, I'd love to take a crack at it!

That would be very nice if you have the time!

@KartikChinda Go for it. Don't have time atm.

That would be very nice if you have the time!

Perfect, I'd give it a look over next weekend! I also opened a new issue, please take a look at that whenever you're free.


Setup static analysis CI

Setting up a workflow to check the alll the type hints in the code make sense.

Okay this is alll setup and good to go. Bascially this tool will tell us when we are doing something potentiallly illegal such as using a variable that could be None.
Theres a decent backlog of errors/warnings that someone will need to power through to get this passing on master but that can be done separately.

For example, the following errors can be resolved by ensuring that we check that self.label_error is not None before using it.
chatalysis/program/gui.py:132: error: List item 0 has incompatible type "None"; expected "Label"
chatalysis/program/gui.py:134: error: Incompatible types in assignment (expression has type "Label", variable has type "None")
chatalysis/program/gui.py:135: error: "None" has no attribute "grid

Theres a decent backlog of errors/warnings that someone will need to power through to get this passing on master but that can be done separately.

Okay, I patched or bodged all of these warnings for now. Might do a pass over the types later and make things a bit more robust.

Nice, thanks. I just changed the type hints from the typing module to builtins that are used in the rest of the program.


257 delete empty folders

Description
Python script that deletes all empty sub folders in a given directory
Fixed #257
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added screenshots(if any) that prove my fix is effective or that my feature works

PS: I have also fixed a link to to my folder 'image-encode-decode' in the python readme file


id_token must be passed in or set as part of setAccessToken

Hi there,
We have an existing implementation of OAuth for our Android and iOS apps and we're trying to get it working with web. I don't agree that the implementation was done properly, but we're looking to integrate web without making significant changes to BE.
The flow for the native apps is that they're configured for offlineAccess and they send the authorization code and user information to the BE.
In our GoogleServiceProvider:
$this->app->bind(Google_Client::class, function () {
    $client = new Google_Client();
    return $client;
});

Then, the apps/web make a request that hits GoogleSignUp.php, where first we get the Google Client
public function getClientSDK()
{
   if (is_null($this->clientSDK)) {
    $this->clientSDK = GoogleServiceProvider::makeGoogleClient();
    $this->clientSDK->setAuthConfig(\Config::get('third_party.google.web_auth_config'));
    $this->clientSDK->setScopes([\Google_Service_Plus::PLUS_ME, \Google_Service_Plus::USERINFO_EMAIL, \Google_Service_Plus::USERINFO_PROFILE]);
    }
    return $this->clientSDK;
}

Then we try to authenticate, where we run into a problem:
public function authenticate()
{
    try {
        $this->getClientSDK()->fetchAccessTokenWithAuthCode($this->accessToken); //sets access token on clientSDK
        $data = $this->getClientSDK()->verifyIdToken();
        if ($data) {
            if ($this->userId == $data['sub'] && $data['email'] == Input::get('email')) {
               return true;
            } else {
               $message = "Access token doesn't belong to given uid or email";
               $exception = '';
           }
        } else {
              $message = "Couldn't verify the access token";
              $exception = '';
        }
   } catch (\Exception $e) {
       $message = $e->getMessage();
       $exception = (string)$e;
   }
   \Log::warning(
       "User Authentication Failed while logging user in with google",
        array(
            'message' => $message,
            'uid' => $this->userId,
            'email' => Input::get('email'),
            'exception' => (string)$exception
        )
    );
    throw new \Exception("User Authentication Failed - $message");
}

The web call is sending data including user profile information and the authorization code (poorly named as the accessToken, despite there being something already called an accessToken). An error is returned though: id_token must be passed in or set as part of setAccessToken. It seems to always just throw the exception on that last line.
If I'm passing in the authorization code, why would it not be trading the code for an access_token and id_token? Any guidance would be appreciated, thanks

@serkolch The following issue "id_token must be passed in or set as part of setAccessToken" fixed when I provided "email" scope.
i.e., $client->addScope("email");
reference: https://github.com/google/google-api-php-client/blob/master/examples/idtoken.php
Hope this helps.

It looks like a member of our great community answered your questions. Thanks Community! Please add a comment if you have any more questions and we can reopen this issue.


Installation document should be similar to the README doc

[kind/Documentation]

What did you find missing in the documentation?
https://github.com/openshift/odo/blob/master/docs/installation.adoc and https://github.com/openshift/odo/blob/master/README.adoc should be similar / almost indistinguishable. The only difference between the two should be that the installation doc contains all the "alternative" ways of installation such as by OS (CentOS / Ubuntu, etc.).
What is the relevance of it?
Both docs should be similar, right now, they're too different.

@cdrage @Preeticp can you guys please provide your feedback on https://github.com/openshift/odo/pull/1735 ?


LG editing: card suggestion should suggest fields and possible values

when editing structure LG, the editor should be able to do auto-suggestions for fields of current struct and possible values.

addressed in #2681


Update link on Reference Manual v3 wiki page

Describe the bug
The Base64DecodeExt item in the Reference Manual wiki page provide a link that isn't currently online now. I found a version on Internet Wayback machine, and so I want to update this information. But I don't know how to proppose such change, because the Github pages don't support PRs.
To Reproduce
Following the actual link "blog post on Base64Decoding evasion issues on PHP sites" point to http://blog.spiderlabs.com/2010/04/impedance-mismatch-and-base64.html url, that isn't online.
Expected behavior
The link can point to https://web.archive.org/web/20110713164920/http://blog.spiderlabs.com/2010/04/impedance-mismatch-and-base64.html for example.

Hi @MefhigosetH,
thanks for reporting this.
Unfortunately the referred link belongs to an external website that we have no any influence. The other problem is (based on the URI) that page was generated in 2010, so may be it's removed because the owner thought it's too old.
I don't know how correct/polite to put a web.archive.org link into a Wiki page. Any thoughts?

Dear @airween , thanks for your feedback and sorry for the delay.
I'll check with the las version of ModSecurity if the risk indicated on the website is still valid currently. Give me two days.
If the risk exists, I think the important thing here is document on a paragraph the existence of this risk and maybe (or not), bring the user a link with recommendations about secure use of these functions.

Hi @MefhigosetH, could we close this issue? Or is there anything we can do?


Allow the use of namespaces in concept definitions

resolve #108
guest/rust/api/api_macros/src/ambient_project/ChangeLog:
* concept.rs: add tree structure for concept to allow the use of namespace
* manifest.rs: add concept to NamespaceOrOther enum
   change concepts field in Manifest to: BTreeMap<IdentifierPathBuf, NamespaceOrOther>
* component.rs: update and fix compiler error.
* test.rs: add test for the use of namespace in concept definition.
* mod.rs: change the body of implementation function for concept.

guest/rust/examples/basics/third_person_camera/src/ChangeLog:
* lib.rs: fmt

Tried to create generic tree structure that is capable of constructing and tokenizing both concept tree and component tree. However, that needs to change more codes and add few more abstractions, which I think is overcomplicated. So instead I create a tree structure specifically for Concept, and it is straightforward. but the drawback is we have some repetitive codes.

Wow, nice work! I'll have a play around with this but this looks like it should solve the problem handily.

So the three changes I made are:

Testing on the host for namespaced concepts (I forgot to mention this, all good)
Supporting namespaced extends in the guest code (e.g. extends: Vec<IdentifierPathBuf> instead of Vec<Identifier>)
Unifying the two tree types: this wasn't actually too bad, you already did most of the work 😄

Thanks for the great contribution, will merge when tests pass!


Issue #21 - Update Restart UI

Update Restart UI

Update all buttons (replace with images)

Update all modal designs

Add Game over and Victory labels

Move link inside  in HTML

Add state variable to check games state

Add SPACE key down to restart game if state allows it

Remove close button from modals (My opinion is that you should prompt user to play again than just close the modal window)

@iamstratos Really great! Everything is a good addition. The modals look much better, awesome work.
Before i merge your PR, could you add the image details to the copyrights file?

I've only used parts of materials I found online and then edit them to match Platform-Game, so we don't have to add copyrights. Is that ok?

@iamstratos Yeah thats fine.


Support blank library directives

We've effectively retired all uses of the library name.
part of syntax supports URIs – and we should recommend that.
dartdoc should be using URIs, too - https://github.com/dart-lang/dartdoc/issues/1658
The only usage left is as a place to hang doc comments.
/// This library is nice
library nice;

We should be able to just drop the library name entirely.
/// This library is nice
library;

pkg/test has a hack now to find the first annotation in a file to support his for TestOn

Duplicate of #30394
(And yes, we should just do it ASAP).


Using assimp to load objects

Hi,
Thanks for this amazing project, which is working really great.
However, there are a lot of file types not supported and even for file types supported, some are not loading as expected. I think that you could benefit from using a library like assimp to load your objects.
It simplifies the code and allows a better loading.
I did it with a simple car :
With your loading

With assimp loading

Some artefacts remain on the car dur to the fact that the obj file defines several parts and your object is a single array
It comes from the fact that some .obj files can have 4 vertices coordinates and you are only reading 3 for example, and the result is that you are missing one triangle over two.
It is also possible to load files like .glb, this one is working great for example avocado. However some are not working (buggy) because of asserts in the addTriangle method.
Hope this helps !
Thanks again for this amazing project.

Feel free to ask if there are any questions how to get this fixed and merged.
I agree that moving to assimp is a good idea.

I did not have much time lately, I plan to fix everything this week !

I still need to fix the docker build with ninja not finding assimp at step 7.
I think that I resolved some of your comments and left comments to others :smile:


Fix two bugs in simple switch 13 examples

dpid with leading 0s would be truncated to less than 16 characters. This causes 404 errors on all URLs because the code would save the 15 character ID for the switch, but if you try to enter the 15 character ID, the dpid_lib DPID_PATTERN regex prevents you from sending the shortened string.
Response object incorrectly used body type when it should use text. See: https://github.com/Pylons/webob/issues/298

Coverage remained the same at ?% when pulling be289978c7883a8343faee723f6324f52943d23f on grantcurell:master into e3ebed794332ca23a0f67580fd3230612d9d7b07 on osrg:master.

Coverage remained the same at ?% when pulling be289978c7883a8343faee723f6324f52943d23f on grantcurell:master into e3ebed794332ca23a0f67580fd3230612d9d7b07 on osrg:master.

pushed, thanks!


Change colors to blue and orange palette for pie chart.

Coverage remained the same at 71.43% when pulling fbcdbb9f54cdc26951092d6d707d112dc7ed2aa0 on pie-chart-colors into 948edd2970fd9e15c7e223403d203633f4b5a0f5 on master.


vkCreateShaderModule failure to create shader on Ubuntu 19.04

Hardware: AMD 2700x CPU with AMD RX 580 GPU, 32GiB RAM
OS: Ubuntu 19.04, GCC 8.3, Vulkan 1.1.97, Mesa 19.0.2, Linux 5.0.0
Looks like the shader got compiled, but fails to load.  In the logs below, you can see the shader exists, and strace shows it's loaded and has the right size.  But vkCreateShaderModule seems to think the size is zero.
I'll be happy to do further digging and testing.  This was the first issue I ran into trying out your examples.
Kind regards,
Roger
% cmake -G Ninja .
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Found xcb: /usr/include
-- Checking for module 'glfw3>=3.2'
--   Found glfw3, version 3.2.1
-- Found Vulkan: /usr/lib/x86_64-linux-gnu/libvulkan.so
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rleigh/scratch/vulkan-tutorial

% ninja
[…]

% ./bin/triangle
ERROR: [Validation] Code 0 :  [ VUID-VkSubpassDependency-srcAccessMask-00868 ] Object: VK_NULL_HANDLE (Type = 0) | vkCreateRenderPass(): pDependencies[0].srcAccessMask (0x100) is not supported by srcStageMask (0x2000). The Vulkan spec states: Any access flag included in srcAccessMask must be supported by one of the pipeline stages in srcStageMask, as specified in the table of supported access types (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkSubpassDependency-srcAccessMask-00868)
ERROR: [Validation] Code 0 :  [ VUID_Undefined ] Object: VK_NULL_HANDLE (Type = 0) | vkCreateShaderModule: parameter pCreateInfo->codeSize must be greater than 0.
ERROR: [Validation] Code 0 :  [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object: VK_NULL_HANDLE (Type = 0) | SPIR-V module not valid: Invalid SPIR-V magic number.
zsh: segmentation fault (core dumped)  ./bin/triangle

strace shows:

% strace ./bin/triangle
[…]
openat(AT_FDCWD, "base/../data/shaders/triangle/triangle.vert.spv", O_RDONLY) = 14
lseek(14, 0, SEEK_END)                  = 1444
lseek(14, 0, SEEK_CUR)                  = 1444
lseek(14, 0, SEEK_SET)                  = 0
read(14, "\3\2#\7\0\0\1\0\7\0\10\0,\0\0\0\0\0\0\0\21\0\2\0\1\0\0\0\v\0\6\0"..., 8191) = 1444
read(14, "", 8191)                      = 0
close(14)                               = 0
write(1, "ERROR: [Validation] Code 0 :  [ "..., 163ERROR: [Validation] Code 0 :  [ VUID_Undefined ] Object: VK_NULL_HANDLE (Type = 0) | vkCreateShaderModule: parameter pCreateInfo->codeSize must be greater than 0.
) = 163
write(1, "ERROR: [Validation] Code 0 :  [ "..., 175ERROR: [Validation] Code 0 :  [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object: VK_NULL_HANDLE (Type = 0) | SPIR-V module not valid: Invalid SPIR-V magic number.
) = 175
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
zsh: segmentation fault (core dumped)  strace ./bin/triangle

% ls -l base/../data/shaders/triangle/triangle.vert.spv
-rw-rw-r-- 1 rleigh rleigh 1444 Jul 19 21:21 base/../data/shaders/triangle/triangle.vert.spv

% file base/../data/shaders/triangle/triangle.vert.spv
base/../data/shaders/triangle/triangle.vert.spv: Khronos SPIR-V binary, little-endian, version 0x00010000, generator 0x00080007

should be fixed by https://github.com/jherico/Vulkan/commit/4e460e3889f4909fdd749887e4107c8d99f9830d
Please re-open if not

Thanks for the quick fix!  It fixes this issue, but now fails with:
% ./bin/triangle
ERROR: [Validation] Code 0 :  [ VUID-VkSubpassDependency-srcAccessMask-00868 ] Object: VK_NULL_HANDLE (Type = 0) | vkCreateRenderPass(): pDependencies[0].srcAccessMask (0x100) is not supported by srcStageMask (0x2000). The Vulkan spec states: Any access flag included in srcAccessMask must be supported by one of the pipeline stages in srcStageMask, as specified in the table of supported access types (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkSubpassDependency-srcAccessMask-00868)
ERROR: [Validation] Code 0 :  [ VUID-VkShaderModuleCreateInfo-pCode-parameter ] Object: VK_NULL_HANDLE (Type = 0) | vkCreateShaderModule: required parameter pCreateInfo->pCode specified as NULL. The Vulkan spec states: pCode must be a valid pointer to an array of (codeSize/4) uint32_t values (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-parameter)
ERROR: [Validation] Code 0 :  [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object: VK_NULL_HANDLE (Type = 0) | SPIR-V module not valid: Invalid SPIR-V magic number.
zsh: segmentation fault (core dumped)  ./bin/triangle

Sorry, I don't have an ubuntu system to test on right now.  However I think I know what happened, and I've locally tested the changes in my latest commit 2e248db8 to ensure that the shader code load using the pathway that should be followed on non-windows/non-android systems.  Please give it a shot.

That works perfectly, thanks!


questions about effect of number of positives

Hi, thanks for your nice paper and codes!
I have a question after reading the paper, in the section "Effect of Number of Positives", the number of positives always contain one positive which is the same sample with the anchor but different  data augmentations, and the remainders are different samples from the same class, have you tried make all the positive from the same sample but different augmentations? Does it improve?

You seem to be talking about self-supervised contrastive learning, right? Just like SimCLR

yes, in a self-supervised manner, but with multiple positives which are derived from the same image.


Make split_dataset.py support huge file input.

Since f.readlines() is not appropriate for huge file input,  replace with iterating through a file handle.

LGTM
For the future, forget about os.path and use pathlib instead in all cases. It is always better.

Thanks for the review!
I'm going to merge this pull request and handle that issue as another issue (https://github.com/WorksApplications/SudachiTra/issues/41).

Feel free to merge LGTM'd PRs at any time


build: upgrade java core and okhttp3 dependencies

PR summary
This PR upgrades our java core dependency to version 9.10.3, and our okhttp3 dependency to version 4.9.1
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

:tada: This PR is included in version 0.18.13 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add option to tar directories/files after running a pipeline

Add a field to PipelineConfig pointing to the path to tar

PARTICIPANT_SESSION_DIR if this path would be useful in other context as well, or PATH_TO_TAR if not

Update PipelineRunner and add CLI option (e.g. --tar) for nipoppy run
Update trackers to be able to check file lists from tar archives too

Pending questions:

Should we have the file path be in the pipeline config or the tracker config?


Render ImGui over text.

A bug was recently introduced that would cause text to be rendered on top of
ImGui windows. Make sure we draw text before the ImGui windows.
b/162485357

Could you just clarify why changing the drawing order without caring about any z-values is enough in this case? Is z-buffer disabled for UI and Text rendering?

Our imgui implemetation changed recently, I'm guessing that this is when the issue started happening. ImGui disables depth testing (see https://github.com/google/orbit/blob/master/OrbitGl/ImGuiOrbit.cpp#L456) which would explain why text would always be on top if drawn last.  From https://www.khronos.org/opengl/wiki/Depth_Test: "When depth testing is disabled, writes to the depth buffer are also disabled."


Incorrect handling of sqrt(-1)

Describe the bug

The square root of 1 is invalid.
Steps To Reproduce

1: Open Calculator. (mode doesn't matter)
2: Type -1 (press 1, and press the +/- button)
3: Press the square root button
4: You should see "invalid input"
Expected behavior

The expected result is i, the "unit" Imaginary Number.
Device and Application Information

OS Build: 10.0.19042.0
Architecture: X64
Application Version: 10.2012.21.0
Region: en-US
Dev Version Installed: False

Requested Assignment

I'm just reporting this problem.  I don't want to fix it.

Maybe Calculator only support rational numbers at present

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

Maybe Calculator only support rational numbers at present

Yep, that's right. This issue should be resolved with #613.


listener manager: handle listener creation failures on workers

This commit properly handles listener creation failures on worker threads.
Specifically, the race condition that can happen between bind() and
listen(). (To be perfectly honest I don't understand how this can happen
at the OS level but we have seen it in practice).
This turned into somewhat of a complicated change. It does the following
things:

Add an add listener completion which can tell the listener manager
if a creation failed. As part of this work, locking was replaced with
posts inside the listener manager which makes synchronization simpler.
The failed listener is removed, in the hope that a future addition
it might succeed at that point.
Listeners are now always added to workers via post.
Because of (3), this caused race conditions in the integration tests.
The integration startup code needed to be refactored so that we now
wait for all listeners to be up before starting to run the tests.
Because of (4) it exposed an issue in the TCP proxy integration test
with trying to handle a response from the client SSL auth filter which
happens before the listeners are actually up. To fix this, I removed
the code in the tests trying to handle client SSL auth filter calls.
I also replaced all "random" upstream clusters with a host pointing
at reserved port 4 which should always fail in any reasonable case.
This still has value in testing startup with failure, but won't block
startup. If we want to bring back testing of initial startup things
like SDS, RDS, etc. we will need to revisit how this works but IMO
this is fine for now.

@lyft/network-team @htuch @dnoe @alyssawilk
@alyssawilk this is going to conflict with your flow control change in the tests. Also LMK what you think about that part of the change. We can get your change in first and then I can merge master into this.

FWIW 1k is sadly nowhere enough - I've spent more of the day debugging a
1:20k failure which I bet this is the fix to.
(I got as far as figuring the SSL auth code was getting a bad FD which
aligns well with the idea not everything is set up right)
On Thu, Jul 13, 2017 at 3:29 PM, htuch<EMAIL_ADDRESS>wrote:

@htuch commented on this pull request.
Will take a look in a bit, have you verified flake free with
--runs_per_test=1000? Asking as you seem to have uncovered a bunch of
concurrency issues in the integration tests, just wanted to check there
aren't any more.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lyft/envoy/pull/1257#pullrequestreview-49882136, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARYFvRUSLO4ShCfKLxwxrRzkWqzjQDBdks5sNnAngaJpZM4OXbgw
.

Asking as you seem to have uncovered a bunch of concurrency issues in the integration tests, just wanted to check there aren't any more.

Not exactly, it's really an ordering issue. The old code would add listeners on the startup thread. This no longer happens, so new sync is needed. This also broke the TCP proxy tests. However I will run a long test cycle locally to make sure it works with multiple iterations. @alyssawilk I have no doubt there are still some edge cases in the existing code.

@htuch updated

@htuch comment updated


"x1" in some matches

I see mark "x1" on some matches. I always play solo, but not all matches marked with the same sign.

The data is sometimes unavailable if the steam GC is not responding.  Requesting a re-parse should fix the issue


Add Events Firing for Phishing Detection Settings

Task/Issue URL: https://app.asana.com/0/72649045549333/1208270234071171/f
Tech Design URL: n/a
CC:
Description:
In ✓ Phishing Detection Pixels we defined several pixels to include, and one of them did not make it into the initial release:

macos.phishing-detection.feature-toggled:

Parameters:

newState - on/off, indicating whether the user turned it on or off

Condition

triggers when a user disables the feature from the settings page

Reasoning

the aim is to use this as a "do-no-harm" KPI, to determine how many users are actively choosing to disable/enable phishing protection

Steps to test this PR:

Point BSK to tespach/phish-det-settings-event
Build the browser
Filter by m_mac_phishing_detection_setting-toggled in the debug output of the app
Ensure you're authenticated via use-login.duckduckgo.com - this feature is internal only
Go to Settings>General
Toggle "Malicious Site Protection"
Return to debug output and ensure you see:
👾[Standard-Fired] m_mac_phishing_detection_setting-toggled ["appVersion": "1.109.0", "pixelSource": "browser-dmg", "setting_toggled_to": "false"]

Definition of Done:

[ ] Does this PR satisfy our Definition of Done?

Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@not-a-rootkit Not sure if I'm missing something but pointing BSK to that branch gives me some package errors:


sso-oidc exceptions don't translate "error_description" into ClientError message field

Re-opening #2216
The sso-oidc method CreateToken returns an error response that looks like:
{
  "error": "invalid_grant",
  "error_description": "Invalid grant provided"
}

but on the botocore.errorfactory.InvalidGrantException object, the error.response["Error"]["Code"] is correct but error.response["Error"]["Message"] is an empty string.
This is using botocore 1.24.28.
The sso-oidc API is compliant with the OAuth Device Grant spec https://tools.ietf.org/html/rfc6749#section-5.2, so it has to use a field called error_description. The API could in theory duplicate that into a message field in the response, but as-is, botocore is not translating this service's return values correctly.

Hi @benkehoe, thanks for this. I reopened the original issue.


dashboard/app: show embargoed bugs in bugs/month graph

Bugs that are delayed from reaching the final reporting only by embargo
can also be considered found and stable (e.g. not one-off corruptions
staged in moderation).

This bumps the current month from ~150 to ~200.


Weird Behaviour when Moving Objects in the Scene View

Summary
This issue was first reported on the forum by user indiemaatheus: Forum Topic

Hey, recently I noticed that something weird is happening when dragging and dropping objects in the scene, it was not happening before. I just have no clue what I'm doing wrong, see:
Image
Instead of following the mouse, the sprite starts moving extremely fast in its direction. (surprised/confused face here)
What should I do?

How to reproduce
Just place an object into a scene and try dragging it around. The object should move weirdly, and a lot of error messages should be written to the log.
This issue seems prevalent on the latest Duality binary release. Versions built from source seems to not have the problem. indiemaatheus uploaded a sample project (Dropbox), but as said before, the problems seem to occur even in the binary release (from the Duality website).
Workaround
No workarounds are known, except to use a version built from the source code.
Attachments

An error occurs and is written to the log when moving objects: Pastebin
An animated GIF image was uploaded by indiemaatheus, available here: Image

Thanks for reporting! Apparently, there was a binary version mismatch in the latest package release. I have released a new set of packages that should fix this. Can someone aside from me verify this?

Downloaded the binary release again, and it seems to be working perfectly now. I could drag an object around without any bugs or errors.

Thanks! :) Closing this.


Cannot install APK after downloading

Sample code working good else installing APK after downloading, I'm using Samsung Galaxy S6 having Nougat (7.0). Here is screenshot

Please help me @feicien

not work on android 7.0. you should not use Intent on 7.0 when install apk.

The problem has been solved


Transaction Inclusion Proof

Depends on #580

[x] #586
[x] #585

When a light client submits a transaction to a full node, it should receive a transaction inclusion proof to make sure that this transaction is included in a block.

Covered by https://github.com/rollkit/rollkit/pull/889


Update DNS for dist.ipfs.io

Please update the DNS for dist.ipfs.io for pinned hash QmegiMooj8iM7aMVLRgo9ayvN8imk1WhTnc2ZYyGm1gVzH (aka https://gateway.ipfs.io/ipfs/QmegiMooj8iM7aMVLRgo9ayvN8imk1WhTnc2ZYyGm1gVzH )
Ref: https://github.com/ipfs/distributions/pull/302
Thanks much!

@mburns Not sure if assigning you to this was the right thing to do. If not, please forgive me 😊

$ dig +short TXT _dnslink.dist.ipfs.io
"dnslink=/ipfs/QmegiMooj8iM7aMVLRgo9ayvN8imk1WhTnc2ZYyGm1gVzH"

@mburns You are a prince among humans. 😊


Regrowth Mod doesn't want to load. (1.16.1)

Forge Version : 1.16.1-forge-32.0.62
Minecraft Version: 1.16.1
To Reproduce
Steps to reproduce the behavior:

Launch Minecraft
See error

Screenshots

Latest Log
https://pastebin.com/RhXGwFQk

I'm sorry I missed this.   It's likely that was because of changes made in forge.
Is the issue still happening?

Hi.  I'm sorry I missed this.
Is the issue still occurring?
Thank you!
MacTso.

Okay so
use Regrowth Version 1.16.1 v<IP_ADDRESS> for Forge versions 32.0.24 to 32.0.66
use Regrowth Version 1.16.1 v<IP_ADDRESS> for Forge versions 32.0.67 and higher.
It may fail again in 32.0.98 right now.  I'll have a version (v<IP_ADDRESS>) which should work for 32.0.67 to 32.0.98 (and higher) by wednesday.
Cheers!


Source of Download Data

It looks like npm-stats' download data is coming from couch:
https://github.com/zeke/npm-stats/blob/4d05a27c8702ccc74562b6527b896cb286bc0c44/lib/module.js#L28-L37
But as @seldo has informed me, the canonical source of download data is now:
https://github.com/npm/download-counts#readme
Any thoughts, @hughsk? Should I update npm-stats to get data from download-counts instead?

Fixed in #3 :)

:cake:
:wave:


Conditional Handling of 'restrict' Qualifier in C++

Fix build errors when using -cxx-interoperability-mode=default.

@swift-ci please test

Hi @pookjw! Could you elaborate on what was your build setup that caused this error? Adding .interoperabilityMode(.Cxx) to Package.swift doesn't seem to reproduce.

@swift-ci please test

@iCharlesHu I apologize for the lack of explanation. Here is a project where you can reproduce the issue.
https://github.com/pookjw/swift-foundation-pr399


Finger and hand gesture detector?

Hello,
Does anyone know if there is a known way of doing not just pose recognition but continued gesture recognition? Thank you.

This is not currently supported
From: oless<EMAIL_ADDRESS>Reply-To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Date: Friday, December 21, 2018 at 10:16 AM
To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [OpenPTrack/open_ptrack_v2] Finger and hand gesture detector? (#42)
Hello,
Does anyone know if there is a known way of doing not just pose recognition but continued gesture recognition? Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenPTrack/open_ptrack_v2/issues/42, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAZTR4u03s61FANfhSI2N-fxMGlqlgbjks5u7SVmgaJpZM4Zefq3.

I would be interested in helping to add this functionality in. Would you be able to give me a few pointers on how to implement this best, so that it still works with your overall design structure? At which point in the process should I add this functionality? I assume while parsing the point cloud...?

Happy to try to help you in adding a module.  (Sorry for the delay in responding to the issue.) If  you are still interested in doing this, please let us know.


Versioned OnRuntimeUpgrade

We currently have the pattern of first manually checking whether a migration should run or can be deleted.
Then setting the version and in the post_upgrade we check that it was set. This is error prone and redundant.
We could improve here by using either associated types/consts or const generics to track the required version directly in the trait.
Both being options for the case that there is (and should) be no version.
pub trait OnRuntimeUpgrade {
    const From: Option<u32>,
    const To: Option<u32>,

To keep it backwards compatible we should probably create a new or wrapper trait.

This looks interesting @ggwpez.
Can you provide an example of how the associated types or const generics would be used in practice to determine whether a migration should run or be deleted?

Yeah, this is very much like what I had in mind. a VersionedOnRuntimeUpgrade has a blanket impl of OnRuntimeUpgrade and does all of this stuff automatically.

Interesting, this was the solution I had in mind based on what @kianenigma proposed.
pub trait VersionedOnRuntimeUpgrade {
	/// Version before upgrade.
	/// It will be used to check whether the migration is required or not.
	const FROM: Option<u32>;
	/// Version after upgrade.
	/// It will be used to check whether the migration is required or not
	/// and to set the new version after the upgrade.
	const TO: Option<u32>;
	/// Checks if the two constants are different and
	/// returns a boolean indicating whether the migration should be run or deleted.
	fn is_required() -> bool;
}

migration implementation.
impl<T: OnRuntimeUpgrade> VersionedOnRuntimeUpgrade for T {
	const FROM: Option<u32> = Some(StorageVersion::<T>::get()); // 12
	const TO: Option<u32> = Some(Pallet::<T>::current_storage_version()); // 13

	fn is_required() -> bool {
		Self::FROM != Self::TO
	}
}

if is_required() returns true we upgrade to the migration latest version of the runtime otherwise just delete or skip the migration.

@ECJ222 I am not sure if i correctly understood your example code.
The FROM and TO would be hard-coded, not dynamic. The we can compare FROM with the current on-chain version and if that maches; do the upgrade and overwrite the on-chain version with TO.
Otherwise if it not matches; do nothing / log error and possibly fail in pre_upgrade.

pub struct AutoMigrate<From, To, Inner, Pallet>(
	sp_std::marker::PhantomData<(From, To, Inner, Pallet)>,
);
impl<
		From: Get<StorageVersion>,
		To: Get<StorageVersion>,
		Inner: OnRuntimeUpgrade,
		Pallet: GetStorageVersion + PalletInfoAccess,
	> OnRuntimeUpgrade for AutoMigrate<From, To, Inner, Pallet>
{
	fn on_runtime_upgrade() -> Weight {
		let current = Pallet::current_storage_version();
		let on_chain = Pallet::on_chain_storage_version();

		if current == To::get() && on_chain == From::get() {
			let weight = Inner::on_runtime_upgrade();
			current.put::<Pallet>();

			log!(info, "{:?} applied successfully.", To::get());
			weight
		} else {
			log!(warn, "{:?} not applied.", To::get());
			todo!("need to get DbWeight somehow as well..");
		}
	}
}

Here's how I would do this.

		if current == To::get() && on_chain == From::get() {
			let weight = Inner::on_runtime_upgrade();
			current.put::<Pallet>();

This logic is wrong. Especially if you may need to put multiple migrations in one runtime upgrade.
		if on_chain == From::get() {
			let weight = Inner::on_runtime_upgrade();
			To::get().put::<Pallet>();

That is correct.

I'm planning to start on this soon, after I finish with my current main work effort (lazy-download).

Let's look at this issue when working on this

simpler understanding. #[pallet::storage_version] is too much magic.

The only issue I can think of with removing this is that we would not know what initial on-chain version to set for a pallet when it's introduced to the runtime. You're correct though that we shouldn't need it in any migrations.

If this is None, then the executive would execute the migration script in any case. migrations defined in the pallet should initially be like this, and we should strive to deprecate them.

Cool. I like the idea of the executive pallet managing this, so we don't need to think about versions at all inside the on_runtime_upgrade function itself.

First, I would remove #[pallet::storage_version] aka current.

To what version are you then setting the storage version in the genesis state? I'm with you that we should probably remove the current_storage_version function, but I don't see how you want to remove the attribute.

First, I would remove #[pallet::storage_version] aka current.

To what version are you then setting the storage version in the genesis state? I'm with you that we should probably remove the current_storage_version function, but I don't see how you want to remove the attribute.

That was also my initial thought.
However, if we tightly couple at least the most recent migration to the pallet, we could initialise the on-chain version based on the latest migrations To. See this comment https://github.com/paritytech/substrate/pull/14311#issuecomment-1586977125


Make get_lsn_by_timestamp available in mgmt API (#2536)

refer #2536

Looks like CI complains about some misformatted code, use cargo fmt and poetry run black (you would need to run ./scripts/pysync to actually install it first) to fix the issues.

oops do i need to change anything? the failing tests does not seem to be related

No, unfortunately, our tests might fail sometimes to unrelated reasons, the current one seems to be related to AWS S3 (the main one, that failed the tests) and docker connectivity (that failed other jobs later, but it does not matter much at this point).
Rerunning usually helps, I'll do it.

Oh, now I see: our CI has many external services called, due to different tests we run.
Contributors' CI runs do not contain certain credentials, hence not able to trigger certain events or access certain resources that we use for testing.
I'll push a test branch from my account and test it.
We have an issue from the past: https://github.com/neondatabase/neon/issues/2222 might be a good time to revive the initiative, thank you.

Tests passed and since I've pushed the same commits, your PR had to the status update, nice.
We're sure fixing the CI properly eventually, sorry about that experience and thanks for the PR.


adding reqs up to video 6 for easy setup

Console.log("cryptoscriptoanoilteyestrickpicuterLinguistically;

The art of mind control

The art of mind control

Ars rhehtorica
A tool kit for effective communication
For public education...


Review code and replace time consuming loops by foreach calls

At the moment GGIR does not attempt to parallelise the computations. Although, some of GGIR's depencies like data.table use this, by which GGIR still benefits from multi-core computing environments.
A simple enhancement of the code may be to replace some of the time consuming for-loops by foreach statements. For example, in part 1 and part 5.
Strategy:

Create development branch
Time current speed of the code based on a test file
Replace for loop by foreach call and measure speed
Replace for loop by foreach statement if there is a > 10% speed increase.

https://cran.r-project.org/web/packages/foreach/vignettes/foreach.pdf

Now addressed in pull request #210


Missing support for SRV Records

SRV records are used for service discovery. They are quite common for SIP applications.
Their syntax is:
srvce.prot.owner-name  ttl  class   rr  pri  weight port target
_http._tcp.example.com.       IN    SRV 0    5      80   www.example.com.
A workaround would be to put everything after SRV into the value attribute:
Should be:
{ name: "_http._tcp.example.com.", ttl: 1D, type: SRV, priority: 0, weight: 5, port: 80 target:"www.example.com." }

Workaround:
{ name: "_http._tcp.example.com.", ttl: 1D, type: SRV, value:"0    5      80   www.example.com." }

Hello, it done with the commit https://github.com/nishiki/ansible-role-bind/commit/56ade0a702498f72dd0311f17f938b609fbc5b21


data integration: augmenting bio.tools

Automated methods for updating bio.tools entries with links from other projects, e.g. links to packages, containers, online services, benchmark results etc.


atlasmap not working for complex nested json objects

i have tried using atlasmap for nested json object which contains inner nested json objects but the mappings are done only for the first level of fields. The inner fields are not getting mapped.

Can you provide more info? source/target schema, example source payload, expected outcome, etc

Also which version of AtlasMap are you using?


Parsing error in compose view

K9-mail allows account name to contain " character:

Yet, when using long-press to copy email address directly from k9-mail, the process wraps name with " characters. However, in mail headers they do not exist, (look at email format in show headers and it appears as name < email address >, no " anywhere).
This creates parsing errors when pasting copied address into compose field.

K9-mail should either handle parsing " in compose forms, or forbid use in account name to avoid errors.

While it's not really common to have "s in an account name we should escape them rather than prevent them.


PHPUnit 10 Shift

This pull request contains changes for upgrading to PHPUnit 10 automated by the PHPUnit 10 Shift.
Before merging, you need to:

Checkout the shift-130212 branch
Review all pull request comments for additional changes
Run composer update (if the scripts fail, try with --no-scripts)
Run your tests suite: vendor/bin/phpunit

If there were changes you felt could have been automated, please reply to the follow-up email with your feedback or on Twitter.

:warning: PHPUnit 10 has made several changes to the configuration file. After running composer update, you may run vendor/bin/phpunit --migrate-configuration to have PHPUnit upgrade your configuration file.

:warning: PHPUnit 10 requires PHP version 8.1 or higher. Be sure to verify you met this requirement by running php -v in your test environment.

:warning: PHPUnit 10 now requires any base test class to have a TestCase suffix. In addition, this class should be defined as abstract. If you have a custom base test class, you should ensure it meets these new requirements.

:information_source: PHPUnit has documented using return types for test cases and data providers since PHPUnit 8. In an effort to modernize your test suite, Shift added a return type of void to your test cases and a return type of array to your data providers.
Shift understands developers have different preferences when it comes to type hints. If you do not wish to add return types, you may undo this change by running: git revert 260d015a

:information_source: PHPUnit has documented declaring test classes as final since PHPUnit 8. In an effort to modernize your test suite, Shift has declared your test classes as final.
Shift understands developers have different preferences when it comes to using final. If you do not wish to declare your test classes as final, you may undo this change by running: git revert d229ece7

:alembic: This Shift is still being refined. Please report any issues or suggestions to<EMAIL_ADDRESS>Your feedback is what helps improve the experience for everyone.


html-loader Options error

Describe the bug
When I try to add options to htmlloader I've got an error
To Reproduce
I've created a repository to test
https://github.com/florent-cdl/ejs-webpack-sample
added those lines
    htmlLoaderOption:{
      // set individual html-loader option here
      sources: false
    },

but got the compilation error :
- options.sources should be one of these:
boolean | object { list?, urlFilter? }
Expected behavior
It seems that boolean values are not recognized. Also, I've tried an object but same pb. I've also tried to put options in module rules loader config :
      {
        loader: 'html-loader',
        options: {
            sources: false,
       },
      },

One more thing, I've added the 'root' option in templateEjsLoaderOption but the path is added to the current path and with quotes : (./src/assets/components is the root option value, even tried with path.resolve(__dirname, './src/assets/components'))
ENOENT: no such file or directory, open '/Volumes/TRAVAUX/PROJETS/TEST-WEBPACK/"./src/assets/components"/Volumes/TRAV  AUX/PROJETS/TEST-WEBPACK/src/bundles/ejs/pages/about-us.ejs'
Thank you
Best regards

Seems to be kinda QueryString problem because we switched to  URLSearchParams, I will see what I could do.

@florent-cdl
In case you are in a hurry.
The second problem you mentioned can be easily fixed by upgrading to v0.8.0.

You're right I'm quite hurry :) And thank you for being so quick !
I'm going to try the 0.8 right now
Best regards

@dc7290
Maybe you will be interested in this. I reported the function type issue to webpack devs.
https://github.com/webpack/webpack/discussions/15362#discussioncomment-2150138


Add api failure test

Coverage increased (+2.2%) to 100.0% when pulling b3c0400cfac147f660f325085935fa2b73f73b73 on api-failure-test into 2977a98db76d172562f9964e5659195579bbe6e7 on master.

Coverage increased (+2.2%) to 100.0% when pulling b3c0400cfac147f660f325085935fa2b73f73b73 on api-failure-test into 2977a98db76d172562f9964e5659195579bbe6e7 on master.


We saw errors in CI due to the documentdb.DatabaseAccountsClient#ListUsages returning an error:
documentdb.DatabaseAccountsClient#ListUsages: Failure responding to request: StatusCode=200 -- Original Error: Error occurred unmarshalling JSON - Error = 'json: cannot unmarshal number<PHONE_NUMBER>00 into Go struct field Usage.limit of type int32' JSON = '{"value":[{"unit":"Bytes","quotaPeriod":"P1D","limit":107374182400,"currentValue":184320,"name":{"value":"Storage","localizedValue":"Storage"}}]}'
exit status 1

The value<PHONE_NUMBER>00 does not fit an int32.
What did you expect or want to happen?
To get a result and a nil error.
How can we reproduce it?
main.go:
package main

import (
	"context"
	"log"
	"os"

	"github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb"
	"github.com/Azure/go-autorest/autorest/azure/auth"
	"github.com/Azure/go-autorest/autorest/to"
)

func main() {
	authorizer, err := auth.NewAuthorizerFromEnvironment()
	if err != nil {
		log.Fatal(err)
	}

	client := documentdb.NewDatabaseAccountsClient(os.Getenv("AZURE_SUBSCRIPTION_ID"))
	client.Authorizer = authorizer

	result, err := client.ListByResourceGroup(context.Background(), os.Getenv("AZURE_RESOURCE_GROUP"))
	if err != nil {
		log.Fatal(err)
	}

	if result.Value == nil {
		log.Fatal("result has no values")
	}

	for _, v := range *result.Value {
		_, err = client.ListUsages(context.Background(), os.Getenv("AZURE_RESOURCE_GROUP"), to.String(v.Name), "")
		if err != nil {
			log.Fatal(err)
		}
	}
}

go run main.go
Expecting all env-vars to be set correctly.
Anything we should know about your environment.
No.

I have ran into similar issues come to think of it, any chance someone could take a look  ?

@shurd looks like the limit field is incorrectly defined as integer in the swagger, it should be long instead.  Can you confirm this is correct?

Yep, that's correct.
On Mon, 15 Apr 2019, 17:27 Joel Hendrix<EMAIL_ADDRESS>wrote:

@shurd https://github.com/shurd looks like the limit field is
incorrectly defined as integer in the swagger
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json#L1976,
it should be long instead. Can you confirm this is correct?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-sdk-for-go/issues/4521#issuecomment-483323312,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMa5-SsT7WkJ1zHxbnZtq4f10vw1EoIks5vhKhYgaJpZM4cpcX5
.

Same goes for currentValue, (see swagger).

Fixed in https://github.com/Azure/azure-sdk-for-go/releases/tag/v30.0.0


fix: tests were broken

Tests were broken by a recent push to main. I'd recommend not pushing to main, and if really required, running pytest/nox first. :)

FYI, you still need to change the "expected check" to the pass job.

Ugh, sorry, I forgot those keys.


logger time and sync issue debug

disabling test case to test logger issue

CI: No security warnings found


Add a containerised test for the https cert doc

Docker-DCO-1.1-Signed-off-by: Sven Dowideit<EMAIL_ADDRESS>(github: SvenDowideit)
some really really basic test harness for the https doc examples.
make cert fails when it gets to the docker lines, and then you use make run  and make client` to test tls comms.
Ideally, we should have more than one Dockerfile - for different distros.

I'm going to re-write some of the prose to match

@fredlf @jamtur01 yes, its manual - openssl is needy like that.

@fredlf @jamtur01

LGTM

LGTM. Thanks, Sven! Very cool.


rectify certain values, add azure example resource

Please review and add to this branch regarding the lb.  @pranavv0


prod release for EKS Go 1.16

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


Fix context window reference in Lllama-cpp

Description
The LLama class from LLama-cpp stores its context window argument in .params.n_ctx instead of .context_params.n_ctx.
Prior to this PR when attempting to create an index with llama-cpp locally I would get:
AttributeError: 'Llama' object has no attribute 'context_params'
Upon debugging you can see that the context params are stored as params

Fixes # (issue)
No current issue.
Type of Change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Added new unit/integration tests
[ ] Added new notebook (that tests end-to-end)
[ ] I stared at the code and made sure it makes sense

Existing tests pass, I had 7 unrelated tests fail that require stopwords from nltk as I can not make that download with my corporate proxy setup.
Suggested Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I ran make format; make lint to appease the lint gods

@apb514 actually, context_params is correct, but you need to update your llama-cpp version
https://github.com/abetlen/llama-cpp-python/blob/4ff8def4d0896ff3ecf800d2a7a738cdd012aa34/llama_cpp/llama.py#L334

Given the above info, going to close this PR for now 👍🏻 You'll just need to update/re-install llama-cpp-python


Only from Todoist to Home Assistant - HA card read only?

Before submitting a bug

[ Yes] I updated to the latest card version available
[ Yes] I cleared the cache of my browser

Describe the bug
Well to be honest I don't know if its a bug, maybe I'm missing something but it looks like the HA card is some kind of read only for me?
What's working
I add a task in a project in the todoist webportal and after the scan (30 seconds) the task is displayed in my HA card
I check a task complete in the todoist webportal and the task is also checked off in the HA card
What's not working

Adding task in HA card does nothing
Checking a task off in HA card does nothing
Deleting a task in HA does nothing

So it looks like the HA card is read only for me, is this correct behavior?
To Reproduce
Steps to reproduce the behavior:
Added this video hopefully that makes things clear?
https://youtu.be/JuPu_lWaPjQ
If not please don't hesitate to contact me!
Expected behavior
Use the hA card to update the task in the toist portal, add new items to the task list in todoist
configuration.yaml
under sensors

under rest command

secrets file

sensor development environment

Versions:

Card: [v1.0.5]
HomeAssistant:

Versie
core-2021.4.6

Type installatie
Home Assistant OS

Ontwikkeling
false

Supervisor
true

Docker
true

Virtuele omgeving
false

Python-versie
3.8.7

Besturingssysteemfamilie
Linux

Versie van het besturingssysteem
5.9.16

CPU-architectuur
aarch64

Tijdzone
Europe/Brussels

Browser: [Chrome Mac: Version 90.0.4430.85 (Official Build) (x86_64)] [latest HA app iOs (latest version)]

Additional context
Maybe this is the issue, I have a free account will updating to pro fix this?

Good day! Thank you for provided info. You just forgot to replace one TODOIST_API_TOKEN in secrets.yaml.

There is nothing "stupid" at all, glad I could help. Good luck!


Rewrite HLSL backend handling of inputs and outputs

Rewrote the implementation of HLSL inputs and outputs to be more robust and support more stuff.

A traversal is done to find all statically accessed builtin variables in the shader. This is common to all APIs, so Metal might benefit from this as well.
Separate out logic for builtins from the handling of user-defined inputs and outputs.
Add support for the more common builtins like frag-coord, frag-depth, vertex-id, instance-id and MRT.
Location decorations are now used always if the shader uses it. For varyings and attributes which are not using these, the locations (TEXCOORD[N]) are assigned based on their name, and failing that, their ID. All sensible SPIR-V shaders really should use locations, so these serve as crude fallbacks.
I/O blocks are now supported by having extra in/out struct arguments from main(). This is to support geometry shaders and tessellation in the future ...
VPOS in SM 3.0 gets a half-pixel offset applied to match all other APIs, not sure if this offset depends on the SM, or the API being used (like, D3D11 using D3D9 shaders, will that have half-pixel offset already applied?)
Interpolation qualifiers are supported.

I need some review of this because while the test shaders pass glslangValidator HLSL mode, I'm not sure how HLSL really treats the vertex output/fragment input semantics, are they ignored, does ordering matter, and so on.
The HLSL linking interface between stages seems kinda shaky to me, so I'd like some clarification from someone who knows HLSL better.

Ping @RobDangerous.

Re-ping @RobDangerous.

Oh, sorry! Will check tomorrow.

This will work fine for krafix.

Thanks.


fix epoch_detail

epoch_detail takes wrong value if the iterator is not repeated.
Here is an example.
dataset = [1, 2, 3]
it = chainer.iterators.SerialIterator(dataset, 2, repeat=False)
it.next() # [3, 1]
it.next() # [2]
it.epoch # 1
it.epoch_detail # 2.0

I think epoch_detail should be 1.0 in this case.

Thanks for fixing and adding tests.
LGTM.


Make ruby looks great again

Technically, this change does nothing, but I'm willing to merge it since I prefer the triple backtick version anyway.


Readme

For exemple, -> For example,
depends on the amound of -> depends on the amount

Thank you for the typos, I fixed them.
As for the int[] to byte[] thing, yes it's terrible in term of perfs, actually even the base implementation is garbage in term of perfs.
It was a naive port from the Java ZXing library. The LINQ was just to get a super quick implementation for someone who needed it.

Ok, I am just learning Reed-Solomon and came across your project.
/rob
On Fri, Sep 29, 2023, 19:51 Sebastien ROBERT @.***>
wrote:

Thank you for the typos, I fixed them.
As for the int[] to byte[] thing, yes it's terrible in term of perfs,
actually even the base implementation is garbage in term of perfs.
It was a naive port from the Java ZXing library. The LINQ was just to get
a super quick implementation for someone who needed it.
—
Reply to this email directly, view it on GitHub
https://github.com/TanukiSharp/ReedSolomon/issues/3#issuecomment-1741280249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQNI4PSZNYWBIV2BVPBKVLX44DAJANCNFSM6AAAAAA5LNCTHQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


BUG : display_results.sh doesn't seem to be escaping user input properly

Hi,
I happened upon this project last week and have been seeing what it could look like to integrate this into a somewhat complex CI pipeline I manage. I'm hoping this action might be the push we need to reduce our CI complexity a bit or self-host our own runners. Neat project!
The issue I'm having is that when trying to run display-results, it seems as though the input fields of some steps might not be able to handle some special characters (brackets, maybe?).
Example: https://github.com/Ouranosinc/xclim/actions/runs/10255754010/job/28373433987#step:13:1
Error:
Run /home/runner/work/_actions/green-coding-solutions/eco-ci-energy-estimation/7333e9a8e8036e5bf69d59dc8bb63d984b0f55c8/scripts/display_results.sh -dt true -dg true -db true -b "1863/merge" -r<PHONE_NUMBER>0 -R "Ouranosinc/xclim" -sd true -sc true -s "github"
/home/runner/work/_actions/green-coding-solutions/eco-ci-energy-estimation/7333e9a8e8036e5bf69d59dc8bb63d984b0f55c8/scripts/display_results.sh: eval: line 72: unexpected EOF while looking for matching `"'

I imagine this might simply be solved by escaping more of the user input fields.
Additional Resources
The workflow file (testing branch, being actively worked on): https://github.com/Ouranosinc/xclim/blob/energy-usage/.github/workflows/main.yml

@ribalba That seems to have fixed the issue. Feel free to examine the build logs if you're interested!
I won't be merging my branch until a stable release is made with the fixes.
Thanks!

Pre-Release is here: https://github.com/green-coding-solutions/eco-ci-energy-estimation/releases/tag/v4.0-rc4
Will become stable the next few days.


Investigate partial claiming or gas mitigatigations for cw721 voting module

Currently the claim method is ClaimNfts {} which does not allow for partial claims. This is problematic because if the process of claiming runs out of gas (ex: you have unstaked a bunch), your NFTs are stuck. We should either add integration tests to make sure we can handle MAX_CLAIMS (currently set to 100, why?) number of claims, or allow incremental claiming.
IIRC incremental claiming may be a little challenging.

integration test has been added so we can know in CI if we ever get close to hitting these limits. lets leave this open for further exploration.

this may now be doable using the storage design here: https://gist.github.com/0xekez/15fab6436ed593cbd59f0bdf7ecf1f61


Instance for non-empty Text

The current instance can produce empty text, which is the right thing to do. However, QuickCheck itself provides a range of newtype wrappers to help direct behaviour, including NonEmptyList. Would it be possible to add something similar for Text?

No. This package is instances only. Adding newtypes is out of scope.


Dapr.DaprApiException: the state store is not configured to use the actor runtime

Ask your question here
While Running with  dapr Actor in c#, below error is occurring
Dapr.DaprApiException: the state store is not configured to use the actor runtime. Have you set the - name: actorStateStore value: "true" in your state store component file?
at Dapr.Actors.DaprHttpInteractor.SendAsyncHandleUnsuccessfulResponse(Func1 requestFunc, String relativeUri, CancellationToken cancellationToken)    at Dapr.Actors.DaprHttpInteractor.SendAsync(Func1 requestFunc, String relativeUri, CancellationToken cancellationToken)
at Dapr.Actors.DaprHttpInteractor.InvokeActorMethodWithRemotingAsync(ActorMessageSerializersManager serializersManager, IActorRequestMessage remotingRequestRequestMessage, CancellationToken cancellationToken)
at Dapr.Actors.Communication.Client.ActorRemotingClient.InvokeAsync(IActorRequestMessage remotingRequestMessage, CancellationToken cancellationToken)
at Dapr.Actors.Client.ActorProxy.InvokeMethodAsync(Int32 interfaceId, Int32 methodId, String methodName, IActorRequestMessageBody requestMsgBodyValue, CancellationToken cancellationToken)
at DaprActorPOC.Controllers.WeatherForecastController.GetAsync() in C:\Users\namohar.m\source\repos\Ex-1\DaprActorPOC\DaprActorPOC\Controllers\WeatherForecastController.cs:line 60
at lambda_method5(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Hello I am having the same issue. I have built the example in Docker and using the runtime and I get this same error. I have this set to true in the state store as stated in the error in my docker components folder in the yaml.
"Have you set the - name: actorStateStore value: "true" in your state store component file?"

yes,
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: statestore
spec:
type: state.redis
metadata:

name: redisHost
value: localhost:6379
name: redisPassword
value: ""
name: actorStateStore
value: "true"

When you run Dapr, do you see a log like:
INFO[0001] detected actor state store: statestore        app_id=testbedactor instance=Hals-MacBook-Pro.local scope=dapr.runtime type=log ver=edge

Or
INFO[0005] actor runtime started. actor idle timeout: 1h0m0s. actor scan interval: 30s  app_id=testbedactor instance=Hals-MacBook-Pro.local scope=dapr.runtime.actor type=log ver=edge

detected actor state store

@Namohar @halspang
I had this problem too when I was following the documentation here : https://v1-9.docs.dapr.io/developing-applications/sdks/dotnet/dotnet-actors/dotnet-actors-howto/
Make sure you are using version 1.8.0 of the SDK if you are using the 1.8.x runtime - the docs incorrectly use 1.0.0.
I then also went down a rabbit hole with trying to use the dapr VS Code extension so I could debug both the Actor and the Client at the same time.
After following this step here and then configuring launch.json and tasks.json as described here
Eventually I got it all working.

@Namohar - Are you sure that your component was scoped to the appropriate apps? And did you see the next log line that I asked for?

I ran into this same issue. You'll need to configure your docker-compose.yaml to include the following command arguments to your dapr sidecar:
"--placement-host-address", "host.docker.internal:6050"
Take a look at your placement instance running in Docker Desktop to confirm the port number there.
You'll also need to update your pubsub and statestore components' yaml files to point to host.docker.internal instead of localhost.
This will correctly configure your docker compose managed instances to connect to your default dapr placement and redis instances.
Example:
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: pubsub
spec:
  type: pubsub.redis
  version: v1
  metadata:
  - name: redisHost
    value: host.docker.internal:6379
  - name: redisPassword
    value: ""

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: statestore
spec:
  type: state.redis
  version: v1
  metadata:
  - name: redisHost
    value: host.docker.internal:6379
  - name: redisPassword
    value: ""
  - name: actorStateStore
    value: "true"


Adding CSV insert/delete functionality

I think I've done something a bit messy, so please ignore this.


Feature/database segregation

Added database contexts for MsSql and InMemory. It is determined by the selected environment.

Thanks for the PR! After reviewing, we've decided to pass on these changes. Currently, we handle database technologies in a specific way in the PersistenceServiceRegistration class, and your modifications don't quite align with our approach.
Feel free to reach out if you have any questions or suggestions. Appreciate your contributions!


Why did you choose an orthogonal camera over a projection camera?

Hello, thank you for your wonderful work.
As far as I know, it's usually rendered with a projection camera. But in this work an orthographic camera was used. Why did you choose an orthogonal camera over a projection camera? Does the orthogonal camera have a unique advantage in this work? Or have you tried rendering with a projection camera but the results were not as good as the current rendering method?

Actually, a perspective camera is also OK, but you should carefully pick a suitable focal length. The choice of focal length will influence the results.


AttributeError: module 'tensorflow' has no attribute 'app'

can you help for this problem?

Which tensorflow are you using?

I got this problem, too. tensorflow==2.1.0 macOS catalina


fix: broken shell completion

Completion by default will pass the entire command to the completion program's Argv. Kong isn't able to handle this, so update the completion command to use the noop subcommand. The noop subcommand has to be updated to accept and discard any additional arguments.

Another option would be to add an explicit completion subcommand.

Looks like CI failed on a flaky test.

Another option would be to add a dedicated subcommand specifically for completion

I think that's basically what noop is

Thanks!


Adding definitions for Microsoft Visual Studio Services.

This is type definitions for Microsoft Visual Studio Services. The details of the project can be found in: http://www.visualstudio.com/integrate/extensions/overview
We haven't decided yet how to approach testing since this a combination of multiple definition files which is mostly used for performing a Rest Client call to different services. However, we'll come up with a strategy soon.

vss/vss.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/vss
http://bower.io/search/?q=vss
others?

[ ] has a test file? (vss/vss-tests.ts or others)
[ ] pass the Travic-CI test?

@serkan-inci thank you for your contributions.
please fix travis-ci failed.
@basarat

@serkan-inci Reasons for test failures:

The reference paths need to be relative to location in this repo (so prefix a ../)  : https://github.com/serkan-inci/DefinitelyTyped/blob/master/vss/vss.d.ts#L5-L7

The header format wants this to be a url instead of an email address : https://github.com/serkan-inci/DefinitelyTyped/blob/master/vss/vss.d.ts#L3

Again thanks for the PR :rose:

Hello and thank you for your contribution!
Due to an excessively long queue of pull requests that have become stale, we are "declaring bankruptcy" and closing all PRs opened before May 1, 2016. If you'd still like to merge this code in, please open a new PR that has been merged and rebased with the master branch.
Going forward, we are committing to review or merge all PRs on a regular basis so this bankruptcy will not occur again. We apologize for the incovenience and hope you will continue to contribute to DefinitelyTyped in the future.
Thanks
The TypeScript and DefinitelyTyped teams