"belongsToMany" does act as "hasMany"

Hi,
Trying to understand the differences between the different type of relations, I realized that "belongsToMany" does act the same as "hasMany".
Example in a class "Product":
Situation 1
First let's say one product has one contributor "user" :
public function user()     {         return $this->belongsTo(User::class);     }
Product : id:"Product1", user_id:"User1"
User id:"User1"
=> This will search the field "user_id" in the table "products" and then retrieve the matching user, OK
Situation 2
Now let's say one product can have many contributors, and we choose to store the relation the other way around :
public function user()     {         return $this->hasMany(User::class);     }
Product : id:"Product1"
User id:"User1,product_id:"Product1"
User id:"User2,product_id:"Product1"
=> This will search the field "product_id" in the table "users", and retrieve those that are matching the current product_id of the caller, OK
Situation 3 (Issue)
Now lets's say that we want to store the list of contributors in the table "products", exactly what is doing "belongsTo", but for many users instead of one. BelongsToMany seems what we are searching for.
public function user()     {         return $this->belongsToMany(User::class);     }
Product : id:"Product1", user_ids:["User1","User2"]
User id:"User1"
User id:"User2"
=>FAILURE
=> This will search the field "product_ids" in the table "users" and retrieve those that are matching the current product_id of the caller, which is actually the same as "hasMany", except that the default target field has a "s" at the end. Setting local and foreign keys manually won't help, as the logic seems to be wrong.
It should actually works the same way as belongsTo, ie retrieve the field "users_ids" in the table "products" and then match the matching user_id(s) in the table user.
I might be wrong but after many hours of testing, it seems to be a real issue.

I can confirm this, belongsToMany seems to be broken.
My example:
class User {
    public function sites() {
        return $this->belongsToMany(Site::class);
    }
}

>> $user->sites()->getQuery()->toSql()
=> "select * from "sites" where "user_ids" = ?"

This is definitely wrong. It should be something like:
select * from "sites" where "_id" in ?

Okay, after digging around a bit, I figured out what's going on. The library automagically creates the inverse method for the relationship. So, in my case, sites was automatically getting a user_ids field. This is why the query is right.
My problem was that the object must be saved before you can add relations to it.
$user = new User();
$user->save(); // THIS MUST BE FIRST
$user->sites()->save($site);

If you do it in the other way, then site will get a user_ids=[null]. Which is wrong and causes the problem that I was seeing.


Playground uses collateral for "phase one" validation error

Area
[] Plutus Foundation Related to the GHC plugin, Haskell-to-Plutus compiler, on-chain code
[] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries
[] Marlowe Related to Marlowe
[x] Other Any other topic (Playgrounds, etc.)
Summary
The Playground takes a transaction's collateral, although the transaction fails during the first validation phase without running any scripts.
Steps to reproduce
Steps to reproduce the behavior:

Open the Playground.
Edit the code from below in the Editor.
Press "Compile".
Upon successful compilation, press "Simulate"
Set up the scenario from the screenshot below.
Press "Evaluate".

Expected behavior
Wallet 2's "grab" transaction (Slot 3, Tx 1) should fail, because Wallet 3's "grab" transaction (Slot 3, Tx 0) spent both script inputs already, but this is a "phase one" validation error, which should not accrue any fees.
 Endpoint "grab" ()

give :: AsContractError e => Integer -> Contract w s e ()
give amount = do
    let tx = mustPayToOtherScript valHash (Datum $ PlutusTx.dataToBuiltinData $ Constr 0 []) $ Ada.lovelaceValueOf amount
    ledgerTx <- submitTx tx
    void $ awaitTxConfirmed $ txId ledgerTx
    logInfo @String $ printf "made a gift of %d lovelace" amount

grab :: forall w s e. AsContractError e => Contract w s e ()
grab = do
    utxos <- utxoAt scrAddress
    let orefs   = fst <$> Map.toList utxos
        lookups = Constraints.unspentOutputs utxos      <>
                  Constraints.otherScript validator
        tx :: TxConstraints Void Void
        tx      = mconcat [mustSpendScriptOutput oref $ Redeemer $ PlutusTx.dataToBuiltinData $ I 17 | oref <- orefs]
    ledgerTx <- submitTxConstraintsWith @Void lookups tx
    void $ awaitTxConfirmed $ txId ledgerTx
    logInfo @String $ "collected gifts"

endpoints :: Contract () GiftSchema Text ()
endpoints = (give' `select` grab') >> endpoints
  where
    give' = endpoint @"give" >>= give
    grab' = endpoint @"grab" >>  grab

mkSchemaDefinitions ''GiftSchema

mkKnownCurrencies []

The validation happens in Ledger.Index.validateTransactionOffChain. I think the problem is that all script inputs are validated in phase 2 (incl. checking whether the inputs still exist): https://github.com/input-output-hk/plutus/blob/master/plutus-ledger/src/Ledger/Index.hs#L204
But, as you correctly point out, this part of the validation of script inputs should happen in phase 1.


Fixed issue #35146. BadRequest when calling CreateOrUpdateFunctionSec…

…retAsync
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

Fixe Issue #35146. BadRequest when calling CreateOrUpdateFunctionSecretAsync

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.AppService


Update env 2023.01.12

@scottyhq can you take a look here please? I can't get an updated environment to work

Well, that was some frustrating debugging. I'm not sure ultimate what what going on but I was noticing log messages with version mismatches, including some packages depending on py310 after bumping to py311, such as:
(condalock) ➜  conda git:(update-env) ✗ grep py310 *yml
environment.yml:  - llvmlite=0.39.1=py310h58363a5_1
environment.yml:  - unicodedata2=15.0.0=py310h5764c6d_0
environment.yml:  - numba=0.56.4=py310ha5257ce_0

Encountered problems while solving:
  - package libabseil-20220623.0-cxx17_h05df665_6 has constraint abseil-cpp 20220623.0* conflicting with abseil-cpp-20211102.0-h27087fc_1
  - package libgrpc-1.51.1-h30feacc_0 has constraint grpc-cpp 1.51.1* conflicting with grpc-cpp-1.47.0-hbd84cd8_1

This comment led me to try removing the poetry cache on the machine i'm using locally and that seemed to help
https://github.com/conda-incubator/conda-lock/issues/315#issuecomment-1382923291

This comment led me to try removing the poetry cache on the machine i'm using locally and that seemed to help

Thanks Scott. We should add this to the docs in the conda/ folder.


CaseSensitiveDeploymentParameterNamesFound

The deployment parameters are using case sensitive names. The error parameter name(s): parAllowHubVpnGatewayTransit,parSpokeToHubRouteTableName

Overview/Summary
Fixed parameter cases in Orchestration - hubPeeredSpoke which was causing CaseSensitiveDeploymentParameterNamesFound error
This PR fixes/adds/changes/removes

Corrected case of parSpokeToHubRouteTableName in hubPeeredSpoke.parameters.all.json
Corrected case of parAllowHubVpnGatewayTransit in hubPeeredSpoke.parameters.all.json
Corrected case of parSpokeToHubRouteTableName in hubPeeredSpoke.vwan.parameters.all.json
Corrected case of parAllowHubVpnGatewayTransit in hubPeeredSpoke.vwan.parameters.all.json

Breaking Changes

