Not able to store the characters "!", "@", "#" in flash (IDFGH-9057)

Hi,
I am using esp-idf version 4.4.0. I am submitting an HTML form through a webpage hosted by the esp32 and storing the form's content in esp32's flash. I am not able to store special characters like "!", "@", and "#" in esp32 flash. Instead, their ASCII equivalent numbers are stored in flash. For example, if I submit the password as "!@#", it is getting received as "%21%40%23" when I submit through the form, and am not able to connect to the MQTT broker because of it. Can someone help me resolve this? I have attached the code where I extract data from the submitted HTML form.  Intention behind this form is to connect to mqtt broker with the credentials provided by the user.
`	char* mode = strtok(buf, "&");
char* slaveId = strtok(NULL, "&");
char* host = strtok(NULL, "&");
char* port = strtok(NULL, "&");
char* user = strtok(NULL, "&");
char* pwd = strtok(NULL, "&");
char* mode_key = strtok(mode,"=");
char* mode_value = strtok(NULL,"=");
ESP_LOGI(TAG,"%s:%s",mode_key, mode_value);

char* slaveId_key = strtok(slaveId, "=");
char* slaveId_value = strtok(NULL, "=");

char* host_key = strtok(host, "=");
char* host_value = strtok(NULL, "=");

char* port_key = strtok(port, "=");
char* port_value = strtok(NULL, "=");

char* user_key = strtok(user, "=");
char* user_value = strtok(NULL, "=");

char* pwd_key = strtok(pwd, "=");
char* pwd_value = strtok(NULL, "=");`

The problem is not with storing special characters, which you can test storing it from code, without using website.
It is problem with your code, because you have encode/decode special characters received from web page.
https://github.com/zenmanenergy/ESP8266-Arduino-Examples/blob/master/helloWorld_urlencoded/urlencode.ino#L17

Thank you for pointing out the mistake @chegewara. Will try to implement this in my code and get back to you.

Closed with https://github.com/espressif/esp-idf/commit/167618d6a4e2cfcaab967ba2ba920df64fb4795d


fix(remove): remove used without a value removes the filter entirely

resolves #23

resolves #22

:tada: This PR is included in version 1.3.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature] Retry with by editing original prompt

Often times, I want to retry but modify my prompt slightly. The current retry will simply retry with the same prompt. Delete will delete the prompt and the response.
The current way of doing prompt retry is:

copying original prompt
delete response(which will delete prompt as well)
paste my prompt in chatbox
edit

Instead, when I click retry, ideally something similar to yakgpt happens. Where I can directly edit my original prompt.

Now you can click avatar to edit a message:


command not found

hi guys,
i can't start it. i tried multiple times install and uninstall it, and i still get this error.
http://i65.tinypic.com/2dka3hs.png

What exact steps have you performed? What do you mean by install and uninstall?
Have you done these steps?
python setup.py build; python setup.py install


fix/update_cnn - Debug cnn.py

Bug
When training a ConvolutionalNeuralNet, issues arise with loss calculations in final layer of the network. Appears to be connected with the softmax / cross-entropy loss implementation.
C'mon @ggutierrez545 get it together

Update
Appears that issue might actually lie with the way partial derivatives are calculated for ConvolutionLayers in backpropagation. Need to pay closer attention to those calculations to see if this hunch is correct.

WE FINALLY DID IT.
Good job me, very proud.


Text font size not working

When changing the font size in the Properties panel, the text not change.

I think it's good with: https://github.com/OpenSmock/Pyramid/pull/107


Integration pipeline doesnt remove deleted rows

Hello!
Currently i am using mage integration pipelines and is great! after some time using it i notice my destinations are having more data than my sources despite having the replication method full_table im expecting some truncate or delete but mage is not capable of detect row deletion from source. i dont know if this is the expected behavior and if it really is, should be nice to have an option to truncate the destination table in data integration pipelines. Thanks for all!

closing the issue, i found an alternative with callbacks

Hi @bdoester! of course, i made a callback that truncate the destination_table after the first load of the source.
for better illustration:
if 'callback' not in globals():
    from mage_ai.data_preparation.decorators import callback
from mage_ai.settings.repo import get_repo_path
from mage_ai.io.config import ConfigFileLoader
from mage_ai.io.postgres import Postgres
from os import path

@callback('success')
def success_callback(parent_block_data=None, **kwargs):
    # mage loads multiple times so we must ensure this runs only in the first run
    if kwargs['index'] != 0: return

    table_name = kwargs['destination_table']

    config_path = path.join(get_repo_path(), 'io_config.yaml')
    config_profile = 'default'

    with Postgres.with_config(ConfigFileLoader(config_path, config_profile)) as conn:
        conn.execute(f'truncate {table_name}')


Can not download datasources that are not in project

A duplication of https://github.com/tableau/server-client-python/issues/293 but it was closed by the author with no solution provided
For some reason datasources in workbooks can only be found by ID and can not be downloaded
ds = server.datasources.get_by_id("d5c9def5-61f0-49ce-a860-d688edf28f6e")
server.datasources.populate_connections(ds)
ds
>>> <tableauserverclient.models.datasource_item.DatasourceItem object at 0x000001D587581BB0>
path = server.datasources.download(ds.id)
>>>tableauserverclient.server.endpoint.exceptions.ServerResponseError:
>>>   404004: Resource Not Found
>>>            Datasource "d5c9def5-61f0-49ce-a860-d688edf28f6e" could not be found

Also,  if I retrieve all datasources from the server it's not there
temp_list = [ds for ds in TSC.Pager(server.datasources.get) if ds.id == "d5c9def5-61f0-49ce-a860-d688edf28f6e"]:
temp_list
>>> []

I am facing the same issue. Has there been any solution to this?
Thanks

I think this question is asking about embedded data sources. These are published as part of the workbook, and cannot be downloaded separately - you have to download the workbook as a complete twbx file.

Hi @jacalata , Can you please check this again. Since as per the Tableau REST API documentation for Download Data Source, this method should download the datasource in .tdsx format and not twbx file.
Tableau REST API URL - https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#download_data_source
tdsx zip file contains the datasource extract which contains all the data extracted from backend database for that specific workbook.
Also the tableauserverclient method below is the python wrapper for the above API and its documentation also state the same.
tableauserverclient URL - https://tableau.github.io/server-client-python/docs/api-ref#datasourcesdownload
Downloads the specified data source in .tdsx or .hyper format..
but it is not working as per the REST API specification.


new pallet: whitelist pallet

should be ready, but I need to a final review myself

We have already implemented exactly this in our pallet https://github.com/open-web3-stack/open-runtime-module-library/pull/603

/bench runtime pallet pallet-whitelist

/bench runtime pallet pallet_whitelist

/bench runtime pallet pallet_whitelist

/bench runtime pallet pallet_whitelist

bot merge


Keyboard and mouse scroll not working in tutorial

Scrolling to zoom in and out doesn't work and trying to use space to rotate slopes is ineffective in the tutorial.
Doing so in the normal editor works normally.

fixed, posting release


flagg/react is not a valid import path

Find a way to alias flagg/dist/react to flagg/react. Also correct documentation

import-path might help make this simple.

Thanks! yeah this is just annoying and I never bothered to fix it


Add support for SOCKS proxies

I'm working in a place where in order for certain things to run properly on my system I have set the HTTP_PROXY and HTTPS_PROXY environment variables to point to a proxy, but the LSP-jdtls extension fails to start with the following message:

The stack trace in the console:
Unable to start subprocess for jdtls
Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\LSP.sublime-package\plugin/core/windows.py", line 245, in start_async
    plugin_class.install_or_update()
  File "C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\LSP-jdtls.sublime-package\modules/jdtls.py", line 66, in install_or_update
    installer.install_or_update()
  File "C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\LSP-jdtls.sublime-package\modules/installer.py", line 137, in install_or_update
    extract_tar(JDTLS_URL.format(version=version), jdtls_path())
  File "C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\LSP-jdtls.sublime-package\modules/installer.py", line 69, in extract_tar
    _extract_file(url, path, lambda x: tarfile.open(x, "r:gz"))
  File "C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\LSP-jdtls.sublime-package\modules/installer.py", line 48, in _extract_file
    download_file(url, compressed_file)
  File "C:\Users\user\AppData\Roaming\Sublime Text 3\Installed Packages\LSP-jdtls.sublime-package\modules/installer.py", line 35, in download_file
    with urlopen(url) as response, open(file_name, "wb") as out_file:
  File "./python3.3/urllib/request.py", line 156, in urlopen
  File "./python3.3/urllib/request.py", line 469, in open
  File "./python3.3/urllib/request.py", line 487, in _open
  File "./python3.3/urllib/request.py", line 447, in _call_chain
  File "./python3.3/urllib/request.py", line 785, in <lambda>
  File "./python3.3/urllib/request.py", line 813, in proxy_open
  File "./python3.3/urllib/request.py", line 469, in open
  File "./python3.3/urllib/request.py", line 492, in _open
  File "./python3.3/urllib/request.py", line 447, in _call_chain
  File "./python3.3/urllib/request.py", line 1316, in unknown_open
urllib.error.URLError: <urlopen error unknown url type: socks5>

