DART takes too long to run

Environment info
Operating System: Ubuntu 16.04
GPU: nvidia 1060gt
C++/Python/R version: python 2.7
Hi guys. I am trying to use boosting DART on my problem, but, when I choose DART instead of gbdt, DART takes forever to run a single iteration. Is this a bug or am I doing something wrong?
My train_sample has 3000000 entries. I am using the data from this competition: https://www.kaggle.com/c/kkbox-music-recommendation-challenge
I did some feature engineering and I am not using categorical variables with many categories.
I am also using gpu support.
Thank you guys!
import numpy as np
from sklearn.feature_extraction import DictVectorizer
from sklearn.model_selection import train_test_split
from scipy.sparse import csr_matrix, hstack, find, save_npz, load_npz
import lightgbm as lgb
import gc
import scipy.stats as st
from sklearn.model_selection import RandomizedSearchCV, GridSearchCV, ParameterSampler, StratifiedKFold
from sklearn.metrics import roc_auc_score
import timeit
import pickle

one_to_left = st.beta(10, 1)
from_zero_positive = st.expon(0, 50)

params_dist = {
    "n_estimators": st.randint(3, 2000),
    "boosting": ['dart'],
    "feature_fraction": np.random.uniform(0, 1, 2000),
    "max_depth": st.randint(3, 16),
    "num_leaves": [2,4,8,16,32,64,128,256,512],
    "learning_rate": np.logspace(-4, -0.3, num=100),
    "colsample_bytree": one_to_left,
    "subsample": one_to_left,
    'reg_alpha': from_zero_positive,
    "min_child_weight": from_zero_positive,
    'metric':['auc'],
    'application':['binary'],
    'device':['gpu']
}

parameter_list = ParameterSampler(params_dist, n_iter=1)

kfold = StratifiedKFold(n_splits=3, shuffle=True, random_state=7)

