travis CI build failing with KeyError: 'PROJ_LIB'

Current spaghetti build on TravisCI build is failing when installing geopandas via conda and is a known issue: conda-forge/basemap-feedstock#30.
@ocefpaf, might this be similar to the boto3 issue from over the week (#114) or could conda-forge/pyproj-feedstock#18 be the culprit?

======================================================================
ERROR: Failure: KeyError ('PROJ_LIB')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/imp.py", line 245, in load_module
    return load_package(name, filename)
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/imp.py", line 217, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 693, in _load
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 697, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/travis/build/pysal/spaghetti/spaghetti/__init__.py", line 7, in <module>
    from .network import Network, PointPattern, SimulatedPointPattern, SortedEdges
  File "/home/travis/build/pysal/spaghetti/spaghetti/network.py", line 7, in <module>
    from . import util
  File "/home/travis/build/pysal/spaghetti/spaghetti/util.py", line 1, in <module>
    from libpysal import cg
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/libpysal/__init__.py", line 28, in <module>
    from . import io
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/libpysal/io/__init__.py", line 3, in <module>
    from .iohandlers import *
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/libpysal/io/iohandlers/__init__.py", line 4, in <module>
    from . import gwt
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/libpysal/io/iohandlers/gwt.py", line 3, in <module>
    from ...weights.weights import W
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/libpysal/weights/__init__.py", line 2, in <module>
    from .distance import *
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/libpysal/weights/distance.py", line 7, in <module>
    from .util import isKDTree, get_ids, get_points_array_from_shapefile,\
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/libpysal/weights/util.py", line 17, in <module>
    import geopandas as gpd
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/geopandas/__init__.py", line 1, in <module>
    from geopandas.geoseries import GeoSeries
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/geopandas/geoseries.py", line 6, in <module>
    import pyproj
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/pyproj/__init__.py", line 52, in <module>
    from pyproj.datadir import pyproj_datadir
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/site-packages/pyproj/datadir.py", line 1, in <module>
    import os; pyproj_datadir = os.environ['PROJ_LIB']
  File "/home/travis/build/pysal/spaghetti/miniconda/envs/test-env/lib/python3.5/os.py", line 725, in __getitem__
    raise KeyError(key) from None
KeyError: 'PROJ_LIB'

You either need to change you CI setup to use envs, where that environment variable will be set for you automatically, or you need to define it yourself.
The story behind that is:

pyproj have a bundle proj.4 that is outdated
we decided to start building it against a modern external proj.4
pyproj writes on install time the "directions" for the proj.4 data directory

b/c of that our choices are limited we need a way to make that directory "relocatable" and only envs have an activation step. BTW, one should never really install things in conda's base env.
See here for the two suggestions on how to fix this:
https://github.com/conda-forge/basemap-feedstock/issues/30#issuecomment-422504954
PS: I wonder how many packages rely datadir though, it looks like pyproj itself only sets it and so far the only package I found that relies on that is basemap :-/
I'll investigate the possibility of setting that to None if PROJ_LIB is not found. Still, for correctness, I recommend you to try the suggestions above.

@ocefpaf Thanks for the explanation!
Here is the current method in .travis.yml for before_install. I very well may be missing something, but functionally it seems to be the same as what's happening in folium. Do you have any thought about this?

Indeed your CI looks OK. I'll have to take a closer look later.

@ocefpaf thanks so much!
I have a PR running for spaghetti right now that with a minor adjustment to the .travis.yml (#122). I'll see how that goes and let you know.

resolved in #122


MGMT-16789 Improve IBI

Standarize target and variable names and format of values
Standarize tools used (deprecate kcli in favor of virsh)
Allow custom lifecycle-agent image to be used on IBI ISO generation (very useful for testing)
Reuse host-net-config.sh from bip-orchestrate-vm
Move IBI to recipient network, and create recipient network if needed
Add pull-secret to IBI manifest.json

/lgtm


Add item duration above the item description and css for it.

This is a useful addition. I've added settings to the config file to determine how it is shown, and allow the format to be customised.

Though I see Zambia doesn't populate the mins field by default, so people using Zambia do explicitly have to add it to get it to display.


[Feature Request]: Categories  books bar not attractive  so i can change books section

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
according your site category of book section is not attractive to user so after your grant i will make it attractive towards consumer and make them with different  section like a cool bars.

Use Case
atrractive and responsible  site
Benefits
attractive  site
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Is there an existing issue for this?

[x]  I have searched the existing issues

Feature Description
according your site category of book section is not attractive to user so after your grant i will make it attractive towards consumer and make them with different section like a cool bars.
Use Case
atrractive and responsible site
Benefits
attractive site
Add ScreenShots

Priority
High
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Currently, the issue has already been addressed. Will assign it later to you if that was not show any results.


BUG: Fix the CSS of Let's get started section in development page

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

The Let's Get Started section on the development page has a broken UI: https://brighter-beginnings.vercel.app/development.html

The same section has a smooth UI on other pages like Problem Solving and Logic pages.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a SWOC24 contributor
[X] I want to work on this issue

@dakshsinghrathore Looking forward to getting assigned and contribute!

Assigned this issue to @KeyurGK , kindly drop a star on this repo
HAPPY CODING !


SpeechRecognizer.speechEndDetected does not adhere to value set in SpeechServiceConnection_EndSilenceTimeoutMs

Describe the bug
In the Java SDK, SpeechRecognizer with a SpeechConfig with
SpeechServiceConnection_EndSilenceTimeoutMs set to 1500 milliseconds takes less than 1500
milliseconds between recognized event handlers being called and speechEndDetected event handlers being called.
From the Java documentation, I would expect this parameter to be the time between recognized and
speechEndDetected being called. https://docs.microsoft.com/en-us/java/api/com.microsoft.cognitiveservices.speech.propertyid?view=azure-java-stable
Reading the C# documentation, it is unclear if the endSilenceTimeout is the ambigous,unambigous endSilence timeout, or both. As mentioned in
https://docs.microsoft.com/en-us/dotnet/api/system.speech.recognition.speechrecognitionengine.endsilencetimeout?view=netframework-4.8
https://docs.microsoft.com/en-us/dotnet/api/system.speech.recognition.speechrecognitionengine.endsilencetimeoutambiguous?view=netframework-4.8
To Reproduce
Steps to reproduce the behavior:

Create a SpeechConfig object with your credentials
config.setProperty(PropertyId.SpeechServiceConnection_EndSilenceTimeoutMs,1500)
Create a SpeechRecognizer object with this config.
Setup the SpeechRecognizer to log the time between recognized calls and speechEndDetected,
by adding eventhandlers to recognized and speechEndDetected.
Note that the time between calls is not ~1500 ms

Expected behavior
SpeechRecognizer object should wait close to SpeechServiceConnection_EndSilenceTimeoutMs
parameter inbetween a call to recognized and senseSpeechEndDetected.
Version of the Cognitive Services Speech SDK
Java SDK 1.9.0
Platform, Operating System, and Programming Language

OS: Ubuntu 18.04
Hardware - x64
Programming language:  Java

Additional context
Is there other documentation for how the EndSilenceTimeout affects the recognition, or what
it is meant to do for the Java SDK?

Thanks a lot for raising the issue. We are able to repro the issue locally. We are looking into it and will get back to you as soon as possible.

We have found the issue and notified the right team and will keep you posted with the progress.

Is it a typo in the repo steps that step 2 set the initial silence timeout and not the end one?

Is it a typo in the repo steps that step 2 set the initial silence timeout and not the end one?

Ah, yes. Code is running with config.setProperty(SpeechServiceConnection_EndSilenceTimeoutMs,1500)

Thanks a lot for the info. The following documentation do not belong to the Microsoft cognitive speech SDK. They are some older APIs.
https://docs.microsoft.com/en-us/dotnet/api/system.speech.recognition.speechrecognitionengine.endsilencetimeout?view=netframework-4.8
For C# we have this https://docs.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.propertyid?view=azure-dotnet document.
Looks like SpeechServiceConnection_EndSilenceTimeoutMs was added by mistake and it is also not documented well. We will think about deprecating this in the newer release.
Thanks a lot for your input. I am closing this issue. If you see similar issue, please report it back.

Wait. Is the answer that Microsoft cognitive speech SDK does not support modification of  silence timeouts in speech recognition calls?

Currently no.

You may want to read this thread for further understanding https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/502
One more thing to try out will be use continuous recognition https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-choose-recognition-mode?pivots=programming-language-csharp
Set the value of SpeechServiceConnection_EndSilenceTimeoutMs and it might help you.

@amitkumarshukla Thanks to @rhurey 's response in https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/502 I was able to diagnose the problem I was having :
I was using my own stream to push audio data to the SpeechRecognizer.

@amitkumarshukla I was able to diagnose and fix the problem with @rhurey 's response in https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/502 :
I was using a stream created by  AudioInputStream.createPushStream() to send audio to SpeechRecognizer. I assumed that this would configure the streams AudioFormat to be the default mentioned in the docs, 16khz, 16 bit, mono channel. I also tried using AudioInputStream.createPushStream(AudioStreamFormat.getDefaultInputFormat()).
Both gave me results where the Initial Timeout was about 1/2 of the value I set.
By setting the audioformat manually :
AudioInputStream.createPushStream(AudioStreamFormat.getWaveFormatPCM(16000L,16,1))
I got the results I expected.
AudioInputStream.createPushStream() and AudioStreamFormat.getDefaultInputFormat() don't use
16khz, 16 bits, mono. I suspect they create an AudioInputStream with the Audio format of 8khz, 16 bits, mono.


NoData handling in custom scripts

Given that a user can provide his own scripts, how should he implement proper nodata handling?
The problem is that actual nodata values can differ, depending on the data layer and the endpoint against which the script is executed.
Options:

Nodata value is part of band metadata, developer should get it from there and propagate into his script
Nodata values passed along to the user function
Nodata 'macros' such as isNoData(x) are provided by the backend, that do the right thing?

This is linked to the question of what datatype will be used for pixel operations? We can standardize on always using doubles (even if the raw data is for instance stored as a byte), which would help in solving these things.

Based on a lot of experience with Earth Engine, we concluded that it a nodata value directly in the data didn't make sense. Instead, we maintain a separate (1-byte) masking raster for each band.
Some of the many reasons we chose this:

Avoids potential exact comparison issues for non-integer bands (ie: floating point comparison issues, array-based or complex-typed pixels, etc).
Some data sources use multiple NODATA values (MODIS/MOD15A2).
No principled way to pick/propagate a single NODATA value when using heterogeneous inputs.


Remove the Teamify link on Group sites

Just an example showing how to remove the Create Team link on Group sites

Hi @kasperbolarsen - very cool sample, think folks would love that one - thank you, this will be live shortly 🎉😁


Refactor main.py, exception handling

Refactored load_config() and split it into 3 functions, one function for each file accessed. Each function now returns the data
Global statements are now in on_ready() and so are the global assignments
Globals start initialized with type hinting instead of having fallback data that was never utilized
Added type hinting to the message argument in on_message() for easier access to the data type's members
Finished code that logged a message to a user's DMs and turned it into a function called send_log_to_dm() as it was used on more than on occasion
Added a check in on_ready() that checks if all privileged intents are enabled. If not, then an error message prints and the program exits

Such problems can be handled by scanning for any unusual occurrences.

So you want me to add checks for other intents like for on_message()? Or do you want to check for all intents on startup?
When you say privileged intents you are referring to the intents displayed in this documentation right?
https://discord.com/developers/docs/topics/gateway#privileged-intents
I added a check for privileged intents in this PR already on line 126
PyCord also has an exception for missing privileged intentions
https://docs.pycord.dev/en/stable/api/exceptions.html#discord.PrivilegedIntentsRequired


Docs styling overhaul and cleanup

Thank you so much for contributing to Datapane, please help us by filing out this PR template and ensure you have read the CONTRIBUTING.md.
It may take a few days to review your PR and merge it - please bear with us!
Thanks!
Prerequsites

[x] Has been tested locally

Proposed Changes
Our docs needed some love, as they had content which was no longer relevant, or was erroneous, including:

Errors around workspaces and cloud (and the relevant workflows)
Guides and content from before which didn't make sense
Datapane Enterprise docs, which were no longer relevant

Additionally, they didn't adhere to the same styling which we have across the rest of the application.
With this in mind, I have done the following:
Update the styling and design

Using some tailwind base stylings across the docs to give consistency
Font consistency with our main product
New colour scheme which is compatible with our product
Fixed dark mode styling

Update content

Added new copy to landing page of docs, including needs payoff for diffrentiators
Tweaked tutorials
Rewrote cloud sections

Remove old content

Removed enterprise
Removed guides
Removed broken references to things like signup and other teams features

Add analytics and chat

Added PostHog
Added Intercom

This is a relatively large PR and change, but I think it will set a stronger baseline for us to build on.

LGTM


Register ryan.is-cool.dev

Added ryan.is-cool.dev using the CLI.

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

Please do it quickly....


Incorrect grammar in MediaQuery class docs

The Flutter MediaQuery class documentation states in its second paragraph For example, to learn the size of the current media...
This could have been caused by translation from another language. Although this seems to be a minor thing, English speakers will actually understand it better as  For example, to know the size of the current media..

I don't believe the grammar is incorrect in this case. "To learn" implies some work or acquisition which is comparable to accessing a getter

Closing because this is not an actionable issue currently


broken link in hyper::upgrade documentation

in https://docs.rs/hyper/0.12.6/hyper/upgrade/index.html it says:
See this example showing how upgrades work with both Clients and Servers.
That link is broken. It should probably be https://github.com/hyperium/hyper/blob/master/examples/upgrades.rs instead.

Doh! Thanks for the report!


Fix typos

Just noticed Behat\MinkExtension\Extension I think it should be Behat\MinkExtension as I understand? If yes should I change it and add to this PR?

Where are you seeing Behat\MinkExtension\Extension ?

In Sahi driver section (line 293)

This is an error.

Should I add this change to a PR then?

@ifdattic please rebase your PR to fix conflicts, and please fix the mistake in the Sahi section

@stof rebased

thanks

Glad to help


Create Run.bat for EasyEDA

dont need to open cmd , just double click this batch file and drag the EasyEDA source file

Thanks. Do you want to try to make it kicad compatible like I explained above?
If not that's fine, this is good enough to merge. I'll take a stab at kicad compatibility later.

oh, I have never use kicad, so I dont know about that python

can I use this command to convert kicad file？

can I use this command to convert kicad file？
python %pyfilepath%generate_interactive_bom.py kicadfile

Yes, except it needs to be python packaged with kicad, i.e. something like this:
C:\Program Files\Kicad\bin\python.exe ...
I posted above the registry key that stores kicad install location.

And I saw that there are some files created by venv，and the files were not complete，how can I compete it ? Make it run without python of kicad or local.

Not sure what you mean

emmmm ，I mean use virtualenv to create virtual python environment

And what is the issue with virtualenv? What files are not complete?


docs: add documentation for NoOpAiProvider

Closes #13
📑 Description

Added basic information about the NoOpAiProvider.
Added a guide on how one can use the NoOpAiProvider.

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[x] I have updated the documentation as required
[ ] All the tests have passed

Thank you for the merge!

Hey @AlexsJones @AnaisUrlichs! I can't see this change reflected in the docs. I was working on the documentation for the Azure AI backend, should I document NoOpAiProvider again?


Calendar Cloning

Hi there
Now that I'm thinking about it, this could make a nice calendar clone. Thing is I cant figure out how to wrap the days to the next line provided they are within the 7 range.

Is that possible?

Hi, thats a really good idea but unfortunately its not possible and it would be hard to implement.
Thank you.


Add MLflow support

Is your feature request related to a problem? Please describe.
As a researcher I need to be able to track my ML jobs
Describe the solution you'd like
To use MLflow within a workspace or shared service

A minimal scenario of a team of analysts working collaboratively on a machine learning project would be

Jupyter Hub for provisioning notebooks using Docker spawner
MLflow tracking the ML lifecycle
Shared filesystem for data and model artefacts

In the scenario:

MLFlow tracking server is deployed on a VM and accessible to all team members within the workspace. The specific usage of ML would be the responsibility of project policies.
MLFlow metadata stored in postgres DB
Artefacts logged by Jupyter lab containers directly to the shared filesystem through mlflow APIs
Jupyter lab containers downloaded for Nexus image cache and contextualised with environment variables such as the MLflow tracking URI, artefact location, etc

Remarks:

Could using DBFS or S3 compliant services or another backend storage supported by MLFlow for artefacts but that introduces  complexity both in terms of deployment but also usage within analysts code.
The different provisioning options for jupyter containers (e.g. Kubernetes) are beyond the scope of this issue but included to provide the MLflow discussion in a workspace context.

@daltskin @mjbonifa my thoughts:

JupyterHub with Docker spawner is a prerequisite to the full solution, this will need OAuthenticator configured with the Workspace App registration. Can we use the local Jupyter instance on the per user VMs as a first stab to work with ML Flow?

Does the shared storage have to be a specific directory or is any mounted storage location sufficient?  How does ML flow know where to look? Do we need an ML Flow directory creating and specified in advance?

We will need an ML Flow workspace service story, a shared instance is likely not appropriate. My thinking is to use a new app service in the existing app service plan for the web front end and a Postgres PaaS with a private endpoint into the workspace.

Can we use the local Jupyter instance on the per user VMs as a first stab to work with ML Flow?
Yes, simplify further to test this
Does the shared storage have to be a specific directory or is any mounted storage location sufficient? and How does ML flow know where to look?
mlflow is configured with a couple of parameters See MLFlow docs
e.g.
mlflow server --backend-store-uri sqlite:///mlruns.db --default-artifact-root /fs/mlruns

Do we need an ML Flow directory creating and specified in advance?
Yes, the storage will need to be mounted when the mlflow server starts and mlflow will need to be configured where to write artifacts
We will need an ML Flow workspace service story
The MLFlow is per workspace and not per TRE. Please elaborate what you need.
Other considerations
MLFlow has a user interface so will need consider how it is accessed via Gucamole too.

@mjbonifa that's useful, all good. Don't worry about the final two points.
As part of the ML Flow workspace service will need to create a directory within the shared storage share so users know where to write artifacts.

We have looked at the the requirements and expanded them further:

An instance of MLFlow will be required per workspace.
MLFlow must be accessible from all VM's within a workspace.
The instance of MLFlow should be available on either Linux or Windows VM.
a. Quickstart — MLflow 1.23.1 documentation
b. Use "mlflow ui" to start
c. MLFlow should load with
http://localhost:5000/.
Need to confirm that scenario 3 is the preferred option to install MLFlow (Requires shared storage)

Agreed
Agreed
The mlflow server command starts a service with UI at default http://localhost:5000/. Don't need mlflow ui. For the MLFlow tracking server it makes no difference if deployed on Linux or Windows from a analysts perspective as they access the mlflow UI through a browser or the MLflow python client API.

@mjbonifa @CalMac-tns I've split out #1290 so initial work can begin - does the acceptance criteria look ok to you?

Work is complete, PR is merged.


'Correct answer' text on quiz results page isn't themed

Prerequisites

[x] I've searched for existing issues

Describe the bug
After completing a quiz successfully, you are shown a summary of the questions and the correct answers. However, the 'Correct answer' text is not themed and is hard to read in some of the contrast themes.
To Reproduce
Steps to reproduce the behavior:

Sign in
Pick one of the contrast themes (i.e not the dark, light or system themes)
Go to "Resources and Training" from the top navigation
Open a course from the "Featured training" section
Complete the course and take the quiz (if using the sample quiz the last two options must be selected for each questions).
On the summary page after completing the quiz successfully notice that the "Correct answer" text isn't themed
Change themes to see how it looks in each one.

Expected behavior
The "Correct answer" text should follow the contrast theme
Screenshots

It seems that the correct-answer and wrong-answer classes are missing the var(--fg) as the first colour option. However, I'm wondering if it is sufficient to have them the same colour or if we need to do more to distinguish this from the rest of the text. @cherylhjli do you have any thoughts or suggestions?

@jobara It's sufficient to have the text as the same colour, which can just be the body colour - I think the icon of checkmark or x is sufficient enough to indicate whether it's right or wrong, in addition to the copy itself.


ErrorHandlingDeserializer add Headers to DeserializationException

https://stackoverflow.com/questions/53062648/fetch-1-message-at-given-offset-when-debugging-app-using-spring-kafka/53065883#53065883

This is addressed in the: https://github.com/spring-projects/spring-kafka/pull/844


Add Categories to this Repo

Categorize all UI issues in the repo on 5 categories:

Triggering the extension (Alt+T / action trigger, etc)
Filtering and Sorting (filter and list)
Interception (switch between monitoring and interception)
Request Modifications
Response Modifications

There's also the background page, and processes (releasing, website) that probably should have their own categories.

Body Editing is probably another category

Body Editing is probably another category

Added a couple projects for this. I think it's fine as-is.

Added a couple projects for this. I think it's fine as-is.


VisionOS fails to compile

VisionOS currently fails to build. I tried putting up a pull request to fix the issue, but was denied access to push the branch. I'm attaching the diff that fixed it.
diff.txt

Ah shoot. Thank you for finding this!
Yes, you must fork, change in your copy and open a PR. Is that something you'd like to do? It will give you contribution credit. But, I can also take care of this myself.

(also super weird that SPI visionOS builds succeed...)

That's ok. Seems like a lot of work for such a small change 😅

Ah shoot. Thank you for finding this!
Yes, you must fork, change in your copy and open a PR. Is that something you'd like to do? It will give you contribution credit. But, I can also take care of this myself.

That's ok seems like a lot of work for such a small change 😅 If I make a larger contribution, I'll do it.

Figured out why SPI thinks this can build: https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/2923

Thanks for fixing this Matt.

You got it! It turned out to be a pretty serious issue with SPI, so it's extra-great you reported it. I really appreciate it! And if you have any additional questions about this repo, I'd love to hear them!


set up CI building and releases for workflow

see potientally -
https://github.com/actions/starter-workflows/blob/main/ci/docker-image.yml
https://github.com/actions/starter-workflows/blob/main/ci/maven-publish.yml
and the lab notes if there is available/suitable CI to workflow to make automatic releases.

Conditional deployment works appropriately in other branches
Will need to wait for completion of all other tasks to test if it works inside of master branch on push


InteractiveViewer doesn't scroll panned edges when child is Scrollable Widget and panEnabled = true

InteractiveViewer panning works fine on non-scrollable widget. Ex:
return InteractiveViewer(
         panEnabled: true,
         boundaryMargin: EdgeInsets.all(0),
         minScale: 0.5,
         maxScale: 4,
         child: Image.network("image_url")
  );

However, when the child is a scrollable widget, I am not able to view the top/bottom of the widget while panning.
return InteractiveViewer(
         panEnabled: true,
         boundaryMargin: EdgeInsets.all(0),
         minScale: 0.5,
         maxScale: 4,
         child: Listview(children: [Image.network("image_url")])
  );

The interactiveViewer isn't respecting the child's panned edges to be scrollable.
@justinmc you requested me to tag you in this issue. Let me know if you need any extra info about this bug. Should be pretty straight forward to reproduce

Hi @grantespo
I tried to replicate the issue. Was able to scroll and zoom in, zoom out the widget. Could you provide more info on not able to scroll the panned edges if I missed anything to replicate exactly ?
68073.mp4.zip

flutter doctor -v
[✓] Flutter (Channel beta, 1.22.0, on Mac OS X 10.15.4 19E2269, locale en-IN)
    • Flutter version 1.22.0 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision d408d302e2 (2 weeks ago), 2020-09-29 11:49:17 -0700
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (3 available)
    • SM G975F (mobile) • RZ8M802WY0X • android-arm64  • Android 10 (API 29)
    • Web Server (web)  • web-server  • web-javascript • Flutter Tools
    • Chrome (web)      • chrome      • web-javascript • Google Chrome
      86.0.4240.75

• No issues found!

I can't exactly reproduce it either, but I'm also unsure what the desired behavior is.  What do you expect to happen when you have something that scrolls inside of something that pans like this?

Example app code
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Bug',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text("Flutter Bug"),
          actions: [
          ],
        ),
        body: Center(
          child: InteractiveViewer(
             panEnabled: true,
             boundaryMargin: EdgeInsets.all(0),
             minScale: 0.5,
             maxScale: 4,
             child: ListView(children: [Image.network("https://placekitten.com/200/800")])
          ),
        ),
      ),
    );
  }
}

