api for getting error log and running environment

Issue Type: Feature Request
Version: 1.33.1 (user setup)
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18309
The vscode is a great editor and open source, so the plug-in is rich, autocompletion and snippet greatly improve the programming efficiency. Another place that can improve efficiency is to solve programming problems. It is always a headache to solve problems in programming. At the same time, the problems you encounter are believed to have been suffered or even solved by many others. If you can combine the two together, you will avoid  trying to Reinvent the Wheel. At present, one of the conventional problem solving modes is search, and the biggest problem of searching is that only keywords can be input, it is difficult to fully describe the problem, and it takes a lot of time to filter the search results. The editor itself is the platform that can best perceive user programming information and error information, so the running environment and premise of the problem are known. we can share and solve the problem based on these infomation, it will be a dream. So I really want to know if vscode will add api for getting vscode programming environment and error log information, and look forward to reply!

Please update this issue after reading https://github.com/Microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions#writing-good-bug-reports-and-feature-requests. Thanks.

@jrieken thank you. my question is:

Is there an API to get the detailed version of the system and vscode system including extension information?   for example:

detailed version of OS
CPUs                Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2712)GPU Status
2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System)     15.84GB (7.59GB free)
Process Argv
Screen Reader      noVM                 33%

2）the detailed version of the vscode
Version: 1.33.1 (user setup)
Commit: 51b0b28
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18309
3）the detailed version of the extension
    Extension                    Author (truncated)                            Version
    vscode-file-peek               abi                                         1.0.1
    vscode-translate               chu                                         0.1.5
    codestream                     Cod                                         0.52.1
    vscode-eslint                  dba                                         1.8.2
    search                         dba                                         1.1.3
    githistory                     don                                         0.4.6
    gitlens                        eam                                         9.6.3
    vscode-html-css                ecm                                         0.2.0
    EditorConfig                   Edi                                         0.13.0
    LogFileHighlighter             emi                                         2.4.3
    prettier-vscode                esb                                         1.9.0
    php-debug                      fel                                         1.13.0
    php-intellisense               fel                                         2.3.10
    auto-close-tag                 for                                         0.5.6
    .....
    JavaScriptSnippets             xab                                         1.7.2

Is there an API to get all logs in  panels below the editor region for output or debug information, errors and warnings, or an integrated terminal ?

