fix: stop creating shadow database from initial schema

What kind of change does this PR introduce?
Bug fix https://github.com/supabase/cli/pull/1066
What is the current behavior?

creates shadow database by running service migrations

What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

Have we resolved whatever was causing the issue here? https://github.com/supabase/cli/pull/1074

Yes, what broke db diff was the use of initial schema when creating shadow db. Here we fixed it by running gotrue migrate and storage migrate on the shadow container instead.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

37 of 50 (74.0%)  changed or added relevant lines in 1 file are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 61.407%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/db/diff/migra.go
37
50
74.0%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
7
7.94%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
4635

Relevant Lines:
7548

💛  - Coveralls


change in the donation page as the background image was not looking clear

as the image use was not look clear so i wanted to replace with new image which was clear and also 2024 wildguard all right reserved was also not looking clear so needed to change the color from green to black and text color remain  white

Hey @ANSHWARDHAN, I’ve made some changes to the page and submitted a PR. Please check it out and update your work accordingly to avoid any conflicts. Thanks!


Force Git to HTTP/1.1 as part of checkout

Git is able to operate under HTTP/1.1 or HTTP/2 and until somewhat recently (the start of this year), it defaulted to HTTP/1.1. When it upgraded to HTTP/2 it broke large file uploads with Git LFS to Azure DevOps. This is due to a constrain in IIS that doesn't allow for the type of large file transfer we need.
That restriction exists both on Azure DevOps and AFD, so we need to force Git to use HTTP/1.1 or else it will get rejected by AFD with a 413 or 503 error.
Example failing build with old agent - https://dev.azure.com/damccorm-repros/lfs-afd/_build/results?buildId=897&view=results
Example succeeding build with new agent - https://dev.azure.com/damccorm-repros/lfs-afd/_build?definitionId=92&_a=summary

Failing tests caused by dotnet-install script, update pr here - https://github.com/microsoft/azure-pipelines-agent/pull/3084


How to make sure the session object remains accurate when using ssr?

Right now, when an API route is used to proxy the user login process, it doesn't look like the session object that'll be retrieved when I call appwrite's getSession endpoint will return the expected values, since I'm not directly making the request from the user's browser. Details like deviceModel and deviceBrand will be incorrect. Is there a way to make this work, since it's an issue with the user agent?

Can I just pass a custom "user-agent" header?

Correct, you can pass custom headers. That sounds like a proper solution, to also proxy some headers such as user-agent or forwarded IP.

Okay, I'll try that out soon


feat(parser): enhance API Gateway schemas

Summary
Changes

Please provide a summary of what's being changed

As discussed in the linked issue, the schemas for API Gateway in the Parser utility had some inconsistencies and missing schemas.
In the issue I tested all the integration types and auth that I could think of for API Gateway and observed the payloads for each. I have used these payloads (that are in the issue) to inform the changes in this PR.
This PR fixes this by making the following changes:

Add APIGatewayRequestAuthorizerEventSchema for Lambda Authorizer Request type in API Gateway v1 (REST)
Add APIGatewayTokenAuthorizerEventSchema for Lambda Authorizer Token type in API Gateway v1 (REST)
Add APIGatewayRequestAuthorizerEventV2Schema for Lambda Authorizer in API Gateway v2 (HTTP)
Reviewed APIGatewayProxyEventSchema to conform with the actual event payload (see linked issue)
Reviewed APIGatewayProxyEventV2Schema to conform with the actual event payload (see linked issue)

Additionally, while working on this I have also made three other changes that are not strictly related to the issue at hand but still interest the code I touched

Extracted some shared schemas between v1 and v2 into a separate file that is now imported by both - before the v2 schemas were importing (and including in the final bundle) all the schemas from v1 only because they were importing a single shared schema
Added docstrings with description, examples (where relevant), and links to all public schemas related to API Gateway
Added subpath exports to target import only schemas from API Gateway v1 or v2 - this allows customers to avoid including all the schemas present in Parser when importing one (we'll roll out this change across all schemas)

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: #2624

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@am29d - for when you're back.
Many of the test events used in the unit tests are not in line with what I observed and reported in the API Gateway tests discussed in the linked issue.
If possible, I'd ask you to please review my comment here, and if you agree replace the API Gateway event payloads with the ones I logged from API Gateway.

I have refactored the unit tests for API Gateway to use the events I recorded in the linked issue.
I have put the new test events in dedicated folders and used a slightly different way of reading the files. This new method only reads the files needed for that specific test suite instead of performing i/o to read all the events for each test.
Moving forward we should probably roll out this change across all other schemas/envelopes to improve test runtime.
Finally, I couldn't test the WebSocket API but I suspect there might be an opportunity to split the APIGatewayProxyEventSchema further and create a dedicated APIGatewayProxyWebsocketEventSchema.
I say this because some of the fields in the requestContext, namely: messageId, connectionId, routeKey, and eventType only seem to appear in these events. I'll address this in a future issue since I need to first figure out how to deploy a WS API (never done it) and I don't want to block your other PR.


gitlab-ci-local --fetch-includes should handle imports like gitlab (http/https as remote import)

Minimal .gitlab-ci.yml illustrating the issue
include:
  - 'https://gitlab.com/..../raw/master/pipeline/my-deploy.yml'

Expected behavior
Gitlab will fetch the "remote" Yaml-Config. gitlab-ci-local will fail even with gitlab-ci-local --fetch-includes

@typoworx-de Hmmm... Thought that already worked. I'll have a look.

@typoworx-de Please paste a concrete example instead of the pseudo one.
We already have a test to verify that this functionality works in https://github.com/firecow/gitlab-ci-local/blob/master/tests/test-cases/include-remote/.gitlab-ci.yml
So we need more info to debug from.
Reopen the issue, once you got a real life example, that I can debug.

Oh, i think I know, what the issue is now...
http|https has specielt mening, and auto interprets as remote: on it

@typoworx-de Fixed in https://github.com/firecow/gitlab-ci-local/commit/4db7812418334d90073340c3e46a7284507ccb63
Thanks for the bug report, even though I didn't get the problem at first :smile:

Hello @firecow,
thanks for resolving. Sorry I haven't been in office for the last few days, so I couldn't react to your questions. But I noticed you already figured out the "remote:" thing as Gitlab automatically determines http|https as remote without explicitly giving it the hint "remote:". Sorry if I have not been concrete enough. I'll try my best next time :-D

@typoworx-de No problemo :smiley:

Great work, just checked the new release and it works like a charm now :-D

Great, keep coming 👍

@firecow first of all thanks for making this. what an undertaking of a project.
second of, i'm not sure if this is the right place, but i'm getting an include fetch error:
% gitlab-ci-local "Plan Dev" --fetch-includes
Remote include could not be fetched https://gitlab.com/gitlab-org/gitlab/-/raw/HEAD/lib/gitlab/ci/templates/Workflows/Branch-Pipelines.gitlab-ci.yml
AggregateError

but if i plug in that URL to a browser, i get:
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Workflows/Branch-Pipelines.gitlab-ci.yml

# Read more on when to use this template at
# https://docs.gitlab.com/ee/ci/yaml/#workflowrules

workflow:
  rules:
    - if: $CI_COMMIT_TAG
    - if: $CI_COMMIT_BRANCH

the include in yaml:
include:
  - template: "Workflows/Branch-Pipelines.gitlab-ci.yml"

@justinTM Well, I don't know what your are experiencing.
But I will fix the problem preventing us from seeing the aggregate erros.


[FEAT] Improve the Theme again

Once #22 is implemented
Tasks

[ ] when not on top, display a button to go back to the top. Users can already do it by clicking on the logo of the navbar, but this doesn't seem obvious
[ ] footer: align the logo with the text
[ ] logo: use 'white stroke' logo only with the navbar. When displayed with red background, use the regular one
[ ] section height: too large when few content
[ ] Down the link for Github & Twitter on the first section

This issue was for the old theme. So, no need it anymore.


[WIP] Extract BSON/JSON code to separate package

BSON/JSON generation has been moved to bson package.
Types from paillier package had to be aliased (e.g. type Cypher paillier.Cypher).
I'm not sure how the BSON marshaling and unmarshalling was used up to now.
There might be some issues when calling it on objects with types from paillier package since bson generation methods are associated with types and now resides in bson package.
I had some problems with that in tests and need a (not so pretty) workaround:
key := paillier.CreatePrivateKey(big.NewInt(101), big.NewInt(113))
cypherOriginal, err := key.Encrypt(big.NewInt(100), rand.Reader)

cypher := new(Cypher)
cypher.C = cypherOriginal.C

This… Is annoying. :p
Thinking about it; I feel like there's a better solution lurking somewhere.

Yes, this is also what I was thinking. If folks have meta-structures that contain keys that they want to serialize to BSON, they can create marshal/unmarshal functions that invoke the ones in the bson package. It's slightly more annoying, but not too much.

Heh, one thing I realized after submitting the review: this library is BSON and JSON but only a few roundtrips are JSON-tested...
I think if we go with the suggested approach, we can easily add JSON later - shouldn't be longer than an hour and we'll have a significantly better test coverage then.

I dropped gopkg.in/mgo.v2/bson from my GOPATH, switched to this branch and:
$ pwd
/Users/piotr/go/src/github.com/keep-network/paillier
$ go test .
ok  	github.com/keep-network/paillier	0.099s
$ go test ./...
bson/encoding_cypher.go:11:2: cannot find package "gopkg.in/mgo.v2/bson" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/gopkg.in/mgo.v2/bson (from $GOROOT)
	/Users/piotr/go/src/gopkg.in/mgo.v2/bson (from $GOPATH)

It means everything works as expected - bson dependency is not needed as long as we don't touch serialization code. :tada:

I ❤ it!
If there are no further comments from @Shadowfiend I'll merge it at the end of the day and then you can create a PR to the original repository @nkuba.

Merge time!

Thoughts on opening an upstream PR with an explanation of how we've gone about this?

Actually, it's already there: https://github.com/didiercrunch/paillier/pull/4
Please let me know if I need to correct anything.

Oh nice :bow: :bow: :bow:


Rename concrete types for FinOrd and FinOrdRel

Renames the concrete subtypes of FinOrdFunction to FinOrdFunc and FinOrdVector and the subtypes of FinOrdRelation to FinOrdPredicate and FinOrdMatrix. If you've been using the abstract type constructors, like in the unit tests, nothing will break.
Resolves #184.

I had the same train of thoughts about that :)


