[DROOLS-1216] exclude commons-logging and use jcl-over-slf4j instead

fixed some POM indentation as well

Part of an ensemble:
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/226
https://github.com/droolsjbpm/drools/pull/815
https://github.com/droolsjbpm/optaplanner/pull/200
https://github.com/droolsjbpm/jbpm/pull/487
https://github.com/droolsjbpm/droolsjbpm-integration/pull/509
https://github.com/droolsjbpm/kie-uberfire-extensions/pull/29
https://github.com/droolsjbpm/guvnor/pull/328
https://github.com/droolsjbpm/drools-wb/pull/209
https://github.com/droolsjbpm/jbpm-designer/pull/302
https://github.com/droolsjbpm/jbpm-console-ng/pull/432
https://github.com/droolsjbpm/kie-wb-distributions/pull/303

+1 to merge

+1


fix codeql alerts

What does this PR do?
This PR fixes some of the code scanning alerts.
You can find the PR conversation we had with Agent Core team here: https://github.com/stephengroat/datadog-agent/pull/1/files
This PR fixes the following alerts
https://github.com/DataDog/datadog-agent/pull/9647/checks?check_run_id=4000934041
Feel free to let me know if this PR should be split into multiple small PRs
Motivation
What inspired you to submit this pull request?
Github Code Scanning
Additional Notes
Anything else we should know when reviewing?
Describe how to test your changes
Write here in detail how you have tested your changes
and instructions on how this should be tested in QA.
Describe or link instructions to set up environment
for testing, if the process requires more than just
running the agent on one of the supported platforms.
Checklist

[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] The need-change/operator and need-change/helm labels has been applied if applicable.
[ ] The appropriate team/.. label has been applied, if known.
[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] The config template has been updated if applicable.

Note: Adding GitHub labels is only possible for contributors with write access.

I pinged some slack channels for the remaining two teams.  It'd be great to get this merged for 7.33.0, so before Friday.

The APM-related changes (pkg/trace) look fine to me, but I don't know where the skeletons are buried in that package.  So, I've added the APM team to the QA list (by adding a label), and they can have a look and test it out in the QA process.


Story of Seasons: Friends of Mineral Town

Game name:

Game package name: MarvelousInc.STORYOFSEASONSFriendsofMineralTown-Wi_76nc9zt2zed8g

Please include the wgs files and a possible Steam/Epic save file.
Here's how to obtain the saves:

Open up the Windows Run dialog by pressing Win+R
Type in "%LOCALAPPDATA%\Packages\MarvelousInc.STORYOFSEASONSFriendsofMineralTown-Wi_76nc9zt2zed8g\SystemAppData" (without quotes)
Zip up the "wgs" folder.

You can upload the zip to a file sharing service of your choice (Dropbox, Google Drive, OneDrive, MEGA, etc.) and share the link either here or by email (you can find my email in my profile).


Add new category for RUM solutions

@AliasIO - As part of Web Almanac project, we would like to report on adoption of various 'RUM (Real User Monitoring)' Tools but currently, there is no such category in Wappalyzer. We see some tools listed (e.g. Akamai mPulse) but that's categorised under category 10 (Analytics) and 47 (Development). I don't even know what else falls under category 47.
Will you be OK if we added a new category for RUM? We have lot of expert insights on detecting RUM solutions (it's listed on this thread - https://discuss.httparchive.org/t/who-are-the-top-rum-analytics-providers/15/11)
If you are agreement, we can create a simple table with all providers and associated patterns so that those can be added to Wappalyzer.
Let me know.

Yes, sounds good.

Hey guys , i would rename category APM & RUM
But so far created  a RUM  category and added several new technologies and updated old technologies that are suitable for this category.

Thanks @nurbek91. Categorisation for 'Akamai mPulse' can also be updated to reflect this category instead of categories 10 and 47.

Hey @rockeynebhwani ,
Akamai mPulse,
AppDynamics,
Boomerang,
Cloudflare Browser Insights,
Instana,
New Relic
These technologies now also fall into this category now

Thanks @nurbek91


remove broken release targets: aarch64-pc-windows-msvc and riscv64gc-unknown-linux-gnu

With the addition of the ureq library, the release CI build for aarch64-pc-windows-msvc and riscv64gc-unknown-linux-gnu currently fails because of ureq's dependency ring. Ring has long had problems with these targets ( https://github.com/briansmith/ring/issues/1182, https://github.com/briansmith/ring/issues/1167 ), and it seems like a difficult to fix artifact of ring's c, rust, and assembly codebase / build system. This PR removes those failing targets from the release build, a decision supported by @laurmaedje ( https://discord.com/channels/1054443721975922748/1088371867913572452/1124441928688209992 ).

I didn't know ring used C and Assembly. I'm okay with dropping support as stated on Discord. Alternatively, I would also be okay with using a different HTTP library if there's another one that is lightweight and that works without async.

It seems like the newest ring version supports this target, so once it has been upstreamed into our dependences we should be able to readd this target.


Feat: Node aware job scheduler

Description
See Fineract-429
Related PR
PR-459
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[x] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[x] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

[x] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@avikganguly01 Please review

Hi @BLasan - thanks. Can you add the JIRA ID to the commit message and assign the JIRA ticket to yourself please - that way  when we create the release notes for the release in JIRA they will contain the right information. Once this has been merged, you should then close the JIRA ticket with appropriate release version.

* What went wrong:
Execution failed for task ':fineract-provider:spotlessJavaCheck'.
> The following files had format violations:
      fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java
          @@ -1647,7 +1647,8 @@
           ················this.fixedPrincipalPercentagePerInstallment))·{
           ············this.fixedPrincipalPercentagePerInstallment·=·command
           ····················.bigDecimalValueOfParameterNamed(LoanApiConstants.fixedPrincipalPercentagePerInstallmentParamName);
          -············actualChanges.put(LoanApiConstants.fixedPrincipalPercentagePerInstallmentParamName,·this.fixedPrincipalPercentagePerInstallment);
          +············actualChanges.put(LoanApiConstants.fixedPrincipalPercentagePerInstallmentParamName,
          +····················this.fixedPrincipalPercentagePerInstallment);
           ········}

           ········return·actualChanges;

Spotless Issues in merged commits.


ADB restart to update

Prerequisites
affected version: 0.20.0
make sure to check this before filing an issue:

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Expected Behavior
If settings of ADB logcat were changed, it should be applied.
Current Behavior
To apply settings of ADB logcat (components list) stream should be restarted.
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Context

Operating System:
node version:
npm version:

Failure Logs
Please include any relevant log snippets or files here.

not valid anymore...if needed add to issue for adb plugin #193


BUILDING.md references non-existant package

The building readme file contains a reference to github.com/caddyserver/caddydev. This repo does not exist or is private. Please update documentation.

file has been deleted


H5ls analogous behavior ?

Hi @aldanor ,
Thanks for the awesome library.
I am using the library for one of small project here. The use case I am looking for is analogous to h5ls i.e. I want to know the group names present in the file before extracting the datatset. Is it possible to share a small example which queries the h5 for group name and select a group and load the data from the group into a u32 vector ? I tried using fapl to extract the properties of the file but the program gives compilation error.
While poking I also found that as the example in the readme somehow hdf5::File::create command doesn't compiles but works when I do hdf5::File::open. Also open command always expects to have 2 parameters even if I want to open the file in just read only mode. I was looking at the code here but couldn't understand which code path actually is being followed for opening a file.
Thanks again.

Hi @k3yavi - happy to help, but could you post some code examples? In particular, the ones that don’t compile. It would be easier to see if something’s wrong.
In regards to checking the contents of the group, would this help? https://github.com/aldanor/hdf5-rust/blob/master/src/hl/group.rs#L175

You can see all of the File constructors here btw:
https://github.com/aldanor/hdf5-rust/blob/master/src/hl/file.rs#L74

Hi @aldanor ,
Thanks for the prompt reply and my apologies in advance if my question are naive to start with.
Basically I have an h5 file which when viewed with h5ls looks like as follows:
╰─$ /home/linuxbrew/.linuxbrew/bin/h5ls -r quants_mat.h5

/                        Group
/matrix                  Group
/features                Group
/matrix/data             Dataset {3121051}

My use case is to first programmatically query the h5 (something like h5ls above), figure out which group has the data h5 Dataset, for example matrix group above has data but the group name matrix is not mandatory, and later retrieve the /<GROUP>/data into a rust vector.
I started playing with the library and have a small snippet with cargo entry hdf5 = "0.5.2" as follows:
extern crate hdf5;

fn main() {
    1. //let file = hdf5::File::open( "/home/quants_mat.h5" )
    //    .expect("can't create output file");

    2. let file = hdf5::File::open( "/home/quants_mat.h5", "r" )
        .expect("can't create output file");

    3. //let fp = file.fapl();

    4. //let file = hdf5::File::create("pixels.h5").unwrap();

}

I numbered the lines in the code to point. The 1 line (if uncommented) gives the following error:
error[E0061]: this function takes 2 parameters but 1 parameter was supplied
 --> src/main.rs:4:16
  |
4 |     let file = hdf5::File::open( "/home/quants_mat.h5" )
  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters

error: aborting due to previous error

For more information about this error, try `rustc --explain E0061`

I basically wanted to open the file as read only (like let file = hdf5::File::open("pixels.h5")?; in the READme example), I could get away with using 2 by explicitly providing the r. However, when I went to the link with the file constructors I can find open function with one parameter which makes me wonder am I looking at the right code path ? Similarly 3 gave me following error, even though the file object does have this method.
error[E0599]: no method named `fapl` found for type `hdf5::File` in the current scope
  --> src/main.rs:12:19
   |
12 |     let fp = file.fapl();
   |                   ^^^^

error: aborting due to previous error

Similarly 4 gives me following error:
error[E0599]: no function or associated item named `create` found for type `hdf5::File` in the current scope
  --> src/main.rs:13:28
   |
13 |     let file = hdf5::File::create("pixels.h5").unwrap();
   |                            ^^^^^^ function or associated item not found in `hdf5::File`

error: aborting due to previous error

In summary  I can make the h5 writing work for my use case here  but I question my understanding of the library given the questions above, I don't have answer for, when reading a h5 file. I still have to figure out, once I can query the groups how to load a dataset into a rust vector.
It'd be great to have a couple of more examples for reading / writing the h5 file in the library. I'd be happy to help too, in that regards.

Ah, I see. It's simple: the docs are based on the master branch which has diverged from the 0.5.2 release. If you use { git = "https://github.com/aldanor/hdf5-rust.git", rev = "e7a28a7" }, things should work as intended.
Maybe I should release the v0.6.0 (will try to, tonight). I was planning to hold off on it because I have lots of stuff implemented locally that I wanted to bring in before that - but it will take some time, so maybe it's best to push a stable version for now which will be in sync with the docs.