`

Try describe your use case for this feature request (see https://github.com/microsoft/vscode/labels/feature-request for examples)?
Like, for sharing users' system info while reporting issues? Or?

not actionable


Wildcard binding pattern not allowed in the typed binding pattern of foreach statements and from clauses

Description:
$title, but the spec doesn't have such a restriction.
This will specifically be an issue once we introduce https://github.com/ballerina-platform/ballerina-lang/issues/33319.
Steps to reproduce:
public function main() {
    int[] x = [];

    foreach var _ in x { // underscore is not allowed here

    }

    int[] _ = from var _ in x // underscore is not allowed here
        select 1;
}

Affected Versions:
slbeta3

Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/33546.


fix: bug only processed client, not server.

Please remove unused code to avoid staticcheck errors.

Please remove unused code to avoid staticcheck errors.

Hi, I removed unused code in a new commit.

Would you please explain why only process client?

Would you please explain why only process client?

for response body may large

Would you please explain why only process client?

for response body may large

But if the response body is not large, and I want to check the response body, how to do it?

Would you please explain why only process client?

for response body may large

But if the response body is not large, and I want to check the response body, how to do it?

You are right, I will improve it later ,and define a max response body which can be checked like 1MB. Any recommend you have? Thanks.

Hi, I process response data in thie new commit (c3599c961b57048fab048ddbe6a5eab3d2c79154).


Create msbuild.yml

Change Description

Change Type
Select ONE:

[ ] Documentation

[ ] Stability bug fix

[ ] Other

[ ] Other - special case

Testing Changes
Select ANY that apply:

[ ] New Tests

[ ] Existing Tests

[ ] Test Framework

[ ] CI System

[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[x] Documentation Additions

Can you add a description on the purpose of this change? Also, please rebase on develop.


Tabview youtube no longer works!!!!

with the recent brave update no longer the .17 nor the newest .27 are working. more work is needed urgently
Expected Behavior
tabview youtube used to work (live chat, comments, etc all in tabs to the right of video)
Actual Behavior
complete failure of youtube as a whole. no comments, no live chat, no video info, no suggest videos
using brave browser on windows
Specifications
Chromium: brave browser1.68.141
windows
Script
default Tabview youtube script too long to post here

Please describe more.

How to reproduce?
Describe what features are not working.
Only Brave? did you try other browsers?
Happens on Logged in ? Happens on Logged out?
Can you try https://greasyfork.org/en/scripts/501249-tabview-youtube-totara as well? Work or not?

How to reproduce?
install tabview youtube and try to do anything on youtube

Describe what features are not working.

literally everything bro

Only Brave? did you try other browsers?
don't have time to figure out how to install tabview youtube on other browsers

Happens on Logged in ? Happens on Logged out?
happens both logged in and logged out of youtube.

Can you try https://greasyfork.org/en/scripts/501249-tabview-youtube-totara as well?  I have no idea right now.
Btw, the latest Brave version should be 1.69.168 Chromium: 128.0.6613.138
As I cannot reproduce the issue, I am not sure when this can be fixed.
Did you try to open the DevTools console to see what errors / warnings generated?

This was closed with a link to #49 which was closed with a link to this one #51???


common: Fix elements are doubling when append a not assignable type

Fixes #6188

@bep
Okay. I will split the patch.

Thanks for this!


docs: clarify that AppUpdate is a provider

just a minor change on the sample snippet to make even clear that AppUpdate must be added to the providers array of some module

Thx!


typo: Double word "account"

Actually currenlty in the GH title

@nschonni : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


[local_auth] The thread for executor needs to be UI thread.

Description
Two bug fixes:

The thread passed to FP needs to be UI thread. Callbacks are executed on that thread and we also don't want any synchronization issues.
We should not be calling .error() then .success() on the same result object. This does not cause any exceptions but it is bad form.

@mklim I need to submit this asap since the plugin is currently broken. Please review when you get the chance.


build: bump postgres from 14 to 15 mps

PR Checklist

[ ] Unit Tests have been added for new changes
[ ] API tests have been updated if applicable
[ ] All commented code has been removed
[ ] If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. open-amt-cloud-toolkit/repo#365 )

not needed


Set i2c frequency using Hertz

In #127 I realised that i2c doesn't use the Hertz structs to set freuency. This seems strange, so I fixed it.
Unlike the other peripherals, this doesn't allow construction from KiloHertz or MegaHertz as that would have required making the mode struct generic, which would propagate a lot. It might still be a good idea to do so, though perhaps it's better to pass the frequency separately to the i2c "constructor". This would require less generics.

Any blocker on this or can it be merged?

I think it can be merged, unless we want to allow KiloHertz and MegaHertz

True, Into<Hertz> as in rcc.CFGR could be great.

I added methods to construct Mode from impl Into<Hertz> to avoid spreading generics everywhere and still give the option to construct from other frequency types. @TeXitoi Any conceerns with that implementation?


Updated readme for iOS permissions setup

Hi, thanks for the PR!
We have updated readme in 0.0.2+1 version https://pub.dev/packages/cr_file_saver.


[stable/nginx-ingress] Fixes compatibility with 1.16

Signed-off-by: Rafael Grigorian<EMAIL_ADDRESS>
What this PR does / why we need it:
Makes stable/nginx-ingress compatible with 1.16. A quick overview of deprecated APIs can be found on their blog post: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

💯 Thanks for doing this!
/ok-to-test

My pleasure!

/assign @taharah

By adding these there is a required minimum kubernetes version which I believe is 1.9. To address any potential issues with someone running lower then that version we can add kubeVersion: ">=1.9.0-0" to the chart.yaml which will cause the chart to not install.
Do you think that would be good enough @taharah? I am not sure of how far back we should be supporting for kubernetes versions but I feel like this is enough...

By adding these there is a required minimum kubernetes version which I believe is 1.9. To address any potential issues with someone running lower then that version we can add kubeVersion: ">=1.9.0-0" to the chart.yaml which will cause the chart to not install.
Do you think that would be good enough @taharah? I am not sure of how far back we should be supporting for kubernetes versions but I feel like this is enough...

I noted in another comment that we shouldn't have any issues since the selector field was not defined previously, but requiring a minimum version of Kubernetes would be great as well. Although I'd honestly be surprised if anyone is using this chart with 1.9.x still.

@taharah Noted, I will make the API versions configurable but default to apps/v1. I will also make kubeVersion be >=1.10.0-0 since the PodSecurityPolicy resource was first introduced in the policy/v1beta1 API in v1.10.

If there are no objections to the pod labels being in the deployment selector field from @ChiefAlexander, then this looks good to me.

The selectors should only be app and release. Otherwise I'm good.

@ChiefAlexander @taharah Should be good now.

/lgtm
Thanks again for the pr!


Error and alerting tools

Tools for monitoring system performance and alerting critical errors are published

@dubwalla let's get WFP's preference here. The question is: what error monitoring tool would they recommend for a simple static website.
Otherwise, we can simply implement the free version of Sentry - https://sentry.io/

Our colleagues in Rome said:
We make a heavy use of Nagios for the monitoring and alerting part and Grafana for the data visualization, both open source products. But we don’t really have any recommendation on which tool to use.

@dubwalla do they have an organization account for WFP for Nagios?

Looking into it
On Wed, May 13, 2020 at 2:09 PM Eric Boucher<EMAIL_ADDRESS>wrote:

@dubwalla https://github.com/dubwalla do they have an organization
account for WFP for Nagios?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/oviohub/prism-frontend/issues/7#issuecomment-628246954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZQJMGNNSGOYEHM7TRWFODRRMD77ANCNFSM4LLI4JXQ
.

Nope, we do not have access to Nagios through an organization account


Excel like Freeze Column

Is there a way do freeze columns like Excel's "Freeze Panels"?
Ex:

Note the scroll on the bottom and the fact that moving the scroll to the right will not affect the selected columns.

@lealhugui Excellent feature ⭐


Delete all but diamond addresses from the generated package

We don’t and shouldn’t use these addresses, everything should be accessed throught the diamonds. Keeping them up to date is a pain, so lets not have them at all.

Why are you deleting space.json corresponding to space diamond ? This will break diff reports, please don't delete this.

space.json is "an example space deployment" spaceFactory.json and spaceOwner are the diamonds

Why are you deleting space.json corresponding to space diamond ? This will break diff reports, please don't delete this.

space.json is "an example space deployment" spaceFactory.json and spaceOwner are the diamonds

It's an example but also stores updated space facets which are canonical. We need this diamond to continue to exist so we can determine whether space facets differ between environments. If you remove the address, we won't be able to reference the corresponding deployed Space facets on alpha, gamma, omega.

Why are you deleting space.json corresponding to space diamond ? This will break diff reports, please don't delete this.

space.json is "an example space deployment" spaceFactory.json and spaceOwner are the diamonds

It's an example but also stores updated space facets which are canonical. We need this diamond to continue to exist so we can determine whether space facets differ between environments. If you remove the address, we won't be able to reference the corresponding deployed Space facets on alpha, gamma, omega.

Thanks for the explanation, I'll add them back. @giuseppecrj ^^

Why are you deleting space.json corresponding to space diamond ? This will break diff reports, please don't delete this.

space.json is "an example space deployment" spaceFactory.json and spaceOwner are the diamonds

It's an example but also stores updated space facets which are canonical. We need this diamond to continue to exist so we can determine whether space facets differ between environments. If you remove the address, we won't be able to reference the corresponding deployed Space facets on alpha, gamma, omega.

Thanks for the explanation, I'll add them back. @giuseppecrj ^^

But also - @jterzis - they are still, and will always be, in contracts/deployments... i'm only deleting them from generated/deployments, the package we publish to npm. Do we need them in both places? (okay if the answer is yes)

Why are you deleting space.json corresponding to space diamond ? This will break diff reports, please don't delete this.

space.json is "an example space deployment" spaceFactory.json and spaceOwner are the diamonds

It's an example but also stores updated space facets which are canonical. We need this diamond to continue to exist so we can determine whether space facets differ between environments. If you remove the address, we won't be able to reference the corresponding deployed Space facets on alpha, gamma, omega.

Thanks for the explanation, I'll add them back. @giuseppecrj ^^

But also - @jterzis - they are still, and will always be, in contracts/deployments... i'm only deleting them from generated/deployments, the package we publish to npm. Do we need them in both places? (okay if the answer is yes)

Ah one more thing, sorry for the never ending replies. Looks like you added a Drop class that references a riverAirdrop address... but you never hand copied those addresses into the generated/deployments folder so that will never work. @giuseppecrj here's one more. (looks like I approved your initial PR, sorry for not giving you better feedback John).

Why are you deleting space.json corresponding to space diamond ? This will break diff reports, please don't delete this.

space.json is "an example space deployment" spaceFactory.json and spaceOwner are the diamonds

It's an example but also stores updated space facets which are canonical. We need this diamond to continue to exist so we can determine whether space facets differ between environments. If you remove the address, we won't be able to reference the corresponding deployed Space facets on alpha, gamma, omega.

Thanks for the explanation, I'll add them back. @giuseppecrj ^^

But also - @jterzis - they are still, and will always be, in contracts/deployments... i'm only deleting them from generated/deployments, the package we publish to npm. Do we need them in both places? (okay if the answer is yes)

@texuf we read them from contracts/deployments for diffing so it is okay I think to remove them from packages/generated.

updated this pr to only remove the facet.json files, also include a script to do the copying


feat: fix internal table id in replace_table

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
As title. Close #11565.

Checklist

[x] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR contains user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

We can be more strict here to check each table's schema

Are two tables with same schema the same table?

We can be more strict here to check each table's schema

Are two tables with same schema the same table?

Currently, the internal tables with the same table id should has same schema :thinking:


Add files via upload

Fixes Issue
Closes #issue_number

Changes proposed

Screenshots

Checklist

[ ] You've linked this PR to the correct issue.
[ ] You have checked that the code is working correctly.
[ ] You ⭐ the repository!

Note to reviewers

Please go through the Readme and contribute


Redacted information on components

For components or relationships that cannot currently be disclosed for legal reasons, vendors MAY use the literal text REDACTED in place of the correct string value. This is intended as a temporary measure while contracts or NDAs are renegotiated. Any SBoM components with REDACTED text MAY be marked as incomplete and MUST fail validation.

I, obviously, agree to this as I raised the issue. Thanks!


KAFKA-7925 - Create credentials only once for sun.security.jgss.native

When sun.security.jgss.native=true, we currently create a new server credential for every new client connection and add to the private credential set of the server's Subject. This is expensive and can result in an unbounded number of private credentials in the Subject used by the broker. The PR creates a credential immediately after login so that a single credential can be reused.
This was tested by Abhi who raised the issue. See https://issues.apache.org/jira/browse/KAFKA-7925 for details.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I have rebased the PR and added an unit test. I have also tested a broker running with sun.security.jgss.native=true locally.

@guozhangwang Thanks for the review, merging to master.


Adding reding area limit

Well, when I solved the issue https://github.com/nisrulz/qreader/issues/29 I made some changed that I cosidered not an optimal implementation of this tool, so I decided trying to improved what I did in that issue.
The first change is that I added a new class called QRBarcodeListener and I used it within the receiveDetections() method instead of QRDataListener and also changed the onDetected method of the QRDataListener class so you can add a Rect class to limit the reading area in order to receive data only if it is inside the bounds of that area. I also added another Rect that shows the area where the barcode has been detected so you can use those properties for some specific impletation.
Here is an example of these properties usage:
        final QRDataListener qrDataListener = new QRDataListener() {
            @Override
            public void onDetected(final String data) {
                runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
                        qReader.stop();
                        //The area of the read data
                        Rect readData = qrDataListener.getReadData();
                       ...
            }
        };
        //The area where data is going to be read
        qrDataListener.setReadingArea(areaRect);
        qReader = new QREader.Builder(ScanActivity.this, scanner, qrDataListener).facing(QREader.BACK_CAM)
                .enableAutofocus(true)
                .height(width)
                .width(height)
                .build();

@primissus I just checked out your PR and doesn't seem to do what you proposed with the PR. I feel like I am missing something. Could you explain me a bit more about your PR?

@primissus can you update your PR to target develop branch and also rebase so we donot have conflicts. I plan on merging your PR after that as everything else looks good.
Sorry for taking so long to respond.

Hi @primissus  any update on this?
Also you OR doesnot target develop. Please check that

Hi @nisrulz , I'm sorry I forgot this PR.
Basically I changed the QRDataListener for a QRBarcodeListener in the QReader class in order to be able to detect the area where the QR code is detected, and even set the valid area to detect QR codes. This is because I needed to restrict the QR detection for one specific area.
If you want to know the area where the QR is detected you can use the getReadData() method from a QRDataListener  like this:
Rect readDataArea = qrDataListener.getReadData();

And that method returns a Rect object that indicates the area where the QR code was detected so you can add more logic.
The complete example would be:
final QRDataListener qrDataListener = new QRDataListener() {
            @Override
            public void onDetected(final String data) {
                runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
                        qReader.stop();
                        //The area of the read data
                        Rect readDataArea = qrDataListener.getReadData();
                       ...
            }
        };

Maybe I committed a mistake declaring the getReadData() method and I should've declare it as getReadArea() instead.
But on the other hand, if you want to directly restrict the area for the QR detection you can use the setReadingArea(Rect area) method of your QRDataListener object so the onDetected() method will be called only if the QR code was detected within the area that you specified.
Like this:
Rect area = new Rect(...);
qrDataListener.setReadingArea(area);


Allow async functions as state handler or actions

It is a well documented and clean library on HSM. I would have used it in my next project but my use case demands to perform async operations inside state handler and possibly in actions.
It would be nice to have a crate feature to enable async support for such use cases. By default, it can be off.

Hi, thanks for taking a look at statig. Async event handlers and actions is definitely something I want to support at one point, but I think this will require async trait methods which are still unstable as of now. The async-trait crate could be a possible solution in the meantime but there are a couple of other things that I want to add first so I'll see where things stand by then.

@mdeloof thanks so much for this amazing crate. Huge plus one for this ask. My use case involves a lot of async which I'm handling now by passing messages to an async runtime. I'd love for a first-class way to handle async side effects.

Thanks!
I've been working on it and have an implementation that runs on nightly using the async_fn_in_trait feature. The only problem that I've encountered that is that statig uses recursion to walk the transition path and doing recursion with async functions requires the returned futures to be allocated on the heap (so inside a Box<T>), which means async wouldn't be supported on no-std. Now I think I might eventually be able to solve this because the maximum recersion depth can be known at compile time and so I could statically allocate enough space to store the futures, but I still need to look into it. In the meantime I might just require std for async support. Would that match your use case? If so I could use the same workaround as the async-trait crate and bring it to stable already along with the 0.3 update.

Added in 5b910ce.
I went with the async-trait solution for now. Async on no-std would be nice eventually but I'm going to have to give it some more thought. Hopefully the current implementation can already cover most of the use cases people had. Happy to help if you encounter any issues!


Feature request: built in method to get Typescript instances from JSON

The capability has been discussed here and here and here.  I would like to see a built-in way of doing this in the Typescript language itself.  Sort of like a deserializer.
JSON is the language of data.  Typescript will have greater adoption if there is an easy way to 'cast' a JSON string (or the javascript object created from it) into an instance of a Typescript class.  If it is just the javascript object, it doesn't have methods of the class and items initialized with the constructor.
In the links above, one challenge is complex classes, ie: instance of Car class that has instance of Engine class in the same JSON.  There is not an elegant way of doing this.  The closest is to adopt a convention for metadata in the JSON which shows the subclass name.  For example, a property like __name__ = "Engine", so the 'deserializer' knows what type of class to instantiate for the subclass items.  One suggestion to make the convention less arbitrary would be to use metadata that Typescript adds to the javascript when using Typescript's reflection.  If that was the approach, it would probably make sense to also create a 'serializer' that when stringifying the Typescript instance, also included the necessary metadata.
Could there be a way to accomplish this with Typescript declaration merging or mixins?

Looking forward for it.
Have a look at this solution https://github.com/pleerock/serializer.ts

duplicate of https://github.com/Microsoft/TypeScript/issues/2064

@mhegazy I believe #7233 and #2064 are distinct.  #2064 is focused on validating json against a type definition.  #7233 is focused on creating an instance of an object according to a type definition.  The latter is similar to what underscore and jquery libraries do with "extend".

@stunaz Great!  That is exactly what is needed.  I hope something like this can be integrated into the Typescript library itself.  Re: "Since Typescript does not have good reflection abilities yet, we must implicitly specify what type of object each property contain."  Could properties created with emitDecoratorMetadata be used for this purpose to avoid new annotations specific to your lib?  Minor tweak suggestion: change "Skip" to "NotMapped" (term from Entity Framework code first annotations).

Providing a runtime library and/or builtin reflection capabilities are out of scope of the typescript project for the time being.


eerror and ewarn print to stdout

In openrc eerror and ewarn print to stderr instead of stdout and some code expects that behavior. For example toolchain.eclass assumes gcc-config only prints valid output to stdout, but when errors with the * prefix are mixed into stdout odd things strike: https://bugs.gentoo.org/show_bug.cgi?id=547962
In the original baselayout-1 it appears eerror and ewarn usually used stdout but personally I favor the openrc behavior.

Actually, it looks like the newer gentoo-functions has returned to the baselayout-1 behavior of logging all levels to stdout by default. https://github.com/gentoo/gentoo-functions/blob/master/functions.sh#L190

I followed the behaviour of the Gentoo I had to hand, but there are times I would prefer them to log to syserr instead. Aside from compatibility, do you have a preference?

No preference, I initially favored the openrc behavor until I realized that gentoo-functions, which is what Gentoo is migrating to, goes back to using stdout by default. So although the current behavior is different from openrc it does match the implementation that came before and after openrc.
Closing since it seems fine as-is but worth revisiting if gentoo-functions ever switches to the openrc behavor.

Opened https://bugs.gentoo.org/show_bug.cgi?id=548158 for gentoo-functions. Will see what they decide to do.

I'll be interested to see what they pick. stderr does probably make more sense.

Was a decision made on this? I can see that the issue is marked as resolved. Did it reach a real Gentoo release?

Sorry, forgot to update. gentoo-functions now uses stderr got warn/error: https://github.com/gentoo/gentoo-functions/pull/4/files

Good enough for me. I've just pushed 811f336 to switch all output to stderr. It does feel like the right thing.


Crash - Savage and Ravage's Griefer Crashes when Spawning Creepie

crash-2022-01-30_15.37.51-server.txt

Same issue as #3, 1.18.1 has more clear logging, though :o


Fix vulnerabilities for npm

these cahnges are reflected in  https://github.com/guardrails-ai/guardrails/pull/653


Removed allowed_host_obj override in rhevm provision_workflow

Allow to choose other clusters, not only the one specified in the template, when provisioning a new VM.
https://bugzilla.redhat.com/show_bug.cgi?id=1339309

@bdunne Please review

A couple minor comments and you need to rebase, but otherwise looks good :+1:

@borod108 The code looks good.  Would you mind adding some tests?

@gmcculloug awesome, thank you very much! I was unaware of this. Applied changes as you suggested.

@borod108 Thanks.  Merging now and opened issue #9957 to track followup work for tests.

Darga backport details:
commit a6c5ab2214624a2841153cf661eede1950abd107
Author: Greg McCullough<EMAIL_ADDRESS>Date:   Wed Jul 20 15:13:16 2016 -0400

    Merge pull request #9722 from borod108/bugs/1339309

    Changed allowed_host_obj override in rhevm provision_workflow
    (cherry picked from commit 9efa5d21e5be363dc1b7135e95d66471392dab2a)


Parsing lists as strings

I would like to parse unordered lists as strings. Examples:
* test1
* test2

should be
* test1
* test2

and not
- test1
- test2

Ideas how I can achieve that?

I have some upcoming functionality in the v8 refactor that should allow for customization of which rules are run. In the meantime, you can escape the asterisk or use a code block if you don't want list functionality.


Hook up new manipulator infrastructure to existing manipulator implementation base class

This WIP PR is another absolute monster: forgive me 🙏🏼
This PR takes the improved manipulator and related component models from #63 and hooks everything up to our BaseManipulator class in a way which I think makes it nice and easy to implement desired behaviour in specific Manipulator implementations.
I have so far only reimplemented the RenderPlaneManipulator, widget autogeneration is working as before
https://user-images.githubusercontent.com/7307488/197223256-978fdd9c-6c09-48e6-ad75-1ca411495a1a.mp4
the implementation for this is...
class RenderPlaneManipulator(BaseManipulator):
    """A manipulator for moving and orienting an image layer rendering plane."""

    def __init__(self, viewer, layer=None):
        super().__init__(viewer, layer, rotator_axes='yz', translator_axes='z')

    def set_layers(self, layers: napari.layers.Image):
        super().set_layers(layers)

    def _initialize_transform(self):
        self.origin = np.array(self.layer.plane.position)
        plane_normal = self.layer.plane.normal
        self.rotation_matrix = rotation_matrix_from_vectors_3d([1, 0, 0], plane_normal)

    def _while_dragging_translator(self):
        self.layer.plane.position = self.origin

    def _while_dragging_rotator(self):
        self.layer.plane.normal = self.z_vector

something else worth highlighting is how simple this new separation made the mouse callback on the BaseManipulator class
    def _mouse_callback(self, layer, event):
        """Update the manipulated object via subclass implementations of drag/rotate behaviour."""
        yield
        if self._viewer.dims.ndisplay != 3 or self._backend.is_dragging is False:
            return  # early exit if manipulator is not being manipulated
        self._pre_drag()
        while event.type == 'mouse_move':
            selected_object_type = self._backend.manipulator_model.selected_object_type
            if selected_object_type == 'translator':
                self._while_dragging_translator()
            elif selected_object_type == 'rotator':
                self._while_dragging_rotator()
            yield
        self._post_drag()

edit: things left to do

[ ] check and add tests for various instantiation possibilities of manipulator implementations (with layer, no layer)
[ ] hook up other manipulators

Codecov Report
Base: 59.02% // Head: 68.95% // Increases project coverage by +9.92% :tada:

Coverage data is based on head (bf1d104) compared to base (8f05af9).
Patch coverage: 64.50% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
+ Coverage   59.02%   68.95%   +9.92%
==========================================
  Files          44       49       +5
  Lines        2006     1852     -154
==========================================
+ Hits         1184     1277      +93
+ Misses        822      575     -247

Impacted Files
Coverage Δ

src/napari_threedee/__init__.py
50.00% <ø> (-10.00%)
:arrow_down:

...napari_threedee/_backend/manipulator/_interface.py
85.71% <ø> (ø)

...napari_threedee/_backend/manipulator/axis_model.py
80.00% <ø> (ø)

src/napari_threedee/_backend/manipulator/utils.py
40.00% <ø> (ø)

.../napari_threedee/manipulators/point_manipulator.py
40.29% <30.76%> (+2.52%)
:arrow_up:

..._backend/manipulator/napari_manipulator_backend.py
37.50% <39.34%> (ø)

.../napari_threedee/manipulators/layer_manipulator.py
68.75% <44.44%> (+14.58%)
:arrow_up:

...rc/napari_threedee/_backend/manipulator/rotator.py
96.15% <50.00%> (ø)

..._threedee/manipulators/render_plane_manipulator.py
70.58% <54.54%> (+20.58%)
:arrow_up:

...threedee/_backend/manipulator/manipulator_model.py
85.18% <55.55%> (ø)

... and 33 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

comments addressed and tests are passing again - mergin' time! 🚀

Woo! nice!


Adding view method for checkAccess plus add tests

Makes things easier for hackathon.

Codecov Report

Merging #72 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   96.52%   96.58%   +0.05%
==========================================
  Files           4        4
  Lines         115      117       +2
  Branches       25       25
==========================================
+ Hits          111      113       +2
  Misses          4        4

Impacted Files
Coverage Δ

contracts/LinniaPermissions.sol
95.65% <100%> (+0.41%)
: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 d14d4cf...fd92fa5. Read the comment docs.


Using ESBuild

👋 I know there are a number of issues asking "how to integrate with X" or "how to use with technology Y", so I wanted to share something that I got working without any fuss. The existing examples were helpful in some of this, but I hope this is helpful for intrepid adventurers!
I should note that at the time of writing ESBuild considers itself experimental, and this may change after posting.
The process is mainly two parts:

bundling the workers
loading the editor / telling it where the workers are

Bundling the workers:
Since I'm using EmberJS, there are some extra bits to integrate ESBuild into the existing build tools (mainly broccoli-funnel, and broccoli-merge-trees) -- these can be ignored for non-ember projects.
Source: https://github.com/NullVoxPopuli/limber/blob/main/lib/monaco.js
// <git root>/lib/monaco.js
'use strict';

const path = require('path');
const os = require('os');
const fs = require('fs');
const esbuild = require('esbuild');

const Funnel = require('broccoli-funnel');
const mergeTrees = require('broccoli-merge-trees');

const cssLocation = path.join('node_modules', 'monaco-editor', 'min', 'vs', 'editor');

const workers = {
  base: 'node_modules/monaco-editor/esm/vs/editor/editor.main.js',
  editor: 'node_modules/monaco-editor/esm/vs/editor/editor.worker.js',
  json: 'node_modules/monaco-editor/esm/vs/language/json/json.worker.js',
  css: 'node_modules/monaco-editor/esm/vs/language/css/css.worker.js',
  html: 'node_modules/monaco-editor/esm/vs/language/html/html.worker.js',
  ts: 'node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js',
};

function buildWorkers({ isProduction }) {
  let buildDir = fs.mkdtempSync(path.join(os.tmpdir(), 'monaco--workers'));

  esbuild.buildSync({
    loader: { '.ts': 'ts', '.js': 'js' },
    entryPoints: [
      workers.editor,
      workers.json,
      workers.css,
      workers.html,
      workers.ts,
      workers.base,
    ],
    bundle: true,
    outdir: buildDir,
    format: 'iife',
    minify: isProduction,
    sourcemap: false,
  });

  return new Funnel(buildDir, {
    destDir: 'monaco/',
    exclude: ['*.nls.*'],
  });
}

function monacoFunnel(options) {
  let src = buildWorkers(options);

  // let src = new Funnel(monacoLocation, {
  //   destDir: 'monaco/',
  //   // exclude: ['*.nls.*'],
  // });

  let css = new Funnel(cssLocation, {
    destDir: 'monaco/',
    include: ['*.css'],
  });

  return mergeTrees([src, css]);
}

module.exports = {
  monacoFunnel,
};

And then in my ember-cli-build.js file:
const { monacoFunnel } = require('./lib/monaco');
const { Webpack } = require('@embroider/webpack');

module.exports = function (defaults) {
  let environment = EmberApp.env();
  let isProduction = environment === 'production';

  let app = new EmberApp(defaults, { /* custom config */ });

  return require('@embroider/compat').compatBuild(app, Webpack, {
    extraPublicTrees: [ monacoFunnel({ isProduction }) ],
  });
};

Using the Editor
Source: https://github.com/NullVoxPopuli/limber/blob/main/app/modifiers/monaco.js#L29
import { modifier } from 'ember-could-get-used-to-this';
import * as monaco from 'monaco-editor';

const CSS = '/monaco/editor.main.css';
const OPTIONS = {
   /* static options */
};

export default modifier((element, [value, updateText]) => {
  configureWorkerPaths();
  insertStyles();

  let editor = monaco.editor.create(element, {
    ...OPTIONS,
    value,
  });

  editor.onDidChangeModelContent(() => {
    updateText(editor.getValue());
  });

  return () => editor.dispose();
});

async function insertStyles() {
  let hasStyles = document.querySelector(`link[href="${CSS}]"`);

  if (hasStyles) return;

  let element = document.createElement('link');

  element.setAttribute('rel', 'stylesheet');
  element.setAttribute('href', CSS);

  document.body.appendChild(element);
  await Promise.resolve();
}
function configureWorkerPaths() {
  if (window.MonacoEnvironment) return;

  window.MonacoEnvironment = {
    getWorkerUrl: function (moduleId, label) {
      if (label === 'json') {
        return '/monaco/language/json/json.worker.js';
      }

      if (label === 'css' || label === 'scss' || label === 'less') {
        return '/monaco/language/css/css.worker.js';
      }

      if (label === 'html' || label === 'handlebars' || label === 'razor') {
        return '/monaco/language/html/html.worker.js';
      }

      if (label === 'typescript' || label === 'javascript') {
        return '/monaco/language/typescript/ts.worker.js';
      }

      return '/monaco/editor/editor.worker.js';
    },
  };
}

And then, in Ember at least, the final user-land API is:
<div {{monaco this.value this.updateValue}}></div>

Thank you for your example! I've added an esbuild sample at https://github.com/microsoft/monaco-editor/tree/main/samples/browser-esm-esbuild

@alexdima unfortunately the example appears broken:

No dependencies/devDependencies in package.json (monaco-editor, esbuild). But I assume the samples are not self-contained and require npm i at the root.  If I do that, npm run build fails with "error: Could not resolve "../node_modules/monaco-editor/esm/vs/editor/editor.worker.js"" because I also need to install monaco-editor in the samples folder. It would be great if the samples could be self contained to that they can be easily ejected from the main repo. I guess ../../build/utils could then be replaced with rimraf or whatever fits.
More importantly: build.js deletes dist including dist/index.html, which is the entry file and different from the root index.html. But it actually doesn't, because removeDir already does path.join(REPO_ROOT, _dirPath), so i end up with a non-existing path (joining one absolute path with another, basically /home/alex/**/home/alex/**).

TLDR:

Need to npm i in three different folders
build.js and the entire index.html business doesn't appear to do anything useful

@alexdima the sample appears broken, this doesn't actually delete anything: https://github.com/microsoft/monaco-editor/blob/3ad48dbde4717be3249d7ac2b4451e271d77f07b/samples/browser-esm-esbuild/build.js#L5 because removeDir will join the absolute path again https://github.com/microsoft/monaco-editor/blob/3ad48dbde4717be3249d7ac2b4451e271d77f07b/build/utils.js#L66, resulting in a wrong path (joining two absolute paths). E.g. for me this ends up being /tmp/monaco-editor/tmp/monaco-editor/samples/browser-esm-esbuild/dist having cloned into /tmp/monaco-editor.
If it would correctly delete dist, then it would also remove index.html and you couldn't actually run the sample. So I guess it accidentally "works" right now. Other samples have a src folder, which also contains the index.html. The build.js could copy it over.

@Prinzhorn it would be awesome if you could open a new issue for that!


simplify file name logic

@tlunter
avoid additional logic / overhead of slicing strings

tried using Thread.exclusive, but ruby warns Thread.exclusive is deprecated, use Mutex ... great ... I'll try to re-write the ignore PR ...


Change the cursor on draggable elements on hover

Is there any way to not do this? I've got items that are supposed to be clickable AND draggable, so I'd like to retain the pointer cursor and change it only on "dragging", not on hover.
Thanks

Good idea! You can now do this in 1.1.0 by setting dragCursor="" on the draggable element 😄

Superb, thanks a lot for the change!


How do you use transports: [] to configure?

Thanks for a great slack logger, one that is simple and actually works (!)
How can I use the transports logic to configure winston-slacker?
var logger = new (winston.Logger)({
    transports: [
      new (winston.transports.Console)(),
      new (winston.transports.File)({ filename: 'somefile.log' })
    ]
  });

This works for me. I am still trying to figure out getting the level 'debeg' to work for Slack. It looks like only 'info' is coming through.
var config = require('config');
const winston = require('winston');
var winstonSlacker = require('winston-slacker');
var logger = new (winston.Logger)({
transports: [
new (winston.transports.File)({
filename: config.winston.logfile,
colorize: true,
level: 'debug'
}),
new (winston.transports.Console)({
colorize: true,
level: 'debug'
}),
new (winstonSlacker) ({
level: 'debug',
webhook: config.slack.webhook,
channel: config.slack.channel,
username: config.slack.botname,
iconImoji: config.slack.emoji,
})
]
});
module.exports = logger;


Header

Header
Desktop

Mobile

Dev Notes:

We can get the original json from the current site and build the header based on that so that it will reflect any changes to the original header that is across the whole site.
Plan is to NOT use the existing micro frontend react app that the current header is built on
For Search, we can just call the same API the current micro frontend is calling and display the results from the header itself.

done via #15


[WIP] Docker: run as non-root user, use venv

Run as non-elevated user by default
Install scancodeio in venv
Make it possible to set up UNAME/UID/GID on buildtime
Move scancodeio from /app to /opt to be more in-line with:
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html
Set cache to /tmp as it is disposable after build
Upgrade pip to have less red in build log

Resolves #260
Resolves #399
Signed-off-by: Alexander Mazuruk<EMAIL_ADDRESS>

Thanks!

Hi @aalexanderr this looks great. I see it's still labeled as WIP, anything else you planned to add?

gentle ping

sorry for late come-back. added home dir (scancode-toolkit cache defaults to this dir), set group id for opt, should be ready to merge

Implemented in https://github.com/nexB/scancode.io/pull/821 using some of the ideas form this PR.
Thanks @aalexanderr !


refactor(*): add prettier

⬇ Generated builds by Codemagic for commit 0c66c3e0e1c8bd1bcaf7728010ba3bb2a6d72fed ⬇
This is a custom message.

iOS
Android
macOS

  Download link
  Download link
  Download link


macOS mojave: ctrl-/ (ctrl-shift-7), undo doesn't work on international keyboard

As the subject says. My keyboard layout doesn't have a dedicated "/" button, for this I have to press "shift-7". This works with an the same international keyboard/layout, using the Linux client though.
It also works with iTerm2 and xterm (XQuartz) on the same macOS.

What exactly is the problem? What 'undo' are you talking about?

ctrl-/ is used by bash, emacs, etc. to undo. But in general, ctrl-shift doesn't work, I only used undo as a an example.

What do you get when pressing ctrl+v and then press ctrl+shift+7?

nothing happens in bash nor emacs

Would you mind to launch alacritty with --print-events option and pressing Shift + 7 and looking what event you're getting there.
Also we do have some wiki for international keyboards and macOS as a temporary workaround in wiki.
And one more, if you don't mind, could you test #2438, since our windowing library has changed its handling of international keyboards a bit, maybe things will just work for you.

--print-events
[2019-10-04 22:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140239371113840)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 59, state: Pressed, virtual_keycode: Some(LControl), modifiers: ModifiersState { shift: false, ctrl: true, alt: false, logo: false } } } }
[2019-10-04 22:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140239371113840)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 56, state: Pressed, virtual_keycode: Some(LShift), modifiers: ModifiersState { shift: true, ctrl: true, alt: false, logo: false } } } }
[2019-10-04 22:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140239371113840)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 26, state: Pressed, virtual_keycode: Some(Key7), modifiers: ModifiersState { shift: true, ctrl: true, alt: false, logo: false } } } }
[2019-10-04 22:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140239371113840)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 26, state: Released, virtual_keycode: Some(Key7), modifiers: ModifiersState { shift: true, ctrl: true, alt: false, logo: false } } } }
[2019-10-04 22:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140239371113840)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 56, state: Released, virtual_keycode: Some(LShift), modifiers: ModifiersState { shift: false, ctrl: true, alt: false, logo: false } } } }
[2019-10-04 22:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140239371113840)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 59, state: Released, virtual_keycode: Some(LControl), modifiers: ModifiersState { shift: false, ctrl: false, alt: false, logo: false } } } }

Would you mind to try these bindings?
- { key: 26,       mods: Shift, chars: "/" }
- { key: 26,       mods: Control | Shift, chars: "\x1f"       }

I wasn't able to fetch that particular commit, so I took the latest (b0c6fdff763f7271506d26d7e768e6377fdc691b) and no difference.
Adding the keybindings seems to have fixed that specific keybinding.

To fetch #2438 you need to run git clone https://github.com/chrisduerr/alacritty -b evlp2

I actually just figured that out, building as we speak.

built, no difference

Does --print-events look any different though?

[2019-10-04 23:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140437424137056)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 56, state: Pressed, virtual_keycode: Some(LShift), modifiers: ModifiersState { shift: true, ctrl: false, alt: false, logo: false } } } }
[2019-10-04 23:52] [INFO] glutin event: EventsCleared
[2019-10-04 23:52] [INFO] glutin event: NewEvents(WaitCancelled { start: Instant { t:<PHONE_NUMBER>0446 }, requested_resume: None })
[2019-10-04 23:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140437424137056)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 59, state: Pressed, virtual_keycode: Some(LControl), modifiers: ModifiersState { shift: true, ctrl: true, alt: false, logo: false } } } }
[2019-10-04 23:52] [INFO] glutin event: EventsCleared
[2019-10-04 23:52] [INFO] glutin event: NewEvents(WaitCancelled { start: Instant { t:<PHONE_NUMBER>3152 }, requested_resume: None })
[2019-10-04 23:52] [INFO] glutin event: EventsCleared
[2019-10-04 23:52] [INFO] glutin event: NewEvents(WaitCancelled { start: Instant { t:<PHONE_NUMBER>5787 }, requested_resume: None })
[2019-10-04 23:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140437424137056)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 26, state: Pressed, virtual_keycode: Some(Key7), modifiers: ModifiersState { shift: true, ctrl: true, alt: false, logo: false } } } }
[2019-10-04 23:52] [INFO] glutin event: EventsCleared
[2019-10-04 23:52] [INFO] glutin event: NewEvents(WaitCancelled { start: Instant { t:<PHONE_NUMBER>0164 }, requested_resume: None })
[2019-10-04 23:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140437424137056)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 26, state: Released, virtual_keycode: Some(Key7), modifiers: ModifiersState { shift: true, ctrl: true, alt: false, logo: false } } } }
[2019-10-04 23:52] [INFO] glutin event: EventsCleared
[2019-10-04 23:52] [INFO] glutin event: NewEvents(WaitCancelled { start: Instant { t:<PHONE_NUMBER>0412 }, requested_resume: None })
[2019-10-04 23:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140437424137056)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 59, state: Released, virtual_keycode: Some(LControl), modifiers: ModifiersState { shift: true, ctrl: false, alt: false, logo: false } } } }
[2019-10-04 23:52] [INFO] glutin event: EventsCleared
[2019-10-04 23:52] [INFO] glutin event: NewEvents(WaitCancelled { start: Instant { t:<PHONE_NUMBER>0112 }, requested_resume: None })
[2019-10-04 23:52] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140437424137056)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 56, state: Released, virtual_keycode: Some(LShift), modifiers: ModifiersState { shift: false, ctrl: false, alt: false, logo: false } } } }

Does only Shift + 7 work any different btw? Don't press Control, only Shift + 7.

[2019-10-05 00:00] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140202855253472)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 56, state: Pressed, virtual_keycode: Some(LShift), modifiers: ModifiersState { shift: true, ctrl: false, alt: false, logo: false } } } }
[2019-10-05 00:00] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140202855253472)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 26, state: Pressed, virtual_keycode: Some(Slash), modifiers: ModifiersState { shift: true, ctrl: false, alt: false, logo: false } } } }
[2019-10-05 00:00] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140202855253472)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 26, state: Released, virtual_keycode: Some(Slash), modifiers: ModifiersState { shift: true, ctrl: false, alt: false, logo: false } } } }
[2019-10-05 00:00] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140202855253472)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 56, state: Released, virtual_keycode: Some(LShift), modifiers: ModifiersState { shift: false, ctrl: false, alt: false, logo: false } } } }

so you're getting / right?

correct

Let me sum up this issue a bit.
On master: Shift + 7 - doesn't work, Shift + Control + 7 - doesn't - work
On #2438: Shift + 7 - work, Shift + Control + 7 - doesn't work
right?
Also what's your keyboard layout, I need to report this bug upstream, that's why I'm asking.

Not quite:
On master: Shift + 7 - work, Shift + Control + 7 - doesn't work
On #2438: Shift + 7 - work, Shift + Control + 7 - doesn't work
My keyboard layout is "Norwegian", the one for macOS is a bit different than it is for Linux/Windows, but for "/" it's the same (Shift + 7). And as I said, this was only one example, it's the same with "_" which is Shift + - etc.

@dxlr8r I'm surprised that master work for you without any bindings though. I'm aware that some keys aren't working properly, I've used Shift + 7 as an example.
As a work around you can use --print-events to get scancodes and bind by scancode like I did above.

For now I'll remain with iTerm2, but thank you for the suggestion. But I look forward to the day I can use Alacritty instead.

This is a duplicate of https://github.com/jwilm/alacritty/issues/458.

@dxlr8r Sorry about asking one more thing, would you mind to post the entire log from --print-events when you're hitting Shift + Control + 7?


test, docs: drop remaining use of admissionregistration.k8s.io/v1beta1

This was missed in 3e896ef.
Fixes: https://github.com/intel/pmem-csi/issues/973

Let's check the test logs before merging.

The operator still seems to use the v1beta1 API, albeit probably indirectly:
<EMAIL_ADDRESS>==== start of pod log ====
<EMAIL_ADDRESS>I0607 17:42:57.554312       1 main.go:35] Go Version: go1.16.1
<EMAIL_ADDRESS>I0607 17:42:57.554526       1 main.go:36] Go OS/Arch: linux/amd64
<EMAIL_ADDRESS>I0607 17:42:57.735529       1 request.go:591] Throttling request took 86.040716ms, request: GET:https://<IP_ADDRESS>:443/apis/admissionregistration.k8s.io/v1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:57.782178       1 request.go:591] Throttling request took 131.991241ms, request: GET:https://<IP_ADDRESS>:443/apis/discovery.k8s.io/v1beta1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:57.832149       1 request.go:591] Throttling request took 182.018188ms, request: GET:https://<IP_ADDRESS>:443/apis/admissionregistration.k8s.io/v1beta1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:57.885153       1 request.go:591] Throttling request took 231.962914ms, request: GET:https://<IP_ADDRESS>:443/apis/flowcontrol.apiserver.k8s.io/v1beta1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:57.932784       1 request.go:591] Throttling request took 282.00416ms, request: GET:https://<IP_ADDRESS>:443/apis/apiextensions.k8s.io/v1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:57.982110       1 request.go:591] Throttling request took 331.866936ms, request: GET:https://<IP_ADDRESS>:443/apis/packages.operators.coreos.com/v1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.037088       1 request.go:591] Throttling request took 384.499871ms, request: GET:https://<IP_ADDRESS>:443/apis/apiextensions.k8s.io/v1beta1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.083064       1 request.go:591] Throttling request took 432.110841ms, request: GET:https://<IP_ADDRESS>:443/apis/crd.projectcalico.org/v1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.133317       1 request.go:591] Throttling request took 482.649986ms, request: GET:https://<IP_ADDRESS>:443/apis/operators.coreos.com/v1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.186879       1 request.go:591] Throttling request took 536.36202ms, request: GET:https://<IP_ADDRESS>:443/apis/scheduling.k8s.io/v1beta1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.233480       1 request.go:591] Throttling request took 582.764016ms, request: GET:https://<IP_ADDRESS>:443/apis/operators.coreos.com/v1alpha2?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.282031       1 request.go:591] Throttling request took 631.717652ms, request: GET:https://<IP_ADDRESS>:443/apis/operators.coreos.com/v1alpha1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.330519       1 request.go:591] Throttling request took 681.084185ms, request: GET:https://<IP_ADDRESS>:443/apis/scheduling.k8s.io/v1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.382869       1 request.go:591] Throttling request took 732.361203ms, request: GET:https://<IP_ADDRESS>:443/apis/coordination.k8s.io/v1?timeout=32s
<EMAIL_ADDRESS>I0607 17:42:58.427329       1 client.go:57] Kubernetes version read from server: 1.20

https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/job/pmem-csi/job/PR-981/1/artifact/joblog-jenkins-pmem-csi-PR-981-1-test-1.20.log
We might be able to ignore that?

Testing failed because of https://github.com/intel/pmem-csi/issues/976


Refactoring differential analysis using core base

Description
Refactoring the DifferentialAnalysis class.
This will also contains other refactoring such as MetadataParser.
Changelogs

Use core base for DifferentialAnalysis

Issue(s)
Fixes #21
Definition of Done

[ ]  New code is tested with unit tests
[ ]  Documentation has been updated
[ ]  Pull Request has been revised by a maintainer of the project

Actually we should look at how we would like to generally organize an "analysis" the way we did for the plot module.
This is not an easy task since "Analysis" is a wide term. I am closing this at the moment.


[concurrency][Part 2] Fix async objc protocol conformance bugs

A continuation of https://github.com/apple/swift/pull/35662
TODOs:

~Fix unusual note that claims a protocol's requirements are not satisfied (rdar://73641790).~ The conformance diagnostic should not be encountered at all.

~Make an error also be emitted alongside this missing witness note.~
~Determine whether an error should have been encountered at all.~

[x] Fix a conformance serialization issue that might be related to the unusual note (rdar://73326224).

@swift-ci please clean smoke test

@swift-ci please clean smoke test

@swift-ci please smoke test

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

Okay I've refactored it use a search that relies on a predicate, because the use-sites have different requirements. For example, NormalConformance::hasWitness will just check for existing knowledge of witnesses, whereas NormalConformance::getWitness will actually look for witnesses. This should pass all tests now too.
@swift-ci please test and merge

@swift-ci please smoke test and merge


[DRAFT] Refactor all redis key references to use RedisKey

RedisKey extends ByteArrayWrapper and adds a routingId integer value.
This is used by the RedisPartitionResolver to map entries to buckets.

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

I tried to break this up into one commit which has the 'actual' change and the other is switching usage of ByteArrayWrapper to RedisKey where appropriate.

Looks good. With regard to caching the crc16 in the region entry - I agree it probably doesn't need to be serialized. I'm also not sure whether it would be more efficient to cache the hashCode or the CRC16 - I wish we didn't call the PartitionResolver more than once!

At some point there is a tipping point were the serialization of 2 bytes is cheaper than the CPU time to recalculate the CRC remotely. Keeping in mind that for Geode that CPU is also trying to process primary updates too. Or would it even need to be calculated remotely if since it is only used for bucket placement, and that is already known when replicating.
Similar question can likely be said for the hash code's 4 bytes. Since to be placed in to correct map slot remotely the hash code must be known so is recalculation on the remote side more costly in CPU than the 4 bytes on the wire?


Refactoring/test retrofit: cube filtering

Tasks:

[x] Move cube filtering to function
[x] Add unit tests
[x] Fix cmd line interface with mutually exclusive block for include/exclude args

Closed by #41.

Also solves part of #14.


Module tabs' body() called before toSpawn()

The body() and toSpawn() methods of a module tab are each passed the DebuggerContext, with the latter method being used to decide whether to spawn the former. However, body() gets called before toSpawn() is checked, which is a somewhat unexpected call order when trying to extract module contexts in the new module context system.

Fixed in #2208 @leeyi45


Add more help to URL field

On sponsor page, add help to say that the URL must include
http:// or https://.
Also noticed that the "display_url" field, which doesn't
really have to be a URL (it's just used for display), was
a URLField, so changed that to a CharField so sponsors
can just put in "python.org" or something if they prefer
that to "https://python.org".

:dollar:


Python3

Merging python3 branch with trunk - this will not be a clean merge, as the folder structure and files have been refactored significantly. In all cases, the branch should be preferred over the trunk.

Thanks @vineetbansal.  Since the merge is complicated can you handle it?  If so, please proceed.  If not, please let me know and I can add permissions.


could not found 'libjnirivebridge.so'. Looked for: [x86], but only found: [].

stacktrace from crashlytics
Fatal Exception: java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: com.getkeepsafe.relinker.MissingLibraryException: Could not find 'libjnirivebridge.so'. Looked for: [x86, armeabi-v7a, armeabi], but only found: [].
at android.app.ActivityThread.installProvider(ActivityThread.java:6396)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5938)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5853)
at android.app.ActivityThread.access$1100(ActivityThread.java:199)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Devices
Android 9 , Android 8 device with x86 architecture

Hi @devesh053, can you give us a repro for this issue?
Also, could you provide more details about your setup? For example, your setup, the rive-android version you're using, your SDK, etc.?
In fact, libjnirivebridge.so isn't used anymore in our latest versions, have you tried upgrading?

Hi ,
This issue is happening only on x86 architecture and on crashlytics it was showing Google mainline device.
I was using rive version 5.0.0 in my app.

I was having a similar problem and @umberto-sonnino suggested I should upgrade the library to v8.3.0. Thats the second to newest version on Maven Central. Now I'm getting an UnsatisfiedLinkError when I run my app on Android API 21.
The error reads java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stderr" referenced by "/data/data/co.example.app/app_lib/librive-android.so"...

@umberto-sonnino will upgrading to rive  version 6.0.0 resolve the issue ?

Hi @devesh053, can you give us a repro for this issue? Also, could you provide more details about your setup? For example, your setup, the rive-android version you're using, your SDK, etc.? In fact, libjnirivebridge.so isn't used anymore in our latest versions, have you tried upgrading?

Right now , I am using 5.0.0 , will upgrading it to 6.0.0 will resolve the issue . Not sure of taking version 7.0.0 to production

@umberto-sonnino will upgrading to rive version 6.0.0 resolve the issue ?

Without a repro, I can't tell for sure.
Past reports mentioned that this error was coming up only in the Play Store - are you sure that these are tied to real users?
I'd highly recommend upgrading anyway, we changed the build process significantly in the latest iterations, and that might solve this issue for you.

I was having a similar problem and @umberto-sonnino suggested I should upgrade the library to v8.3.0. Thats the second to newest version on Maven Central. Now I'm getting an UnsatisfiedLinkError when I run my app on Android API 21. The error reads java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stderr" referenced by "/data/data/co.example.app/app_lib/librive-android.so"...

@DJPretorius this is a different bug as reported here. It's still unresolved and it seems to happen only on v21 devices

@umberto-sonnino will upgrading to rive version 6.0.0 resolve the issue ?

Without a repro, I can't tell for sure. Past reports mentioned that this error was coming up only in the Play Store - are you sure that these are tied to real users? I'd highly recommend upgrading anyway, we changed the build process significantly in the latest iterations, and that might solve this issue for you.

This bug is not happening to real users , only happening to play store devices with x86 architecture .

@umberto-sonnino will upgrading to rive version 6.0.0 resolve the issue ?

Without a repro, I can't tell for sure. Past reports mentioned that this error was coming up only in the Play Store - are you sure that these are tied to real users? I'd highly recommend upgrading anyway, we changed the build process significantly in the latest iterations, and that might solve this issue for you.

This bug is not happening to real users , only happening to play store devices with x86 architecture .

If that's the case, I highly recommend upgrading to the latest version and checking if it still applies. The current report is related to an old version of this runtime.


No Header field in creating an announcement

Announcements Tab:

it has "This post has no heading" it is because the system did not ask for one.
Creating an announcement view:

Done


possible problem using pombase:primary_name in extensions (if primary names change)

A while ago Antoiai mentioned that if we have used and ID in extensions and the primary ID changes this could cause problems with existing extensions because at the next Canto import these will map to the  old  new sys ID?
I don't know how we should adress going forwards, but for now we should double check everything whose primary_id has changed since we started suing Canto.
I did not keep a list of these. Will need to  do a comparison between old and new primary names.
From this list we should check all the  target of sections of the old and new gene pages to see if there is anything crazy. it should be obvious fairly quickly if anything is wrong.

Minimally

Primary name of ran1  in PomBase is now pat1
(this should be OK as pat1 was not used for anything else)

sod2
was SPAC977.10 now SPAC1486.01

this shouldn't be a problem for sod2 next update (all extensions shold be using the sys ID)

and the primary ID changes

Er, that sounds very bad.  Am I missing something?  All sorts of things depend of the primary ID being constant don't they?

Its bad, but not that bad.  Systematic IDs never change. Primary names may change after consultation ith the GNC  if there is a major conflict. This is very rare. I can only think of these few examples over the past few years....I just wanted to check that I had not missed any.
For these it is unlikely that the name is so established that it has been used in any/many extensions. However any which were constructed as PomBase:sod2 in canto would need changing.
Only I have the list of changes, I'll check all their use in extensions  to sys ID just to be sure. If it happens again, I'll make sure that I check the extensions first.
We use systematic IDs everywhere else.....

So when you talk about "primary ID" above, do you mean systematic ID or gene name?  You mention primary name and primary ID so I assumed that primary ID must mean systematic ID.  Now I'm not sure.

sorry, that was confusing,
primary_name

primary_name

Ah, not so bad then!  Nothing in Chado or the loader relies on the gene names.  If you put something like "PomBase:cdc2" in an extension it stores it in Chado using the systematic ID.

if we have used and ID in extensions and the primary ID changes

Now I understand this more: if you had PomBase:ran1 in an extension and then you change things so that ran1 isn't a primary name anymore, you'll get a warning in the logs.

sod2 was SPAC977.10 now SPAC1486.01

There won't be a warning about that though because sod2 is still a primary name.
Is there anything I can change in the loading code to help?

Maybe  part of the procedure when a primary name changes should be to do a query for extensions and fix them (it happens rarely, I can remember to do this step)
note to self, check
http://www.pombase.org/spombe/result/SPAC977.10#recipext

Since I opened this ticket I don't think we have had a primary name chnge. I suggest htat if we do ever change a primary name we just do a good check that it isn't referenced in any extensiosn (Canto Artemis or flat files).


Beakn - Serial Connection question....

Within the source code, I'm trying to identify where i would start modify the serial connection to pro-actively "probe" or wait for the specific com port, in an attempt to reconnect without force closing and re-opening the app. If anything, wait for that device to become available again before reestablishing the serial connection and parsing the last status.
Something like this:
If Beakn loses serial connection, wait for com port
Com port becomes available, reconnect, relay current status
Or maybe tie the app to wait for the unique hardware identifier of the serial device?
I use this in my laptop dock at work and as a work-around and have a batch to kill and relaunch. I'm relatively more of a hardware guy, so this would be something i work with my programmer bud on.
I'm just curious where i would need to start since this is probably the first application source I've jumped into. I appreciate your time spent on this project! Let me know if i can send some coffee or a gift your way.

Sorry for the multi-year delay - starting to work on this project again.  I would start here: https://github.com/jonbgallant/beakn/blob/master/desktop/beakn/beakn/Protocol/Serial.cs
CmdMessenger Library might already have something like that in it.  If you git clone https://github.com/jonbgallant/beakn.git --recursive" you will see the Arduino-CmdMessenger project in the beakn root and the original project is here: https://github.com/thijse/Arduino-CmdMessenger

Closing. LMK if you still need help.


Revert #6565: kubevirt's components managed-by label's value changed to virt-operator

What this PR does / why we need it:
A recent PR (#6565) has changed the app.kubernetes.io/managed-by label value from kubevirt-operator to virt-opertor. This label is used as a label selector for most of the informers used by virt-operator, e.g. here.
When performing an upgrade (as opposed to a clean install) to KubeVirt v0.47.0, this causes the OperatorCRD informer to drop all existing CRDs (still labeled with kubevirt-informer) and hence to fail to observe that they already exist --> conflict.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #6763
Release note:
Bugfix: revert #6565 which prevented upgrades to v0.47.

/assign @rmohr

/lgtm
/approve
/cherry-pick release-0.47
@zcahana thanks.

/retest-required

/override pull-kubevirt-e2e-k8s-1.20-sig-compute


plotly_express installs via pip but doesnot import

Hi,
I am using Python 3.6.8 in anaconda environment.
pip install plotly_express works.:
(py3) bash-3.2$ pip install plotly_express
Requirement already satisfied: plotly_express in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (0.1)
Requirement already satisfied: plotly>=3.6.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly_express) (3.7.1)
Requirement already satisfied: scipy>=0.14 in ./Library/Python/3.6/lib/python/site-packages (from plotly_express) (1.1.0)
Requirement already satisfied: pandas>=0.20.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly_express) (0.21.0)
Requirement already satisfied: statsmodels>=0.9.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly_express) (0.9.0)
Requirement already satisfied: retrying>=1.3.3 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly>=3.6.0->plotly_express) (1.3.3)
Requirement already satisfied: pytz in ./Library/Python/3.6/lib/python/site-packages (from plotly>=3.6.0->plotly_express) (2018.5)
Requirement already satisfied: six in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly>=3.6.0->plotly_express) (1.11.0)
Requirement already satisfied: nbformat>=4.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly>=3.6.0->plotly_express) (4.4.0)
Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly>=3.6.0->plotly_express) (2.21.0)
Requirement already satisfied: decorator>=4.0.6 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly>=3.6.0->plotly_express) (4.4.0)
Requirement already satisfied: numpy>=1.8.2 in ./Library/Python/3.6/lib/python/site-packages (from scipy>=0.14->plotly_express) (1.15.0)
Requirement already satisfied: python-dateutil>=2 in ./Library/Python/3.6/lib/python/site-packages (from pandas>=0.20.0->plotly_express) (2.7.3)
Requirement already satisfied: patsy in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from statsmodels>=0.9.0->plotly_express) (0.5.1)
Requirement already satisfied: traitlets>=4.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly>=3.6.0->plotly_express) (4.3.2)
Requirement already satisfied: jupyter-core in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly>=3.6.0->plotly_express) (4.4.0)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly>=3.6.0->plotly_express) (3.0.1)
Requirement already satisfied: ipython-genutils in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly>=3.6.0->plotly_express) (0.2.0)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly>=3.6.0->plotly_express) (1.24.1)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly>=3.6.0->plotly_express) (2018.8.13)
Requirement already satisfied: idna<2.9,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly>=3.6.0->plotly_express) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly>=3.6.0->plotly_express) (3.0.4)
Requirement already satisfied: setuptools in ./Library/Python/3.6/lib/python/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2->plotly>=3.6.0->plotly_express) (40.0.0)
Requirement already satisfied: attrs>=17.4.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2->plotly>=3.6.0->plotly_express) (19.1.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2->plotly>=3.6.0->plotly_express) (0.14.11)
BUT I cannot find the module when I do "import plotly_express":
ModuleNotFoundError                       Traceback (most recent call last)
 in
----> 1 import plotly_express
ModuleNotFoundError: No module named 'plotly_express'

That's quite strange... Can you tell me a bit about your environment? Which version of Python and pip are you on?

Python 3.6.8  & pip 19.0.3

Thanks, and sorry I missed the Python version you'd already provided at the top there... I'm not sure if it will fix your issue but I've just pushed up version 0.1.1 of plotly_express which requires plotly>=3.7.1 only (and not alongside plotly>=3.6.0). Perhaps installing will work in your environment now?

Thanks nicolaskruchten.  It is working on my pycharm but not in conda. So, this will work for now.

Hey, hope you are doing well @nitin0301.
Similar Scenario
I had the same issue as you. I went through to try to resolve it, but I actually found a quick workaround for this issue, while a somewhat larger issue is at hand for particular pip paths for some people.
Workaround
Run this line in a cell within your Jupyter Notebook:
!pip install plotly_express

Root Cause
When we ran pip install plotly_express in our CLIs, we downloaded the package in the system's pip tool, and not within anaconda's pip. Even with the consideration of creating an environment, you would get this issue.
After some trial and errors from finding out that upgrading jupyter, system's python, and manually trying to change the .bash_profile's filepath, I got nothing.

Solution
After checking the diff's of the system and jupyterpip list and conda list, I thought:
"why don't I just run the command within the Jupyter Notebook?"
Ran the following, and it seems to work now.
#Example code from documentation
iris = px.data.iris()
px.scatter(iris, x="sepal_width", y="sepal_length")
#Enjoy the visualization, hopefully :D

Work still needed
Direct the pip and python path's from system/CLI to anaconda's paths.
Hope that helps!

I am using Python 3.6.8 in anaconda environment.

when you make a new conda env, install pip in it first, otherwise when you pip install something inside the conda env it uses the base anaconda pip file.
Its quite confusing, anaconda should just install pip by default inside environments.

Same error with conda 4.7.12

simply upgrade the plotply

!pip install plotly_express
will fix this problem

!pip install plotly_express

thank you

!pip install plotly_express did not fix for vs code

same like mqsaud it did not fix for me

!pip install plotly_express did not fix for vs code

I had the same issue in VS Code on Windows 10, what fixed it for me was I was using Python3.9 installed from the Windows Store. Switching to Python installed by the Python installer solved the import issues.


Rep. Controller encodes created-by annotation incorrectly

pkg/controller/replication_controller.go uses json.Marshal(createdByRef) at one point to record a reference to a pod's creator in an annotation. This is incorrect because it's serializing an unversioned object.
Additionally, the rule should probably be "objects in annotations should be serializied in the same version as the parent object", but it's hard to see how we can enforce that without a very expensive trek through the annotations in every encode/decode call.

Many annotations contain unstructured data, so this is less of a problem for them.
We could create a custom schema to use for such annotations, since this is an "API" to an external system/tool, rather than to Kubernetes components. Making it unstructured isn't really better, though we could use "kind/name" syntax here, which is at least fairly minimal. The only way it would break would be in the case of a kind change, such as minions to nodes. Or, if we had a reasonable way to look up objects by UID, we could switch to a UID, which would sidestep version, namespace, kind, etc.
cc @simon3z

@lavalamp @bgrant0607 I thought that apiVersion in kubernetes.io/created-by was enough for versioning:
- apiVersion: v1beta3
  kind: Pod
  metadata:
    annotations:
      kubernetes.io/created-by: '{"kind":"ReplicationController","namespace":"default","name":"nginx-controller","uid":"b47063a8-e8e3-11e4-8646-525400c903c1","apiVersion":"v1beta3","resourceVersion":"40136"}'

@simon3z confusingly, that apiVersion is the version of the thing that the ObjectReference refers to, not of the ObjectReference itself...

@lavalamp argh! Really? I think it should be fixed... an ObjectReference should carry the api version of its format, not the version of the object it's pointing to (which might change over the time). Or maybe it should have both... but definitely not only the one of the pointed object.

@bgrant0607 since the created-by annotation is generated internally by kubernetes and consumed externally it seems really asymmetric with the rest. Basically as you update the format of ObjectReference we'll start having pods with different annotation formats (old and new api version) and the old format will never be updated. Do you have a solution for this? Who's responsible of updating annotations? I understand that external application that are attaching additional info should be in charge of that, but this one is added internally.

@simon3z It's not a bug, object references need to specify the version of the thing they reference. We haven't previously marshaled just an object reference by itself; it really needs an ObjectMeta field before you should marshal it separately, and one should always use api.Encode/Decode and never json.Marshal to serialize our objects.

@lavalamp any suggestion on what's the preferred solution here? Should we add an ObjectMeta or should we come up with a different format as mentioned by @bgrant0607 here https://github.com/GoogleCloudPlatform/kubernetes/issues/7322#issuecomment-96108736
I would lean toward using an ObjectReference (with ObjectMeta) but it may be too heavyweight for this use case. On the other hand if we need to change the format in the future, we may need versioning anyway (which is what ObjectMeta is providing anyway).

Unfortunately, I don't have time to deal with this prior to 1.0. We can either leave this annotation as is, or back it out.

@simon3z Add a wrapper object, something like this:
type SerializedReference struct {
  ObjectMeta
  ObjectReference ObjectReference
}

I think it's not the end of the world to leave it like it is for a while. No one depends on this yet.


add stdlib test for TLS dtor order

@bors r+

:pushpin: Commit 61f5680da02206b4d3c354100f2e8341fde6c2a0 has been approved by RalfJung

:hourglass: Testing commit 61f5680da02206b4d3c354100f2e8341fde6c2a0 with merge 4756be8aeebedd6d12f36613cf06e4dfa8aa896b...


removed yarn.lock and updated npm to generate up to date package defi…

removed yarn.lock and updated npm to generate up to date package definitions and new lock file

Travis osx job 941.1 finished, you can download the results here.

Travis linux job 941.2 finished, you can download the results here.

Travis osx job 942.1 finished, you can download the results here.

Travis linux job 942.2 finished, you can download the results here.


Changed Images in Gallery

some changes in gallery and edits the background images and other images too;
And set appropriate image to doc...  .

LGTM, Merged:-)


Can I use more than 20 email accounts?

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue
Expected behavior
Tell us what should happen
When I make my 21 est email account, it will not receive the mail.
Actual behavior
Tell us what happens instead
noting
Steps to reproduce
1.make a 21 or 22nd email account in K9
2.
3.
Environment
K-9 Mail version: 5.203
Android version:6.0.1
Account type (IMAP, POP3, WebDAV/Exchange):imap

There's no artificial limit on the number of accounts. If it's not working then it's because of something else.


Error enabling plugin LuckPerms

logs
https://gist.github.com/mat41997/20306c6f58a260295a9cce566e7e63c3
BungeeCord
https://github.com/HexagonMC/BungeeCord/releases
config
https://gist.github.com/mat41997/ab48920584fa29ce808125c2f7ee32f8
plugins
http://i.imgur.com/Hwz1DkA.png

You're not using the BungeeCord version of the plugin.


Less noisy errors on exceptions

When an error is thrown a huge async stack trace is sent to the client. Instead we should log the stack trace and send only a short error to the client.

Actually, I think this is intentional and is controlled by json_rpc_2 package. There is already a message field for the short version.


Add NetBSD support to pb

Hello Sergey!
Please add NetBSD support to pb.
In order to do that just add "netbsd" (between freebsd and openbsd to keep it sorted asciibetically ;)) to pb_nix.go and pb_x.go.
I have tested that on NetBSD/amd64 7.99.4 (-current) with lang/go 1.4.1 using odeke-em/drive.
Thanks in advance for your attention!
Ciao,
L.

Hello!
Done - https://github.com/cheggaaa/pb/commit/d21a66c8dce57a0b60d888b68df19d9607d9fb17
Can you test this on netbsd?

Hello Sergey,
Sergey Cherepanov writes:

Hello!
Done - https://github.com/cheggaaa/pb/commit/d21a66c8dce57a0b60d888b68df19d9607d9fb17
Can you test this on netbsd?
Tested and I can confirm that it works.

Thank you and keep up the good work!
Ciao,
L.

Awesome!


feat(css concatenation): adds a minified css file for distribution

provides a new gulp task for minifying our css with the postcss plugins
fixes #46


New package: Opsfolio.Surveilr version 0.9.0

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @Lilit0x,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 881.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-05-29 15:20:10.767 [FAIL] Installer failed security check. Url: https://github.com/opsfolio/releases.opsfolio.com/releases/download/0.9.0/surveilr.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
(Automated response - build 881.)

@microsoft-github-policy-service agree [company="{Opsfolio}"]

@microsoft-github-policy-service agree company="Opsfolio"

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-05-29 12:53:01.666 [FAIL] Installer failed security check. Url: https://github.com/opsfolio/releases.opsfolio.com/releases/download/0.9.0/surveilr.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours. nn
(Automated response - build 881.)

@wingetbot run

Automatic Validation ended with:

ADO Build not found.

(Automated response - build 886.)

/azp run

/azp run

Automatic Validation ended with:
(Automated response - build 886.)


WIP: I will implement exercise isogram

All done :)

Thanks! Can you quick fix the build? It failed with:

Running configlet...
Evaluating .
-> config.json does not include [isogram].

All we need to do is add the module name to the config.json file (found in the project's root directory). The ordering is based on complexity relative to the other projects.

Sorry about the break!
It troubled me but I spot the error :(
I'll fix it as soon as have access to a computer.
Thanks!

All good to go :)

Awesome, thanks!

I will try to do some more problems at the first opportunity
On 8 Jun 2016 21:19, "Steve D"<EMAIL_ADDRESS>wrote:

Awesome, thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/exercism/xkotlin/pull/9#issuecomment-224681641, or mute
the thread
https://github.com/notifications/unsubscribe/AELBvylURADMRcHMsLg7lUsyoe6dayLjks5qJwelgaJpZM4Iwr7q
.

Is this still WIP as titled? Or should the title be changed?

It has been merged, so the work completed

Yes, I figured that, so the title of WIP title is not valid any longer, so should it be changed?

I don't know what the policy is on that. Perhaps @sdavids13 has more insight

Makes sense to drop the WIP, I went ahead and did so.

When I do WIP commits, the WIP is to make sure people don't merge it before I'm ready. When I'm ready for it to be merged, I rebase my PR, squash whichever commits it makes sense to squash, make sure my commit messages are solid, and then edit the title of the PR to remove the WIP. Then I add a comment on the PR to also say that I'm ready for another review.


Update kitex getting started

What type of PR is this?
docs: Documentation only changes
Check the PR title.

[X] This PR title match the format: <type>(optional scope): <description>
[X] The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en: elaborate more on kitex client example
zh(optional):
(Optional) Which issue(s) this PR fixes:

缺少英文

缺少英文

官网「编辑此页」功能一次只能改一个文件，英文另外提在这个PR里：https://github.com/cloudwego/cloudwego.github.io/pull/708


Fix: Remove PHPMD annotations

This PR

[x] removes useless suppressions of PHPMD warnings

Follows #354.

@localheinz thanks!


Issues configuring AKS on Server 2022

Trying to setup the Azure Kubernetes Service for evaluation and have hit a roadblock!
I originally started to configure the service using Windows Admin Center and each time it get's to the validation stage it hangs at the Validate KVA test, thinking it maybe hardware related I made some changes but still hangs at this step.
Looking around online, I decided to go down the powershell route to try and get this setup however I'm hitting the same issue here even with a clean setup!

Inspecting the control-plane VM it appears to be complaining about invalid configuration and unable to run various scripts.

Any one experience this before and know how to get round this?
NOTE - Looking at a single node on Windows Server as a PoC

@Jarod1662 - looks like Hyper-V is not "ready". The KVA check creates a virtual machine and tries to reach it. If the VirtualSwitch is misconfigured it doesn't work. Same issue as here: https://github.com/Azure/aksArc/issues/347
Do you test on a hardware or a virtual machine with nested virtualization?

@Jarod1662 - looks like Hyper-V is not "ready". The KVA check creates a virtual machine and tries to reach it. If the VirtualSwitch is misconfigured it doesn't work. Same issue as here: #363
Do you test on hardware or a virtual machine with nested virtualization?

Interesting! I was following some guides online and used their proposed network configuration for the adapter! They all seem to use roughly the same addresses
This is being done inside a virtual machine with nested virtualization

The Aks Hybrid docs expect that you have your underlying Hyper-V configured correctly. For nested virtualization you need to turn on MacSpoofing as documented here: Run Hyper-V in a Virtual Machine with Nested Virtualization
I have test setups running in Windows Server 2022 with nested virtualization - you can do:

Create a virtual switch and connect it to external network
disable 'Allow management operating system to share this network adapter'
don't use a VLAN ID
shutdown the VM and enable MAC spoofing on that network adapter Get-VMNetworkAdapter -VMName <VMName> | Set-VMNetworkAdapter -MacAddressSpoofing On


Reverse order of argument

Description
According the Transaction behavior model, the order of arguments in function DataTx.deduct_fee/5 differ. Which causes abnormal work on other transactions.

Ok, I see now. Even when I looked at the code this time the order looked good to me, but in fact there is an error in DataTx.

@thepiwo
mistake


enhancement support read list(Array) type from orc file

Proposed changes
Issue Number: close #xxx
Problem summary
Before this pr, if we try to load ORC file with native list(or array) type data, the be will crash.
Because complex types in ORC file include multi real columns, so we need to filter columns by column names.
Otherwise we could not read all columns we need.
Now arrow release-7.0.0 only support create stripe reader by column index, so we patch it to support create stripe reader by column names.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[x] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Hi @cambyzju , the new orc reader is implemented in be/src/vec/exec/format/orc/vorc_reader.h, which already support type.
Do we still need to patch arrow?
In the new implementation, I think we can discard arrow library.

Hi @cambyzju , the new orc reader is implemented in be/src/vec/exec/format/orc/vorc_reader.h, which already support type. Do we still need to patch arrow? In the new implementation, I think we can discard arrow library.

now load orc file with native list(array) type, the be will crash;
after new scanner works, we could remove all these codes include lib arrow;

LGTM