@justinmc I was able to reproduce with your sample code on iOS SE (2nd gen) simulator (14.0)
simply replace the image url with this:
https://upload.wikimedia.org/wikipedia/commons/7/74/Earth_poster_large.jpg
After zooming in on the image to the maximum, try scrolling up to view the panned content.

Following @grantespo steps above, I zoomed in the image to the max. Although I was able to scroll sideways, but not vertically.
68073.mp4.zip

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.4 19E2269, locale en-IN)
    • Flutter version 1.22.1 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision f30b7f4db9 (7 days ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (1 available)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

• No issues found!

Keeping this open for further analysis.

Ok I can reproduce it too, but I'm not sure what InteractiveViewer should be doing in this case.  @grantespo What is your use case for this?  Why put a ListView inside of InteractiveViewer?
If the objective is just to get an overscroll effect, there is an issue to add that to InteractiveViewer: https://github.com/flutter/flutter/issues/58042.

@justinmc

Why put a ListView inside of InteractiveViewer?

I need listview of images which should be zoomable.

No problem.  I wonder if you could implement this instead as each image having its own InteractiveViewer?  So the images are zoomable, but not the list itself.
Otherwise I worry that the experience isn't going to be nice. If the InteractiveViewer is the only child of the ListView, then you are losing out on the performance benefits of ListView.  You might as well just use a Column (along with constrained: false) and let the InteractiveViewer handle the "scrolling".


Feature/CT3-dataloader

Added a Dataloader for the corn photos. And fixed the regex for the pre-commit

Stop being boring


Create SECURITY.md

Make some sort of Security policy for Flight, so we know which versions we should be worried about.

Make some sort of Security policy for Flight, so we know which versions we should be worried about.

Considering there aren't any versions or releases, there is no point of this, once an Alpha build it out, we can consider this.


[Solution] -Leetcode 35. Search Insert Position in C++

Description
35. Search Insert Position
The problem requires finding the index at which a target value should be inserted into a sorted array of distinct integers while maintaining the sorted order. If the target is already in the array, we return its index. the thought is to use a binary search algorithm to efficiently find the insertion point.
The problem will be solved in C++ programming language.
DSA Problem
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You must write an algorithm with O(log n) runtime complexity.
Example 1:
Input: nums = [1,3,5,6], target = 5
Output: 2
Example 2:
Input: nums = [1,3,5,6], target = 2
Output: 1
Example 3:
Input: nums = [1,3,5,6], target = 7
Output: 4

carry on with this problem


Deploy the latest fixes to testnet.mdw.aepps.com

For me, requests from #154 still have different values (1114 vs 1171). Probably the corresponding fix is not deployed yet.

Yeah there have been no deployments for a bit as I went away and we wanted to keep things stable while I was not there to keep an eye. Expect a big release late this week, including a big set of naming fixes

https://testnet.aeternal.io/middleware/transactions/account/ak_2swhLkgBPeeADxVTAVCJnZLY5NZtCFiM93JxsEaMuC59euuFRQ/count outputs:
{"count":1476}

but
(await
  (await
    fetch(
      'https://testnet.aeternal.io/middleware/transactions/account/ak_2swhLkgBPeeADxVTAVCJnZLY5NZtCFiM93JxsEaMuC59euuFRQ'
    )
  ).json()
).length

evaluates to 1536


Roll engine ab5c14b9491a..67aadb62068a (2 commits)

https://github.com/flutter/engine/compare/ab5c14b9491a...67aadb62068a
git log ab5c14b9491a6650ec0c08e91f9e858cdab422b6..67aadb62068ad251c79affa2ae68d6579d8e2d93 --no-merges --oneline
67aadb620 Roll src/third_party/skia d62d406aa24c..81756e4cae95 (5 commits) (flutter/engine#9300)
0a2e28d79 Revert tracing changes (flutter/engine#9296)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Undefined Robot

While attempting to edit the belly screens for the test robot, the frontend link reset itself or refreshed and instead showed me an empty robot. When I went back to the main screen, it did not show me the list of robots and only displayed 'undefined'.
Patricia faced the same issue when she opened the robot setup links at her end.

If you click on a link (Start Robot Setup, Start Robot Controller, etc) before the list of robots loads, when you navigate to clicked page the robot index will be -1. Then if you make any changes on that page (add a face, etc) it will add an entry into the database with robot index -1. Then, when the site loads the list of robots later it says undefined since there is an array with index -1.


--tasks list does not work

It just hung for a few seconds and returned nothing.
How to reproduce:
$ git clone https://github.com/EleutherAI/lm-evaluation-harness
$ cd lm-evaluation-harness/
$ pip install -e .
$ lm-eval --tasks list

Thanks for your help!

Just want to check, did you try installing this in a fresh environment?

No, I installed it in an existing environment.
On Sat, May 18, 2024, 01:56 Lintang Sutawika @.***>
wrote:

Just want to check, did you try installing this in a fresh environment?
—
Reply to this email directly, view it on GitHub
https://github.com/EleutherAI/lm-evaluation-harness/issues/1850#issuecomment-2118207911,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKIL3E2CJQADIIZKUXS3WOLZCZHEPAVCNFSM6AAAAABH3OSW2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGIYDOOJRGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Installing it on a new environment would probably be worth to try.

Thanks for your advice. I got an error when after installing it in a new env:
$ lm-eval --tasks list
Traceback (most recent call last):
  File "/opt/miniconda/envs/lm-eval/bin/lm-eval", line 5, in <module>
    from lm_eval.__main__ import cli_evaluate
  File "/data/lm-evaluation-harness/lm_eval/__init__.py", line 1, in <module>
    from .evaluator import evaluate, simple_evaluate
  File "/data/lm-evaluation-harness/lm_eval/evaluator.py", line 12, in <module>
    import lm_eval.api.metrics
  File "/data/lm-evaluation-harness/lm_eval/api/metrics.py", line 12, in <module>
    from lm_eval.api.registry import register_aggregation, register_metric
  File "/data/lm-evaluation-harness/lm_eval/api/registry.py", line 6, in <module>
    from lm_eval.api.model import LM
  File "/data/lm-evaluation-harness/lm_eval/api/model.py", line 8, in <module>
    import transformers
  File "/opt/miniconda/envs/lm-eval/lib/python3.10/site-packages/transformers/__init__.py", line 26, in <module>
    from . import dependency_versions_check
  File "/opt/miniconda/envs/lm-eval/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 16, in <module>
    from .utils.versions import require_version, require_version_core
  File "/opt/miniconda/envs/lm-eval/lib/python3.10/site-packages/transformers/utils/__init__.py", line 33, in <module>
    from .generic import (
  File "/opt/miniconda/envs/lm-eval/lib/python3.10/site-packages/transformers/utils/generic.py", line 461, in <module>
    import torch.utils._pytree as _torch_pytree
  File "/opt/miniconda/envs/lm-eval/lib/python3.10/site-packages/torch/utils/__init__.py", line 4, in <module>
    from .throughput_benchmark import ThroughputBenchmark
  File "/opt/miniconda/envs/lm-eval/lib/python3.10/site-packages/torch/utils/throughput_benchmark.py", line 2, in <module>
    import torch._C
ModuleNotFoundError: No module named 'torch._C'

The problem was solved by your advice. Thanks!

@lintangsutawika what do you mean about fresh environment? when i install using the command "pip install -e . ", it doesnot generate the executing command lm-eval and lm_eval. whatis wrong

I meant by making a new venv or conda env.

@lintangsutawika I want to measure the precision using the vllm as the backend. so I need an environment containing torch, torchvision, vllm lm-eaval, of course the python is very fundamental. for example python 3.10. so whatis the order of creating an new environemnt


Code-refactoring

coverage: 97.094%. remained the same when pulling ee5ce46b2dd092b262c3fa62cbf15b0bb67fefff on refactoring into ed938270062a7d6585a5c00587ba6f3b6a450c9c on main.


can't play loaction mp3 file

i try your demo ,it is ok,but i used cocoapads ,it don't work and The program crash.

Hi, could you share more details about your problem? Logs, errors, crash messages, the file URL you're trying to play, etc.

thank you very much!
^_^

[[AFSoundManager sharedManager]<EMAIL_ADDRESS>andBlock:^(int percentage, CGFloat elapsedTime, CGFloat timeRemaining, NSError *error, BOOL finished) {
       _lab1.text = [NSString stringWithFormat:@"%d",percentage];
        _lab2.text = [NSString stringWithFormat:@"%f",elapsedTime];
        _lab3.text = [NSString stringWithFormat:@"%f",timeRemaining];
    }];

this is ok,
but if i use cocoapad to install afsoundmanager ,and use  the new method ,it didn't working

[[AFSoundManager sharedManager]<EMAIL_ADDRESS>atPath:nil withCompletionBlock:(progressBlock)block :^(int percentage, CGFloat elapsedTime, CGFloat timeRemaining, NSError *error, BOOL finished) {
       _lab1.text = [NSString stringWithFormat:@"%d",percentage];
        _lab2.text = [NSString stringWithFormat:@"%f",elapsedTime];
        _lab3.text = [NSString stringWithFormat:@"%f",timeRemaining];
    }];

The first code no longer works since that method was changed in previous updates. The second code should work fine. Why it doesn't work? It crashes the app? The sound doesn't play? If it crashes, please post the crash message log.


Updated Chocolatey TLS

Set TLS 1.2 (3072) as that is the minimum required by Chocolatey.org

@chrisism can we merge this and upload it to azure devops?
Chocolatey changed the TLS rules to allow only TLS 1.2


[Question]: Crashing Compile-AppInBcContainer/Publish-NavContainerApp in a PR pipeline - how to keep the container alive after crash for further investigation?

Question
Hi,
I am about to add a test app to one of our PTE apps. In order to make this work I needed to get rid of "use CompilerFolder:true" and "doNotPublish: true".
So I can see now, the System is spinning a container, once it wants to compile it just crashes the alc.exe :
Compiling...
  .\alc.exe /project:"c:\sources\App1" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\Me_App1_13.0.2147483647.0.app" /SourceRepositoryUrl:"https://github.com/xxx" /SourceCommit:"12345678912345678912345678912345678969c0" /BuildBy:"AL-Go for GitHub,v6.0" /BuildUrl:"https://github.com/xxx/actions/runs/123456789" /assemblyprobingpaths:"C:\Program Files\dotnet\shared","c:\sources\App1\.netpackages","C:\ProgramData\BcContainerHelper\Extensions\app111681306045\.netPackages\Service"
  **Processing data from remote server app111681306045 failed with the following error message: An internal error occurred.** For more information, see the about_Remote_Troubleshooting Help topic.

  Exception Script Stack Trace:
  at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 61
  at Compile-AppInBcContainer, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Compile-AppInNavContainer.ps1: line 584
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 914
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2079
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1608
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1601
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1057
  at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1019
  at <ScriptBlock>, C:\4\_work\_actions\microsoft\AL-Go-Actions\v6.0\RunPipeline\RunPipeline.ps1: line 391
  at <ScriptBlock>, C:\4\_work\_temp\56037fb6-0832-4fcd-ab9b-5edea670ea97.ps1: line 3
  at <ScriptBlock>, C:\4\_work\_actions\microsoft\AL-Go-Actions\v6.0\Invoke-AlGoAction.ps1: line 17
  at <ScriptBlock>, C:\4\_work\_temp\56037fb6-0832-4fcd-ab9b-5edea670ea97.ps1: line 2
  at <ScriptBlock>, <No file>: line 1

  PowerShell Call Stack:
  at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 71
  at Compile-AppInBcContainer, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Compile-AppInNavContainer.ps1: line 584
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 914
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2079
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1608
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1601
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1057
  at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1019
  at <ScriptBlock>, C:\4\_work\_actions\microsoft\AL-Go-Actions\v6.0\RunPipeline\RunPipeline.ps1: line 391
  at <ScriptBlock>, C:\4\_work\_temp\[560](https://github.com/xxx/actions/runs/11681306045/job/32526115746#step:8:570)37fb6-0832-4fcd-ab9b-5edea670ea97.ps1: line 3
  at <ScriptBlock>, C:\4\_work\_actions\microsoft\AL-Go-Actions\v6.0\Invoke-AlGoAction.ps1: line 17
  at <ScriptBlock>, C:\4\_work\_temp\56037fb6-0832-4fcd-ab9b-5edea670ea97.ps1: line 2
  at <ScriptBlock>, <No file>: line 1
  Compile-AppInBcContainer Telemetry Correlation Id: 3cb51780-521d-42f4-8c14-817af6ab1b49

This internal error is not visible anywhere to me, I do get - thanks for that, the container logs, but those are looking quite strange "out of the box".
(I have to flip to the Details tab and XML view and read the EventData there as the "General" tab shows quite often nonsense)
Strange as I am, I connected to the Build Agents machine, started a container with the same Image, and called Compile-AppInBcContainer manually from the prompt...and "surprise" that works just fine ...
IF I now reenable CompileInFolder, I actually pass the compiling in container issue , however, once it wants to install the armada of tests apps from MS, it just crashes there on publishing apps ( feels a bit like "out of memory" - here the Events in the container log shows Warnings  , EventID 705 and 712 ). However, If I do this manually from the powershell, against my selfmade container it just works :/
The Agent was build with the current ARM template. I had a lot of noise and memory consumption from the "Antimalware Service Executable" (real time protection (turned it off)). I also resized the VM to something more memory friendly (B8ms 32gig). that helped me to get "a bit further" but still crashing while publishing test apps:
Importing test toolkit

  Synchronizing Permissions Mock on default
  App successfully synchronized
  Installing Permissions Mock on default
  App successfully installed
  Synchronizing Test Runner on default
  App successfully synchronized
  Installing Test Runner on default
  App successfully installed
  Synchronizing Any on default
  App successfully synchronized
  Installing Any on default
  App successfully installed
  Synchronizing Library Assert on default
  App successfully synchronized
  Installing Library Assert on default
  App successfully installed
  Skipping app 'C:\Applications.US\Microsoft_Permissions Mock_23.0.12034.12802.app' as it is already installed
  Synchronizing Library Variable Storage on default
  App successfully synchronized
  Installing Library Variable Storage on default
  App successfully installed
  Publishing C:\ProgramData\BcContainerHelper\Extensions\bcbase11680932926\4b7c9915-1e6b-4d1c-8085-39781cacf26e\Microsoft_System Application Test Library_23.0.12034.12802.app
  Synchronizing System Application Test Library on tenant default
  Installing System Application Test Library on tenant default
  App Microsoft_System Application Test Library_23.0.12034.12802.app successfully published
  Publishing C:\ProgramData\BcContainerHelper\Extensions\bcbase11680932926\900f8564-2626-4a4d-b738-f663bfef6fff\Microsoft_Tests-TestLibraries_23.0.12034.12802.app
  Processing data from remote server bcbase11680932926 failed with the following error message: An internal error occurred. For more information, see the about_Remote_Troubleshooting Help topic.

  Exception Script Stack Trace:
  at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 61
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 379
  at Publish-BcContainerApp, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 154
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\ObjectHandling\Import-TestToolkitToNavContainer.ps1: line 232
  at Import-TestToolkitToBcContainer, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\ObjectHandling\Import-TestToolkitToNavContainer.ps1: line 195
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 908
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1650
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1628
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1608
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1601
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1057
  at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1019
  at <ScriptBlock>, C:\4\_work\_actions\microsoft\AL-Go-Actions\v6.0\RunPipeline\RunPipeline.ps1: line 391
  at <ScriptBlock>, C:\4\_work\_temp\141486ba-896a-455c-b625-672f3e835ba5.ps1: line 3
  at <ScriptBlock>, C:\4\_work\_actions\microsoft\AL-Go-Actions\v6.0\Invoke-AlGoAction.ps1: line 17
  at <ScriptBlock>, C:\4\_work\_temp\141486ba-896a-455c-b625-672f3e835ba5.ps1: line 2
  at <ScriptBlock>, <No file>: line 1

So, I am a bit puzzled why the pipeline container just crashes the alc.exe (and can't handle the import) while basically the same flow from powershell works. Could this be a permission/security thing? I mean, powershell runs with the vmadmin, while pipelines are executed by a windows service. (still, why would that hit the alc.exe within a container?)
Can I keep the container that the pipeline creates? I recall a parameter ... maybe?
Also some other hint to get this working would be fine :) (I think I will try to make use of another host VM...just to see what will happen.)
I know, this is not made for on Prem, but still the import of MS TestApps should just work, it has not even started to publish my apps. Something is fishy with this container ....
some more details: Al.Go: v6.0
PTE Project "for OnPrem" BC v23
container isolation process
as long as no container/testApp is involved, I can compile and deploy to hosted environments.
Agent runs in a VM on Azure made with the ARM template
can Repro? Yes - can I share? no - at least not public :/

So I have redone my build agent machine, the problem persists.
Error: Unexpected error when running action. Error Message: Processing data from remote server bcbase11955127532 failed with the following error message: An internal error occurred. For more information, see the about_Remote_Troubleshooting Help topic., StackTrace: at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 113 <- at Compile-AppInBcContainer, C:\ProgramData\BcContainerHelper\6.0.28\BcContainerHelper\AppHandling\Compile-AppInNavContainer.ps1: line 280 <- at <ScriptBlock>,
If I check line 280 - this is the Invoke that should handle the alc.zip

Not sure this is a good idea, but as the bccontainer folder gets mounted, I will try to get some more output from that script - so I will change it a bit :)

Sorry, didn't see this - could you include the full log?
I can probably see the problem from that.

all good - what confuses me is this  $tempZip is a path to a file (alc.zip), the Copy-Item uses this as Destination?!
Can I mail you the log ?

when I add some -verbose to this currently I see:
it will copy the vsix found in the run folder to -> C:\Users\winrm\AppData\Local\Temp\alc.zip
than it wants to extract:
VERBOSE: Performing the operation "Create Directory" on target "Destination: C:\build\vsix".
VERBOSE: Preparing to expand...
Exception calling "ShouldProcess" with "1" argument(s): "Object reference not set to an instance of an object."
Exception Script Stack Trace:
at Expand-Archive, C:\program files\powershell\7\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1: line 375
at , : line 11
PowerShell Call Stack:
is this some winrm, process isolation thing?

this looks like it is getting somewhere: I added $bcContainerHelperConfig.useWinRmSession = "never" to my config, and now the compiler folder was made and also the compilation process with alc.exe started to execute!
what would be the best spot to place this setup in AL:GO if it is really fixing my issues?
"fingers crossed"

that helped! without winrm the process runs. So looks like host to container have issues to keep the connection alive...

You can add "useWinRmSession": "never" to .github/AL-Go-Settings.json
but... - I think the problem might be something else - if you could include the full log, I might be able to spot the problem.
Also, which user is running the agent on the runner?

this is what the agent uses as Service Account: (i think I got this from the ARM template when it start the agents)

If I can mail you the log rather sharing it here, that would be awesome :) You know - Company rules... It also sounds that you might have a spot you are very interested in - I can also go and cut that for you ;)

System is fine - please email a link to where i can download the log - I cannot say a specific thing - there is a ton of info in the log


Hotwife/Cuckoldress Differentiation

I would like to suggest that the characteristics of Hotwife and Cuckolderess should be differentiated, currently they both are:
A married woman who may pursue sexual relationships with men other than her husband, oftentimes to humiliate or degrade him. Her husband has full knowledge of her activities and consents to them.
Here are my suggestions:
Hotwife A married woman who pursues sexual relationships with men other than her husband, Her husband has full knowledge of her activities and consents to them and gets pleasure from them.
Cuckoldress A woman who may pursues sexual relationships with other people than her partner, oftentimes she is sexually dominant to her partner and her outside play is to reinforce her dominance and oftentimes to humiliate or degrade her partner, Her partner has full knowledge of her activities.

Agreed. This is an incorrect definition of HotWife.

@DWMDomSFbay thanks! Great catch. Fixed the issues with PR #46.
Note: I made some grammatical changes and removed a small part of it. Not sure it was the 100% right decision but it felt right at the time.


Setup Crowdin

Hey everyone,
It's Andrii from Crowdin. I like the Files and I'd like to translate the app into the Ukrainian language.
Just did some analysis of the current i18n workflow and it feels that GitHub issues and PRs reported by the community are not so easy to handle. The professional and community translators can work together in Crowdin, translations would be delivered as PR and volunteers can raise issues for problematic strings via Crowdin.
I suggest you the integration with Crowdin via GitHub Actions. Crowdin is free for open-source. This integration works in the following way:

the action runs every 6 hours (actually, it's up to you what trigger to use, it could also be a push to the default branch, for example)
upload new source texts to the Crowdin project
upload existing translations to Crowdin (using the upload_translations action config parameter, it's necessary only for the first time)
download all the new translations from Crowdin and commit these translations to the localization_branch_name
open a Pull Request with the latest translations.

You can find my demo Crowdin project here - files-demo. Also, I've uploaded some screenshots to showcase how it works as a context for translators. For example - strings with screenshots.
Example of the first PR that will be created by Crowdin Action - https://github.com/andrii-bodnar/Files/pull/3
Don't worry about the diffs - it's ok and it is only one time such a big PR, the next PRs will be more clear and will contain only the new translations.

In addition, there are some great Crowdin apps to engage the community translations:

README.md Contributors CLI - it allows you to automate the maintenance for your contributors' table. It can be also done via GitHub Actions.
Badges & Status Images - allows generating badges, charts, and additional graphics for each language in your Crowdin Project.

The next steps we can do to move further with this integration:

Create a Crowdin or Crowdin enterprise account.
Submit the Open-source project setup request form.
Create a new Crowdin Project:

As a source language select the English, United States.
Fill in other target languages.
In the project settings enable the global Translation Memory (optional).

Generate a new Personal Access Token in your Crowdin account settings.
Generate a new GitHub Token (only the repo scope is required).
Create the Actions secrets for your repository:

CROWDIN_PERSONAL_TOKEN - the personal access token generated in Crowdin.
CROWDIN_PROJECT_ID - ID of the Crowdin project.
GH_TOKEN - the personal access token generated in GitHub.

merge this PR.
update the docs.

@andrii-bodnar thank you for reaching out, we're not opposed to using Crowdin but we don't have an interest in adding another service to our workflow. That being said, if there is there a way to use Crowdin alongside our current setup so users can translate through GitHub as well, we will be happy to set this up.

Hi @yaichenbaum, thank you for the fast response!
Sure, the integration allows using both ways to translate content.
In case some users will translate the strings as before, the Crowdin GH Action will upload these translations to Crowdin. And vice versa - in case some users will use Crowdin, the integration will create a PR with the new translations.

@andrii-bodnar this looks pretty neat. I noticed in the sample pr that it adds state-qualifier="tm-suggestion", is there any reason for this?

@yaichenbaum it's because the state-qualifier="tm-suggestion" attribute exists in the source file (Files.en-GB.xlf) trans-units and this it's missing in some of the trans-units in target languages.
Crowdin translations export is based on source files to preserve the original file structure as much as possible.

Hello person with the same name as "product manager" from Crowdin.
I am a translator and a Weblate contributor.
Crowdin is certainly not free for open source projects.

Since a project specifically non-profit in that it is non-commercial can't be open source, this means it actually requires projects to have no source of income, or profit motive.
Moreover, Crowdin itself is not free as in open source/libre/Free Software. It is non-free.
The terms of service further invalidate the claim that Crowdin itself for any possible way one could use it is in any way free of cost, since it is an exchange of data users have to be 18 to accept, leaking and being sent to a myriad of companies, for all sorts of commercial reasons.
For example:
https://support.crowdin.com/privacy-policy/

behaviourally targeted advertising cookies - These cookies are used to deliver adverts more relevant to you and your interests. They are also used to limit the number of times you see an advertisement as well as help measure the effectiveness of the advertising campaigns. They are usually placed by advertising networks with the website operator’s permission. They remember that you have visited a website and this information is shared with other organisations such as advertisers. Quite often targeting or advertising cookies will be linked to site functionality provided by the other organisation.

In my jurisdiction your statements qualify for false advertisement.

@comradekingu thank you for mentioning that point, considering that Files is free and open source, I don't think that should be an issue. We got approved for the open source plan last year but never set it up.


update environment-idling.md

Update referenced variable for un-idling

General Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[x] Documentation has been written/updated
[ ] PR title is ready for inclusion in changelog

Closing issues
TBD

Technically the field is autoIdle (in GraphQL) - and in the CLI for a project - but auto-idle in the CLI for an environment.
I've created https://github.com/uselagoon/lagoon-cli/issues/351 to chase it up so we can get it right here.


Wrong using: OpenApi

Hi team, please check this issue that was created in the it-it repo here:
@MarGraz

Hi,
I'm trying to following this guide, but at this point: https://docs.microsoft.com/it-it/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-2.2&tabs=visual-studio#add-and-configure-swagger-middleware you suggest to add a reference to "OpenApi", but isn't possible, because "Swashbuckle" doesn't use "OpenApi".
The correct using is: "Swashbuckle.AspNetCore.Swagger.Info".
Thank you,
Marco

Thanks!

Moved to #13273


Fails while fetching IP and netmask

Cookbook version
4.0.2
Chef-client version
chef-12.21.3-1.el6.x86_64
Platform Details
CentOS release 6.9 (Final)
CloudPlatform : Azure
Scenario:
Recipe intermittently fails while fetching the netmask
https://github.com/chef-cookbooks/squid/blob/master/recipes/default.rb#L23
Steps to Reproduce:
We have included the default recipe in one of our cookbook ( basically which setup NAT ) and running chef-client from bootstrap script ( which executes when server comes up for the very first time).
Expected Result:
Squid recipe will fail.
Actual Result:
Don't have it handy right now. Will update once re-create the server.

I am also seeing this. I think it happens when you have an interface thats up with no IP/mask

node['squid']['listen_interface'] is detecting the first up interface.
default['squid']['listen_interface'] = node['network']['interfaces'].dup.reject { |k, v| k == 'lo' || v[:state] == 'down' }.keys.first
On a machine with multiple interfaces, this will not always be the interface holding node['squid']['ipaddress']

something like this works
default['squid']['ipaddress'] = node['ipaddress']
node['network']['interfaces'].each do |name, info|
  next unless info['addresses'].keys.include?(node['squid']['ipaddress'])
  default['squid']['listen_interface'] = name
end

I again saw this issue
Here is the error trace :
Recipe Compile Error in /var/chef/cache/cookbooks/es_nat/recipes/default.rb
NoMethodError
undefined method `[]' for nil:NilClass
Cookbook Trace:
/var/chef/cache/cookbooks/squid/recipes/default.rb:26:in `from_file'
Relevant File Content:
/var/chef/cache/cookbooks/squid/recipes/default.rb:
 19:  # limitations under the License.
 20:  #
 21:
 22:  # variables
 23:  ipaddress = node['squid']['ipaddress']
 24:  listen_interface = node['squid']['listen_interface']
 25:  version = node['squid']['version']
 **26>> netmask = node['network']['interfaces'][listen_interface]['addresses'][ipaddress]['netmask']**
 27:
 28:  # squid/libraries/default.rb
 29:  acls = squid_load_acls
 30:  host_acl = squid_load_host_acl
 31:  url_acl = squid_load_url_acl
 32:
 33:  # Log variables to Chef::Log::debug()
 34:  Chef::Log.debug("Squid listen_interface: #{listen_interface}")
 35:  Chef::Log.debug("Squid ipaddress: #{ipaddress}")

I think the whole netmask is not necessary, because i can not detect any line where it is used.
It also makes trouble is I start bind on a non local ip. (via echo 1 >/proc/sys/net/ipv4/ip_nonlocal_bind)


cmake error (cmake version <IP_ADDRESS>) latest commit needs > <IP_ADDRESS>

when trying to make latest commit gives cmake error "cmake error (cmake version <IP_ADDRESS>)"
for install > 2.8.12 , follow;
sudo yum remove cmake -y
wget https://cmake.org/files/v3.6/cmake-3.6.2.tar.gz
tar -zxvf cmake-3.6.2.tar.gz
cd cmake-3.6.2
sudo ./bootstrap --prefix=/usr/local
sudo make
sudo make install
echo "PATH=/usr/local/bin:$PATH:$HOME/bin" >> ~/.bash_profile

What distribution are you building with?

centos7 - 3.10.0-957.1.3.el7.x86_64

Closing as I don't have time to investigate this.


unknown how to build project

I am a novice when it comes to building/compiling go how should I go about it?

I've added more detailed instructions and links to prebuild binaries to the README.


[SR-15876] Unhelpful error: Could not build Objective-C module ‘ModuleName’

Previous ID
SR-15876

Radar
rdar://89082987

Original Reporter
@ahoppen

Type
Bug

Additional Detail from JIRA

Votes
2

Component/s
SourceKit-LSP

Labels
Bug

Assignee
None

Priority
Medium

md5: 9ddcee184f7c88e97c4a2a1e791ed8aa

Issue Description:
From https://forums.swift.org/t/unhelpful-error-could-not-build-objective-c-module-modulename/55381
Sometimes when loading a package into the VSCode extension the SourceKit-LSP server will return the error
Could not build Objective-C module 'ModuleName'

where ModuleName is the name of some module being imported. This error appears on modules regardless of whether they include any Objective-C or not. Unfortunately I haven't found a consistent way to replicate this error. It appears to disappear if you build the project and restart VSCode. If it is related to the relevant module not being built it is not a very helpful message.
In what situations is this error message meant to appear.

Running swift test a second time give the also unhelpful error:
hassila@ice ~/G/package-benchmark ((0.3.2)) [1]> swift test
Compiling plugin Benchmark-Plugin...
Compiling plugin GenerateManualPlugin...
Building for debugging...
<unknown>:0: error: missing required module '_NumericsShims'
<unknown>:0: error: missing required module '_NumericsShims'

In this case the error is a missing dependency - we've found out that missing dependencies often gives these errors of 'missing required module xxx' which perhaps could be improved (the error isn't really "could not build Objective-C module", but should be something like "Can't import a module we have no dependency for" or something).
Adding the dependency fixes the error:
        .testTarget(
            name: "BenchmarkTests",
            dependencies: ["BenchmarkSupport"]
        ),

@ahoppen - maybe my reproducer was not valid for the original issue with sourcekit-lsp and a bit of a red herring for the original issue - even if it would be nice with a better diagnostic for my case too.

If you are using M1, it seems like the launch task is not correct, so the module is build wrongly. Can check the folder .build/arm64-apple-macosx

I have a similar error
could not build Objective-C module 'Module'
umbrella header 'Module.h' not found

Which caused by adding swift file to objc Framework
Its a different case than the one in the ticket BUT why the error is so ambiguous why the error doesnt includes a proper description of why it happens so we could understand the problem and fix maybe fix it

Any guidance on finding out what issue could be causing this error message?

The issue will almost always be an unexpressed dependency, potentially using swift build --explicit-target-dependency-import-check warn can help with finding it.

How is that warning (at least a warning, please!) not on by default??

cc @artemcm

Should be fixed by https://github.com/apple/swift-package-manager/pull/7103 because the compiler should not be picking up random modules anymore.


Add my puppy pic

She's too cute not to add to your rotation 🐶

Thanks for your contribution, missed the notification for this PR but I have set Eevee as my current profile pic. Thanks for sharing @TsekNet !


Getting "Response validation failed"

I'm trying to use the typescript client and I am getting the following error message:
SDKValidationError: Response validation failed: [
  {
    "code": "invalid_type",
    "expected": "boolean",
    "received": "undefined",
    "path": [
      "choices",
      0,
      "message",
      "prefix"
    ],
    "message": "Required"
  }
]

This appears to be because the API is not responding with a boolean value for the prefix parameter. I noticed the error object conveniently has a rawValue property containing the response, so I checked that and it looks like I'm getting a successful response from the API (just missing that property):
{
  "id": "368ace4bd8b74009b22b9f96881d477e",
  "object": "chat.completion",
  "created":<PHONE_NUMBER>,
  "model": "mistral-large-latest",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "-- actual text removed because it was long --",
        "tool_calls": null
      },
      "finish_reason": "stop",
      "logprobs": null
    }
  ],
  "usage": {
    "prompt_tokens": 12,
    "total_tokens": 663,
    "completion_tokens": 651
  }
}