CaseSensitiveDeploymentParameterNamesFound - The deployment parameters are using case sensitive names. The error parameter name(s): parSpokeToHubRouteTableName,parAllowHubVpnGatewayTransit

Testing Evidence
Error:

Tested:

As part of this Pull Request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[x] Ensured the resource API versions in .bicep file/s I am adding/editing are using the latest API version possible
[x] Checked for duplicate Pull Requests
[ ] Associated it with relevant GitHub Issues
[ ] (ALZ Bicep Core Team Only) Associated it with relevant ADO Items
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[ ] Updated one or more of the following tests (if required)

Unit
Linting
E2E (End-To-End)
ValidateAzCloud (Base validation in Azure Cloud)
ValidateMcCloud (Base validation in Azure China Cloud)

[ ] Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Wiki Docs etc.)
[ ] If relevant, created or updated Code Tours here

@microsoft-github-policy-service agree

/azp run validateazcloud


Request a translate of improvement in docs/LogGuide.md #line-21-0x15-networkability

i have some research on the ability web event 0X15/0X16 here about how to deal with ability effects better and some bug fix in chinese
But i have some trouble on translating it to make a PR for docs/LogGuild.me because of my poor english, are there any contributor could give me some help?

I'll do it, wait a moment.


[NTR-cxg] Add region neutral children of L2/3-6 intratelencephalic projecting glutamatergic cortical neuron

Related ticket: https://github.com/obophenotype/cell-ontology/issues/2148
Parent cell type term
The children of L2/3-6 intratelencephalic projecting glutamatergic cortical neuron have the text " of primary motor cortex" at the end of the term labels. To ontologize layer specific neurons that are not definitively from the primary motor cortex, we are requesting that there be terms added that are region neutral.
Preferred term label (Synonym(s) in parenthesis):

L2/3 intratelencephalic projecting glutamatergic neuron (L2/3 IT)
L4/5 intratelencephalic projecting glutamatergic neuron (L4/5 IT)
L5 intratelencephalic projecting glutamatergic neuron (L5 IT)
L6 intratelencephalic projecting glutamatergic neuron (L6 IT)

Definition (free text, with reference(s), please. PubMed ID format is PMID:XXXXXX)

L2/3 intratelencephalic projecting glutamatergic neuron: An intratelencephalic-projecting glutamatergic neuron with a soma found in cortical layer 2/3. (PMID:37292694, PMID:34004146)
L4/5 intratelencephalic projecting glutamatergic neuron:  An intratelencephalic-projecting glutamatergic with a soma located in cortical layer 4/5. (PMID:34004146)
L5 intratelencephalic projecting glutamatergic neuron: An intratelencephalic-projecting glutamatergic neuron with a soma found in cortical layer 5. (PMID:37292694, PMID:37609206)
L6 intratelencephalic projecting glutamatergic neuron: An intratelencephalic-projecting glutamatergic neuron with a soma found in cortical layer 6 . (PMID:37292694, PMID:37609206)

Publications:

https://doi.org/10.1101/2<IP_ADDRESS>9485 (PMID:37292694) (https://cellxgene.cziscience.com/e/c2876b1b-06d8-4d96-a56b-5304f815b99a.cxg/)
https://doi.org/10.1016/j.cell.2021.04.021 (PMID:34004146) (https://cellxgene.cziscience.com/e/d7291f04-fbbb-4d65-990a-f01fa44e915b.cxg/)