Disable iree_tfl_tests/vmvx_mobilebert_tf2_quant.run.

Too slow for CI and the matching llvmcpu test is also disabled for a (possibly stale) correctness issue.
ci-exactly: build_all,test_tf_integrations,test_tf_integrations_gpu

Sample logs: https://github.com/openxla/iree/actions/runs/7120287369/job/19387873543?pr=15797#step:6:156
(note the timestamps)
Wed, 06 Dec 2023 21:47:29 GMT
XFAIL: TENSORFLOW_TESTS :: iree_tfl_tests/vulkan_mobilebert_tf2_quant.run (19 of 21)
Wed, 06 Dec 2023 21:49:35 GMT
XFAIL: TENSORFLOW_TESTS :: iree_tfl_tests/vmvx_resnet_50_int8.run (20 of 21)
Wed, 06 Dec 2023 21:58:11 GMT
PASS: TENSORFLOW_TESTS :: iree_tfl_tests/vmvx_mobilebert_tf2_quant.run (21 of 21)
Wed, 06 Dec 2023 21:58:11 GMT

Wed, 06 Dec 2023 21:58:11 GMT
Testing Time: 699.75s


Failed Autorest Regen Preview to 3.0.0-alpha.20231107.1 by Jorge Rangel from refs/pull/3891/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3891

API change check
API changes are not detected in this pull request.


convert_script_files does not require script to exist

Scripts can be generated during build.  But poetry-core insists that scripts exist ahead of time.
fixes https://github.com/python-poetry/poetry/issues/8856
obviously this is giving up some validation: it is now possible to build a wheel that points at a non-existent script.  But

I do not see an easy way of getting that back
probably it is pretty obvious when that happens
it already is possible to point at non-existent code in an entrypoint-style script, so in some sense this just puts things on an equal footing...

Superseded by #710


Page Not Loading [BUG]

Description
On an Android device, the page doesn't load instantly, like as if there's a setTImeout() for that
Screenshots
No response

It's great having you contribute to this project by creating an issue Make sure you are assigned to this before you work on it and you read the Contributing.md file, Thank you! Welcome to the community :nerd_face:

it loads, there just isn't a home page


Making the build path able to be modified using a buildPath parameter

To address the issue raised in https://github.com/InseeFrLab/keycloakify/issues/87. This PR begins the work of making the build directory configurable.

Hi @garronej , thanks for your feedback. I have added you to the repository. There are still some fixes left to do, hence the TODO which I have added.
Webpack outside of CRA doesn't seem to use a public folder. We need to either a) build the keycloak_static to an assets directory and pre-set it, or b) reference the static files into the file system. I need to spend some time to understand your code to see what is happening there. Could you provide any pointers on how it works? Is it just a file replacement?

Hi @adover,
Thank you for your for your contribution.
Two things before we move on with this:

I just added a new feature, the ability to customize email template, this cause a tot of conflict with this PR.
Have you considered creating a theme as a standalone project?

Closed for inactivity, feel free to reopen.


[Feature Request] Add option to disable splash color and splash radius

Hello,
Is it okay for me to add these features to this package?
Thank you

This package is discontinued, so I made another one that does the same things as this one.
Feel free to have a look at it and use it.
I will make what's possible to fix any issue (and also I'm looking for a mantainer)
pub.dev
Github repository


Update devcontainer.json

#1044
#1055
#1065
#108

@rizwan-r-r I don't see any Git diff, am I missing something?

@rizwan-r-r if you're able to share the changes you'd like to merge, we'd love to review and discuss further. Thanks!


⚠ Fortnite has degraded performance

In 74a8c4e, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1546 ms

Resolved: Fortnite performance has improved in 8ce7518.


Use more space for hover

Thank you for the plugin!
In some languages like C++ there could be really long strings in hover, so it is more comfortable to read it in bigger window.
Hover window of lspsaga has size to fit into vim window. But it could use all space of the OS window vim.lsp.buf.hover().
Here are screenshots what I'm talking about:
Lspsaga hover:

Default hover:

I think the size of the default hover window is more comfortable. Maybe you could add an option to control the behavior?

@glepnir can you expose this to the user? I'm using my monitors in a vertical orientation and 50% width is too narrow. Thanks.

aha ..can you show a pic about current behavior.

Right now it cannot be wider than 50% of the window, as you can see in #46c07b0


Command key incorrect capitalization in \Longman\TelegramBot\Telegram::$commands_objects

🐞 Bug Report
The \Longman\TelegramBot\Telegram::$commands_objects array keys get mb_strtolowered in https://github.com/php-telegram-bot/core/blob/master/src/Telegram.php#L265. When searching for a command in https://github.com/php-telegram-bot/core/blob/master/src/Telegram.php#L557-L562 the "key" does not get manipulated in the same way and thus even if the key photo exists in \Longman\TelegramBot\Telegram::$commands_objects, it isn't found because the key Photo is searched.
Required Information

?
!

Operating system
Windows 10/WSL2/Docker

PHP Telegram Bot version
0.71.0

PHP version
7.4.15

MySQL version
10.4.17+maria~focal

Update Method
Webhook

Self-signed certificate
no

RAW update (if available)
{...}

Current behaviour
no command object can be found.
How to reproduce
Register a PhotoCommand extending the UserCommand and upload a photo to your bot.
Expected behaviour
My aforementioned PhotoCommand should handle the upload.

@noplanman check  \Longman\TelegramBot\Telegram::getCommandObject(): in $command_class = $command_namespace . '\\' . $this->ucFirstUnicode($command) . 'Command' method ucFirstUnicode is used forcibly to get the correct class name while in if (isset($this->commands_objects[$command])) { return $this->commands_objects[$command]; } no string manipulations are performed on key cmp.

Yes, that is correct, because the command names are always lower case, but the classes have the first letter capitalised.
I still don't get any error when doing what @alpipego has reported.
Am I missing something here?

command names are always lower case

$message->getCommand() return raw user input as command here so lookup in getCommandObject() will be succeed only if the user has used lowercase characters.

Just break in getCommandObject method and see what happened here. It always gets executed correctly only because of the second part of the method where ucFirstUnicode is used forcibly to get the correct class name. As a result, new $command_class($this, $this->update) is returned (each time).
The necessary changes in getCommandObject can be described as follows:
$lookup_key = mb_convert_case($command, MB_CASE_LOWER, 'UTF-8');
if (isset($this->commands_objects[$lookup_key])) {
    return $this->commands_objects[$lookup_key];
}

Thanks for getting back to us @alpipego.
@massadm I'm still struggling to find out what exactly provokes a problem 🤷♂

Can you provide a step-by-step example of how to provoke the error?

@noplanman Issue command /CaNCeL, for example, break in getCommandObject method and see what happened here. You get CaNCeL in $command so lookup in $this->commands_objects always fails. As a result, new $command_class($this, $this->update) is returned each time.


KeyError: 'unknown'

This happens with the test set specifically. few_shot_target_transform can be extended as:
def few_shot_target_transform(unknown_words: list[str], word_to_idx: list[str], _0, _1, _2, _3, word: str):
    if word in unknown_words:
        return UNKNOWN_LABEL
    elif word == '_silence_':
        return NOISE_LABEL
    elif word == '_unknown_':
        return UNKNOWN_LABEL
    else:
        return word_to_idx[word]

Is this still a problem?

Yes. Maybe our downloaded datasets are different for some reason?
By the way, do you know why the test set is a separate download?

I have no idea about the separate download...


Inner request count exceeds the limit. Received: X, Limit: X

I was using https://stackoverflow.com/a/46235425/10585909 script but due to some security issues for the public key, I have to change to firebase-php using private security credentials.
    $push_input = [
        'data' => [
            'title' => 'PUSH MESSAGE TITLE',
            'subtext' => 'PUSH MESSAGE BODY'
        ]
    ];

    try {

        $factory = (new Factory)->withServiceAccount('FILE PATH OF CREDENTIAL JSON'); // or use auto-loading of credentials

        $messaging = $factory->createMessaging();

        $message = CloudMessage::fromArray($push_input);

        $result = $messaging->sendMulticast($message, ['T1', 'T2',...,'T1000']);

    } catch (Exception $e) {

        log_message('error', $e->getMessage());

    }

This returns Inner request count exceeds the limit. Received: 1000, Limit: 500 while it is working with 1000 tokens with this script https://stackoverflow.com/a/46235425/10585909
I am using kreait/firebase-php: ^5.0
I have changed the const variable MAX_AMOUNT_OF_MESSAGES in
https://github.com/kreait/firebase-php/blob/main/src/Firebase/Messaging/Http/Request/SendMessages.php and
https://github.com/kreait/firebase-php/blob/main/src/Firebase/Messaging/Http/Request/SendMessageToTokens.php from 500 to 1000

The reason is that your previous script uses the legacy FCM API, but the Firebase PHP SDK uses the HTTP V1 API, which has a limit of 500 tokens per batch request. The limits in the SDK code that you changed are there to avoid running into the error that you received after changing them ^^

Thank you @jeromegamez

The reason is that your previous script uses the legacy FCM API, but the Firebase PHP SDK uses the HTTP V1 API, which has a limit of 500 tokens per batch request. The limits in the SDK code that you changed are there to avoid running into the error that you received after changing them ^^

Thank you @jeromegamez

Thank you @jeromegamez


PROPOSAL: Smart Bitcoin Exchange (SBX) — A "Smart" Bailout Plan

PROPOSAL: Smart Bitcoin Exchange (SBX) — A "Smart" Bailout Plan

Author(s): Shomari (nyusternie) • (join us)
Source: https://gitlab.com/bchplease/sbx/-/blob/master/PROPOSAL.md
Last updated: Thursday, July 7th 2022

↳ https://sbx.cash
Introducing a distributed Proof-of-Stake (dPOS) network of SmartBCH stakeholders tasked with effectively managing the SmartBCH bridge using a suite of trustless, Free and Open Source Software (FOSS) smart contracts. This Federation of XHedge Validators will voluntarily run the newly developed SBX Manager on their respective network of nodes, offering a wide selection of decentralized Bitcoin Cash & SmartBCH services, namely:

Cross-chain coin transfers — eg. $BCH to $SBCH to $WETH to $WAVAX
Cross-chain NFT minting & burning — eg. BAYC, CryptoPunks, Clementine's, etc.
Gas Stations — ie. gas-free SEP-20 & SEP-721 (meta) transactions
Price Oracles
Token Mining
and more...

A "Smart" Bailout Plan
↳ https://docs.sbx.cash/bailout
This is an emergency proposal to mint a NEW $SBX token to fully "socialize" the outstanding debt of the ~101K $BCH (valued at ~$10M) currently "locked" and made unavailable by the "original" SmartBCH Treasury's custodian.

$SBX (Bailout) holders will receive a share of ALL exchange fees (0.1%),
PAID OUT DAILY, until the (Bailout) contract expires.

SBX Featured Resource Links
↳ https://docs.sbx.cash (documentation)
↳ https://canvas.sbx.cash (lean canvas)
↳ https://plan.sbx.cash (business plan)
↳ https://flipstarter.sbx.cash (mvp + bootstrapping campaign)
↳ https://gitlab.com/bchplease/sbx (open-source code)
Disclaimer
This alpha project is very early in its lifecycle. It will evolve rapidly over the coming weeks and months. Until we achieve our first mature release, we are not committed to preserving backwards compatibility. Buttons may be moved or removed in future versions.

Please take note! — We wanted to get this software in your hands as quickly as possible, so it's releasing before it's "complete". Bug reports and feedback on future directions are appreciated and encouraged! That said, we have LOTS planned and many new features are on the way.

Introduction
THE PROBLEM
Since its inception, the trust & security of the SmartBCH sidechain has laid in the hands of a single, for-profit company. Not only does that violate the very fabric of a decentralized network, it diminishes the confidence of the Builders who need to invest their time, money and talent into this nascent network during its incubation period.

Did you know? — There are currently ~101K $BCH being held by the "original" custodian of the SmartBCH treasury. In simple terms, $10M would be the total "Bailout" required to restore the SmartBCH sidechain 100% back to whole.

THE SOLUTION
The SmartBCH developers have brilliantly (pun intended) built-in a trustless Proof-of-Stake network of XHedge Validators directly into the protocol. These Validators have the most incentive and technical capability of managing the responsibility of custody for the network's assets; until a permanent solution is ready to be deployed on Mainnet.

TL;DR — The goal of this initiative is to create a Federation of XHedge Validators (scalable to at least 100+ participating nodes) connected over a low-latency, decentralized, P2P communications network with the responsibility of managing the SmartBCH Cross-chain Asset Bridge.

This proposal aims to accomplish ALL of the following:

Organize a working group of developers to build a Smart Bitcoin Exchange (SBX).
Coordinate with active Validators to safely deploy the all-NEW SBX Manager.
Coordinate with the current $SBCH Treasury custodian to safely transfer the "escrowed" $BCH into the Exchange's treasury.
Work with current DEXs (and other service providers) to integrate with the new network for decentralized $BCH <=> $SBCH asset exchanges.

Smart Bitcoin Exchange (SBX)

!! WARNING !! WARNING !! WARNING !!
This project is still under active development and MUST be regarded as ALPHA software. It will evolve rapidly over the coming weeks and months. However, until we achieve our first "beta" release, we are not committed to preserving backwards compatibility. Buttons may be moved or removed in future versions.
!!

SmartBCH currently utilizes a network of Validators to vote on each block in the network. As this network of Validators currently holds 50% of the voting power (the other 50% is held by miners), they are the MOST incentivized and technically capable group to engage in this scheme.
A suite of smart contracts will be deployed to manage the Exchange:
↳ SHA_Matrix_Exchange.cash (CashScript)
↳ SHA_Matrix_Exchange.sol (Solidity)
↳ SHA_Matrix_Treasury.sol (Solidity)
↳ SHA_Matrix_Gov.sol (Solidity)
↳ SBX.sol (Solidity)
↳ Bailout.sol (Solidity)

Did you know? — The Bailout contract will be active during the daily ~$10M debt repayments. The contract will automatically expire after the full debt is repaid and/or ALL "escrowed" $BCH are released from the former SmartBCH Treasury custodian and deposited into the SBX Treasury.

SHA-Matrix Exchange ($BCH)
This is a CashScript contract to "lock" the $BCH that has been minted as $SBCH within the SmartBCH sidechain.
SHA-Matrix Exchange ($SBCH)
This is a Solidity contract that effectively manages the network of trustees overseeing the Exchange.
SHA-Matrix Treasury
This is a Solidity contract that serves as a Multi-tenant Secure Assets Vault for the Exchange's (Solidity) contracts. By separating the Treasury, it allows the Exchange's contracts to be upgraded with bug fixes and new features, while guaranteeing that assets ALWAYS remain SAFU!
SHA-Matrix Gov
[ see the documentation ]
$SBX
[ see the documentation ]
Bailout
This is a Solidity contract that manages the Treasury for the (Bailout) funds. This includes both the funds recovered from currently "locked" $BCH, plus the revenue generated from fees paid to the Exchange.

Did you know? — The Owner of each of these (Solidity) contracts will be a Covenant of the TOP 15 Validators (by rating). The Owner of the CashScript contract will be a Covenant of the TOP 9 Validators (by rating). Rankings are updated each epoch (2016 blocks).

Part I: Exchange Overview
The Smart Bitcoin Exchange (SBX) provides a (temporary) decentralized solution for the resposiblity of managing the sidechain's treasury. Eventaually, the SHA-Gate contract will be deployed to Mainnet and perform the task of bridging $BCH <=> $SBCH.
To establish trust in the network, participants will be limited to the active pool of XHedge Validators. These Validators possess the MOST incentive to secure the financial safety of the sidechain.
Treasury
The exchange's Treasury is a smart contract (SHA_Matrix_Treasury.sol) that manages vaults for ANY form of crypto asset:

SEP-20
SEP-721
SEP-1155
and more..

Validators
The active XHedge Validators provide the highest level of trust & security for the exchange.
Part II: SHA-Matrix
As an alternative to the SHA-Gate v2 contract provided from the SmartBCH team, the SHA-Matrix is a community-run network of "trusted" individuals & teams with the technical capabilities to manage the responsibilities of the Exchange.
Part III: Discussion of Exchange Design
The ideal goal of the SBX would be to serve as central Clearing House and a point of "trust" for the many independently run Services in the Bitcoin Cash and SmartBCH communities.
Communications
We propose that "on-chain" is always the preferred means of trustless & transparency. We propose an "on-chain" protocol to manage the transparent (at times encrypted) communications of the Validators participating in the exchange.
OrbitDB will also be used as a low-latency, peer-to-peer channel for specific tasks.
SBX Manager
A new Free and Open Source Software (FOSS) Manager will be developed to be run by the participating Validators.

Safety & Security
One of the main goals of the SHA-Matrix is to dramatically increase the number of participants involved in the protection of the SmartBCH sidechain.
Validators will be weighted and scored based on their:

Number of votes
Up-time reliability
Peer ranking

Number of votes
This number will be retrieved from the XHedge contract.
Up-time reliability
Validators will be penalized during any server downtime.
Peer ranking
Validators will rank each other, based on "off-chain" assessments determined by each time. Low-ranked Validators will be subject to additional (authoritative) restrictions by the network.
Miner Participation
This exchange is based on Proof-of-Stake (POS) and therefore is independent of the Proof-of-Work (POW) network of miners currently securing Bitcoin Cash.
Exchange Integration
SmartBCH already has several mature Decentralized Exchanges (DEXs) running on Mainnet. We aim to work with their teams to offer "native" integration to the SBX, with the help of:

REST-based API services
Custom software implementations
Governance planning & design

3rd-parties Using the Exchange
SBX is an open protocol that is available to be used by anyone without permission.
Fees
[ see the documentation ]
Free and Open Source Software (FOSS)
In the spirit of full transparency, it's critical that the source code protecting the network be available to anyone and everyone who partipates in the network.
License
MIT

The total cost of a SmartBCH Bailout is approx. 101 $BCH

That's missing a "k" (x 1000) in there :)

That's missing a "k" (x 1000) in there :)

lol, yeah, that makes a bit a difference.
fixed!
thank you


what does it mean - Plotting two features?

Hi,
I'm really sure if this is correct to be posted here, but I'll give it a try anyway.
I'm trying to understand the algorithm and work my way through the examples. In the first example by generating the data you offer a method to visualise the data, but the script offers to plot only two features. What does it mean?
What two features of the data are plotted here? Does it means two columns of the matrix.txt data set?
Is there a way to plot more than just these two features?
thanks

I updated the example to plot a 2d embedding of the data. You can color the
embedding as you wish (e.g. by the expression of a gene, cluster labels,
etc.)
On Mon, Mar 11, 2019 at 10:09 AM rojuvalu<EMAIL_ADDRESS>wrote:

Hi,
I'm really sure if this is correct to be posted here, but I'll give it a
try anyway.
I'm trying to understand the algorithm and work my way through the
examples. In the first example by generating the data you offer a method to
visualise the data, but the script offers to plot only two features. What
does it mean?
What two features of the data are plotted here? Does it means two columns
of the matrix.txt data set?
Is there a way to plot more than just these two features?
thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/broadinstitute/wot/issues/37, or mute the thread
https://github.com/notifications/unsubscribe-auth/AE_pn4ZaI61AFZJTLfABy8AYL6NJJq-xks5vVmOogaJpZM4bosNf
.

thanks. this is great and fast work

Hi, what happened to the script 02_plotting_two_features.py?
it disappeared from the repository and running it now causes an error
$ python 02_plotting_two_features.py
Traceback (most recent call last):
  File "02_plotting_two_features.py", line 18, in <module>
    wot.io.add_row_metadata_to_dataset(ds, days_path=days_file)
TypeError: add_row_metadata_to_dataset() got an unexpected keyword argument 'days_path'

We are in the process of replacing the Examples page with a Tutorial page.
This will be available next week.
Although if you look carefully on Github you will see that the notebooks
are already there! They're just not quite complete now.
Best,
Geoff
On Fri, May 3, 2019 at 7:38 AM frymor<EMAIL_ADDRESS>wrote:

Hi, what happened to the script 02_plotting_two_features.py?
it disappeared from the repository and running it now causes an error
$ python 02_plotting_two_features.py
Traceback (most recent call last):
File "02_plotting_two_features.py", line 18, in
wot.io.add_row_metadata_to_dataset(ds, days_path=days_file)
TypeError: add_row_metadata_to_dataset() got an unexpected keyword argument 'days_path'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/broadinstitute/wot/issues/37#issuecomment-489067229,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACJCQYWFIQI63PJSGSBDNODPTQP3TANCNFSM4G5CYNPQ
.

