Stopped working last night on Google Chrome

Last night the extension stopped working for me.  The gwei number just froze and wouldn't update.  I have tried rebooting and uninstalling/reinstalling etc but it won't start working again.  Now I have uninstalled and reinstalled instead of a number it is just displaying three dots like ...
I am using the extension on Google Chrome (automatic updates enabled)/Windows 7.
Thank you for any help.  This is a very useful and good extension so would love for it to be working again

.

I have the same issue. When I press separately on 3 websites they work but extension itself is not working.

Same here. Stopped working few days ago. No gas updates.

Sorry everyone, this is because this extension used to rely on a backend that proxied requests to the various gas services it uses to optimize for speed and reliability, however the extension has gotten so popular that server costs to run this proxy had gotten to a level that I couldn't justify anymore for a free extension.
Hence I've shut down the proxy server and modified the extension to query the gas services directly from each user's browser. There may be some things to polish at first with this new approach (esp. with rates limits and whatnot), but it's an approach that works very well too.
The new version (1.3.0) is functional and was published several days ago already, unfortunately the Chrome store was quite slow to publish it, and the browser's automatic extension update process takes its sweet time too :x
If your extension still hasn't updated to the latest version (i.e. if it doesn't work, it didn't), you can simply uninstall then reinstall the extension, and you'll have the latest one, fully working again (minus the few quirks I'll be fixing promptly).
Sorry for the downtime! This issue is resolved, but let's leave it open for a while so that people still stuck on an older version can know what to do!


Thank you

I just want to say thanks to @samwilson @waldyrious @MhdSyrwan and @Chillibear for all your help keeping this project alive in my absence, and to all the people who have done pull requests. It's really awesome :+1:

It's the beauty of open source and a permissive collaboration model :) so thanks for the trust in the first place!

Gosh, yes, thank you @hamstar! It's so great to find projects that one can build upon. I love finding opensource things that do 90% of what I want, and am always happy to help add the extra bits and bobs. :-)

Thank you too @hamstar. Actually, I haven't contributed to this repository :disappointed:  since the time i left PHP.
I want to say thank you again :+1:  to @samwilson @waldyrious for maintaining the project and keeping it alive !
And like what others said, it's all about the open source culture/model.


fixed setting the remember option

This should fix the problem I had in #13. Answering remember (Y/n) with Y actually didn't remember the password.
I think the confusion happened with the vimscript operator ==?. It means compare the values case-insensitive, but can be easily interpreted with "not equal".

lol, can't believe I made that mistake. Sorry for this and thanks for debugging it!


Can trafficserver proxy to another proxy?

So, I have a third party proxy (probably under squid) which will only accept connections from one of my IP's, but I need to be able to access it from a variety of IPs.
So I'm trying to put a trafficserver to forward requests to this proxy. I tried the following:
regex_map http://(.*)/ http://myproxy:80/

But I get in logs status 502 (Server Hangup) for my requests, I guess because trafficserver is proxying like this:
http_proxy=http://trafficserver.com curl -v http://www.targetdomain.com.br/index.html

> GET /index.html HTTP/1.1
> Host: www.targetdomain.com.br

But I need it to proxy like this:
http_proxy=http://trafficserver.com curl -v http://www.targetdomain.com.br/index.html

> GET http://www.targetdomain.com.br/index.html HTTP/1.1

So that the third party proxy understands it.
Can trafficserver do this?

This really belongs on the<EMAIL_ADDRESS>mailing list. I'm going to close this, but the short answer is that you could use the parent.config instead of remap.

@zwoop That's already helpful. Thanks!


Creating new status fields for RDS DBInstance CRD

What Is Your Question?
Is it possible to create new status fields for the RDS DBInstance CRD through ack-generate code generation?
What Is The Context For This Question?
I am currently investigating the integration of Redhat Service Binding Operator (SBO) with ACK RDS, more specifically the DBInstance CRD, to enhance native binding. Going through the code-generator documentation and the community docs for determining status fields, there is a lot of material on how the custom code generator works using existing Create Operation’s Output shape. I need to create fields outside of the Output scope.
For example, to integrate the ACK RDS DBInstance with SBO I need to turn the DBInstance into a Provisioned Service via  adding status.binding.name.
Any Additional Info?
This question is separate, but adjacent to the ACK K8s Native Application Binding proposal. FieldExport allows the user to export fields from the status to secrets whereas I need to include a new field in status to point to an existing secret.

This issue we have from the Crossplane team asks something similar: https://github.com/aws-controllers-k8s/community/issues/881
The current answer I have for you is that we currently don't have a configuration for the code-generator to create an arbitrarily shaped field. We do support creating custom lists or maps using existing AWS SDK shapes and for setting the shape of a field.
The problem with adding status.binding.name to the RDS CRDs is that it is only applicable to SBO. The team at Crossplane maintain their own separate set of CRDs for every service, and in that they inject new fields that are only applicable to them and then also write custom code to initialize those fields. I understand it's annoying to maintain your own code, but putting custom SBO code into ACK controllers makes for a confusing experience for those who aren't using SBO.
With that said, if you are interested in maintaining a set of the RDS CRDs which can integrate with SBO, we can work on a solution for getting fields into the right place with custom generator code.

Yes, I am interested in maintaining the RDS CRDs which can integrate with SBO. I understand the cause for concern with adding the code as a new feature regarding the confusion for non-SBO users. This question was more about understanding how ack-generate creates its CR fields and being able to create custom fields locally or maintaining custom RDS CRDs and generator code.

Okay cool. In that case, we still don't currently support adding arbitrary structs to the either the spec or status. This is mainly because our code-gen relies on using the AWS SDK models to build methods, so we kind of need an SDK model associated with everything. The way we support creating custom lists or maps is by creating a new SDK shape and injecting it into the model set before generation (see the code, here). I imagine this could be extended, whereby we accept arbitrary shapes either in the generator YAML file (maybe passed in through a file path) and take the same actions. This isn't supported out of the box at the moment, though.

Something I think might be relevant to this conversation: .status.binding.name comes from a specification upstream of SBO, so this wouldn't just be applicable to only SBO.  For instance, there's an implementation from VMWare for use with Tanzu (source here), and there's also a work-in-progress reference implementation of the specification.

The FieldExport API provides native bindings for all kinds of developers. Both application development and infrastructure code can use FieldExport. However, it is a cumbersome solution for application development. Contrary to DevOps engineers who work with infrastructure code, application developers only require a minimal set of fields that is part of an AWS service. The application needs to connect to the service to perform its primary purpose. For example, database connectivity is the only requirement for application in the RDS service. The DBInstance custom resource part of RDS could become a Provisioned Service with a Secret resource containing all the fields required for database connectivity. Similar to RDS, other services can also provide Provisioned Service APIs.
Sometime back, I wrote a blog post about Service Binding spec focusing on Provisioned Service. Please read it here:
https://muthukadan.net/kubernetes/binding/support-service-binding-specification-for-kubernetes/

I have created a proof of concept support for Provisioned Service in the ACK RDS controller. The demo video is here: https://www.youtube.com/watch?v=AXXWv7N12JM
I intend to demonstrate the end-user experience of the ACK RDS controller with support for Provisioned Service. If there is interest, I would be happy to work on a proposal to submit here: https://github.com/aws-controllers-k8s/community/tree/main/docs/design/proposals

I have created a proof of concept support for Provisioned Service in the ACK RDS controller. The demo video is here: https://www.youtube.com/watch?v=AXXWv7N12JM I intend to demonstrate the end-user experience of the ACK RDS controller with support for Provisioned Service. If there is interest, I would be happy to work on a proposal to submit here: https://github.com/aws-controllers-k8s/community/tree/main/docs/design/proposals

This is awesome! Often we are only thinking about the experience for the DevOps teams that use and maintain these operators, so I'm glad you are able to understand how developers would interact with the final result. It'd be great to see a proposal. Before you submit one though, would you mind just summarising what those changes would be?

It'd be great to see a proposal. Before you submit one though, would you mind just summarising what those changes would be?

I modified the generated code in the RDS controller for the POC. The changes are here: https://github.com/baijum/ack-rds-controller/commit/98da817f099022c5a1e49a0b2cedcf6bec171f57

Updated the DBInstanceStatus to make the DBIntance a Provisioned Service (.status.binding.name attribute)
Updated the ClusterRole with  create and update permissions
Updated the controller code to create the Secret resource
To create a Secret resource, I have also modified the runtime package.
In the runtime package, I updated the Reconciler interface with a new method with a signature like this: CreateSecret(context.Context, *corev1.Secret) error

I intended to demonstrate the end-user experience if the DBInstance becomes a Provisioned Service.
Note: An alternative solution would be to use the Direct Secret Reference feature of the Service Binding Specification.


Follow-up actions for the GeoServer interceptor

Within this PR you'll find some enhancements to the GeoServer interceptor mentioned in #144:

Make use of enumerations where possible (e.g. for the OGC nomenclature).
Refactored getMostSpecificRule() method (minimized database requests).
Enabled more logging for easier debugging.
Add some tests for the GeoServerInterceptorService.

I added one note, otherwise this looks great to me.
Are all the notes from #144 resolved now?
Thanks & please merge (with or without taking my suggestion).

Thanks @marcjansen for your review!
Not all notes are resolved inside this PR, we are still missing:

A global proxy (see here)
Additionally abstract classes that provide the default implementations for the service interceptors (see here)

But I would favour to address this issues (especially the first one) in individual PRs.

Go ahead, please merge!


Bug in SearchHandler

Contitions for this bug:

Custom entity without owner(becose this entity don't have role ASSIGN).

File with bug:  platform / src / Oro / Bundle / FormBundle / Autocomplete / SearchHandler.php
URL: https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/FormBundle/Autocomplete/SearchHandler.php
Line number: 176
Code:
$query = $this->aclHelper->apply($queryBuilder, 'ASSIGN');

Fix of this bug:
replace this line to:
$query = $this->aclHelper->apply($queryBuilder, 'VIEW');

Please include this fix in next realise!

This has been fixed in 1.8 version.


Simnode integration updates

Fixes #427
Integrates sc-simnode, a Substrate-based simulation node
sc-simnode allows developers to fork their live chain state and run all kinds of simulation tests on the runtime. This can be used to test new features, debug code, and stress test the network.
Pull Request type

Testing

Does this introduce a breaking change?
Request to the Team:
Most changes made to the node and runtime layers are useful for internal debugging and the QA process. It is safe to keep these changes away from production code and maintain them in a separate branch.

Hi,
@abdelhamidbakhta, @LucasLvy
Quick Update on draft PR status
I have completed the basic bring up of simnode integration to madara stack. I have also done a sanity check with the RPC commands engine_createBlock and simnode_revertBlocks, both of which are working fine.

Low-lights

The dependency sc-simnode needs to be upgraded to polkadot-v0.9.43. I have mapped it to my fork branch, and I need to do some cleanup and make a PR to sc-simnode for upstream codebase merger.

https://github.com/shamb0/sc-simnode/tree/shamb0/move-polkadot-v0.9.43

In the current bring-up, I ignored the starknet RPC from rpc_extensions_builder, due to some type conflict and dependency issues. I am analyzing the code to find a proper fix. If you have any suggestions, please let me know.

Test Report
Use-case-01: Testing engine_createBlock() RPC Command
Command 01
curl http://<IP_ADDRESS>:9944 -d '{"id":29,"jsonrpc":"2.0","method":"engine_createBlock","params":[true, true]}' -H "Content-Type: application/json"

Response 01
{"jsonrpc":"2.0","result":{"hash":"0x709e5bf97e1f16dd7e9310fd5e9fc0cb4ee210780b9c2f5a53563ce1d9ac2698","aux":{"header_only":false,"clear_justification_requests":false,"needs_justification":false,"bad_justification":false,"is_new_best":true}},"id":29}%

Command 02
curl http://<IP_ADDRESS>:9944 -d '{"id":29,"jsonrpc":"2.0","method":"engine_createBlock","params":[false, true]}' -H "Content-Type: application/json"

Response 02
{"jsonrpc":"2.0","error":{"code":12000,"message":"Transaction pool is empty, set create_empty to true, if you want to create empty blocks"},"id":29}%

Use-case-02: Testing simnode_revertBlocks() RPC Command
Command 01
curl http://<IP_ADDRESS>:9944 -d '{"id":29,"jsonrpc":"2.0","method":"simnode_revertBlocks","params":[2]}' -H "Content-Type: application/json"

Response 01
{"jsonrpc":"2.0","result":null,"id":29}%

Hi,
@abdelhamidbakhta, @LucasLvy
I have integrated Starknet RPC to simnode context, but I would appreciate your review and guidance. In the current integration, the syncing RPC Endpoint will not work because it depends on the SyncingEngine of the network services.
Based on my code analysis, I have found the following:
Under the simnode simulation context, all network services are shut down and the SyncingEngine is not active. Therefore, the syncing() RPC API cannot obtain the best seen (highest) block number.
I would like to discuss these findings with you and get your feedback on how to proceed.

Hi,
@abdelhamidbakhta, @LucasLvy
I have integrated Starknet RPC to simnode context, but I would appreciate your review and guidance. In the current integration, the syncing RPC Endpoint will not work because it depends on the SyncingEngine of the network services.
Based on my code analysis, I have found the following:
Under the simnode simulation context, all network services are shut down and the SyncingEngine is not active. Therefore, the syncing() RPC API cannot obtain the best seen (highest) block number.
I would like to discuss these findings with you and get your feedback on how to proceed.

@LucasLvy please take a look. @shamb0 thank you very much for this work

Hey @shamb0 if you can send a message on the Madara Telegram group that'd be great so we can hop on a call and discuss this PR as there is a lot of material and I want to make sure I understand every part of it.
Thanks!

Hey @EvolveArt,
Thank you for your interest. We will discuss the recent changes to the integration of the simnode simulation framework into Madara.
From the latest changes, here are the main points to consider:

The simnode launch function has been successfully integrated into Madara, providing a full node environment.
This integration allows us to effectively leverage the SyncingEngine and syncing() RPC API.

My Telegram handle is "@shamb0". Would you be available for a discussion call via Telegram at around 5:30 PM CET? Please let me know if this time works for you.
Thank you, and I look forward to our discussion.


artisan db:seed does not work and does not print an error, if you want to insert multiple rows with different amount of key-value pairs

artisan db:seed does not work and throws no error, if you provide an array like this one. On the command line you just get this message: "Database seeded!"
The bug is not that such an INSERT does not work, but you get NO ERROR MESSAGE. So someone assume that the database-insert does work and searches hours for the problem...
The table structure:
    Schema::create('categories', function(Blueprint $table) {
        $table->increments('id');
        $table->string('name');
        $table->integer('position');
    });

The SEED array:
    $categories = array(
        array(
            'id' => '1',
            'name' => 'Metalle',
        ),
        array(
            'id' => '2',
            'name' => 'Eisen',
            'position' => 2,
        ),
    );

The artisan commands:
php artisan migrate
php artisan db:seed

there is no problem , you have to register your seeder in DatabaseSeeder.php inside app/database/seed folder : add this line in DatabaseSeeder.php
$this->call(YourSeeder ::class)

hahhahaha @robclancy


FAPIAdvancedDCRValidationFilter check certificate validity

Once we have retrieved the client cert, then we should check that it is valid wrt issue and expiry date.
This can be achieved with:
java.security.cert.X509Certificate#checkValidity()
Replace cert used in unit tests: com.forgerock.sapi.gateway.fapi.v1.FAPIAdvancedDCRValidationFilterTest#TEST_CERT_PEM with one that is generated using Java code using com.forgerock.sapi.gateway.util.CryptoUtils

Review this issue in conjunction with #898


Remove supporting UnstoppableDomain v1

Only after https://github.com/AlphaWallet/alpha-wallet-android/issues/2364

ios https://github.com/AlphaWallet/alpha-wallet-ios/issues/3884


Support personalization string in SM2 signatures

Some discussion on adding this in closed PR #6443
I started working on this but ran into a snag. SM2 personalization works by hashing the personalization string along with other values (like info on the curve) into a string ZA. Then e = H(ZA || msg) is taken as the message representative that is signed. But the current signature pmeth just gets the hash, and we can't go from ZA and H(msg) to H(ZA || msg).
I see some maybe promising callbacks in EVP_PKEY_METHOD: signctx_init, signctx, verifyctx_init, and verifyctx  look like they expose the EVP_MD_CTX. If that works, then perfect - the init functions can compute ZA, add it to the MD ctx, and then the rest of the message is added after. But it seems these functions are used for HMAC, Poly1305, etc - I didn't find any users for public key signatures. So I wanted to ask for advice before I go too deep into something that won't work.

@mattcaswell You probably ran into something similar for Ed25519 which also hashes the message with a prefix, any hints?

Well, we've only exposed PureEdDSA via EVP (not the pre-hash variant) - and that only supports one shot signing (i.e. no EVP_DigestSignUpdate) with a NULL digest (effectively PureEdDSA does its own hashing), so I don't think its really comparable.
I think signctx_init and friends should do what we need it to do here. I don't think they're intended to be specific to MACs.

Ah yeah a somewhat different situation then. I'll try with signctx_init.

I spent some time on this and I don't think signctx_init will work. The problem is this function is called when EVP_DigestVerifyInit or EVP_DigestSignInit are invoked. But until that function returns, there is no EVP_PKEY_CTX on which one can call EVP_PKEY_ctx_ctrl_str to set the identifier.
I also saw EVP_PKEY_CTRL_DIGESTINIT which is invoked during EVP_DigestInit_ex , which looked like another approach that might work, but it has the same problem, at the point it is used no EVP_PKEY_CTX exists and so the identifier cannot be known at the point that ctrl is invoked.
I'll keep working on this, there must be some way to make it work, but right now I don't see it.

One thing I guess could work, would be placing the identifier on the EVP_PKEY instead of EVP_PKEY_CTX. So, roughly:
EVP_PKEY *pkey = load_a_pkey_from_somewhere();
EVP_PKEY_set_context(pkey, "user@example.com");
EVP_DigestSignInit(..., pkey);

This way, the identifier string is available at initialization time, in which case I think signctx_init can use it.
@matcaswell Does some approach like this seem ok?

I'm not especially keen on that approach because it moves operation specific data into the EVP_PKEY, i.e. potentially you have to update the EVP_PKEY every time you use it, which isn't really the idea behind an EVP_PKEY. Operation specific data should really go in the EVP_PKEY_CTX.
Here's an idea: how about calling EVP_DigestSignInit() twice? So you call it once and get a handle on the EVP_PKEY_CTX. If you don't care about the personalisation string you can just go ahead and use it. If you do want personalisation then you set the string on the EVP_PKEY_CTX, and then call EVP_DigestSignInit() again to re-initialise. It's a bit nasty - but I think that might work?
Another possibility is to create a new version of EVP_DigestSignInit(), which allows you to pass in your own EVP_PKEY_CTX.


Add testing, and download from RUM unreleased modules

Ability to --skipDownload in order to run with local installer binary
Download module from manual aws releases that support RUM
Small param unit tests
Snapshot testing: Given some nginx configs, store snapshots to ensure the results are as expected and don't regress. Please review the snapshots as well.
Integration testing. Boot up docker compose with some unix distros, run the installer and check that it succeeds. Run for alpine, AL2023 and bookworm
Separate workflow for installer. GH diff is terrible for files that moved. The changes are:

Move config.yml to continue_config.yml
Create a new config.yml that always runs and populates run-installer-workflow depending on the files modified. Reasoning explained here.
Add new build-and-test-installer workflow that only runs when installer files were modified
All other workflows remain as before

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

Project coverage is 69.16%. Comparing base (9440247) to head (f73de9d).

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   77.18%   69.16%   -8.03%
==========================================
  Files          36       36
  Lines        3963     3963
  Branches      669      669
==========================================
- Hits         3059     2741     -318
- Misses        868      874       +6
- Partials       36      348     +312

see 26 files with indirect coverage changes

Few comments there and there. I noticed the shell script is not tested, may I ask what is preventing us from testing it?

Almost everything in the script is environment-dependent (Checking if a binary is installed, running uname, verifying the agent is running, downloading the installer and decompressing it...), which makes it a bad candidate for unit tests. Instead, it is mostly tested in the integration tests, for which the entrypoint is the script.
The only thing missing being tested there is the download of the installer, skipDownload is used because we want to use the installer that was just built.
And I do believe we should be testing that, so I added one integration test to test for the download: it runs the script without skipDownload and doesn't care about the installation result, only that the module was downloaded correctly.


spell error in Severity column name

Fixing spelling error in sql-assessment extension's table column name

Coverage remained the same at 35.841% when pulling d5a1a784f81f4558dd888d57c5e9e6cb9fffbf19 on vchvlad/tableColRename into a8a7559229f86e88ee31f3a8ebced2332e89fe0a on main.


Reader Permissions for Azure AD Authentication Method Policies?

There doesn't appear to be a documented role that can provide read-only permissions to the authentication method policy blade in Azure AD. Neither the Global Reader or Security Reader role provide those permissions. If there isn't a role for that, it would be helpful to document that as another bullet point under the Global Reader role limitations or start a similar limitation note section under the Security Reader role.

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

ID: 0767aac4-fcd9-eaac-2c30-8f17d8eadd92
Version Independent ID: a380a828-03f9-e037-3a62-e4165fda7cb6
Content: Azure AD built-in roles - Azure Active Directory
Content Source: articles/active-directory/roles/permissions-reference.md
Service: active-directory
Sub-service: roles
GitHub Login: @rolyon
Microsoft Alias: rolyon

@lukealton
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hi @lukealton
Thanks for taking the time to provide your feedback. We've contacted the team and created a work item for them to investigate the behavior of the Global Reader role.
Let us know if you have any additional feedback.
thanks

#please-close

Hi @lukealton
The team investigated and wasn't able to reproduce this issue. They were able to use Global Reader to read the policy.
Let us know if you have any additional feedback.
thanks


How to balance containers on newly added node with same elastic IP?

I am running docker swarm mode on docker version - 18.09.5. I am using AWS autoscaling for creating 3 masters and 4 workers. For high availability, if one of the workers goes down, all the containers from that worker node will be balanced on other workers. When autoscaling brings new node up, I am adding that worker node to the current docker swarm setup using some automation. But docker swarm is not balancing containers on that worker node. Even I tried to deploy the docker stack again, still swarm is not balancing the containers. Is it because of different node id?  How can I customize it? I am using docker compose file deploying stack.
Command = docker stack deploy -c dockerstack.yml NAME

This issue is for https://github.com/docker/swarmkit not the old standalone Swarm.


getAllInFolder() Not returning all Files.

This Library seems fantastic and exactly what I need for some simple Google Drive Automation. However, I am trying to use the getAllInFolder() function but it's only returning a subset of files out of the expected 23 files. Not sure if this is relevant but the folderID I am searching, is within a Shared Drive.
FilesApp.getAllInFolder('folderId', null, "files(id,mimeType)");
3 of these are nested folders, (only 1 level deep) and within those folders there are combined 20 images, and 1 PDF.
The response i'm getting is only containing 7 files but it seems random what is returned.

All 3 folders
1 PDF
3 Random photos (not all) from 1 of the sub folders.

I can't figure out why it's ignoring all the other photos.
I'm happy to provide for more details if you let me know how best to debug.

For to add, not sure if this is relevant but the folderID I am searching, is within a Shared Drive.

Thank you for your comment. I could confirm the same situation. The reason was the incomplete parameters for requesting to Drive API. I modified this and I could confirm that the issue was removed. And this library was updated to v1.1.2. Please confirm it.

Looks like that did the trick, thanks for the quick fix!


Added unit test for squash-version

It's really minor and probably not needed but I did it anyway.

Normally I'd just fix this stuff up myself, but since you've expressed an interest in contributing more stuff I thought it would be helpful to give you a very nit-picky review.

First, please squash these into a single commit.  You can use git rebase, or something like git reset HEAD^ && git add tests/version.c && git commit --amend, or just reset both commits and create a new one with the well-formatted file, etc.
There are still some style oddities; squash uses a space before the opening parenthesis in function calls, but not a spaces inside the parenthesis.  In other words, munit_assert_string_equal( squash_version_api(), "0.8" ); should be munit_assert_string_equal (squash_version_api (), "0.8").  If you want to skip the space that's okay, I'm not that attached to it, but please no spaces inside the parenthesis.
You're misusing SQUASH_ASSERT_OK.  It is basically like to assert (expr == SQUASH_OK), so what you have ends up being a bit like assert((squash_version() == 8000) == SQUASH_OK).  It works because C's type system is fairly weak, but mixing types like that is generally considered bad practice.  Since we're using µnit, something like munit_assert_uint (squash_version (), 8000); or, even better, munit_assert_uint (squash_version (), HEDLEY_VERSION_ENCODE(SQUASH_VERSION_MAJOR, SQUASH_VERSION_MINOR, SQUASH_VERSION_REVISION));


fix: Color slider border rounding value update

Just fixing an issue with #61

TESTING spectrum2-non-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/
TOKENS STUDIO DATA IS NON-COLOR ONLY

WARNING - STUDIO MISSING MODE DEFINITION FOR spectrum2/layout.component/color-slider-border-rounding: ["desktop"]

STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.color-slider-border-rounding

SPECTRUM SYNC SUMMARY
MODIFIED TOKENS: (1) color-slider-border-rounding
CHANGED VALUES: (1) color-slider-border-rounding
CHANGED SCHEMAS: (1) color-slider-border-rounding

WARNING - could not determine schema for set with set names of:

UPDATED SET SCHEMAS: 1
TEST COMPLETE

SYNCING spectrum2-non-colors
READING spectrum-tokens: /spectrum-tokens/packages/tokens/src/
READING   tokens studio: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/
TOKENS STUDIO DATA IS NON-COLOR ONLY

WARNING - STUDIO MISSING MODE DEFINITION FOR spectrum2/layout.component/color-slider-border-rounding: ["desktop"]

STUDIO SYNC SUMMARY
UPDATED METADATA - SPECTRUM UUID: spectrum2/layout.component.color-slider-border-rounding

SPECTRUM SYNC SUMMARY
MODIFIED TOKENS: (1) color-slider-border-rounding
CHANGED VALUES: (1) color-slider-border-rounding
CHANGED SCHEMAS: (1) color-slider-border-rounding

WARNING - could not determine schema for set with set names of:

UPDATED SET SCHEMAS: 1
WROTE: /spectrum-tokens-studio-data/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/mobile.json
WROTE: /spectrum-tokens/packages/tokens/src/layout-component.json
SYNC COMPLETE
Spectrum Tokens Pull Request
Tokens Studio Pull Request


wait_for_connection TimeoutError on RC 3

It appears wait_for_connection on RC 3.0 does not work. I have also tested this with the master branch, and the same issue occurs.
- name: Wait for server
  wait_for_connection:
    delay: 10
    timeout: 3600
    sleep: 10
  become: false

Responds with the following after a short amount of time (around 5 seconds):
ERROR! [mux  42316] 08:10:56.906799 E mitogen.service: Pool(5c10, size=32, th='mitogen.Pool.5c10.21'): while invoking 'reset' of 'ansible_mitogen.services.ContextService'
Traceback (most recent call last):
  File "/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/mitogen/service.py", line 627, in _on_service_call
    return invoker.invoke(method_name, kwargs, msg)
  File "/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/mitogen/service.py", line 313, in invoke
    response = self._invoke(method_name, kwargs, msg)
  File "/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/mitogen/service.py", line 299, in _invoke
    ret = method(**kwargs)
  File "/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/ansible_mitogen/services.py", line 198, in reset
    l.get(timeout=30.0)
  File "/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/mitogen/core.py", line 2643, in get
    return self._get_sleep(poller, timeout, block, rsock, wsock, cookie)
  File "/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/mitogen/core.py", line 2679, in _get_sleep
    raise e
mitogen.core.TimeoutError: None

Which version of Ansible are you running?

ansible 2.10.5
  config file = /Users/dsgnr/.ansible.cfg
  configured module search path = ['/Users/dsgnr/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/ansible
  executable location = /Users/dsgnr/.virtualenvs/ansible/bin/ansible
  python version = 3.7.9 (v3.7.9:13c94747c7, Aug 15 2020, 01:31:08) [Clang 6.0 (clang-600.0.57)]

Is your version of Ansible patched in any way?

✗ ansible-config dump --only-changed |tee
DEFAULT_CALLBACK_WHITELIST(/Users/dsgnr/.ansible.cfg) = ['profile_tasks']
DEFAULT_HOST_LIST(/Users/dsgnr/.ansible.cfg) = ['/Users/dsgnr/ansible_hosts']
DEFAULT_STRATEGY(/Users/dsgnr/.ansible.cfg) = mitogen_linear
DEFAULT_STRATEGY_PLUGIN_PATH(/Users/dsgnr/.ansible.cfg) = ['/Users/dsgnr/.virtualenvs/ansible/lib/python3.7/site-packages/ansible_mitogen/plugins/strategy']
HOST_KEY_CHECKING(/Users/dsgnr/.ansible.cfg) = False
RETRY_FILES_ENABLED(/Users/dsgnr/.ansible.cfg) = False

I have same problem.
Ansible: 2.10.16, 2.11.7, 2.12.1
Ansible Host OS: CentOS 7.6 / macOS 11.6.2
Remote Host OS: CentOS 7.6 / Oracle Linux 8.4
Mitogen: 0.3.2
Test playbook:
- hosts: all
  name: test
  become: false
  gather_facts: false

  tasks:
    - name: Wait for system to become reachable over ssh
      ansible.builtin.wait_for_connection:
        connect_timeout: 3
        delay: 0
        sleep: 1
        timeout: 12

Errors:
fatal: [my_remote_host]: FAILED! => {"changed": false, "elapsed": 12, "msg": "timed out waiting for ping module test: An attempt was made to enqueue a message with a Broker that has already exitted. It is likely your program called Broker.shutdown() too early."}

Errors with -vvvvv:
[task 97384] 19:46:04.899147 D ansible_mitogen.planner: <class 'ansible_mitogen.planner.BinaryPlanner'> rejected 'ansible.legacy.ping'
[task 97384] 19:46:04.899681 D ansible_mitogen.planner: <class 'ansible_mitogen.planner.NewStylePlanner'> accepted 'ansible.legacy.ping' (filename '/path_to_ansible/ansible212/lib/python3.9/site-packages/ansible/modules/ping.py')
[task 97384] 19:46:04.900522 D mitogen.io: Router(Broker(2e50)).add_handler(<bound method Receiver._on_receive of Receiver(Router(Broker(2e50)), 110)>, 110, True)
[task 97384] 19:46:04.901273 D mitogen.io: Latch(0x10fcfe790, size=0, t='mitogen.Pool.1d00.0').get(timeout=None, block=True)
[task 97384] 19:46:04.902573 D mitogen.io: Latch(0x10fcfe790, size=0, t='mitogen.Pool.1d00.1').get(timeout=None, block=True)
[task 97384] 19:46:04.902942 D mitogen.service: Pool(1d00, size=2, th='MainThread'): initialized
[task 97384] 19:46:04.903925 D mitogen.io: Latch(0x10fcfe790, size=0, t='mitogen.Pool.1d00.0')._get_sleep(timeout=None, block=True, fd=44/45)
[task 97384] 19:46:04.908435 D mitogen.io: PollPoller.poll(None)
[task 97384] 19:46:04.909139 D mitogen.io: Latch(0x10fcfe790, size=0, t='mitogen.Pool.1d00.1')._get_sleep(timeout=None, block=True, fd=47/48)
[task 97384] 19:46:04.909829 D mitogen.io: PollPoller.poll(None)
[task 97384] 19:46:05.025414 D mitogen.service: caching small file /path_to_ansible/ansible212/lib/python3.9/site-packages/ansible/modules/ping.py
wait_for_connection: attempting ping module test
[task 97384] 19:46:06.026735 D mitogen.parent: starting no-reply function call to 'ssh.xx.xx.xx.xx': mitogen.core.Dispatcher.forget_chain('my_ansible_host_id')
wait_for_connection: attempting ping module test
[task 97384] 19:46:07.028123 D mitogen.parent: starting no-reply function call to 'ssh.xx.xx.xx.xx': mitogen.core.Dispatcher.forget_chain('my_ansible_host_id')
wait_for_connection: attempting ping module test
[task 97384] 19:46:08.029647 D mitogen.parent: starting no-reply function call to 'ssh.xx.xx.xx.xx': mitogen.core.Dispatcher.forget_chain('my_ansible_host_id')
wait_for_connection: attempting ping module test
[task 97384] 19:46:09.031235 D mitogen.parent: starting no-reply function call to 'ssh.xx.xx.xx.xx': mitogen.core.Dispatcher.forget_chain('my_ansible_host_id')
wait_for_connection: attempting ping module test
[task 97384] 19:46:10.032965 D mitogen.parent: starting no-reply function call to 'ssh.xx.xx.xx.xx': mitogen.core.Dispatcher.forget_chain('my_ansible_host_id')
wait_for_connection: attempting ping module test
[task 97384] 19:46:11.035038 D mitogen.parent: starting no-reply function call to 'ssh.xx.xx.xx.xx': mitogen.core.Dispatcher.forget_chain('my_ansible_host_id')
wait_for_connection: attempting ping module test
[task 97384] 19:46:12.037328 D mitogen.parent: starting no-reply function call to 'ssh.xx.xx.xx.xx': mitogen.core.Dispatcher.forget_chain('my_ansible_host_id')
[task 97384] 19:46:13.039553 D ansible_mitogen.mixins: _remove_tmp_path(None)
[task 97384] 19:46:13.040407 D ansible_mitogen.mixins: _remove_tmp_path(None)
[task 97384] 19:46:13.041674 D mitogen.parent: starting no-reply function call to 'ssh.xx.xx.xx.xx': mitogen.core.Dispatcher.forget_chain('my_ansible_host_id')
fatal: [my_remote_host]: FAILED! => {
    "changed": false,
    "elapsed": 12,
    "msg": "timed out waiting for ping module test: An attempt was made to enqueue a message with a Broker that has already exitted. It is likely your program called Broker.shutdown() too early."
}

Oh no, I just realized that he problem is only with FQCN ansible.builtin.wait_for_connection. Mitogen works well with 'old' wait_for_connection.

FWIW, this simple change to mixins.py resolves this;
--- mitogen-0.3.7.a/ansible_mitogen/mixins.py   2024-04-09 08:49:41.000000000 +1000
+++ mitogen-0.3.7/ansible_mitogen/mixins.py     2024-07-19 10:36:14.696669850 +1000
@@ -379,7 +379,10 @@
         # wait_for_connection, the `ping` test from Ansible won't pass because we lost connection
         # clearing out context forces a reconnect
         # see https://github.com/dw/mitogen/issues/655 and Ansible's `wait_for_connection` module for more info
-        if module_name == 'ansible.legacy.ping' and type(self).__name__ == 'wait_for_connection':
+        if module_name == 'ansible.legacy.ping' and type(self).__name__ in [
+                'wait_for_connection',
+                'ansible.legacy.wait_for_connection',
+                'ansible.builtin.wait_for_connection']:
             self._connection.context = None

         self._connection._connect()


.Net: DuckDBMemoryStore RemoveBatchAsync method performance improvement

Motivation and Context
To optimize performance by reducing the number of database calls during batch deletions in DuckDBMemoryStore.
Description
The updated RemoveBatchAsync method now executes a single SQL DELETE query to remove multiple keys at once, replacing the previous approach of executing individual delete queries for each key.
Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and existing test is okay for this change
[ ] I didn't break anyone :smile:

@westey-m @RogerBarreto Please review this change.

@atiq-bs23, thanks again for another contribution!

I'm really happy to be a part the great community. @westey-m


Bump upstream to v1.27.4

Teslamate 1.27.3 is incompatible with the latest API changes for vehicles with installed vehicle software 2023.38.
https://github.com/teslamate-org/teslamate/issues/3393
1.27.4 restores compatibility and was just released. Please bump this addon to the most recent Teslamate version.
https://github.com/teslamate-org/teslamate/tree/v1.27.4

Fixed by #114


[Question] About fixTimeStamp() method

Hey. I see that you have fixTimeStamp() method in BaseEncoder.
Probably it's because we have to send packets in strictly increasing order and you should change older encoded frame timestamp to be at least as a previous one.
What's about using PriorityBlockingQueue in RTXX senders to sort frames by timestamps automatically?
Correct me if I'm wrong..

Hello,
fixTimeStamp() was developed to fix a bug recording a file not for stream. The error is this one:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/659
In this case, I prefer implement this fix in VideoEncoder because this solve error recording files and streaming


chore: bdd-gh-1584802958 to 0.0.1

chore: Promote bdd-gh-1584802958 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add pcre and glib ports

PCRE should work, as by @Dennisbonke quick grep test.
IIRC, glib needs some outstanding mlibc changes, which will be supplied soon™

Closed in favor of #23 (which is based on this patch). Thanks a lot for this work!


Failed to Import Pep8

So, I followed the installation steps and I keep seeing this Warning in the console.
SublimeLinter: WARNING: import of pep8 module in pep8 failed

pep8 is installed via pip and in my path. Is there another setting that I might be missing?

FYI I recently ran into this issue. I have both pip and anaconda for Python package management. When pip3 install didn't help, I ran conda install and this resolved it.


[ACS] 3.0.0 version with flattened properties and new endpoint

Flattened ManagedCluster so there is no separate properties object
Added get_access_profiles operation to managed clusters
Finally generated from public swagger spec (see Azure/azure-rest-api-specs#1956)

Refs Azure/azure-cli#5086

Codecov Report

Merging #1699 into master will decrease coverage by 0.01%.
The diff coverage is 32.6%.

@@            Coverage Diff             @@
##           master    #1699      +/-   ##
==========================================
- Coverage   55.42%   55.41%   -0.02%
==========================================
  Files        4197     4190       -7
  Lines       99683    99628      -55
==========================================
- Hits        55253    55212      -41
+ Misses      44430    44416      -14

Impacted Files
Coverage Δ

...ce/models/container_service_diagnostics_profile.py
83.33% <ø> (ø)
:arrow_up:

...ice/models/managed_cluster_pool_upgrade_profile.py
55.55% <ø> (ø)
:arrow_up:

...e/models/container_service_orchestrator_profile.py
100% <ø> (ø)
:arrow_up:

...els/container_service_service_principal_profile.py
62.5% <ø> (ø)
:arrow_up:

...rservice/models/container_service_linux_profile.py
100% <ø> (ø)
:arrow_up:

...inerservice/models/orchestrator_version_profile.py
55.55% <ø> (ø)
:arrow_up:

...service/models/container_service_master_profile.py
100% <ø> (ø)
:arrow_up:

.../mgmt/containerservice/models/container_service.py
100% <ø> (ø)
:arrow_up:

...ice/models/container_service_agent_pool_profile.py
100% <ø> (ø)
:arrow_up:

...erservice/models/container_service_client_enums.py
100% <ø> (ø)
:arrow_up:

... and 10 more

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 fcd101c...9f366dd. Read the comment docs.


LimeSDR Mini LED Indication

After closing the stream using the code below the LimeSDR Mini LED continues to blink as if the streaming continued. This doesn't happen with the LimeSDR USB, just the Mini version.
LMS_StopStream(&streamId);
LMS_DestroyStream(device, &streamId);
LMS_Close(device);

There is no stream activity indication on LimeSDR-Mini. The single LED on LimeSDR-Mini is for FPGA PLL lock indication and it behaves the same way as FPGA PLL lock LED on LimeSDR-USB.

I noticed at least two LED behaviors with the Mini.
State #1: (Red On, Green Blinking)
State #2: (Red Off, Green Blinking)
After I plug-in the Lime on the computer it goes to State #1. After I start some stream it goes to State #2. When I finish streaming it gets back to State #1.
I noticed that with LMS7 API it doesn’t get back to State #1 after closing the streaming. Is this an anomaly or the right state? (I could be wrong with this one but after the stream closes and the LED remains on State #1 the LimeSDR remains hot. I never noticed it getting hot with State #2.)

The LED blinking green (state 2) indicates that FPGA PLLs are locked. PLL lock state should not change after LMS_StopStream(), LMS_DestroyStream() or LMS_Close().

Understood. Closing this issue.


Recursive operator++

Holly Bjarne, "Same as the other operator++()"???
https://github.com/Quintus/pathie-cpp/blob/5ccc2b033efe6abd12f4ed2fd549a204978cd65c/src/entry_iterator.cpp#L178-L182
Please change to
/// Same as the operator++(int).
entry_iterator& entry_iterator::operator++()
{
  return (operator++(0)); // the 'other' operator++ is int, be careful!
}

Heh, nice spot. I almost always use postfix-increment, thus I didn't catch the problem. The problem is only triggered by prefix increment. I'm going to fix it quickly.


[Announce]SSDB now supports slaveof command!

Since 1.9.7, SSDB supports slaveof command. Usage:
slaveof id host port [auth last_seq last_key]

This command will start replication from host:port, which is named id, the sync point is defined by last_seq and last_key.
This command is helpul for data migration.

Is this a temporary command (when the sync finishes the slave will be deleted?) If not can you please also add a type definition so that the mirror type can be selected?
Also; can it be possible to add a slavedel or delslave command to delete slaves from the running configuration?
This will greatly improve SSDB in docker as it then can enable horizontal scaling and fault tolerance :-)

@rhessing

mirror type will not be supported.
I will consider delslave later, but not promised. However, a deleted slave will reconnect automatically, so delslave will make no sense.

But if this slave configuration via the cli temporary or permanent until SSDB restarts?


[1.20.1/Version 1.0.0] Startup failed

Mods list: https://pastebin.com/xpU2bZbE
System version: Windows 11
Jdk version: LibericaJDK-17
Minecraft version: 1.20.1
Mod version: 1.0.0
Techreborn version: 5.8.1
Fabric version: 0.14.21
Fabric API version: 0.184.0
Error logs: https://pastebin.com/a797g6Mi
Need more information, please reply

Eww mixins. Should be an easy fix tho

can you try this version? https://legacy.curseforge.com/minecraft/mc-mods/tech-enhanced/files/4602639

can you try this version? https://legacy.curseforge.com/minecraft/mc-mods/tech-enhanced/files/4602639

New error: java.lang.NoClassDefFoundError: net/minecraft/item/Item$Settings
Error logs: https://pastebin.com/AEhph862
The previous error has disappeared

Was fixed in the latest version


Error promise.all 404 randomly

I am performing a promise.all to perform parallels tasks, sometimes unexpectedly a random 404 error appears even with the correct http address

If you get a 404 error as a regular StatusCodeError then most likely all went as expected on your side. I recommend that you debug your server or if you don’t have access to it, monitor the HTTP traffic using WireShark for example. This will give you more insight into why the server sends a 404.


[Feature] support column privilege for xc

What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

A very simple solution to support column privilege.
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 87 / 111 (78.38%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/mysql/privilege/TablePrivEntry.java
9
25
36.00%
[149, 150, 151, 152, 153, 154, 155, 158, 160, 161, 162, 174, 175, 176, 178, 179]

:large_blue_circle:
com/starrocks/analysis/TablePattern.java
20
25
80.00%
[175, 176, 177, 179, 180]

:large_blue_circle:
com/starrocks/mysql/privilege/PrivTable.java
8
9
88.89%
[109]

:large_blue_circle:
com/starrocks/mysql/privilege/Auth.java
21
23
91.30%
[565, 893]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
14
14
100.00%
[]

:large_blue_circle:
com/starrocks/mysql/privilege/TablePrivTable.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/GrantRevokePrivilegeObjects.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/BaseGrantRevokePrivilegeStmt.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/UserIdentity.java
3
3
100.00%
[]

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 86 / 107 (80.37%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/mysql/privilege/TablePrivEntry.java
9
23
39.13%
[149, 150, 151, 152, 153, 154, 155, 158, 159, 160, 172, 173, 174, 175]

:large_blue_circle:
com/starrocks/analysis/TablePattern.java
19
23
82.61%
[173, 174, 175, 176]

:large_blue_circle:
com/starrocks/mysql/privilege/PrivTable.java
8
9
88.89%
[109]

:large_blue_circle:
com/starrocks/mysql/privilege/Auth.java
21
23
91.30%
[565, 893]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
14
14
100.00%
[]

:large_blue_circle:
com/starrocks/mysql/privilege/TablePrivTable.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/GrantRevokePrivilegeObjects.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/BaseGrantRevokePrivilegeStmt.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/UserIdentity.java
3
3
100.00%
[]


cleaner impl: remove quick fix for mask/clipping

https://github.com/Volumetrics-io/mrjs/blob/6836295b8b56f7bebe1abe45933fa5cd7fb42ad5/src/core/componentSystems/MaskingSystem.js#L118C21-L127

since masking/clipping got reworked - this is no longer an issue


Pin manifests commit in blueprint and create auto-update pipeline

Right now the blueprint is tracking the head of master rather than pinning to a specific commit
https://github.com/kubeflow/gcp-blueprints/blob/09077334e2fb3417e1875be3cde8b160ec42297d/kubeflow/Makefile#L29
A better approach would be to pin to a particular commit and then automate opening up PRs whenever there is a change to kubeflow/manifests.
This would have the added benefit of causing auto-deployments to be triggered when kubeflow/gcp-blueprints are updated.

/priority p2


Calendar Heatmap - Shows unexpected null dates

I'm making use of the calendar heatmap chart, but i'm getting unexpected null dates for a month outside of the filter.
How to reproduce the bug

create heatmap calendar
set filter to 2021-05-01 minus two months (see underneath)

Expected results

Actual results
But as can be seen on the image underneath, we have a full month with null values

Checklist

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

It is working as expected please recheck the issue and close this bug

Can anyone confirm if this is still an issue in 3.x?

This is happening for us in 4.0.2


Update Rufio dependency:

This has fixes for runtime panics.
https://github.com/tinkerbell/rufio/pull/77
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


[2.5.1] failed to upload video

Steps to reproduce
upload video example
Failure Logs
[{"uploadStatus":{"uploadStatus":"REJECTED","message":{"runs":[{"text":"Rejected"}]},"detailedMessage":{"runs":[{"text":"Your video was rejected."}]}}},{"videoId":{"registrationStatus":"FAILED"}}]

Expected behavior
upload video
Current behavior
rejection error
Version
Default
Anything else?
No response
Checklist

[X] I am running the latest version.
[X] I checked the documentation and found no answer.
[X] I have searched the existing issues and made sure this is not a duplicate.
[X] I have provided sufficient information.

You're most likely uploading a corrupted or invalid file. Could also be caused by a long title but I don't think that's the case here.

You're most likely uploading a corrupted or invalid file. It could also be caused by a long title but I don't think that's the case here.

I uploaded same video using web youtube and it uploaded without any problem and title is only 3 words long.

Can you try uploading it using the YouTube app? This library spoofs the mobile app to upload videos, it sends the exact same payloads an official client would so I still reckon it has something todo with the file itself. And IIRC all the clients do some post processing locally, so that makes it even more complicated.
Since it's a server side thing (you only get this error message after the video is completely uploaded) we can't really know what YouTube considers a valid video, especially when sending a raw file.

ok i fixed it by converting video to .mov 🤷🏻


[4.x] Update test suite to avoid unhandled promise rejections

Marking this as WIP until the upstream component has been released. In the meantime, this uses a temporary development branch.
Builds on top of https://github.com/reactphp/promise/pull/248, #48 and #76

Updated now that https://github.com/reactphp/promise/pull/248 has been merged, this is now ready for review :shipit:
This can be reproduced locally by installing Promise v3, which means either waiting for the official release scheduled next week or by installing the current development version with composer require react/promise:^3@dev.


Price precision is missing on categorical chart

Notice that price of 0 has a long range, need to show 4 digits of precision.

Fixed by https://github.com/AugurProject/augur-ui/pull/2518


Hide mouse press highlight

Hi, I was doing a recording of dragging to select text, and I couldn't figure out how to hide the yellow circle highlighting the mouse press. I would like the option to disable this.

It's a post-recording task. Just remove it from here:

It's a post-recording task. Just remove it from here

I was wondering that too.  Thanks.


Take PnP Powershell script from a Powershell script generator and put into SharePoint Management Console and it fails - Powershell script looks OK

###Notice: many issues / bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:###
Reporting an Issue or Missing Feature
Add-SPOField powershell script command fails
Expected behavior
It to work.
Actual behavior
$field = Add-SPOField -InternalName "sbwzDefinitionData" -DisplayName "sbwz Definition Data" -Type "Note" -Id "{190ee8ce-100c-4fe5-9f5c-69794ed7ed53}" -Group "NLC"
Add-SPOField :
At line:1 char:10

$field = Add-SPOField -InternalName "sbwzDefinitionData" -DisplayName ...

     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : WriteError: (:) [Add-SPOField], ServerException
FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Fields.AddField

$error[0].exception.stacktrace
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext,
Int32 retryCount, Int32 delay)
at Microsoft.SharePoint.Client.FieldAndContentTypeExtensions.CreateFieldBase[TField](FieldCollection fields, FieldCre
ationInformation fieldCreationInformation, Boolean executeQuery)
at SharePointPnP.PowerShell.Commands.Fields.AddField.ExecuteCmdlet()
at SharePointPnP.PowerShell.Commands.SPOCmdlet.ProcessRecord()
PS C:\Users\Nigel>
Steps to reproduce behavior
$field = Add-SPOField -InternalName "sbwzDefinitionData" -DisplayName "sbwz Definition Data" -Type "Note" -Id "{190ee8ce-100c-4fe5-9f5c-69794ed7ed53}" -Group "NLC"
Which version of the PnP-PowerShell Cmdlets are you using?

[X ] PnP PowerShell for SharePoint 2013
[ ] PnP PowerShell for SharePoint 2016
[ ] PnP PowerShell for SharePoint Online

What is the version of the Cmdlet module you are running?
<IP_ADDRESS>
How did you install the PnP-PowerShell Cmdlets?

[X ] MSI Installed downloaded from GitHub
[ ] Installed through the PowerShell Gallery with Install-Module
[ ] Other means

Retrieved from github 8th October 2016 at 00:001

According to the version your reportyou're using a -very- -very- old version of the cmdlets. the latest version available is 2.8.1610.1. I checked the line you used to reproduce the issue but I fail to reproduce it, e.g. everything works as expected with version 2.8.1610.1.


Plain object as property causes hanging

<Foo bar={{ foo: 'bar' }} />

@mickmcgrath13 @DesignByOnyx I tried this and it did not error. Can you create a reduced test case?

closing due to inability to reproduce.


[Request] Manga directory name

Is it possible to change the manga directory name settings to set the directory name as %title% instead of %urlFilename% ?

yes, please check the readme.txt for the formats.
Use '' for path separator if you are using windows.


Relax some dependencies in setup.py to ease compatibility

@lnnixma

Shall we merge this?

Job PR-242-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-242/3/index.html


Additional tool - PartKeepr to InvenTree

I've been using PartKeepr for a number of years and did not want to repopulate the database in InvenTree,
So I created a script to migrate parts and categories to InvenTree.
It uses the PartKeepr REST API and the InvenTree python interface
I tried to generate the locations from the PK information but the Location requires a parent which is not always the case.
It also transfers over the stock number but not the pricing from PK.
I wanted to delete the parts in the Inventree database but this can't be done using the python interface because it is not possible to make the park inactive. I had to modify the sqlite database.
The script is here:
https://github.com/rgilham/PK2InvenTree
You are welcome to add it to the 3rd party tools.

I wanted to delete the parts in the Inventree database but this can't be done using the python interface because it is not possible to make the park inactive.

You can actually do it this way:
api = InvenTreeAPI('http://<IP_ADDRESS>:8000/', username='username', password='password')
part = Part(api, 10) # Replace 10 with part pk/id
if part:
	part._data['active'] = False
	part.save()
	part.delete()

Great to know, I almost had it. I tried to do part.active = False
I have updated to script.
Robin
On 2020/10/06 17:49, Francois wrote:

I wanted to delete the parts in the Inventree database but this
can't be done using the python interface because it is not
possible to make the park inactive.

You can actually do it this way:
|api = InvenTreeAPI('http://<IP_ADDRESS>:8000/', username='username',
password='password') part = Part(api, 10) # Replace 10 with part pk/id
if part: part._data['active'] = False part.save() part.delete() |
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/inventree/InvenTree/issues/1032#issuecomment-704368714,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHSLFYQ2IN3PDE67VQDKQDSJM37BANCNFSM4SGGJEGA.

I tried to generate the locations from the PK information but the Location requires a parent which is not always the case.

I don't think this should be the case, can you open an issue here with your code snippet: https://github.com/inventree/inventree-python/issues

@rgilham what a great tool! As @eeintech says above both the issues you are having with the scripts should be addressable.

https://inventree.readthedocs.io/en/latest/extend/integrate/#pk2inventree

@rgilham Thanks again for sharing the tool, it was added to InvenTree third-party tools.
Could you do me a favor and close this issue?
If you have any other suggestion/question regarding the python interface, you can post them here:
https://github.com/inventree/inventree-python/issues


Merged develop into master

@cpauya I merged develop into the master branch.

@amodia, I clone from installer repo and checkout your branch so that I can test it in clean source. When I open it on Xcode there's no error because pyrun-2.7 directory is already in the Resourcesdirectory.  When I runsetup.shit buildsKA-Lite.pkgin theoutput` directory without error.

Tested thus merging.


Fix response headers from lint

Fix #2411
Changes:

Use Rack::Utils.escape_html instead of ERB::Util.escape_html
Some refactor in error middleware.
Remove rack_response from inside_route
Remove some irrelevant if: ActiveSupport::VERSION::MAJOR >= ? in specs

So we do have specs that use rack_response in rescue_from. Someone is undoubtedly relying on it.
1. Add a section to UPGRADING.md.

2. Is there a way we can re-implement it after these changes and mark it deprecated instead?

error_response has been removed also. It's an old deprecation from 0.12


Correct Variant::hash_compare()

Correct Variant::hash_compare()
There was a logic error in #7815 which made
Variant.hash_compare() == Variant.hash_compare() always true.
In an attempt to short-circuit the NaN check I made an (in hindsight) obvious
error: 10 == 12 || is_nan(10) == is_nan(12)
This will be true for all inputs, except for the NaN, not-NaN case. The macro
has been updated to now generate:
do {
if((p_lhs) != (p_rhs)) {
        if (Math::is_nan(p_lhs) == Math::is_nan(p_rhs)) {
                break;
        }
        return false;
}
} while(0);

Which is correct for all cases. The other macros have also been update
to make use of this new logic.
This bug was triggered because the hash function for floating point numbers
can very easily generate collisions for the tested Vector3(). I've also added
an extra hashing step to the float hash function to make this less likely to
occur.
This fixes #8081 and probably many more random weirdness.

Still fails I think:

A
B
Wanted
Actual
Comment

NAN
NAN
True
True
First if entered, second if entered, broke out.

NAN
0
False
False
First if entered, second if not entered, returning false.

0
NAN
False
False
First if entered, second if not entered, returning false.

0
0
True
True
First if not entered, exiting loop.

0
1
False
True
First if not entered, second if entered, broke out.

Reason: Code is equivalent to:
if ((p_lhs) != (p_rhs) && Math::is_nan(p_lhs) != Math::is_nan(p_rhs))
        return false;

Maybe this would be better?
if (p_lhs == p_rhs) {
        return true;
} else if (Math::is_nan(p_lhs) && Math::is_nan(p_rhs)) {
        return true;
} else {
        return false;
}

Which is equivalent to:
if (p_lhs == p_rhs || (Math::is_nan(p_lhs) && Math::is_nan(p_rhs))) {
        return true;
} else {
        return false;
}

Which is equivalent to:
return p_lhs == p_rhs || (Math::is_nan(p_lhs) && Math::is_nan(p_rhs));

A
B
Wanted
Actual
Comment

NAN
NAN
True
True
is_nan(p_lhs) && is_nan(p_rhs) is true.

NAN
0
False
False
Both p_lhs == p_rhs and is_nan(p_lhs) && is_nan(p_rhs) are false.

0
NAN
False
False
Both p_lhs == p_rhs and is_nan(p_lhs) && is_nan(p_rhs) are false.

0
0
True
True
p_lhs == p_rhs is true.

0
1
False
False
p_lhs == p_rhs is false and is_nan(p_lhs) is false too.

Urgh, I need to sleep more. The nan check should just be is_nan && is_nan. I'll revise..

I have corrected the PR, please go over it again in case having additional sleep did not work as well as I had hoped :) Thanks so much for catching this @bojidar-bg


Feature/branded components

Fixes #353

[x] Forms
[x] Alerts: missing dark backgrounds (#117)
[x] Badge
[x] Breadcrumb
[x] Buttons: missing .btn-inverse (#117), .btn-icon & .btn-social (#290)
[x] Button group
[x] Card
[x] Carousel
[x] Close button: on dark backgrounds → need to improve v4-dev way (#117)
[x] Collapse: missing multiple openable (#290)
[x] Dropdowns
[x] List group
[x] Modal
[x] Navs
[x] Navbar
[x] Pagination

[x] refactored <3

[x] Popovers
[x] Progress → should responsive progress stay?
[x] Scrollspy → depends on navbar and list-group
[x] Spinners
[x] Toasts
[x] Tooltips
[ ] Get navbar color schemes back (both docs and code): maybe dark as a default?

Tests

[ ] Update tests files (both visual and specs)

To question
Ask to the brand:

Pill badges
Toasts
Spinners
Progress
List group
Modal
Carousel
Nav tabs: with pills, vertical.
Navbars : inline forms (?)

To document
Probably breaking changes (!), to add to a migration guide!

[ ] I tried something for now: using opacity on .text-muted instead of color to ease color scheming. Let's see if that implies too much things!
[ ] Didn't implement in both carousels and nav-tabs > :last-child { margin-bottom: 0; } to prefer using utilities
[ ] Didn't implement .navbar-brand + .navbar-brand
[ ] Review all diff to update Migration guide

.navbar-dark should be reintroduced alongside docs content to reduce the gap with Bootstrap.


Create "question mark" pop-up when hovering status

https://gyazo.com/5886fbf75448a246d6b87df5d2ac25f4
https://docs.google.com/document/d/1Tr-jaxFsyoYmlE4k9XcZ_91KkAmoQFJAlkyhbEELNfE/edit
Check prototype for flow.

@allenxluo @anikait-rao This was already implemented in the 16-school-management in src/components/Popover/InformationPopover.jsx


Replaced alert method for webcam errors

Adjusted webcam error reporting to insert a DOM object instead of native alert method

⚠ All PRs have to be done versus 'dev' branch, so be aware of that, or we'll close your issue ⚠
What kind of change does this PR introduce?

Improvement
Can it be referenced to an Issue? If so what is the issue # ?
How can we test it?

Run an AR.js project and reject giving the permission to use the camera. No alert() box should be shown.
Summary

The usage of the native alert() function does not allow to control the UX flow nor the look and feel of the error message. With the change, a DOM element is attached to the document, containing the error.
Does this PR introduce a breaking change?
The side-effect of appending a DOM element could be unwanted. However, three.js/src/threex/arjs-source.js also adds such a DOM element with id #error-popup and, therefore, clients should have designed for it already.
Please TEST your PR before proposing it. Specify here what device you have used for tests, version of OS and version of Browser
Other information

Looks good, thanks! Agree about using a  being better than an alert.
I note you repeat the same code twice, could you put that in a function? Thanks.

@salam @nickw1 i have nothing against this PR as Nick said we could maybe avoid repeating the code, and CI is failing probably because you haven't run the prettier command and the build command. You should follow these steps:
//to be sure that all dependencies are installed run the install command
npm install
// then check if your code is well formed
npm run format-check
// if fails run the format command
npm run format
// then run the build script ( for a prodcution build)
npm run build
// for a development build
npm run build:dev

I will test your code as i will have some free time...

@salam have finally merged this, apologies for the delay, have some free time at the moment so going back over still-open PRs.


URGENT: How to completely remove mrs system full?

I had installed mrs uav system using
sudo apt install ros-noetic-mrs-uav-system-full.
I want to completely remove it from my sytem. I tried using the command
sudo apt remove ros-noetic-mrs-uav-system-full and sudo apt purge ros-noetic-mrs-uav-system-full  but it only remove some files and the ros noetic distribution folder still contains folders and files related to mrs. Please help.
MY system config:
ROS Noetic
Ubuntu 20.04.6 LTS

https://github.com/ctu-mrs/ppa-stable?tab=readme-ov-file#uninstalling-packages-from-this-ppa

https://github.com/ctu-mrs/ppa-stable?tab=readme-ov-file#uninstalling-packages-from-this-ppa

Thank you


[SPARK-5596] [mllib] ML model import/export for GLMs, NaiveBayes

This is a PR for Parquet-based model import/export.  Please see the design doc on the JIRA.
Note: This includes only a subset of regression and classification models:

NaiveBayes, SVM, LogisticRegression
LinearRegression, RidgeRegression, Lasso

Follow-up PRs will cover other models.
Sketch of current contents:

New traits: Saveable, Loader
Implementations for some algorithms
Also: Added LogisticRegressionModel.getThreshold method (so that unit test could check the threshold)

CC: @mengxr  @selvinsource

Test build #26190 has started for   PR 4233 at commit 14711b7.

This patch merges cleanly.

Test build #26190 has finished for   PR 4233 at commit 14711b7.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait Exportable
trait Importable[Model <: Exportable]

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26190/
Test PASSed.

Test build #26427 has started for   PR 4233 at commit 365314f.

This patch merges cleanly.

Test build #26427 has finished for   PR 4233 at commit 365314f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait Exportable
trait Importable[Model <: Exportable]

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26427/
Test PASSed.

Test build #26459 has started for   PR 4233 at commit 638fa81.

This patch merges cleanly.

Test build #26459 has finished for   PR 4233 at commit 638fa81.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait Exportable
trait Importable[Model <: Exportable]

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26459/
Test FAILed.

Test build #26579 has started for   PR 4233 at commit a71e555.

This patch does not merge cleanly.

Test build #26579 has finished for   PR 4233 at commit a71e555.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds the following public classes (experimental):
  case class Data(weights: Vector, intercept: Double, threshold: Option[Double])
  case class Data(weights: Vector, intercept: Double)
trait Exportable
trait Importable[M <: Exportable]
 protected abstract class Importer
   * @return (class name, version, metadata)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26579/
Test FAILed.

Test build #26580 has started for   PR 4233 at commit 444341a.

This patch does not merge cleanly.

Test build #26580 has finished for   PR 4233 at commit 444341a.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds the following public classes (experimental):
  case class Data(weights: Vector, intercept: Double, threshold: Option[Double])
  case class Data(weights: Vector, intercept: Double)
trait Exportable
trait Importable[M <: Exportable]
 protected abstract class Importer
   * @return (class name, version, metadata)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26580/
Test FAILed.

Rebased after logreg changes...but I need to fix loading still.

Test build #26600 has started for   PR 4233 at commit ee99228.

This patch merges cleanly.

Test build #26600 has finished for   PR 4233 at commit ee99228.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class Data(weights: Vector, intercept: Double, threshold: Option[Double])
  case class Data(weights: Vector, intercept: Double)
trait Exportable
trait Importable[M <: Exportable]
 protected abstract class Importer
   * @return (class name, version, metadata)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26600/
Test FAILed.

Test build #26719 has started for   PR 4233 at commit b4ee064.

This patch merges cleanly.

That last commit did significant re-organization and cleanups to address @mengxr 's comments.  Hopefully good to go now!  I won't put any more models in this PR.

Test build #26719 has finished for   PR 4233 at commit b4ee064.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
    case class Data(labels: Array[Double], pi: Array[Double], theta: Array[Array[Double]])
    case class Data(weights: Vector, intercept: Double, threshold: Option[Double])
    case class Data(weights: Vector, intercept: Double)
trait Saveable
trait Loader[M <: Saveable]
   * @return (class name, version, metadata)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26719/
Test PASSed.

Btw, I'm also changing paths to use org.apache.hadoop.fs.Path to create URIs (instead of my hard-coded path separators).

Test build #26784 has started for   PR 4233 at commit 12d9059.

This patch merges cleanly.

Hopefully that took care of everything!

Test build #26786 has started for   PR 4233 at commit 87c4eb8.

This patch merges cleanly.

Test build #26786 has finished for   PR 4233 at commit 87c4eb8.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
   * @param modelClass  String name for model class (used for error messages)
    case class Data(labels: Array[Double], pi: Array[Double], theta: Array[Array[Double]])
          s" but class priors vector pi had $
            s" but class conditionals array theta had $
    case class Data(weights: Vector, intercept: Double, threshold: Option[Double])
     * @param modelClass  String name for model class (used for error messages)
   * @param modelClass  String name for model class (used for error messages)
    case class Data(weights: Vector, intercept: Double)
     * @param modelClass  String name for model class (used for error messages)
trait Saveable
trait Loader[M <: Saveable]
   * @return (class name, version, metadata)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26786/
Test FAILed.

Test build #26784 has finished for   PR 4233 at commit 12d9059.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
   * @param modelClass  String name for model class (used for error messages)
    case class Data(labels: Array[Double], pi: Array[Double], theta: Array[Array[Double]])
          s" but class priors vector pi had $
            s" but class conditionals array theta had $
    case class Data(weights: Vector, intercept: Double, threshold: Option[Double])
     * @param modelClass  String name for model class (used for error messages)
   * @param modelClass  String name for model class (used for error messages)
    case class Data(weights: Vector, intercept: Double)
     * @param modelClass  String name for model class (used for error messages)
trait Saveable
trait Loader[M <: Saveable]
   * @return (class name, version, metadata)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26784/
Test PASSed.

The first failure was from Kafka tests

LGTM. Merged into master and branch-1.3. Thanks!


trellis_m4: Rust 2018 edition updates

Updated using cargo fix --edition and cargo fix --edition-idioms, then removing some unnecessary crate:: prefixes on imports coming from other crates.
This also enables moving the define_pins! call into the pins module (while still re-exporting pins::Pins from the crate root).
Additionally runs rustfmt over the code.

How is this working out? If you're happy with it I'll do the same for some other the other boards

@djmcgill Go for it. Wez and I have the hal and the metro's done in #37


x/mint - rounding; change accumulator semantics to persists truncationd delta across epochs instead of expected distributions

Closes: #XXX
What is the purpose of the change
This PR changes the accumulator semantics so that the rounding fix is not coupled with superfluid minting and burning. As a result, we can now distribute truncations across epochs while not relying on superfluid logic.
This works as follows:
Let epoch provisions be 100.93. Then, we can distribute 100 at the current epoch and have 0.93 left.
Since 0.93 is not a whole integer, we cannot distribute that immediately due to the limitations of the interfaces in x/bank and x/distribution.
Therefore, we persist 0.93 in store until next epoch.
At the next epoch we get 0.93 * 2 = 1.86 truncation delta. We distribute the whole number part (1) and persist 0.86 until the next epoch.
The algorithm repeats every epoch.
As a result, eventually all truncations are distributed as expected.
The above example is simplified. In reality, we have 2 accumulators for distributing from the mint module account and from the developer vesting module account. At the per module account level of abstraction, the idea is the same.

Merging into a private branch


InitError: KeyError: key "get_cmap" not found during initialization of module PyPlot in CI

In the CI workflow
InitError: KeyError: key "get_cmap" not found
during initialization of module PyPlot
``

Solved with commit https://github.com/gher-uliege/Diva-Workshops/commit/65e260280ec55bb5927aff602a3db26de73426dc


Error in MNIST example

Getting
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 7:7: Message type "caffe.NetParameter" has no field named "layer".
when running the mnist example.
Any ideas why?

You're using a newer version of caffe where caffe.proto was updated to have this layer parameter

@szagoruyko  can you help me parsing the caffemodel to my C code
thanks in advance

@szagoruyko, what is the solution to this issue?

@ssakhavi it seems that they change caffe without backward compatibility. I will take a look at what could be done.

@szagoruyko Thanks

I don't see the error anymore but the network is empty when loading.
Why do you this is?

for which network?

MNIST
On 2 Apr, 2015 1:46 am, "Sergey Zagoruyko"<EMAIL_ADDRESS>wrote:

for which network?
--
Reply to this email directly or view it on GitHub
https://github.com/szagoruyko/loadcaffe/issues/5#issuecomment-88572054.

so if it's a net saved with an up to date caffe loadcaffe won't work. I've fixed it to work with older nets from here https://github.com/BVLC/caffe/wiki/Model-Zoo

fixed by https://github.com/szagoruyko/loadcaffe/pull/10


shinyBS >.5 and readxl now on cran

The packages shinyBS and readxl are on CRAN now, so the install_github part of the initialize_AIP() function for those packages can be changed to install.packages and the section of code loading readxl and using read_excel can be uncommented. Users should now be able to upload excel files!

Oh, and you'll have to add the argument when calling read_excel: "sheet=1" so that it loads the first sheet. Or make a radio button when the user can select what sheet they want. readxl includes a function read_sheets (or something like that) that lists all the sheets in the workbook so you could send those to the radio buttons and have the user select which sheet to read in.

shinyBS is now being pulled from CRAN. The excel functionality hasn't been requested, so I'm leaving that as is for now. Closing this, a new issue can be opened for excel loading functionality.


Possible clarification?: amocas.[bh]* requirements

Zabha extends A and Zacas standard extensions by adding byte (width=0) and halfword (width=1) support in width field for atomic memory operation instructions.

Considering this sentence, it's natural to assume that AMOCAS.[BH] instructions require both Zabha and Zacas.  Whether or not my understandings are correct, I hope this point to be further clarified.
Note that extension dependency / implication (current implication: Zabha → A) do not need to be changed/added even if my understandings are correct.

Zacas specifies that it depends on A. Implementing amocas requires implementing A. Zabha extends A and Zacas. Zabha does not depend on or imply Zacas.

I see. What I request is further clarification like "AMOCAS.B and AMOCAS.H instructions are implemented if the Zacas extension is also implemented."

It was implied by Zabha extending Zacas. Zabha does not introduce the amocas instruction. It only extends the amocas instruction introduced by Zacas by adding the byte and halfword width encodings.

"Extends" isn't a verb we normally use in describing RISC-V extensions, and so I think @a4lg's concern is valid.  I think it would help to explicitly say something like, "Zabha provides AMO[ADD|AND|OR|XOR|SWAP|MIN[U]|MAX[U]].[B|H].  If Zacas is additionally implemented, Zabha additionally provides AMOCAS.[B|H]."

Made the update in PR #19

Approved & merged, so I think we can close this issue.  @a4lg let us know if you think this change was insufficient.

@aswaterman
I think this is sufficient.
@ved-rivos
I really appreciate your clarification work and thanks for discussing me actively.


Is it possible to install Dinghy without Homebrew?

Is there a way to install Dinghy on OS X without Homebrew? I use MacPorts, so I don't have Homebrew installed.
Thanks in advance.

Not currently no. MacPorts support sounds fine to me, if you'd like to add it. Alternatively you could install homebrew using a different prefix, if you don't want it touching /usr/local.

I'm going to close this, as it's not something I plan to add support for.


Similar code for Ionic 2?

Hi,
This is not an issue. I'm just wondering if there is a similar project like this in Ionic 2 as well. Please do let me know. I really need it.

This is where it is https://github.com/rajeshwarpatlolla/ionic2-datepicker, but it's not deployed yet, as i would like to make some changes.

Oh when can we expect this ?


retry more times to download files in e2e schedule testing

What type of PR is this?

/kind bug
What this PR does / why we need it:
https://github.com/kubean-io/kubean/issues/874
Which issue(s) this PR fixes:

Fixes #
try more times to download files.
Special notes for your reviewer:

/lgtm


balance teams feature

Would be great to have a function that checks if teams are unbalanced when a player leaves the room.
Maybe something like this being called on the onPlayerLeave event:
  function areTeamsUnbalanced() {
    var players = room.getPlayerList();
    var playersRed = 0;
    var playersBlue = 0;
    for (var i = 0; i < players.length; i++) {
      if (players[i].team == 1) {
        playersRed++;
      } else if (players[i].team == 2) {
        playersBlue++;
      }
    }
    if (Math.abs(playersRed - playersBlue) > 1) {
      return true;
    }
    return false;
  }

That way you can check if teams are unbalanced and do whatever you want.

Thank you very much, it will be implemented

Thank you very much, it will be implemented


Upstream main into main

This pulls upstream openMLS to get the latest storageAPI work here: https://github.com/openmls/openmls/pull/1565.

This upstream merge is becoming hard to manage. Going to merge this now that everything is green and open additional PRs if we find other things that need fixed for the storage migration.


Use release-no-lto profile for gnu deploy on Windows

This PR fixes Windows gnu deployment enabling the new release-no-lto profile

Coverage increased (+0.7%) to 85.63% when pulling fcdfc6bd1bb741ed74b76ecaccc951319b97f76a on Luni-4:fix-deploy into d51f2012b7347a394610baeb283de0d8958887e1 on xiph:master.


add vhosts to blueprints

This partially addresses #102, as you can do this after this change:
from sanic.response import text
from sanic import Sanic
from sanic.blueprints import Blueprint

# Usage
# curl -H "Host: bp1.example.com" localhost:8000/question
# curl -H "Host: bp2.example.com" localhost:8000/answer

app = Sanic()
bp = Blueprint("bp", host="bp1.example.com")
bp = Blueprint("bp", host="bp2.example.com")

@bp1.route("/question")
async def hello(request):
    return text("What is the meaning of life?")

@bp2.route("/answer")
async def hello(request):
    return text("42")

app.register_blueprint(bp1)
app.register_blueprint(bp2)

if __name__ == '__main__':
    app.run(host="<IP_ADDRESS>", port=8000)

Should you add a test combining the route level host parameter and the blueprint level one.

@odarbelaeze I wouldn't see much reason behind mixing them, since you could use a different blueprint for different domains or a separate route without a blueprint. In fact I didn't even add support for the host argument in the blueprint route function. Maybe I should at least add the host header as an argument to the blueprint route for consistency though. What do you think?

Thinking more I think that makes sense, having the ability to override the host set by the blueprint. So, the blueprint route will just be the default.

@odarbelaeze ok I added that feature and a test for it


Adds command to reconfigure cache pool.

This pr as a new command to the run-cli-command which reconfigures the cache pool.
Reintroduce usage of --force to disable cache usage
cache can be disabled from config by setting "use-cache" to false

A few style things but I will fix those now; nothing that stops the merge


[CARBONDATA-2996] CarbonSchemaReader support read schema from folder path

[CARBONDATA-2996] CarbonSchemaReader support read schema from folder path
1.readSchemaInDataFile suppurt read schema from folder path
2.readSchemaInIndexFile suppurt read schema from folder path
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[x] Any interfaces changed?
No
[x] Any backward compatibility impacted?
No
[x] Document update required?
No
[x] Testing done
add test case
[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
https://issues.apache.org/jira/browse/CARBONDATA-2951

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/746/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9012/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/944/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/757/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/758/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9024/

@KanakaKumar @kunal642 @jackylk Please review it.

@xubo245 :
Just reading first file from folder doesn't make sense. This PR is not required as existing API already support all user scenarios.
please check my comment for more details.

@xubo245 : In that case you can implement,
String getFirstCarbonFile(path, ExtenstionType)
and pass it to existing method. ReadSchemaFromFile() must only read it. It should not do any extra work.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1148/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1359/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9413/

retest this please

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9420/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1374/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1161/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9425/

@CI pass, please check again.

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9448/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1187/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1401/

@ajantha-bhat @kunal642 @KanakaKumar  Please check it again.

I think we can enhance the existing APIs itself to take folder path  and then list from the first available data file or index file.. Adding many APIs in SDK will cause confusion for same functionality. I think we can unify to single method like getSchemaFromPath() and return the schema irrespective of index file or data file or multiple subfolders.

@KanakaKumar ok, I unify the interface to readSchema
[CARBONDATA-2996] CarbonSchemaReader support read schema from folder path
1.Deprecated readSchemaInIndexFile and readSchemaInDataFile, unify them to readSchema
2.Deprecated readSchemaInSchemaFile
3.readSchema support read schema from folder path,carbonindex file, and carbondata file. and user can decide whether check all files schema

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9473/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1424/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1209/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1210/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9474/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1425/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1213/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1428/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9477/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1214/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1429/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9478/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1222/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1437/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9486/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1225/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1440/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9489/

@KanakaKumar CI pass, please check

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1236/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1451/

retest this please

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9500/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1242/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9507/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1458/

@KanakaKumar @kunal642 @ajantha-bhat CI pass,  Please check.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1297/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1509/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9558/

@KanakaKumar @kunal642 CI pass, please check it.

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1531/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9578/

@KanakaKumar  CI pass, please check it.

LGTM

LGTM


Naming the API

The new API currently has a module called pb_api.py and a class called Specifications.
Since PolicyBrain maybe phasing out (?) and OG-USA will be part of the PSL, perhaps a name like ogusa_api.py or psl_api.py makes more sense.  @hdoupe, thoughts?
I also suggest renaming of the Specifications class to something like Parameters. Any thought on this @rickecon ?

@jdebacker asked:

Since PolicyBrain maybe phasing out (?) and OG-USA will be part of the PSL, perhaps a name like ogusa_api.py or psl_api.py makes more sense. @hdoupe, thoughts?

I think pb_api.py should be renamed. If you are thinking about renaming the class to Parameters, you could rename the module parameters.py. However, this could be a little confusing since there's already a parametersbase.py. On the other hand, I don't think anyone will directly use parametersbase.py. So, it may not be too much of an issue. If you rename it parameters.py people would use it like:
from ogusa.parameters import Parameters

I think that makes more sense than
from ogusa.ogusa_api import Parameters

I hesitate to name the module psl_api.py because I think it would be better to think of the API as a good way for people to interact with your project in general and not something that's defined by some other entity.
What other names are you thinking?

Ok - we defined to go with parameters.py as the module and keep Specifications as the class.


Today i face error :Failed to resolve:

Failed to resolve: androidx.tonyodev.fetch2:xfetch2:3.1.6
Add Google Maven repository and sync project
Show in Project Structure dialog
Affected Modules: app
Failed to resolve: androidx.tonyodev.fetch2okhttp:xfetch2okhttp:3.1.6
Add Google Maven repository and sync project
Show in Project Structure dialog
Affected Modules: app
ss: https://ibb.co/vHz8q08
Dont know whats wrong because it was working fine till today noon

You need to migrate to
implementation "com.github.tonyofrancis.Fetch:xfetch2:3.1.6"
https://github.com/tonyofrancis/Fetch/issues/586

Thanks bro but still http shows error
Failed to resolve: androidx.tonyodev.fetch2okhttp:xfetch2okhttp:3.1.6
Add Google Maven repository and sync project
Show in Project Structure dialog
Affected Modules: app

Did you see this? https://github.com/tonyofrancis/Fetch/issues/586#issuecomment-997966318

yes friend i have implemented soln error gone for first dependency and error 2 is still there
https://ibb.co/cJq3J3M
and i read that recommended to use on my own project with  that two classes
but i dont get the line-->
 you also need to implement okhttp dependency separately in your build.gradle and maybe other dependencies.

@ThreeMinutesFix @RamProg Did you find any solution?

@ThreeMinutesFix @RamProg Did you find any solution?

no As mentioned by repo owner and in #152 we need to add those 2 classes inside our module

I have the same issue.
Does anyone know how to fix that?

@ThreeMinutesFix You should use ### implementation "com.github.tonyofrancis.Fetch:xfetch2:3.1.6"### instead of ### implementation "androidx.tonyodev.fetch2:xfetch2:3.1.6"###

yeah thanks now its fixed 👍