Removes use of statsmodels.tsa.arima_model.ARMA

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
#1872
What are the significant changes in functionality due to this change request?
Removes use of statsmodels.tsa.arima_model.ARMA and replaces it with statsmodels.tsa.arima.model.ARIMA, making additional changes as needed. Some attributes in the armaResultsProxy class (in ravenframework/SupervisedLearning/ARMA.py) were changed to better match the ARIMAResults object returned by the new ARIMA model class being used; these changes will break existing pickled ARMA ROMs!

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[x] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

@j-bryan You can update that dependency in this PR if you'd like. Or is there already a PR updating statsmodels?

@dylanjm @PaulTalbot-INL Would statsmodels needs to be updated now? Moving to the  new class allows us to use newer versions of statsmodels, but the ARIMA class we're using has been there since 0.11.0 I think, so we shouldn't need to update right now.
Is there a way for me to see why the checks are failing now? They were passing on here earlier, and all of the relevant tests still seem to be passing on my (Windows) machine. I was able to run some tests on a Linux machine, and I had a test fail due to a value falling just outside of a tolerance, so maybe some check tolerances need to be loosened a little?

@j-bryan It looks like the ARMAParallel test is failing. Does it pass on your machine?

@j-bryan ooof 🙃

I can get you the stack trace if you'd like.

I think I can see the RAY error stack trace coming from the testing machines. I'm not quite sure how we should fix this.
@joshua-cogliati-inl does this RAY error look familiar to you?

ray.exceptions.RayTaskError: ray::evaluateSample() (pid=2997, ip=<IP_ADDRESS>)
  At least one of the input arguments for this task could not be computed:
ray.exceptions.RaySystemError: System error: buffer source array is read-only
traceback: Traceback (most recent call last):
  File "/home/civet/pip_envs/raven_libraries/lib/python3.6/site-packages/ray/serialization.py", line 281, in deserialize_objects
    obj = self._deserialize_object(data, metadata, object_ref)
  File "/home/civet/pip_envs/raven_libraries/lib/python3.6/site-packages/ray/serialization.py", line 194, in _deserialize_object
    return self._deserialize_msgpack_data(data, metadata_fields)
  File "/home/civet/pip_envs/raven_libraries/lib/python3.6/site-packages/ray/serialization.py", line 172, in _deserialize_msgpack_data
    python_objects = self._deserialize_pickle5_data(pickle5_data)
  File "/home/civet/pip_envs/raven_libraries/lib/python3.6/site-packages/ray/serialization.py", line 160, in _deserialize_pickle5_data
    obj = pickle.loads(in_band, buffers=buffers)
  File "statsmodels/tsa/statespace/_initialization.pyx", line 227, in statsmodels.tsa.statespace._initialization.dInitialization.__init__
  File "stringsource", line 658, in View.MemoryView.memoryview_cwrapper
  File "stringsource", line 349, in View.MemoryView.memoryview.__cinit__
ValueError: buffer source array is read-only

Yes, this error means that something is being serialized (pickled) and deserialized that was not designed to be serialized.  (How to fix on the other hand might be a challenge.)

Hmmm that's a tricky one. I'll start looking at the ARMA ROM pickling, but this could take a sec to figure out. Some other tests seem to successfully pickle and unpickle the ROM, and it's only failing in the parallel test. In the meantime, let me know if you have any other ideas of what might be causing the error.

FYI: the last time I saw this error message: https://github.com/scikit-learn/scikit-learn/issues/21685

Looks like we are getting a failure in pickleTests:
Here's the test name
 Failed tests/framework/ROM/pickleTests/eRl_setAdditionalParams

Here's the stack trace:
Output of'tests/framework/ROM/pickleTests/eRl_setAdditionalParams':
Loading plugin "TEAL" at /Users/civet/civet/build_0/raven/plugins/TEAL
 ... successfully imported "TEAL" ...
Loading plugin "HERON" at /Users/civet/civet/build_0/raven/plugins/HERON
 ... successfully imported "HERON" ...
Loading plugin "SR2ML" at /Users/civet/civet/build_0/raven/plugins/SR2ML
 ... successfully imported "SR2ML" ...
Loading plugin "LOGOS" at /Users/civet/civet/build_0/raven/plugins/LOGOS
 ... successfully imported "LOGOS" ...
Loading plugin "SRAW" at /Users/civet/civet/build_0/raven/plugins/SRAW
 ... successfully imported "SRAW" ...
Loading plugin "FARM" at /Users/civet/civet/build_0/raven/plugins/FARM
 ... successfully imported "FARM" ...
Loading plugin "ExamplePlugin" at /Users/civet/civet/build_0/raven/plugins/ExamplePlugin
 ... successfully imported "ExamplePlugin" ...