It will be great if you can let me k wo, when the new scripts/ new version is online.

Hi rojuvalu,
We have just released WOT 1.0 and a tutorial:
https://broadinstitute.github.io/wot/tutorial/
Best,
Geoff
On Thu, Mar 21, 2019 at 4:17 AM rojuvalu<EMAIL_ADDRESS>wrote:

thanks. this is great and fast work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/broadinstitute/wot/issues/37#issuecomment-475143035,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJIoYo5xhLrxz9yRHnn9N_X_N977tqnjks5vY0AugaJpZM4bosNf
.


Remove azsdk-net- from User-Agent when the namespace is not in Azure.*

Library or service name.
What library or service is this request related to? Azure.Core
Is your feature request related to a problem? Please describe.
When using the Azure.Core library for a non-track-2 library (e.g. Microsoft.Zumo - the rewrite of the Azure Mobile Apps library), the User-Agent is set up as something like "azsdk-net-Microsoft.Zumo.MobileData/5.0.0-preview.1".  The azsdk-net- is not appropriate here since it's not an Azure track-2 library, even though it is using Azure.Core.
Minimally, I would expect the default user agent to drop the azsdk-net-, or exclude the telemetry policy.
Ideally, I'd be able to specify my own equivalent for azsdk-net-Microsoft.Zumo.MobileData so I don't have to exclude the telemetry policy.

We haven't had more requests for this feature.


PERF-#5182: pre compute dtypes in query compiler for binary operations

What do these changes do?
Similar to #5494 with the logic for pre computing dtypes moved to the query compiler.

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] signed commit with git commit -s
[ ] Resolves #?
[ ] tests added and passing
[ ] module layout described at docs/development/architecture.rst is up-to-date

Closed in favor of #5494.


No plugins from custom.plugins is loaded

I have the same problem as described in #34.
I've commented in that issue quite a bit.
To Reproduce
Steps to reproduce the behavior:

Add plugins to ~/.config/nvim/lua/custom/plugins.lua
Re-start vim or run PackerSync
No plugins from custom.plugins is installed

Desktop (please complete the following information):

OS: macOS 13.2
Terminal: iTerm2

** Neovim Version **

Output of running :version from inside of neovim:

NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.8.3/share/nvim"

My current ~/.config/nvim/lua/custom/plugins.lua: https://github.com/jby/nvim/blob/nvks/lua/custom/plugins.lua
return function(use)
  -- Configure nvim-tree
  use({
    {'nvim-tree/nvim-tree.lua', requires = 'nvim-tree/nvim-web-devicons'},
    config = function()
      require("nvim-tree").setup()
      'nvim-tree/nvim-web-devicons'
    end
  })
  -- Add friendly snippets
  use({
    'rafamadriz/friendly-snippets',
    config = function ()
      require('luasnip.loader.from_vscode').lazy_load()
    end
  })
end

ok I believe the problem is that you are using invalid Packer syntax (see packer readme for reference)
This should work
return function(use)
  -- Configure nvim-tree
  use {
    'nvim-tree/nvim-tree.lua', requires = 'nvim-tree/nvim-web-devicons',
    config = function()
      require("nvim-tree").setup()
      'nvim-tree/nvim-web-devicons'
    end
  }
  -- Add friendly snippets
  use {
    'rafamadriz/friendly-snippets',
    config = function ()
      require('luasnip.loader.from_vscode').lazy_load()
    end
  }

end

@tjdevries  I guess the readme should be updated? I won't submit a PR because I migrated to my own config a while ago and just got curios because @jby  resurrected my old thread.
@jby maybe you wan't to contribute here?
Have a nice day all around!

Cheers!
I'll be away from my computer for 2 days - I'll try this when I'm back.

I struggled a bit to get friendly snippets working myself.
I ended up with this:
  -- friendly-snippets
  use {'rafamadriz/friendly-snippets'}
  require("luasnip.loaders.from_vscode").lazy_load()

But maybe your snippet is better because it includes the lazy load call within the context of the use.
Trying to wrap my head around the more functional aspects of the way we do plugin configuration in Lua has been one of the steeper cliffs I've encountered in reaching Neovim enlightenment :)

Again I neither use kickstart.nvim nor friendly-snippets (not even packer atm) :) I just noticed the example in this repos readme not matching the specification in packers readme.
so I can’t really answer this question. Sorry ^^‘

I've tried it now and the changes in my custom.plugins suggested by @BKDevelop does solve the original question in this issue. However neither suggestion on how to configure friendly-snippets seem to work, not the initial suggestion from @BKDevelop, and not the modified version from @feoh...

Hmm, might not resolve this after all...
It (Packer) does install nvim-tree/nvim-tree.lua, but complains about it's config instead:
packer.nvim: Error running config for nvim-tree.lua: [string "..."]:0: attempt to call a nil value

Hmm, the above error only shows on 1 of 3 Macs where I've used this setup... 😕

Hmm, maybe not...

Hmm, found this https://vi.stackexchange.com/questions/38137/packer-nvim-error-running-config-for-package-attempt-to-call-a-nil-value
And if I change the config code to:
  use {
    'nvim-tree/nvim-tree.lua', requires = 'nvim-tree/nvim-web-devicons',
    config = function()
      require("nvim-tree").setup({})
      'nvim-tree/nvim-web-devicons'
    end
  }

I don't get the startup error any more...

I'm going to make it way easier to add plugins in #178. Give me a day or two and it should be much more obvious how to extend this easily.

Yeah, well - with your re-build I found https://www.lazyvim.org and will try that for a while instead.
Thanks for your work though.
I'll look back here when your #178 is merged and see what comes of it.


SQS handlers fail after upgrading from 4.10.4 to 4.14.0

We use res.sendStatus(200) in SQS handlers and that started to trigger the following error with minor upgrade of the package.
{
  "errorType": "Runtime.UnhandledPromiseRejection",
  "errorMessage": "SyntaxError: Unexpected token 'O', \"OK\" is not valid JSON",
  "reason": {
    "errorType": "SyntaxError",
    "errorMessage": "Unexpected token 'O', \"OK\" is not valid JSON",
    "stack": [
      "SyntaxError: Unexpected token 'O', \"OK\" is not valid JSON",
      "    at JSON.parse (<anonymous>)",
      "    at Object.getResponseToSqs [as getResponse] (/opt/nodejs/node_modules/@codegenie/serverless-express/src/event-sources/aws/sqs.js:13:45)",
      "    at forwardResponse (/opt/nodejs/node_modules/@codegenie/serverless-express/src/transport.js:33:39)",
      "    at forwardRequestToNodeServer (/opt/nodejs/node_modules/@codegenie/serverless-express/src/transport.js:160:3)",
      "    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
    ]
  },
  "promise": {},
  "stack": [
    "Runtime.UnhandledPromiseRejection: SyntaxError: Unexpected token 'O', \"OK\" is not valid JSON",
    "    at process.<anonymous> (file:///var/runtime/index.mjs:1276:17)",
    "    at process.emit (node:events:518:28)",
    "    at emit (node:internal/process/promises:150:20)",
    "    at processPromiseRejections (node:internal/process/promises:284:27)",
    "    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)"
  ]
}

In case of res.sendStatus(204) the error message is SyntaxError: Unexpected end of JSON input.
I think it's related to #628.

Thanks for the report. I'll update to swallow the JSON Parse error and return empty


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-29-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4822

Questions ?
Please refer to the Backport tool documentation


windows opengl errors invalid operation

from @dmogilevsky in #429 discussions
Hello, I am getting three different glos gl errors while running my Goki 3D viewer (based off the example gi3dviewer) and can't figure out what is causing them. While they don't break the viewer, I output important information to the terminal and sometimes I get these errors in such quantities it hides the information I am trying to print.
I get the following errors:
glos gl error in context: Uniform SetValue: mvp type: {Float32 0 3}:
glos gl error in context: Uniform SetValue: AmbLights type: {Float32 3 0}:
glos gl error in context: sld render:
These errors are all followed by:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
I get these often when opening a new window, and sometimes when trying to rotate or interact with my rendered model. They are consistent when opening new windows I've created, for example when opening up a dialog window with checkboxes, I always get the following in the terminal:
2020/12/30 15:44:54 glos gl error in context: Uniform SetValue: AmbLights type: {Float32 3 0}:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
2020/12/30 15:44:54 glos gl error in context: sld render:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
2020/12/30 15:44:54 glos gl error in context: sld render:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
2020/12/30 15:44:54 glos gl error in context: sld render:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
2020/12/30 15:44:54 glos gl error in context: sld render:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
2020/12/30 15:44:54 glos gl error in context: sld render:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
2020/12/30 15:44:54 glos gl error in context: sld render:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
2020/12/30 15:44:54 glos gl error in context: sld render:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
2020/12/30 15:44:54 glos gl error in context: Uniform SetValue: mvp type: {Float32 0 3}:
502 = INVALID_OPERATION: Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
Sometimes when opening the file select window which came with the gi3dviewer example, I also get one of these errors.
Any advice is appreciated.
Thanks,
Daniel

I'm pretty sure the cause of this bug in the first place is printing to the console!  It was happening to me because I had left a debug print statement in the code, and when I removed that, it was very hard to trigger.  Then I went to gogi preferences and turned on debug logging of various events, and it happened quickly.  Somehow, when a golang thread prints to stdout, it is losing its opengl context or something to that effect.
And the fact that the error itself prints to the console likely causes it to perpetuate.
I'll experiment with some potential fixes, but an immediate work-around would be to try writing output to a file instead of to stdout.

this seems to be working for me -- if Daniel can provide a confirmation that would be great -- releasing new version in any case

I just tried it again and am still having issues. I am building this on a remote Linux system. I tried removing all of my printing to terminal, and I verified that I received the update by checking version.go. I am getting the errors exactly as before :/