Anatomical structure where the cell type is found (check Uberon for anatomical structures:
Cerebral cortex: UBERON:0000956
Your ORCID
https://orcid.org/0000-0003-4389-9821
Additional notes or concerns

The parents of the terms containing " of primary motor cortex" would then be these new terms.
Was there a particular reason that L2/3 and L4/5 were considered together on not listed as individual layers?

We just received another dataset with the following cell annotations:
['L6-IT-Car3', 'Amy-Exc', 'L6b', 'L6-CT', 'L6-IT', 'L4-IT', 'L5-IT', 'L2/3-IT', 'L5/6-NP', 'L5-ET']
Is it possible to separate L4 with L5?

Thank you for the additional information, @jychien.
The reference for 'L4/5 intratelencephalic projecting glutamatergic neuron of the primary motor cortex', PMID:33184512, has the following description:
"We were also able to identify a t-type, L4/5 IT_1, that was located on the boundary between L2/3 and L5 and probably corresponds to the quasi-L4 neurons described previously in motor cortex.31"
Given this lack of specificity, the aggregation for L4 and L5 in this case seems reasonable in this case.
Are you proposing to replace L4/5 with L4 and L5 parent classes or to keep L4/5 and add L4 and L5?

Any one paper with layer information is about a type is likely to focus on the peculiarities of the layer structure of the region being studied.  IIRC, the primary motor cortex lacks a clear layer 4 (unlike many other cortical regions), but some the the location of the soma of some the type being discussed in this paper fits with it being quasi-L4 in the PMC.
It is clear that we need a set of region-neutral terms for IT & ET projecting glutamatergic neurons in the cortex.   To find out: for which layers can we justify adding ET, IT or both. @jychien - can you provide refs for the papers you're curating for these datasets (or are they pre-release?).
Please also note that we now have the option to add an official symbol  (e.g. L5 ET) and have done so for at least some terms.  I'd like to add these for well used symbols to enhance findability and to provide an option for display where long names are not appropriate.
Finally - I think it would be worth having a more general call with folks form the Allen who are working on these cell types to get their take on what's needed.  We can't avoid that these names are being used based on annotation transfer in cases were we don't have soma-location and projection info.  I can help organise through BICAN.  @jychien would you be interested to join??

Thank you @bvarner-ebi and @dosumis.
To clarify, yes, I was suggesting to keep the L4/5 terms and to add the individual L4 and L5. And it does make a lot of sense to add them as children.
Here are 2 of the preprints that I am working on with contributors:

https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>2874v1
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>8285v1.full.pdf

We do have additional datasets that other wranglers on the Lattice team are working on, and other datasets that are being wrangled from public repositories where we have yet to engage with the authors.  It would be great if @jlzamanian and I could be invited to the conversation. Much appreciated! The authors that I am talking with are non-Allen, and it does sound like they have some feedback on the CL terms and is what started this thread. Would it be okay to extend the invitation to these authors, in the case they are interested in adding some feedback?
In general, the datasets for brain that we are getting are large, and if we could get the CL terms in place, it would help alleviate some of the re-annotation work that we would need to do in the future. Thank you !

@bvarner-ebi I've tried to make it as least confusing as possible. Please let me know if something is inconsistent. Thanks!

We just received another dataset with the following cell annotations:
['L6-IT-Car3', 'Amy-Exc', 'L6b', 'L6-CT', 'L6-IT', 'L4-IT', 'L5-IT', 'L2/3-IT', 'L5/6-NP', 'L5-ET']

@jychien - is this one of the datasets being processed for loading?
Jorstad, Nikolas L., Jennie Close, Nelson Johansen, Anna Marie Yanny, Eliza R. Barkan, Kyle J. Travaglini, Darren Bertagnolli, et al. 2022. “Transcriptomic Cytoarchitecture Reveals Principles of Human Neocortex Organization.” bioRxiv. https://doi.org/10.1101/2<IP_ADDRESS>5349.
This is a current priority for our Brain Initiative funding and may become a reference for human cortical types.  Looks v. relevant to decisions about cell types being added for this ticket.

@dosumis Yes, the list of cell annotations is from the second preprint listed above.
Thank you for the link to the preprint.  Will there need to be any changes to this new terms requested in this ticket? We are looking through our brain datasets in CELLxGENE and do anticipate additional NTRs.

It will be added to the list of annotated datasets used as a reference on https://portal.brain-map.org/explore/cell-type-references-and-algorithms.  This allows users to upload an h5ad file and get a set of predicted annotations.

Please also note that we now have the option to add an official symbol (e.g. L5 ET) and have done so for at least some terms.

That's great! Is this listed as an exact synonym, or are you saying that there is a new feature of an 'official symbol' that can be retrieved for these cell types with long names?

Both.  e.g.
https://www.ebi.ac.uk/ols4/ontologies/cl/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FCL_4023041
has

@jychien, thank you for the detailed ticket.
*Note: using abbreviations instead of labels in comments below.
Regarding the placement of L2 IT and L3 IT as subclasses under L2/3 IT, I'm unsure of this modelling.
My understanding is that 'cortical layer II/III' is used when there is no clear distinction between the boundaries of layers II and III as opposed to an arbitrary grouping of the two classes.
Uberon does not classify 'cortical layer II' and 'cortical layer III' as children of 'cortical layer II/III', and it is my inclination to preserve that separation with these new CL classes.
The reference provided for new terms L2 IT and L3 IT also classifies these as different super types (emphasis added): "The ENT IT group (Fig. 4B–D, ,FF–H) has 10 supertypes organized in a layer-selective manner, in the order of L2, L2/3, L3, L5 and L6, consistent with their correspondence with CTX L2/3-L6 IT types, and shows differential spatial distribution along the anterior-posterior axis..."
The reference also states: "Two supertypes, L2 IT ENTm Lef1 and L2 IT ENTl Chn2 (Grik1+), are located at the border between L1 and L2."
Your proposed text definition for L2 IT has "...soma found in cortical layer 2". Is this distinction in location worth reflecting in the definition (border vs layer)?
With the above in mind, would it be appropriate to classify L2 IT, L3 IT, L4 IT and L5 IT as direct descendants of L2/3-6 IT instead of the hierarchy presently proposed in your request?
CC @patrick-lloyd-ray if you have insight to add.

@bvarner-ebi Thank you very much for catching that. I hadn't realized the nuanced difference. I've updated the diagram in the first comment accordingly.

@jychien, thank you for confirming.
For your review, this is how the classes appear in the ontology editor inferred class hierarchy view:

Of note, assuming there was a copy error in the text def for L4 IT, I substituted "4" for "5".

@jychien, thanks again for the new terms. The following classes have been added and will be available in the next CL release:
CL:4030059 'L2/3 intratelencephalic projecting glutamatergic neuron'
CL:4030060 'L2 intratelencephalic projecting glutamatergic neuron'
CL:4030061 'L3 intratelencephalic projecting glutamatergic neuron'
CL:4030062 'L4/5 intratelencephalic projecting glutamatergic neuron'
CL:4030063 'L4 intratelencephalic projecting glutamatergic neuron'
CL:4030064 'L5 intratelencephalic projecting glutamatergic neuron'
CL:4030065 'L6 intratelencephalic projecting glutamatergic neuron'
Additional details can be viewed in the linked PR.


Windows 10 import: Skip Config-Power

We observed a Windows 10 64-bit import that failed when running Configure-Power. This PR skips Configure-Power for all versions of Windows 10 until we find a more granular filter.

/merge


Bern features: Icons to switch between category affiliation is invisible

There is a clickable box next to the trash bin but the chosen icons are invisible (see screenshot).

Well this is embarrassing, I forgot to commit the image files.
I now added the missing files to the PR, but they'll probably not be available on your test system until tomorrow, so here is at least a screenshot of how it should look like:

Looks nice. Would it be possible to insert some free space between the new icons and the square to change the colour?

Looks fine and can be closed. Thx!


Improve security

[x] Resolve package vulnerability
[x] Keep login credentials on cookies

[x]  Consider Rob's suggestion to get the entire application to run on a single port

[x] Find ways to avoid xss attacks

Fixed most package vulnerabilities on security. Root and client/ should be clear except 300 low ones in client/ which caused by minimist which is a nested dependency of react-scripts.

Pull request 'Security #70' stores login credentials using cookies, sets up a proxy for the React and API server, and uses multiple methods to reduce the potential danger of xss attacks.


Code Pigeonhole sort algorithm :infinity: in any programming language you like :computer:

Code Pigeonhole sort algorithm :infinity: in the relevant language folder :file_folder: in the main branch.
if language folder doesn't exist you can make folder :file_folder: and add your program in it.
You can find new languages in this Programming Language List.
Give star :star: to this repository.

hello sir, assign me this issue please

Hello There, I would like to contribute to this. Thank you.


support for pyasn1 0.1.8

New version of pyasn1 was just released

Thanks. @maemigh are you a part of the pyasn1 project or just an enthusiastic user?
https://github.com/google/oauth2client/blob/c5eb9f14d46d89fb33c4409a0d32fad4b919e136/setup.py#L39
shows that we have a pinned dependency.
@craigcitro do you know why this is the case historically?

i think we were just being conservative -- we didn't originally want to depend on a library at 0.1.x or 0.0.x (pyasn1_modules), so pinning to a known-working version seemed safer than accidentally picking up breaking changes.
is there something we need in the new version?

I'm just a user. Nothing I needed it for in particular--I ended up with the newer version after upgrading some other modules and noticed that oath2client wouldn't work with the new version without hacking the requires file.
I suppose downgrading or just leaving the hack in place works fine if you are reluctant to remove the pin.

using >= is probably better for the outside world. the real issue is that internally, we pin to a particular version, which means pinning externally keeps the two in sync. :grinning:

BigCorp should learn how to play nice with Open Source. Isn't there same way to pin internally or just have a custom setup.py internally?

we're pinned internally. so pinning outside keeps things consistent; i don't think it's a big issue to switch to >=.

Thanks @maemigh for filing and thanks @craigcitro for coming out of retirement to take my snark :smiling_imp:


Feature/cron jobs

Description
Docker Setup fixed and cron's command established
Motivation and Context
We needed a simpler process to launch the app, thus the fix in docker folder. The cron command will be called regularly by the cron to execute the twitter api calls and the database updates.
Warning
The readme.md has changed follow the new process to launch the application.

@rbtkay Is it normal that there is a .env file ? In principle, we only push .env.sample, isn't it ?

@rbtkay Is it normal that there is a .env file ? In principle, we only push .env.sample, isn't it ?

Ok, because no sensitive data


Clarifying host ID override when using slots

The propose change aims to make it more clear/explicit that when slot host id collision is happening the proper way to override the host ID is by setting a different host ID on all slots including (and most important) the production slot.
If this is not done, when you do a swap operation the same will fail with a generic error saying "Swap failed. Details: Cannot swap site slots for site 'YOU_SITE_NAME' because the 'YOUR_SLOT_NAME' slot did not respond to http ping.".
This behavior was tested on the following environment:
-> Function on Linux Dedicated Plan
-> Function runtime version <IP_ADDRESS>
-> Language dotnet 6.0 (the code used was the hello world template from the Azure Portal. I created a timer trigger function and an HTTP trigger function )

@ggailey777
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hey @ffarinha-msft, since Mathew has OK'd my suggestion, can you please commit my suggestion and I'll sign off?

@ffarinha-msft Thanks! #sign-off


feat(tekton): add view output action in pipelinerun list view

Fixes:
https://github.com/janus-idp/backstage-plugins/issues/1004
Description:
Add Output action in the pipelinerun list page. The output component visualises policy reports, scanner information and pipeline results. This component consists of following sections.

Enterprise Contract
Advanced cluster security. This section contains three tabs

Image scan
Image check
Deployment check

Others tab contains all other pipelinerun results in the key/value pairs.

Note: These sections are rendered conditionally based on the availability of the EC, ACS or any scanner tasks)
Screenshots:
EC:

ACS:

Others:

Video:
https://github.com/janus-idp/backstage-plugins/assets/9964343/f54d161d-f868-4b12-9c40-a17e93010903
How to test:
I have added mock data in dev setup.
To test with real data points, follow the below instructions:

Order a demo cluster from https://demo.redhat.com/catalog
Create a custom template in backstage instance -  https://github.com/karthikjeeyar/spring-boot-stssc-template (follow instructions to update it to your demo cluster hostname).
Create a component based on your new template.
Make changes to the created source repo to trigger a build pipeline.
Use the openshift cluster admin token / api in app.config to connect with localhost.

Alternatively, I can share my cluster (which has the setup already) details to the reviewers so they can connect to it directly.
Unit tests:
  usePodContainerLogs
    ✓ should return loading as true and value as undefined initially (22 ms)
    ✓ should return value as log text (4 ms)

  taskRun-utils
   ✓ should return false if the taskrun is missing external-link type annotation (1 ms)
    ✓ should return true if the taskrun has external-link type annotation
    ✓ should return true if the taskrun is a valid SBOM task (1 ms)
    ✓ should return true if the taskrun is a valid EC task (1 ms)
    ✓ should return true if the taskrun is a valid ACS image scan task
    ✓ should return true if the taskrun is a valid ACS image check task (1 ms)
    ✓ should return true if the taskrun is a valid ACS deployment check task
    ✓ should return false if the taskrun is not a valid SBOM task (1 ms)
    ✓ should return the taskrun group (1 ms)
    ✓ should return the pods group (1 ms)
    ✓ should formatData in the given format (1 ms)
    ✓ should throw error if the json is not parsable (1 ms)
    ✓ should process the enterprise contract results and return in expected structure (1 ms)

cc: @ShiranHi @jeff-phillips-18 @invincibleJai

cc: @jeff-phillips-18

Thanks @karthikjeeyar, overall looks good.
Will be nice to get +1 from @jeff-phillips-18 / @rohitkrai03 and UXD.

/approve

+1 from UXD on the Advanced Cluster Security sections. Thank you! @karthikjeeyar

Looks good to me, Karthik!


fix(perf): factorize regex to avoid ReDoS

Factorize parts of the regex with non-catching parentheses to avoid multiple branch possibilities in the source pattern matching.
Fixes CVE-62

To be tested with the PoC on https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos?file=index.html

Tested with the PoC on https://stackblitz.com/edit/angularjs-vulnerability-ng-srcset-redos?file=index.html with direct edition of the javascript in Chrome Debug Tools.
The modifications explained in the comments bring to a linear complexity and we observe much better times:

2^17: 0.02s (vs 24s beforehand)
2^18: 0.03s
2^19: 0.07s
2^20: 0.14s


Update Rust SDK Re: HTTP router for Rust SDK (Spin PR 1339)

A new PR shipped recently; just making sure that any docs are updated if required.
https://github.com/fermyon/spin/pull/1339

There is Javascript documentation for this feature at https://developer.fermyon.com/spin/javascript-components#routing-in-a-component
Can we create the equivalent for Rust (in that same area of the documentation; SDK) also?

https://developer.fermyon.com/spin/v2/rust-components#routing-in-a-component


Config options for "move to a new file"

I'd like to be able to configure both:

filename convention, e.g. kebab-case vs PascalCase
whether or not file extensions are added to new imports

@kevinbarabash "Move to new file" is a feature of vscode, not Glean. What am I missing?


Last Week in Pony - February 24, 2019

The recording of the Pony sync meeting from February 19, 2019 is available here: https://pony.groups.io/g/dev/files/Pony Sync/2019_02_19/pony_sync_february_19_2019.m4a


Incremental generator implementation

Since the support for Microsoft.CodeAnalysis.CSharp 4.1.0 has been added to Unity 2022.2+, could you start working on incremental generator? Thanks.

I've double-checked it and found out that Microsoft.CodeAnalysis.CSharp 4.1.0 have already been supported for Unity 2021.3.26f1.

I'd like to second wanting LinqGen to be an incremental source generator. I know it will be a large undertaking, but currently with it being a first gen non-incremental source generator, it causes very large projects to lag Visual Studio in most aspects and is very unworkable at that point. I've been trying to benchmark LinqGen against a lot of other LINQ implementations and as said project is very, very large due to the number of benchmarks, just adding a single LinqGen method reduces functionality of Visual Studio by a lot.


Website Down

I noticed the Heroku app has gone and the examples on the README don't work. Is this easily fixable?

D'oh! Fixed now – DNS issue. Thanks!

Cheers :)


Agent n+1 query fixes

Added some optimizations for code where events_count can be used without loading the entire events association, and then applying count.

Thanks!


Stop over committing

Only commit if the inputs to commit changed
This changes the profile of the browser significantly; adjusted text accordingly

Fixed tests and lint, and fixed single-threaded mode. Ready for review.

friendly ping on this PR

Timed out; merging.


Problems tab is not cleared after error has been fixed in Notebooks

Code cells very frequenty get their syntax highlighting messed up. Sometimes its highlighted in the wrong place, or just general "missing import" type things.
In this image, I'm hovering over "df", yet pylance thinks its referring to a "plt" variable:

Switching the cell from code > to markdown (M) > back to code (Y) always resolves the issue, which makes me think pylance syntax state is allowed to get out of sync with the notebook cell's actual contents at some point. Running the cell does not resolve it.
Its really difficult to tell exactly when this happens or what causes it, but it's very frequent, almost guaranteed to happen at some point while working on a notebook.
Here's another example of how a cell looks immediately after reloading vs code:

And after to markdown > to code:

This is an issue I've seen happen in pretty much every notebook I've used since switching to native notebooks, and is the last "pretty annoying" unresolved bug I experience.
Environment data

VS Code version: 1.55.0-insider
Jupyter Extension version: v2021.4.641214696
Python Extension version: v2021.4.645554373-dev
OS: Darwin x64 20.3.0
Python and/or Anaconda version: XXX
Type of virtual environment used: conda
Jupyter server running: Local

Expected behaviour