I have attempted to circumvent the issue by using ProjectEnvironment, but it does not appear to work correctly with other plugins.

You can right-click the console input to switch to 3.3 mode

Thanks, now I'm getting ImportError: No module named 'socks'. I'm guessing at this point that I need to find some other way around the problem.

I guess you would have to vendor pysocks for this to work. At this point, I don't think it can or at least should be fixed within LSP-jdtls.

Alright. Thanks for your help.


Android Chrome is not detecting Eddystone beacon (Nexus 5x, Android 6.0.1, Estimote 3.2.0, Chrome 52.0.2743.98)

My trusty Android Chrome is not detecting my Eddystone beacon.
Specs:

Nexus 5x,
Android 6.0.1,
Estimote 3.2.0,
Chrome 52.0.2743.98

Everything is kosher on the beacon settings end of things:

Beacon has latest firmware
Beacon configured to Eddystone-URL
Desired public site uses HTTPS. URL shortened w/google shortening service.
Beacon is right next to phone, beacon not sleeping, power set to -20dBm, 500ms broadcast interval, smart battery saving "off".
Phone does see beacon in Google Beacon Tools > Beacons Near Me. Recognizes it as EddystoneURL.

On the phone side:

All antennas on (Btooth, WiFI, Location, cell antenna)
Chrome Physical Web "on"
Chrome access to location "on"
Chrome notifications "on"
Google > Nearby = "on" (beacon doesn't show up in Google > Nearby Discoveries)

Are there other settings/avenues I'm overlooking?
Thanks in advance.

Sorry you're having so much trouble. It certainly appears that you've done everything right. We are working on a validation service to help debug these issues. Here are a few things to try:

Just to make sure your beacon is broadcasting correctly, please download the excellent BLE debugging app nRF Connect. It will scan for ALL BLE devices nearby your phone. If there aren't too many, you should be able to see your beacon. It'll be marked as an Eddystone-URL and show the goo.gl link inside (just to be safe) If you can't see anything, I'm not sure what to say. The 5x does have a pretty bad BLE stack (it will be fixed in the N release) and sometimes that keeps things from being seen)

If you can see it in the app then make Android not Chrome is scanning. We've recently moved the scanning from Chrome into Android. It should have shown up automatically but to force it. Go into Settings>Google>Nearby and make sure it is turned on. It even shows things it can see.

The last possibility is that you're website is blocking the Physical Web. If your site has a robots.txt file that prevents crawling, we honor that and won't show it.

Thank you for the follow up!

Regarding (3) - Good suggestion on the robots file. I removed my top level htacess to rule that out, but overlooked robots as a possibility. In any case, robots.txt is updated to exclude bots from sub-directories only.
Regarding (1)  - I downloaded nRF Connect to my Android. It was able to detect the beacon.
Regarding (2) - I could've been clearer in my original post. I did have Android Settings > Google > Nearby > "On" with no success.

Do you know what would be producing the difference in results between nRF Connect (detection) and Android > Google > Nearby (no detection)?
Thanks again for all the help.

If you had a robots.txt that was blocking google, that would explain it. The cache should update in a few hours. If our proxy service can't resolve the URL (as would be the case with robots.txt) then we don't show anything. That's why you don't see anything.
Whenever people have problems like this, I suggest you set the beacon to point to google.com or reddit.com. If you can see them, your basic plumbing is working. THEN test out your site, if you can't see it, there's usually an https/robots.txt problem.

Thank again. I also did not account for the time needed for the cache update.
Thanks for all your help. It is working now.


Compliance with awesome-go

I tried to submit a PR to add your project but it doesn't meet some requirements:
Please provide package links to:

github.com repo: https://github.com/syndbg/goenv
godoc.org:
goreportcard.com:
coverage service link (gocover, coveralls etc.):

Make sure that you've checked the boxes below before you submit PR:

[x] I have added my package in alphabetical order
[x] I know that this package was not listed before
[ ] I have added godoc link to the repo and to my pull request
[ ] I have added coverage service link to the repo and to my pull request
[ ] I have added goreportcard link to the repo and to my pull request
[ ] I have read Contribution guidelines and Quality standard.

Hello, the project is not suitable for neither godoc, goreportcard and coverage service link.
It's bash code so there's that.

Closing due to inactivity. Feel free to re-open at any time.


DEVINF-175: Support for adding transient properties to the mandatory audit fields

In Skai we have a requirement to add additional properties to an AuditRecord-s mandatory fields, that do not come from the DB.
This is accomplished as follows:

Adding support for a new type of member in the entity - a transient property. These properties hold values which can be populated in a command, but will not be saved to the DB.
Adding a new annotation @AuditDescription that can be placed on transient properties. When it exists, the property value will be added to the mandatory fields of the audit record.

@yinong - FYI

Going with a different approach, as discussed with @dimagorelik


meshopt_decoder.js cannot be resolved due to unpkg.com being down

Description
At the time of this issue, Unpkg.com has now been down for almost 5-hours. Model-Viewer still references unpkg.com to pull the MeshOptimizer. Overall, jsDelivr.com seems to be a more stable option for pulling packages. This error can be seen by opening Editor
Live Demo

https://modelviewer.dev/editor/

Version

model-viewer: v3.0.2 or Latest

Browser Affected

[X] Chrome, version: xx.x.xxxx.xx
[X] Edge
[X] Firefox
[X] IE
[X] Safari

OS

[X] Android
[X] iOS
[X] Linux
[X] MacOS
[X] Windows

AR

[ ] WebXR
[ ] SceneViewer
[ ] QuickLook

Fixed by #4196


New landing

📝 Changed routes:

/

(view full size)