it seems strange that it would still print the errors because those specific cases of "Uniform SetValue" errors should not print out anymore.  I looked for other paths where they might be printed -- it is possible but I couldn't see any.  If you have your own package with a go.mod that specifies gi version, did you double check to update that?  that is what determines what is used during build under go modules -- i've made that mistake several times.
also, a remote linux system might introduce some lags in the rendering that could produce a similar issue, even without the printing -- but again I would have expected the update to stop printing those messages.
if you can set a breakpoint in goki/gi/oswin/driver/glos/gpu.go:112 (in your IDE or dlv), that is where the "gl glos err in context" error is generated, so sending the back trace from that point could give some clues as to the source of it.

it seems strange that it would still print the errors because those specific cases of "Uniform SetValue" errors should not print out anymore.  I looked for other paths where they might be printed -- it is possible but I couldn't see any.  If you have your own package with a go.mod that specifies gi version, did you double check to update that?  that is what determines what is used during build under go modules -- i've made that mistake several times.
also, a remote linux system might introduce some lags in the rendering that could produce a similar issue, even without the printing -- but again I would have expected the update to stop printing those messages.
if you can set a breakpoint in goki/gi/oswin/driver/glos/gpu.go:112 (in your IDE or dlv), that is where the "gl glos err in context" error is generated, so sending the back trace from that point could give some clues as to the source of it.

You were right, I didn't do the update correctly. Now that I have applied the update correctly, those error messages are gone.
Thanks again for the help, I greatly appreciate it!

You were right, I didn't do the update correctly. Now that I have applied the update correctly, those error messages are gone.
Thanks again for the help, I greatly appreciate it!


修复调用错误方法

这个 PR 实现什么功能/修复什么问题:
修复调用错误方法
是否需要 backport 到之前的 release 分支:

release/2.9.0
release/2.8.0

/cc @swordqiu @yousong

Codecov Report

Merging #855 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #855      +/-   ##
=========================================
+ Coverage    7.58%   7.58%   +<.01%
=========================================
  Files         344     344
  Lines       53669   53666       -3
=========================================
  Hits         4073    4073
+ Misses      49216   49213       -3
  Partials      380     380

Flag
Coverage Δ