My use case is to first programmatically query the h5 (something like h5ls above), figure out which group has the data h5 Dataset, for example matrix group above has data but the group name matrix is not mandatory, and later retrieve the //data into a rust vector.

In regards to group names, again, you don't need fapl(), you probably need member_names() which works for both File and Group and returns a list of names of immediate child objects.

Awesome ! Thanks for the help @aldanor . I'll check it soon and will update it here.

Closing since it seems to have worked.

Thanks @aldnor, it looks great. My apologies for not closing it earlier.


boolean prop does not show in props

customElements.define(
"weather-widget",
r2wc(WeatherWidgetWapper, {
props: {
latitude: "number",
longitude: "number",
showHourly: "boolean",
theme: "json",
test: "string",
a: "boolean",
},
}),
);
showHourly  and a  are not in props.

only lowcase props work

using lowercase props works for me as well.


Memory loss with Data Grid when updating ItemSource

Describe the bug
The memory keeps climbing when updating the list in the Model View.
To Reproduce
AvaloniaApplication3.zip
Please find a sample code showing the the issue. I appreciate the timing is tight but it is done to highlight the issue
Expected behavior
No response
Avalonia version
11.1.3
OS
Windows
Additional context
No response

Here is a resharper memory map when started compared to memory after 45 minutes

@simsfarrow seems like memory is stable on this screenshot.

@maxkatz6  Thank you for your attention - Please see additional information
Avalonia.pdf


Question: Comparison to PostgreSQL syntax

Hi all!
I did some googling and couldn't find a good answer to this... How similar is OmniSci's SQL dialect to Postgres? I know OmniSci leverages Apache Calcite, but I couldn't find any Calcite vs. Postgres comparisons either.
It's a bit of an odd question, but I'd like to see how easily DuckDB could be integrated into Modin, since DuckDB uses the Postgres query parser and Modin supports an OmniSci back end.
Thank you!!
-Alex

Hi!
Modin backend for OmniSci doesn't use SQL actually. It queries OmniSci with a serialized relational algebra tree in JSON format.

Hi,
My understanding is that Calcite implements a standard SQL as PostgreSQL, so the dialects should be quite similar, but there are some differences; Calcite, as an example, is missing the bitwise logical operators in the parser, so to implement them with Calcite, you have to define functions (take this post in the community as an example https://community.omnisci.com/t/bitwise-operation-support-in-omniscidb/2534).
You can also extend calcite, so you can have functions that are not present on Postgres and, more likely) vice-versa, but I'm not sure if you care about that.
I'm sorry if I haven't exactly replied to your question; I hope those considerations will be helpful to your evaluation

Questions answered!


Unable to instantiate chaincode label:"help wanted"

Hi, I have been following the README file.
I could install the chaincode without any errors.
info: Install done. Errors: nope
But I am facing errors while instantiating the same chaincode.
using : node instantiate.js
The errors are:
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: chaincode error (status: 500, message:  is not a valid endorsement system chaincode)
at new createStatusError (/home/ragpach2/marbles_tutorial/marbles/node_modules/fabric-client/node_modules/grpc/src/client.js:64:15)
at /home/ragpach2/marbles_tutorial/marbles/node_modules/fabric-client/node_modules/grpc/src/client.js:583:15
error: [fcw] Failed to obtain endorsement for transaction. code=2, , details=chaincode error (status: 500, message:  is not a valid endorsement system chaincode)
error: [fcw] Error in instantiate catch block object code=2, , details=chaincode error (status: 500, message:  is not a valid endorsement system chaincode)
info: Instantiate done. Errors: parsed=Blockchain network error -  is not a valid endorsement system chaincode), raw=[code=2, , details=chaincode error (status: 500, message:  is not a valid endorsement system chaincode)]
``
Kindly help. ****
Thanking You
Raginee

never seen this error before.  can you run the test instructions?

closing - inactivity