Commit 2cf90d453b4bb7a3dc33b64719a021e43ba4a72f (https://thirdweb-feedx6pnr-thirdweb.vercel.app).


Improve UI for adding vector collection port

Implements #115 .

I forgot the description table for the conf/dictionaryVectorCollectionsTelemetry.json dictionary parameters. Adding shortly.

I forgot the description table for the conf/dictionaryVectorCollectionsTelemetry.json dictionary parameters. Adding shortly.

Done @traversaro .

Ciao @traversaro , do you need any additional information regarding this PR? Maybe we could discuss today on Teams?

Thanks @traversaro .


Implement Converters separately from DataModels

It is not completely finished yet but demonstrates the idea.
The notion of data converters is separated from DataModels.
A converter is anything callable (lamda or functor) wrapped into std::function with the signature std::shared_ptr<NodeDataModel>(std::shared_ptr<NodeDataModel>).
All converters are stored in the mapping (data_id1, data_id2) -> std::function<Converter>.
TODO:

json save/restore
paint some icon on top of the "converting" connection
use color gradient for "converting" connections when they are painted according to data types.

I haven't finished with the colors yet. I pointed it out in the very first comment -- I'll add connection-color gradients, some fancy icon to tag the "converting" connections and JSON store\restore

Whoops, I didn't see that.

I wonder if it should be a gradient or just a color change at the point of the conversion symbol. I'm just noticing how the connection appears more cyan than red to me there, and wondering if there are color combinations for which it would become hard to notice. I bet it looks better for some color combinations than others.

Merged manually and pushed to master


Pipenv 2020 error's out not finding the requirement.txt

Issue description
On a empty folder installing -
pipenv install thoth-sourcemanagement
Error's out stating missing requirements.txt
However works as expected with pipenv 2018 version.
Steps to replicate
Environment -
Fedora 32
You can also replicate the error on a katacoda environment - https://www.katacoda.com/courses/ubuntu/playground1804
Try installing the following Pipfile with pipenv 2020
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
thoth-sourcemanagement = "*"

[requires]
python_version = "3.6"

The new version of pipenv upgrades the internal version of pip, which in turn relies on pep517 based building and, if this worked in the past, apparently it handles errors a bit less gracefully.
The new setup doesn't make any promises about putting the package directory on sys.path at build time, so trying to open requirements.txt (as opposed to os.path.join(os.path.dirname(os.path.abspath(__file__)), "requirements.txt") for example) is not guaranteed to work. This is a departure in terms of build process but most projects felt the pain of this some time ago.
That said, this isn't the best practice for telling setuptools about your requirements, and it's not really supported in any of the tooling anymore so I'm not sure we will want to make substantial changes to accommodate this workflow

I've run into this as well.  Is the fix basically to migrate to using pyproject.toml instead of or in addition to setup.py for declaring dependencies?

I've run into this as well. Is the fix basically to migrate to using pyproject.toml instead of or in addition to setup.py for declaring dependencies?

@taybin So pyproject.toml is what will be used to build the eggs for pypi?

@taybin So pyproject.toml is what will be used to build the eggs for pypi?

I don't know.  It's not like there's much documentation around on how to use this stuff.  Most documentation I see like (https://docs.python-guide.org/writing/structure/) doesn't mention pyproject.toml at all.  So I guess I need to use poetry for libraries, and pipenv for applications until I can switch them over to use poetry as well for consistency.  I'm just guessing though.

The fix is to not require implicit path lookups in your setup.py.
The real fix is to declare dependencies directly in your setup.py or setup.cfg, the issue here has absolutely nothing to do with pyproject.toml whatsoever. The problem is that the python packaging ecosystem has relied on quirks of the packaging tooling that are not promises, like attempting to read a naked, relative path (in this case requirements.txt) because of the assumption that, at build time, the actual build utility will execute in the package's directory.
The problem is that this is not the case anymore -- builds don't have to happen in your package directory, they can take place from any directory. So, if I am in /tmp/some-temp-build-dir and I run a build against /home/yourhomedir/yoursourcecode, I'm still in /tmp/some-temp-build-dir.
The original post references thoth-sourcemanagement so I'll use their setup.py as the example here: https://github.com/thoth-station/source-management/blob/e7d044ffa5725bfde8774fb2556f41f2cca36fd4/setup.py#L22-L26
This is a direct excerpt from the package setup.py, which refers to requirements.txt. This is a path that needs to exist relative to the current working directory of the build. That is just not going to be true, because the build is happening in a temporary directory.
You can fix this with an absolute path, but you will still break dependency resolvers. You SHOULD fix this by specifying requirements in setup.py or setup.cfg instead of dynamically calculating them at runtime. If you're already using setuptools there is absolutely no reason to change all of your infrastructure just to specify dependencies statically, since setuptools obviously has that capability already.
This is widely misunderstood which I get, but while it's a little bit nuanced, the fix isn't that complicated. More importantly, these issues wouldn't happen in the first place with static declarations which would be required in pyproject.toml anyway.

The real fix is to declare dependencies directly in your setup.py or setup.cfg, the issue here has absolutely nothing to do with pyproject.toml whatsoever.

Thank you for the explanation.  This makes sense.  I'm confused why it stopped working and why using requirement.txt files has been so common if it's inherently broken.  A mismatch of the workflows for applications vs libraries?

The real fix is to declare dependencies directly in your setup.py or setup.cfg, the issue here has absolutely nothing to do with pyproject.toml whatsoever.

Thank you for the explanation. This makes sense. I'm confused why it stopped working and why using requirement.txt files has been so common if it's inherently broken. A mismatch of the workflows for applications vs libraries?

The reason people make the association between pyproject.toml and the issue described here is because both changes occurred with the same release of pip and setuptools (and coincidentally marked the start of a series of delays in being able to put together a release of pipenv) -- pep517 was finally implemented as a default behavior in pip's build process in december 2018 I think, and by default if projects had a pyproject.toml present, pip would assume they meant to use the new build process.
Firstly, this didn't always work because the mere presence of the file doesn't mean that the requisite keys have been defined ([build-sustem.requires] and [build-system.build-backend]), and secondly because of the issue described above -- the previous build process never left the package directory to perform the build, so many times people would assume that they could use a relative path in setup.py or a relative import (e.g. importing their own library) and this would work just fine.
With the isolated pep517 build process, the package gets cloned to a temporary directory and the build launched inside a subprocess, but the temporary directory is not added to sys.path and the subprocess is not set to chdir to that directory before executing the build.
Basically, this broke a lot of assumptions, and the outcome of a number of discussions about the topic was that setuptools and pip wouldn't be accommodating this use case anymore as it shouldn't have worked to begin with.
I'm not a fan of breaking backward compatibility, but I have to balance that with supporting the modern build processes as well so we are basically stuck with this as the current situation. Statically defined requirements are easier to resolve anyway so it will likely be better in the long run even if it is more painful short term.

FWIW, I can't duplicate this anymore, even without updating my libraries to not use a requirements.txt file.  Still planning on doing that, but not having my builds break is also a relief. 👍

I did a bit of extra work to try parsing setup.py without breaking, and it seems to have paid off in your case. For this case and others like it, pipenv falls back to requirementslib which ultimately tries to build a wheel using the pep517 wheel builder and, if unspecified, the setuptools legacy build backend. If that is successful we will consume metadata from the built wheel -- this is obviously much less efficient than just parsing textual metadata that is declared in a manifest, but it's kind of neat that it works again ^^
I'll close this issue for now as I was able to confirm this myself directly with requirementslib:
>>> from requirementslib.models.requirements import Requirement
>>> r = Requirement.from_line("-e .")
>>> r.run_requires()
{'name': 'thoth-sourcemanagement', 'version': '0.2.9', 'base_dir': '/tmp/reqlib-srczugi9sxi/source-management', 'ireq': <InstallRequirement object: thoth-sourcemanagement==0.2.9@ file:///tmp/source-management from file:///tmp/source-management editable=True>, 'build_backend': 'setuptools.build_meta:__legacy__', 'build_requires': ('wheel', 'setuptools>=40.8'), 'requires': {'ogr': Requirement.parse('ogr'), 'requests': Requirement.parse('requests'), 'delegator.py': Requirement.parse('delegator.py')}, 'python_requires': '>=3.6', 'extra_kwargs': {'build_dir': '/tmp/reqlib-buildyrhlbxd0', 'src_dir': '/tmp/reqlib-srczugi9sxi', 'download_dir': '/home/techalchemy/.cache/pipenv/pkgs', 'wheel_download_dir': '/home/techalchemy/.cache/pipenv/wheels'}, 'setup_cfg': PosixPath('/tmp/reqlib-srczugi9sxi/source-management/setup.cfg'), 'setup_py': PosixPath('/tmp/reqlib-srczugi9sxi/source-management/setup.py'), 'pyproject': PosixPath('/tmp/reqlib-srczugi9sxi/source-management/pyproject.toml')}


Is it possible find and replace for multiple notes

Is it possible to find and replace in multiple notes, instead of just one?

That should work, I have used VSCode to do that myself and it worked just fine


Show Resource Loading Completeness

Draws a tiny 2px-line at the bottom of controls to show the completeness of resources loading process.
For audio, it has the ability to monitor chunks, this demo and this article were used to find out how to do it. For images, it just reports when they are done loading. The total number of URLs requested is used as 1.0, each file is then 1 / <number-of-urls> part in the progress line. For audio files, this value is then divided into sub-parts.

(sorry, I was able to catch only the last moments of loading :) ).
Needs testing.
Also I ask to merge this just after the request, since it contains ResourceManager changes which should be considered by Yuri in his proposals and/or changes :). Code review fixes could be done with the next pull requests.
@alexeypegov @mcm69 please review.

Please use the circle and draw loading progress there instead of introducing a new design element.

There was a discussion somewhere between issues or chats where we all stated out that this should be a line like this, at the bottom, because circle doesn't work very well for this purpose, it's not easy for user to get what's actually happening.

how can you not get a circle getting filed?
also, i'd vote for going along with Artem's design and add the percentage in the center.

Ok, let's move it to Slack, I though everything was clear. We haven't the idea of filling circle though.

personally, I think that loading progress should be similar to playing one
On Wednesday, February 11, 2015, Yuriy Opryshko<EMAIL_ADDRESS>wrote:

Please use the circle and draw loading progress there instead of
introducing a new design element.
—
Reply to this email directly or view it on GitHub
https://github.com/Animatron/player/pull/270#issuecomment-73859044.

--
--
PEGOV


Create Combat on inactive party creates combate with active party instead

Unsure if bug or working as expected

Shouldn't that go to the module author that added that feature?
https://github.com/reyzor1991/pf2e-party-sheet-helper

Oh. NGL I 100% thought it was a system feature. Sorry 'bout that.


BlendedInfixSuggester incorrectly scores items with high and low weights [LUCENE-10156]

After fix #9390 BlendedInfixSuggester applies additional 1 / LINEAR_COEF coefficient for the weight that falls to (-10, 10) range. Where LINEAR_COEF = 0.1
Link to the changes: Code
Whilst it fixes zero score issues, it causes incorrect scoring between item with weight <10 and item with weight > 10.
Example:
Blender - POSITION_RECIPROCAL (weight / (1 + position))

Item
Weight
Score

AAA
8
8 * (1 / 0.1) * (1 / (1 + 0)) =  80

AAB
11
11 * (1 / (1 + 0)) = 11

So item AAA with lower weight bubbled up, but in fact, AAA must be on the bottom.

Migrated from LUCENE-10156 by Aleksandr Popitich
Linked issues:

#9390

I just ran into this bug, so it seems still relevant. My Workaround is to multiply all weights by 10, but that seems hackish.


Merge sync bb06b28

Summary
Sync to latest upstream #bb06b28

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 7 committers have signed the CLA.:white_check_mark: dkstyle:x: JakobJingleheimer:x: chenxsan:x: snitin315:x: q0rban:x: behnammodi:x: vankopYou have signed the CLA already but the status is still pending? Let us recheck it.


[Feature][UI] When the process definition is running, the pop-up box can manually set the global parameters.

The back-end API is: projects/{projectName}/executors/start-process-instance
A new field is added to the back end of this interface, so the front end also needs to add this field. For specific front-end UI interaction instructions, please refer to #130

I would like to implement the feature in front-end.

I would like to implement the feature in front-end.

@CalvinKirs committed please review.

@CalvinKirs committed please review.


[Error] while calling EvalCallback