Hey, thanks, for reporting this
Could you share with us the following:

the version of the package you are running
the code snippet you're using
To help us reproduce 🙇

Hey,
https://github.com/mistralai/client-ts/pull/24 should have fix the issue, let us know if you still encounter the issue with the new version 👍


[ISSUE] Not working with some public profile

Hi, is there some limitation with working profiles? I tried and for what I know it's only woking with Instagram verified profiles

Hi, the script works with any public accounts and does not work with private accounts. Make sure you enter the correct username.
Also, the script parses data from the site storiesig.com.  Sometimes their server does not respond.  It usually lasts about an hour.


Bug: dW deletes 1 character too many

Given the text (with cursor at |) [|1 2 3], pressing dW will delete 1 2, leaving [| 3]. This happens with collections as well: [|(1) (2) 3] becomes [|2) 3].

Is it a bug or just an implementation detail I've come to rely on that in vim-sexp, pressing dW on the final element in a collection will delete it? For example, [1 2 |(3)] in vim-sexp results in [1 2 ], whereas in nvim-paredit, this results in [1 2 |3)].

Yep, can confirm. First take: need to detect that pending operator is delete and return column number decremented by 1.
Thoughts @julienvincent?

Digging into vim api, event can be inclusive/exclusive.


Fix skip and limit parameters