sowedane@sowedane-OptiPlex-3010:~/hyperledger/wallet/wallet/scripts$ node install_chaincode.js
info: Loaded config file /home/sowedane/hyperledger/wallet/wallet/config/data_local.json
info: Loaded creds file /home/sowedane/hyperledger/wallet/wallet/config/blockchain_creds_local.json
info: Lets install some chaincode - Data v24
info: First we enroll
info: [fcw] Going to enroll with admin cert!  peer_urls=[grpc://localhost:7051], channel_id=mychannel, uuid=rutes-Docker Compose Network-mychannel-fabric-peer-org1, orderer_url=grpc://localhost:7050, msp_id=Org1MSP
debug: added peer grpc://localhost:7051
debug: [fcw] Successfully got enrollment rutes-Docker Compose Network-mychannel-fabric-peer-org1
info: Now we install
debug: [fcw] Installing Chaincode
debug: [fcw] Sending install req targets=[grpc.max_receive_message_length=-1, grpc.max_send_message_length=-1, grpc.keepalive_time_ms=120000, grpc.http2.min_time_between_pings_ms=120000, grpc.keepalive_timeout_ms=20000, grpc.http2.max_pings_without_data=0, grpc.keepalive_permit_without_calls=1, clientCert=undefined, _url=grpc://localhost:7051, protocol=grpc, addr=localhost:7051, , _name=localhost:7051, _request_timeout=90000, _grpc_wait_for_ready_timeout=3000, $interceptors=[], $interceptor_providers=[], $callInvocationTransformer=undefined, , $interceptors=[], $interceptor_providers=[], $callInvocationTransformer=undefined, ], chaincodePath=Data, chaincodeId=Data, chaincodeVersion=v24
debug: [fcw] Successfully obtained transaction endorsement
info: Install done. Errors: nope
sowedane@sowedane-OptiPlex-3010:~/hyperledger/wallet/wallet/scripts$ node instantiate_chaincode.js
info: Loaded config file /home/sowedane/hyperledger/wallet/wallet/config/data_local.json
info: Loaded creds file /home/sowedane/hyperledger/wallet/wallet/config/blockchain_creds_local.json
info: Lets instantiate some chaincode - Data v24
warn: Note: the chaincode should have been installed before running this script
info: First we enroll
info: [fcw] Going to enroll with admin cert!  peer_urls=[grpc://localhost:7051], channel_id=mychannel, uuid=rutes-Docker Compose Network-mychannel-fabric-peer-org1, orderer_url=grpc://localhost:7050, msp_id=Org1MSP
debug: added peer grpc://localhost:7051
debug: [fcw] Successfully got enrollment rutes-Docker Compose Network-mychannel-fabric-peer-org1
info: Now we instantiate
debug: [fcw] Instantiating Chaincode peer_urls=[grpc://localhost:7051], channel_id=mychannel, chaincode_id=Data, chaincode_version=v24, cc_args=[12345], ssl-target-name-override=null, pem=null
debug: [fcw] Sending instantiate req targets=[grpc.max_receive_message_length=-1, grpc.max_send_message_length=-1, grpc.keepalive_time_ms=120000, grpc.http2.min_time_between_pings_ms=120000, grpc.keepalive_timeout_ms=20000, grpc.http2.max_pings_without_data=0, grpc.keepalive_permit_without_calls=1, clientCert=undefined, _url=grpc://localhost:7051, protocol=grpc, addr=localhost:7051, , _name=localhost:7051, _request_timeout=90000, _grpc_wait_for_ready_timeout=3000, $interceptors=[], $interceptor_providers=[], $callInvocationTransformer=undefined, , $interceptors=[], $interceptor_providers=[], $callInvocationTransformer=undefined, ], chaincodeId=Data, chaincodeVersion=v24, fcn=init, args=[12345], 0=163, 1=37, 2=236, 3=75, 4=171, 5=178, 6=145, 7=124, 8=40, 9=36, 10=211, 11=133, 12=239, 13=42, 14=155, 15=243, 16=142, 17=10, 18=73, 19=143, 20=75, 21=145, 22=111, 23=64, _transaction_id=3ef55e17cf2089154bc42c24ee87bdab7f7c7b0ba4d8dc7e5da4f46a3143788e, _admin=false
error: [fcw] Failed to obtain endorsement for transaction. status=500, , url=grpc://localhost:7051, name=localhost:7051, grpc.max_receive_message_length=-1, grpc.max_send_message_length=-1, grpc.keepalive_time_ms=120000, grpc.http2.min_time_between_pings_ms=120000, grpc.keepalive_timeout_ms=20000, grpc.http2.max_pings_without_data=0, grpc.keepalive_permit_without_calls=1, isProposalResponse=true
error: [fcw] Error in instantiate catch block object status=500, , url=grpc://localhost:7051, name=localhost:7051, grpc.max_receive_message_length=-1, grpc.max_send_message_length=-1, grpc.keepalive_time_ms=120000, grpc.http2.min_time_between_pings_ms=120000, grpc.keepalive_timeout_ms=20000, grpc.http2.max_pings_without_data=0, grpc.keepalive_permit_without_calls=1, isProposalResponse=true
info: Instantiate done. Errors: parsed=Blockchain network error - Customer
", raw=[status=500, , url=grpc://localhost:7051, name=localhost:7051, grpc.max_receive_message_length=-1, grpc.max_send_message_length=-1, grpc.keepalive_time_ms=120000, grpc.http2.min_time_between_pings_ms=120000, grpc.keepalive_timeout_ms=20000, grpc.http2.max_pings_without_data=0, grpc.keepalive_permit_without_calls=1, isProposalResponse=true]

same error provide solution


Export Frames of Sketch

Adding this feature will allow, movie of the sketch to be made to allow sharing of ideas.

Working on Issue in Pull Request #3

Functional Code + Added Comments + Added Guide to Readme.
Not Going to Commit to Main Tree ATM


Test welcome view not always shown

Does this issue occur when all extensions are disabled?:No

VS Code Version: 1.60.0-insider (user setup)
OS Version: Windows_NT x64 10.0.19043
Commit: 1c445fe4c7c540d323a206f2f7cb8df9aa99d60e
Date: 2021-08-10T23:41:24.812Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0

Steps to Reproduce:

Install insiders version of the python extension (download here https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix)
Create a folder with no tests configured for python, follow this folder structure:

project-root
|- .vscode
|  |- settings.json
|- tests
|  |- test_repro.py
|- somemodule.py

Use following content for the test_repro.py

import unittest

class TestSomething(unittest.TestCase):
    def test_this(self):
        pass

Open folder in VS Code, and open a python file.
At this point No-tests are configured you should see the Welcome View in the test for python.
Click on Configure Python Tests or run Python: Configure Tests command from the command pallet.

Select unittest
Folder tests
Pattern test_*.py

A test should show up in the test view.
Run it.
Delete settings.json and Reload.
We should be back in the same state as step 4. but we don't see welcome view.

I have verified on the Python extension side that there are no items in the TestController. Also, I noticed that if I add an item and remove it, the welcome view shows up. Also, the above is not a 100% repro, it happens often but not always.

This is what I see when I debug (as you can see there are no items in the test controller:

cc @connor4312 is this you?

That me


WARNING: CFMachPortSetInvalidationCallBack() called on a CFMachPort with a Mach port

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Hi all,
we are using since more than one year our build pipeline and from beginning the upload to crashlytics did not work if the user isn't logged in at the build server (mac mini). Always we got the error:
submit[30292:87464] *** WARNING: CFMachPortSetInvalidationCallBack() called on a CFMachPort with a Mach port (0x5d0b) which does not have any send rights. This is not going to work. Callback function: 0x7fff8e0e90bf
submit Crashlytics: Unable to find application in Crashlytics. Response code: 0
submit Crashlytics: Does this app belong to this org?

If the user is logged in the upload works fine. We are also using this server as an android build server and for that the crashlytics upload works fine as well.
Environment
`./fastlane/Appfile`

fastlane gems

Gem
Version
Update-Status

fastlane
2.55.0
? Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-rocket_chat
0.1.1
? Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.4

uber
0.1.0

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

mime-types-data
3.2016.0521

mime-types
3.1

httpclient
2.8.3

google-api-client
0.13.5

json
2.1.0

io-console
0.4.5

excon
0.59.0

faraday
0.13.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

faraday_middleware
0.12.2

rocket-chat-notifier
0.1.0

fastlane-plugin-rocket_chat
0.1.1

generated on: 2017-09-08

Had someone of you an similar issue or can support me here?
Thx,
Werner

Are you using the right API key for the right org?

Hi,
yes. I checked it several times.
Thanks,
Werner

Have you solved this problem?

Hi @berliozzz
yes I solved the issue. In our case we had the issue, because we are behind a proxy. I've added the proxy crendentials in the crashlytics_helper.rb to the Java command.

I hope this will solve your problem as well.
BR,
Werner


Question About KeyError: 'design_space'

Hello there, I am trying to implement the KRG() function into an optimal control problem using Dymos. I have trained my Kriging models on a large set of data which requires three inputs and one output. However, each time that I try to call the .predict_values() method in my optimal control code, I receive a KeyError: 'design_space'. My guess thusfar is that the kriging models do not believe they have been trained on continuous data, however, I am unsure. It should be noted that I have my Kriging models saved in .pickle files to prevent them from being retrained each iteration. This code worked perfectly fine up until one day ago, in which it started acting rather odd. I appreciate the help!
Here is the function call I use: CL = smt.predict_values(inputValues) where inputValues has a dimension of (nn, 3) and CL has a dimension of (nn, 1).
Here is the full error printout:
Traceback (most recent call last):
  File ~/anaconda3/envs/StratoLaunchProject/lib/python3.10/site-packages/openmdao/core/system.py:2666 in _call_user_function
    yield

  File ~/anaconda3/envs/StratoLaunchProject/lib/python3.10/site-packages/openmdao/core/explicitcomponent.py:267 in _compute_wrapper
    self.compute(self._inputs, self._outputs)

  File ~/Documents/HypersonicMDA-main/ClimbTraj.py:126 in compute
    CL = sml.predict_values(inputValues)

  File ~/anaconda3/envs/StratoLaunchProject/lib/python3.10/site-packages/smt/surrogate_models/krg_based.py:1433 in predict_values
    y = self._predict_values(x2, is_acting=is_acting)

  File ~/anaconda3/envs/StratoLaunchProject/lib/python3.10/site-packages/smt/surrogate_models/krg_based.py:1457 in _predict_values
    if not (self.is_continuous):

  File ~/anaconda3/envs/StratoLaunchProject/lib/python3.10/site-packages/smt/surrogate_models/krg_based.py:260 in is_continuous
    return self.design_space.is_all_cont

  File ~/anaconda3/envs/StratoLaunchProject/lib/python3.10/site-packages/smt/surrogate_models/krg_based.py:246 in design_space
    if self.options["design_space"] is None:

  File ~/anaconda3/envs/StratoLaunchProject/lib/python3.10/site-packages/smt/utils/options_dictionary.py:52 in __getitem__
    return self._dict[name]

KeyError: 'design_space'

Did you change the SMT version? What version do you use? Looks like your pickle files were generated with an old version without the design_space property which was added in release 2.0. Either you retrain your models and save the pickle files with your current version (2.x?) of SMT or you downgrade to the version (1.3?) you used to generate the pickles.


Created a separate folder for Binary Search and added the read.me as well

Will be adding more questions to it

Well done,
Kindly star the repository on top right corner!


[BUG] IE11 -> Can't execute code from a freed script

Context:

angular 5.0.0-rc3
zone.js 0.8.18
IE 11

I tried to update from zone 0.8.4 (current official angular 5 tutorials version) to 0.8.18, and get at some point with IE 11 the following error: Can't execute code from a freed script. This is a really imprecise error, that I didn't manage to find the origin but is due for sure from zone.js.
EDIT: after testing => appear from 0.8.12 (working) to 0.8.13 (no more working on IE 11)

@lifaon74 , could you provide a reproduce sample ?
or you can try to add following code in index.html before loading zone.js
<script>
__Zone_enable_cross_context_check = true;
</script>

to see the result.

@lifaon74 , glad to help, and __Zone_enable_cross_context_check  this flag will enable some additional error check to IE, in IE, sometimes DeveloperTools will also register eventListeners which will cause some weird exceptions.

Happening to me in edge also. Using the latest cli 1.5.4

@lifaon74 While analyzing the migration of AngularJS to Angular 5 we came across the same problem you mentioned here with zone.js 0.8.18 in IE11. Downgrading it to 0.8.12 does not throw the exception anymore. Thank you for mentioning this workaround.

@ganeshkbhat, @falcoprescher , could you guys try to add
<script>
__Zone_enable_cross_context_check = true;
</script>

in index.html before loading zone.js?

@JiaLiPassion Setting this flag works which you suggested on the 20th October 2017.
Is this a fix or a workaround?

@falcoprescher , this is a fix and it should be better documented.
in old version, this flag is true by default, but it will have performance impact, so in recent version it has been changed to false, only in IE and some use cases it need to be set to true.
I will add document and better setting method later.

@JiaLiPassion Thank you for the information. I am also considering disabling this flag in production mode via our webpack configuration.
webpack.config.js
new webpack.DefinePlugin({
    ...
    // Needs to be set for zone.js so it does not throw an exception in IE11 while being in developer tools
    // https://github.com/angular/zone.js/issues/933
    '__Zone_enable_cross_context_check': this.isDevMode ? 'true' : 'false'
}));

app.base.ts
import './app.globals.ts';
import 'zone.js';
...

app.globals.ts
declare let zoneEnableCrossContextCheck: boolean;
(<any>window).__Zone_enable_cross_context_check = zoneEnableCrossContextCheck;

@falcoprescher , thank you for the configuration idea!

@jochenhebbrecht , the flag will try to catch all error when access the event handler. So it may also have impact in Chrome/firefox such as  chrome/firefox extension code involved. There was an issue in firefox 52 which is try to access event handler in main page from firefox extension. With this flag, the issue was resolved.
So if you have the specified issue, I may be able to help you to see whether the flag will help.

Hi @JiaLiPassion ,
Thanks for your very fast feedback! :-)
So I conclude it's OK to put the flag for any kind of browser. Any plans for taking this up in a next release? (so you don't need to add the line)
Jochen

@jochenhebbrecht , because this flag will basically impact IE/Edge developer tools, so it will not be true by default ( set to true will have some performance impact for addEventListener call). you can set it to true if you have such kind of use case.

@JiaLiPassion what do you mean with: it will have impact on IE/Edge developer tools? It seems to be working fine when put to true? The developer tools still work?
In the second part of your reply, your stating putting the value to true will impact the performance. You mean: it will work more slowly when put to true? If that's the case, then the value should be false when rendering in Google Chrome/Mozilla Firefox.

@jochenhebbrecht , yes, everything will work if you set it to true. enable the flag will cause an additional try/catch and toString operation when you call addEventListener. so it will be a little performance impact when you call addEventListener, the behavior is the same.
And the reason don't want to set it to true by default even in IE because it only impact some of the developer tools , so it only impact development mode, and in the new version of angular/cli generated project, you can find the following code in src/polyfills.ts.

 /*
 * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
 * with the following flag, it will bypass `zone.js` patch for IE/Edge
 */
// (window as any).__Zone_enable_cross_context_check = true;

you can open the comment when you in development mode and comment it when you want to build in production mode.

Thanks @JiaLiPassion !

Thanks so much @JiaLiPassion
Added only for IE and Edge using the below in pollyfills.ts and it works a charm
`/*

in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
with the following flag, it will bypass zone.js patch for IE/Edge
*/
//(window as any).__Zone_enable_cross_context_check = true;
if (document['documentMode'] || /Edge/.test(navigator.userAgent)) {
(window as any).__Zone_enable_cross_context_check = true;
}`

I seem to get this error in IE11 while dev tools are open, regardless of whether or not JiaLiPassion's fix is applied. Closing dev tools makes the web app load again.

Has this been documented?
This thread is a bit hard to parse, so please correct me if I'm wrong:

This fixes an intermittent issue in IE11 that manifests only if the dev tools are open.
Enabling it in production is not recommended since it has performance overhead.
Enabling it during development or for unit tests is fine.

Try to specify the version of IE in .browser list rc, helped me.
### Supported Browsers

> 1%
last 2 versions
iOS > 7
ie 6-11

@JiaLiPassion
i have added the following code in index.html. It does not work for me still the application is keep loading. My developer tool was closed.

i tried this approach also
In pollyfills.ts, uncommented the following line
(window as any).__Zone_enable_cross_context_check = true;
could you help me resolve this issue?
Thanks in advance.


Missing API implementations for working with Sets

When working with Redis as Cache Back Plate, only a small portion of the very rich Redis API is available. A powerfull Redis feature/datatype that is not transpiled are the Set based operations (http://redis.io/commands/smembers)
Will/can these type of operations be added to the CacheManager API?

The intention was to use CacheManager for caching only. And therefore you don't really need more than key/values.
Also, Redis is the only distributed store which has those advanced features and the common interface from CacheManager provides only the subset which is supported by all of them.
I don't want an interface which gets implemented only partially or where other handles throw "NotSupported" exceptions!
That being said, if you have an idea of how we could extend the functionality for Redis only without breaking above mentioned pattern, let me know :)

I wonder, could we have interceptors for set and get calls, to specific backends? This would be an optional hook that could be added to the pipeline, which would be application specific (as each application using this library could write its own implementation; If it became commonly used it could be thrown into the library)
I actually have a work requirement for this, and am going to have to add it myself if it's not already in this project. Here's my scenario:
I will be using the first level cache as an in-memory cache, the second level cache as Redis, and using Redis as a backplane between two servers in a webfarm. We have an in-house ORM, which is essentially a glorified SQL constructor. Before sending off the query to the database, I'd like to modify it and only request the records I don't have in cache.
This is my desired code for the cache checker:
public class CacheChecker
{

	public ICacheManager Cache {get;set;}

	private HashSet<T> GetIdTrackerForType<T>(){

		Type type = typeof(T);

		return (HashSet<T>)Cache.Get(@"{type.AssemblyQualifiedName}--IdsCached");
	}

	public IEnumerable<T> RecordsAreInCache<T>(IEnumerable<T> recordIds) {
		var recordsInCache = new List<T>();

		Type type = typeof(T);

		var typeName = type.AssemblyQualifiedName;

		var idsCached = GetIdTrackerForType<T>();

		foreach (var id in recordIds) {
			if (idsCached.Contains(id)){
				recordsInCache.Add(id);
			}
		}

		return recordsInCache;
	}

}

The way I understand CacheManager, each HashSet sent to Redis will be serialized using either JSON or Protobuf. However, if I am using the HashSet to keep track of what Ids I have in cache, I may have 100, 1000, or 10,000 entries in the set. Serialization on each change, is going to be a performance hit. I could do this without a HashSet, but then I'll be engineering a system where I'm assuming to get cache misses. I would much rather be able to use a HashSet, and then for Redis, use the built in Set data type.
If we could have an API similar to this, we could solve this problem:

// My understanding of the workings of CacheManager are not the best, but I think we'd do something along these lines:
public interface ICacheTypeSerializer
{
	bool CanHandle<TCacheValue>(BaseCacheHandle<TCacheValue> cacheBackend);

	TCacheValue Get<TCacheValue>(String key);
	TCacheValue Put<TCacheValue>(String key, TCacheValue v);
	TCacheValue Update<TCacheValue>(String key, TCacheValue v);
	TCacheValue Add<TCacheValue>(String key, TCacheValue v);
}

// Partial implementation of the above interface just to demonstrate the point:
public class RedisHashSetSerializer : ICacheTypeSerializer {

	public bool CanHandle<TCacheValue>(BaseCacheHandle<TCacheValue> cacheBackend){
		if (typeof(TCacheValue) is HashSet<string> &&
		    cacheBackend is RedisCacheBackend<TCacheValue>) {
			return true;
		}
		return false;
	}

        // Update, etc. could use StackExchange.Redis commands for Redis Sets.
}

We would define a new class which would be used for each type and back-end that we wanted to provide custom serialization for.
Then, when doing Update, Put, Get, Set etc, the CacheManager could check if any ICacheTypeSerializer, has been registered for that particular type, and particular cache.
using System.Collections.Concurrent;
using System.Collections.Generic;

class BaseCacheManager
{
	private ConcurrentDictionary<Tuple<Type, Type>, ICacheTypeSerializer> _cacheTypeSerializersForTypes;
	private IEnumerable<ICacheTypeSerializer> _cacheTypeSerializers;

	// Efficiently retrieve the correct serializer
	private ICacheTypeSerializer GetSerializerForCacheHandle<TCacheValue>(BaseCacheHandle<TCacheValue> handle)
	{
		var typeTuple = new Tuple<Type, Type>(typeof (TCacheValue), handle.GetType);
		ICacheTypeSerializer serializer = null;
		if (_cacheTypeSerializersForTypes.TryGetValue(typeTuple, serializer))
		{
			return serializer;
		}
		else
		{
			foreach (var s in _cacheTypeSerializers)
			{
				if (s.CanHandle(handle))
				{
					serializer = s;
					break;
				}
			}
			_cacheTypeSerializersForTypes.TryAdd(typeTuple, serializer);
		}

		return serializer;
	}
}

My implementation might be off, but I feel like this would add more flexibility for this library. Other custom types could be serialized as well (for example, using the Hash type with Redis, to efficiently update values of large dictionaries, etc.)

Yes you are right, serializing the whole list every time to update just one item would be problematic.
In those cases you should maybe store each item of the list separately (in a region maybe) with a unique key and not as one single (large) object.
I was thinking about adding some support for lists but couldn't yet figure out a simple/good concept
Tbh, I don't really get how your idea would work/solve the issue.
How would the client side (CacheManager) know which items of your HashSet are already stored in the Redis list for example?
I think it also has not really something to-do with serialization

I was thinking about that as well. This is my current implementation:

All entries of a given type, are stored with a key along the lines of {NameOfType}:Id:{Id}
There is a HashSet stored as well, with the key {NameOfType}:RecordsInCache

When I need to pull 1, 2, and 3 (for example) from the set, I first check {NameOfType}:RecordsInCache. Really, this library lacks a Has function, and I'm trying to come up with a way to overcome that lack.
Is there a reason that that isn't implemented? Seems to me like Has could be implemented by doing something very similar to what I'm doing, but all you'd need would be a HashSet<String> (since everything is stored by a key after all). Add, Put, Remove operations would just need to modify this single HashSet. Perhaps an ImmutableHashSet for concurrency issues?

Closing this off as Exists is now in the API for some time and there is another discussion around having an equivalent to Redis's Keys or Scan operation integrated into CacheManager, see #161


Undated article

I get scared when I find an article like this for something that looks exactly like what I need - but there's no date anywhere.
So I have no idea if it's 5 years old and now obsolete - or the latest and greatest way to manage my Azure account.

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

ID: 8246b90a-efb1-03ce-f642-d3eb2441fc30
Version Independent ID: 2fdd20ef-7bd3-57bc-7957-93f4bb5377ce
Content
Content Source
Service: multiple

Thanks for the feedback, I reached out to the content team to resolve the issue.


Positioning a section or block of text

Hi,
Currently I'm creating a pdf with jsPDF. I want to position several blocks of text on a certain place with coördinates, but cannot find whether it is possible. Think of it as a div containing text that you want to position absolutely. This would display as a grid like this:

Of course I could position each textline seperately, but that is a very time consuming and error-prone approach.
Please advice if there's an 'easy' way to accomplish this.
Thanks!

Hey @webdevbe and thanks for posting this! This issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.


Webpack not compatible with require aliases

How to Reproduce

clone https://github.com/facebook/create-react-app
create a new app
install using npm install<EMAIL_ADDRESS>build app

Actual Result

webpack complains about require aliases runtime.require (WIP, precise error message follows)

Expected Result

app builds without problem

Note

require aliases runtime.require are needed in react native context. Details: https://github.com/archilogic-com/3dio-js/issues/89

I've been doing some digging into this. It seems webpack spots the require reference and tries to parse it. The same error will occur if you call console.log(require), console.log(typeof require) etc. I could reproduce this with a few of the popular webpack templates (https://github.com/facebook/create-react-app and http://vuejs-templates.github.io/webpack/).

Unfortunately this means this means that the current build (1.1.7) is still affected since it includes the getDynamicRequire function which will throw an error to webpack.
I think we can work around this with global.require, but I need to test it... PR incoming

Can confirm that this PR fixes the issue for model-maker https://github.com/archilogic-com/3dio-js/pull/127

Reopening because this is an issue again in 1.1.8

I am having this exact same issue with 1.1.8. Any recommendations?

Thanks for bumping this, I would suggest using 1.1.5 with webpack until it's resolved.

bnjm,
Thank you so much for responding. Regardless of what version of the 3dio npm module I uses I still get the following error.

Thanks again bnjm!
-from the blockvue dev team

hey @bleudreams, there is a PR submitted to resolve this issue: https://github.com/archilogic-com/3dio-js/pull/135, we'll make another release soon to include it!

This is fixed in 1.2.0 which is available now.
@bleudreams Let us know if you still have any problems with this!

Benjamin,
Thank you so much for the reply. I really appreciate.
KRH
On Wednesday, May 2, 2018, Benjamin Devine<EMAIL_ADDRESS>wrote:

This is fixed in 1.2.0 which is available now.
@bleudreams https://github.com/bleudreams Let us know if you still have
any problems with this!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/archilogic-com/3dio-js/issues/126#issuecomment-385953954,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aa41h_2UQFdz59N4B2GQGKrFJykn0C7bks5tuZ_cgaJpZM4SG-mg
.


Document with Sidebar

Collapsed sidebar that expands to show list of articles
Article with title, body
Footer nav with next and previous article links

Something like https://perrera.com/2017/designing-with-tachyons/ or https://makingmusic.ableton.com/on-work (the latter is perhaps more user-friendly)

Testing a component request on the new Components project — input welcomed.
The card status can be set to update as this issue progresses... or we can do it manually.

@j-greig where do you belive the state of the menu should be kept ?

inside a class like .is-visible { ... } (JS is required)
inside an auxiliar html element like

/* naive implementation */
nav {
 display: none;
}

input.toggler:cheked ~ nav {
  display: block;
}

with this approach tachyons new users should make and extra effort to put pieces together
this approach on the other hand will enforce the markup to be something like:

<input type="checkbox" />
<nav>...</nav>

because of it's toggler ~ nav selector

@cmnstmntmn Good question — I'm more than designer than developer so I'm not sure which option is better. Wonder if there is consensus on this for existing Tachyons components @johno ?

TBH, I think both approaches are viable depending on the project and context. Though I'm not sure if one is perhaps better to show in component examples, or if it makes sense to even show both implementations.

Another nice example for this component: https://www.purgecss.com/

@johno
I have used the  approach for hobby project or quick static site. However, once you the project gets bigger, people should store the state in their choice of state engine (React, mobx ...)


Is it possible to assign a name when creating a new tab?

You write a lua config,  add an autocmd at event TabNew, and call the TabRename command. Can you give me an example and I will try to write a sample config for you?

I have realized how to do it via #91. Closing...


ME-18 Send graphql request metrics to datadog

https://artsyproduct.atlassian.net/browse/ME-18

Added datadog logging of graphql fetch times along with operation name + id

After this gets merged we need to make a small change to eigen in ARAppDelegate+Emission.m

@ashfurrow it feels kinda silly to thread this volleyURL env var through to eigen when it's not being used there. Actually it feels kinda silly to have the env var for this at all, since it's value is hard-coded anyway 🤷♂
Would you object to my keeping the URLs in the volleyClient.ts file for now?

@ds300 Hmm, yeah that's a good point. I was envisioning a way for Eigen to also report load times, but I agree that for now it's fine to keep the logic in Emission 👍

@ashfurrow  this should be 🍏


Delete PVC not sending event to webhook

When I am deleting PVC in namespace () its throwing PV resource instead of PVC, & namespace coming empty. Seems its a BUG
[root@minio-nfs ~]# oc get pvc -n piggyapp
NAME           STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS      AGE
test-nfs-pvc   Bound    pvc-ae3c5854-8dd4-11ea-b269-42010a800005   50Mi       RWX            kubenfs-storage   10s
[root@minio-nfs ~]# oc delete pvc test-nfs-pvc -n piggyapp
persistentvolumeclaim "test-nfs-pvc" deleted
[root@minio-nfs ~]# oc get pvc -n piggyapp

in my webhook, I am getting following json data.
{\"meta\":{\"cluster\":\"not-configured\",\"kind\":\"PersistentVolume\",\"name\":\"pvc-ae3c5854-8dd4-11ea-b269-42010a800005\",\"namespace\":\"\"},\"status\":{\"level\":\"critical\",\"type\":\"delete\"},\"summary\":\"PersistentVolume *pvc-ae3c5854-8dd4-11ea-b269-42010a800005* has been deleted in *not-configured* cluster\\n\",\"timestamp\":\"2020-05-04T06:59:07Z\"}

Namespace coming blank, resource name ac PersistentVolume not PVC
My configuration as follows..
apiVersion: v1
kind: ConfigMap
metadata:
  name: botkube-configmap
  namespace: velero-auto
  labels:
    app: botkube
data:
  resource_config.yaml: |
    ## Resources you want to watch
    resources:
      - name: service
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: ingress
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: namespace
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: persistentvolume
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: persistentvolumeclaim
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: role
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: rolebinding
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: clusterrole
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: clusterrolebinding
        namespaces:
          include:
            - all
          ignore:
            -
        events:
          - delete
      - name: configmap
        namespaces:
          include:
            - demo-mongo
          ignore:
            -
        events:
          - delete
    # Check true if you want to receive recommendations
    # about the best practices for the created resource
    recommendations: true
    # Setting to support multiple clusters
    settings:
      # Cluster name to differentiate incoming messages
      clustername: not-configured
      # Kubectl executor configs
      kubectl:
        # Set true to enable kubectl commands execution
        enabled: false
        # set Namespace to execute botkube kubectl commands by default
        defaultNamespace: default
        # Set true to enable commands execution from configured channel only
        restrictAccess: false
      # Set true to enable config watcher
      configwatcher: true
      # Set false to disable upgrade notification
      upgradeNotifier: true

Hey @prasenforu, it's been a while and there were a lot of changes in Botkube core and Kubernetes source. Please test the latest Botkube to see if the problem still persists. If it's still there, please create a brand-new issue. Thank you!


  Also noteworthy how the log begins - seems like an initial script is requiring itself?
Run vendor/bin/dep deploy haur --branch=fix/deploy-npm-sun -v
PHP Warning:  Constant  already defined in /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep on line 5
PHP Stack trace:
PHP   1. {main}() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:0
PHP   2. require() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:4
PHP Warning:  Constant  already defined in /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep on line 5
PHP Stack trace:
PHP   1. {main}() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:0
PHP   2. require() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:4
PHP   3. require() phar:///home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep/bin/dep:47
PHP   4. require() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:4
PHP Warning:  Constant  already defined in /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep on line 5
PHP Stack trace:
PHP   1. {main}() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:0
PHP   2. require() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:4
PHP   3. require() phar:///home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep/bin/dep:47
PHP   4. require() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:4
PHP   5. require() phar:///home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep/bin/dep:47
PHP   6. require() /home/runner/work/haur-digi/haur-digi/vendor/deployer/dist/dep:4

Installed with:
$ composer require deployer/dist:^v7.0.0-beta.29
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Updating deployer/dist (v7.0.0-beta.27 => v7.0.0-beta.29): Downloading (100%)
Writing lock file
Generating autoload files

Fixed in beta.30


WIP: [ffigen] Fix ARC for blocks

Due to lack of support in libclang, we can't actually parse the ns_returns_retained and ns_consumed annotations for blocks (#1490). So this PR at least fixes an existing bug where we treated every block as if it was ns_returns_retained. To do that, we have to add autorelease methods to package:objective_c.
Fixes #1446

coverage: 74.253% (-18.5%) from 92.791%
when pulling af2be459ab6d35b5c12992401a08c17a674673e1 on arcblock
into 0ed2be13ff95c6af4385ee42a6eee32d2a03338b on main.


Fix Scrollable.ensureVisible throws an error in DropdownMenu inside nested scroll views

fixes DropdownMenu throws exception when nested inside nested SingleChildScrollView
Description
Scrollable.ensureVisible in DropdownMenu inside nested scroll views after the OverlayPortal migration throws an error.
The error is thrown by getTransformTo when object.parent != null is not true.  This PR fixes the error by getting Scrollable and call ensureVisible.
Code sample

expand to view the code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Material(
        child: SingleChildScrollView(
          child: Card(
            child: SingleChildScrollView(
              child: DropdownMenu<String>(
                label: Text('test'),
                menuHeight: 100,
                dropdownMenuEntries: <DropdownMenuEntry<String>>[
                  DropdownMenuEntry<String>(value: '1', label: 'one'),
                  DropdownMenuEntry<String>(value: '2', label: 'two'),
                  DropdownMenuEntry<String>(value: '3', label: 'three'),
                ],
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Before

After

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Hey, I am running into this problem, too. How can I fix this in user-land or do I have to wait for an upstream fix?

Hello, I would like to know if there is any news about this issue. It seems that I am facing the same error.

This was fixed in https://github.com/flutter/flutter/pull/148897. It would be available in the next major stable release.


Cannot get the selected value via native methods

Hi @styopdev,
I'm trying to get the selected value from the following checkboxes.
<input  type="checkbox" value="3" name="clubs"> <input  type="checkbox" value="1" name="clubs">
using the following native js way.
document.querySelector('input[name="clubs"]:checked').value
it doesn't return any value. However it works once I remove multipicker js.
I need this native method to get the selected values 'cause I'm trying to use this multiselector for a larger array of selection -

is there an easy way to use this with your api without creating multipcker objects for all instances?

Hi @apremalal
There is method called get which will return checked values of all pickers in order they are displayed on the page.
var allOfMyPickers = $(".test").multiPicker({ selector: "checkbox" });
...
allOfMyPickers.multiPicker('get', function (checked) { // checked values available here  })

Or using jQuery
$('.checklist').each(function (index, el) {
	$(el).find("input:checked").each(function (i, e) {
		console.log($(e).val()); // will print checked value
	})
});

Hi @styopdev,
Thanks for the infomation.


Missing labels for pixels belonging to "Lanes"

It seems that there exist a large amount of pixels that belong to "Lane" are not labeled, could you explain why or whether is this my misunderstanding?

Hi @PkuRainBow !
Can you please paste the image key here so that I can have a look?

Of course, the image ID is h-QX0W6qE0pw4c8JKEECpA

@PkuRainBow note that on the research edition, there are only two types of markings: marking--general and marking--crosswalk-zebra. Other related labels are construction--flat--bike-lane, construction--flat--crosswalk-plain and construction--flat--service-lane which you also mentioned.
If you need more fine grained labels, please contact our sales team (see here) to purchase a commercial edition of MVD
Also have a look in demo.py on how to load the label files. They contain a color pallette to make them look nice when opened in image viewers. Some classes are mapped to the same color. The "real" image data is grayscale and its pixel values correspond to the index in the labels array in the config file.

@tobias-o Thanks for your reply, we mainly use the research datasets to improve the segmentation on the Cityscapes benchmark.


[bugfix] Add API calls in Intel Advisor Roofline check

Hello @jgphpc, Thank you for submitting the Pull Request!

In the file cscs-checks/tools/profiling_and_debugging/intel_advisor_roofline.py:

Line 31:1: E101 indentation contains mixed spaces and tabs
Line 31:1: W191 indentation contains tabs
Line 32:1: W191 indentation contains tabs
Line 33:1: W191 indentation contains tabs
Line 34:1: W191 indentation contains tabs
Line 39:80: E501 line too long (80 > 79 characters)
Line 57:13: E128 continuation line under-indented for visual indent

Do see the ReFrame Coding Style Guide

@jenkins-cscs retry all

@jgphpc Please fix the conflicts and then we can merge it.

@jgphpc The test still fails on Dom:
  * Reason: sanity error: pattern `loop complete.' not found in `rfm_IntelRooflineAdvisorTest_100000_597843_G3_AOS_SCALAR_job.out'

@jenkins-cscs retry dom

Codecov Report

Merging #812 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #812      +/-   ##
==========================================
+ Coverage   91.55%   91.57%   +0.02%
==========================================
  Files          80       80
  Lines        9975     9975
==========================================
+ Hits         9133     9135       +2
+ Misses        842      840       -2

Impacted Files
Coverage Δ

reframe/core/config.py
85.84% <0%> (+1.76%)
:arrow_up:

Continue to review full report at Codecov.

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


Dict: add forEach, forEachWithKey, mapValues

Fixes #179

Oops, my fork's main branch was very far behind. Fixed now.

@Minnozz mind adding an entry to the changelog?

@zth Done.


Invalid input syntax for type json error while running queries on github_commit table

Describe the bug
On running the query
select * from github_commit where repository_full_name='turbot/steampipe'

Output:
Error: invalid input syntax for type json

Steampipe version (steampipe -v)
Example: v0.8.1
Plugin version (steampipe plugin list)
Example: v0.6.0
To reproduce
Steps to reproduce the behaviour (please include relevant code and/or commands).
Expected behaviour
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

Additional Observations:

I looked up the JSON type columns in the github_commit table and found out that the commit column is causing the problem here(commented out other JSON type columns).
This issue seems to be around the API response for this particular repository. I did not find this issue in other repositories like steampipe-plugin-github, steampipe-mod-github-sherlock, steampipe-mod-aws-compliance.


feat: colorize values of params

Closes #696
Checklist

[x] Tests have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?
feature
What is the current behavior? What is the new behavior?
Currently, values for params are in the same color the whole path is.
Now, the values are in bold and colored.
Does this PR introduce a breaking change?
No.

Looks very promising! I'll take a look at the code tomorrow.

@StefanDywersant, I've addressed the feedback. Colorizing is now optional as transformValues now defaults to _.identity. Also, _.uniq was removed completely, I must have been a left-over. Do you think this version is OK, or you'd rather see some more changes? Also, what about https://github.com/stoplightio/prism/pull/743#discussion_r339491634 ?


Status buffer broken during rebase with unmerged paths

Description
Hey !
I noticed an issue recently, if I stop during a rebase with a mix of modified (no conflict) and unmerged paths (conflicts), the status buffer is broken.
More specifically, two lines that were displayed as Modified and Both Modified previously are now merged together on a single line, separated by a tab character.
I did some git bisecting and identified 0281db3089503ddadcdabffe279e2f96fb7f7483 as the commit that introduced the bug.
Here is an exemple of the output I get now:
Hint: [<tab>] toggle diff | [s] stage | [u] unstage | [x] discard | [c] commit | [?] help

Head:     sha (detached) Previous commit
Tag:      tag (0)

Rebasing: my-branch (1/2)
Staged changes (4)
Modified       a.txt
Modified       b.txt
Modified       c.py	u UU N...<PHONE_NUMBER>44<PHONE_NUMBER>44 sha1 sha2 sha3 d.txt

Stashes (4)
Recent commits (10)

Here is the output I get when I use dab4e50:
Hint: [<tab>] toggle diff | [s] stage | [u] unstage | [x] discard | [c] commit | [?] help

Head:     sha (detached) Previous commit
Tag:      tag (0)

Rebasing: my-branch (1/2)
Unstaged changes (1)
Both Modified  d.txt

Staged changes (4)
Modified       a.txt
Modified       b.txt
Modified       c.txt

Stashes (4)
Recent commits (10)

I noticed that update_status was mentioned in !691, and I can see the string.format in https://github.com/NeogitOrg/neogit/commit/0281db3089503ddadcdabffe279e2f96fb7f7483#diff-70ea688606f2254c83e78a2d5fc72635f23e5b8505042d44b4157e1b54aca666R65 is likely what is causing the issue, but I failed to find an easy way to fix my issue without reverting 0281db3089503ddadcdabffe279e2f96fb7f7483.
I think this has to do with how those results are later matched using the various match_1, match_2 and match_u, but my investigation ended here.
The minimal config was enough to reproduce on my side, but this may be a bit cumbersome to reproduce since it requires both conflicting and non conflicting files during a rebase (at least I think this is how I end up with the bug).
If you need more info don't hesitate to reach out, thank you for your time, and for the awesome plugin !
Neovim version
NVIM v0.10.0-dev-594ff34
Build type: RelWithDebInfo
LuaJIT 2.1.1696795921
Run "nvim -V1 -v" for more info
Operating system and version
CentOS Linux release 7.6.1810 (Core)
Steps to reproduce

Start rebasing on another branch and create a conflict
Start nvim
Open neogit

Expected behavior
The status buffer should display separate Modified and Both Modified lines
Actual behavior
The status buffer displays a broken Modified line
Minimal config
-- NOTE: See the end of this file if you are reporting an issue, etc. Ignore all the "scary" functions up top, those are
-- used for setup and other operations.
local M = {}

local base_root_path = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") .. "/.min"
function M.root(path)
  return base_root_path .. "/" .. (path or "")
end

function M.load_plugin(plugin_name, plugin_url)
  local package_root = M.root("plugins/")
  local install_destination = package_root .. plugin_name
  vim.opt.runtimepath:append(install_destination)

  if not vim.loop.fs_stat(package_root) then
    vim.fn.mkdir(package_root, "p")
  end

  if not vim.loop.fs_stat(install_destination) then
    print(string.format("> Downloading plugin '%s' to '%s'", plugin_name, install_destination))
    vim.fn.system({
      "git",
      "clone",
      "--depth=1",
      plugin_url,
      install_destination,
    })
    if vim.v.shell_error > 0 then
      error(string.format("> Failed to clone plugin: '%s' in '%s'!", plugin_name, install_destination),
        vim.log.levels.ERROR)
    end
  end
end

---@alias PluginName string The plugin name, will be used as part of the git clone destination
---@alias PluginUrl string The git url at which a plugin is located, can be a path. See https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols for details
---@alias MinPlugins table<PluginName, PluginUrl>

---Do the initial setup. Downloads plugins, ensures the minimal init does not pollute the filesystem by keeping
---everything self contained to the CWD of the minimal init file. Run prior to running tests, reproducing issues, etc.
---@param plugins? table<PluginName, PluginUrl>
function M.setup(plugins)
  vim.opt.packpath = {}                      -- Empty the package path so we use only the plugins specified
  vim.opt.runtimepath:append(M.root(".min")) -- Ensure the runtime detects the root min dir

  -- Install required plugins
  if plugins ~= nil then
    for plugin_name, plugin_url in pairs(plugins) do
      M.load_plugin(plugin_name, plugin_url)
    end
  end

  vim.env.XDG_CONFIG_HOME = M.root("xdg/config")
  vim.env.XDG_DATA_HOME = M.root("xdg/data")
  vim.env.XDG_STATE_HOME = M.root("xdg/state")
  vim.env.XDG_CACHE_HOME = M.root("xdg/cache")

  -- NOTE: Cleanup the xdg cache on exit so new runs of the minimal init doesn't share any previous state, e.g. shada
  vim.api.nvim_create_autocmd("VimLeave", {
    callback = function()
      vim.fn.system({
        "rm",
        "-r",
        "-f",
        M.root("xdg")
      })
    end
  })
end

-- NOTE: If you have additional plugins you need to install to reproduce your issue, include them in the plugins
-- table within the setup call below.
M.setup({
  plenary = "https://github.com/nvim-lua/plenary.nvim.git",
  telescope = "https://github.com/nvim-telescope/telescope.nvim",
  diffview = "https://github.com/sindrets/diffview.nvim",
  neogit = "https://github.com/NeogitOrg/neogit"
})
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
-- Basically, do all that stuff AFTER this line.
require("neogit").setup({}) -- For instance, setup Neogit

+1

Can also reproduce this when applying a stash or merge would lead to a conflict

+1

+1


Update native crypto / ERC 20 token screens

Do we have a refreshed design for this screen which includes how the fiat value is displayed similar to https://app.zeplin.io/project/5d0356be2f25b319dcc5944b/screen/5ea921d764c254240f67a8b5 ?

We'll need a few variations like in the wallet tab —

native crypto where fiat value is available
native crypto where fiat value is not available
tokens, not fiat value
native crypto or tokens for testnets

native crypto where fiat value is not available

What is an example of this?

Like ETC and Ropsten ETH:

native crypto where fiat value is available

You can tap to switch the second line.
By default we show: Value $1359.43 USD.
On tap we switch to Market Price: $226.79 USD (+2.57%)
And on you can tap once again to show Available: 4.244 ETH

@tomekalphawallet what if:

What if there is no fiat value? Do we just hide the second line?
How do we indicate testnets?

native crypto where fiat value is not available
When a fiat value is not available, we show Available: 4.3455 ETH
Available balance is what was left after a transaction, that was not confirmed yet. It might not be relevant with ETH 2.0, where transactions are much faster.

tokens, not fiat value
Keep in mind, that Activity section start in the same moment as with Ether + ERC 20 tokens.

native crypto or tokens for testnets
As in the screenshot

We also have another type of token: DEFI. On tap you switch between Interest Rate: 5.75% and Earned so far: 4.3343 ETH

DEFI token with interest rate and earned value

@tomekalphawallet Great. Thanks. Is there Zeplins to pick out the fonts and colors? Especially for the leftmost screen in this:

https://app.zeplin.io/project/5d0356be2f25b319dcc5944b/styleguide/components?cseid=5efeeb8d3e258fb78e39e09b

@hboon if we make a token card for this (so that you don't have to implement this in SWIFT - neither James Brown) for shipping with the product (as a special TokenScript file that has no "contract"), would it work for you?
If so, I'll move this issue to the Tokenscript project so work is being done there.

@colourful-land depends on timeline and reason for doing it. For the short term, it's actually more difficult to display a new type of token card here. Updating the UI in native code is already worked on at #2014.

@colourful-land depends on timeline and reason for doing it. For the short term, it's actually more difficult to display a new type of token card here. Updating the UI in native code is in progress at #2014.

{Be aware you need to do this for all compound tokens, not one}
In that case, here I return what @tomekalphawallet posted in this issue:

Compond Tokens:

On tap you switch between Interest Rate: 5.75% and Earned so far: 4.3343 ETH

DEFI token with interest rate and earned value

The issue in TokenScript Examples remains
https://github.com/AlphaWallet/TokenScript-Examples/issues/99

Yes, and I think we can still use the TokenScript file to define the attributes for earnings and interest rate and code the calculation and formatting (the JavaScript part) in Swift.


A dive into Message Queue Telemetry Transport Protocol

Proposed title of article
A dive into Message Queue Telemetry Transport Protocol
Introduction paragraph (2-3 paragraphs):
MQTT is a lightweight messaging system that allows several devices to communicate with one another. It's a TCP-based protocol that follows the publish-subscribe model. This communication protocol is designed for data transmission between devices with limited resources and minimal power consumption. As a result, this messaging protocol is widely utilized in the IoT Framework for communication.
Key takeaways:
By the end of this article, the reader will have understood:

the overview and  uses of MQTT.
the  model MQTT relies on. (Publish-Subscribe Model)
the communication between MQTT Client and Broker.
how MQTT Works

The connection
authentication
communication
Termination

if MQTT is secure.

References:
N/A

Good afternoon and thank you for submitting your topic suggestion. @rene-shigolah
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

@WanjaMIKE my article was about using a case study to show how the MQTTP works, and also give the detailed information on the protocol.
Thank you

Hello @WanjaMIKE my article was about using a case study to show how the MQTTP works, and also give the detailed information on the protocol.

Hello @WanjaMIKE what is the progress of this topic suggestion please. Thank you

hello @hectorkambow @WanjaMIKE and @hectorkambow wish to inquire about the progress of this topic suggestion.
Thank you

@rene-shigolah Sorry for the late reply, but the CMs are getting a lot of emails/mentions every day, and they may forget to open one of the emails.
Great topic 🚀 , make sure it matches the following:

Adds value beyond what is in the official docs and what is covered in other blog sites.
To avoid any potential article closure, it should not overlap with any existing EngEd articles or incoming topic suggestions.

Please reference any relevant EngEd articles in yours and build a unique project - Approved.


Added MED177 & MED177V6LA 0x0B

Hello,
SEED: 00000000
KEY: DCDC2626
SEED: B4DAEDF6
KEY: 48CEC9F4
SEED: 3B1D8EC7
KEY: DFBF424A
Seeds and keys are in case I made a mistake while puting in the db.json file.
MED177 & MED177V6LA share the same security level 0B

Thanks again for your continued contributions!


decode_content_body > deflate problem

decode deflate will show
error: Error -3 while decompressing data: incorrect header check
in proxy2.py line 217
text = zlib.decompress(data)   >> text = zlib.decompress(data, -zlib.MAX_WBITS)
and its work

thanks! i fixed it :+1:


[WIP] Add intervention banner to Mainstream Browse pages

Injects the intervention banner on certain Mainstream Browse topic pages.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Found a better, much cleaner approach to do this and won't involve a rebase...


Error 0x800703fa after locale change

This bug-tracker is monitored by developers and other technical types.  We like detail!  So please use this form and tell us, concisely but precisely, what's up.  Please fill out ALL THE FIELDS!
If you have a feature request, please post to the UserVoice.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues.  Instead, send dumps/traces to<EMAIL_ADDRESS>referencing the GitHub bug number. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".

Your Windows build number:  10.0.17134.112

What you're doing and what's happening: I installed the Debian WSL distribution with the Windows language set to Chinese (China). Upon switching the language back to English (US), running debian.exe attempts to reinstall the distribution and fails with HRESULT 0x800703fa.
PS> debian
Installing, this may take a few minutes...
Installation Failed!
Error: 0x800703fa
Press any key to continue...

What's wrong / what should be happening instead: debian.exe should launch the existing installation.

See our contributing instructions for assistance.

Hmm...it seems to work now after no change. I guess it takes a while for locale changes to propagate?

This is a duplicate.


Loosen filter items tests to accomodate shifting pandas impl

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

LGTM

Could you rename the commit message following the convention: http://conventionalcommits.org

Could you rename the commit message following the convention: http://conventionalcommits.org

done


App package error.

App is only showing 3.7MB and package error

It's not clear what you mean or what you're reporting as an issue. The app is smaller than 3.7MB.

Can i provide a screenshot here

Yes, you can do that.


Typo in extension description/ readme page

"subtleB**ar**ckets.pairs" : [
ar -> ra

I was scratching my head for a bit due to copy pasting the example in the readme page

Fixed by https://github.com/rafamel/subtle-brackets/pull/25/commits/19232ccb6f574e6e08f3485703c0e49ec8df53d3


Add ObservedAttribute

Codecov Report
Attention: Patch coverage is 0% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 11.02%. Comparing base (6133e9f) to head (d2e9c5a).

Files
Patch %
Lines

Sources/OpenGraph/Attribute/Attribute.swift
0.00%
8 Missing :warning:

...ources/OpenGraph/Attribute/ObservedAttribute.swift
0.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   11.13%   11.02%   -0.12%
==========================================
  Files          41       42       +1
  Lines         889      898       +9
==========================================
  Hits           99       99
- Misses        790      799       +9

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


test: Generic test for All widgets wrt autolayout

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


How does ruff compare to pylint?

Hello there,
I understand ruff’s primary point of comparison is flake8, but I am curious to know how it compares with pylint. This would likely help people considering migrating to ruff from pylint.
And maybe some inspiration could also be taken from pylint feature-wise? For instance, the use of “dev readable error codes” makes things a lot clearer when reading code.

Pylint does a lot of AST analysis and has lots of modules and a modular system.
It's pretty cool. I have written pylint modules in the past.
The problem is that it is excruciatingly slow.
If ruff could go towards that and stay as fast as it is ... oh boy I would be in love.

Pylint has a very long list of rules. I currently use pylint but mainly stick to W/E/F rules as they catch most of interesting issues in my codebase. The more stylistic rules like formatting/variable naming/docstrings I value less.
I'd find most value in Error rules here. Almost all of them I enable, they've caught a number of bugs, and find false positive rate pretty low. One caveat is some rules I do rely on exception lists based on known problematic modules. As an example generated-members is useful way of dealing with modules/classes that have many dynamically defined attributes and static analysis would otherwise produce a lot of false positives.

Fatal

[] astroid-error / F0002
[] config-parse-error / F0011
[] fatal / F0001
[] method-check-failed / F0202
[] parse-error / F0010

Error

[] abstract-class-instantiated / E0110
[] access-member-before-definition / E0203
[] assigning-non-slot / E0237
[] assignment-from-no-return / E1111
[] assignment-from-none / E1128
[] await-outside-async / E1142
[] bad-configuration-section / E0014
[] bad-except-order / E0701
[] bad-exception-cause / E0705
[] bad-format-character / E1300
[] bad-plugin-value / E0013
[] bad-reversed-sequence / E0111
[] bad-str-strip-call / E1310
[] bad-string-format-type / E1307
[] bad-super-call / E1003
[] bidirectional-unicode / E2502
[] broken-collections-callable / E6005
[] broken-noreturn / E6004
[] catching-non-exception / E0712
[] class-variable-slots-conflict / E0242
[] continue-in-finally / E0116
[] dict-iter-missing-items / E1141
[] duplicate-argument-name / E0108
[] duplicate-bases / E0241
[] format-needs-mapping / E1303
[] function-redefined / E0102
[] import-error / E0401
[] inconsistent-mro / E0240
[] inherit-non-class / E0239
[] init-is-generator / E0100
[] invalid-all-format / E0605
[] invalid-all-object / E0604
[] invalid-bool-returned / E0304
[] invalid-bytes-returned / E0308
[] invalid-character-backspace / E2510
[] invalid-character-carriage-return / E2511
[] invalid-character-esc / E2513
[] invalid-character-nul / E2514
[] invalid-character-sub / E2512
[] invalid-character-zero-width-space / E2515
[] invalid-class-object / E0243
[] invalid-enum-extension / E0244
[] invalid-envvar-value / E1507
[] invalid-format-returned / E0311
[] invalid-getnewargs-ex-returned / E0313
[] invalid-getnewargs-returned / E0312
[] invalid-hash-returned / E0309
[] invalid-index-returned / E0305
[] invalid-length-hint-returned / E0310
[] invalid-length-returned / E0303
[] invalid-metaclass / E1139
[] invalid-repr-returned / E0306
[] invalid-sequence-index / E1126
[] invalid-slice-index / E1127
[] invalid-slice-step / E1144
[] invalid-slots / E0238
[] invalid-slots-object / E0236
[] invalid-star-assignment-target / E0113
[] invalid-str-returned / E0307
[] invalid-unary-operand-type / E1130
[] invalid-unicode-codec / E2501
[] logging-format-truncated / E1201
[] logging-too-few-args / E1206
[] logging-too-many-args / E1205
[] logging-unsupported-format / E1200
[] method-hidden / E0202
[] misplaced-bare-raise / E0704
[] misplaced-format-function / E0119
[] missing-format-string-key / E1304
[] missing-kwoa / E1125
[] mixed-format-string / E1302
[] modified-iterating-dict / E4702
[] modified-iterating-set / E4703
[] no-member / E1101
[] no-method-argument / E0211
[] no-name-in-module / E0611
[] no-self-argument / E0213
[] no-value-for-parameter / E1120
[] non-iterator-returned / E0301
[] nonexistent-operator / E0107
[] nonlocal-and-global / E0115
[] nonlocal-without-binding / E0117
[] not-a-mapping / E1134
[] not-an-iterable / E1133
[] not-async-context-manager / E1701
[] not-callable / E1102
[] not-context-manager / E1129
[] not-in-loop / E0103
[] notimplemented-raised / E0711
[] potential-index-error / E0643
[] raising-bad-type / E0702
[] raising-non-exception / E0710
[] redundant-keyword-arg / E1124
[] relative-beyond-top-level / E0402
[] repeated-keyword / E1132
[] return-arg-in-generator / E0106
[] return-in-init / E0101
[] return-outside-function / E0104
[] singledispatch-method / E1519
[] singledispatchmethod-function / E1520
[] star-needs-assignment-target / E0114
[] syntax-error / E0001
[] too-few-format-args / E1306
[] too-many-format-args / E1305
[] too-many-function-args / E1121
[] too-many-star-expressions / E0112
[] truncated-format-string / E1301
[] undefined-all-variable / E0603
[] undefined-variable / E0602
[] unexpected-keyword-arg / E1123
[] unexpected-special-method-signature / E0302
[] unhashable-member / E1143
[] unpacking-non-sequence / E0633
[] unrecognized-inline-option / E0011
[] unrecognized-option / E0015
[] unsubscriptable-object / E1136
[] unsupported-assignment-operation / E1137
[] unsupported-binary-operation / E1131
[] unsupported-delete-operation / E1138
[] unsupported-membership-test / E1135
[] used-before-assignment / E0601
[] used-prior-global-declaration / E0118
[] yield-inside-async-function / E1700
[] yield-outside-function / E0105

Warning

[] abstract-method / W0223
[] anomalous-backslash-in-string / W1401
[] anomalous-unicode-escape-in-string / W1402
[] arguments-differ / W0221
[] arguments-out-of-order / W1114
[] arguments-renamed / W0237
[] assert-on-string-literal / W0129
[] assert-on-tuple / W0199
[] attribute-defined-outside-init / W0201
[] bad-builtin / W0141
[] bad-dunder-name / W3201
[] bad-format-string / W1302
[] bad-format-string-key / W1300
[] bad-indentation / W0311
[] bad-open-mode / W1501
[] bad-staticmethod-argument / W0211
[] bad-thread-instantiation / W1506
[] bare-except / W0702
[] binary-op-exception / W0711
[] boolean-datetime / W1502
[] broad-exception-caught / W0718
[] broad-exception-raised / W0719
[] cell-var-from-loop / W0640
[] comparison-with-callable / W0143
[] confusing-with-statement / W0124
[] consider-ternary-expression / W0160
[] dangerous-default-value / W0102
[] deprecated-argument / W4903
[] deprecated-class / W4904
[] deprecated-decorator / W4905
[] deprecated-method / W4902
[] deprecated-module / W4901
[] deprecated-typing-alias / W6001
[] differing-param-doc / W9017
[] differing-type-doc / W9018
[] duplicate-except / W0705
[] duplicate-key / W0109
[] duplicate-string-formatting-argument / W1308
[] duplicate-value / W0130
[] eq-without-hash / W1641
[] eval-used / W0123
[] exec-used / W0122
[] expression-not-assigned / W0106
[] f-string-without-interpolation / W1309
[] fixme / W0511
[] forgotten-debug-statement / W1515
[] format-combined-specification / W1305
[] format-string-without-interpolation / W1310
[] global-at-module-level / W0604
[] global-statement / W0603
[] global-variable-not-assigned / W0602
[] global-variable-undefined / W0601
[] implicit-str-concat / W1404
[] import-self / W0406
[] inconsistent-quotes / W1405
[] invalid-envvar-default / W1508
[] invalid-format-index / W1307
[] invalid-overridden-method / W0236
[] isinstance-second-argument-not-valid-type / W1116
[] keyword-arg-before-vararg / W1113
[] logging-format-interpolation / W1202
[] logging-fstring-interpolation / W1203
[] logging-not-lazy / W1201
[] lost-exception / W0150
[] method-cache-max-size-none / W1518
[] misplaced-future / W0410
[] missing-any-param-doc / W9021
[] missing-format-argument-key / W1303
[] missing-format-attribute / W1306
[] missing-param-doc / W9015
[] missing-parentheses-for-call-in-test / W0126
[] missing-raises-doc / W9006
[] missing-return-doc / W9011
[] missing-return-type-doc / W9012
[] missing-timeout / W3101
[] missing-type-doc / W9016
[] missing-yield-doc / W9013
[] missing-yield-type-doc / W9014
[] modified-iterating-list / W4701
[] multiple-constructor-doc / W9005
[] named-expr-without-context / W0131
[] nan-comparison / W0177
[] nested-min-max / W3301
[] non-ascii-file-name / W2402
[] non-parent-init-called / W0233
[] non-str-assignment-to-dunder-name / W1115
[] overlapping-except / W0714
[] overridden-final-method / W0239
[] pointless-statement / W0104
[] pointless-string-statement / W0105
[] possibly-unused-variable / W0641
[] preferred-module / W0407
[] protected-access / W0212
[] raise-missing-from / W0707
[] raising-format-tuple / W0715
[] redeclared-assigned-name / W0128
[] redefined-builtin / W0622
[] redefined-loop-name / W2901
[] redefined-outer-name / W0621
[] redefined-slots-in-subclass / W0244
[] redundant-returns-doc / W9008
[] redundant-u-string-prefix / W1406
[] redundant-unittest-assert / W1503
[] redundant-yields-doc / W9010
[] reimported / W0404
[] self-assigning-variable / W0127
[] self-cls-assignment / W0642
[] shallow-copy-environ / W1507
[] signature-differs / W0222
[] subclassed-final-class / W0240
[] subprocess-popen-preexec-fn / W1509
[] subprocess-run-check / W1510
[] super-init-not-called / W0231
[] super-without-brackets / W0245
[] too-many-try-statements / W0717
[] try-except-raise / W0706
[] unbalanced-dict-unpacking / W0644
[] unbalanced-tuple-unpacking / W0632
[] undefined-loop-variable / W0631
[] unknown-option-value / W0012
[] unnecessary-ellipsis / W2301
[] unnecessary-lambda / W0108
[] unnecessary-pass / W0107
[] unnecessary-semicolon / W0301
[] unreachable / W0101
[] unspecified-encoding / W1514
[] unused-argument / W0613
[] unused-format-string-argument / W1304
[] unused-format-string-key / W1301
[] unused-import / W0611
[] unused-private-member / W0238
[] unused-variable / W0612
[] unused-wildcard-import / W0614
[] useless-else-on-loop / W0120
[] useless-param-doc / W9019
[] useless-parent-delegation / W0246
[] useless-type-doc / W9020
[] useless-with-lock / W2101
[] using-constant-test / W0125
[] using-f-string-in-unsupported-version / W2601
[] using-final-decorator-in-unsupported-version / W2602
[] while-used / W0149
[] wildcard-import / W0401
[] wrong-exception-operation / W0716

Convention

[] bad-classmethod-argument / C0202
[] bad-docstring-quotes / C0198
[] bad-file-encoding / C2503
[] bad-mcs-classmethod-argument / C0204
[] bad-mcs-method-argument / C0203
[] compare-to-empty-string / C1901
[] compare-to-zero / C2001
[] consider-iterating-dictionary / C0201
[] consider-using-any-or-all / C0501
[] consider-using-dict-items / C0206
[] consider-using-enumerate / C0200
[] consider-using-f-string / C0209
[] dict-init-mutate / C3401
[] disallowed-name / C0104
[] docstring-first-line-empty / C0199
[] empty-docstring / C0112
[] import-outside-toplevel / C0415
[] import-private-name / C2701
[] invalid-characters-in-docstring / C0403
[] invalid-name / C0103
[] line-too-long / C0301
[] misplaced-comparison-constant / C2201
[] missing-class-docstring / C0115
[] missing-final-newline / C0304
[] missing-function-docstring / C0116
[] missing-module-docstring / C0114
[] mixed-line-endings / C0327
[] multiple-imports / C0410
[] multiple-statements / C0321
[] non-ascii-module-import / C2403
[] non-ascii-name / C2401
[] single-string-used-for-slots / C0205
[] singleton-comparison / C0121
[] superfluous-parens / C0325
[] too-many-lines / C0302
[] trailing-newlines / C0305
[] trailing-whitespace / C0303
[] typevar-double-variance / C0131
[] typevar-name-incorrect-variance / C0105
[] typevar-name-mismatch / C0132
[] unexpected-line-ending-format / C0328
[] ungrouped-imports / C0412
[] unidiomatic-typecheck / C0123
[] unnecessary-direct-lambda-call / C3002
[] unnecessary-dunder-call / C2801
[] unnecessary-lambda-assignment / C3001
[] unneeded-not / C0113
[] use-implicit-booleaness-not-comparison / C1803
[] use-implicit-booleaness-not-len / C1802
[] use-maxsplit-arg / C0207
[] use-sequence-for-iteration / C0208
[] useless-import-alias / C0414
[] wrong-import-order / C0411
[] wrong-import-position / C0413
[] wrong-spelling-in-comment / C0401
[] wrong-spelling-in-docstring / C0402

Refactor

[] chained-comparison / R1716
[] comparison-of-constants / R0133
[] comparison-with-itself / R0124
[] condition-evals-to-constant / R1727
[] confusing-consecutive-elif / R5601
[] consider-alternative-union-syntax / R6003
[] consider-merging-isinstance / R1701
[] consider-swap-variables / R1712
[] consider-using-alias / R6002
[] consider-using-assignment-expr / R6103
[] consider-using-augmented-assign / R6104
[] consider-using-dict-comprehension / R1717
[] consider-using-from-import / R0402
[] consider-using-generator / R1728
[] consider-using-get / R1715
[] consider-using-in / R1714
[] consider-using-join / R1713
[] consider-using-max-builtin / R1731
[] consider-using-min-builtin / R1730
[] consider-using-namedtuple-or-dataclass / R6101
[] consider-using-set-comprehension / R1718
[] consider-using-sys-exit / R1722
[] consider-using-ternary / R1706
[] consider-using-tuple / R6102
[] consider-using-with / R1732
[] cyclic-import / R0401
[] duplicate-code / R0801
[] else-if-used / R5501
[] empty-comment / R2044
[] inconsistent-return-statements / R1710
[] literal-comparison / R0123
[] magic-value-comparison / R2004
[] no-classmethod-decorator / R0202
[] no-else-break / R1723
[] no-else-continue / R1724
[] no-else-raise / R1720
[] no-else-return / R1705
[] no-self-use / R6301
[] no-staticmethod-decorator / R0203
[] property-with-parameters / R0206
[] redefined-argument-from-local / R1704
[] redefined-variable-type / R0204
[] simplifiable-condition / R1726
[] simplifiable-if-expression / R1719
[] simplifiable-if-statement / R1703
[] simplify-boolean-expression / R1709
[] stop-iteration-return / R1708
[] super-with-arguments / R1725
[] too-complex / R1260
[] too-few-public-methods / R0903
[] too-many-ancestors / R0901
[] too-many-arguments / R0913
[] too-many-boolean-expressions / R0916
[] too-many-branches / R0912
[] too-many-instance-attributes / R0902
[] too-many-locals / R0914
[] too-many-nested-blocks / R1702
[] too-many-public-methods / R0904
[] too-many-return-statements / R0911
[] too-many-statements / R0915
[] trailing-comma-tuple / R1707
[] unnecessary-comprehension / R1721
[] unnecessary-dict-index-lookup / R1733
[] unnecessary-list-index-lookup / R1736
[] use-a-generator / R1729
[] use-dict-literal / R1735
[] use-list-literal / R1734
[] use-set-for-membership / R6201
[] useless-object-inheritance / R0205
[] useless-option-value / R0022
[] useless-return / R1711

Information

[] bad-inline-option / I0010
[] c-extension-no-member / I1101
[] deprecated-pragma / I0022
[] file-ignored / I0013
[] locally-disabled / I0011
[] raw-checker-failed / I0001
[] suppressed-message / I0020
[] use-symbolic-message-instead / I0023
[] useless-suppression / I0021

Pylint supports 409 rules to Ruff's 224 rules. I'm gonna go through and see where we're lacking.

For the sake of simplicity, I'm just gonna ignore the "Fatal" and "Information" categories.
That leaves 395 rules, of which Ruff implements 63 (this is a rough count, since the rules aren't always identical), with 332 unimplemented.

 I'd probably start with the E rules, though there's a lot of low-hanging fruit in the W category. I can do one or two to add least add Pylint as a category.
\cc @harupy if you're ever interested in some of these.

Added to the README here: #969. For clarity, I'm going to close this out in favor of a new issue to track actual work towards improving parity: https://github.com/charliermarsh/ruff/issues/970.

(I'm a pylint maintainer). One way to know if it's easy to implement a pylint rule is to check the confidence used when raising a message. If there's no inference (I.E. the check is static and could be done without astroid's inference capability) then the confidence is going to be HIGH in add_message.  For example consider-using-any-or-all" does not use inference but some corner cases of use-implicit-booleaness-not-len do.
The confidence is not defined everywhere though, this is an ongoing effort.

Is there any intention of respecting pylint's annotations allowing errors to be disabled for a certain scope?
One impediment to switching over is the large number of pylint annotations which immediately throw errors. e.g. # pylint: disable=bare-except.
If ruff supported more pylint rules this would not be so important, as a single regex replacement over the codebase would allow migration. However in the interim we need to continue to use pylint in pre-commit hooks, but would like to enable ruff in developers' IDEs.

Yeah this came up in #1203. I'll leave a comment there!

Unsure if data or noise, but R1707 would have saved me a headache yesterday
A Change in Pydantic design might also have helped, but pylint catching these is a game-changer for large classes.

The other benefit of pylint for me here is the IDE integration with VSCode. I Still have not made time to check this in my PyCharm, but... yeah, I like pylint for at-least this reason.

@Lewiscowles1986 - We do support that rule, but it's under a different code: trailing-comma-on-bare-tuple, known as COM818.

Is it on-by-default, and what setup would need to be done to get it to show up via the linked VSCode extension?

Yeah, you can add COM818 to your select to enable the rule.

Hey, wondering if the checkbox list above is maintained/up-to-date (?) I'd love to have a full list of rules that I can disable in pylint cause it's very very slow. I'm working on a refactor that touches many python files (50+) and the pylint commit-hook is killing me, like it takes 5+ minutes to run :( . Now that I got a taste of that nice ruff speed I'm hooked.
I'm hoping if I can disable the redundant rules on the pylint side, the engine will run that much faster...

@mistercrunch - we keep #970 up-to-date, in that we update it whenever we implement a new rule, and then whenever someone comments to point out that a rule is already covered or similar.