Hi!
I am training a deepq agent, on Atari
As mentioned in the documentation, I have separate environments for training and evaluations.
I ran into following error in evaluation callback.
ValueError: Error: Unexpected observation shape (1, 84, 84, 4) for Box environment, please use (210, 160, 3) or (n_env, 210, 160, 3) for the observation shape.
    env = make_atari_env(cfg.env, num_env=4, seed=cfg.seed)
    # Frame-stacking with 4 frames
    env = VecFrameStack(env, n_stack=4)
    policy = partial(CustomDQNPolicy, dueling=0)

    eval_env = make_atari_env(cfg.env, num_env=1, seed=cfg.seed)
    # Frame-stacking with 4 frames
    eval_env = VecFrameStack(eval_env, n_stack=4)
    eval_callback = EvalCallback(eval_env, n_eval_episodes=10,eval_freq=cfg.evaluation_steps, log_path=cfg.eval_log_dir,best_model_save_path=cfg.eval_save_dir,verbose=1)

    model = DQN(
        env=cfg.env,
        policy=policy,
        learning_rate=cfg.learning_rate,
        buffer_size=cfg.memory_capacity,
        exploration_fraction=0.1,
        exploration_final_eps=0.01,
        train_freq=cfg.train_freq,
        learning_starts=50000,
        target_network_update_freq=cfg.sync_freq,
        double_q=cfg.double_q,
        gamma=cfg.gamma,
        prioritized_replay=cfg.prioritized_replay,
        prioritized_replay_alpha=cfg.prioritized_replay_alpha,
        tensorboard_log=cfg.log_dir
    )
    model.learn(total_timesteps=int(cfg.num_timesteps), callback=eval_callback)
    model.save(os.path.join(cfg.save_dir, cfg.model_name))

    env.close()

Hello,
please look at the warning: your eval env is not the same as your training env.

Hi @araffin
in both env and eval_env I passed the same environment id string in my case BreakoutNoFrameskip-v4.

env=cfg.env should be env=env

Thanks @araffin for pointing it out, but as per the documentation of the DQN it accepts :param env: (Gym environment or str) The environment to learn from (if registered in Gym, can be str)
So I thought it didn't matter much tbh.

Please read carefully my two comments ;)

Ah! yeah a novice mistake thanks a ton :D


The Note Program should be able to be used on Turtles

I would LOVE a mobile jukebox to follow me around.

I had brought this up with @BombBloke at one point, but I'm not sure of the reply

How's a turtle going to follow you around? Even if you write the necessary code to handle the pathfinding (no small task), turtles are slow and can't fit through gaps that player characters can.
Turtles also have tiny displays. Can't say I'm enthusiastic about writing a new interface for them.
That said, Note does already work on turtles - as an API, all documented within the script file itself. It's trivial to simply get music playing:
os.loadAPI("moarp/note")

local myMusic = fs.find("*.nbs")

while true do
  for i = 1, #myMusic do
    print("Now playing: " .. myMusic[i])
    note.playSong(myMusic[i])
  end
end

If someone wants a fancier interface for turtles, I'd rather they use that API to write one!

Turtles also have tiny displays. Can't say I'm enthusiastic about writing a new interface for them.

Have you tested to see how well it scales?

@BombBloke commented on Jun 5, 2015, 5:38 AM CDT:

How's a turtle going to follow you around? Even if you write the necessary code to handle the pathfinding (no small task), turtles are slow and can't fit through gaps that player characters can.

And, I have written code to follow players around in the past.

Have you tested to see how well it scales?
The interface scales from a minimum 50x7 display up to pretty much anything. Turtles are 39x13.

The interface scales from a minimum 50x7 display

What is restricting it to 50?

Line 411, technically, where it errors out if the display isn't wider.
But that's when display elements from the top toolbar start being pushed off the screen, see. There's the logo, the skip back/play/skip forward buttons (centered), the three different auto-play modes and then the quit button. To fit them in I'd need to define a new toolbar layout, remapping all the "clickable" areas and so on. Fun fun.
Which I guess I'll end up doing. Probably tomorrow.

Ah I see, perhaps you could define them as buttons so they can easily be repositioned.
Also if it's only the toolbar that is restricting Note running on Turtles, perhaps we could detect it's a Turtle and use a toolbar that has less ASCII art, it could literally just say Note and have the play as |>, pause as ||, and stop as []. Less height, less width, might be more likely to fit.

I'll indeed be doing just that. If it were only a matter of moving the elements around, I wouldn't've put in such a restriction in the first place.  :P
The reason I didn't build a smaller interface to begin with was because I was convinced no one will use it on turtles. And I'm still not - but what the heck, I'll make it support "bluetooth speakers" and have it run on pocket computers. That could be somewhat useful.


fillText and strokeText

This is supposed to be done before #156, since it's inconvenient if we can only measureText but not drawText.
Progress:

[x] Load SkParagraph module
[x] Load system default fonts
[x] UTF-8 support
[x] Support fill style
[x] Support stroke style
[ ] Support shadow style
[x] Support textAlign
[ ] Support textBaseline
[x] Support font size
[x] Support font family
[ ] Support adding new fonts
[ ] Test cases

The SkParagraph and SkShaper module is used as Flutter's text engine, whose build outputs (libskshaper.a and libskparagraph.a) can't be loaded with cargo:rustc-link-lib=static. If we decide to depend on it, we may need to tweak release-skia-binary.js.
Note that WSL Ubuntu distro doesn't include CJK fonts by default. New fonts should be installed under /usr/share/fonts, so that Skia's SkFontMgr can recognize them as default fonts. For testing, we may need to include a font that supports CJK in our repo.

The failed test fixed in https://github.com/Brooooooklyn/canvas/commit/5c7aeaaab41fdf3a88835a1e36c82ef60534955c

The only missing points here now are the GlobalFonts API and test cases, and the test cases should only be able to come after GlobalFonts.register available. Since I've confirmed that fillText and strokeText works with system default fonts, @Brooooooklyn do you think we can start reviewing this PR first? The missing ones can be added with another PR.

Looks great! Let's merge it🔥


Is Java the Best Language for Artificial Intelligence Projects?

this fixes #3128
Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[ ] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #issue-number

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@srishilesh I will liketo review this article
CC @hectorkambow

@srishilesh I will like to review this article
CC @hectorkambow

@section-engineering-education/content-moderator-team

@BridgetMwikali Please run the article through a grammar checker like Grammarly to correct minor typos and grammatical errors.

plagiarism check done

Any update on this PR? @BridgetMwikali @raboba2re

@ahmadmardeni1, @BridgetMwikali  has been Missing in action for a while now.  I am still waiting for the requested changes to be effected before I will proceed.

@raboba2re I am still waiting for your comments. The only feedback I've gotten from you is about running the article through Grammarly. This article has a 98% Grammarly score- the other two percent is a false positive.

@BridgetMwikali Please follow these links to the comments I made, it seems I am having some technical difficulties here. Sorry for the delay.
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r56575733
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r55931104
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r55930748
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r55931636
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r55931714
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r55932009
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r55932483
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r55932544
https://github.com/BridgetMwikali/engineering-education/commit/2d3cbdc04ff44fa3493812a13bdc355d31564ebe#r55932905

@raboba2re

@raboba2re

@BridgetMwikali I found out that clicking on your commit file gives an error 404 code

@raboba2re

@ahmadmardeni1 This article is ready for final review.
CC @WanjaMIKE

Merged #3641 into master


Langchain agent is not continuing the entire flow of execution

Issue you'd like to raise.
I am using custom tools. I used zero shot react description agent and it was not giving the final answer. It stopped after using 1st tool.
So, I created a custom agent with custom examples in the prompt. It is still behaving the same way.
This is the output of the agent executer for one of the examples:
statement = 'a query to get the average outcome variable score of all the CSAT responses'
agent_executor.run(statement)
Output:

Entering new AgentExecutor chain...
Thought : I need to paraphrase the statement to add more context.
Action : StatementFormattingTool[a query to get the average outcome variable score of all the CSAT responses]
Observation : Get the average outcome variable score for all CSAT responses from the kda_distribution_log_02c581c9912a4ca1af7a67cd46324cf1_llm_test table.

Its has to use SQLGenerationTool to get the query. It stopped after using the first tool. It is happening every time with other statemennts as well.
Suggestion:
No response

System info : python: 3.11.3 langchain: 0.0.128

Were you ever able to resolve this? I face the same issue.

I am having the same issue. Do you happen to have any updates on a solution?

Bump

bump


Deploying on Heroku or Now

Hello,
I would like to deploy the matterbridge in the Heroku or Now?
If so, how?
I tried to do it in Heroku but I got the following error:
Counting objects: 3290, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1530/1530), done.
Writing objects: 100% (3290/3290), 4.07 MiB | 123.00 KiB/s, done.
Total 3290 (delta 1385), reused 3290 (delta 1385)
remote: Compressing source files... done.
remote: Building source:
remote:
remote:  !     No default language could be detected for this app.
remote:                         HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
remote:                         See https://devcenter.heroku.com/articles/buildpacks
remote:
remote:  !     Push failed
remote: Verifying deploy....
remote:
remote: !       Push rejected to matterbridge-slack-telegram.
remote:
To https://git.heroku.com/hush-slack-telegram.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/matterbridge-slack-telegram.git'

I thank you for your attention.

I don't use heroku, so no idea.
But maybe you can take a look at https://elements.heroku.com/buttons/cadecairos/matterbridge-heroku / https://github.com/cadecairos/matterbridge-heroku


CompletionList on Travis - TypeError: vscode.CompletionList is not a function