Overview
Previously, the skip and limit parameters of GET _all_dbs and _dbs_info did not work correctly. If we have 2 _design/* docs and 2 dbs (db1, db2), and we set skip=2, it will return db1 and db2, which is incorrect. Same as the limit. This PR will fix it.

Testing recommendations
make eunit apps=chttpd suites=chttpd_dbs_info_test

Related Issues or Pull Requests
https://github.com/apache/couchdb/pull/3832

Checklist

[x] Code is written and works correctly
[x] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[x] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

After adding the new namespace non_design, I don't need to deal with skip/limit in fabric.
This is indeed a more efficient approach.
Thank you for your suggestion, @nickva


fix #32416.

Fix #32416 .
Override operator delete.

@wangtz
LinearMemoryPlanner is never used so it does not cause link time error.
I'll fix it in the next patch.

@csukuangfj Can you please resolve conflicts? Thanks!

@gbaned
Done.

It takes nearly two months to merge such a small fix !!!
It's still not merged!

@gbaned Hi Dero, could you help merge the PR?
Thanks!

@csukuangfj Can you please check build failures? Thanks!

@gbaned
The error log from https://source.cloud.google.com/results/invocations/117384e4-7ee8-41a2-a56b-c09ba03c8320/targets/%2F%2Ftensorflow%2Ftools%2Fci_build%2Fbuilds:gen_android_out/log
has nothing to do with my commit.
[0 / 80] [Prepa] BazelWorkspaceStatusAction stable-status.txt
ERROR: /tmpfs/tmp/bazel/external/jsoncpp_git/BUILD.bazel:5:1: C++ compilation of rule '@jsoncpp_git//:jsoncpp' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 29 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
gcc: error: unrecognized command line option '-std=c++14'
Target //tensorflow/core/common_runtime/eager:execute failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /tmpfs/src/github/tensorflow/tensorflow/core/BUILD:242:1 C++ compilation of rule '@snappy//:snappy' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 27 argument(s) skipped)

@csukuangfj Could you please address Ubuntu Sanity errors? Thanks!

ERROR: error loading package 'tensorflow/compiler/tests': Unable to load file '//tensorflow:tensorflow.google.bzl': file doesn't exist

from https://source.cloud.google.com/results/invocations/6070c286-565c-49ca-bdf3-df7db18f76e2/targets/%2F%2Ftensorflow%2Ftools%2Fci_build:gen_ci_sanity_out;shard=1;run=1;attempt=3/log
is not caused by this commit.
@gbaned
I only added 4 lines and have tested it on my computer. Which line can make the CI failed ?

@wangtz Could you PTAL. Thanks!

Nit: Please don't include issue number in title, include it in the description of the PR. And give the PR a descriptive title

@csukuangfj  Could you please address above internal error and resolve conflicts? Thanks!

It has been 15 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

@gbaned
you've mentioned your two colleagues but neither of them replies.  I do NOT know
why the file compatibility.h is missing and I guess there must be some reasons for
its removal.
Three months have passed and such a small change is still not merged. I can think of the
high communication cost in such a large project.
I will resolve the conflicts tomorrow.

Thanks for your patience, sorry this has taken so long, we're trying to improve the process so it doesn't take so long in the future. Feel free to email me directly at<EMAIL_ADDRESS>if you find yourself stuck with a long-running PR like this again.

Changes have been submitted internally , waiting for auto-merge to happen. Thank you


React.js Medium Issue 1 (To-Do List App)

Pull Request Type
What kind of change does this PR introduce?
[X] Solved an issue/task
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?
Issue Number: #1531
What is the new behavior?
Renders UI elements to add new todo items, list existing ones with options to edit and delete them, and to delete all listed items. List data is loaded from localStorage as a JSON string, and stored there when todo item text changes.
Other information

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Windows: file renamed case issues

I'm on the latest code insiders on windows 10.
Didn't find the issue related.
I have an issue with one of my files. First it was called transitBlock.ts, then I renamed it in to TransitBlock, actually on windows NTFS they are the same files. Now during the work with vscode I can actually open both files (both files are shown in recently opened search), and sometimes it actually loads old an old version of the code and breaks everything in current code. I can not fixate more accurate details what is going on with the erros and how the code becames broken, but the situation when I see both files in search on Windows in not normal anyway.

Duplicate of https://github.com/Microsoft/vscode/issues/12448


add support for testing/adding other exts

this commit adds support for additional extensions to be included by the makefile chain

@AileenLumina i followed what you asked


World of Warcraft Freezes/Hangs Patch 8.1.5

Many users appear to be having issues with the new major changes in the World of Warcraft engine.
I also have this issue. I am able to get into the game and login to a character for around 5 seconds before the game hangs and freezes my entire system.

Try to stop the nvapi hack.

tried running with hack disabled. same problem

Also, getting errors
0078:err:d3d:wined3d_debug_callback 0x272f8360: "GL_INVALID_OPERATION error generated. Target buffer must be bound and not overlapped with mapping range.".

Does this still work with wined3d?

it looks working with wined3d. I've seen reports that it works with vkd3d too, but didn't try it personally.

Just tested, both D3D11 and D3D11 (Legacy) work completely fine on my end with latest RADV.
What exactly happens anyway? Is it a GPU hang?

Currently, for me, game hangs. I'm able to kill it, and desktop continues to work normally.
Also, see 'NVRM: Xid (PCI:0000:01:00): 41, CCMDs 00000023 0000b0b5' in dmesg output.

Well, fun times. Can't debug those.

dxvk 1.0, wine-staging 4-2, Nvidia 418.42.02, and if I set the version to windows 10, I can get into the game. But then a minute or so later, I crash and the desktop locks hard.  I'm getting this, though: NVRM: Xid (PCI:0000:07:00): 39, CCMDs 00000013 0000c1b5
Same error, regardless of Legacy or regular DX11 in the WoW settings. Logs attached.
Wow_d3d11.log
Wow_dxgi.log

Logs sadly aren't helpful to debug this, in fact I cannot debug this at all since I don't know what the Xid errors mean. I suggest everyone playing WOW give vkd3d a try, there's just nothing I can do here.

dxvk 1.0, wine-staging 4-2, Nvidia 418.42.02, and if I set the version to windows 10, I can get into the game. But then a minute or so later, I crash and the desktop locks hard. I'm getting this, though: NVRM: Xid (PCI:0000:07:00): 39, CCMDs 00000013 0000c1b5
Same error, regardless of Legacy or regular DX11 in the WoW settings. Logs attached.
Wow_d3d11.log
Wow_dxgi.log
ETA: it's like when I'm loading a new area that things lock. For instance, I logged into the Great Seal, and it locked. Next time I was in, I was able to make it to the flight path before locking. And so on.

In my case it crashes way earlier, but it's the same behaviour and error code as yours. I'm using dxvk 1.0, lutris + tkg-4.2 runner and nvidia 390 drivers on a Nvidia MX150
Just FYI, if I disable dxvk from lutris runner config and switch to "Directx11 Legacy" within the game, it works, but with a very poor performance (from ~50 to ~15fps).
I understand it's hard to debug and fix, thanks for the effort @doitsujin

In my case it crashes way earlier, but it's the same behaviour and error code as yours. I'm using dxvk 1.0, lutris + tkg-4.2 runner and nvidia 390 drivers on a Nvidia MX150
Just FYI, if I disable dxvk from lutris runner config and switch to "Directx11 Legacy" within the game, it works, but with a very poor performance (from ~50 to ~15fps).
I understand it's hard to debug and fix, thanks for the effort @doitsujin

same here

Logs sadly aren't helpful to debug this, in fact I cannot debug this at all since I don't know what the Xid errors mean. I suggest everyone playing WOW give vkd3d a try, there's just nothing I can do here.
fwiw I can reproduce this on my GTX 670, but not on AMD.

I don't know if this might be useful or not, but using a newer DXVK (1.0) I was able to spot this on the lutris logs:
err: DxvkDevice: Command buffer submission failed: VK_ERROR_DEVICE_LOST
err: DxvkDevice: Command buffer submission failed: VK_ERROR_DEVICE_LOST
err: DxvkDevice: Command buffer submission failed: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST

This is in addition to the NVRM Xid 41 errors as noted earlier. Both of these logs (VK_ERROR_DEVICE_LOST and the NVRM Xid 41 one) happen right as the game 'freezes'. I say 'freezes' because I can still hear music, but if I don't X11 kill the window right away it starts to lock up my entire desktop.
Currently using nvidia-drivers-418.43 (this issue does seem to be related only to NVIDIA cards). Probably related to https://www.wowhead.com/news=289041.2/nvidia-driver-optimizations-for-patch-8-1-tides-of-vengeance. Beats me why a graphics pseudo-update would hit at this point in the patch lifecycle but oh well.
Currently trying to get 4.1 staging + vkd3d to work. So far I was greeted by a black screen when forcing DX12 (although that in itself is promising enough, for something that used to not work completely).
Sorry if this adds more noise than information. Let me know if I can provide any further debugging steps.

From Nvidia's documentation it looks like both those Xid Errors are unused.
https://docs.nvidia.com/deploy/xid-errors/index.html

Has anyone noticed this error?:
warn:  DxgiFactory::QueryInterface: Unknown interface query warn:  7632e1f5-ee65-4dca-87fd-84cd75f8838d info:  DXGI: NvAPI workaround enabled, reporting AMD GPU warn:  DxgiAdapter::QueryInterface: Unknown interface query warn:  7abb6563-02bc-47c4-8ef9-acc4795edbcf info:  DXGI: NvAPI workaround enabled, reporting AMD GPU info:  DXGI: NvAPI workaround enabled, reporting AMD GPU ACCESS_VIOLATION : error 132: ERROR #132 (0x85100084) Fatal exception!  The instruction at "0x000000018000396a" referenced memory at "0x0000000000000000". The memory could not be "read".

I noticed one query is from here:
https://github.com/CMCHTPC/DelphiDX12/blob/master/Units/DX12.DXGI1_5.pas#L53

https://github.com/Microsoft/DirectX-Graphics-Samples/commit/f2cd4470851b0f87a92f4e9b4147dde8b8a987d2

7abb6563-02bc-47c4-8ef9-acc4795edbcf seems to be an undocumented interface:
https://github.com/bo3b/3Dmigoto/issues/32
https://github.com/bo3b/3Dmigoto/blob/e88d97fd57c6ddec7424be274f4cff2886693aca/DirectXGI/DXGIWrapper.cpp#L713

Has anyone noticed this error?:
warn:  DxgiFactory::QueryInterface: Unknown interface query

warn:  7632e1f5-ee65-4dca-87fd-84cd75f8838d

info:  DXGI: NvAPI workaround enabled, reporting AMD GPU

warn:  DxgiAdapter::QueryInterface: Unknown interface query

warn:  7abb6563-02bc-47c4-8ef9-acc4795edbcf

info:  DXGI: NvAPI workaround enabled, reporting AMD GPU

info:  DXGI: NvAPI workaround enabled, reporting AMD GPU

ACCESS_VIOLATION : error 132: ERROR #132 (0x85100084) Fatal exception!

 The instruction at "0x000000018000396a" referenced memory at "0x0000000000000000".

The memory could not be "read".

I also get that error if I'm using wine-tkg-4.2. Everything is working nice with wine-staging-4.3.

https://www.reddit.com/r/linux_gaming/comments/b0gvmf/wow_815_freezes/eigcf0r/
Allegedly a windows 10 user is having the same issue, also Nvidia. Could very well be a driver issue.

I noticed that using the dxvk.dxgi backend was the issue. Wine's dxgi backend works better with multithreaded d3d11.

Please see #967

nvrm.log
Wow_d3d11.log

Can anyone test this hack:
wow-test.patch.txt
There's a game bug in some regions which actually triggers validation errors, the above patch seems to fix GPU hangs on my GTX 670.

Can anyone test this hack:
wow-test.patch.txt
There's a game bug in some regions which actually triggers validation errors, the above patch seems to fix GPU hangs on my GTX 670.

I've been trying to compile with the patch applied, but I'm having issues with the dependencies, sorry. Let's see if someone else can help you out.

@thedae here's a build:
dxvk-master.tar.gz

It's working flawlessly so far! I'm going to move around regions to check that it's really fixed

Okay, thanks for testing. Also thanks to @ZeroFault for finding this.

Thanks! Works great so far, and with new directx11 even faster than before!

Thank you soooo much, it works perfectly now :)

Fixed issue for me as well, thanks!

Can someone help me to understand - how to use this? I'm running Linux mint 19.1 mate x64, nvidia gtx850m, 390.77 driver

@MadMagnetic
download dxvk-master.tar.gz,
extract it, and in created directory, run command WINEPREFIX=/path/to/your/wineprefix ./setup_dxvk.sh install
If you originally installed dxvk via Lutris, or by some other means, you probably need to find out how to install it from there.

@MadMagnetic @prosenboim
If installed via Lutris, set the DXVK version to manual, set your WINEPREFIX to wherever Lutris installed WoW, and run the command as usual. Worked for me.

FYI, Blizzard took @doitsujin's advice and fixed their game:
https://us.forums.blizzard.com/en/wow/t/linux-client/119819/87:
Post from Rommax - WoW Developer referencing this github issue directly:

With the most recent 8.1.5 build (29732) the DX11 bug causing issues should be fixed and the workaround changeset for dxvk shouldn’t be necessary anymore, though it should be harmless to keep.

Unfortunately this issue is back and the old DXVK fix no longer works :( as of today, the game crashes with an 132 Error as soon I try to log in (login screen finishes and when its about to transition into the game the crash occurs). Any chance we  can reopen this?

There was a minor game update which apparently addresses some legacy DX11 problems so presumably that has messed something up. I'm using the same wine/bnet configuration that has been working flawlessly for months. I'm not sure how to run it just with wined3d, can you point me to some instructions for that?
If the wined3d works I can create a new issue with all my specs and info etc.

I'm not sure how to run it just with wined3d, can you point me to some instructions for that?

Just disable DXVK. I have no idea how you launch the game; if you're using Lutris then there's an option somewhere in the Lutris GUI.
Since you mentioned D3D11 legacy fixes, please test both the D3D11 legacy and the new D3D11 mode (the "new" mode should be preferred anyway when using DXVK).

Yes, I'm using Lutris. Disabling DXVK means when I launch the game it throws an "Battle.net could not find a missing DLL" error - let me try to see if I can get it to run so I can test the D3D11 mode. Thanks!

OK I managed to start it up without DXVK and it works (does not crash) but it runs at around 1-2 FPS. I'll create a new issue.

Unfortunately this issue is back and the old DXVK fix no longer works :( as of today, the game crashes with an 132 Error as soon I try to log in (login screen finishes and when its about to transition into the game the crash occurs). Any chance we can reopen this?

Leaving this here in case somebody has this same issue: game is working fine for me, but I do get the Error 132 (IIRC it's an access violation error, memory could not be "read" or something like that) from time to time, typically after a certain update (major or minor) has hit. This error I usually relate to not having the correct windows version on the WINEPREFIX.
So, in order to fix this, what I usually do is run winecfg on the WINEPREFIX, set it to Windows 7, then back to Windows 10. That usually fixes it.
This issue was originally about a game hang (and subsequent desktop hang) that occurred primarily on NVIDIA cards using DXVK, unrelated to the Error 132 bit.


refactor(terminal): move commands to core-common

Types

[x] 🪚 Refactors

Background or solution
Changelog

/publish

Codecov Report

Merging #782 (fafe260) into main (9336f35) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #782      +/-   ##
==========================================
+ Coverage   58.58%   58.59%   +0.01%
==========================================
  Files        1210     1211       +1
  Lines       74969    74970       +1
  Branches    15586    15586
==========================================
+ Hits        43919    43930      +11
+ Misses      28297    28288       -9
+ Partials     2753     2752       -1

Impacted Files
Coverage Δ

packages/core-browser/src/common/common.command.ts
100.00% <100.00%> (ø)

packages/core-common/src/commands/terminal.ts
100.00% <100.00%> (ø)

packages/terminal-next/src/common/commands.ts
100.00% <100.00%> (ø)

packages/monaco/src/browser/schema-registry.ts
68.88% <0.00%> (-2.23%)
:arrow_down:

...kages/theme/src/browser/workbench.theme.service.ts
71.17% <0.00%> (-0.89%)
:arrow_down:

...erences/src/browser/preference-settings.service.ts
74.19% <0.00%> (-0.65%)
:arrow_down:

packages/keymaps/src/browser/keymaps.service.ts
63.24% <0.00%> (+0.28%)
:arrow_up:

packages/file-service/src/browser/watcher.ts
100.00% <0.00%> (+4.34%)
:arrow_up:

...es/src/browser/userstorage/user-storage.service.ts
71.91% <0.00%> (+14.60%)
:arrow_up:

Continue to review full report at Codecov.

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


Extension causes high cpu load

Issue Type: Performance
Extension Name: vscord
Extension Version: 5.1.14
OS Version: Windows_NT x64 10.0.19045
VS Code version: 1.80.1

:warning: Make sure to attach this file from your home-directory:
:warning:file:///c%3A/Users/USER/AppData/Local/Temp/LeonardSSH.vscord-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

you are meant to attach the file not send the file path


Support for Homebridge 2.0

I made a couple of minor improvements including:

Current Temperature warning when temp returns null #25
Added a homebridge config stub, so that it can be easily tested
Included my publish workflow, that simplifies publishing to NPM. It will require creating a GitHub action secret 'npm_token', with a token from your NPM account.
Updated to indicate support for Homebridge 2.0
Mention my ESP32 based wifi module project in the README #27

I should have mentioned how the auto publish works
1 - Create a NPM Token - npmjs.com -> Access Tokens -> Generate New Token -> Granular Access Token
Pick a custom date some time in the distant future
Under packages select read and write, Only select packages and scopes - and select the package
Generate token
2 - Create a GitHub Action Secret - Setting menu -> Secrets and Variables -> Actions -> Repository Secrets -> Add new Secret NPM_TOKEN
Once it has been setup, if you create a branch with a name 'beta-..*' ie 'beta-0.3.1', and when you make a commit to the branch it will automatically publish a beta.  Every commit afterwards to the branch, will trigger a new beta release
For Release publishing, Go To
Actions -> Build, Publish and Release -> Select Run Workflow, and it will automatically build, and publish a formal release.
PS - The workflows expects the main branch to be call main, and not master so you will need to rename it.

FYI - In action - https://github.com/NorthernMan54/homebridge-hikvision-local/actions/workflows/Build and Publish.yml


MLDB-1162 html plugin

This is a hangover from the pre-open sourced MLDB version.
Not to be merged until there is a clear DOD.
FYI @nicolaskruchten

So you want me to spec out some HTML parsing functions?

Can we split the commits of the external libraries and those of the plugins so that we can review the relevant code more easily.

Commits have been split into external and internal.

This PR is big enough to choke my browser. The part I saw had no test coverage of the new parser. Is that correct?


[Dynamo]  Add operator support to run UNet2DConditionModel from diffusers

Stable diffusion leverages UNet2DConditionModel for the diffusion process.
This is a popular model and because of its size, the torch -> onnx -> hidet workflow is difficult and unnatural to work with.
This PR adds operator support required by torch.compile for UNet2DConditionModel
e.g.
device= 'cuda'
model_dtype = torch.float16

unet = (
  UNet2DConditionModel.from_pretrained(
      'CompVis/stable-diffusion-v1-4',
      subfolder="unet",
      revision="fp16",
  )
  .eval()
  .to(device)
)

hidet_model = torch.compile(unet, backend="hidet")

batch_size = 1
UNET_INPUTS_CHANNEL = 4
height = width = 512

tokinizer_max_len = 64
embedding_hidden_size = 768

latents = torch.randn(
    (batch_size * 2, UNET_INPUTS_CHANNEL, height // 8, width // 8),
    device=device,
    dtype=model_dtype
)
t = torch.ones(1, dtype=torch.int64, device=device)
text_embedding = torch.randn(
    batch_size * 2,
    tokinizer_max_len,
    embedding_hidden_size,
    dtype=model_dtype,
    device=device,
)
inputs = (latents, t, text_embedding)

hidet_model(*inputs)

Hi @AndreSlavescu  can you also review this PR to see if all the stuff makes sense? I will add the tests shortly following your PR merge

Hey @xinli-git , looks good. I can also review fully when testcases are added.

For the Group Norm test, can you add it in /hidet/tests/operators/test_norm.py
For the Interpolation test, can you make a new file for vision functions called test_vision.py
and add it under the same directory as shown above.

Hi @yaoyaoding, this PR is ready for a final review

Thanks @xinli-git!
Looks good to me. Merge this PR now.
If you want to track the performance of stable diffusion model, you could add the model to our benchmark cli
and add a line here. The performance will be tracked at this issue.

Thanks! will check that out


[core] Improve inline code rendering within the details tag

Signed-off-by: Harmouch101<EMAIL_ADDRESS>

[x] I have followed (at least) the PR section of the contributing guide.

Impact of this PR:

@Harmouch101 It looks like a good improvement. I think to also apply in https://github.com/mui/mui-x.

Alright! I will apply this fix whenever I stumble across a new rendering issue.

@Harmouch101 It's a great first pull request on MUI 👌🏻. Thank you for working on it!