Code syntax highlight state always stays in sync with code in cells

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'pythonDiscoveryModule'
User belongs to experiment group 'NativeNotebookEditor'
Info 2021-03-13 10:05:54: ZMQ install verified.
Info 2021-03-13 10:05:54: Attempting to start a server because of preload conditions ...
Info 2021-03-13 10:05:55: Found existing keyfile at /Users/Jayme/Library/Application Support/Code - Insiders/User/globalStorage/ms-toolsai.jupyter/nbsecret
Info 2021-03-13 10:05:55: Check if Notebook is Trusted, Class name = p, completed in 0ms, has a truthy return value, Return Value: true
Info 2021-03-13 10:05:55: Attempting to start a server because of preload conditions ...
Info 2021-03-13 10:05:55: Search all interpreters /Users/Jayme/.local/share/virtualenvs/Jambot-uzRuMVcQ/bin/python, /Users/Jayme/.local/share/virtualenvs/SMS-4WPEHYhu/bin/python, /Users/Jayme/.local/share/virtualenvs/python-chromedriver-autoinstaller-BiRCrPZ2/bin/python, /Users/Jayme/.local/share/virtualenvs/whissybook-za4JZZmh/bin/python, /opt/miniconda3/bin/python, /opt/miniconda3/envs/512/bin/python, /opt/miniconda3/envs/513/bin/python, /opt/miniconda3/envs/522_grp_13/bin/python, /opt/miniconda3/envs/531/bin/python, /opt/miniconda3/envs/532_grp23/bin/python, /opt/miniconda3/envs/553/bin/python, /opt/miniconda3/envs/563/bin/python, /opt/miniconda3/envs/571/bin/python, /opt/miniconda3/envs/572/bin/python, /opt/miniconda3/envs/573/bin/python, /opt/miniconda3/envs/nicenumber/bin/python, /usr/local/bin/python, /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
Info 2021-03-13 10:05:56: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-03-13 10:05:56: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
Info 2021-03-13 10:05:56: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-03-13 10:05:56: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
Info 2021-03-13 10:05:56: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
Info 2021-03-13 10:05:56: Process Execution: ><EMAIL_ADDRESS>~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
><EMAIL_ADDRESS>~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-13 10:05:56: Process Execution: ><EMAIL_ADDRESS>~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
><EMAIL_ADDRESS>~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/.local/share/virtualenvs/Jambot-uzRuMVcQ/share/jupyter/kernels/python3/kernel.json for /Users/Jayme/.local/share/virtualenvs/Jambot-uzRuMVcQ/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/.local/share/virtualenvs/SMS-4WPEHYhu/share/jupyter/kernels/python3/kernel.json for /Users/Jayme/.local/share/virtualenvs/SMS-4WPEHYhu/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/.local/share/virtualenvs/whissybook-za4JZZmh/share/jupyter/kernels/python3/kernel.json for /Users/Jayme/.local/share/virtualenvs/whissybook-za4JZZmh/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/512/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/512/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/513/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/513/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/522_grp_13/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/522_grp_13/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/531/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/531/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/532_grp23/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/532_grp23/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/553/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/553/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/563/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/563/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/571/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/571/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/572/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/572/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/573/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /opt/miniconda3/envs/nicenumber/share/jupyter/kernels/python3/kernel.json for /opt/miniconda3/envs/nicenumber/bin/python
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/ir/kernel.json for undefined
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python3/kernel.json for undefined
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python36564bitvenvvirtualenv9e701f79e3d842e68396e668e6e8e076/kernel.json for undefined
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python38164bit8b4b56d360d1412abecb12d37ae5417d/kernel.json for undefined
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python38164bitjambotpipenv54aa71f2a0ac47cf8c8cd8c21cc6d144/kernel.json for undefined
Info 2021-03-13 10:05:56: Loading kernelspec from /Users/Jayme/Library/Jupyter/kernels/python38164bitsmspipenv575249c45d7f4959994ba4e4c050f4bf/kernel.json for undefined
Info 2021-03-13 10:05:57: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-03-13 10:05:57: Process Execution: ><EMAIL_ADDRESS>~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list
><EMAIL_ADDRESS>~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list
Info 2021-03-13 10:05:57: Process Execution: ><EMAIL_ADDRESS>~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list
><EMAIL_ADDRESS>~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.8 64-bit ('base': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.7.9 64-bit ('513': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('522_grp_13': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('512': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.1 64-bit ('532_grp23': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.7.9 64-bit ('553': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('531': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('563': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.7.9 64-bit ('572': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.7.8 64-bit ('571': conda) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.2 64-bit ('nicenumber': conda) is 4
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.6 64-bit ('573': conda) is 19
Info 2021-03-13 10:05:57: findPreferredKernel score for R is -1
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.6.5 64-bit ('venv': virtualenv) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.1 64-bit is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.1 64-bit ('SMS': pipenv) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3 is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.1 64-bit ('Jambot': pipenv) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.2 64-bit ('SMS-4WPEHYhu': pipenv) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.2 64-bit ('whissybook-za4JZZmh': pipenv) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.9.2 64-bit ('Jambot-uzRuMVcQ': pipenv) is 3
Info 2021-03-13 10:05:57: findPreferredKernel score for Python 3.8.2 64-bit ('python-chromedriver-autoinstaller-BiRCrPZ2': pipenv) is 3
Info 2021-03-13 10:05:57: Find kernel spec, Class name = k, completed in 73ms, has a truthy return value, Arg 1: <Uri:/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb>, Arg 2: {"celltoolbar":"Slideshow","kernelspec":{"display_name":"Python 3.8.6 64-bit ('573': conda)","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723"},"language_info":{"codemirror_mode":{"name":"ipython","version":3},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython3","version":"3.8.6"},"rise":{"scroll":true,"theme":"league"}}, Arg 3: {"_isCancelled":false,"_emitter":null}, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/opt/miniconda3/envs/573/bin/python","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723","argv":["/opt/miniconda3/envs/573/bin/python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/opt/miniconda3/envs/573/bin/python","display_name":"Python 3.8.6 64-bit ('573': conda)"},"interpreter":{"sysPrefix":"/opt/miniconda3/envs/573","envType":"Conda","envName":"573","envPath":"/opt/miniconda3/envs/573","path":"/opt/miniconda3/envs/573/bin/python","architecture":3,"sysVersion":"3.8.6 | packaged by conda-forge | (default, Oct  7 2020, 18:42:56) \n[Clang 10.0.1 ]","version":{"raw":"3.8.6","major":3,"minor":8,"patch":6,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.6 64-bit ('573': conda)"},"id":".python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723./opt/miniconda3/envs/573/bin/python./opt/miniconda3/envs/573/bin/python.Python 3.8.6 64-bit ('573': conda)"}
Info 2021-03-13 10:05:57: KernelProvider switched kernel to id = .python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723./opt/miniconda3/envs/573/bin/python./opt/miniconda3/envs/573/bin/python.Python 3.8.6 64-bit ('573': conda)}
Info 2021-03-13 10:05:57: Starting Notebook in kernel.ts id = .python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723./opt/miniconda3/envs/573/bin/python./opt/miniconda3/envs/573/bin/python.Python 3.8.6 64-bit ('573': conda)
Info 2021-03-13 10:05:57: Creating raw notebook for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb
Info 2021-03-13 10:05:57: Getting preferred kernel for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb
Info 2021-03-13 10:05:57: Computing working directory file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb
Info 2021-03-13 10:05:57: Connecting to raw session for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"/opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/opt/miniconda3/envs/573/bin/python","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723","argv":["/opt/miniconda3/envs/573/bin/python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"/opt/miniconda3/envs/573/bin/python","display_name":"Python 3.8.6 64-bit ('573': conda)"},"interpreter":{"sysPrefix":"/opt/miniconda3/envs/573","envType":"Conda","envName":"573","envPath":"/opt/miniconda3/envs/573","path":"/opt/miniconda3/envs/573/bin/python","architecture":3,"sysVersion":"3.8.6 | packaged by conda-forge | (default, Oct  7 2020, 18:42:56) \n[Clang 10.0.1 ]","version":{"raw":"3.8.6","major":3,"minor":8,"patch":6,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.6 64-bit ('573': conda)"},"id":".python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723./opt/miniconda3/envs/573/bin/python./opt/miniconda3/envs/573/bin/python.Python 3.8.6 64-bit ('573': conda)"}
Info 2021-03-13 10:05:57: Starting raw kernel Python 3.8.6 64-bit ('573': conda)
Info 2021-03-13 10:05:57: installMissingDependencies /opt/miniconda3/envs/573/bin/python
Info 2021-03-13 10:05:57: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-03-13 10:05:57: Creating daemon pool for /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 with env variables count 0
Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-03-13 10:05:57: Process Execution: > /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2021-03-13 10:06:00: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py pip list
Info 2021-03-13 10:06:00: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-13 10:06:00: Install Missing Dependencies, Class name = v, completed in 3635ms, has a falsy return value, Return Value: undefined
Info 2021-03-13 10:06:00: Kernel launching with ports 9026,9027,9028,9029,9030. Start port is 9000
Info 2021-03-13 10:06:00: Launching kernel daemon for Python 3.8.6 64-bit ('573': conda) # /opt/miniconda3/envs/573/bin/python
Info 2021-03-13 10:06:00: Fetching interpreter variables of Conda environment to be used as env vars of Kernel
Info 2021-03-13 10:06:03: Creating daemon process for /opt/miniconda3/envs/573/bin/python with env variables count 110
Info 2021-03-13 10:06:03: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-03-13 10:06:03: Got custom variables for Kernel owned by a conda interpreter
Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Execute rpc method exec_module in DS Daemon
Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Execute rpc method exec_module from /opt/miniconda3/envs/573/bin/python
Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Exec module in DS Kernel Launcher Daemon ipykernel_launcher with args ['--ip=<IP_ADDRESS>', '--stdin=9029', '--control=9027', '--hb=9026', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"29fd1c20-e428-427a-ab15-8805d05a9b49"', '--shell=9028', '--transport="tcp"', '--iopub=9030', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946lEvuOGc3Y2sf.json']
Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Exec in DS Kernel Launcher Daemon (observable) ipykernel_launcher with args ['--ip=<IP_ADDRESS>', '--stdin=9029', '--control=9027', '--hb=9026', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"29fd1c20-e428-427a-ab15-8805d05a9b49"', '--shell=9028', '--transport="tcp"', '--iopub=9030', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946lEvuOGc3Y2sf.json']
Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Exec in DS Kernel Launcher Daemon (observable) ['/opt/miniconda3/envs/573/bin/python', '-m', 'ipykernel_launcher', '--ip=<IP_ADDRESS>', '--stdin=9029', '--control=9027', '--hb=9026', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"29fd1c20-e428-427a-ab15-8805d05a9b49"', '--shell=9028', '--transport="tcp"', '--iopub=9030', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946lEvuOGc3Y2sf.json']
Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-03-13 10:06:03: Python Daemon (pid: 26442): Kernel launched, with PID 26443
Warn 2021-03-13 10:06:03: Python Daemon (pid: 26442): Waiting for Kernel to die 26443
Info 2021-03-13 10:06:03: Launching kernel daemon, Class name = h, completed in 2847ms, has a truthy return value, Arg 1: <Uri:/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb>, Arg 2: "/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor", Arg 3: {"specFile":"/opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/opt/miniconda3/envs/573/bin/python","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723","argv":["/opt/miniconda3/envs/573/bin/python","-m","ipykernel_launcher","--ip=<IP_ADDRESS>","--stdin=9029","--control=9027","--hb=9026","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"29fd1c20-e428-427a-ab15-8805d05a9b49\"","--shell=9028","--transport=\"tcp\"","--iopub=9030","--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946lEvuOGc3Y2sf.json"],"language":"python","path":"/opt/miniconda3/envs/573/bin/python","display_name":"Python 3.8.6 64-bit ('573': conda)"}, Arg 4: {"sysPrefix":"/opt/miniconda3/envs/573","envType":"Conda","envName":"573","envPath":"/opt/miniconda3/envs/573","path":"/opt/miniconda3/envs/573/bin/python","architecture":3,"sysVersion":"3.8.6 | packaged by conda-forge | (default, Oct  7 2020, 18:42:56) \n[Clang 10.0.1 ]","version":{"raw":"3.8.6","major":3,"minor":8,"patch":6,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.6 64-bit ('573': conda)"}, Return Value: <Return value cannot be serialized for logging>
Info 2021-03-13 10:06:03: Launching kernel in kernelProcess.ts, Class name = _, completed in 2848ms, has a truthy return value, Arg 1: "/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/opt/miniconda3/envs/573/bin/python","_handle":{"pid":26442},"spawnargs":["/opt/miniconda3/envs/573/bin/python","/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":26442,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":false,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":true,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":false,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":true,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]},"out":{"_isScalar":false,"observers":[],"closed":false,"isStopped":false,"hasError":false,"thrownError":null}}
Info 2021-03-13 10:06:04: KernelProcess output: Content-Length: 346
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\n", "pid": 26442}}Content-Length: 321
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\n"}}
Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-03-13 10:06:04: KernelProcess output: Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\n", "pid": 26442}}Content-Length: 90
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\n"}}Content-Length: 372
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b\"29fd1c20-e428-427a-ab15-8805d05a9b49\"'.\n", "pid": 26442}}Content-Length: 347
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b\"29fd1c20-e428-427a-ab15-8805d05a9b49\"'.\n"}}Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\n", "pid": 26442}}Content-Length: 90
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\n"}}
Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Warn 2021-03-13 10:06:04: StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr:   warn(

Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-03-13 10:06:04: StdErr from Kernel Process   warn(

Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b"29fd1c20-e428-427a-ab15-8805d05a9b49"'.

Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b"29fd1c20-e428-427a-ab15-8805d05a9b49"'.

Warn 2021-03-13 10:06:04: StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '29fd1c20-e428-427a-ab15-8805d05a9b49' instead of 'b"29fd1c20-e428-427a-ab15-8805d05a9b49"'.

Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr:   warn(

Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-03-13 10:06:04: StdErr from Kernel Process   warn(

Info 2021-03-13 10:06:04: KernelProcess output: Content-Length: 172
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: [IPKernelApp] WARNING | Unknown error in handling startup files:\n", "pid": 26442}}Content-Length: 147
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "[IPKernelApp] WARNING | Unknown error in handling startup files:\n"}}
Info 2021-03-13 10:06:04: Python Daemon (pid: 26442): write to stderr: [IPKernelApp] WARNING | Unknown error in handling startup files:

Warn 2021-03-13 10:06:04: Kernel 26442 as possibly died, StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files:

Warn 2021-03-13 10:06:04: StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files:

Info 2021-03-13 10:06:04: Raw session started and connected
Started kernel Python 3.8.6 64-bit ('573': conda)
Info 2021-03-13 10:06:04: Initial setup for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb starting ...
Info 2021-03-13 10:06:04: Kernel switching to busy
Info 2021-03-13 10:06:04: Kernel switching to idle
Info 2021-03-13 10:06:04: Starting raw kernel Python 3.8.6 64-bit ('573': conda)
Info 2021-03-13 10:06:04: installMissingDependencies /opt/miniconda3/envs/573/bin/python
Info 2021-03-13 10:06:04: Initialize matplotlib for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb
Info 2021-03-13 10:06:04: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py -c "import ipykernel"
Info 2021-03-13 10:06:04: Kernel switching to busy
Info 2021-03-13 10:06:04: Kernel switching to idle
Info 2021-03-13 10:06:04: Kernel switching to busy
Info 2021-03-13 10:06:04: Kernel switching to idle
Info 2021-03-13 10:06:04: Kernel switching to busy
Info 2021-03-13 10:06:04: Install Missing Dependencies, Class name = v, completed in 365ms, has a falsy return value, Return Value: undefined
Info 2021-03-13 10:06:04: Kernel launching with ports 9031,9032,9033,9034,9035. Start port is 9000
Info 2021-03-13 10:06:04: Launching kernel daemon for Python 3.8.6 64-bit ('573': conda) # /opt/miniconda3/envs/573/bin/python
Info 2021-03-13 10:06:04: Fetching interpreter variables of Conda environment to be used as env vars of Kernel
Info 2021-03-13 10:06:04: Creating daemon process for /opt/miniconda3/envs/573/bin/python with env variables count 110
Info 2021-03-13 10:06:04: Process Execution: > /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /opt/miniconda3/envs/573/bin/python ~/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-03-13 10:06:04: Kernel switching to idle
Info 2021-03-13 10:06:04: Run startup code for notebook: %load_ext autoreload
%autoreload 2
%config Completer.use_jedi = False - results: 1
Info 2021-03-13 10:06:04: Initial setup complete for file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb
Info 2021-03-13 10:06:04: Finished connecting facc286e-4b8b-4b62-8214-15ff303ca35f
Info 2021-03-13 10:06:04: Registering commtarget jupyter.widget
Info 2021-03-13 10:06:04: Waiting for idle on (kernel): 77db9e6f-a1bc-4960-8c7a-5cda36f06361 -> idle
Info 2021-03-13 10:06:04: Finished waiting for idle on (kernel): 77db9e6f-a1bc-4960-8c7a-5cda36f06361 -> idle
Info 2021-03-13 10:06:04: Got custom variables for Kernel owned by a conda interpreter
Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Execute rpc method exec_module in DS Daemon
Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Execute rpc method exec_module from /opt/miniconda3/envs/573/bin/python
Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Exec module in DS Kernel Launcher Daemon ipykernel_launcher with args ['--ip=<IP_ADDRESS>', '--stdin=9034', '--control=9032', '--hb=9031', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"5832651b-3371-4a62-8a32-66831f62ff1d"', '--shell=9033', '--transport="tcp"', '--iopub=9035', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946QDccD1UAlQL6.json']
Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Exec in DS Kernel Launcher Daemon (observable) ipykernel_launcher with args ['--ip=<IP_ADDRESS>', '--stdin=9034', '--control=9032', '--hb=9031', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"5832651b-3371-4a62-8a32-66831f62ff1d"', '--shell=9033', '--transport="tcp"', '--iopub=9035', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946QDccD1UAlQL6.json']
Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Exec in DS Kernel Launcher Daemon (observable) ['/opt/miniconda3/envs/573/bin/python', '-m', 'ipykernel_launcher', '--ip=<IP_ADDRESS>', '--stdin=9034', '--control=9032', '--hb=9031', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"5832651b-3371-4a62-8a32-66831f62ff1d"', '--shell=9033', '--transport="tcp"', '--iopub=9035', '--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946QDccD1UAlQL6.json']
Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-03-13 10:06:04: Python Daemon (pid: 26447): Kernel launched, with PID 26448
Warn 2021-03-13 10:06:04: Python Daemon (pid: 26447): Waiting for Kernel to die 26448
Info 2021-03-13 10:06:04: Launching kernel daemon, Class name = h, completed in 67ms, has a truthy return value, Arg 1: <Uri:/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb>, Arg 2: "/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor", Arg 3: {"specFile":"/opt/miniconda3/envs/573/share/jupyter/kernels/python3/kernel.json","interpreterPath":"/opt/miniconda3/envs/573/bin/python","name":"python386jvsc74a57bd08db205bf79eca74d47c73885a2e7c52a654cfb63f85b36bf0678de790f8f7723","argv":["/opt/miniconda3/envs/573/bin/python","-m","ipykernel_launcher","--ip=<IP_ADDRESS>","--stdin=9034","--control=9032","--hb=9031","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"5832651b-3371-4a62-8a32-66831f62ff1d\"","--shell=9033","--transport=\"tcp\"","--iopub=9035","--f=/var/folders/h3/zjctchbd6jb6vsgm_nq8fwnw0000gn/T/tmp-19946QDccD1UAlQL6.json"],"language":"python","path":"/opt/miniconda3/envs/573/bin/python","display_name":"Python 3.8.6 64-bit ('573': conda)"}, Arg 4: {"sysPrefix":"/opt/miniconda3/envs/573","envType":"Conda","envName":"573","envPath":"/opt/miniconda3/envs/573","path":"/opt/miniconda3/envs/573/bin/python","architecture":3,"sysVersion":"3.8.6 | packaged by conda-forge | (default, Oct  7 2020, 18:42:56) \n[Clang 10.0.1 ]","version":{"raw":"3.8.6","major":3,"minor":8,"patch":6,"build":[],"prerelease":[]},"companyDisplayName":"Anaconda, Inc.","displayName":"Python 3.8.6 64-bit ('573': conda)"}, Return Value: <Return value cannot be serialized for logging>
Info 2021-03-13 10:06:04: Launching kernel in kernelProcess.ts, Class name = _, completed in 67ms, has a truthy return value, Arg 1: "/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"/opt/miniconda3/envs/573/bin/python","_handle":{"pid":26447},"spawnargs":["/opt/miniconda3/envs/573/bin/python","/Users/Jayme/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.4.641214696/pythonFiles/pyvsc-run-isolated.py","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":26447,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":false,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":true,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":false,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":true,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"bufferedRequest":null,"lastBufferedRequest":null,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"bufferedRequestCount":0,"corkedRequestsFree":{"next":null,"entry":null}},"writable":false,"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]},"out":{"_isScalar":false,"observers":[],"closed":false,"isStopped":false,"hasError":false,"thrownError":null}}
Info 2021-03-13 10:06:05: KernelProcess output: Content-Length: 346
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\n", "pid": 26447}}
Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-03-13 10:06:05: KernelProcess output: Content-Length: 321
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\n"}}Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\n", "pid": 26447}}Content-Length: 90
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\n"}}Content-Length: 372
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b\"5832651b-3371-4a62-8a32-66831f62ff1d\"'.\n", "pid": 26447}}Content-Length: 347
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "/opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b\"5832651b-3371-4a62-8a32-66831f62ff1d\"'.\n"}}Content-Length: 115
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\n", "pid": 26447}}Content-Length: 90
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\n"}}
Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Warn 2021-03-13 10:06:05: StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr:   warn(

Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-03-13 10:06:05: StdErr from Kernel Process   warn(

Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr: /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b"5832651b-3371-4a62-8a32-66831f62ff1d"'.

Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b"5832651b-3371-4a62-8a32-66831f62ff1d"'.

Warn 2021-03-13 10:06:05: StdErr from Kernel Process /opt/miniconda3/envs/573/lib/python3.8/site-packages/traitlets/traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '5832651b-3371-4a62-8a32-66831f62ff1d' instead of 'b"5832651b-3371-4a62-8a32-66831f62ff1d"'.

Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr:   warn(

Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-03-13 10:06:05: StdErr from Kernel Process   warn(

Info 2021-03-13 10:06:05: KernelProcess output: Content-Length: 172
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: [IPKernelApp] WARNING | Unknown error in handling startup files:\n", "pid": 26447}}
Info 2021-03-13 10:06:05: Python Daemon (pid: 26447): write to stderr: [IPKernelApp] WARNING | Unknown error in handling startup files:

Info 2021-03-13 10:06:05: KernelProcess output: Content-Length: 147
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "[IPKernelApp] WARNING | Unknown error in handling startup files:\n"}}
Warn 2021-03-13 10:06:05: Kernel 26447 as possibly died, StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files:

Warn 2021-03-13 10:06:05: StdErr from Kernel Process [IPKernelApp] WARNING | Unknown error in handling startup files:

Info 2021-03-13 10:06:17: Execute Cell 0 vscode-notebook-cell:/Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb#ch0000066 in kernelWithMetadata.ts
Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. User queued cell for execution
Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. Update cell state as it was enqueued
Info 2021-03-13 10:06:17: Hooked up kernel restart handler
Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. Ready to execute
Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. Before Execute individual cell
Info 2021-03-13 10:06:17: Cell Index:0, state:2, exec: 1. Start execution
Info 2021-03-13 10:06:17: Cell Index:0, state:1, exec: undefined. Send code for execution
Info 2021-03-13 10:06:17: Cell Index:0, state:1, exec: undefined. Wait for jupyter execution
Info 2021-03-13 10:06:17: Cell Index:0, state:1, exec: undefined. Kernel switching to busy
Info 2021-03-13 10:06:17: Notebook Session status file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb # Busy
Info 2021-03-13 10:06:17: Cell Index:0, state:1, exec: undefined. Update execution count
Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Kernel switching to idle
Info 2021-03-13 10:06:19: Notebook Session status file:///Users/Jayme/OneDrive/MDS/542/DSCI_542_lab3_jaymegor/542_lab3_presentation.ipynb # Idle
Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Jupyter execution completed
Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Completed successfully
Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Update run duration
Info 2021-03-13 10:06:19: Cell Index:0, state:1, exec: 1. Update cell state 3 and message ''
Info 2021-03-13 10:06:19: Cell Index:0, state:3, exec: 1. Completed successfully & resolving
Info 2021-03-13 10:06:19: Cell Index:0, state:3, exec: 1. After Execute individual cell 3
Info 2021-03-13 10:06:19: Cell Index:0, state:3, exec: 1. Executed successfully in executeCell
Info 2021-03-13 10:06:19: Cell Index:0, state:3, exec: 1. Execution disposed

Hi @jaymegordo, does the issue persist if you change your language server in your JSON settings back to "Jedi" or "Microsoft"?

@claudiaregio after a very quick test of both, the issue immediately comes back with "Microsoft", but not with "Jedi".

@jaymegordo thanks for checking! Will have a dev look as soon as possible

@jaymegordo
Sorry you're experiencing this issue. I'd like to get this fixed for our next release.
However I'm struggling to replicate this issue.
Please could you provide some steps i can use to repro this at my end.
Thanks

From @chrisdias
I'm having similar issues... after working with a few cells, adding/removing code I end up with leftover errors that should be gone but they linger.

This with latest Jupyter/Plyance/Python extensions installed in an Ubuntu 20.04 image running on WSL:

@chrisdias I've been trying to replicate this at my end and have been unsuccessful,
Will keep trying.

@DonJayamanne I can reliably induce ghost diagnostics in the Problems pane by following these steps:

Create two cells with invalid code. Note the two diagnostics which are reported for each cell.

Delete the content of the first cell and note that the diagnostic correctly disappears.

Ctrl+Z to undo the deletion. The diagnostic correctly reappears.

Now join the two cells.

A third diagnostic appears, which suggests that the language server is unaware that the text document for the second cell has disappeared.

Close the document by clicking on the X in the document title tab. The diagnostics for that document continue to be reported in the Problems pane, which suggests that the language server is not notified that the document has been closed.

Found an even simpler repro, creating a cell with an error in it and then deleting it does not clear the diagnostic in the problems panel.

Not exactly sure the simplest way to repro this I could share a notebook maybe? What @joyceerhl has shown seems to be the same thing for sure.
here's another example, this type of thing still happens every time I use a notebook, and you can tell that the state of pylance is completely out of sync with the cells contents:

Hopefully will be fixed by https://github.com/microsoft/vscode-python/pull/16529

I think this is fixed now? At least there were bugs with markdown cells causing diagnostics to jump around.


Enable reopening SelectVideoModal if it was closed without having to re-enter the area

Previously SelectVideoModal did not pop up again if the user closed the modal (by pressing "X") and pressed space again.
This PR contains modifications to emit endInteraction when onClose of the modal is called

Thanks for the fix!


need a ui

need a ui for this awesomeness

Thanks for the input!   I have been using http://www.metabase.com/ and just MySQL console tools.  would love thoughts on what specific areas need a UI?   I have also been working on creating more support for traditional SQL CREATE statements for traditional sql schema management.

cool, could you provide a docker image for friendly try out?

Absolutely, I have some docker ready images, and have been converting all of the backend sources to support sql CREATE statements for on-the-fly registering backend sources.  Ill go through and update doc on home page to reflect more.
https://github.com/dataux/dataux/tree/master/backends/files


Wrong font shapes after \setmainfont

I think this is a bug, but I don't know if it is fontspec related or something is wrong with the fonts. Consider the following code. It typesets without problems. Upright text is upright, italic text is italic etc.
\documentclass{article}

\usepackage{fontspec}

%\setmainfont{GFS Artemisia}
\setmainfont{GFS Didot}

\begin{document}
    Regular text\\
    \textit{Italic text}\\
    \textbf{Bold text}\\
    \textbf{\textit{Bold Italic text}}
\end{document}

Now uncomment \setmainfont{GFS Artemisia} and recompile. At least on my computer, everything is typeset in Bold Italic GFS Didot! If you change GFS Artemisia with another font then everything is ok again...
I am on TeXLive 32 bit and I am using the OpenType fonts from here http://www.greekfontsociety.gr/pages/en_typefaces20th.html
XeTeX 3.1415926-2.2-0.9997.4 (TeX Live 2010)
kpathsea version 6.0.0
Compiled with ICU version 4.4 [with modifications for XeTeX]
Compiled with zlib version 1.2.3; using 1.2.3
Compiled with FreeType2 version 2.3.11; using 2.3.11
Compiled with fontconfig version 2.3.1; using 2.8.0
Compiled with libpng version 1.2.40; using 1.2.40
Compiled with xpdf version 3.02pl4

If you need any more info, I am at your disposal.
with regards,
Panos

Whatever this was, it's fixed.