Hi,
when I implement a custom CompletionItemProvider which returns new vscode.CompletionList([], false); in its provideCompletionItems method, then tests locally pass, but after git push it fails on Travis CI with message: TypeError: vscode.CompletionList is not a function. vscode is properly required.
Thanks!

Hm, probably I used a different version of vscode engine locally and on server (or I had a newer one locally installed).


dosent work

ik its old but it does not work for me idk why heres the error:
C:\Users\user\Downloads\ZealotSniper-main\ZealotSniper-main>run.py
No sympy found
Traceback (most recent call last):
File "C:\Users\user\Downloads\ZealotSniper-main\ZealotSniper-main\run.py", line 1, in
import torch
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_init_.py", line 1465, in
from . import _meta_registrations
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_meta_registrations.py", line 7, in
from torch._decomp import add_op_to_registry, global_decomposition_table, meta_table
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_decomp_init.py", line 169, in
import torch._decomp.decompositions
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_decomp\decompositions.py", line 10, in
import torch.prims as prims
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_prims_init.py", line 33, in
from torch.subclasses.fake_tensor import FakeTensor, FakeTensorMode
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_subclasses_init.py", line 3, in
from torch._subclasses.fake_tensor import (
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_subclasses\fake_tensor.py", line 13, in
from torch._guards import Source
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_guards.py", line 78, in
class ShapeGuard(NamedTuple):
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch-2.0.1-py3.11-win-amd64.egg\torch_guards.py", line 79, in ShapeGuard
expr: sympy.Expr
^^^^^
NameError: name 'sympy' is not defined

It's a problem with your pytorch. Have a look at this reply
https://github.com/pytorch/vision/issues/7034#issuecomment-1412546840


Issue on page /openmp_c/2_Syntax.html

Typo in Section 1.2.1. How to compile OpenMP programs?

When compiling OpenMP programs, you need to use comiler compiler flags to enable OpenMP, such as –openmp, -xopenmp, -fopenmp, -mp

Thank you for noticing the typo and bringing it to our attention. The mistake has been corrected.


[WIP] Website homepage

Preview url https://cadlwebsite.z1.web.core.windows.net/prs/2290/
Making this PR against  feature/website-design branch were we can iterate. Merge this PR whenever.

/azp run


Simplify test Jenkins files by removing JDK version in the file name

We should simplify test Jenkins files by removing JDK version in the file name as we have to support JDK8, JDK10 and JDK11 (shortly). To have JDK version in the file name is hard to maintain. We should pass in JDK version as parameter.
https://github.com/AdoptOpenJDK/openjdk-tests/tree/master/buildenv/jenkins

This is fixed. Close the issue.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

Hello,  I am a student, trying to learn via Microsoft Learn.  I don’t know what I’ve done to trigger this.
Also I am really struggling with my learning and would love some help if possible.
Thank you
Emily
From: microsoft-github-policy-service[bot] @.>
Sent: Friday, 16 December 2022 7:15 AM
To: MicrosoftDocs/mslearn-tailspin-spacegame-web @.>
Cc: Emily EL Laidlaw @.>; Mention @.>
Subject: Re: [MicrosoftDocs/mslearn-tailspin-spacegame-web] Configure Azure Pipelines (PR #6901)
@Emily-Laidlawhttps://github.com/Emily-Laidlaw please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
Contributor License Agreement
Contribution License Agreement

This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web/pull/6901#issuecomment-1353654980, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3B6MBS23FZHKNGZLM5P373WNN35JANCNFSM6AAAAAATAEGQUE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


feat: extension execution contexts

Closing this in favor of https://github.com/GoogleChrome/puppeteer/pull/2812#discussion_r198923093


fix: update npm latest tag

Summary
Update the npm latest tag to a stable version. Currently, it points to a feature version 2.9.0-featureremoteconfig.0
Checklist

[ ] Does your PR title have the correct title format?
Does your PR have a breaking change?:

latest tag is updated using npm CLI.


OPEV: Expansion of the Vulnerability Field

OPEV # 0015: Expansion of the Vulnerability Field

🖊 Enhancement Overview
During the development of the initial implementations, there have been issues raised about the need to expand the vulnerability field. While this OPEV only addresses the need to expand the vulnerability field 1) become an object and to
2) to express more names or aliases of a vulnerability, members of the community have pointed to other cases where the vulnerability entry needs to be expanded from an identifier string to a full struct.
🧑💻 Enhancement Proposal Authors

@puerco

👩🔧 Sponsoring Maintainers

(not required)
📋 OpenVEX Projects

openvex/spec
openvex/go-vex
openvex/vexctl

📐 Specs and Documents

Pull Request open: https://github.com/openvex/community/pull/17
❓ Enhancement Questions
Does this enhancement propose a change to the OpenVEX project's governance
structure?

NO
Does this enhancement propose a breaking change with the upstream VEX design
established by the VEX Working Group?

NO
💬 Discussion Start Date:
OPEVs shall be discussed for no longer than 30 days after which the vote tally
will be computed and the proposal will either merge or be rejected.
Start Date: 2023-07-09
🗳 Voting Results
Final Enhancement Vote Tally:
👍 : X Votes
👎 : X Votes
Result: APPROVED | REJECTED

ℹ Voting Instructions:
To vote for this enhancement, maintainers should add a comment with a 👍 emoji
to show support or 👎 to reject the enhancement.  After voting is over (usually
after 30 days), votes will be computed by the project's mantainers and
registered in this issue. Refer to  GOVERNANCE.md for details
on how many votes are required to approve and when voting ends.

I think adding a referencable object with the actual contents as optional may lead to failure to resolve some of these details at consumption time (unable to get object). Although I see the value of using the reference, i worry about the reliability to rely on it solely as a pattern for common use. As of the current state of maturity of cross-referencing objects across standards and the adoption of json LD by these standards, i would be more comfortable if it was not optional to include the vulnerability identifiers within the struct.
i.e. the example here wouldn't be possible without the additional resolved information from the original format.
This may just be a rewording and a recommendation instead of a change in the struct definition

While not a voting member, I agree with and endorse this update. I think this helps set us up for success as we start to see openvex used more broadly.

@lumjjb so, do you think we should make name required? We can mark it in the spec.  In its minimal form, the vulnerability field would be:
"vulnerability": {
   "name": "CVE-2019-17571"
}

yep. sorry for the late response, was out sick.

👍

@lumjjb 76ef832f9122caf26cbb8475043ca7f9db606cce adds language to specify name as required :+1:

Proposal approved and enhancement document has merged :tada:  https://github.com/openvex/community/blob/main/enhancements/opev-0015.md


Bulk API / converts records to CSV which prevents all properties from being set

I think I've found a bug in the bulk API which causes an issue where not all fields of a record are updated.
Suppose I want to update some table in salesforce using the upsert operation. I create an array of records:
[ { property1: 'w' }, { property1: 'x', property2: 'y' }, { propety1: 'z', property2: 'a', property3: 3 } ]
Notice how different records have different properties to be updated. When I call the bulk upsert function it converts data set into a CSV. The first record of the upsert only has a single property. So the csv ends up looking something like:
property1
'w'
'x'
'z'
As a result, property 2 on the second record and property 2 and property 3 on the third record never get updated.
It looks like there's a built in assumption that all records have the same properties set on an upsert. This is definitely not true in my use cases.
A mini work around is to always have a dummy record at the beginning of your list which has all properties.