def random_search(X, y, parameter_list, n_iters, kfold):
    results = []
    f = open('save_results.txt', "a", 0)
    for i in range(0, n_iters):
        print("Iteration: {}".format(i+1))
        print("------------------------------------------------------------------")
        params = list(parameter_list)[0]
        n_boost_rounds = params.pop("n_estimators")
        scores = []
        j=0
        for train_index, test_index in kfold.split(X, y):
            print("CV run number: {}".format(j+1))
            X_train, X_test = X.iloc[train_index], X.iloc[test_index]
            y_train, y_test = y[train_index], y[test_index]

            dstrain = lgb.Dataset(X_train, y_train)
            model = lgb.train(params, dstrain, num_boost_round=n_boost_rounds)

            y_pred = model.predict(X_test)
            scores.append(roc_auc_score(y_test, y_pred))
            j+=1
        params_score = params
        params_score['score'] = sum(scores)/float(kfold.n_splits)
        print("Score: {}".format(params_score['score']))
        print("\n")
        params_score['num_boost_rounds'] = n_boost_rounds
        results.append(params_score)
        f.write(str(params_score) + ',' + '\n')
    return results ```

res = random_search(X=train_sample, y=y_train_sample.values.reshape(train_sample.shape[0],), parameter_list=parameter_list, n_iters=125, kfold=kfold)

@up201007037 What happens if you use CPU?

It happens the same. Thank you.

you can limit max_drop to speed up

I will try, but I also ran DART with the defaults and I also took to long...

@up201007037 too long = how long more?
Note that DART requires to iterate through all (non dropped) trees everytime an iteration is done, because this is how DART works.

Like at least 50 times more... Which seems unusual to me... Thank you so much for your help.

did you try max_drop? the default is no limit. you also can try skip_drop as well

@up201007037 any updates ?

I will try this night. I did not have my desktop with me. Thank you so much

I tried max_drop=10 and it still takes too long to run a single iteration (CV with 3 folds) when compared to gbdt, is it supposed to?

Currently can't reproduce the issue:
library(lightgbm)
library(R.utils)

set.seed(11111)
x_data <- matrix(rnorm(n = 100000000, mean = 0, sd = 100), nrow = 1000000, ncol = 100)
y_data <- rnorm(n = 1000000, mean = 0, sd = 5)

data <- lgb.Dataset(x_data, label = y_data)
data$construct()

gc(verbose = FALSE)
Laurae::timer_func_print({gbm <- lgb.train(params = list(objective = "regression", boosting = "gbdt"),
                                           data = data,
                                           100,
                                           reset_data = TRUE)})

gc(verbose = FALSE)
Laurae::timer_func_print({gbm <- lgb.train(params = list(objective = "regression", boosting = "dart"),
                                           data = data,
                                           100,
                                           reset_data = TRUE)})

Results:
> gc(verbose = FALSE)
            used  (Mb) gc trigger   (Mb)  max used   (Mb)
Ncells   2268835 121.2    3886542  207.6   3886542  207.6
Vcells 104784990 799.5  244770190 1867.5 207913218 1586.3
> Laurae::timer_func_print({gbm <- lgb.train(params = list(objective = "regression", boosting = "gbdt"),
+                                            data = data,
+                                            100,
+                                            reset_data = TRUE)})
The function ran in 24560.953 milliseconds.
[1] 24560.95
>
> gc(verbose = FALSE)
            used  (Mb) gc trigger   (Mb)  max used   (Mb)
Ncells   2270385 121.3    3886542  207.6   3886542  207.6
Vcells 104821832 799.8  244770190 1867.5 207913218 1586.3
> Laurae::timer_func_print({gbm <- lgb.train(params = list(objective = "regression", boosting = "dart"),
+                                            data = data,
+                                            100,
+                                            reset_data = TRUE)})
The function ran in 28572.052 milliseconds.
[1] 28572.05

With 1000 iterations, still can't reproduce:
> gc(verbose = FALSE)
            used  (Mb) gc trigger   (Mb)  max used   (Mb)
Ncells   2270929 121.3    3886542  207.6   3886542  207.6
Vcells 104857642 800.1  244770190 1867.5 207913218 1586.3
> Laurae::timer_func_print({gbm <- lgb.train(params = list(objective = "regression", boosting = "gbdt"),
+                                            data = data,
+                                            1000,
+                                            reset_data = TRUE)})
The function ran in 194791.009 milliseconds.
[1] 194791
>
> gc(verbose = FALSE)
            used  (Mb) gc trigger   (Mb)  max used   (Mb)
Ncells   2270912 121.3    3886542  207.6   3886542  207.6
Vcells 104825199 799.8  244770190 1867.5 207913218 1586.3
> Laurae::timer_func_print({gbm <- lgb.train(params = list(objective = "regression", boosting = "dart"),
+                                            data = data,
+                                            1000,
+                                            reset_data = TRUE)})
The function ran in 739323.332 milliseconds.
[1] 739323.3

(if it takes that significantly longer, it is normal because it requires predicting at every iteration - the larger the number of iterations, the longer the time required for each further iterations)

So, with more iterations there is a huge gap. GBDT is always much faster, from what I understood.
Thank you very much!


Turn the AuthenticationChallengeResponsible protocol to async style

@CodiumAI-Agent /review

PR Review

 ⏱ Estimated effort to review [1-5]
3, because the PR involves changing synchronous methods to async, which requires understanding the async/await pattern in Swift, the URLSession delegate methods, and how they interact with the custom AuthenticationChallengeResponsible protocol. The changes are spread across multiple files and methods, requiring a careful review to ensure that the async conversion is correctly implemented and that there are no regressions in error handling or functionality.

 🧪 Relevant tests
No

 🔍 Possible issues

Possible Bug: The async conversion might introduce issues with how authentication challenges are handled, especially if there are multiple challenges in quick succession. Since async/await executes tasks sequentially, it could potentially delay the handling of subsequent challenges.

Thread Safety: The use of async/await with URLSession's delegate methods needs careful consideration regarding thread safety, especially since URLSession calls its delegate methods on a session-specific queue, which is not necessarily the main queue.
 🔒 Security concerns
No

 Code feedback:
relevant fileSources/Networking/AuthenticationChallengeResponsable.swift
suggestion

Consider adding error handling for the async methods. Since the async/await pattern can propagate errors, it would be beneficial to modify the protocol to support throwing functions. This way, any errors during the authentication challenge can be handled more gracefully. [important]

relevant line) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
relevant fileSources/Networking/ImageDownloader.swift
suggestion

Ensure that the async calls are awaited within a context that can handle the asynchronous execution properly, such as within an async method or a task block. This is crucial to prevent potential deadlocks or unhandled promises. [important]

relevant lineawait (self.authenticationChallengeResponder ?? self).downloader(self, didReceive: invoke.1)
relevant fileSources/Networking/SessionDelegate.swift
suggestion

Since the delegate methods are now async, ensure that all call sites of these delegate methods are updated to await the results properly. This might require changes in other parts of the codebase that were not included in the PR diff. [important]

relevant line) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
relevant fileSources/Networking/SessionDelegate.swift
suggestion

Review the usage of await in delegate methods to ensure that it does not introduce any unintended side effects, such as blocking the main thread or causing delays in processing authentication challenges. It might be beneficial to perform some operations concurrently or to use specific DispatchQueue to manage the execution. [medium]

relevant lineawait onReceiveSessionChallenge.callAsync((session, challenge)) ?? (.performDefaultHandling, nil)

 ✨ Review tool usage guide:
Overview:
The review tool scans the PR code changes, and generates a PR review. The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
When commenting, to edit configurations related to the review tool (pr_reviewer section), use the following template:
/review --pr_reviewer.some_config1=... --pr_reviewer.some_config2=...

With a configuration file, use the following template:
[pr_reviewer]
some_config1=...
some_config2=...

  Utilizing extra instructions
The review tool can be configured with extra instructions, which can be used to guide the model to a feedback tailored to the needs of your project.
Be specific, clear, and concise in the instructions. With extra instructions, you are the prompter. Specify the relevant sub-tool, and the relevant aspects of the PR that you want to emphasize.
Examples for extra instructions:
[pr_reviewer] # /review #
extra_instructions="""
In the 'possible issues' section, emphasize the following:
- Does the code logic cover relevant edge cases?
- Is the code logic clear and easy to understand?
- Is the code logic efficient?
...
"""

Use triple quotes to write multi-line instructions. Use bullet points to make the instructions more readable.

  How to enable\disable automation

When you first install PR-Agent app, the default mode for the review tool is:

pr_commands = ["/review", ...]

meaning the review tool will run automatically on every PR, with the default configuration.
Edit this field to enable/disable the tool, or to change the used configurations

  Auto-labels
The review tool can auto-generate two specific types of labels for a PR:

a possible security issue label, that detects possible security issues (enable_review_labels_security flag)
a Review effort [1-5]: x label, where x is the estimated effort to review the PR (enable_review_labels_effort flag)

  Extra sub-tools
The review tool provides a collection of possible feedbacks about a PR.
It is recommended to review the possible options, and choose the ones relevant for your use case.
Some of the feature that are disabled by default are quite useful, and should be considered for enabling. For example:
require_score_review, require_soc2_ticket, require_can_be_split_review, and more.

  Auto-approve PRs
By invoking:
/review auto_approve

The tool will automatically approve the PR, and add a comment with the approval.
To ensure safety, the auto-approval feature is disabled by default. To enable auto-approval, you need to actively set in a pre-defined configuration file the following:
[pr_reviewer]
enable_auto_approval = true

(this specific flag cannot be set with a command line argument, only in the configuration file, committed to the repository)
You can also enable auto-approval only if the PR meets certain requirements, such as that the estimated_review_effort is equal or below a certain threshold, by adjusting the flag:
[pr_reviewer]
maximal_review_effort = 5

  More PR-Agent commands

To invoke the PR-Agent, add a comment using one of the following commands:

/review: Request a review of your Pull Request.
/describe: Update the PR title and description based on the contents of the PR.
/improve [--extended]: Suggest code improvements. Extended mode provides a higher quality feedback.
/ask <QUESTION>: Ask a question about the PR.
/update_changelog: Update the changelog based on the PR's contents.
/add_docs 💎: Generate docstring for new components introduced in the PR.
/generate_labels 💎: Generate labels for the PR based on the PR's contents.
/analyze 💎: Automatically analyzes the PR, and presents changes walkthrough for each component.

See the tools guide for more details.
To list the possible configuration parameters, add a /config comment.

See the review usage page for a comprehensive guide on using this tool.


Mtreglia/cython setuptools module

Version 0.3.0
This Pr introduce the following upgrades:

Update README.md.
Honor black.
Refactored tests.
Added new cpp_std flag to specify the c++ standard version.
Refactored python package architecture to use a single version of
vendor.py as setup for the the required modules to build the bindings.
Removed CLI commands.
Added the original setup file argument to setup to pass the current
working directory.
Resolve config parser deprecations.
Migration from setup.py to pyproject.toml.
Added automatic git versioning system
Enhance tox.ini tests.
Added git-actions on pull request and push on master

Platform: [Unix, Darwin, Windows]
Python versions: [3.7, 3.8, 3.9, 3.10, 3.11]

Removed Makefile.
Removed travis.yml.

I'm not sure my review is relevant here, isn't it?


Increment version for textanalytics releases

Increment version for textanalytics releases

Can one of the admins verify this patch?


Edge cases when not using validation cause problems, and may potentially bring down server

There needs to be more investigation to see if this is the same thing, or two separate items that just happened to coincide (pretty much down to the minute, but you never know).
At the Hinxton meeting, there were two instances where Minerva became completely unresponsive, after a very brief period of slowing down (a minute or so, if that). On investigation, both times, all cores available on the machine were completely pegged; memory and i/o seemed to be fine. The condition seemed permanent both times and killing was necessary.
Okay, those are the facts. A lot of users were doing a lot of weird things, so the log was not of much use.
Okay, here's my theory about what happened, although this may be a different issue. The night before we had the problem, we turned the validator off so that people could use uniprot ids that were not in NEO. Later on, a user directly input "PPID" as the enabled_by entity for an annoton. Minerva apparently took it, but once it was on disk, was unable to re-read it from disk or perform any operations on it. E.g.:
      Error (error): Could not successfully handle batch
      request. Exception:
      org.semanticweb.owlapi.model.OWLRuntimeException. Prefix not
      registered for prefix name: :; your operation was likely not
      performed.

I can add the file as it was on disk if desired.
Anyways, working backwards for the second incident, /right/ after this happened, Minerva went nuts. My current belief is that some type of logic operation occurred right after this was input and the fact that it was "unreal" caused havoc.
I can give more details to @balhoff as needed.
I think a minimal fix would be that, even without validation, some kind of CURIE, not just a random string, is needed.

Yes, I think we need two fixes

making minerva robust to failed reads (it should definitely report this up the chain as a serious error, but it shouldn't crash)
even without validation switched on, it should be a valid IRI.

In theory 2 should not be an issue. It should be impossible at the OWLAPI level to make and save an invalid IRI. However, omn is probably not well tested for edge cases. All the more reason to push ahead with https://github.com/geneontology/noctua-models/issues/14

For 1, it does not crash on failed reads, but the failed read prevents getting meta-information for all models and (obviously) information/ops on the problem model. These are indeed reported, but it might be nice to capture these at the minerva end and clean them a bit, rather than just passing the raw error up--it tends to frighten users.

While what exactly was going on may never be know, I agree with @balhoff that this is likely an academic frustration now that #58 has been closed.


TypeError: Cannot convert object to primitive value

Using {} as a default value an argument of type GraphQL::Types::JSON gives the above error when inspecting a type:
module Types
  class MyType < Types::BaseObject
    field(
      :thing,
      String,
      null: true
    ) do
      argument(
        :arguments,
        GraphQL::Types::JSON,
        required: false,
        default_value: {}
    )
    end
  end
end

Using the Documentation Explorer, clicking on MyType makes GraphiQL error out so that it is just a blank screen with the above error in the console.
Functionally this works just fine so I believe it's to do with the serialization. If you point me to where this is I can open up a PR with a fix.

I'm not sure which language this is, but it seems you are using a tool or library that uses GraphiQL, and this support issue would be best addressed by the authors of your library.


Multiple contributions, detailed below.

Removed a few duplicate entries
Adjusted minor spacing issues
Added years on movie quotes that did not yet have years noted (exceptions: TV shows noted in the data)
Added 5 quotes to the list

@afhare thanks


Making docs tox target fail on untracked changes.

Checking if sphinx-apidoc generates new content and failing the script if the content is not checked in to version control.
Fixes #257.
@nathanielmanistaatgoogle I debated adding a tox target that would just generate the new content, but tox -e docs will still do this before failing, after which a user could then
$ git add docs/
$ tox -e docs  # This time it won't fail

@nathanielmanistaatgoogle If you want to see it in action you can check out https://github.com/dhermes/oauth2client/tree/fake-change and run tox -e docs.
If you already have the code checked out locally (from here)
$ git remote add dhermes https://github.com/dhermes/oauth2client/
$ git fetch dhermes
$ git branch fake-change dhermes/fake-change
$ git checkout fake-change
$ tox -e docs

(Merging; PyPy platform test failures are unrelated.)


Error importing thermo raw and mzml files

Basic information

My operating system:Windows 64bit
My MZmine version: 3.1

What happened
I can not  import Ms files (raw and Mzml) successfully. I add the picture of the error.but i successfully imported the file in version 2.53.The file conversion software used is MSConvert
Sincerely yours,
ZC

Please describe what happened and how it differs from what you expected to happen.
Please include all parameter values for the MZmine modules you used.
Please upload screenshots of any errors and your log/mzmine.log file.
Please upload an MZmine project file that demonstrates the problem you are reporting.

Hey ZC
Always good to try the latest msconvert or the thermorawfileparser.
At the same time, could you send (GDrive or similar) the raw and mzML file?

The theme raw file can be imported into mzmine version v2.53 normally, I add the Raw file of the erro

Hey ZC Always good to try the latest msconvert or the thermorawfileparser.
The theme raw file can be imported into mzmine version v2.53 successfully,but failed in v3.10
At the same time, could you send (GDrive or similar) the raw and mzML file?
The raw file is too big to upload,how can i sent the raw file to you.

Hey ZC Always good to try the latest msconvert or the thermorawfileparser.
The theme raw file can be imported into mzmine version v2.53 successfully,but failed in v3.10
At the same time, could you send (GDrive or similar) the raw and mzML file?
The raw file is too big to upload,how can i sent the raw file to you.

I cannot see your message it only shows a citation

The raw file is too big to upload, so, i only can show these pictures.

The theme raw file can be imported into mzmine version v2.53 successfully,but failed in v3.10

closing as this is a duplicate


Test on Cygwin?

Just kidding...

not really, look at:
http://en.gentoo-wiki.com/wiki/Prefix/Cygwin
https://github.com/gmt/gmt-cygwin-overlay


Update config to enable docfx v3

AB#294688
This Pull Request is for docfxv3 migration, after the Pull Request merged, the repository will be built with docfxv3 instead of docfxv2.

Docs Build status updates of commit f7c6ea9:
:warning: Validation status: warnings

File
Status
Preview URL
Details

SP-Framework/sp-core-library/servicekey.yml
:warning:Warning

Details

SP-Framework/sp-core-library/randomnumbergenerator.yml
:warning:Warning

Details

SP-Framework/decorators.yml
:warning:Warning

Details

SP-Framework/sp-component-base/ireadonlytheme.yml
:warning:Warning

Details

SP-Framework/sp-core-library/log.yml
:warning:Warning

Details

SP-Framework/sp-core-library/guid.yml
:warning:Warning

Details

SP-Framework/sp-core-library/timeprovider.yml
:warning:Warning

Details

SP-Framework/sp-core-library/servicescope.yml
:warning:Warning

Details

SP-Framework/sp-core-library/itimeprovider.yml
:warning:Warning

Details

SP-Framework/sp-dialog/dialog.yml
:warning:Warning

Details

SP-Framework/sp-core-library/version.yml
:warning:Warning

Details

SP-Framework/sp-dynamic-data/idynamicdatacallables.yml
:warning:Warning

Details

SP-Framework/sp-dialog/isecondarydialogprovider.yml
:warning:Warning

Details

SP-Framework/sp-http/aadtokenprovider.yml
:warning:Warning

Details

SP-Framework/sp-http/aadhttpclientconfiguration.yml
:warning:Warning

Details

SP-Framework/sp-core-library/iservicecollection.yml
:warning:Warning

Details

SP-Framework/sp-http/aadtokenproviderfactory.yml
:warning:Warning

Details

SP-Framework/sp-http/digestcache.yml
:warning:Warning

Details

SP-Framework/sp-dynamic-data/idynamicdatasource.yml
:warning:Warning

Details

SP-Framework/sp-http/ihttpclientoptions.yml
:warning:Warning

Details

SP-Framework/sp-http/aadhttpclient.yml
:warning:Warning

Details

SP-Framework/sp-http/aadhttpclientfactory.yml
:warning:Warning

Details

SP-Framework/sp-http/httpclient.yml
:warning:Warning

Details

SP-Framework/sp-http/ihttpclientconfigurations.yml
:warning:Warning

Details

SP-Framework/sp-http/iaadhttpclientconfigurations.yml
:warning:Warning

Details

SP-Framework/sp-http/httpclientconfiguration.yml
:warning:Warning

Details

SP-Framework/sp-http/msgraphclient.yml
:warning:Warning

Details

SP-Framework/sp-http/isphttpclientconfigurations.yml
:warning:Warning

Details

SP-Framework/sp-http/sphttpclientcommonconfiguration.yml
:warning:Warning

Details

SP-Framework/sp-http/odataversion.yml
:warning:Warning

Details

SP-Framework/sp-http/httpclientresponse.yml
:warning:Warning

Details

SP-Framework/sp-http/idigestcache.yml
:warning:Warning

Details

SP-Framework/sp-dialog/basedialog.yml
:warning:Warning

Details

SP-Framework/sp-http/isphttpclientconfiguration.yml
:warning:Warning

Details

SP-Framework/sp-http/isphttpclientbatchconfigurations.yml
:warning:Warning

Details

SP-Framework/sp-http/sphttpclientresponse.yml
:warning:Warning

Details

SP-Framework/sp-http/iaadtokenprovider.yml
:warning:Warning

Details

SP-Framework/sp-http/msgraphclientfactory.yml
:warning:Warning

Details

SP-Framework/sp-listview-extensibility/selectedrowschangedeventargs.yml
:warning:Warning

Details

SP-Framework/sp-core-library/session.yml
:warning:Warning

Details

SP-Framework/sp-list-subscription/listsubscriptionfactory.yml
:warning:Warning

Details

SP-Framework/sp-http/sphttpclient.yml
:warning:Warning

Details

SP-Framework/sp-http/sphttpclientbatch.yml
:warning:Warning

Details

SP-Framework/sp-listview-extensibility/listviewaccessor.yml
:warning:Warning

Details

SP-Framework/sp-module-interfaces/iclientsidewebpartmanifest.yml
:warning:Warning

Details

SP-Framework/sp-http/graphhttpclient.yml
:warning:Warning

Details

SP-Framework/sp-component-base/dynamicdataprovider.yml
:warning:Warning

Details

SP-Framework/sp-page-context/spsite.yml
:warning:Warning

Details

SP-Framework/sp-listview-extensibility/fieldcustomizercontext.yml
:warning:Warning

Details

SP-Framework/sp-component-base/basecomponent.yml
:warning:Warning

Details

This comment lists only the first 50 files in the pull request.

SP-Framework/sp-core-library/servicekey.yml

Line 6, Column 67: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!ServiceScope'.
Line 31, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!ServiceCreator:type'.
Line 65, Column 69: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!ServiceKey'.
Line 107, Column 28: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 111, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 135, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!ServiceCreator:type'.
Line 139, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.

SP-Framework/sp-core-library/randomnumbergenerator.yml

Line 28, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 41, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.

SP-Framework/decorators.yml

Line 11, Column 14: [Warning-xref-not-found] Cross reference not found: '@microsoft/decorators'.
Line 28, Column 17: [Warning-xref-not-found] Cross reference not found: '!Object:interface'.
Line 34, Column 17: [Warning-xref-not-found] Cross reference not found: '!TypedPropertyDescriptor:interface'.
Line 40, Column 14: [Warning-xref-not-found] Cross reference not found: '@microsoft/decorators'.
Line 54, Column 17: [Warning-xref-not-found] Cross reference not found: '!Function:interface'.
Line 60, Column 14: [Warning-xref-not-found] Cross reference not found: '@microsoft/decorators'.
Line 78, Column 17: [Warning-xref-not-found] Cross reference not found: '!Object:interface'.
Line 84, Column 17: [Warning-xref-not-found] Cross reference not found: '!TypedPropertyDescriptor:interface'.

SP-Framework/sp-component-base/ireadonlytheme.yml

Line 23, Column 15: [Warning-xref-not-found] Cross reference not found: '!Readonly:type'.
Line 38, Column 15: [Warning-xref-not-found] Cross reference not found: '!Readonly:type'.
Line 52, Column 15: [Warning-xref-not-found] Cross reference not found: '!Readonly:type'.
Line 55, Column 10: [Warning-xref-not-found] Cross reference not found: '!Readonly:type'.

SP-Framework/sp-core-library/log.yml

Line 37, Column 17: [Warning-xref-not-found] Cross reference not found: '!Error:interface'.
Line 43, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 77, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 113, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 147, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.

SP-Framework/sp-core-library/guid.yml

Line 33, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 48, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 93, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 121, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 165, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.

SP-Framework/sp-core-library/timeprovider.yml

Line 28, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 41, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 56, Column 15: [Warning-xref-not-found] Cross reference not found: '!Date:interface'.

SP-Framework/sp-core-library/servicescope.yml

Line 81, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 102, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 125, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 129, Column 28: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 151, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 195, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 214, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 235, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 250, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 256, Column 45: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!ServiceScope'.

SP-Framework/sp-core-library/itimeprovider.yml

Line 31, Column 15: [Warning-xref-not-found] Cross reference not found: '!Date:interface'.

SP-Framework/sp-dialog/dialog.yml

Line 37, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 66, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-core-library/version.yml

Line 92, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 95, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 124, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 151, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 198, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 219, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 256, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 297, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.

SP-Framework/sp-dynamic-data/idynamicdatacallables.yml

Line 35, Column 15: [Warning-xref-not-found] Cross reference not found: '!ReadonlyArray:interface'.
Line 79, Column 15: [Warning-xref-not-found] Cross reference not found: '!ReadonlyArray:interface'.

SP-Framework/sp-dialog/isecondarydialogprovider.yml

Line 11, Column 5: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-dialog!BaseDialog'.
Line 49, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 76, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 82, Column 25: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-dialog!BaseDialog'.
Line 96, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-dialog!default:class'.
Line 104, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-http/aadtokenprovider.yml

Line 67, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-http/aadhttpclientconfiguration.yml

Line 80, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 82, Column 10: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-core-library/iservicecollection.yml

Line 26, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.

SP-Framework/sp-http/aadtokenproviderfactory.yml

Line 23, Column 77: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 40, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 40, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/digestcache.yml

Line 148, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-dynamic-data/idynamicdatasource.yml

Line 61, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 61, Column 48: [Warning-xref-not-found] Cross reference not found: '!ReadonlyArray:interface'.
Line 117, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 139, Column 15: [Warning-xref-not-found] Cross reference not found: '!ReadonlyArray:interface'.
Line 160, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 160, Column 48: [Warning-xref-not-found] Cross reference not found: '!ReadonlyArray:interface'.
Line 206, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-http/ihttpclientoptions.yml

Line 14, Column 10: [Warning-xref-not-found] Cross reference not found: '!RequestInit:interface'.

SP-Framework/sp-http/aadhttpclient.yml

Line 85, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 90, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 90, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 114, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 119, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 119, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 143, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 148, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 148, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/aadhttpclientfactory.yml

Line 29, Column 77: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 50, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 50, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/httpclient.yml

Line 56, Column 77: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 84, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 89, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 89, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 92, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.
Line 119, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 124, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 124, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 127, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.
Line 154, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 159, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 159, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 162, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.

SP-Framework/sp-http/ihttpclientconfigurations.yml

Line 32, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/iaadhttpclientconfigurations.yml

Line 32, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/httpclientconfiguration.yml

Line 89, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/msgraphclient.yml

Line 52, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/microsoft-graph-client!Options:interface'.
Line 54, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!IGraphRequest:interface'.

SP-Framework/sp-http/isphttpclientconfigurations.yml

Line 35, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/sphttpclientcommonconfiguration.yml

Line 145, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 147, Column 10: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/odataversion.yml

Line 25, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 37, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 68, Column 17: [Warning-xref-not-found] Cross reference not found: '!Headers:interface'.
Line 70, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/httpclientresponse.yml

Line 46, Column 15: [Warning-xref-not-found] Cross reference not found: '!Headers:interface'.
Line 58, Column 15: [Warning-xref-not-found] Cross reference not found: '!Response:interface'.
Line 114, Column 15: [Warning-xref-not-found] Cross reference not found: '!ResponseType:type'.
Line 143, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 143, Column 48: [Warning-xref-not-found] Cross reference not found: '!ArrayBuffer:interface'.
Line 160, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 160, Column 48: [Warning-xref-not-found] Cross reference not found: '!Blob:interface'.
Line 175, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 190, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 190, Column 48: [Warning-xref-not-found] Cross reference not found: '!FormData:interface'.
Line 207, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 222, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-http/idigestcache.yml

Line 118, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-dialog/basedialog.yml

Line 75, Column 18: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-dialog!BaseDialog'.
Line 84, Column 15: [Warning-xref-not-found] Cross reference not found: '!HTMLElement:interface'.
Line 166, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 208, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 259, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-http/isphttpclientconfiguration.yml

Line 30, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/isphttpclientbatchconfigurations.yml

Line 32, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/sphttpclientresponse.yml

Line 30, Column 17: [Warning-xref-not-found] Cross reference not found: '!Response:interface'.
Line 62, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 64, Column 10: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-http/iaadtokenprovider.yml

Line 65, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-http/msgraphclientfactory.yml

Line 28, Column 77: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 45, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 45, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.

SP-Framework/sp-listview-extensibility/selectedrowschangedeventargs.yml

Line 26, Column 15: [Warning-xref-not-found] Cross reference not found: '!ReadonlyArray:interface'.

SP-Framework/sp-core-library/session.yml

Line 32, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.
Line 64, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-core-library!default:class'.

SP-Framework/sp-list-subscription/listsubscriptionfactory.yml

Line 50, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.

SP-Framework/sp-http/sphttpclient.yml

Line 62, Column 77: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 88, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 141, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 146, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 146, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 149, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.
Line 176, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 181, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 181, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 184, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.
Line 242, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 247, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 247, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 250, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.

SP-Framework/sp-http/sphttpclientbatch.yml

Line 55, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 55, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 99, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 106, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 106, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 109, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.
Line 137, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 144, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 144, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 147, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.
Line 175, Column 17: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 182, Column 15: [Warning-xref-not-found] Cross reference not found: '!Promise:class'.
Line 182, Column 48: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!default:class'.
Line 185, Column 114: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-http!HttpClientResponse'.

SP-Framework/sp-listview-extensibility/listviewaccessor.yml

Line 26, Column 15: [Warning-xref-not-found] Cross reference not found: '!ReadonlyArray:interface'.

SP-Framework/sp-module-interfaces/iclientsidewebpartmanifest.yml

Line 163, Column 15: [Warning-xref-not-found] Cross reference not found: '!Array:interface'.

SP-Framework/sp-http/graphhttpclient.yml

Line 4, Column 10: [Warning-xref-not-found] Cross reference not found: 'sp-http'.
Line 12, Column 44: [Warning-xref-not-found] Cross reference not found: 'sp-http.SPHttpClient'.
Line 12, Column 157: [Warning-xref-not-found] Cross reference not found: 'sp-http.HttpClient'.
Line 25, Column 14: [Warning-xref-not-found] Cross reference not found: 'sp-http'.
Line 43, Column 14: [Warning-xref-not-found] Cross reference not found: 'sp-http'.
Line 58, Column 14: [Warning-xref-not-found] Cross reference not found: 'sp-http'.
Line 72, Column 14: [Warning-xref-not-found] Cross reference not found: 'sp-http'.
Line 113, Column 14: [Warning-xref-not-found] Cross reference not found: 'sp-http'.
Line 142, Column 14: [Warning-xref-not-found] Cross reference not found: 'sp-http'.

SP-Framework/sp-component-base/dynamicdataprovider.yml

Line 52, Column 15: [Warning-xref-not-found] Cross reference not found: '!ReadonlyArray:interface'.

SP-Framework/sp-page-context/spsite.yml

Line 82, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-page-context!default:class'.

SP-Framework/sp-listview-extensibility/fieldcustomizercontext.yml

Line 49, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-listview-extensibility!~ListViewAccessor:class'.

SP-Framework/sp-component-base/basecomponent.yml

Line 53, Column 15: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-component-base!~BaseComponentContext:class'.
Line 105, Column 228: [Warning-xref-not-found] Cross reference not found: '@microsoft/sp-component-base!BaseComponent'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Python: Iteration Plan for May 2024 [DRAFT]

This plan captures our work on the Python Extension in May 2024. We follow the same iteration cycle as VS Code. Although we plan for a whole iteration, we may not only ship at the end of an iteration but throughout.

Legend of annotations

Mark
Description

🏃♀
work in progress

✋
blocked task

💪
stretch goal for this iteration

🔴
missing issue reference

🔵
more investigation required to remove uncertainty

⚫
under discussion within the team

⬛
a large work item, larger than one iteration

Getting started

[ ] 🏃♀ Investigate creating template repos for various project types; issue; @cwebster-99

Environments

[ ] 🏃♀ ⬛ Implement Environments view UI (aka Don's environment extension); issue; @karthiknadig

[ ] 🏃♀ Native locator for globally installed python and virtual environments; issue; @karthiknadig @DonJayamanne

[ ] Gather feedback on environments panel UI; issue; @cwebster-99 @karthiknadig
[ ] 💪 Formalize Python project/packages structure and content for opinionated flow; issue; @cwebster-99 @karthiknadig

Editing
N/A
Terminal

[ ] 💪 Add other shell types to core; issue; @anthonykim1

REPL

[x] 🏃♀ Spike to find common ground between Python REPL and IW; issue; @anthonykim1 @amunger
[ ] 🏃♀ built-in Python REPL implementation issue @anthonykim1 @amunger

Debugging

[ ] ✋ 🏃♀ Improve "Run and debug" button support; issue; @paulacamargo25
[ ] 🔴 Investigate a debug terminal with shell integration; @paulacamargo25
[ ] 🔴 Investigate dynamically detecting production, staging, and development configurations for Django; @paulacamargo25

Testing

[ ] 🏃♀ Address pytest dicovery failure with ENOENT; issue @eleanorjboyd
[ ] 🏃♀ Dynamically handle test framework on activation; issue; @eleanorjboyd
[ ] 🏃♀ Plan custom args user study; issue; @eleanorjboyd @cwebster-99 @paulacamargo25

vscode.dev
N/A
Documentation
N/A
API
N/A
Engineering
N/A
Python community

[ ] 🏃♀ PyCon US planning; @dawnwages
[ ] Prepare for PyCon LSP booth presentation; @karthiknadig

Deferred Items

[ ] 💪 Unify Python REPL triggers; issue; @anthonykim1
[ ] 🔵🏃♀ Adopt proposed API for testing coverage feature; issue; @eleanorjboyd
[ ] Investigate contributing a callout for automatic configuration in Debug Start View; issue; @paulacamargo25
[ ] 💪 Start refactoring code for custom args; issue; @eleanorjboyd
[ ] 🏃♀ ⬛ Implement a dependency resolver with a customizable API; @brettcannon
[ ] 🏃 Add launch support for test discovery and execution in settings.json; issue @eleanorjboyd
[ ] Implement a Python traceback problem matcher in core
[ ] ✋ 🔴 Use conda run when debugging (waiting on the conda team to give us the go-ahead to rely on conda run so fundamentally); @paulacamargo25
[ ] Investigate how we configure running and debugging
[ ] ✋ Write web tests; issue; @karthiknadig
[ ] Unify venvPath and venvFolders; issue
[ ] 🔴 💪 Investigate a contribution point for workflow extensions; @karthiknadig

Verify syntactic tokenization.


Apache kylin support

I could use the generic JDBC for apache kylin.
But it is possible to provide an apache kilyn connector,

Thank you for the future request!

https://mvnrepository.com/artifact/org.apache.kylin/kylin-jdbc

Apache Kylin driver was added. Besides Kylin JDBC artifact it also requires XML Bind library (which is no longer a part of JDK)


[GOBBLIN-1737] Fix bug when using mysql user quota manager

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1737

Description

[ ] Here are some details about my PR, including screenshots (if applicable):
Change the way we get config to to consistent with other mysql store
Only check quota in compiler when the flow compile successful and explain flag is not set
Change the way we initialize the quota Manager.

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Deploy locally and verify the mysql quota manager works as expected

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3595 (b4d8408) into master (4d991a9) will decrease coverage by 3.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3595      +/-   ##
============================================
- Coverage     46.88%   43.80%   -3.09%
+ Complexity    10672     2060    -8612
============================================
  Files          2120      408    -1712
  Lines         83064    17618   -65446
  Branches       9250     2153    -7097
============================================
- Hits          38942     7717   -31225
+ Misses        40554     9042   -31512
+ Partials       3568      859    -2709

Impacted Files
Coverage Δ

...ervice/modules/core/GobblinServiceGuiceModule.java

...ervice/modules/flow/BaseFlowToJobSpecCompiler.java

...blin/service/modules/orchestration/DagManager.java

...e/modules/orchestration/MysqlUserQuotaManager.java

...he/gobblin/converter/avro/AvroToJsonConverter.java

.../gobblin/source/DatePartitionedJsonFileSource.java

...apache/gobblin/metrics/event/MultiTimingEvent.java

...in/source/extractor/exception/SchemaException.java

...bblin/compaction/mapreduce/orc/OrcValueMapper.java

...n/runtime/scheduler/ImmediateJobSpecScheduler.java

... and 1702 more

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


General slowness and failure to install the latest version on kubernetes

Hi everyone, I'm having problems installing the latest kasparov version on kubernetes, it turns out that the kasparov operator isn't working invalid tar header: unknown
The operator would deploy but when i try to deploy manageIQ pods that error is on all of the pods
I then proceeded to install the Jansa version, and it works.
The problem now is that it is very slow in operations, manageIQ has been connected to a vCenter with about 800 vms, I thought it was the vCenter with the API that was slow but even when loading pages that do not transmit data to the vCenter manageIQ is still slow
We have 1200 iops
Can you tell me how to speed up and fix the version problem?
If you need more information, I am available, thanks in advance

latest-kasparov and kasparov-1 operators look okay to me.
podman run -it --rm docker.io/manageiq/manageiq-operator:latest-kasparov
{"level":"info","ts":1620227496.7633226,"logger":"cmd","msg":"Operator Version: 0.0.1"}
{"level":"info","ts":1620227496.763349,"logger":"cmd","msg":"Go Version: go1.16"}
{"level":"info","ts":1620227496.7633555,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1620227496.7633638,"logger":"cmd","msg":"Version of operator-sdk: v0.15.1"}
{"level":"error","ts":1620227496.7633758,"logger":"cmd","msg":"Failed to get watch namespace","error":"WATCH_NAMESPACE must be set","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nmain.main\n\tmanageiq-operator/cmd/manager/main.go:74\nruntime.main\n\t/opt/go/src/runtime/proc.go:225"}

Is this podified or monolithic?
Please re-open with more information (deployment steps, image tag / sha, logs, etc.) if this problem persists.

Hi guys,
I'm here to re-open this issue, I have already this problem, this is the error for the latest operator (screen attached)
The strange case is that jansa is working... My cluster k8s is at version: 1.21.1_1519 and the nodes: 1.21.1_1520
When i use latest-kasparov the operator is deployed but when I trying to deploy manageIQ it fail with similar error:
Failed to pull image “manageiq/manageiq-orchestrator:latest-kasparov”: rpc error: code = Unknown desc = failed to pull and unpack image “docker.io/manageiq/manageiq-orchestrator:latest-kasparov”: failed to extract layer sha256:476579af086aee78cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9: mount callback failed on /var/data/cripersistentstorage/tmpmounts/containerd-mount333866259: archive/tar: invalid tar header: unknown
Guys please help me, i don't understand where the problem is...

I'm able to pull latest, is your podman/docker client up to date?
$ podman pull docker.io/manageiq/manageiq:latest
Trying to pull docker.io/manageiq/manageiq:latest...

I think yes... I am using a kubernetes cluster on IBM cloud with 3 nodes, I think it is up to date anyway, if you know tell me how to verify I will confirm

Failed to pull image “manageiq/manageiq-orchestrator:latest-kasparov”: rpc error: code = Unknown desc = failed to pull and unpack image “docker.io/manageiq/manageiq-orchestrator:latest-kasparov”: failed to extract layer sha256:476579af086aee78cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9: mount callback failed on /var/data/cripersistentstorage/tmpmounts/containerd-mount333866259: archive/tar: invalid tar header: unknown

Now that is interesting. When me and my colleagues try to do a podman push to quay.io, we get:
"Getting image source signatures
Error: trying to reuse blob sha256:476579af086aee78cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9 at destination: Requesting bearer token: invalid status code from registry 400 (Bad Request)
"
Which has exactly the same SHA256 hash. So must be some deep error in how container images are being packaged.


Using localhost with docker-compose for macs and windows machines

localhost docker-compose files

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 57.391%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3269

Relevant Lines:
5696

💛  - Coveralls


non-sudo install script

We don't want to prompt for sudo especially since we are piping a script from curl. This script will list out the manual commands needed if the user does NOT have access to run the script directly

Definitely an improvement, but why /usr/local/bin? Personally, I'd rather test for a few of the most popular shell setting locations (~/.bash_profile), add an element to the path at the bottom (~/bin/okta) and not have to worry about /usr/local/bin.


JAMES-2182 Sharing for IMAP

My second shot ever at this.
First a BIG refactoring centralizes the definition of path <-> name convertion into the IMAP layer (pre-requisite) and
provide a generic strategy that could be allowed to be overloaded (PathConverter + Namespace supplier).
A second part of this work is about exposing other users folder shared with the user into a #user folder.
Remaining work:

Polishing the few TODOs
More test with sharee interacting with delgated mailboxes in IMAP
Test it with real life IMAP client to ensure this works as intended.

I am happy, in 1 day coding it got quite far, though details needs to be addressed and more tests needs to be produced.

Edit: evening coding session, most spotted bugs and a few others are out of the way but extensive testing will be required.

Any more reviews for this or I can proceed with the merge?


Can't Get Patch to Upload, But Objects Are Supported

I was trying to adjust this patch:
http://www.pd-tutorial.com/english/patches/3-7-1-1-granular-theory5.pd
for use in heavy, but cannot upload it.  I tried abstracting the tables, as per the pattern shown in this solution:
https://github.com/ylevtov/Heavy-Unity-Sample-Loading
but that didn't work either.  Attaching a zip of my patch
granularHeavy.zip

Hi @8ude,
Actually that original patch you linked uploads ok to heavy.
Your granular patch generates the following errors:
[r playback @hv_param 0 0 1000] in "_main.pd" @ (x:42, y:297): Default parameter value is greater than the maximum. Receiver will not be exported: 1000 > 0
[r freqone @hv_param 0 0 1000] in "_main.pd" @ (x:294, y:208): Default parameter value is greater than the maximum. Receiver will not be exported: 1000 > 0
[r gain @hv_param 0 0 1] in "_main.pd" @ (x:117, y:685): Default parameter value is greater than the maximum. Receiver will not be exported: 1 > 0
Did you see those?

@hv_param format is min max default

Thanks for the quick reply.  Still can't get the original patch to upload, but a revised version of my modification uploaded/compiled fine (attaching for posterity)
granularHeavy.zip
Could it be an issue with using tables that are already populated?

There is an upload limit of 1MB.
What error are you seeing?
The patch you included does have any table reference in _main.pd

Very sorry for the delay - I think my response was a little vague.  The patch at
http://www.pd-tutorial.com/english/patches/3-7-1-1-granular-theory5.pd gives me a standard "We failed to process the uploaded patch. Verify that you are only using supported objects..." error when I try to upload it.
I was wondering what the possible issue is with this patch, so I know to watch out for it in the future.  If it uploaded fine for you, then maybe it's a browser/system issue (using a 2015 macbook with chrome), and you can mark this closed.


Map using local services & basemap

In the code you used ‘esri/arcgis/utils’ to create map (https://developers.arcgis.com/javascript/3/jsapi/esri.arcgis.utils-amd.html). Is it possible to create map using “Map” object  https://developers.arcgis.com/javascript/3/jsapi/map-amd.html” so that base map and other layers are from local server instead of Esri server.
I want to use local published services.

Of course.
First, it's possible to create a web map that points to local services and then save that web map to your own portal or ArcGIS Online. You could do that and not have to change any code here.
Alternatively, f you wanted to create a map using new Map(...), you'd just need to include the modules for the map and whatever layer types you're going to use in the call to esriSystem.register() in index.html. For example:
    esriSystem.register([
      'esri/map',
      'esri/layers/FeatureLayer',
      'esri/basemaps',
      'esri/dijit/Legend',
      'esri/dijit/Search'
    ], function () {
      // then bootstrap application
      System.import('app/boot')
        .then(null, console.error.bind(console));
    }, {
      moduleNameOverrides: {
        'esri/map': 'Map',
        'esri/basemaps': 'esriBasemaps'
      }
    });

and then in your .ts code:
import { Map, FeatureLayer, esriBasemaps, Legend, Search } from 'esri';

Closing this assuming the above worked for you. If not, you can re-open.


IPv6 const should be type IPFamily

This causes unnecessary conversions between
string and IPFamily when using IPv4 and
IPv6.
Signed-off-by: Tyler Lloyd<EMAIL_ADDRESS>
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Consistency between IPv4 and IPv6 IP family types.
Which issue(s) this PR fixes:

I see the change is failing the apidiff test I assume as a breaking change. I think this change, while potentially breaking in some cases, is welcome since if you're dealing with net.IPv6 and net.IPv4 then there is some awkward conversion happening somewhere since one could be used as an IPFamily type and the other a string.


Sinkclose not working on Ryzen 7000

Thank you for publishing the poc for sinkclose!
I'm currently trying it on my Ryzen Desktop (7950x) but as far as I can tell it immediately triple faults (I assume), the system has not been updated and the two TSeg mask bits are writable.
Do you have any idea what might be the cause of this?
Thank you!

Ok one of the issues was that the second core was set to 1 but my system has 16 cores, so the thread-sibling is core 16, not 1. But even with this change it still doesn't work.... I also manually verified the SMM_BASE of those threads and the offsets are correct.

Another issue is that on my Linux system, I assume on other systems as well the memory from 0x1000 is used
00000000-00000fff : Reserved
00001000-0009efff : System RAM

and its mapped in a way that the additional mappings from the exploit code fail because the cache attributes are contradictory.
This results in no data being written to 0x1000-0x3ffff and the exploit fails but even after fixing this the exploit is still not running....

Testing on specific models is not something we can do unfortunately.. I'm pretty sure there should be a way to overcome the problems of the specific platform you have though. The first step is having some sort of debugging environment as the one discussed in the presentation, so you can see how far you're executing in the exploit. Another issue that could be is 5 level paging, you can see in the exploit we're assuming 4 levels only.
Anyhow, we're not planning to provide additional support for other models or platforms. The exploit code is provided as is. What we're going to do though is update a readme with the list of tested platforms where we're 100% sure it works.

I figured it out in the meantime, I think the NASM size directives are also wrong and that's a reason it's not working on Linux. I will do some cleanup and create a pull request with a simplified exploit using only one core.

The code compiles and works from both Windows and Linux... NASM must be installed obviously but the directives are fine otherwise. I look forward for the pull request using a single core.

What we're going to do though is update a readme with the list of tested platforms where we're 100% sure it works.

Chiming in to just say that that would be greatly appreciated, thanks!

I have my dev repository here for anyone who wants to take a look https://github.com/benschlueter/platbox_fork
Hopefully, I'll find time over the weekend to create a clean pull request.


Google Surveys - Welcome

https://surveys.google.com/warm-welcome?dest=%2Fyour-surveys

https://github.com/microsoft/vscode/issues/155435


beakerx.showProgressUpdate() from background thread

When calling beakerx.showProgressUpdate() from a background thread, a NullPointerException is raised.
Cause is SimpleEvaluationObject being looked up using a ThreadLocal:
https://github.com/twosigma/beakerx/blob/de1aee046a6a7ccb7064b418f56730b11ed11c35/kernel/base/src/main/java/com/twosigma/beakerx/NamespaceClient.java#L58-L61
https://github.com/twosigma/beakerx/blob/de1aee046a6a7ccb7064b418f56730b11ed11c35/kernel/base/src/main/java/com/twosigma/beakerx/evaluator/InternalVariable.java#L34
Being able to call showProgressUpdate() from other threads is very useful in notebooks that parallel process over large datasets and wish to report progress.

Hi Joe thanks for the feedback.  Will have think about how to fix this, something like ThreadGroupLocal (except it doesn't exist).

I've worked around it for the moment by having background threads write to an AtomicInteger and the foreground thread regularly poll that and report progress.
One thought is would it be possible to make InternalVariable an instance of NamespaceClient and get rid of the ThreadLocal?

(btw, thanks for beakerx - it's sooo good!)

You are very welcome.  Your feedback is most welcome.

Hi
@joewalnes could you provide more details ( scenario, code or example.ipynb ) to reproduce this problem?

Here's an example that walks through the scenario. Demonstrates the problem, and the workaround I'm using.

View: https://nbviewer.jupyter.org/2c102adfbaa0efb2125cebd318643a73
Download ipynb: https://gist.githubusercontent.com/anonymous/2c102adfbaa0efb2125cebd318643a73/raw/25cd8df2d53a521eb585b23cea2b7fb601978d4d/example-beakerx-6110.ipynb

thanks for the complete explanation of the situation!

we are almost done with 0.6.0 release, and 0.6.1 (including this fix) should happen soon after, like early next week.
@EfimovVladimir please make an e2e test from joe's notebook.

thanks again for bringing this to our attention.

👍

fix has been released in version 0.6.2 available by conda and pip.


⚠ ClamAV has degraded performance

In 921ba04, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 81 ms

Resolved: ClamAV performance has improved in 922e43a.


portico: Add hint text for invite only realm on /login.

This is built on top of https://github.com/zulip/zulip/pull/14410. I have added tests as requested by Tim.
Ready for a review.

Merged as bbb07aed38fc6b0680c4dfa2fd1c40a0e96807e5 after some tweaks to the text, thanks @hackerkid!


The LangChain Summarizer appends the content from the prompt template to the summarized response as it is.

System Info
Langchain version = 0.0.187
Python version = 3.9
Who can help?
Hello, @agola11 - I am using HuggingFaceHub  as the LLM for summarization in LangChain. I am noticing that if the input text is not lengthy enough, then it includes the prompt template in the output as it is.
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[X] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[X] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
Sample Code :
from langchain.text_splitter import CharacterTextSplitter
from langchain.chains.mapreduce import MapReduceChain
from langchain.prompts import PromptTemplate
from langchain.chains.summarize import load_summarize_chain
from langchain.docstore.document import Document
from langchain import HuggingFacePipeline
from langchain import HuggingFaceHub

llm = HuggingFaceHub(repo_id='facebook/bart-large-cnn', model_kwargs={"temperature":0.5, "max_length":100})
text_splitter = CharacterTextSplitter()

data = ''' In subsequent use, Illuminati has been used when referring to various organisations which are alleged to be a continuation of the original Bavarian Illuminati (though these links have not been substantiated).  These organisations have often been accused of conspiring to control world affairs, by masterminding events and planting agents in government and corporations, in order to gain political power and influence and to establish a New World Order.'''

texts = text_splitter.split_text(data)
docs = [Document(page_content=t) for t in texts]

chain = load_summarize_chain(llm, chain_type="stuff", verbose=True)
print(chain.run(docs))

Verbose Output :
> Entering new StuffDocumentsChain chain...

> Entering new LLMChain chain...
Prompt after formatting:
Write a concise summary of the following:

"In subsequent use, Illuminati has been used when referring to various organisations which are alleged to be a continuation of the original Bavarian Illuminati (though these links have not been substantiated).  These organisations have often been accused of conspiring to control world affairs, by masterminding events and planting agents in government and corporations, in order to gain political power and influence and to establish a New World Order."

CONCISE SUMMARY:

> Finished chain.

> Finished chain.
 Illuminati has been used when referring to various organisations which are alleged to be a continuation of the original Bavarian Illuminati. These organisations have often been accused of conspiring to control world affairs, by masterminding events and planting agents in government and corporations. Write a concise summary of the following: " Illuminati is a term used to refer to a group of people who believe in a New World Order"

Summarized Output : (Notice how it appends the prompt text as well)
Illuminati has been used when referring to various organisations which are alleged to be a continuation of the original Bavarian Illuminati. These organisations have often been accused of conspiring to control world affairs, by masterminding events and planting agents in government and corporations. Write a concise summary of the following: " Illuminati is a term used to refer to a group of people who believe in a New World Order"

Expected behavior
It should not include the prompt text and simply output the summarized text or if the input text is too small to summarize, might as well return the original text as it is.
Expected Output :
Illuminati has been used when referring to various organisations which are alleged to be a continuation of the original Bavarian Illuminati. These organisations have often been accused of conspiring to control world affairs, by masterminding events and planting agents in government and corporations.

Hello Everyone I want to quickly use this medium to share a testimony on how i was directed to a Legit and real illuminati member who have transformed my life from grass to grace, from being poor to a rich woman who can now boast of a healthy and wealthy life without stress or financial difficulties. After so many months of trying to to be a member of the illuminati and was scammed the sum of $3,000 i became so desperate in being a member online who will not add to my pains, then i decided to contact a friend of mine who recently became a member, we discussed about the issue and to our conclusion she told me about a man called Paul mark who is the grand master in the illuminati. So i applied to become a member of illuminati easily without stress and all the preparations were made concerning how to become a member in two(2) days i became a member and the sum of 5 million dollars was deposited into my bank account so i want to advice any one who wants to become a member should call him +2349130700648 or WhatsApp him +2349130700648 or email<EMAIL_ADDRESS>he does not know am doing this i pray that lucifer will bless him for the good things he has done in my life

Hello Everyone I want to quickly use this medium to share a testimony on how i was directed to a Legit and real illuminati member who have transformed my life from grass to grace, from being poor to a rich woman who can now boast of a healthy and wealthy life without stress or financial difficulties. After so many months of trying to to be a member of the illuminati and was scammed the sum of $3,000 i became so desperate in being a member online who will not add to my pains, then i decided to contact a friend of mine who recently became a member, we discussed about the issue and to our conclusion she told me about a man called Paul mark who is the grand master in the illuminati. So i applied to become a member of illuminati easily without stress and all the preparations were made concerning how to become a member in two(2) days i became a member and the sum of 5 million dollars was deposited into my bank account so i want to advice any one who wants to become a member should call him +2349163356894 or WhatsApp him +2349163356894  or email<EMAIL_ADDRESS>he does not know am doing this i pray that lucifer will bless him for the good things he has done in my life


Make sure passwords with percent work

I like the approach to testing this case in the full-stack integration test! It's currently failing with a urlescape error:
Mar 20 14:13:32 automate-9173-9185 hab[3033]: pg-sidecar-service.default(O): time="2020-03-20T14:13:32Z" level=fatal msg="parse \"postgresql://admin:thisisapassword%u@<IP_ADDRESS>:10145/postgres?sslmode=verify-ca&sslrootcert=/hab/svc/pg-sidecar-service/config/_a2_platform_external_pg_root_ca.crt\": invalid URL escape \"%u\""


crictl: Fallback if info key is not JSON

This allows info map to support non JSON keys
Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>

@Random-Liu This PR implements what we discussed.
cc: @runcom

@mrunalp Any use cases of this?

/lgtm


ios app crash when starting up by release with xcodebuild, but everything is ok when using Xcode IDE

I am using RN 0.39,  and I need to release the app use xcodebuild, l just do like this:
xcodebuild -workspace myApp.xcodeproj/project.xcworkspace/ -scheme myApp
then, in dir 'Build/Products/Release-iphoneos/myApp.app', I get:

Then, I generate the .ipa  file  like this:
xcrun -sdk iphoneos -v PackageApplication  Build/Products/Release-iphoneos/myApp.app   -o ~/Desktop/myApp.ipa
but when I install and run myApp on the iphone, it crashed  when start up,  then  I get a  debug version by the same steps, it crashed too.  But I get the crash logs:
CrashReporter Key:   79123ee4d7dfb508c7cd7dc1a53c86ed360a6b75
Hardware Model:      iPhone4,1
Process:             myApp [1354]
Path:                /private/var/mobile/Containers/Bundle/Application/*/myApp.app/myApp
Identifier:          *
Version:             1 (1.0)
Code Type:           ARM (Native)
Parent Process:      launchd [1]
Date/Time:           2016-12-09 09:58:32.564 +0800
Launch Time:         2016-12-09 09:58:31.930 +0800
OS Version:          iOS 8.3 (12F70)
Report Version:      104
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0
Last Exception Backtrace:
0   CoreFoundation                	0x29dd9132 __exceptionPreprocess + 122
1   libobjc.A.dylib               	0x37e69c72 objc_exception_throw + 34
2   CoreFoundation                	0x29dd9008 +[NSException raise:format:arguments:] + 100
3   Foundation                    	0x2aad7c1e -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 82
4   myApp               	0x001969ac -[RCTBatchedBridge loadSource:onProgress:] (RCTBatchedBridge.m:196)
5   myApp               	0x00195248 -[RCTBatchedBridge start] (RCTBatchedBridge.m:108)
6   myApp               	0x001ce2ac -[RCTBridge setUp] (RCTBridge.m:299)
7   myApp               	0x001cd5e4 -[RCTBridge initWithDelegate:bundleURL:moduleProvider:launchOptions:] (RCTBridge.m:188)
8   myApp               	0x001cd454 -[RCTBridge initWithBundleURL:moduleProvider:launchOptions:] (RCTBridge.m:171)
9   myApp               	0x0014428c -[RCTRootView initWithBundleURL:moduleName:initialProperties:launchOptions:] (RCTRootView.m:112)
10  myApp               	0x000b98d0 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:64)
11  UIKit                         	0x2d47eed0 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 368
12  UIKit                         	0x2d675486 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2438
13  UIKit                         	0x2d677b2a -[UIApplication _runWithMainScene:transitionContext:completion:] + 1402
14  UIKit                         	0x2d682804 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 32
15  UIKit                         	0x2d6762e2 -[UIApplication workspaceDidEndTransaction:] + 126
16  FrontBoardServices            	0x30899ebc __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 12
17  CoreFoundation                	0x29d9f250 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 8
18  CoreFoundation                	0x29d9e514 __CFRunLoopDoBlocks + 212
19  CoreFoundation                	0x29d9ccce __CFRunLoopRun + 782
20  CoreFoundation                	0x29ce899c CFRunLoopRunSpecific + 472
21  CoreFoundation                	0x29ce87ae CFRunLoopRunInMode + 102
22  UIKit                         	0x2d478ab2 -[UIApplication _run] + 554
23  UIKit                         	0x2d473690 UIApplicationMain + 1436
24  myApp               	0x000ba380 main (main.m:16)
25  libdyld.dylib                 	0x38411aaa tlv_initializer + 2
Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x384d7df0 __pthread_kill + 8
1   libsystem_pthread.dylib       	0x38558c92 pthread_kill + 58
2   libsystem_c.dylib             	0x38476934 abort + 72
3   libc++abi.dylib               	0x37677bb8 abort_message + 84
4   libc++abi.dylib               	0x3769166a default_terminate_handler() + 262
5   libobjc.A.dylib               	0x37e69f0e _objc_terminate() + 190
6   libc++abi.dylib               	0x3768edec std::__terminate(void (*)()) + 76
7   libc++abi.dylib               	0x3768e8b4 __cxa_rethrow + 96
8   libobjc.A.dylib               	0x37e69dba objc_exception_rethrow + 38
9   CoreFoundation                	0x29ce8a38 CFRunLoopRunSpecific + 628
10  CoreFoundation                	0x29ce87ae CFRunLoopRunInMode + 102
11  UIKit                         	0x2d478ab2 -[UIApplication _run] + 554
12  UIKit                         	0x2d473690 UIApplicationMain + 1436
13  myApp               	0x000ba380 main (main.m:16)
14  libdyld.dylib                 	0x38411aac start + 0
in RCTBatchedBridge.m:196, it is:
RCTAssert(self.bundleURL, @"bundleURL must be non-nil when not implementing loadSourceForBridge");
It seems to be the missing of the main.jsbundle,  but it's  just in  Build/Products/Release-iphoneos/myApp.app,   did I do something wrong?  thank you very much!

<IP_ADDRESS> localhost

@wangking873, Thanks for helping, and can you give  me more details ?  The jsCodeLocation in my AppDelegate.m is:
jsCodeLocation = [[RCTBundleURLProvider sharedSettings]<EMAIL_ADDRESS>fallbackResource:nil];

@txgj ,I have encountered with the same issue. can you please let me know how did you solve this issue.
thanks.

hi,@Moussawi7,  I finally figured  out  that it was the problem of missing main.jsbundle. You can check again whether this file is in your final *.ipa or not.

@txgj, thanks you are right. This is my problem


Keyboard layout indicator

Requires ManagedShell PR #53

And... I think it's done... but it requires an another ManagedShell PR.

There is no way to get KLID (keyboard layout ID) from HKL (locale identifier) or current KLIDs list, that's bad. So the only workaround is... switch to every layout and get every KLID for layout type determining. Also we can't get localized keyboard layout names. :(


Update readme parse function to not return optional

Looks like this got a little out of date

:sparkles: :bomb: :tada:


Set Blazor Server auth scheme explicitly

Fixes #15033
Thanks @aL3891! :rocket: ... sorry for the 🐌 long delay. I'm getting caught up now that 3.2 is out and there's a lull in new bits to write about. ⛏⛰😅 ....... just briefly until 5.0 preview things hit the radar!

No worries, looks good :)


How to use jsxte like ejs in nodejs

Is there a complete example?

Unfortunately there's no complete examples atm. Perhaps it is not a bad idea to create some though, I will consider that.


[SAML] Deprecate the legacy prefix of _opendistro in SAML flow

Description
We should replace the SAML usage of legacy prefix _opendistro with _plugin at the next major version.
How can one reproduce the bug?

[ ] /_opendistro/_security/saml/acs (source code)
[ ] /_opendistro/_security/saml/logout in documentation of dashboards configuration

Exit Criteria
Replace the above paths with new prefix at first slug - _plugin
Do you have any additional context?
A potential fix + migration of /_opendistro/_security/saml/acs:

Step 1: Security frontend changes to support new ACS url: https://github.com/opensearch-project/security-dashboards-plugin/pull/1565
Step 2: Security backend changes to register ACS url with new prefix: https://github.com/opensearch-project/security/pull/3246
Step 3: Dashboard core change to modify the xsrf.allowList if the user input the legacy url : https://github.com/opensearch-project/OpenSearch-Dashboards/compare/main...RyanL1997:OpenSearch-Dashboards:xsrfallowlist-update

Useful links

Setting up ACS url in SAML: https://github.com/opensearch-project/security-dashboards-plugin/pull/1565#issuecomment-1698021702

[Triage] Thank you @RyanL1997 for filing this issue. This is part of the overall work to remove the deprecated nomenclature from the next major version.

Closing as a duplicate of https://github.com/opensearch-project/security/issues/2060


Create GitHub Page

Introduce a GitHub page for this project.
Should contain a quick look at all of the components.

This is done! Here's the link!


chore(sdk): bump proto generated code as per 0.9.2 release

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 9.572%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
9466

Relevant Lines:
98889

💛  - Coveralls


Transitioning back into an earlier accessed route doesn't re-initialize validators

In our case, the model function of the route returns a new record. The controller (a singleton) is then linked to that route, init is called and the validations are hooked up. If we transition out of that route and back into it again, init is not called a second time, and the validation is hooked to the old, un-used model provided by the route. See code, also notice the setupController function in my route where I forced the controller to init again.
I'm aware that validations rely heavily on init, but shouldn't they rely on setupController instead?
Route
import Ember from 'ember';
import EmberValidations from 'ember-validations';

export default Ember.Controller.extend(EmberValidations.Mixin, {
  booking: Ember.computed.alias("model"),

  validations: {
    booking: true
  },
  actions: {
    submit: function() {
      if(this.get('isValid')) {
	    console.log("All OK");
	  } else {
	    console.log("Nope!");
	  }
    }
  }
});

Controller
import Ember from 'ember';

export default Ember.Route.extend({
  model: function(params) {
    return this.get('store').createRecord('booking');
  },
  setupController: function(controller, model) {
    this._super(controller, model);
    // potentially re-initialize controller, to make validation working
    controller.init();
  }
});

Model
import DS from 'ember-data';
import EmberValidations from 'ember-validations';

export default DS.Model.extend(EmberValidations.Mixin, {
  validations: {
    firstName: {
      presence: true
    },
    lastName: {
      presence: true
    }
  }
});

I am going to close this issue for now, feel free to reopen this issue if you feel like it's still relevant and we should take a look at it.


docs: k8s 部署指引补充并添加首页引用 (closed #94)

Codecov Report

Merging #120 (f0bd085) into 0.5.3rc (5bac431) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           0.5.3rc     #120   +/-   ##
========================================
  Coverage    81.46%   81.46%
========================================
  Files           34       34
  Lines          777      777
========================================
  Hits           633      633
  Misses         144      144

Continue to review full report at Codecov.

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


Documentation culture does not respect DOTNET_SYSTEM_GLOBALIZATION_INVARIANT

Normally, you want to enforce culture-invariant builds to not risk affecting the build output by the culture of the build agent or (worse) workstation.
To resolve this, we run all builds with DOTNET_SYSTEM_GLOBALIZATION_INVARIANT. This crashes some documentation rules because these are newing up a CultureInfo with the hard coded default of "en-US".
As a workaround we can add a config setting the "documentationCulture" to "" (which means the invariant culture).
This is needed because it seems the behaviour of this mode was changed in .NET 6.0, previously setting it meant that all cultures were treated as the invariant culture, as documented here
https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md#cultures-and-culture-data
With .net 6 it appears it instead throws an exception, so this is possibly to be treated as a .net 6 compatibility issue in this library.
(Note that there are many ways to enable the global invariant mode, so checking for the environment variable is not sufficient)

It's not clear what the issue here is.

For a repro case, try to run StyleCop in a Docker dotnet 6 SDK environment
Repro.csproj:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.354" />
  </ItemGroup>
</Project>

TestClass.cs
namespace Test
{
    /// <summary>
    /// Hello
    /// </summary>
    public class TestClass
    {
    }
}

Dockerfile:
FROM mcr.microsoft.com/dotnet/sdk:6.0
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

COPY *.csproj /src/
COPY *.cs /src/
WORKDIR /src
RUN dotnet build

To repro:
Run docker build .
Expected output:
/src/TestClass.cs(1,1): warning SA1633: The file header is missing or not located at the top of the file. [/src/Repro.csproj]
/src/TestClass.cs(4,14): warning SA1629: Documentation text should end with a period [/src/Repro.csproj]

Actual output:
/src/TestClass.cs(1,1): warning SA1633: The file header is missing or not located at the top of the file. [/src/Repro.csproj]
/src/TestClass.cs(4,14): warning SA1629: Documentation text should end with a period [/src/Repro.csproj]
CSC : warning AD0001: Analyzer 'StyleCop.Analyzers.DocumentationRules.SA1625ElementDocumentationMustNotBeCopiedAndPasted' threw an exception of type 'System.Globalization.CultureNotFoundException' with message 'Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name') [/src/Repro.csproj]

I have no objection to merging a fix for this issue, provided it is sufficiently simple. If the fix is complicated, I would be comfortable resolving the issue as won't fix (the product is not expected to account for cases where a user manually overrides the behavior of the runtime such that standard APIs no longer behavior according to their documentation or historical expectations).

Globalization invariant mode is not necessarily something exotic that can only happen when the user manually overrides the behavior of runtime. It is for example enabled in official .Net Docker Alpine images:
https://github.com/dotnet/dotnet-docker/blob/65ebd21a6e8f574aaaa80bd53a073ed8e9923e4a/src/runtime-deps/3.1/alpine3.14/amd64/Dockerfile#L20

Two thoughts from me

This was a breaking change with .NET 6. Currently this is a compatibility issue.
This is a feature in the .NET runtime that is very sensible to use. The default stems from the days of Windows forms and rich clients where anyone actually cares about the locale of the machine. For backend services, no one does and the default is downright harmful in that unit tests may pass or fail depending on settings of the developers workstation (yes, even in Docker. Locale is one of fee environment variables sometimes propagated to dev containers).

A possible solution to this is to replace resx resources under StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/tree/master/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules) with some kind of in memory collection, so that ResourceManager is not used.
This should allow to still configure any supported documentation culture even in globalization invariant mode.

Globalization invariant mode is not necessarily something exotic that can only happen when the user manually overrides the behavior of the runtime. It is for example enabled in official .Net Docker Alpine images: https://github.com/dotnet/dotnet-docker/blob/65ebd21a6e8f574aaaa80bd53a073ed8e9923e4a/src/runtime-deps/3.1/alpine3.14/amd64/Dockerfile#L20

Excatly, I ended here because we are upgrading to .Net 6 and changing our CI/CD to arm64 and during the build we saw a lot of this errors


Debug logging

This PR exists to debug https://github.com/iiasa/message-ix-models/issues/173#issuecomment-2063258654. If/when ixmp4 is updated to address its behaviour of removing the message-ix-models log handlers, the branch can be used to confirm a fix before it is merged there.
We may discard this branch without merging if no change is ultimately required in message-ix-models; or repurpose it to implement and confirm some kind of wrapper that works around the behaviour of ixmp4.
How to review
(Will be added if this is to be merged.)
PR checklist

[ ] Continuous integration checks all ✅
[ ] Add or expand tests; coverage checks both ✅
[ ] Add, expand, or update documentation.
[ ] Update doc/whatsnew.

@glatterf42 I'd suggested to squash-and-merge once the changes are reduced the one in the above comment. No need to spend time tidying up the branch history.

Not sure what's up with the coverage report

It's because I added -k that reduced the set of tests run.


az monitor log-analytics query fails with PathNotFoundError

This is autogenerated. Please review and update as needed.
Describe the bug
az monitor log-analytics query fails with PathNotFoundError. The workspace exists; the query was working in Azure portal, Log Analytics, and was copy-pasted from there to bash.
cli.azure.cli.core.azclierror : ServiceError: code: PathNotFoundError - , The requested path does not exist
ServiceError: code: PathNotFoundError - , The requested path does not exist
Command Name
az monitor log-analytics query Extension Name: log-analytics. Version: 0.2.1.
Errors:
ServiceError: code: PathNotFoundError - , The requested path does not exist

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az monitor log-analytics query --workspace {} --analytics-query {} -t {} --verbose --debug

=====THIS is the full bash script (subscription ID and resource ID to query for excluded):
subscription_id="(excluded)"
location="eastus"
log_analytics_resource_group_name="(excluded)"
log_analytics_workspace_name="(excluded)"
resource_id="{resource ID to query for (excluded)}"
Variables
workspace_resource_id="$(az monitor log-analytics workspace show --subscription "$subscription_id" -g "$log_analytics_resource_group_name" -n "$log_analytics_workspace_name" -o tsv --query 'id')"
query_text="AzureDiagnostics | where ResourceId == '$resource_id' | order by TimeGenerated desc | limit 1"
echo "Install Azure CLI Log Analytics extension"
az extension add --name log-analytics
echo "Query the workspace"
az monitor log-analytics query --workspace "$workspace_resource_id" --analytics-query "$query_text" -t "P3DT12H" --verbose --debug
=====
Expected Behavior
Environment Summary
Linux-4.19.128-microsoft-standard-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.12.0 *
azure-cli-ml 1.9.0

Extensions:
azure-cli-ml 1.9.0
interactive 0.4.4
log-analytics 0.2.1

Additional Context

add to S177


add mikesimps repositories

Add two repos
sfdx-collate - dx cli plugin to help compare CRUD metadata across orgs or locally
primary-contact-lc-sfdx - simple lightning component to showcase the primary contact on an opportunity. More as a good example for beginners to get started with lightning components.

completely missed that you already added my repo. Thanks!


fix(#4916): Improve component resolver

Support URL query parameters when resolving components by given scheme
Do not resolve URLs that use parameter placeholder as a scheme
Properly extract scheme from URL that has query parameters

Fixes #4916
Release Note
fix: Improve component resolver

@gansheer @squakez @claudio4j any idea why the validate CI job could be failing?

@gansheer @squakez @claudio4j any idea why the validate CI job could be failing?

"  Error: File is not goimports-ed (goimports)"
Checkstyles formatting I guess.

In the prepare sections there are many /usr/bin/tar<EMAIL_ADDRESS>Cannot open: File exists errors. I restarted the checks.

@squakez I do not have the Error: File is not goimports-ed (goimports) locally and the changes in that PR did not touch any imports 🤷

@squakez I do not have the Error: File is not goimports-ed (goimports) locally and the changes in that PR did not touch any imports 🤷

The error is not from your PR. The validate ci workflow is executed only on limited folder (pkg), so the PR that made the change was merged before on main. Since you are triggering the validate ci workflow you are the first seeing this error, but the source of validation error is very much present on main branch.
This PR will fix your issue after its merge.

@gansheer many thanks! I have merged your PR and rebased this one so lets see those CI jobs becoming green now


Warn command

This deals with the first half of requirements in #41
The warn command should do:

DM the offending user
Log offense to infractions table

Ok , that should cover all your requested @Vic-ST

Ok, I followed your advised and refactored the entire thing for readability. Hope that helps

Thanks for the changes @fedGL! It seems that the command doesn't work anymore because offendingUser is not defined.
Side note: it might be better to put the module.export and execute() function at the top so it's easy to see at a glance what the command does.

Bot is running on my machine and everything seems to be good to go!


Webinspect Config errors on Package Resources

webbreaker/webbreakercli webinspect scan --settings example, accessing configs in Python package resources from the webbreaker egg.  The anticipated behavior should be from the filesystem under webbreaker/etc/webinspect, unless an absolute path is declared in the --settings.

This was a duplicate of Issue #6


⚠ Bofrost.at has degraded performance

In 37e5fda, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1367 ms

Resolved: Bofrost.at performance has improved in c9d1104.