InputData: Using param spec "pickledROM" to read XML node "loadedROM.
(  884.45 sec) Interp. Cluster ROM      : DEBUG           -> Evaluating interpolated ROM ...
(  884.45 sec) Interp. Cluster ROM      : DEBUG           ->  ... evaluating macro step "0" (1 / 10)
(  884.45 sec) Clustered ROM            : DEBUG           -> Sampling from 3 segments ...
(  884.45 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 0
(  884.92 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 1
(  884.93 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 2
(  884.94 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 3
(  884.95 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 4
(  884.96 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 5
(  884.96 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 6
(  884.97 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 7
(  884.97 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 8
(  884.98 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 9
(  884.99 sec) Interp. Cluster ROM      : DEBUG           ->  ... evaluating macro step "1" (2 / 10)
(  884.99 sec) Clustered ROM            : DEBUG           -> Sampling from 3 segments ...
(  884.99 sec) Clustered ROM            : DEBUG           -> Evaluating ROM segment 0
Traceback (most recent call last):
  File "eRl_setAddtlParams.py", line 111, in <module>
    main()
  File "eRl_setAddtlParams.py", line 106, in main
    results = check(runner, before, after, signal)
  File "eRl_setAddtlParams.py", line 49, in check
    res = runner.evaluate(inp)[0]
  File "/Users/civet/civet/build_0/raven/scripts/externalROMloader.py", line 147, in evaluate
    output.append(self.rom.evaluate({k:np.asarray(v[index]) for k,v in request.items()}))
  File "/Users/civet/civet/build_0/raven/ravenframework/Models/ROM.py", line 406, in evaluate
    resultsDict = self.supervisedContainer[0].run(request)
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/SupervisedLearning.py", line 323, in run
    return self.evaluate(edict)
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/ROMCollection.py", line 1818, in evaluate
    subResult = model.evaluate(edict) # TODO same input for all macro steps? True for ARMA at least...
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/ROMCollection.py", line 896, in evaluate
    result = Segments.evaluate(self, edict)
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/ROMCollection.py", line 368, in evaluate
    result = self._evaluateBySegments(edict)
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/ROMCollection.py", line 425, in _evaluateBySegments
    subResults = rom.evaluate(evaluationDict)
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/SupervisedLearning.py", line 362, in evaluate
    return self.__evaluateLocal__(featureValues)
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/ARMA.py", line 710, in __evaluateLocal__
    return self._evaluateCycle(featureVals)
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/ARMA.py", line 819, in _evaluateCycle
    randEngine = self.randomEng)
  File "/Users/civet/civet/build_0/raven/ravenframework/SupervisedLearning/ARMA.py", line 926, in _generateARMASignal
    burnin=2*max(self.P,self.Q)) # @alfoa, 2020
  File "/Users/civet/.conda/envs/raven_libraries/lib/python3.7/site-packages/statsmodels/tsa/arima_process.py", line 107, in arma_generate_sample
    return signal.lfilter(ma, ar, eta, axis=axis)[fslice]
  File "/Users/civet/.conda/envs/raven_libraries/lib/python3.7/site-packages/scipy/signal/signaltools.py", line 1907, in lfilter
    return sigtools._linear_filter(b, a, x, axis)
MemoryError: Could not create zfzfilled

Job Mingw Test on 9b2450d : invalidated by @joshua-cogliati-inl
civet settings changed.

Job Mingw Test on 9b2450d : canceled by @wangcj05
waiting for #1913

Job Mingw Test on 9b2450d : invalidated by @wangcj05

Job Mingw Test on 9b2450d : canceled by @wangcj05

@dylanjm Which tests are failing now? I've rerun the tests on my Mac and Windows machines, and everything is passing for me.

@j-bryan It looks like the test is failing due to something being broken upstream. It looks like #1913 fixes this issue. If you're curious about the failing test it is:
Diff doc/workshop/optimizer/GeneticAlgorithms/Inputs/GA_MaxwoRepConstrained

Once that fix is merged, you'll have to update RAVEN, rebase, and then force push to get this PR to pass tests.

Okay, I'll keep an eye out for that. Thanks!

All jobs on 9b2450d : invalidated by @wangcj05

All jobs on 9b2450d : invalidated by @wangcj05

It looks like some small numerical error is preventing this merge in the ARMA "Basic" test:
Mismatch between tests/framework/ROM/TimeSeries/ARMA/Basic/romMeta.xml and tests/framework/ROM/TimeSeries/ARMA/gold/Basic/romMeta.xml
    No match for gold node DataObjectMetadata/arma/Speed/ARMA_params/std
               tag: std
              attr: {}
              text: 0.258080826596
  Nearest unused match:     DataObjectMetadata/arma/Speed/ARMA_params/std
    <std> text does not match: "0.258080826596" vs "0.258081109144"

Hm, this causes HERON and FARM to fail: https://civet.inl.gov/job/1125079/

@j-bryan this is ready to merge, but I want to make sure first that you'll be able to follow up with the HERON fixes that @joshua-cogliati-inl has noted. Let me know if there's questions on that.

@PaulTalbot-INL I should be able to handle that. Just to check my understanding of the issue, some of the HERON (and FARM?) tests rely on ARMA models which need to be retrained. I’ll need to go and retrain those models manually using the new version of the ARMA ROM. Is that correct?

That's right, the training workflows should all be there along with the data in tests/integration_tests/ARMA (iirc), so train them, re-add them, and push on a branch. I'll merge this PR and you can start on that, then we'll update the HERON submod ASAP.


en_coref-4.0.0, difference between website model and shared model

Hi,
I am trying to have the same results as the website:
When i use the en_coref_lg 3.0.0 model and even if i replace the neuralcoref folder by the new 4.0.0 release (https://github.com/huggingface/neuralcoref-models/releases/), it has no effects:
in the following sentence,  it is replaced by One day after a heavy meal:
Once upon a time a lion lived in a forest. One day after a heavy meal it was sleeping.  After a while, a mouse came and it started to play.
so in my version of en_coref_lg, i get :
One day after a heavy meal One day after a heavy meal was sleeping__
but it seems to be working fine on the web demo https://huggingface.co/coref/?text=my_text.

So my question is:
Are they any way to get the same results as the web demo?
As you are providing the 4.0.0 model, i was expecting to have better results (as on the web), but i have not (for my case), so are you using an other model ? And are you planning to share it?
Thank you very much for this amazing library, and for open-sourcing it :)
Any help would be appreciated

I believe the website demo still uses Neural Coref 2.0 model and code. As far as I'm aware you are not able to get the output scores from NeuralCoref after 3.0. I'd be interested if that were not the case.

Yes our demo is still based on NeuralCoref 2.0
The new release (NeuralCoref 4.0) now outputs the coreference scores as well (see the README for details).


added profiling ability

The purpose of this exercise is to benchmark the same logic as in test app. Here everything goes through the same flow. Our unit tests have a lot of mocking done so I am not sure if it will be worthwhile to benchmark everything there, unless we rewrite some tests.

I agree with @mikecdavis on not overloading examples, especially the main.go file. Another way around this is to add the stress test as its own file or maybe even go with main_benchmark.go and run it as a proper benchmark test like mike suggested


Allow CI to force clear previously running resources if required

CI benches were failing. I found the following errors from the logs:
Error response from daemon: conflict: unable to remove repository reference "docker.io/qdrant/qdrant:master" (must force) - container 40054a4e5693 is using its referenced image 3d4537be4e7c

Error response from daemon: Conflict. The container name "/qdrant-continuous" is already in use by container "40054a4e5693eda6b6597fc6f247ad365c5be985a7d545e3084c34b994ebac68". You have to remove (or rename) that container to be able to reuse that name.

Also, on sshing into the machine I found that sometimes 2 vector-db-benchmark containers are running if the 1st workflow is cancelled. This isn't ideal for perf benchmarking and should be avoided.
So we should clear existing resources before running CI workflow.

It fixed the CI. The latest run with this branch was successful


Question about training set

Hi, thanks for your generous sharing.
I have a question about training set generating in your work.
I generated a training set following your codes.
Its size is about 100GB, far less than 1TB.
Is there anything wrong?
Thanks.

Hi, @fan-hd, are you sure you generated the training dataset with 1000 samples? What is your output? Is it just a folder with images?
On a side note, we have improved our dataset generation pipeline significantly. For instance, we now use EEVEE instead of Cycles rendering pipeline, which is much faster. Also, instead of saving everything in folders, we either save files in HDF5 files or in ZIP, e.g. https://github.com/rozumden/render-blur
Best,
Denys

Hi, @fan-hd, are you sure you generated the training dataset with 1000 samples? What is your output? Is it just a folder with images?
On a side note, we have improved our dataset generation pipeline significantly. For instance, we now use EEVEE instead of Cycles rendering pipeline, which is much faster. Also, instead of saving everything in folders, we either save files in HDF5 files or in ZIP, e.g. https://github.com/rozumden/render-blur
Best, Denys

Hi, @rozumden , I'm sure there are 1000 seqs in each object.
The training set contains 50 object folders.
Each folder contains 1000 blurred images and a GT folder,
and there are 1000 seqs with 24 frames in the GT folder corresponding to the blurred images.
Besides, I'm not sure how you choose the video seqs for validation set.
The validation set contains only 1000 samples.
Is there any rule to pick videos from sports-1m?
Thanks a lot.

I also checked my folder and it was 72GB. I'm sorry for the confusion and my mistake in README. It's fixed now.
Sequences for the validation set are chosen randomly. It should all be done automatically. There is no need to pick the videos manually.

I also checked my folder and it was 72GB. I'm sorry for the confusion and my mistake in README. It's fixed now.
Sequences for the validation set are chosen randomly. It should all be done automatically. There is no need to pick the videos manually.

Got it.
Thanks for your reply.

Hi, do you mean that you regenerated the training dataset and retrained the network, everything from scratch?

Hi, do you mean that you regenerated the training dataset and retrained the network, everything from scratch?

Yes.

For how many epochs did you train? In our final model, we trained for 50 epochs.
Unfortunately, we don't have access to random seeds anymore. Network initialization is already provided in this repository. We initialize the encoder with ResNet50 weights. The rendering network is initialized randomly (and we again don't have random seeds). I don't think that random initialization is the reason why you have the performance drop.
I've just noticed that in the main_settings.py, the latent learning is disabled by default (g_use_latent_learning = False) due to the increased memory consumption during training. Have you turned it on?

For latent training, the dataset must be augmented with additional backgrounds by running shapeblur_addbg(folder) from run_addbg.py.

Hi, did you manage to achieve higher scores? Maybe I can also share with you our generated training dataset (if you already have a ShapeNetv2 license). Then, we can see if this performance drop is due to the training dataset or something else.


Range Finding example fix

The readme has this as an example:
User.where("created_at.gt" => DateTime.now - 1.day).all

This caused ArgumentError: unsupported type, expected Hash, Array, Set, String, Numeric, IO, true, false, or nil, got DateTime for me. I had to convert to integer instead.
User.where("created_at.gt" => 1.day.ago.to_i).all

Upon inspection, it seems dynamoid can't find anything involving a date range query. Does the date range example work for anyone? I'll have to use the AWS SDK directly if not. Kinda defeats the purpose...

That may be due to changes I made in the latest release from a few days ago.  I'll take a look and see if I broke something.

still not fixed?

There has been no PR to fix this.  I haven't had time to look into it.  I'll see if I can figure something out.

Can close this issue :) Thanks @andrykonchin, needed this too!

@mirokuxy fixed!


Endpoint granularity load stats in LRS

Title: Add capability for reporting upstream stats per endpoint (backend) from Envoy.
Description:
The upstream load stats from Envoy are aggregated per locality. Global Load balancing using central control plane could provide better balancing with per endpoint stats information.
As the use-case here is for providing better balancing, the per endpoint load report might not be necessary for all servers receiving load report. We probably need some way for the Server to inform the Envoy to send Endpoint granularity load report.
Proposal for change.
https://docs.google.com/document/d/1na2pC2FOfLHhbGyH9VRbO229pJg1LrETUXbbvM8ttOg/edit?usp=sharing

Added design proposal.


No license

Your project looks super useful, but it doesn't specify a license so I can't use it in my own project. That makes it less useful.
It would be great if you could choose a license (hopefully open source - maybe Apache License 2.0, Boost License or MIT) and add it as a file LICENSE in the top-level directory. A license header in each file will also help retaining the license if people decide to copy just individual files.

Wow, that was fast! Thanks! :)

@jpetso You are welcome!
Thank you for reporting!


Port to NET Core/Standard; add GeoCoordinate.NetCore dependency; use NUnite for tests

fixes #7

Thanks!


Initial tasks

[ ] Create structure to handle multiple npm packages from a single github repo
[ ] Decide on one or more testing frameworks and implement (Jest?)
[ ] Create test stubs using github actions
[ ] Create structure to publish the packages using github packages
[ ] Consider making a nightly 'latest' release, auto-generated each day.
[ ] Implement eslint or similar across the project
[ ] Establish branch protection, and integration of code standards into PRs
[ ] Determine best practices for developing on multiple packages at the same time, and coordinating changes/version updates. Document this in a wki or similar in this project.
[ ] Create a basic README that outlines each npm package, dev practices, and deployment practices

We anticipate to begin with these packages:

discvr-utils: this should hold very generic code, like helper functions, ideally with minimal dependencies.
discvr-ui-components: Holds standalone UI components that are not too tightly linked to a specific project. This can depend on MUI. One example might be components that extend a MUI select or enhancements to the MUI grid.
discvr-jbrowse: we should consider migrating some of the code from the existing discvrlabkeymodules/jbrowse LK module into here.

We may eventually also want project-specific repos, such as mgap or mcc.

Monorepo management: https://github.com/vercel/turbo
Test framework: https://github.com/jestjs/jest
Actions docs: https://docs.github.com/en/actions

This scenario is the one I have the least grasp on how to best handle:

It must be fairly common for a developer to need to make changes in multiple packages, and to deploy those modified packages locally such if package1 depends on package2, then package1 can load the updated pacakage2 without needing to publish a formal release.
This is exactly the scenario we will face when managing npm packages maintained in this repo, and when we try to use components from those packages to build LabKey modules. I think one possible option would be for the developer to push an updated package to some kind of local npm registry (e.g., https://medium.com/@debshish.pal/publish-a-npm-package-locally-for-testing-9a00015eb9fd). There might be other better options.

https://storybook.js.org/ allows us to develop react components in a vacuum, so you can validate that the UI works on mocked data prior to integrating with LabKey. I'm still looking into different packages for the monorepo->labkey dependency issue but it seems like https://github.com/wclr/yalc is the solution most people recommend.
yalc publishes your package to a local npm registry and temporarily updates your package.json to point at the local versions. the workflow looks something like:
cd path/to/monorepo/component
yalc publish
cd path/to/enlistment/module
yalc add @monorepo-component

// when done with development
yalc remove @monorepo-component
npm i @monorepo-component

and whenever you make a change in the monorepo, you can use yalc push to update the local version

This repo will end up containing a set of NPM packages that we can use as dependencies throughout DiscvrLabkeyModules. As such, we need to set up a monorepo management system. I recommend Turborepo. They have good quickstart documentation and create-turbo, which creates a scaffold for this sort of project, akin to create-react-app. We should research if this seems like a reasonable solution and, if so, push a Turborepo workspace that we can add packages to.

Added a few issues for the research tasks -- we can add the implementation issues once we're certain what that phase of the project will look like
#3
#3
#4
#5
#6

https://www.labkey.org/Documentation/wiki-page.view?name=dev


Should discretize_continuous affect the explanation?

Hi,
I'm currently running an experiment and I have a model where I know weights 1, 2, 3 add to class 1 and weights 4 and 5 add to class 2.
I'm using the tabular explainer since the features are generated integers between 0 and 10. The problem is that for some reason the explanation shows that weight 3 positively attributes to class 2 which is incorrect. If I set discretize_continuous to false, then the explanation is correct.
Is there a reason this happens?

See #196, #113 and #202 : )


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 71 ms

Resolved: ClamAV performance has improved in 6c4758c.


Increase service status timeout (to 20 seconds)

Resolves https://keybase.atlassian.net/browse/DESKTOP-340

cc @patrickxb

LGTM


:sparkles: feat: 增加 Loading 时候允许停止继续生成的按钮

💻 变更类型 | Change Type

[x] ✨ feat
[ ] 🐛 fix
[ ] 💄 style
[ ] 🔨 chore
[ ] 📝 docs

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

link：https://github.com/ant-design/pro-chat/issues/52

同时也修复这个 issue：https://github.com/ant-design/pro-chat/issues/109


Create Readme.md

Description

[ x] I have added a folder(Named it as my GitHub user id)
[x ] I have added a Readme.md file inside the folder
[ x] I understand the GitHub Forking Concept fully

Thank you!
I'm on vacation, will look into it from Wednesday, 5th Oct. Keep going, keep contributing 👍


Dependency Updater

This pull request includes minor version updates for your package dependencies as well as major version updates for packages with known compatibility. Feel free to commit any additional changes to the shift-27362 branch.
Before merging, you need to:

Checkout the shift-27362 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?)

:warning: You are running version 5.3.4 of guzzlehttp/guzzle. The latest version is 6.5.3. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 5.5.49 of laravel/framework. The latest version is 7.9.2. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 0.14.0 of league/fractal. The latest version is 0.19.2. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 1.0.10 of laravel/tinker. The latest version is 2.4.0. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 3.9.3 of ramsey/uuid. The latest version is 4.0.1. You should review this dependency to see if you can upgrade to the latest version.


Issue 330: Fix BashRunner hanging on Linux

Simple testcase fails on Ubunu before this change, and is fixed afterwards https://github.com/CopyText/TextCopy/blob/master/src/Tests/ClipboardTests.cs#L9
Looks like this hasn't been noticed as the Linux testing on travis hasn't been running, and the AppVeyor CI doesn't run the tests for Linux (https://github.com/CopyText/TextCopy/blob/master/src/appveyor.yml)
xsel isn't pre-installed on all distros (e.g. Ubuntu 18.4), but I've verified that you get a decent error message when it's missing.

I'll leave fixing up the CI to you @SimonCropp.

@mcon thanks so much for this. re the build. i actually have travis setup for linux. but for some reason it is not reporting back to GH. which is probably the reason this got broken in the first palce. I will push this to nuget now


Entity Framework

Nice library, thanks!
How would you use this with Entity Framework?

It's been a while since i've used entity framework. I assume it uses ADO .NET under the hood. If that's the case and it offers a way to provide an alternative SqlConnection object then you could inject a TraceDbConnection instead.

I've tried this, but apparently it needs a DbConnection and TraceDbConnection is an IDbConnection
                services
                    .AddDbContextPool<BackofficeContext>(options => options
                        .UseLoggerFactory(loggerFactory)
                        .UseSqlServer(new TraceDbConnection(new SqlConnection(backofficeProjectionsConnectionString)), sqlServerOptions =>
                        {
                            sqlServerOptions.EnableRetryOnFailure();
                            sqlServerOptions.MigrationsHistoryTable(MigrationTables.Backoffice, Schema.Backoffice);
                        }));

Maybe this can help you:
namespace DataDog.Tracing.Sql
{
    using System;
    using System.Data;
    using System.Data.Common;

    public class TraceDbConnection : DbConnection
    {
        private const string ServiceName = "sql";

        readonly ISpanSource _spanSource;
        readonly DbConnection _connection;

        public TraceDbConnection(DbConnection connection)
            : this(connection, TraceContextSpanSource.Instance) { }

        public TraceDbConnection(DbConnection connection, ISpanSource spanSource)
        {
            _connection = connection ?? throw new ArgumentNullException(nameof(connection));
            _spanSource = spanSource ?? throw new ArgumentNullException(nameof(spanSource));
        }

        public IDbConnection InnerConnection => _connection;

        public new void Dispose() => _connection.Dispose();

        protected override DbTransaction BeginDbTransaction(IsolationLevel isolationLevel) => _connection.BeginTransaction(isolationLevel);

        protected override DbCommand CreateDbCommand() => new TraceDbCommand(_connection.CreateCommand(), _spanSource);

        public override void ChangeDatabase(string databaseName) => _connection.ChangeDatabase(databaseName);

        public override void Close() => _connection.Close();

        public override void Open()
        {
            var span = _spanSource.Begin("sql.connect", ServiceName, _connection.Database, ServiceName);
            try
            {
                _connection.Open();
            }
            catch (Exception ex)
            {
                span?.SetError(ex);
                throw;
            }
            finally
            {
                span?.Dispose();
            }
        }

        public override string ConnectionString
        {
            get => _connection.ConnectionString;
            set => _connection.ConnectionString = value;
        }

        public override int ConnectionTimeout => _connection.ConnectionTimeout;

        public override string Database => _connection.Database;

        public override string DataSource => _connection.DataSource;

        public override string ServerVersion => _connection.ServerVersion;

        public override ConnectionState State => _connection.State;
    }

    public class TraceDbCommand : DbCommand
    {
        private const string ServiceName = "sql";
        private readonly DbCommand _command;
        private readonly ISpanSource _spanSource;

        public TraceDbCommand(DbCommand command)
            : this(command, TraceContextSpanSource.Instance) { }

        public TraceDbCommand(DbCommand command, ISpanSource spanSource)
        {
            _command = command;
            _spanSource = spanSource;
        }

        public IDbCommand InnerCommand => _command;

        public new void Dispose() => _command.Dispose();

        public override void Cancel() => _command.Cancel();

        protected override DbParameter CreateDbParameter() => _command.CreateParameter();

        protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)
        {
            const string name = "sql." + nameof(ExecuteReader);
            var span = _spanSource.Begin(name, ServiceName, _command.Connection.Database, ServiceName);
            try
            {
                if (span != null)
                {
                    const string metaKey = "sql." + nameof(CommandBehavior);
                    span.SetMeta(metaKey, behavior.ToString("x"));
                    SetMeta(span);
                }
                return _command.ExecuteReader(behavior);
            }
            catch (Exception ex)
            {
                span?.SetError(ex);
                throw;
            }
            finally
            {
                span?.Dispose();
            }
        }

        private void SetMeta(ISpan span)
        {
            span.SetMeta("sql.CommandText", CommandText);
            span.SetMeta("sql.CommandType", CommandType.ToString());
        }

        public override int ExecuteNonQuery()
        {
            const string name = "sql." + nameof(ExecuteNonQuery);
            var span = _spanSource.Begin(name, ServiceName, _command.Connection.Database, ServiceName);
            try
            {
                var result = _command.ExecuteNonQuery();
                if (span != null)
                {
                    span.SetMeta("sql.RowsAffected", result.ToString());
                    SetMeta(span);
                }
                return result;
            }
            catch (Exception ex)
            {
                span?.SetError(ex);
                throw;
            }
            finally
            {
                span?.Dispose();
            }
        }

        public override object ExecuteScalar()
        {
            const string name = "sql." + nameof(ExecuteScalar);
            var span = _spanSource.Begin(name, ServiceName, _command.Connection.Database, ServiceName);
            try
            {
                if (span != null) SetMeta(span);
                return _command.ExecuteScalar();
            }
            catch (Exception ex)
            {
                span?.SetError(ex);
                throw;
            }
            finally
            {
                span?.Dispose();
            }
        }

        public override void Prepare() => _command.Prepare();

        protected override DbParameterCollection DbParameterCollection => _command.Parameters;

        public override bool DesignTimeVisible { get; set; }

        public override string CommandText
        {
            get => _command.CommandText;
            set => _command.CommandText = value;
        }

        public override int CommandTimeout
        {
            get => _command.CommandTimeout;
            set => _command.CommandTimeout = value;
        }

        public override CommandType CommandType
        {
            get => _command.CommandType;
            set => _command.CommandType = value;
        }

        protected override DbConnection DbConnection
        {
            get => _command.Connection;
            set => _command.Connection = value;
        }

        protected override DbTransaction DbTransaction
        {
            get => _command.Transaction;
            set => _command.Transaction = value;
        }

        public override UpdateRowSource UpdatedRowSource
        {
            get => _command.UpdatedRowSource;
            set => _command.UpdatedRowSource = value;
        }
    }
}

@bcuff I can confirm with the above code I can trace EF :)
Perhaps it is something which can be added?

@CumpsD sure. Feel free to submit that as a pull request.

I invited you to the repository so can push your changes to a new branch without having to fork.

There you go: https://github.com/bcuff/dd-trace-csharp/pull/4
I also added 3 smaller PRs


Crash when finish scaning artifacts

It just crash... Scan artifacts and crash when finish

ok, if you can figure out more details. That would be helpful

I will try, if u something dont understood Im bad with english. Anyway, there is thing, when I start scanning on resolution 1280x720 it scan artifact and when finish artifacts it just crash not show nothing just close self and nothing happend, but on 1680x1050 it work briliant and thank you for this software it helps a lot! <3 anyway I recommended you just remove 1280x720 and it will be fine 💯 :)

Interesting. Thanks for the feedback.

Hi there. Sorry for coming back to this issue after a while. Please let us know if this has been corrected in recent releases or pre-releases so that we may close this issue. Thanks!


AutomaticKeepAliveClientMixin for GetView?

I tried with AutomaticKeepAliveClientMixin but get an error.
AutomaticKeepAliveClientMixin<StatefulWidget>' can't be mixed onto 'GetView<MyController>' because 'GetView<MyController>' doesn't implement 'State<StatefulWidget>'.

What replace it? Thanks...

GetView is a StatelessWidget and AutomaticKeepAliveClientMixin can be used only with StatefulWidget

I will reopen and move to discussions, because I think about implement this resource on future


Run Test Assemblies Test Plan doesn't discover  NUnit .Net Core unit tests

Troubleshooting
log.txt
Environment
VSTS: https://orangetimes.visualstudio.com/Sandbox
Build definition: Sandbox-ASP.NET-CI-TestPlan-CORE
Agent hosted: Hosted VS2017
Issue Description

I need to be able to run unit test associated with manual test cases using NUnit (or xUnit). I was able to get this working on .Net Framework by copying  NUnitTestAdapter to c:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions
as mentioned here https://stackoverflow.com/questions/36622707/error-while-executing-run-functional-test-task-in-vsts. But the same approach doesn't seem to work on .net core test build

Steps to reproduce

Create .net core 2.0 project add few Nunit tests. 1 that passes 1 that fails. Link them to Manual test case (using VSTS api)
Create new  VSTS build defintion
Add Install Nuget + Restore Nuget + Build solution build steps
Add Test assemblies option. With Test plan execution type.
Set Test adapter path to nuget of NUnit3TestAdapter on hosted agent(C:\Users\VssAdministrator.nuget\packages\nunit3testadapter\3.9.0\build\netcoreapp1.0)

I tried also to copy nunit3testadapter to c:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions but that doesn't seem to help
Error logs
2018-01-25T16:41:25.0292099Z Count of test sources found: 1
2018-01-25T16:41:45.2685687Z Number of testcases discovered : 0
2018-01-25T16:41:45.2865205Z [RunStatistics]This execution slice with id '25', received '2' testcases to execute out of which '0' is discovered.

2018-01-25T16:41:45.6063039Z ##[error]ExecutionTaskStateModel.ExecuteTask: Recived error while executing task: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct.
2018-01-25T16:41:45.6063996Z ##[debug]Processed: ##vso[task.logissue type=error;]ExecutionTaskStateModel.ExecuteTask: Recived error while executing task: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct.
2018-01-25T16:41:45.6064548Z    at Microsoft.VisualStudio.TestService.VstestAdapter.Execution.Run(CancellationToken cancellationToken) in E:\v2.0\A7\_work\15\s\Ta\Agent\VS.TestService.VstestAdapter\Phases\Execution.cs:line 59
2018-01-25T16:41:45.6064928Z    at Microsoft.VisualStudio.TestService.VstestAdapter.ExecutionAndPublish.Run(CancellationToken cancellationToken) in E:\v2.0\A7\_work\15\s\Ta\Agent\VS.TestService.VstestAdapter\Phases\ExecuteAndPublish.cs:line 35
2018-01-25T16:41:45.6065292Z    at Microsoft.VisualStudio.TestService.VstestAdapter.VstestAdapter.<>c__DisplayClass2_0.<ExecuteAsync>b__0() in E:\v2.0\A7\_work\15\s\Ta\Agent\VS.TestService.VstestAdapter\VstestAdapter.cs:line 55
2018-01-25T16:41:45.6065550Z    at System.Threading.Tasks.Task`1.InnerInvoke()
2018-01-25T16:41:45.6065725Z    at System.Threading.Tasks.Task.Execute()
2018-01-25T16:41:45.6065909Z    --- End of inner exception stack trace ---
2018-01-25T16:41:45.6066202Z ---> (Inner Exception #0) System.InvalidOperationException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct.
2018-01-25T16:41:45.6066589Z    at Microsoft.VisualStudio.TestService.VstestAdapter.Execution.Run(CancellationToken cancellationToken) in E:\v2.0\A7\_work\15\s\Ta\Agent\VS.TestService.VstestAdapter\Phases\Execution.cs:line 59
2018-01-25T16:41:45.6066945Z    at Microsoft.VisualStudio.TestService.VstestAdapter.ExecutionAndPublish.Run(CancellationToken cancellationToken) in E:\v2.0\A7\_work\15\s\Ta\Agent\VS.TestService.VstestAdapter\Phases\ExecuteAndPublish.cs:line 35
2018-01-25T16:41:45.6067283Z    at Microsoft.VisualStudio.TestService.VstestAdapter.VstestAdapter.<>c__DisplayClass2_0.<ExecuteAsync>b__0() in E:\v2.0\A7\_work\15\s\Ta\Agent\VS.TestService.VstestAdapter\VstestAdapter.cs:line 55
2018-01-25T16:41:45.6067521Z    at System.Threading.Tasks.Task`1.InnerInvoke()
2018-01-25T16:41:45.6067710Z    at System.Threading.Tasks.Task.Execute()<---

@OrangeTimes few things

we don't support associating .net core test and nunit test with a test case.
for running .net core test you need to use .net core task. running netcore test via vstest task is not supported currently
also we should not copy nunit adapter to extension folder. that folder is meant for out of the box adapters that ship as part of VS

@acesiddhu Do you support .Net Standard then? When the support for .net core via vstest will be available?

No we don't support net standard as well

@acesiddhu
Do you have any idea when this will be supported?
Thanks

@acesiddhu
It has been a year and I'm still struggling to find a solution to this problem.
Hope it's going to be implemented soon!

While at it, please add support for the native VSTest C++ Unit Test Framework, too.


Create build.yml

Fixes #
Issue. Ex: Fixes #18
Description
Created a file named build.yml in the path: .github/workflows/
Screenshots

i was also working on issue #20

You have not yet been assigned these tasks, please be patient and wait for me to respond to the issue you have created before you start.
Please read the comment I left in the issue.
I will close this PR, when you respond to the comment I left you, I will gladly assign you the issue and you can create the PR.
Finally, please do not mix several issues in one PR.
Thank you very much.

understood, Thank you for your message I will get back to you with expected results


Prepare your OneDrive environment Update

Need to add a note that the migration account must have permission to the destination OneDrive sites and that the migration tool does not have the capability to do this at run time.

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

ID: 9ee6b3fe-cc73-cf65-8f91-aa75b2bda8f8
Version Independent ID: a49a2330-4e5b-922e-870c-26aca6f63892
Content: Migrate file shares to SharePoint and OneDrive - Migrate to SharePoint and OneDrive
Content Source: migration/Fileshare-to-ODSP-migration-guide.md
Service: sharepoint-online
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

@Marweis  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@Marweis  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Thanks for your feedback @Marweis

Thanks for your feedback @Marweis

Any update on this?
From: Andres Mariano Gorzelany<EMAIL_ADDRESS>Sent: Thursday, January 21, 2021 7:17 AM
To: MicrosoftDocs/OfficeDocs-SharePoint<EMAIL_ADDRESS>Cc: Marlene Weis<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SharePoint] Prepare your OneDrive environment Update (#2553)
Thanks for your feedback @Marweishttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarweis&data=04|01|mamcv%40microsoft.com|31b70313d217425c2eb108d8be173e69|72f988bf86f141af91ab2d7cd011db47|1|0|637468354362024934|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=3s97BbSrJ9ClifY%2FM10eMAlfI428BmYz6nHmLebLThc%3D&reserved=0

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SharePoint%2Fissues%2F2553%23issuecomment-764672002&data=04|01|mamcv%40microsoft.com|31b70313d217425c2eb108d8be173e69|72f988bf86f141af91ab2d7cd011db47|1|0|637468354362024934|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=7Sf2k9SJl19Q3nGeqXVgOF98WVpxjgmM%2B%2F6relgNj%2FQ%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKEUPH27U7TQCD7W6NSDYV3S3AZOPANCNFSM4WLRYF6A&data=04|01|mamcv%40microsoft.com|31b70313d217425c2eb108d8be173e69|72f988bf86f141af91ab2d7cd011db47|1|0|637468354362034933|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FPHqMRzL9YYQbjZoBE3V1lFgdzFGa3EPBF2DGK1Hoo4%3D&reserved=0.

Any update on this?
From: Andres Mariano Gorzelany<EMAIL_ADDRESS>Sent: Thursday, January 21, 2021 7:17 AM
To: MicrosoftDocs/OfficeDocs-SharePoint<EMAIL_ADDRESS>Cc: Marlene Weis<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SharePoint] Prepare your OneDrive environment Update (#2553)
Thanks for your feedback @Marweishttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarweis&data=04|01|mamcv%40microsoft.com|31b70313d217425c2eb108d8be173e69|72f988bf86f141af91ab2d7cd011db47|1|0|637468354362024934|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=3s97BbSrJ9ClifY%2FM10eMAlfI428BmYz6nHmLebLThc%3D&reserved=0

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SharePoint%2Fissues%2F2553%23issuecomment-764672002&data=04|01|mamcv%40microsoft.com|31b70313d217425c2eb108d8be173e69|72f988bf86f141af91ab2d7cd011db47|1|0|637468354362024934|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=7Sf2k9SJl19Q3nGeqXVgOF98WVpxjgmM%2B%2F6relgNj%2FQ%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKEUPH27U7TQCD7W6NSDYV3S3AZOPANCNFSM4WLRYF6A&data=04|01|mamcv%40microsoft.com|31b70313d217425c2eb108d8be173e69|72f988bf86f141af91ab2d7cd011db47|1|0|637468354362034933|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FPHqMRzL9YYQbjZoBE3V1lFgdzFGa3EPBF2DGK1Hoo4%3D&reserved=0.

Any update on this?
From: Manuela Scanu<EMAIL_ADDRESS>Sent: Wednesday, January 20, 2021 8:53 PM
To: MicrosoftDocs/OfficeDocs-SharePoint<EMAIL_ADDRESS>Cc: Marlene Weis<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SharePoint] Prepare your OneDrive environment Update (#2553)
@Marweishttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarweis&data=04|01|mamcv%40microsoft.com|6ca687e530504c5ca4b908d8bdbffa3c|72f988bf86f141af91ab2d7cd011db47|1|0|637467979523317352|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=XnSJcuNg3a1E5B1WRyXx%2FcZ5MBeRadtp7UobbEGFY7g%3D&reserved=0 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SharePoint%2Fissues%2F2553%23issuecomment-764218357&data=04|01|mamcv%40microsoft.com|6ca687e530504c5ca4b908d8bdbffa3c|72f988bf86f141af91ab2d7cd011db47|1|0|637467979523317352|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=F60a4OPgaC7Mcx3MZAceO1rLXbuosQQGH1QrhxeDIo8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKEUPHY2QWETUPNJO622GMDS26QH5ANCNFSM4WLRYF6A&data=04|01|mamcv%40microsoft.com|6ca687e530504c5ca4b908d8bdbffa3c|72f988bf86f141af91ab2d7cd011db47|1|0|637467979523327345|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=OaWt6gl4R5%2FLuD5Sx69oanPNlC5GMAOs0hcX4UQBnG4%3D&reserved=0.

Any update on this?
From: Manuela Scanu<EMAIL_ADDRESS>Sent: Wednesday, January 20, 2021 8:53 PM
To: MicrosoftDocs/OfficeDocs-SharePoint<EMAIL_ADDRESS>Cc: Marlene Weis<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SharePoint] Prepare your OneDrive environment Update (#2553)
@Marweishttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarweis&data=04|01|mamcv%40microsoft.com|6ca687e530504c5ca4b908d8bdbffa3c|72f988bf86f141af91ab2d7cd011db47|1|0|637467979523317352|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=XnSJcuNg3a1E5B1WRyXx%2FcZ5MBeRadtp7UobbEGFY7g%3D&reserved=0 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SharePoint%2Fissues%2F2553%23issuecomment-764218357&data=04|01|mamcv%40microsoft.com|6ca687e530504c5ca4b908d8bdbffa3c|72f988bf86f141af91ab2d7cd011db47|1|0|637467979523317352|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=F60a4OPgaC7Mcx3MZAceO1rLXbuosQQGH1QrhxeDIo8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKEUPHY2QWETUPNJO622GMDS26QH5ANCNFSM4WLRYF6A&data=04|01|mamcv%40microsoft.com|6ca687e530504c5ca4b908d8bdbffa3c|72f988bf86f141af91ab2d7cd011db47|1|0|637467979523327345|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=OaWt6gl4R5%2FLuD5Sx69oanPNlC5GMAOs0hcX4UQBnG4%3D&reserved=0.

Any update on this?
The PR is pending review and approval. Thanks

Any update on this?
The PR is pending review and approval. Thanks

Please let me know when this is published. Thank you!
From: Andres Mariano Gorzelany<EMAIL_ADDRESS>Sent: Monday, January 25, 2021 4:43 PM
To: MicrosoftDocs/OfficeDocs-SharePoint<EMAIL_ADDRESS>Cc: Marlene Weis<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SharePoint] Prepare your OneDrive environment Update (#2553)
Any update on this?
The PR is pending review and approval. Thanks

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SharePoint%2Fissues%2F2553%23issuecomment-767184070&data=04|01|mamcv%40microsoft.com|a9e5969724a34170050708d8c18af24e|72f988bf86f141af91ab2d7cd011db47|1|0|637472149806871859|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=BURWYHikhDD4YjMlnqxUIoEb9rLCpknuetiZng2FKvg%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKEUPH7Z2RAOGEOJUGMCYQDS3X6YFANCNFSM4WLRYF6A&data=04|01|mamcv%40microsoft.com|a9e5969724a34170050708d8c18af24e|72f988bf86f141af91ab2d7cd011db47|1|0|637472149806871859|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=O4vW6AzDBNwDQsS4EMTWKaPoZgjhjpCdjfkDpSLCCPw%3D&reserved=0.


Change name to 'qnames with ip' channel

is that? qnames with ip?
or
qnames by ip?
ip replied for qnames?

is "TopKWithIP" (for now)


apparent bug in sensitivity code

I just ran a test case and it solved but the solution table didn't print due to this key error
Traceback (most recent call last):
  File "C:\Users\mayork\Documents\GitHub\gpkit-models\gpkitmodels\Commercial Sizing\Commerical_Flight_Profile.py", line 530, in <module>
    sol = m.localsolve(kktsolver = "ldl", verbosity = 4)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\prog_factories.py", line 80, in solvefn
    result = solvefn(solver, verbosity-1, *args, **kwargs)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\signomial_program.py", line 128, in localsolve
    result["sensitivities"]["constants"])
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\constraints\set.py", line 218, in sens_from_gpconstr
    constr_sens[str(c)] = c.sens_from_gpconstr(gpa, gp_s, var_senss)
  File "c:\users\mayork\documents\github\gpkit\gpkit\nomials\nomial_math.py", line 714, in sens_from_gpconstr
    constr_sens[str(negy)] = pa_sens["overall"]
KeyError: 'overall'

looks like a possible bug in the sensitivity code
the commit that resulted in this is https://github.com/hoburg/gpkit-models/pull/73/commits/5ce9cbead7c10ca4351213beda4b2d7992c0756d

I believe this only happens when I create a model partially composed of two of the same submodels, like below where I created two engine on design models
#define all the submodels
        cmc = CommericalMissionConstraints(0)
        climb1 = Climb1()
        climb2 = Climb2()
        cruise2 = Cruise2()
        atm = Atmosphere(Nseg)
        eonD = EngineOnDesign()
        eoffD = EngineOffDesign()
        eonD2 = EngineOnDesign()

        substitutions = {
            'W_{e}': 44000*9.8*units('N'),
           ...
            '\pi_{hc_D}': 10
            }
        self.submodels = [cmc, climb1, climb2, cruise2, eonD, eonD2]

        constraints = ConstraintSet([self.submodels])

        constraints.subinplace({'TSFC_{cr21}_Cruise2': 'TSFC_E_EngineOnDesign', 'TSFC_{cr22}_Cruise2': 'TSFC_E_EngineOffDesign',
                                'D2_Cruise2': 'F_{spec_EngineOffDesign'})

        lc = LinkedConstraintSet(constraints, exclude={...'})

        Model.__init__(self, cmc.cost, lc, substitutions, **kwargs)

Any Signomial Equalities in this?

yeah I'm pretty sure its 2 per engine model. However, i just started making new engine classes with different names and I can run without a problem

Oh dear. Will investigate.

Fixed for now by not having constraint sensitivities.


v1 version of UserRegistry smart contract

Actual implementation of the smart contract vs. just architectural decisions (which is currently marked as done).

We have a user registry smart contract in place already:
https://github.com/OriginProtocol/platform/blob/master/packages/contracts/contracts/UserRegistry.sol

Great. Maybe I phrased this incorrectly (forgetting how simple this contract should be). Have we finished mapping out the JSON blob for the ipfsHash part of it?

This was my initial rough draft. Still soliciting feedback on the structure.
https://gist.github.com/joshfraser/d411a9e73fe638364a46d91d9aa08838

Ah ok. So yes, we do have a first draft of the user schema in place. I took Josh's example and made a few tweaks to it. This is what we have right now:
https://github.com/OriginProtocol/platform/blob/master/packages/origin.js/src/schemas/user.json

Cool. Great start. Looking good.
On Mon, Mar 19, 2018 at 12:12 PM, Tyler Yasaka<EMAIL_ADDRESS>wrote:

Ah ok. So yes, we do have a first draft of the user schema in place. I
took Josh's example and made a few tweaks to it. This is what we have right
now:
https://github.com/OriginProtocol/platform/blob/
master/packages/origin.js/src/schemas/user.json
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OriginProtocol/platform/issues/45#issuecomment-374333331,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuxN0Sc-q4WO5YmTCKpfJ_7Aa44j-_sks5tgAMqgaJpZM4SwqT4
.

--
Cofounder of Origin http://www.originprotocol.com
Join our Telegram http://t.me/originprotocol.com


Bug .lproj is broken if Base.lproj is missing

I'm using XcodeGen for a large iOS app, which contains several dependencies and localizations. Many of these dependencies don't have a Base.lproj dir. XcodeGen will not handle the lproj's correctly if this is missing

Thanks @jerrymarino. This is mentioned in #70.
@ryohey Could you summarise what changes we need to fix this?

@jerrymarino @yonaskolb  We can't handle projects correctly that do not use Base Localization for now.
To fix that, we should change to specify the development region to not to use the base localization and fix some codes.
For now it may resolved by renaming the localization directory of your development language to Base.lproj.
I want to see the project to accurately reproduce the problem, Could you share your project?

So if we basically just add up all the localizations we find and use them to set the known regions, and then have an editable development region we should be good for all cases

Yes, I think that's right. It is good to add developmentRegion to options.
options:
  developmentRegion: ja # or Japanese, en, English and others defined in NSLocale should be supported

But this is per project preference. I don't know about future spec that may supports multiple projects #124)
@yonaskolb How do you think about that?

Yeah sounds good.
Would anyone have time to submit a PR?

Thanks I will fix this.

@yonaskolb @ryohey awesome, thanks so much! I think this would make it a lot easier to use  👍
It was confusing to me that it didn't just work. After I found it needed Base.lproj out, I ended up creating the Base.lproj for app, and in all of their dependencies that are localized.

Once this is done, I'll cut a release

Resolved in #155

Actually #155 won't fix the issue of not having a Base.lproj


JBPM-5714 - Showcase fixes

Add security policy definition
Moved .less files to public folder
Renamed perspectives
Included Errai generated classes into final war file, via errai.server.classOutput system property.

@bsremac the missing security policy file was the reason for the empty screen after login, should be fixed now.

@cristianonicolai I've built the jbpm-wb-case-mgmt-showcase.war with the changes contained in this PR and used org.jbpm.casemgmt.showcase.path property to point at it during provisioning - I still see the same blank page after logging in.

Depends on https://github.com/uberfire/uberfire/pull/641

@bsremac thanks for verifying that, after investigating it further, the real issue is that both apps workbench and case app were sharing the same .niogit folder to store its Uberfire related settings. Pushing a fix to Uberfire so that each one can have independent folders.

@nmirasch @bsremac when you guys have a chance, please review.

@cristianonicolai I am able to access CaseList after provisioning, but I couldn't verify access to CaseOverview because I can't start a case instance through New Case Instance dialog (after clicking Start button nothing happens).
+1 as I think the problem with starting a case instance is unrelated to the scope of this PR.

+1


Merge dev to feat-fast-sync 04.02.2022

This PR integrates the recent changes from the dev (as of 04.02.2022 9:30am CEST) branch into the feat-fast-sync branch.
Merged w/o conflicts.

bors r+


File formats too long

What

The file format MIME types are too long and are pushing the menu way too wide

Where

https://wellcomecollection.org/works/butp6xgr
To do

From Ashley

Related: #11018

Same as https://github.com/wellcomecollection/wellcomecollection.org/issues/11018#issuecomment-2260181410


Lint check a part of CI

Expected behavior
Committed code should conform to the expected formatting & linting rules.
Actual behavior
No enforcement of formatting / linting rules as part of the PR.
When lint is run locally there are a number of files that get auto-fixed.
Steps to reproduce the behavior
The lint target uses --fix, when run locally on a fresh checkout I'm getting many local changes.
npm run lint
git status
On branch linting
Your branch is up to date with 'origin/linting'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   package-lock.json
	modified:   src/strategies/balance-in-vdfyn-vault/index.ts
	modified:   src/strategies/cyberkongz/index.ts
	modified:   src/strategies/holds-tokens/index.ts
	modified:   src/strategies/hopr-bridged-balance/index.ts
	modified:   src/strategies/index.ts
	modified:   src/strategies/loot-character-guilds/index.ts
	modified:   src/strategies/mcn-farm/index.ts
	modified:   src/strategies/mstable/index.ts
	modified:   src/strategies/occ-stake-of/index.ts
	modified:   src/utils.ts

@CjHare Thanks for the Idea :) We now have an automated lint that raises a PR every week with the fixes


Threshold specification does not allow positive improvements in benchmarks

What feature do you want to see added?
The current threshold classes all take absolute values of changes (e.g. absolute delta in execution time compared to last build, or absolute percentage of change in execution time compared to last build), but in all cases positive changes (e.g. faster execution) will still be regarded as a negative outcome and will mark the benchmark as failed. It should be possible to mark benchmarks as passing when the execution time has improved or is equal to the previous build, and only fail those where execution time is actually worse.
Upstream changes
No response

I realized someone already implemented this change under this pull request: https://github.com/jenkinsci/benchmark-plugin/pull/26
What is blocking this to be merged?


CRT is statically linked on Windows

msquic statically links the CRT on Windows. This is different from how CoreCLR (and other CoreCLR components) link the CRT - they link to UCRT dynamically.
This has three effects:

msquic.dll is likely a lot bigger than it needs to (we saw 200 kB savings when NativeAOT switched to UCRT a couple weeks back: https://github.com/dotnet/runtime/pull/71182).
Bigger size means bigger working set impact.
Security fixes done to the CRT will not be automatically picked up when the OS is serviced

Cc @vitek-karas @sbomer @karelz @wfurt

MsQuic supports dynamic link. If using build.ps1, specify -DynamicCRT or if using cmake set QUIC_STATIC_LINK_CRT=off.

MsQuic supports dynamic link. If using build.ps1, specify -DynamicCRT or if using cmake set QUIC_STATIC_LINK_CRT=off.

It might be a bit more work because in the runtime repo we do:
https://github.com/dotnet/runtime/blob/82cfad54504c4a8e236f754b9954aeb413654bf7/eng/native/configurecompiler.cmake#L104-L106
This links dynamically against the OS-supplied UCRT, but avoids the VCRuntime140.dll dependency (that doesn't ship with the OS).
We don't want to introduce a dependency on things that don't ship with the OS.

Would you be able to propose a change to MsQuic to fix this?

Would you be able to propose a change to MsQuic to fix this?

https://github.com/microsoft/msquic/pull/2962

Thanks @MichalStrehovsky!
@wfurt @rzikm we should probably get it into 7.0 if at all possible. I assume it will require update to msquic release branch ...

@rzikm is this fixed? Should we close this?

https://github.com/microsoft/msquic/pull/2962 is merged, so I expect it is. Not sure if it made it in 7.0 though.

This will get automatically propagated to 8.0 with newer msquic, closing unless there's push back on backport.


Unable to sign in

Hi,
I've installed all of the required programs and have followed the setup instructions, but every time I click "Continue with Spotify", I get a message saying "Unable to log in.
You will be redirected to the home page. If you are not redirected, click here", which just takes me back to the "Continue with Spotify" page.
In the terminal I get the error message:
[next-auth][error][SIGNIN_OAUTH_ERROR]
https://next-auth.js.org/errors#signin_oauth_error client_id is required {
error: {
message: 'client_id is required',
stack: 'TypeError: client_id is required\n'
,even though I've put my client ID in the correct places. I've tried a fresh install of the program as well as new Spotify client and secret ID's and can't get it to work unfortunately. Any help would be appreciated :)

Hi @washhtubs, can you share where you've added the client_id? e.g. what does your env file look like? Make sure to redact your actual data.

Hi, I've added the client_id into the .env.local file ("C:. . .\Documents\NZXT Web Integrations\web-integrations-examples-main\web-integrations-examples-main\spotify-album-art.env.local.txt") which I'm fairly certain is in the right directory, correct me if I'm wrong though.
The actual file with ID's censored reads:
JWT_SECRET=XXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
NEXTAUTH_URL=http://localhost:3000
SPOTIFY_CLIENT_ID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SPOTIFY_CLIENT_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

@washhtubs the file needs to be named .env.local not spotify-album-art.env.local.txt - try that?

The file is called .env.local, not sure why the file path didn't say that.
I've tried all the steps again and am still getting the same message.


Message not showing when killed by mobs or own projectile

Changed it so whenever hostile mobs kills you it won't show that you're out of combat, as well as when killed by your own projectile or explosion.

So that last if statement checking if the entity is a spawnable is empty you already checked if the killer was a player. Could you remove it before I merge?


Problem with Twemproxy integration

Hi Michaco,
I reach you because I'm having some problems while using Michaco CacheManager with Twemproxy integration.
Everything works fine when using Redis directly but when I try to save the key/value using TwemProxy integration it is never saved and does not throw any exception.
Here I leave a portion of the code where the CacheFactory is created:
CacheFactory.Build<TData>("CacheManager", settings =>
	settings
		.WithUpdateMode(CacheUpdateMode.Up)
		.WithSystemRuntimeCacheHandle(localCacheHandleName)
		.WithExpiration(ExpirationMode.Absolute, _expireConfigDuration)
		.And.WithJsonSerializer()
		.WithRedisConfiguration(redisCacheHandleName, rcb =>
		{
			rcb = rcb
				.WithEndpoint(_redisEndPoint, _redisPortNumber)
				.WithPassword(_redisPassword)
				.WithAllowAdmin()
				.UseTwemproxy()
				.WithDatabase(_redisDataBaseNumber);

			if (_redisIsSsl)
				rcb = rcb.WithSsl();
		})
		.WithLogging(typeof(CacheManagerLoggerFactory), new object[] { })
		.WithRetryTimeout(_redisTimeOutRetries)
		.WithMaxRetries(_redisMaxRetries)
		.WithRedisBackplane(redisCacheHandleName)
		.WithRedisCacheHandle(redisCacheHandleName, true)
	);

This is the code that I'm using to save the key:
var item = _cache.GetOrAdd("mykey", region, (k, r) => new CacheItem<T>(k,r, dataLoadFunc(), ExpirationMode.Absolute, _expiration));

dataLoadFunc() function does a query to a SQL DB.
Thanks!

Hard to tell without a repro. Do you have any log information coming from CacheManager.
If it doesn't throw, it should at least try to store the values.
Tbh, I don't use a proxy myself so this "fallback" is not tested very well in general

Hi Michaco. Thanks for the quick reply.
This is the exception that is generated when the ChacheManager is created:
ERROR CacheManager.Core.BaseCacheManager`1[[System.Int32, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]] [(null)] - EventId: 0, Message: Error occurred while creating the cache manager.
System.InvalidOperationException: Failed to initialize instance of type CacheManager.Redis.RedisCacheBackplane. ---> System.NotSupportedException: The pub/sub API is not available via twemproxy
   en StackExchange.Redis.ConnectionMultiplexer.GetSubscriber(Object asyncState) en c:\code\StackExchange.Redis\StackExchange.Redis\StackExchange\Redis\ConnectionMultiplexer.cs:línea 1027
   en CacheManager.Redis.RedisConnectionManager.get_Subscriber()
   en CacheManager.Redis.RedisCacheBackplane.Subscribe()
   en CacheManager.Redis.RedisCacheBackplane.<.ctor>b__10_0()
   en CacheManager.Redis.RetryHelper.<>c__DisplayClass3_0.<Retry>b__0()
   en CacheManager.Redis.RetryHelper.Retry[T](Func`1 retryme, Int32 timeOut, Int32 retries, ILogger logger)
   en CacheManager.Redis.RetryHelper.Retry(Action retryme, Int32 timeOut, Int32 retries, ILogger logger)
   en CacheManager.Redis.RedisCacheBackplane..ctor(ICacheManagerConfiguration configuration, ILoggerFactory loggerFactory)

Thanks!

Ah well, so you did get an exception and the message clearly explains why its not working.
You cannot use the backplane feature with TwemProxy because the proxy doesn't have PubSub.
(I forgot about that, otherwise I'd have mentioned that earlier ^^)

Yes, with that in mind, I delete the "WithRedisBackplane()" line from the creations of the CacheManager object but the problem still persists. The exception is not thrown but the key is still not saved y Redis.
Thanks!


NCTL ::  fix accounts.toml regressions + counter contract

The generated account.toml file had an erroneous field name (staked_amount), this has been updated to bonded_amount.
Added initial support for counter-contract ... but still issue with invoking it.

Can you extract c3e6482 (#966) to a separate PR? Looks like another(separate) bug.


💾 Add ability to specify secondary_storage for default and GPU worker pool

When using the DA, GPU nodes can quickly reach disk pressure with several users creating Data Science Workbenches and notebooks -- as by default they only have 100GB of primary storage.
The underlying base-ocp module supports the secondary_storage option
https://github.com/terraform-ibm-modules/terraform-ibm-base-ocp-vpc/blob/d3c8a3dd6844ba66ddef88b62a206c4e394f4076/variables.tf#L72
but it is not exposed in the DA
https://github.com/IBM/roks-openshift-ai-da/blob/f66ff40aad31ee60044a353132d00508097be4b0/main.tf#L164

[ ] add new optional input variable gpu-secondary-storage for the GPU worker pool in https://github.com/IBM/roks-openshift-ai-da/blob/f66ff40aad31ee60044a353132d00508097be4b0/variables.tf#L23
[ ] use the new variable https://github.com/IBM/roks-openshift-ai-da/blob/f66ff40aad31ee60044a353132d00508097be4b0/main.tf#L173
[ ] expose variable in https://github.com/IBM/roks-openshift-ai-da/blob/f66ff40aad31ee60044a353132d00508097be4b0/ibm_catalog.json#L181
[ ] update inputs https://github.com/IBM/roks-openshift-ai-da/blob/f66ff40aad31ee60044a353132d00508097be4b0/README.md?plain=1#L69 and add example of the values it can take is 300gb.5iops-tier)

added secondary storage to the GPU worker pool.


Missing loader for .glsl?raw file in node_modules with vite dev

Describe the bug
I am using svelte-package to create a component library.
One of the files uses vite's ?raw feature to externalize WebGL shader code.
Since svelte-package only copies the files to the build folder, I get the following error:
✘ [ERROR] No loader is configured for ".glsl" files: node_modules/@streamonkey/ui/dist/svg/Waveform/_Hullcurve/shaders/debug/fragment.glsl?raw

    node_modules/@streamonkey/ui/dist/svg/Waveform/_Hullcurve/debugPipeline.js:2:26:
      2 │ import debugfragment from "./shaders/debug/fragment.glsl?raw";

Note that the vite build runs fine. Also please note that with npm i ../package I wasn't able to reproduce the error. It only worked after npm i ../package/package-0.0.1.tgz
Alternatives that I tried:
        optimizeDeps: {
		exclude: ["package"]
	}

but this breaks in other ways in my code (I suspect because the packages peer dependencies were optimized earlier?)
Reproduction
https://github.com/RSWilli/vite-bug-repro
Steps to reproduce
(See Readme.md)

cd ui
npm i
npm run dev
open in browser

System Info
System:
    OS: Linux 6.1 Arch Linux
    CPU: (8) x64 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
    Memory: 16.88 GB / 31.21 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
  Browsers:
    Chromium: 114.0.5735.106
    Firefox: 114.0
  npmPackages:
    vite: ^4.3.0 => 4.3.9

Used Package Manager
npm
Logs

Click to expand!
  vite:deps new dependencies found: package +0ms
✘ [ERROR] No loader is configured for ".glsl" files: node_modules/package/dist/foo.glsl?raw

    node_modules/package/dist/private.js:1:17:
      1 │ import text from './foo.glsl?raw';
        ╵                  ~~~~~~~~~~~~~~~~

13:02:23 [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/package/dist/private.js:1:17: ERROR: No loader is configured for ".glsl" files: node_modules/package/dist/foo.glsl?raw
    at failureErrorWithLog (/home/willi/projects/vite-bug-repro/ui/node_modules/esbuild/lib/main.js:1636:15)
    at /home/willi/projects/vite-bug-repro/ui/node_modules/esbuild/lib/main.js:1048:25
    at /home/willi/projects/vite-bug-repro/ui/node_modules/esbuild/lib/main.js:1512:9
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  vite:optimize-deps load /home/willi/projects/vite-bug-repro/ui/node_modules/.vite/deps/package.js +530ms
  vite:time 138.07ms /node_modules/.vite/deps/package.js?v=14e7ba8a +140ms

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

related: https://github.com/vitejs/vite/issues/13372


can not launch jest

I had a simple jest test that uses puppeteer (with jest-puppeteer preset) running fine and I wanted to run it within a docker container.
I'm trying to follow the instructions here so basically using jest-puppeteer-docker preset instead and adding the example jest-puppeteer.config.js.  Now when I launch jest I get the following error:
TypeError: Cannot read property 'chromium_revision' of undefined

me too, any news on this?

A quick workaround is in your package.json set cross-env process.env.PUPPETEER_CHROMIUM_REVISION=r768783
Each puppeteer version comes with specific chrome version, you can pick yours from the release:
https://github.com/puppeteer/puppeteer/releases
The fault is on this require, haven't had time to check, put probably it's to do with different package structure or some file not being at root level.
`
in setup.js
const revision =
process.env.PUPPETEER_CHROMIUM_REVISION ||
process.env.npm_config_puppeteer_chromium_revision ||
require(path.resolve(puppeteerConfigPath)).puppeteer.chromium_revision;
`

Thank you.  This workaround does work.  However since chromium is included in the docker container we should be skipping the download step right?.
I tried setting the environment variable PUPPETEER_SKIP_CHROMIUM_DOWNLOAD to true so it should bypass this step, but it always seems to require this, so this is a bit confusing.

I did it through, "preinstall": "cross-env process.env.PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true" in package.json
But this requires that you have cross-env installed beforehand or is globaly accessible.
Also it is an optimization step as I understand, so it's optional. You should be able to get it working with or without it.

Sorry for the very late reply, I don't seem to be getting notifications.
The way it should be working is it finds Puppeteer's package.json in your node_modules folder, and it grabs the supported Chromium version defined, and then uses that to create the Docker container with that version of Chromium setup.
It appears Puppeteer have changed the structure of their package.json in a recent version and it now doesn't include the property I rely on. I now need to do a bit more work to grab the version. I will make the change and release a new version today. Thanks for reporting.

@ivarvolt @cuongluu8 @testerthomas09 I've released a new version 1.4.2 which updates the logic for getting the Chromium version from the Puppeteer config. It's backwards compatible with older versions of Puppeteer.
It should be working now but let me know if there are any problems.

PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true is working now.   Thanks 👍


[polyfill] watching the same signal multiple times is not de-duplicated

I expected this to show 1 source, but it shows 2.
  watcher.watch(signal0);
  watcher.watch(signal0);
  console.log(Signal.subtle.introspectSources(watcher).length); // 2

Reproduction

Good catch! This should be deduplicated.

I think it's a footgun to not not deduplicate. I already wrote code that assumed watch() naturally would.
I think if watch() doesn't deduplicate, then the name should be changed to make it more obvious. Maybe addSignal() would convey that?

Ahh, watch definitely should (in the sense that you should ideally get one notification per signal being watched).


Not working on Vue 3 with Vite

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_c')
    at Proxy.t2 (LightBox.vue:3:20)
    at renderComponentRoot (runtime-core.esm-bundler.js:914:44)
    at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5649:57)
    at ReactiveEffect.run (reactivity.esm-bundler.js:190:25)
    at instance.update (runtime-core.esm-bundler.js:5763:56)
    at setupRenderEffect (runtime-core.esm-bundler.js:5777:9)
    at mountComponent (runtime-core.esm-bundler.js:5559:9)
    at processComponent (runtime-core.esm-bundler.js:5517:17)
    at patch (runtime-core.esm-bundler.js:5119:21)
    at mountChildren (runtime-core.esm-bundler.js:5303:13)

Hello, sorry for the late reply. I specifically updated the description of the npm to specify that it's for Vue 2. I will be integrating it with Vue 3 in the foreseeable future, so there might be a new version but I'm not making any promises.

@janosrusiczki any plans for Vue 3 soon?


add koyo finance to ecosystem

Codecov Report

Merging #178 (0262c08) into develop (b233ad0) will increase coverage by 26.19%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop     #178       +/-   ##
============================================
+ Coverage    47.14%   73.34%   +26.19%
============================================
  Files           99       65       -34
  Lines         3875     1958     -1917
  Branches       761      321      -440
============================================
- Hits          1827     1436      -391
+ Misses        2048      522     -1526

Flag
Coverage Δ

boba-contracts
?

contracts
77.71% <ø> (ø)

core-utils
86.77% <ø> (ø)

data-transport-layer
30.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...racts/contracts/oracle/SimplePriceFeedRegistry.sol

...boba/contracts/contracts/oracle/FluxAggregator.sol

.../contracts/contracts/L1MultiMessageRelayerFast.sol

...ckages/boba/contracts/contracts/ERC721Registry.sol

...s/boba/contracts/contracts/bridges/L2NFTBridge.sol

...ba/contracts/contracts/DAO/governance/Timelock.sol

...ackages/boba/contracts/contracts/ERC721Genesis.sol

...ontracts/contracts/standards/L2GovernanceERC20.sol

...contracts/DAO/governance/GovernorBravoDelegate.sol

packages/boba/contracts/contracts/ERC2470.sol

... and 24 more

Continue to review full report at Codecov.

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


Microsoft lists for Android.

Under "Required Approved app" it lists the Microsoft Lists App. However id does not indicate that iOS is the only application supported.
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-grant#require-approved-client-app
Under "Required Application protection" it does show that Microsoft Lists is only supported for iOS.
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-grant#require-app-protection-policy
Further research show that Microsoft lists for Android is not listed under Supported Microsoft Intune Apps:
Supported Microsoft Intune apps | Microsoft Docs
Is this an oversight or is NS Lists for Android supposed to be supported. Our experience proves otherwise.

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

ID: bd934939-4dbb-3a92-f996-56b9557f49ac
Version Independent ID: 3cda6b81-26e8-c9ac-e768-d912636a461b
Content: Grant controls in Conditional Access policy - Azure Active Directory
Content Source: articles/active-directory/conditional-access/concept-conditional-access-grant.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Coopem16
Thanks for your feedback! We will investigate and update as appropriate.


Add Boston house price prediction.

Dataset Link
Dataset
Description
Prediction of house price based on the factors in the dataset.

Can I work on this issue

Yeah sure !


Move rate limiter into separate package

While rate limiter is awesome in the algorithm it uses and its ability to avoid load peaks, the problem is better to be solved at the server (such as nginx) level: it is more performant that way.
A separate package would be useful for environments where you don't have control over your webserver:

Installable products such as CMS.
Shared hosting.

 Move rate limiter into separate package

https://github.com/yiisoft/rate-limiter


chore(package): update kronos-endpoint to version 2.14.11

https://greenkeeper.io/

Codecov Report

Merging #208 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #208   +/-   ##
=======================================
  Coverage   88.53%   88.53%
=======================================
  Files           1        1
  Lines         218      218
=======================================
  Hits          193      193
  Misses         25       25

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 e07c7ce...7050e01. Read the comment docs.


FreeLib

FreeLib is a cataloguer of books from various online libraries (librusec, flibusta and other). An OS X analogue for Windows applications MyRuLib and MyHomeLib.

Thank you for the contribution. It needed some fixes, so they were made in aa5c4e756950a8094add47f1c006fcd0c6a68de2. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


waitUntilUp() raise Exception('Timeout reached when trying to connect')

python version: PyPy 7.3.3-beta0 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)
OS: self-configured Linux 6.0.0 with network enabled(able to use wget, pip, and ping)
I was trying to execute ./run_all.sh pypy3 after configured all prerequisites, then I encountered this problem. Here is the trace log:
[1/1] flaskblogging...
# /root/vmshare/python-macrobenchmarks/venv/pypy3.7-37b672b9fc89-compat-84ebb708f58d/bin/python -u /root/vmshare/python-macrobenchmarks/benchmarks/bm_flaskblogging/run_benchmark.py --output /tmp/tmpwxtbfkph --inherit-enviroD
Command failed with exit code 1
Traceback (most recent call last):
  File "/root/vmshare/python-macrobenchmarks/benchmarks/bm_flaskblogging/run_benchmark.py", line 76, in <module>
    with context:
  File "/root/pypy3.7-v7.3.3-linux64/lib-python/3/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/root/vmshare/python-macrobenchmarks/benchmarks/bm_flaskblogging/netutils.py", line 36, in serving
    waitUntilUp(addr)
  File "/root/vmshare/python-macrobenchmarks/benchmarks/bm_flaskblogging/netutils.py", line 66, in waitUntilUp
    raise Exception('Timeout reached when trying to connect')
Exception: Timeout reached when trying to connect
ERROR: Benchmark flaskblogging failed: Benchmark died
Traceback (most recent call last):
  File "/tmp/benchmark_env/site-packages/pyperformance/run.py", line 147, in run_benchmarks
    verbose=options.verbose,
  File "/tmp/benchmark_env/site-packages/pyperformance/_benchmark.py", line 191, in run
    verbose=verbose,
  File "/tmp/benchmark_env/site-packages/pyperformance/_benchmark.py", line 232, in _run_perf_script
    raise RuntimeError("Benchmark died")
RuntimeError: Benchmark died

I'm not sure what's happening in your traceback but I'm guessing it's an issue either with your setup or with pypy. Can you try setting up a CPython (normal python) environment and seeing if the same command works there?
You are also using the old benchmark runner (sorry for the confusion, that should probably be removed), could you try using the new one, something like:
pypy3 -m pip install --user pyperformance
pypy3 -m pyperformance run --manifest pyston-macrobenchmarks/benchmarks/WEB_MANIFEST -b flaskblogging

Reinstall the importlib-metadata with version 4.13.0 and also change the netutils.serving() call to add quiet=False could solve this problem. Refer to this problem: https://stackoverflow.com/questions/73929564/entrypoints-object-has-no-attribute-get-digital-ocean.
Here is my final output
[1/1] flaskblogging...
# /root/vmshare/python-macrobenchmarks/venv/pypy3.7-37b672b9fc89-compat-84ebb708f58d/bin/python -u /root/vmshare/python-macrobenchmarks/benchmarks/bm_flaskblogging/run_benchmark.py --output /tmp/tmpgmzrc9ys --inherit-enviroD
 * Serving Flask app "serve" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
............
WARNING: the benchmark result may be unstable
* the standard deviation (1.08 ms) is 14% of the mean (7.98 ms)

Try to rerun the benchmark with more runs, values and/or loops.
Run 'python -m pyperf system tune' command to reduce the system jitter.
Use pyperf stats, pyperf dump and pyperf hist to analyze results.
Use --quiet option to hide these warnings.

flaskblogging: Mean +- std dev: 7.98 ms +- 1.08 ms

Performance version: 1.0.5
Python version: PyPy 7.3.3-beta0 (Python 3.7.9) (64-bit) revision 7e6e2bb30ac5
Report on Linux-6.0.0+-x86_64-with-glibc2.2.5
Number of logical CPUs: 2
Start date: 2022-12-20 06:32:51.086244
End date: 2022-12-20 06:34:50.998737

### flaskblogging ###
Mean +- std dev: 7.98 ms +- 1.08 ms


Azure AD B2c - Ineffective log out mechanism (frustrated)

Dear All,
Hope you are doing great.
Issue it that you never het full signout from azure ad b2c.
Lets suppose you are sign in to microsoft

and in web app you have and controller account and view index In steps...

so when first time render https://abc.com/account/index, now you capture this request into fiddler. you get response http 200 and some data lets suppose you get "hello world"

Next you call logout end point in your web app by running following code mentioned below

IEnumerable authTypes = HttpContext.GetOwinContext().Authentication.GetAuthenticationTypes(); HttpContext.GetOwinContext().Authentication.SignOut(authTypes.Select(t => t.AuthenticationType).ToArray()); Request.GetOwinContext().Authentication.GetAuthenticationTypes();
in fiddler it show it has show  you a path something https://login.microsoftonline.com/common/oauth2/logout?.....

Close browser

repeat step 1

again you get response http 200 and some data "hello world" instead of http 401
that is big big issue in Azure AD B2C.
it does not matter in Azure ad b2c sign in polices SSO is enabled or disabled, output is same.
Issue also metnioned here https://docs.microsoft.com/answers/questions/2233/azure-ad-b2c-ineffective-log-out-mechanism.html

@kamranbashir Please provide us with the link to the documentation you are referring to so we can better assist.

here is the link
https://github.com/Azure-Samples/active-directory-b2c-dotnet-webapp-and-webapi/blob/master/TaskWebApp/Controllers/AccountController.cs
we are not using MSAL, but reset is same

Hi @kamranbashir , thanks for reporting this! Since this is being tracked in Q&A I am closing this as a duplicate and will continue to track there. The doc issues are meant more for bugs with the docs themselves.


Build instructions on README.md and build.sh assumes Debian/Ubuntu distribution

Also, strangely enough, I couldn't find the package clang++ in Debian or Ubuntu package search... @blueloveTH what Linux distribution are you using to build?

I am using WSL with ubuntu.

@blueloveTH, I think I pointed to the wrong package when I told you about clang++ installation. Apparently, clang++ is part of clang, and it gets automatically installed when you run the command: sudo apt-get install clang


用存在chromadb中一模一样的文档名检索，但有时无法找到这个文档？

I have 15,000 pieces of data stored in chromadb. Each piece of data contains (document name, document content). I searched the document names of these 15000 data without modification, but 66 of the document names did not retrieve the correct document

@tazarov Thanks! Maybe I didn't explain the problem clearly.

I used the command in the picture above to add 15,000 unique document names to "documents“
Then, I use  results = collection.query(     query_texts=["doc1 to doc 15000"],     n_results=1 ) to query . The queried text is the same as the stored text. However, there are 66 of the queried text did not retrieve the correct stored text.
Why does this happen? Is it caused by the underlying retrieval mechanism of chromadb?

@ leaf-ygq, the challenge you face comes from the embedding function. I did some testing with higher M and ef_construction values for hnsw lib (you can see the experiments in this notebook). As you'll notice strings like doc2329 and doc2321 appear to be closely related in the latent space of your embedding function.
Maybe if you elaborate a little on your use case we can help you with your use case.

same here

same here

@zh2024, can you try to create your collection (this only when the collection is first created) with "hnsw:search_ef":100 in your collection metadata:
collection = client.get_or_create_collection("my_collection",metadata={"hnsw:search_ef":100})

Then, import your data and query it.
Let me know the results.

I can't share my raw data.
I generate some random strings, get the similar results.
I think this is a bug in chromadb. I don't find the same situation in faiss.
# %%
import os

# set local proxy
os.environ["http_proxy"] = "http://<IP_ADDRESS>:7897"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7897"

# %%
import chromadb

path = "./chromadb_kb_test"

client = chromadb.PersistentClient(path=path)

# %%
collection_name = "test_collection"

collections = client.list_collections()
print("collections",collections)
for collection in collections:
    if collection.name == collection_name:
        client.delete_collection(collection_name)
        break
client.list_collections()

# %%
import random

characters = "的一是在不了有和人这中大为上个国我以要他时来用们生到作地于出就分对成会可主发年动同工也能下过子说产种面而方后多定行学法所民得经十三之进着等部度家电力里如水化高自二理起小物现实加量都两体制机当使点从业本去把性好应开它合还因由其些然前外天政四日那社义事平形相全表间样与关各重新线内数正心反你明看原又么利比或但质气第向道命此变条只没结解问意建月公无系军很情者最立代想已通并提直题党程展五果料象员革位入常文次品式活设及管特件长求老头基资边流路级少图山统接知较将组见计别她手角期根论运农指几九区强放决西被干做必战先回则任取据处队南给色光门即保治北造百规热领七海口东导器压志世金增争济阶油思术极交受联什认六共权收证改清己美再采转更单风切打白教速花带安场身车例真务具万每目至达走积示议声报斗完类八离华名确才科片认限米商命"

def gen_random_str(length):
    return ''.join(random.choice(characters) for _ in range(length))

def generate_str_arr():
    string_array = [[gen_random_str(random.randint(5, 50)), index] for index in range(9000)]
    return string_array

# generate random strings
chunks = generate_str_arr()
print(chunks)

# %%
from chromadb import Documents, EmbeddingFunction, Embeddings
from sentence_transformers import SentenceTransformer
import torch

class MyEmbeddingFunction(EmbeddingFunction):
    def __init__(self) -> None:
        super().__init__()
        self.model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
        device = "cuda" if torch.cuda.is_available() else "cpu"
        self.model.to(device)

    def __call__(self, input: Documents) -> Embeddings:
        return self.model.encode(input).tolist()

emb_fn = MyEmbeddingFunction()

collection = client.create_collection(name=collection_name, embedding_function=emb_fn, metadata={"hnsw:space": "ip"})

# %%
documents = [chunk[0] for chunk in chunks]
metadatas = [{"id": chunk[1]} for chunk in chunks]
print(documents)
print(metadatas)

# %%
collection.add(documents=documents, metadatas=metadatas, ids=[f"{chunk[1]}" for chunk in chunks])

# %%
from typing import List
import torch

def get_query_results(query_texts: List[str], n_results=1):
    results = collection.query(
        query_texts=query_texts,
        n_results=n_results,
        include=["metadatas","distances","documents"]
    )

    res = {}
    res["documents"] = results["documents"]
    res["similarities"] = ((1 - torch.tensor(results["distances"])) * 100).tolist()
    res["ids"] = [[metadata["id"] for metadata in metadata_list] for metadata_list in results["metadatas"]]
    return res

get_query_results(documents[:5])

# %%
documents = [chunk[0] for chunk in chunks]
id_list = [chunk[1] for chunk in chunks]

print(documents)
print(id_list)

# %%
import itertools
doc_it = iter(documents)
id_it = iter(id_list)
group_size = 1000
pred_ids = []

unmatch_docs = []
unmatch_ids = []
while True:
    doc_chunks = list(itertools.islice(doc_it, group_size))
    id_chunks = list(itertools.islice(id_it, group_size))
    if not doc_chunks:
        break
    results = get_query_results(doc_chunks, n_results=1)
    ids = [item for sublist in results["ids"] for item in sublist]

    unmatch_index = [i for i, (x, y) in enumerate(zip(id_chunks, ids)) if x != y]
    unmatch_docs.extend([doc_chunks[i] for i in unmatch_index])
    unmatch_ids.extend([id_chunks[i] for i in unmatch_index])

    pred_ids.extend(ids)
print(pred_ids)

# %%
# get accuracy
sum(x == y for x, y in zip(id_list, pred_ids)) / len(id_list)

# %%
unmatch_pairs = list(zip(unmatch_docs, unmatch_ids))
len(unmatch_pairs)

# %%
unmatch_pairs

# %%
print(unmatch_pairs[0][0])
results = get_query_results([unmatch_pairs[0][0]], n_results=1)
results

the result show that accuracy is 98.322%， but in my case, it should be 100%, because every query is in the db.
And I find that if you change n_results=10, you will get right result.


Translate "Approachable" into Korean in Python design

Link : https://azure.github.io/azure-sdk-korean/python_design.html

Resolved #91