I was just burned by this unexpected behavior as well.
In searching to notice this issue, I also searched closed issues, and found this was originally reported in 2015 (https://github.com/jsforce/jsforce/issues/258) but dismissed as working as intended.
I can understand that resolving this has no simple solutions, but in that case it seems absolutely critical to document this. I've spent loads of time in the docs, and this is mentioned nowhere. And if it is, then you need to replicate it to the many different spots where bulk write operations are discussed.
I am actually pretty upset right now, to think the devs here have known they were silently ignoring data in some cases for over nearly 3 years, and couldn't be bothered to document it nor find a different solution that is robust against the issue.

Yeah, just lost several hours to this as well. Glad I figured it out, but it does need to be documented. Is the documentation part of the github project? If so I'll gladly submit a PR.

Found this one as well. This ticket is the only documentation on the issue and honestly is pretty hard to find.
In our experience, we were sending several objects in a single Bulk JSForce Salesforce Bulk API call. These objects came from different use cases and had different key sets. It appears that keys added to the second object were completely discarded if that key didn't exist also on the first object.
Our workaround will be to normalize our objects' keys before passing to JSForce.
It occurred to me that JSForce should do this for us, i.e. normalizing keys, but if it did then you could potentially set fields to empty values (false, empty strings, zero, whatever) instead of allowing default values to be set.
The real need then is probably just to document the behavior.
The more extreme option might be that the bulk api functionality within JSForce watches for additional keys to be introduces and throws an error when that happens.

The bare minimum would be to document it: https://github.com/jsforce/jsforce-website/pull/17

Noting that jsforce v3 is coming out:
https://github.com/jsforce/jsforce/issues/1360#issuecomment-1836701005
I haven't seen documentation on what is planned for v3 but it appears the offending lines (I think??) appear unchanged so would likely still need either a fix, or a workaround and some documented warning:
https://github.com/jsforce/jsforce/blob/5369d1d3e24bba0e384027d309c441c9ac5fa956/src/api/bulk.ts#L634C3-L643
      if (Array.isArray(input)) {
        for (const record of input) {
          for (const key of Object.keys(record)) {
            if (typeof record[key] === 'boolean') {
              record[key] = String(record[key]);
            }
          }
          this.write(record);
        }
        this.end();

Bulk 2.0 docs mention that empty values are ignored:

Empty field values are ignored when you update records. To set a field value to null, use a field value of #N/A.

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_csv.htm
thinking out loud... maybe jsforce could safely build the CSV header to include all props but could hit perf the bigger an array is (we need to get all keys before serialization starts).


Build Your First Chatbot with SAP Conversational AI

Tutorial URL: https://developers.sap.com/tutorials/cai-bot-getting-started.html
Please specify the step you are referring to : Step 4: Fork intent

As mentioned, selected first intent, but there are more than 2 expression.The sentence can be changed accordingly.
Expected:

Actual: Got more than 2 expression.

Scenario label : SCPTest-cai

Mentioned that they may receive additional expressions

Thank you. Since its resolved I am closing the issue.


Unmaintained project

Primer is the default theme for GitHub Pages. Who is maintaining it?
The only commits in the last three years have been from @tsusdere. No one is reviewing issues or PRs.
Can we start getting some PRs reviewed and merged, or is forking the only way forward?

Given Primer is the default on GH Pages, it should be maintained continuously (by Github). I like the simplicity of Primer, over others like default Jekyll Minima. It only needs a minimum setup to configure.


make it optional to show lines with env vars when creating workspace

Now when you create a workspace log that you see while it is created contains all env vars. This is inconvenient as user can accidentally leak the env vars if he is screen sharing/recording or just pasting logs to support.

This still doesn't eliminate risk if we keep the way things are now?

This still doesn't eliminate risk if we keep the way things are now?

I'm saying that we should implement adding env vars to devcontainers using the secrets-file option as part of this issue. This will eliminate the risk of env vars leaking into the logs.

i want to contribute on this issue , please assign me @nkkko

@29deepanshutyagi no need to get assigned, feel free to work on the issue.


Concurrent xds cache benchmark

Add benchmark for concurrent GET with xds cache
Fixes https://github.com/istio/istio/issues/40752.
As a followup, I have 2 experimental PRs to switch to caches that use less/no locks:

https://github.com/istio/istio/compare/master...howardjohn:istio:exp/xds-cache-freelru?expand=1
https://github.com/istio/istio/compare/master...howardjohn:istio:exp/xds-cache-otter?expand=1

name \ time/op       /tmp/old     /tmp/otter   /tmp/freelru
Cache/concurrent-16  27.8ms ± 4%   3.5ms ±15%    5.9ms ± 6%

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio
7bbfc170b4e306b62f7b4a5bf0066cd31ad254d9
link
true
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/retest


App Stopped working after installing .

Version of react-native-audio-recorder-player:- 3.0.8
Version of React Native: - 0.63.2
Facing this problem on android
the app stops working, Please help

I think you've missed the readme
Please refer to https://github.com/hyochan/react-native-audio-recorder-player#breaking-changes


Process the whole Chandra archive [END GAME]

Once we think Chandra reduction is in and reliable, I think we'll have a go at processing the whole archive (or a significant chunk of it at least) - this will stress test our implementation, and hopefully make evident any edge cases we have missed.

Decided that this is sort if wasteful of compute time - I've been testing with ObsIDs selected from around ACCEPT 1 cluster positions. That amounted to ~1800 observations (maybe 8% of the archive) which I think is enough to be getting on with right now.
DAXA processing seems robust (no unhandled errors), and widely successful (it ran through for 99% of the observations, up to making images etc.)
Haven't done source detection yet but I don't really view that as a DAXA task because it'll eventually go in another module - I'll put it in for Chandra in DAXA as a stopgap though.
But the actual processing of a representative chunk of the archive worked completely fine, so I'm closing this.


expression matrix format

Hi,
Thanks for your great work!
Does clustifyr support scanpy (another popular scRNAseq toolkit, python version of seurat) ?
And, some scRNA matrix are very large, it's very slow for R to read the matrix into memory. So can clustifyr read the matrix file saved on disk directly (that is, input = "file path to expression matrix") ?

Thanks for your interest in clustifyr. There is no direct support for scanpy, however the AnnData objects can be converted to a SingleCellExperiment object using zellkonverter. Alternatively, clustifyr supports sparseMatrices as input so you could write your log-normalized data from scanpy to disk, then read into R using readMM from the Matrix package. If the matrix is written to disk in a 10x-Genomics format (with a matrix.mtx, features.tsv.gz and barcodes.tsv.gz) then you could also import using DropletUtils (read10xCounts) or  Seurat (Read10X).  Reading a dense matrix (such as a csv format) into R (or python) will be slow, but if you need to, then using fread from the data.table package is a good option.


api-version=2018-06-30

For the Username field, use {iothubhostname}/{device_id}/?api-version=2018-06-30, where {iothubhostname} is the full CName of the IoT hub.
?api-version ... doesn't appear to be necessary (anymore)

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

ID: bcf2a86a-1de0-2786-db87-58279ceffb22
Version Independent ID: 7e43624f-a87d-1c4d-94e6-e38c1d42686f
Content: Understand Azure IoT Hub MQTT support
Content Source: articles/iot-hub/iot-hub-mqtt-support.md
Service: iot-hub
GitHub Login: @rezasherafat
Microsoft Alias: rezas

@davidahoward Thanks for the feedback and reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

@rezasherafat Please check this issue and update the document as appropriate.

@ash2017 @jlian @elhorton Can one of you point me to the right person to help with this issue?

I don’t think this is true? Either way, in our documentation, we need to recommend using api-version

Hi @davidahoward - thanks for your feedback! After consulting with engineering, it appears that we always recommend including the api-version property, so I don't think a change is needed here. Since this issue has been open for some time, I'm going to close it. Please @ comment me here if you have any further questions. Thanks, again,
Jimaco

#please-close


Graphql Example

Love the library!
It would be really nice to have a graphql example.
Also is it possible to config a global fetcher?

You can query GraphQL like you'd do with regular HTTP fetching, though I think using a more dedicated lib like svelte-apollo would be better for the additional caching capabilities it might provide.
As for configuring a global fetcher, you could wrap your app with QueryConfigContext component, I should put this down on docs later (still have plenty to do)
<script>
  import { QueryConfigProvider } from '@intrnl/svelte-query';

  function fetcher (url) {
    // [...]
  }

  let queryConfig = {
    queries: {
      queryFn: fetcher,
    },
  };
</script>

<QueryConfigProvider config={queryConfig}>
  <!-- The rest of your app -->
</QueryConfigProvider>

Thanks for the answer, I just heard many complaints about memory leak with apollo and svelte-apollo doesn't support skipping


Flutter iOS devicelab is having problems connecting to the VM Service

The errors is frequently something like:
stdout: [        ] -------------------------
2020-10-14T09:46:53.200480: stdout: [  +35 ms] (lldb) command source -s 0 '/tmp/C40623FC-2F57-4304-9C72-98815F7DF0E2/fruitstrap-lldb-prep-cmds-87b7be763fbf79fb324179b431f26198d2338da2'
stdout: [        ] Executing commands in '/tmp/C40623FC-2F57-4304-9C72-98815F7DF0E2/fruitstrap-lldb-prep-cmds-87b7be763fbf79fb324179b431f26198d2338da2'.
2020-10-14T09:46:53.200583: stdout: [        ] (lldb)     platform select remote-ios --sysroot '/Users/flutter/Library/Developer/Xcode/iOS DeviceSupport/13.1.3 (17A878)/Symbols'
stdout: [        ]   Platform: remote-ios
2020-10-14T09:46:53.200629: stdout: [        ]  Connected: no
2020-10-14T09:46:53.200729: stdout: [        ]   SDK Path: "/Users/flutter/Library/Developer/Xcode/iOS DeviceSupport/13.1.3 (17A878)/Symbols"
2020-10-14T09:46:53.200859: stdout: [        ] (lldb)     target create "/Users/flutter/.cocoon/flutter/examples/platform_channel_swift/build/ios/iphoneos/Runner.app"
2020-10-14T09:46:56.730765: stdout: [+3529 ms] Current executable set to '/Users/flutter/.cocoon/flutter/examples/platform_channel_swift/build/ios/iphoneos/Runner.app' (arm64).
stdout: [        ] (lldb)     script fruitstrap_device_app="/private/var/containers/Bundle/Application/14392490-48D3-4D81-9C43-1CC3D678EB12/Runner.app"
2020-10-14T09:46:56.946620: stdout: [ +215 ms] (lldb)     script fruitstrap_connect_url="connect://<IP_ADDRESS>:51549"
2020-10-14T09:46:56.946825: stdout: [        ] (lldb)     script fruitstrap_output_path=""
2020-10-14T09:46:56.947269: stdout: [        ] (lldb)     script fruitstrap_error_path=""
2020-10-14T09:46:56.947757: stdout: [        ] (lldb)     target modules search-paths add /usr "/Users/flutter/Library/Developer/Xcode/iOS DeviceSupport/13.1.3 (17A878)/Symbols/usr" /System "/Users/flutter/Library/Developer/Xcode/iOS DeviceSupport/13.1.3 (17A878)/Symbols/System" "/private/var/containers/Bundle/Application/14392490-48D3-4D81-9C43-1CC3D678EB12" "/Users/flutter/.cocoon/flutter/examples/platform_channel_swift/build/ios/iphoneos" "/var/containers/Bundle/Application/14392490-48D3-4D81-9C43-1CC3D678EB12" "/Users/flutter/.cocoon/flutter/examples/platform_channel_swift/build/ios/iphoneos" /Developer "/Users/flutter/Library/Developer/Xcode/iOS DeviceSupport/13.1.3 (17A878)/Symbols/Developer"
2020-10-14T09:46:56.962849: stdout: [  +15 ms] (lldb)     command script import "/tmp/C40623FC-2F57-4304-9C72-98815F7DF0E2/fruitstrap_87b7be763fbf79fb324179b431f26198d2338da2.py"
2020-10-14T09:46:56.966346: stdout: [   +3 ms] (lldb)     command script add -f fruitstrap_87b7be763fbf79fb324179b431f26198d2338da2.connect_command connect
stdout: [        ] (lldb)     command script add -s asynchronous -f fruitstrap_87b7be763fbf79fb324179b431f26198d2338da2.run_command run
stdout: [        ] (lldb)     command script add -s asynchronous -f fruitstrap_87b7be763fbf79fb324179b431f26198d2338da2.autoexit_command autoexit
2020-10-14T09:46:56.966442: stdout: [        ] (lldb)     command script add -s asynchronous -f fruitstrap_87b7be763fbf79fb324179b431f26198d2338da2.safequit_command safequit
2020-10-14T09:46:56.966531: stdout: [        ] (lldb)     connect
2020-10-14T09:46:56.996352: stdout: [  +29 ms] (lldb)     run
2020-10-14T09:47:27.023630: stderr: [+30028 ms] ═══════════════════════════════════════════════════════════════════════════════════
stderr:             Could not attach the debugger.
stderr:             Try uninstalling the app from your device and retrying.
stderr:             ═══════════════════════════════════════════════════════════════════════════════════
stdout: [        ] error: process launch failed: timed out waiting for app to launch
2020-10-14T09:47:27.023788: stderr: [        ] Could not run build/ios/iphoneos/Runner.app on 87b7be763fbf79fb324179b431f26198d2338da2.
2020-10-14T09:47:27.023865: stderr: [        ] Try launching Xcode and selecting "Product > Run" to fix the problem:
2020-10-14T09:47:27.024057: stderr: [        ]   open ios/Runner.xcworkspace
2020-10-14T09:47:27.024351: stdout: [        ] Installing and launching... (completed in 40.4s)
2020-10-14T09:47:27.027169: stdout: [   +2 ms] "flutter drive" took 82,711ms.
2020-10-14T09:47:27.030723: stderr: [   +3 ms] Application failed to start. Will not run test. Quitting.
2020-10-14T09:47:27.031185: stderr: [        ]
stderr:            #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
stderr:            #1      DriveCommand.runCommand (package:flutter_tools/src/commands/drive.dart:244:9)
stderr:            <asynchronous suspension>
stderr:            #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1016:18)
stderr:            <asynchronous suspension>
stderr:            #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:875:33)
stderr:            <asynchronous suspension>
stderr:            #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart)
stderr:            #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
stderr:            #6      _rootRun (dart:async/zone.dart:1190:13)
stderr:            #7      _CustomZone.run (dart:async/zone.dart:1093:19)
stderr:            #8      _runZoned (dart:async/zone.dart:1630:10)
stderr:            #9      runZoned (dart:async/zone.dart:1550:10)
stderr:            #10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
stderr:            #11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:864:20)
2020-10-14T09:47:27.031268: stderr:            #12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
stderr:            #13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:335:21)
stderr:            #14     _rootRunUnary (dart:async/zone.dart:1198:47)
stderr:            #15     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
stderr:            #16     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
stderr:            #17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
stderr:            #18     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
stderr:            #19     Future._completeWithValue (dart:async/future_impl.dart:529:5)
stderr:            #20     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
stderr:            #21     _rootRun (dart:async/zone.dart:1190:13)
stderr:            #22     _CustomZone.run (dart:async/zone.dart:1093:19)
stderr:            #23     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
stderr:            #24     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
stderr:            #25     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
stderr:            #26     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
stderr:            #27     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
stderr:            #28     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

@jonahwilliams Could not attach the debugger.  isn't the failure, it's always the one running right before it failing in some way, then not detaching the debugger.  Which is a bug, but it's not the cause of the underlying failure.

You're right though, a lot of the flakes are showing that as the first error.  Seems like lldb is getting leaked on the phone, and the app isn't being reinstalled between runs?  How would that be possible?

I see this pattern in a few places:
2020-10-14T15:06:59.012188: stdout: [        ] [ 18%] Copying /Users/flutter/.cocoon/flutter/dev/integration_tests/ios_platform_view_tests/build/ios/iphoneos/Runner.app/Frameworks/ to device
stdout: [        ] [ 18%] Copying /Users/flutter/.cocoon/flutter/dev/integration_tests/ios_platform_view_tests/build/ios/iphoneos/Runner.app/Frameworks/Flutter.framework/ to device
2020-10-14T15:06:59.012746: stdout: [        ] [ 19%] Copying /Users/flutter/.cocoon/flutter/dev/integration_tests/ios_platform_view_tests/build/ios/iphoneos/Runner.app/Frameworks/Flutter.framework/_CodeSignature/ to device
stdout: [        ] [ 19%] Copying /Users/flutter/.cocoon/flutter/dev/integration_tests/ios_platform_view_tests/build/ios/iphoneos/Runner.app/Frameworks/Flutter.framework/_CodeSignature/CodeResources to device
2020-10-14T15:07:37.199546: stderr: [        ] Could not run build/ios/iphoneos/Runner.app on 87b7be763fbf79fb324179b431f26198d2338da2.
stderr: [        ] Try launching Xcode and selecting "Product > Run" to fix the problem:
stderr: [        ]   open ios/Runner.xcworkspace
2020-10-14T15:07:37.199823: stdout: [        ] Installing and launching... (completed in 38.4s)
2020-10-14T15:07:37.203315: stdout: [   +3 ms] "flutter drive" took 63,803ms.
2020-10-14T15:07:37.207332: stderr: [   +4 ms] Application failed to start. Will not run test. Quitting.

ios_platform_view_tests_83e99f7_3.log
It's taking a long time/getting stuck copying the framework to the device, and it times out.

We don't get any more specific logging for that? I wonder if its a sort of transient issue that we should retry, or if it indicates that device is stuck somehow (storage?)

We're definitely sure it was the engine roll 11d756a62ed0ddf87a9ce20b219b55300ec6b67d
Not definitely sure what commit, but the root isolate change seems the most suspicious

We thought it was that engine roll, but reverting didn't make it go away.  Rebooting all the host agents did make it go away.
I see many leaked iproxy processes on these agents.  Locally, I am also reproducing a iproxy leak on drive
$ cd examples/platform_channel_swift
$ flutter drive --no-android-gradle-daemon -v -t test_driver/button_tap.dart
<succeeds>
$ $ ps -ef | grep iproxy
670434 66127     1   0  1:56PM ttys000    0:00.02 /Users/m/Projects/flutter/bin/cache/artifacts/usbmuxd/iproxy 61379:54675 --udid d83d5bc53967baa0ee186234a87b6254b2ab5418

We think this is fixed by the iproxy disposal PR above.


Fix "ignolowercasere" to "lowercase"

Seems like something went wrong while copypasting. Thank you for the fix!


JQuery Compatability

Hello, is jquery-lazyload-any plugin compatible with jquery-3.3.1, because it seems not to be working when I run my code.

I tested, and looks it can work.


UI Tweaks

Various UI tweaks and bug fixes from IAB testing.
Changes

iOS 13.0+ uses SF symbols instead of images so they are no longer blurry. We can remove the image fallback after verifying our minimum supported iOS version is 13.0.
The page header toolbar background color is controlled by toolbarcolor. It defaults to system default (depends if the device is in dark mode or not).
New option toolbartextcolor controls text color in toolbar. Currently that's only the page title text and icon.
Border on toolbar is now automatically set to a slightly darker shade of the toolbar color.

Screenshots
iOS default colors for toolbar, text, and buttons

iOS default colors in for toolbar, te

xt, and buttons dark mode
Android default colors

We can remove the image fallback after verifying our minimum supported iOS version is 13.0.

What if our minimum version is not iOS 13.0?


Minimal example of a working TypeScript ES6 Webpack setup not working

I can't get worker-loader to work perfectly with TypeScript and ES6 from the docs.
I've set up a repo with the minimal setup to potentially get this to work.
It uses webpack on an entry file called index.ts that imports Worker from a worker file as described in the docs.
import Worker from "worker-loader!./my.worker.ts";

console.log("Spawning new worker", Worker);
const worker = new Worker();

worker.onmessage = (e: any) => {
  console.log("Received data in main thread", e.data);
};

The error I get in my chrome devtools is that r.default is not a constructor. The error I get in TypeScript is Error:(1, 20) TS2307: Cannot find module 'worker-loader!./my.worker.
The first console log above shows that Worker is undefined.
What am I missing here?

Same issue with create-react-app project.

I made a minimal sample of React + TypeScript.
https://github.com/nishio/tutorial-webworker-with-react/blob/master/README.md
You need to add custom type definition.

Close in favor https://github.com/webpack-contrib/worker-loader/issues/253


Have GDD disconnect peers with disagreeing chains of equal density

Before this change, the GDD would tolerate different chains having the same density. This is problematic to ChainSync jumping if the only active peers (dynamo and objector) disagree with chains of the same density, and GDD cannot disconnect any of them.

Merged manually as 27a11610d.


Regression: snprintf emulation function calls snprintf, causing recursion problem

I was a little too eager to replace the sprintf calls with sprintf in cups/snprintf.c, need to make them sprintf again and add a comment so we don't do this again.
Also investigate options for not using snprintf emulation on Windows... :/

I see this in config.h, but no notes about what the breaking behaviour is:
/* Windows snprintf/vsnprintf are non-conforming */
What (if any) versions of Windows or Visual Studio are targeted now? Today's MS is not my father's son's MS. ; - )
I noticed this in the docs for snprintf:

"Beginning with the UCRT in Visual Studio 2015 and Windows 10, snprintf is no longer identical to _snprintf. The snprintf function behavior is now C99 standard compliant."

A small victory after so many years, I know, but things are changing:

All required features of C11 and C17 are now supported ... Note that the optional features are not supported, so we do not claim C99 compliance. Learn more in our C11/C17 blogpost.

For many years Visual Studio has only supported C to the extent of it being required for C++. Things are about to change now that a conformant token-based preprocessor has been added to the compiler. With the advent of two new compiler switches, /std:c11 and /std:c17, we are officially supporting the latest ISO C language standards.

@sicklittlemonkey I did some digging but wasn't able to find the original reason this was added. I suspect there was, at some point, some difference in behavior between the MSVC runtime and POSIX/C99, but I didn't bother to include that information in the comment or any of the various commit messages.
In my HTMLDOC project, I just use _snprintf, so maybe that is the solution here vs. using the emulation functions... 🤷♂

Reading through the documentation, I think the issue was the return value - the old MS snprintf didn't support passing a NULL buffer or returning the total formatted length (vs. the length of the string), which is used in the cupsd logging functions to format an arbitrarily long line. But since cupsd isn't something that can be compiled with Visual Studio, that doesn't seem particularly important... Also, it looks like the new, more standard snprintf implementation doesn't have this problem anyways so...

[master af4fae4f8] Fix snprintf emulation function (Issue #67)
[master 5be9389db] Update config header files.


Fix Sonarcloud high security issues

Sonarcloud started to report high-security issues mostly about the docker files and showed the repo with an error.
The same issue was already resolved on a previous PR and now we need to investigate and possibly apply the same fix globally (https://github.com/bcgov/SIMS/blob/main/sources/packages/backend/workflow/Dockerfile.dev).

Copying recursively might inadvertently add sensitive data to the container. Make sure it is safe here.
The node image runs with root as the default user. Make sure it is safe here.

Acceptance criteria

[ ] Review Sonarcloud and already in place fix to possibly apply the solution and eliminate all related issues present on the link https://sonarcloud.io/project/security_hotspots?id=bcgov_SIMS&branch=main&resolved=false&types=SECURITY_HOTSPOT
[ ] If more high-security issues are present, create tickets to have them all fixed or handled.

Moved back to in progress to change the user ID running the PROD images.

The following links are a good read pointing to the fact that OpenShift does not run the containers as a root user:
https://number1.co.za/openshift-will-not-run-your-container-as-a-root-user/
https://d-nix.nl/2020/07/running-a-container-as-non-root/
https://opensource.com/article/18/3/just-say-no-root-containers#:~:text=OpenShift is Red Hat's container,run without ever being root.
https://dev.to/ksingh7/allow-containers-to-run-as-root-on-openshift-4-hack-3gp7
https://docs.openshift.com/container-platform/4.11/openshift_images/create-images.html#use-uid_create-images

Moved back to in progress to remove the redundant nonroot user from the Dockerfiles.


Added further setup instructions

This branch is intended to help resolve some of the issues raised in #15.  The documentation seems to make some assumptions that a developer new to Karma would not make.  Also, there is isn't much in the way of instructions for debugging once the developer runs into an issue.
Suggested improvements:

[ ] Add debug information
[x] Add note regarding plugins config

more?

Thanks @levithomason are you planning on adding more in here?

Boy, I let this one slip and I've lost context by now.  I'd merge as is. My day job is now React land so I don't know if/when I'll get back to this.

@Dignifiedquire the docs are quite unclear and there is no example app. Can we get some more documentation for this plugin?

@Dignifiedquire I've signed the CLA.

@Dignifiedquire I still think an example app would be really useful in showing how the paths match the file structure and what things can and cannot be done.

@ilanbiala sure it would be nice, but I currently don't have one and I'm not really using this module, so maybe someone else, who is actually using it, could contribute one.

@levithomason thanks :octocat:

@Dignifiedquire who actively maintains this module and uses it then?


Override browser keybinds

When I try to hit the suggested key in the command component, it actually opens the downloads page in Firefox. To fix this, I'd suggest to prevent the default behavior by using preventDefault

Did you figure this out?
Using e.preventDefault() stopped me from being able to type

The issue is not only related to preventDefault, but also because it was conditionally rendering only based on metaKey, missing the ctrlKey


Updated for psc v0.10.1

Looks good, thanks. Could you please merge with master, I've added the missing LICENSE file now. Thanks.


PowerToys update to v0.25.0

Hi, I have already created a pull request #204 for the changes.

Thank you! 😄


Strike Input: required validation should be on blur instead of change

Currently, focusing in a required Strike Input and immediately blurring does not trigger an error. The functionality should mimic that of lightning:input, where the validation is checked on blur rather than waiting for a value change.

validation will now happen on blur!


Improve "scan_package" or "scan_codebase" pipelines to improve the analysis of a single Java JAR

Here are some specifics about JARs:

They have a well defined structure with a META-INF root directory, MANIFEST.MF Java properties file
They may contain other conventionally located manifest such as a POM in /META-INF/maven///pom.xml and pom.properties but these may depend on other POMs (parent and property files)
MANIFEST.MF can contain extra details for OSGi (and an OSGI-INF directory)
The often lack details on origin and license
The Maven source JAR of a binary JAR is often not the exact corresponding source code, meaning that the source are often elsewhere in a version control repository and this may demand to flow scan details (origin, license, dependency) from the source repo to the binary, but there is not enforced convention to always include the source repo addresses.
There is no well defined license documentation convention such as using SPDX expressions
There is no well defined place to document dependencies, as this is often handled by plugins instead, meaning that evaluating dependencies is difficult short of using a Java package management tool
they are mostly written in Java, but there are many other popular languages that run on the JVM

This likely needs to be considered in this updated context, given the work on the new package set that @JonoYang is working on in the PurlDB where we can combine the metadata and scans from source and binary JARs.

Btw, as part of this, we now have an updated package assembly with https://github.com/nexB/scancode-toolkit/pull/3447 that addresses points 1-4.


Wechat_kit6.0.1 Xcode15运行报错

Flutter (Channel stable, 3.19.0, on macOS 14.2.1 23C71 darwin-x64, locale zh-Hans-CN)
   • Flutter version 3.19.0 on channel stable at /Users/king/fvm/versions/3.19.0
   • Upstream repository https://github.com/flutter/flutter.git
   • Framework revision bae5e49bc2 (3 months ago), 2024-02-13 17:46:18 -0800
   • Engine revision 04817c99c9
   • Dart version 3.3.0
   • DevTools version 2.31.1
   • Pub download mirror https://pub.flutter-io.cn
   • Flutter download mirror https://storage.flutter-io.cn

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
   • Xcode at /Applications/Xcode.app/Contents/Developer
   • Build 15C500b
   • CocoaPods version 1.15.0

wechat_kit: ^6.0.1
wechat_kit:
ios: no_pay # 默认 pay
app_id: xxxxx
universal_link: https://x/
运行报错一直提示找不到
Error (Xcode): Library not found for -lWeChatSDK

项目升级集成问题


Application of C# naming conventions and standards, Added Icon, Edited file list properties, Added "Remove Selection" button, Edited AssemblyInfo's Copyright, Removed useless member's generation

Added Icon
Application of C# naming conventions and standards
Edited file list properties
Added "Remove Selection" button
Edited AssemblyInfo's Copyright
Removed useless member's generation

Thanks !


feat: Export admin role and execution role for custom stackset's deployment

Hi,
This is a FR for deploying custom stack sets with custom admin role and custom execution role.
The changes is not so much so I'm fell like there is no need to elaborate on them.
Please tell me if something is missing, thx.
EDIT:
The CI has been failed due to un-updated snapshot in release v1.10.0

Hi @allcloud-sahar-hagbi, thank you for contributing to the LZA! I'll get this code reviewed by the team and let you know if there is any feedback. Thank you for your contribution!