#aFlag
7.58% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/azure.go
7.46% <ø> (+0.31%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm
/approve


 Chart component

after merger


wysiwyg field not populated

After saving and refreshing a page with TOAST the wysiwyg field is not populated. The content is visible in the front end (API). Any idea to solve this problem? I am running strapi 3.4.5.

v3.3.4 is working

v3.3.4 is working

Seems like there is a timing issue between the editor initialization and the moment when the markdown value is set by Strapi. This fix seems to be working for me, not sure if that's the proper way of handling the situation though:
https://github.com/sergeystoma/strapi-plugin-wysiwyg-toastui/commit/227ac09ccad9b5fa8e3114135b23a6f32ce4626c

@sergeystoma Could you please send us a PR?


Remove .only to reenable tests

Checklist

[-] I have added tests
[-] I have updated the docs and cheatsheet
[-] I have not broken the cheatsheet

i was thinking https://github.com/cursorless-dev/cursorless/issues/2105 but yeah if there's something out of the box

found a rule; updated issue. good call @auscompgeek


chore: update go.mod module to github.com/desmos-labs/desmos/v2

Description
This PR updates the go.mod module to github.com/desmos-labs/desmos/v2 in order to respect Go major version guidelines.
This will also make it possible for users to use Desmos v2 as a dependency inside their Go project, which is currently blocked.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Just a quick comment: I have no idea how it's possible that Codecov says it's going to reduce the coverage to 15% honestly. Makes no sense :sweat_smile:


could not launch chaincode lscc.syscc

What happened?
I meet an error when starting explorer:

What's more， I can open the web， but can't see any data

In Discord, I find some people facing the same question，I think maybe it's a bug？
https://discord.com/channels/905194001349627914/1300384544566022175
What did you expect to happen?
I want to solve this problem
How can we reproduce it (as minimally and precisely as possible)?
config.json
{
	"network-configs": {
		"store-network": {
			"name": "Store Network",
			"profile": "./connection-profile/store-network.json"
		}
	},
	"license": "Apache-2.0"
}

store-network.json
`{
	"name": "store-network",
	"version": "1.0.0",
	"client": {
		"tlsEnable": true,
		"adminCredential": {
			"id": "exploreradmin",
			"password": "exploreradminpw"
		},
		"caCredential": {
			"id": "admin",
			"password": "adminpw"
		},
		"enableAuthentication": true,
		"organization": "StoreMSP",
		"connection": {
			"timeout": {
				"peer": {
					"endorser": "300"
				},
				"orderer": "300"
			}
		}
	},
	"channels": {
		"carchannel": {
			"peers": {
				"sailer1.store.carlife.com": {},
				"sailer2.store.carlife.com": {}
			},
			"connection": {
				"timeout": {
					"peer": {
						"endorser": "6000",
						"eventHub": "6000",
						"eventReg": "6000"
					}
				}
			}
		}
	},
	"organizations": {
		"StoreMSP": {
			"mspid": "StoreMSP",
            "peers": ["sailer1.store.carlife.com", "sailer2.store.carlife.com"],
			"certificateAuthorities": ["ca0"]
		}
	},
	"peers": {
		"sailer1.store.carlife.com": {
			"tlsCACerts": {
			  "path":
				"/tmp/crypto/store.carlife.com/peers/sailer1.store.carlife.com/tls/ca.crt"
			},
			"url": "grpcs://sailer1.store.carlife.com:7057"
		},
		"sailer2.store.carlife.com": {
			"tlsCACerts": {
			  "path":
				"/tmp/crypto/store.carlife.com/peers/sailer2.store.carlife.com/tls/ca.crt"
			},
			"url": "grpcs://sailer2.store.carlife.com:7058"
		}
	},
	"certificateAuthorities": {
		"ca0": {
			"url": "https://ca_store:17053",
			"httpOptions": {
				"verify": false
			},
			"tlsCACerts": {
				"path": "/tmp/crypto/store.carlife.com/ca/ca.store.carlife.com-cert.pem"
			},
			"caName": "ca_store"
		}
	}
}`

Anything else we need to know?
In samrtcontract image:

In peer and order:

I use the legacy way to deploy chaincode:
https://hyperledger-fabric.readthedocs.io/en/release-2.5/deploy_chaincode.html#package-the-smart-contract
OS version

# On Linux:
$ cat /etc/os-release

NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
$ uname -a
`Linux DESKTOP-SL4G7T4 <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux`

</details>

I have fixed it,
If we want to use fabric 3.0, we need deploy chaincode as a service.
if we want  to use legacy way to deploy chaincode, 2.5.9 or lower version should be used


Time cartesian with grouped data

Hello all. First thanks for this fantastic plugin, but I have a (hopefully small) problem.
I'm using time cartesian chart with grouped dataset (please see included codepen) to display engine temperatures (start @ datetime, max @ datetime, stop @ datetime) . Time axis works well if only one dataset array is provided.
To understand my logic, please have a look at the following description. Currently I am working with 6 start-run-stop cycles for testing purposes.
Entry logic:
entry = {x: event datetime (moment), y: temperature (int)};
Dataset logic:
Engine start temp = [entry1start, entry2start, entry3start];
Engine max temp = [entry1max, entry2max, entry3max];
Engine stop temp = [entry1stop, entry2stop, entry3stop];
Expected Behavior
Please have a look at the attached drawing.
Current Behavior
Time scale should be distributed by assigned datetime. Eg. first cycle:
start @ 2017-11-02T20:30:00.000Z,
max reached @ 2017-11-03T13:07:00.000Z
stopped @ 2017-11-03T16:30:00.000Z
Now have a look @ codepen.
start is ok
max reached at 13:07, seems to be ok
stopped at 16:30, but bar is at the end of day
Second cycle is started at 20:53 but bar is placed before previous cycle's end
2nd cycle's max is reached at 11-04 04:50 but placed in center of day
2nd cycle's end is at 11-04 11:50 but placed to beginning at 11-05
...and so on
Possible Solution

Steps to Reproduce (for bugs)
I created a Codepen to reproduce my problem.
https://codepen.io/anon/pen/WdJrJY
Context

Environment

Chart.js version: 2.7.1
Browser name and version: Chrome 63.0.3239.132 64bit
Link to your project:

It seems this was fixed in 2.7.2 already

setting stacked: true fixes the issue in 2.7.2 or later

Closing this since it was reported as fixed

setting stacked: true fixes the issue in 2.7.2 or later

This is not fixed and requiring setting stacked: true is not the solution.
@kurkle would explain better than me why it's not fixed.

I think this issue is still occurring in v3.0.0-beta.4 https://codepen.io/anon/pen/WdJrJY

v3.0.0-beta.13 with markers for the correct locations:

https://codepen.io/kurkle/pen/XWNGjdN


can't get the same publickey from api.signatureProvider.getAvailableKeys() as cleos

Version of EOSJS
^20.0.0-beta1
Describe the bug
when i using the api.signatureProvider.getAvailableKeys() with default private key 5KPRRKtJmKEcVifeLd8mGGdtKP855HDDQ97sWG1wM4EGCDpyB8m,it retrurns PUB_K1_8QPw89hqrzohK6gKTHG8bVCte3thbwceE7rFN25k8GdPhTY43L,but when i use cleos wit h command cleos wallet private_keys,i can get :
[
    "EOS8QPw89hqrzohK6gKTHG8bVCte3thbwceE7rFN25k8GdPgsBJuu",
    "5KPRRKtJmKEcVifeLd8mGGdtKP855HDDQ97sWG1wM4EGCDpyB8m"
  ]

the last few chars from these two string are diffrent.
and i can get right account names from RPC with the cleos publickey, but the publickey from eosjs can not. have i do something wrong?
public key from eosjs:
PUB_K1_8QPw89hqrzohK6gKTHG8bVCte3thbwceE7rFN25k8GdPhTY43L

public key from cleos:
EOS8QPw89hqrzohK6gKTHG8bVCte3thbwceE7rFN25k8GdPgsBJuu

using the key from eosjs to get account names:

using the key from cleos to get account names:

K1 Public keys have two different ascii representations of the same underlying binary data. The EOS prefix is the prefix for the legacy format. The /v1/ rpc api uses it for backwards compatibility. Future rpc apis won’t produce that format. The PUB_K1_ prefix is the prefix for the current format. The checksum bytes at the end are different. Both the /v1/ api and eosjs2 understand either format on input.

K1 Public keys have two different ascii representations of the same underlying binary data. The EOS prefix is the prefix for the legacy format. The /v1/ rpc api uses it for backwards compatibility. Future rpc apis won’t produce that format. The PUB_K1_ prefix is the prefix for the current format. The checksum bytes at the end are different. Both the /v1/ api and eosjs2 understand either format on input.

Wow!got it!perhaps the PUB_K1_prefix i used at first time has something wrong,i try it agian and it works, thanks a lot 😄 😄

K1 Public keys have two different ascii representations of the same underlying binary data. The EOS prefix is the prefix for the legacy format. The /v1/ rpc api uses it for backwards compatibility. Future rpc apis won’t produce that format. The PUB_K1_ prefix is the prefix for the current format. The checksum bytes at the end are different. Both the /v1/ api and eosjs2 understand either format on input.

Wow!got it!The PUB_K1_prefix i used at first time have something wrong perhaps.thank a log!


Dropdown from file navigation and select path

Add a small carrot to the title
Tap and show a dropdown of file paths (overlay content)
Tapping a path pops back to that VC

Easy way to go back vs tapping back button over & over.
Would justify having a control for the inbox nav design too.
(Using Photos.app markup)

Sent with GitHawk

No too big of a fan, as I think it’s easier to use navigation the usual way, especially since I feel like this is a pretty limited use case?
Sent with GitHawk

I'd tend to agree with Bas here, you're not getting much more information than one level of navigation deep anyway which I don't think is a particularly slow thing to do!
Maybe if it was something like "Recent Files" or something? As a quick way to jump around within a single repo's code base? I think that'd be pretty handy!

I find getting back to root really annoying (tap back 5x). Also think this style nav could be applied elsewhere. Imagine a dropdown on Issues that have options for the owner and repo.
Once code browsing has more features (share url, link to lines, search) I’ll be spending even more time in here.
Idk, gonna explore this more.
Sent with GitHawk

Admittedly I misread the message and thought it was items within the same level, not the breadcrumb hierarchy
So actually might be helpful, but equally I like the idea of Recent Files especially if you're jumping around looking for certain classes that reference each other!
I'm also not against the implementation, I could definitely imagine a similar dropdown in other places!

Here's a good example control that either we can use or get inspiration from:
https://github.com/PhamBaTho/BTNavigationDropdownMenu


Incorrect chat_instance in WebApp.initDataUnsafe after update

Hi,
after updating to version 7.8.0, the chat_instance field of the InitDataUsafe object returns a different id on different devices (the expected behavior before version 7.8.0 was always the only one unique for different devices). Can you explain is this a bug with your sdk or is there a problem on the Telegram side?
Example:

twa-dev/sdk: 7.8.0
React: 18.2.0
Telegram Android: 15.10.0

I guess it's on Telegram side. I have never worked with chat_instance prop, but I can assure you that our wrapper does nothing with this prop. We just export what Telegram SDK returns.

yes, this is a bug on the telegram side. more here

yes, this is a bug on the telegram side. more here


GraphNode shouldn't allow to change its position (or it should update offset)

Godot version:
3.2.1
Issue description:
I found it quite confusing that my GraphNode doesn't stay where I put it. Turns out it has offset property used for its actual position and changing rect_position effectively has no effect (even if it looks like it has). Editing position of this node should be impossible or it should automatically set the offset.

Yeah, just noticed it.  It'd be better if the offset also changed with the rect_position.  I'll dig in the source code and see what can be done.

The offset of the GraphNode, relative to the scroll offset of the GraphEdit.
Note: You cannot use position directly, as GraphEdit is a Container.
(In the documentation of GraphNode)

@KoBeWi I think the offset should get updated with the change in rect position of the GraphNode. What do you think?

Yeah, setting offset changes rect_position, so it should work both ways.

Yeah, setting offset changes rect_position, so it should work both ways.

Indeed, makes sense this way. I'll look into the code and see what can be done.

@KoBeWi I've managed to update the offset with change in rect_position but the updated value of the offset shows up after saving the scene only. So, kinda stuck here but will work my way out.


Clustergrammer- Network load_file : Passing filename dynamically

Hi,
We trying to pass the filename dynamically in 'make_clustergrammer.py', each call the text file name will be different.
fileName = sys.argv[1:]
loadFile = ''.join(fileName)
decoded_string = bytes(loadFile, "utf-8").decode("unicode_escape") # python3
load matrix tsv file
tempassign = decoded_string.replace('"','')
confilename = 'txt/' + tempassign  + '.' + 'txt'
print(confilename )
net.load_file(confilename)
Error which i m getting as follows,
FileNotFoundError: [Errno 2] No such file or directory: 'txt/.txt'
1 . assigned variable is empty
2. I m communicating python script from nodejs.
Pls help me out, i got stuck with this more than a week.
Really, this clustergrammer is what needed exactly for our project.
We using MEAN(MongoDb, ExpressJS, Angular 4, NodeJs).
Thanks in advance.

Hi,
It sounds like you are using the base Clustergrammer-PY library and not this widget. Your error
FileNotFoundError: [Errno 2] No such file or directory: 'txt/.txt'
looks like your tempassign string variable is empty. I would check (e.g. print out the variable) that you are setting this variable correctly (or try first 'hardwiring' the variable, e.g. explicitly set tempassign to what is needs to be for testing purposes). I'm not sure I understand your setup; are you running a node.js server that is executing the Python script?
Let us know if that helps out.
Best,
Nick

Hi,
You raised another issue in the Clustergrammer-PY library. Does this mean that you resolved this issue?
Best,
Nick

Nope, i kept that on hold.
Bypassed that issue by passing static file path.
Need to work on that later.
Thanks in advance.


Test failing after #1323 got merged, and reverted by #1324 needs to be fixed

#1324 removed a test failing due to #1323, but it's unclear if that test is bad or if there's an actual bug.

Test was against the 05-06 conversion, which was eliminated in the "lost commit" in favor of the 06-07 conversion. Tests probably need to be rewritten for 06-07

@himanshug had created tests between the lost commit and the re-instatement of the lost commit, which were against the old 0.6.x branch version of the class.

yes, i think it was testing 5to6 property conversions and not valid with changed code which does 6to7 conversion.
With #1323 we've sort-of made implicit decision that "convertProps" wouldn't support 5to6 conversions.
If we still want to support both 5to6 and 6to7 configuration updates then we can probably have classes
ConvertProperties5To6.java (command "convertProps5to6")
ConvertProperties6To7.java (command "convertProps6to7")
and this model can be extended to further version updates.

It's unlikely that someone would be able to upgrade straight from 0.5.x to 0.7.x so we decided to remove the 0.5 -> 0.6 convertprops in 0.7, and only leave them in the 0.6 branch.
@himanshug would you like to contribute tests for the 0.6 -> 0.7 conversion instead?

The upgrade convention was one that was decided upon among a relatively small group of people: That any major version must be able to upgrade properties from the prior major version, but is not required to support upgrades from older versions. If that needs to change it would be very worth bringing up to a wider discussion.

@xvrl sure, I will send updated UTs .


Leave interpolations

Coverage decreased (-0.02%) to 99.038% when pulling 92c432c200795c4921fe93f2d97e8a796efc5dc8 on leave-interpolations into 78e43fdb6b453410b79b32abdd2b93cde1e87e46 on master.

Coverage decreased (-0.02%) to 99.038% when pulling bb21f5a04f55076ac3435436d5a677f65b546126 on leave-interpolations into 78e43fdb6b453410b79b32abdd2b93cde1e87e46 on master.


Optimize Mirrors for Speed and Enhance Pacman UI

This script optimizes Pacman for speed and aesthetics

Updates mirror list for faster downloads using reflector
Modifies pacman.conf to enhance performance and aesthetics

Key features:

Selects fastest mirrors based on download rates
Configures parallel downloads for improved speed
Enables colorized output for better readability
Enables ILoveCandy option for a fun ASCII art progress bar

Type of Change

[x] New feature
[ ] Bug fix
[ ] Documentation Update
[x] Refactoring
[ ] Hotfix
[ ] Security patch
[x] UI/UX improvement

Description

Enabling parallel downloads for faster download speed
Enabling ILoveCandy option for a fun ASCII art progress bar
Activating color output for improved readability

Testing

Tested the script on a fresh Arch Linux installation
Verified that parallel downloads are working as expected
Confirmed that color output is correctly displayed in the terminal
Confirmed that ILoveCandy option is working as expected
Confirmed that reflector is working as expected

Impact

Issue related to PR

Resolves #

Additional Information

Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

'Full System Update' uses rate-mirrors on Arch systems. Duplicating that functionality with a different tool is probably not the best idea.


SSD300MobileNet predicts bad results

Hi there,
I tried to run the code in SSD.ipynb just like you have it: with the model ssd300MobileNet, and picking the weights you provide at https://drive.google.com/drive/u/0/folders/1F8GjD3BFhf_hv9Ipez0twRptYc3P8YwP (MobileNetSSD300weights_voc_2007.hdf5), and I get these results:

you can see they have nothing to do with the results you present.
Could you tell me what can be wrong? Are the weights the correct ones? Is the model working?
Thanks!

Hi!
I have got the same issue but I think I have found the solution:
on this line:
model.load_weights('./MobileNetSSD300weights_voc_2007.hdf5', by_name=True)
change by:
model.load_weights('./MobileNetSSD300weights_voc_2007.hdf5', by_name=False)
and try again.
I cannot understand what it is the meaning of the parameter "by_name",
Please tell us if this solution works for you in order to help all users to understand better this model.

Ok!, I have reviewed this model again, I have discovered that the model has changed and now to set by_name=False get an error. If you retrain it. The model will work better.  However, It means that the first weights Maybe do they have a kind of error?


Polymer-cli complains about isIfSentence of null

This seems to be a Babel issue fixed in latest version:
https://github.com/babel/minify/issues/850

I'm seeing this, too, in my app, which is based off pwa-starter-kit (though I do not see the error there or with the books PWA).

Got the same error
`><EMAIL_ADDRESS>build:prpl-server /home//Dev/**

polymer build --auto-base-path && gulp prpl-server

info:	Clearing build/ directory...
info:	(esm-bundled) Building...
info:	(es6-bundled) Building...
info:	(es5-bundled) Building...
warn:	js-transform: Unable to optimize /home/ludo/Dev/EcareMobile/src/components/my-app.js
{ err: 'Cannot read property 'isIfStatement' of null' }
`

https://github.com/Polymer/tools/pull/3388 should fix this.  Bugs in babel-preset-minify - disabling some of the features/plugins it uses works around this.

Published<EMAIL_ADDRESS>and<EMAIL_ADDRESS>9 days ago.  Fixed this.


chore: split Committee in its own crate

CI will fail because of the gateway proptest issue with the dev field:
https://github.com/AleoHQ/snarkOS/pull/2541
I understood that @vvp has a different fix in mind though.


Project crashes with PHP 8.2

Winter CMS Build
Other (please specify below)
PHP Version
Other (please specify below)
Database engine
MySQL/MariaDB
Plugins installed
Winter.Demo, Winter.Builder
Issue description
My project runs normally with Winter 1.2.1 and PHP 8.1.
It crashes after switching the PHP version of the Apache Server to 8.2. This is the warning I get:

Steps to replicate
1- Go to settings of the server to change the PHP version from 8.1 to 8.2.
2- Restart the server.
3- Update the browser where the project runs.
Workaround
No response

As of PHP 8.2.0, php_zip.dll DLL must be enabled in php.ini. Previously, this extension was built-in. Check the link for further info: https://stackoverflow.com/a/3872578

I'm kind of against checking every php module every request, but we could add a cli command to validate the environment perhaps?

Maybe we could do it once and cache it forever against a key of the current php version? That way we could perform the check while booting and only do it once

I think this is a hosting issue, not a Winter issue. @RoKrypto said they switched PHP versions on a pre-existing install - it's up to the hosting provider (or the person managing the hosting) to ensure the correct PHP extensions are enabled in this scenario.

@RoKrypto please review the enable extensions in whichever interface you used to switch the PHP versions, and ensure that all required extensions are enabled. Feel free to reopen this issue if all the extensions are enabled and you are still getting the error.


WebXR improvements

It is now possible to add a fullscreen GUI ADT to WebXR using the XR Layers feature. This reuses the same API that is used on desktop, so the experience can work on both desktop and XR. Note - no interaction is possible in XR (as this is a layer that is rendered on top of the XR environment)
Added the ability to add a quad XR layer. At the moment only internally, as I want to change the API and make sure we can easily support all other XR layer types.
Firefox reality is no longer a thing - removed code directly related to it.
Added hand tracking as an optional feature - this will allow devs to use the hand meshes directly instead of seeing the static default hand models.
Fix an issue where the baseLayer will be created twice when using XR Layers
Added a warning when attaching or detaching a feature didn't work as expected
Remodelled the internal architecture of WebXR layers, imrp
Small fixes for the webxr declaration
Moved WebXR composition layer implementation(s) to a new directory for structure. These are internal classes so it's not a breaking change.
Fixed an issue that is apparent when using the webxr emulator
made small changes to the session manager's architecture.
fixed an issue with clearing when in multiview mode and in layers

Converted to draft as I want to run a few tests before merging it to be sure all scenarios work as expected.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14753/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14753/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14753/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14753/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14753/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14753/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14753/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14753/merge#BCU1XR#0

Let me and @hmallen99 know when this is out of draft and we can integration test with our BabylonJS XR app on Quest 2/3, Pico 4, and Apple Vision Pro system browsers. (We can also test Wolvic on Quest 2/3 and Pico, if that's helpful for you.) We typically take up each BabylonJS release pretty quickly, but happy to test this branch specifically since it's a larger change.

Thanks a lot @matthargett !!! so cool to be able to count on the community for this !!! I bet @RaananW will be pretty happy with it as well.

Let me and @hmallen99 know when this is out of draft and we can integration test with our BabylonJS XR app on Quest 2/3, Pico 4, and Apple Vision Pro system browsers. (We can also test Wolvic on Quest 2/3 and Pico, if that's helpful for you.) We typically take up each BabylonJS release pretty quickly, but happy to test this branch specifically since it's a larger change.

Thanks a lot!
I am planning on running many different scenes using this code today and next week.
I want to test multiview and non-multiview layer sessions, the new way to add an ADT in XR, and, in general, make sure that all other scenes that are already working are working as expected.
There is also the aspect of the default support for hand tracking - I am a bit afraid some devices wouldn't like it at all. I did fix a small issue that prevented this PR to work correctly on the vision OS, so knowing how other devices react to this would be great
Also important - I changed the clearing mechanism a bit. I want to know that utility scenes are working rendering correctly. So far my tests were successful.
When I start testing I will share playgrounds I am testing with.

Experimental playwright test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14753/merge/testResults/webgl2playwright/index.html

Getting started :-)
All of those scenes should work in quest OS. Layers and multiview playgrounds should fail in non-supporting devices, but everything else should work in any other device!
Fullscreen UI + Layers : https://playground.babylonjs.com/?snapshot=refs/pull/14753/merge#98tm63#219
Fullscreen UI + Layers + Multiview : https://playground.babylonjs.com/?snapshot=refs/pull/14753/merge#98tm63#220
Hand support (without explicit feature enable) - https://playground.babylonjs.com/?snapshot=refs/pull/14753/merge#X7Y4H8#216
Simple scene with teleportation and input support: https://playground.babylonjs.com/?snapshot=refs/pull/14753/merge#9K3MRA#2 - This scene should work when switching from controller to hands and back to controllers.
I will continue pasting playgrounds, going to test these now.

Did some testing on Pico 4, and there's a glitch that may be the Pico's fault. I had to reboot the device to be able to run any more demos. I let Dexter (Browser maintainer on Pico) know in Twitter DM and referred him to this PR.
Uploading ScreenRecording_2024.02.04-21.32.54.mp4…

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14753/merge/testResults/webgpuplaywright/index.html

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14753/merge/testResults/webgpuplaywright/index.html

I have tested these and other playgrounds and made sure they all work correctly on both the quest pro and the quest 3. I made a few changes (notably the very important dont-clear-on-your-own flag passed to the layers). Would be great to know if anyone has any other feedback!
Another playground to test with - https://playground.babylonjs.com/?snapshot=refs/pull/14753/merge#9k3mra#1430 . This one was flickering before this PR.

Did some testing on Pico 4, and there's a glitch that may be the Pico's fault. I had to reboot the device to be able to run any more demos. I let Dexter (Browser maintainer on Pico) know in Twitter DM and referred him to this PR.

Would be great to test it again and see if it was the clear flag's fault (though perfectly valid)

Note - playground links updated

Fixes #10592

@RaananW I ll let you merge when you want.

any ETA when Quad Layer will be available for public?

This is (one of) the first XR task after 7.0 is released. As you see I have not exposed the createQuadLayer so we don't have back-compat issues. I want to add the media layers first, and afterwards the rest of the shaped layers and exposing their RTTs to allow you to render anything onto them.

Awesome. Thanx for update


feat: added default VB without opening side panel in preview and meeting room

Details(context, link the issue, how was the bug fixed, what does the new feature do)

It allows default virtual background to be set automatically without sidepanel to be opened.

Implementation note, gotchas, related work and Future TODOs (optional)

It takes 1-2 seconds to download the VB image, which is configurable in 100ms config.

Mistakenly created PR.


Duplicated paste when mouse scrolling clicked

Version: 1.0.77
Platform: linux 4.18.0-18-generic
Plugins: altair, relaxed-theme

I Have the same problem.
Version: 1.0.79
Platform: linux 4.15.0-54-generic
Plugins: quick-cmds

I'm having this issue. I downloaded and am running from source and can't repro so I'm wondering if it somehow got fixed along they way but not released

I'm having this issue.
Version: 1.0.112
Platform: Fedora 32
Installed from rpm.


Added Raw Sentence for On Duplicate Key Update

Hi,
thanks for your very usefull package. While I was using it, i noticed that a SQL sentence such as

INSERT INTO t1 (a,b,c) VALUES (1,2,3)
ON DUPLICATE KEY UPDATE c=c+1;

cannot be created using your current package. I saw the panyanyany solution and was exactly what I needed, but it was not finished.
So Based on his solution, I've updated the package. For managing that c=c+1.  Such code must be included as Raw in the 2nd array. If it is not included as Raw it will (as your solution) included as a=VALUES(a)
User::insertOnDuplicateKey([$newUser],['name',DB::raw('counter=counter+1')]);
Previous sentence will update the field name with the new data, counter field to its current value + 1
I've included 2 new tests to your tests. For performing the test I've modified the Users Migration adding 2 new fields: counter (integer, default 0) and counter_updated_at (timestamp nullable)
Test #1 testCounterUpdate : field is inserted, but only the counter is updated (to +1)
Test #2 testCounterAndDataUpdate :  field is inserted and name, email, counter (+1) and counter_updated_at (tomorrow date) are updated
thanks for all.

I think specifying expressions in the columns to update is really hacky and confusing, I implemented it so you can do
User::insertOnDuplicateKey(['id' => 1, 'counter' => DB::raw('counter + 1')])
which is consistent with how you do it with insert or update, is that ok?
Also why do you even need to use expressions in insertOnDuplicateKey since it's used to bulk update with different values for each row and this just uses the same expression for every row?

Hi Guido
thanks for your prompt answer.
I've checked that your solutions works if the inserted and updated values are exactly the same... i.e. counter+1
But, if we want different values it won't work. I.e., we want to make a bulk insert/update of users, where we should set the status "new" to the new ones, "duplicated" to the already existing.
Something similar to this could work... what do you think???
User::insertOnDuplicateKey(['id' => 1, 'status' => 'new'],['status'=>'duplicated'])

And that should generate INSERT INTO users (id, status) VALUES (1, "new"), (2, "new") ON DUPLICATE KEY UPDATE status = "duplicated")?
That looks good, however the 2nd argument is currently used to limit the columns to update, do we force the user to specify all the columns to update if he wants a custom value for ON DUPLICATE KEY UPDATE instead of the default VALUES(column)?
Like
User::insertOnDuplicateKey(['id' => 1, 'name' => 'foo', 'email' => 'foo', 'status' => 'new'], ['name', 'email', 'status' => 'duplicated'])
Where if the key of an element of the 2nd argument array is an int we assume the value is a column to update with VALUES(column), and if the key is a string we assume the key is a column to update and the element's value the value with which to update it. And the value can be an expression or a string/int/float literal, in which case we concatenate a ? placeholder to $sql and push the value in $bindings.

Cool!!! sounds good.
Thanks

Is my implementation ok?

Works perfectly.
Thanks!!!

All right, I drafted a new release with the new feature.


MySQL is missing from Selecting a Datastore

Not sure if there just aren't MySQL specific flags or if this is an oversight
https://github.com/authzed/docs/blob/main/docs/spicedb/selecting-a-datastore.md
https://docs.authzed.com/spicedb/selecting-a-datastore#mysql

Thanks for adding that! Is there anything to know if I'm using Vitess as the backing store? I saw the note in the PR about adding more context in the future.
Fixed by #65

cc @vroldanbet who knows best
I believe the MySQL datastore with the intent of being used primarily with Vitess. It was contributed by GitHub who is one of the largest Vitess users.

The MySQL Datastore was designed with Vitess in mind, but nothing in SpiceDB's test suite prevents it from ending up being incompatible with Vitess as the code evolves, because the tests execute only against MySQL . The best course of action would be to create a new test suite that uses Vitess instead of a vanilla MySQL.
I cannot guarantee incompatible changes haven't been introduced ever since, but I'd be surprised since it hasn't changed that much after getting open sourced.

Closing; please reopen a new issue about Vitess if interested @derekperkins


/articles: footnote "return to text" button reopens the article in a new tab instead of scrolling back to text

Example: https://redesign.aprillion.workers.dev/questions/6222/Isn’t-it-immoral-to-control-and-impose-our-values-on-AI

@mruwnik doesn't seem done on the redesign site e.g. https://redesign.aprillion.workers.dev/questions/6194/Is-AI-safety-about-systems-becoming-malevolent-or-conscious

it works for me on firefox and sort of on brave, i.e. brave seems to have slight problems with the back links, but if I click a second time it scrolls back to the reference link

Works fine for me (on Chrome) now. All good on your end @melissasamworth?

Ok never mind, this one doesn't work for me https://aisafety.info/questions/9J1L/Alignment-research


Use generated LexAuthUser type on client

I just realized that I lost this commit at some point. It was number 276 in my reflog 😆.
I think it's a valuable clean up. I'm putting it here, so it doesn't get lost again.
I'll plan to get this ready for review soon.

Hooray for the git reflog!
And now I'm curious: what were you doing that had you reading that far down in the reflog? I rarely need to look past the 30th entry myself.

I was specifically looking for this commit. grep enum found it for me, then I navigated there in history to see if there were any other important neighbouring commits that needed to be rescued ⛑.


[bugfix] Do not move real-time segments to working dir on restart

Context
We're running Pinot on K8S in one of the public clouds, with pinot.server.instance.segment.directory.loader=tierBased and multiple tiers/volumes and data directories.
We've noticed that working directory of Pinot (located on ephemeral storage) collects plenty of real-time segments that, per configuration, shall reside in the respective data directory for a tier (persistent storage). Further investigation revealed that RealtimeTableDataManager doesn't initialize IndexLoadingConfig during segment loading, thus forcing the segment to be moved to <empty>/<segment_dir>, which results in a folder in the working directory. The latter contributes to the instability of Pinot and longer restart times.
How to reproduce:

Set pinot.server.instance.segment.directory.loader=tierBased
Create a completed real-time segment.
Restart pinot-server, observe the relocation of the segment to the working dir.

Changes:

Initialize indexLoadingConfig with table data dir, in the same way as BaseTableDataManager.addSegment is doing.

Codecov Report

Merging #11226 (84f4e0f) into master (834c970) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master   #11226   +/-   ##
=======================================
  Coverage    0.11%    0.11%
=======================================
  Files        2227     2227
  Lines      119628   119629    +1
  Branches    18102    18102
=======================================
  Hits          137      137
- Misses     119471   119472    +1
  Partials       20       20

Flag
Coverage Δ

integration1temurin11
?

integration1temurin17
0.00% <0.00%> (ø)

integration1temurin20
?

integration2temurin11
?

integration2temurin17
?

integration2temurin20
?

unittests1temurin17
?

unittests1temurin20
?

unittests2temurin11
0.11% <0.00%> (ø)

unittests2temurin17
0.11% <0.00%> (ø)

unittests2temurin20
0.11% <0.00%> (ø)

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

Files Changed
Coverage Δ

...ata/manager/realtime/RealtimeTableDataManager.java
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@klsince Can you also take a look?

@klsince , updated the code. Tier information for segments that belong to offline table is provided at the level of HelixInstanceDataManager, as otherwise it would mess with the variety of overloaded addSegment methods. The latter  now seem to have certain convention behind, so I left that in tact.

Rebased


Minting NFT - "dancing"

Look at the text Minting NFT. What is this weird dance? Jumping back and front? Is our minting NFT autistic?
https://github.com/user-attachments/assets/de365911-d0fc-45ce-a6e7-19fb5e34c7fb

I'm not able to reproduce it


lxd-unwrapped-lts: 5.21.0 -> 5.21.1

lxd-unwrapped-lts: fetch from github and fix updater
lxd-unwrapped-lts: 5.21.0 -> 5.21.1

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 324015 run on aarch64-linux 1

2 packages built:

lxd-lts
lxd-unwrapped-lts

@ofborg build lxd-unwrapped-lts lxd-unwrapped-lts.passthru.tests


Installation takes so much time

System information (version)

OpenCV => 4.4
Operating System / Platform => Mac OSX 64 bit, OSX version 10.12.6
Environment => virtualenv
Python => 3.7.6

Detailed description
It takes more than 30 minutes to install, and is stuck at installation for more than 30 minutes.
Building wheel for opencv-python (PEP 517) ...

Steps to reproduce
pip install opencv-python

Issue submission checklist

[x] I report the issue, it's not a question

[x] I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution

Yeah, building from source takes time. It's normal for heavy C++ projects such as OpenCV. And if you are wondering why that happens: there are no pre-built wheels for macOS 10.12. Pre-built wheels are provided only for 10.13 and later: https://github.com/skvark/opencv-python#backward-compatibility
Solutions: upgrade your OS or just wait for the compilation to finish.

@skvark Headsup, now opencv-python only provides pre-built wheels for 10.15 and later with commit: 6336ca866644dc5daf64831a4352c23479e1d248 that pins macos-latest or macos-10.15 for building these binaries. See:
https://github.com/opencv/opencv-python/blob/86c3d2a285c16f95a66c07275187da3f95be0af5/.github/workflows/build_wheels_macos.yml#L24-L30

@asmorkalov please reflect this update in README too.


Upgrade Code to SCCS v8.1

This includes making the new commerce-related reports in XDB available with enough historical data and the new Merch Manager changes

This will likely fall into early 2016 due to the timing of the release and for the Reference Storefront to get updated before doing this.


Generate pyproject.toml

https://github.com/ManderaGeneral/generalimport/issues/18#issuecomment-1508502467
Maybe leave setup.py with a shim? https://stackoverflow.com/questions/62983756/what-is-pyproject-toml-file-for

Maybe I could deprecate metadata.json and only use this?

Had issues with pip install -e .
Found here that you can do pip install -e . --config-settings editable_mode=compat.
That works but writes a warning
DEPRECATION: Config settings are ignored for project file:///C:/Code/Repo/generallibrary. pip 23.3 will enforce this behaviour change. A possible replacement is to use --use-pep517 or add a pyproject.toml file to the project.


Bring back setRapidsShuffleManager in the driver side

Signed-off-by: Alessandro Bellina<EMAIL_ADDRESS>This should fix the failure reported here: #3379.
This was an inadvertent change introduced in https://github.com/NVIDIA/spark-rapids/pull/3323, that effectively breaks the UCX shuffle manager in HEAD.

build


Sentences should end with single '.'

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Sentences should end with single '.'

Finally! Thank you .. I an new to Git, will find more better issues next
time.
On Thu, Oct 25, 2018 at 7:03 PM Honman Yau<EMAIL_ADDRESS>wrote:

Merged #28529 https://github.com/freeCodeCamp/freeCodeCamp/pull/28529
into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/pull/28529#event-1926223934,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANH6KtJkBuMwOA0sCmfpTtqa6VTcIhbCks5uob2sgaJpZM4X6O1h
.


two FFt？

Why are two FFTs used in the model? Are there any differences in their output results? Why do we need to input the decoder together?
Which package and line is FFT in the code file？

The model outputs the z0 and noise simultaneously, so there are two FFTs.
The FFT module is here

The model outputs the z0 and noise simultaneously, so there are two FFTs. The FFT module is here

Hello!
I have a question to consult. If we don't add noise to the image, would the FFT module be able to filter out non-edge parts ? As edges are high frequency parts of images, I am guessing this FFT module would learn to filter out those low frequency parts to get edges.


Automatic Backup and Restore service for Service Fabric stateful services was announced at Ignite

At Ignite general availability of the Automatic Backup and Restore service for Service Fabric stateful services was announced:
https://azure.microsoft.com/en-us/blog/azure-service-fabric-updates-at-ignite-2018/
Wondering if the Preview tag should be removed as I cannot see this feature in the latest release notes: https://blogs.msdn.microsoft.com/azureservicefabric/2018/10/01/microsoft-azure-service-fabric-6-3-second-refresh-release-notes/

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

ID: 3f2bc356-6903-4a75-4c60-2888595afead
Version Independent ID: f993726e-375d-3f34-6423-957fa9273aa5
Content: Quickstart - Periodic backup and restore in Azure Service Fabric (Preview)
Content Source: articles/service-fabric/service-fabric-backuprestoreservice-quickstart-azurecluster.md
Service: service-fabric
GitHub Login: @hrushib
Microsoft Alias: hrushib

Assume this doc will be updated once Service Fabric run-time version 6.4 is available for download?

@MedAnd, your assumption is right. It will be updated once the GA bits of this feature are shipped.


Add ignoreNonDOM option

This closes #177

Coverage remained the same at 100.0% when pulling c397d09912d8cdc6639933487d92385dd93b3642 on merlinpatt:patch-1 into 06a0ff115a75ca810f60657e7865240dbea8e0d3 on evcohen:master.


Unlimited Vests

https://medal.tv/games/gta-v/clips/25Ntg0ggWNe5cY/d1337XKYjzo2?invite=cr-MSxjZVksMTY2NjAyNDI0LA
:) if you spam the cormand you get multibel
think it neads a cooldown

I think with the last update it's fixed.

We just got the Script 2 / 3 weeks ago :)

I updated it now

Ohh Was not updaet At my page :D ! i wil check it out