Handle invalid kernels / kernel launch fails in native notebooks

For #13409

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[x] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Just a quick little change to get my feet wet in native notebooks.
Note, I'm having a bit of trouble getting the new .ds.tests files to run so not including in this PR. I think the change is small enough to warrant that.

Codecov Report

Merging #13627 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13627      +/-   ##
==========================================
+ Coverage   59.73%   59.75%   +0.01%
==========================================
  Files         670      670
  Lines       37434    37513      +79
  Branches     5373     5388      +15
==========================================
+ Hits        22362    22415      +53
- Misses      13908    13929      +21
- Partials     1164     1169       +5

Impacted Files
Coverage Δ

src/client/common/utils/platform.ts
64.70% <0.00%> (-11.77%)
:arrow_down:

src/client/datascience/crossProcessLock.ts
79.41% <0.00%> (-11.77%)
:arrow_down:

...rc/client/datascience/commands/notebookCommands.ts
18.18% <0.00%> (-4.68%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

...ient/datascience/interactive-ipynb/nativeEditor.ts
7.86% <0.00%> (-0.11%)
:arrow_down:

src/client/common/types.ts
100.00% <0.00%> (ø)

src/client/datascience/types.ts
100.00% <0.00%> (ø)

src/client/telemetry/constants.ts
100.00% <0.00%> (ø)

... and 5 more

Continue to review full report at Codecov.

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

Whoops, didn't have my linting right. Fix incoming.

Submitting over non-required Mac failure


Mamujoco v4

Hi
Currently, the supported version of mujoco is v2. It doesn't have many functionalities available in v4. Can you please update mujoco to version v4.
Thank you.

We have recently updated MAMuJoCo to its latest version, which is now maintained under Gymnasium-Robotics.
To learn how to use it, you can refer to the examples provided at Examples.
Please note that Gymnasium-Robotics has not been merged into the master branch. You can access it by checking out the rllib_1.8.0_dev branch.
If you encounter any bugs or issues, we encourage you to create a pull request (PR). We welcome contributions from the community.

Hi
Thank you so much.
Is the below code the correct way to use half_cheetah_v4 (version 4)?
from marllib import marl
env = marl.make_env(environment_name="gymnasium_mamujoco", map_name="2AgentHalfCheetah", force_coop=True)
mappo = marl.algos.mappo(hyperparam_source="mamujoco")
model = marl.build_model(env, mappo, {"core_arch": "mlp", "encode_layer": "128-256"})
mappo.fit(env, model, stop={'episode_reward_mean': 2000, 'timesteps_total': 20000000}, local_mode=False, num_gpus=1,
num_workers=60, share_policy='group', checkpoint_freq=500)

I think so. You can pip show mujoco to see the MuJoCo version you are using and then check the corresponding half_cheetah version you are using.
Additionally, it's worth mentioning that we haven't conducted any finetuning on gymnasium_mamujoco, so you will need to perform the finetuning yourself.

Similarly you mentioned that Sisl is not finetuned. Can you please let me know how exactly fine tuning is done as I am a beginner in Marl. Also for mpe (simple spread) and mamujoco (v2) with your finetuned parameters, the reward was increasing from a lower value to a higher value. Like for spread it went from -120 to -65 and then plateaus. Similarly for mamujoco v2 it starts from -600 and goes to 2000 and then run stops due to 2000 reward criteria.
While for waterworld I observed it starts with reward of -6 and then increases for few iterations and then drops to -5 and stays there. Similar behaviour I observed for multiwalker (starts from -300, increases for few iterations and then drops to -300 and then plateaus) and gymnasium mamujoco v4 (-600 to -1300 and then plateaus). These are the observations with MAPPO algorithm. Is it because they are not finetuned? Will a finetuned environment always have a increasing reward? In a paper, I saw a plot for multiwalker with PPO following exactly same trend that I mentioned. Also in some of your results the reward drops from original value and plateaus. So what exactly is finetuning and how to do it?
Thank you.

Only tasks show up in this directory have been finetuned.
For other questions, it is challenging to address them comprehensively within a single issue reply. We encourage you to explore   related papers and surveys. They can provide a more in-depth understanding of the broader concepts and help you find the answers you seek: link.

Can you please let me know how exactly you finetuned?

There are two approaches to finding optimal hyperparameters:

Referencing benchmarking papers

Using grid search with ray.tune.grid_search()

Both of these approaches have their advantages. Consulting benchmarking papers provides insights based on prior research, while grid search systematically explores the hyperparameter space.
MARLib's fine tuning is mostly based on 1.


Fresnel pull request for commenting

This is the whole fresnel branch including my recent changes. PR for commenting as requested by @josePhoenix in https://github.com/mperrin/poppy/issues/103#issuecomment-133493924
In retrospect I probably should have made a branch from the branch and pull requested from that, but I didn't think of it.

The notebook looks great!
But it is failing for me because the pyfftw import has been missing since eb09a36e7dfff9e690d37eea1411fa6040e19e6d, I fixed this in #107.
I will test with pyfftw uninstalled for the moment.

@douglase I just merged #107 for you so you can try it with pyfftw now.
Meanwhile I've managed to reproduce the error you're getting, although it's not totally clear to me why; on one computer it works fine in 2.7 but fails in 3.4, but on another computer I can get the ufunc casting error on 2.7. Investigating... but I'm not optimistic I will figure this out in the next 15 minutes before I have to split. :-)

side note on notebook: GaussianLens() is Gaussian because it's spherical, so it is a "Gaussian Optics" approximation of a lens... SphericalLens would be clearer.

Or "QuadraticLens" maybe? The point is that it's a pure quadratic phase term, such that it converts a plane wave into a converging spherical wave or vice versa.  In hardware this would be achieved by a parabolic mirror (e.g. off axis paraboloid).  As no astronomer should ever forget. :-)
I can imagine a future version of this which has a subclass "ConicLens" that allows precise description of conic asphere optics (such as the actual mirrors of Hubble, or the optics of JWST which are an ellipse, hyperbola, and ellipse, etc).

yes, spherical optics, not a spherical optic... I like QuadraticLens.

I am planning to go ahead and merge this into master pretty soon. Any additional comments or issues before I do so?
I took a pass at cleaning up the fresnel.py codebase to be closer to PEP8 compliant; mostly minor formatting stuff. One thing I did not fix yet: the PEP8 inspector in PyCharm complains about the function names for FresnelWavefront.z_R and FresnelWavefront.R_c since those are not lowercase.  This is an instance where the common mathematical notation for these variables is not in keeping with Python's style conventions. We could rename these to e.g. z_rayleigh and r_curvature, and maybe that would actually be clearer (though more verbose). But it's also nice to maintain a close consistency with the mathematical notation. Opinions?

I don't see any issues with with merging into master. I just created an issue for adding anti-aliased apertures (#129), since that seems to be the missing feature for head-to-head comparisons with PROPER, but that is not a just Fresnel issue. I have the PROPER example microscope working and see less than than 1% difference between POPPY and PROPER (https://github.com/douglase/poppy_example_notebooks/blob/master/Fresnel/Microscope_Example.ipynb). Have not had time for more examples (the TDEM coronagraph example is built but not well tested), but I don't think that is a reason to hold up merging with master.
I think the mathematical notation makes the code a bit more readable than the PEP8 versions, but understand the desire for consistency.

Ok thanks much. Nice to see the microscope example!  After further reflection I think we can keep the shorter names, I'll just make them all lowercase for PEP8 compliance. And I think it's a little easier to remember all lowercase z_r and r_c as opposed to mixed case (oppositely for the two parameters!). That sound fair enough?

:+1: to lowercasing. I also thought about providing short aliases to the longer names but it's probably not worth the additional confusion.

Woohoo!


Multiple Exception while executing golden tests.

══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following MissingPluginException was thrown running a test:
MissingPluginException(No implementation found for method state on channel
dev.steenbakker.mobile_scanner/scanner/method)
When the exception was thrown, this was the stack:
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)

(elided one frame from package:stack_trace)
The test description was:
QRCode Screen UI JA Golden Test
═══════════════════════════════════════════════════════════════════════════════════════════�
══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
The following MissingPluginException was thrown while activating platform stream on channel
dev.steenbakker.mobile_scanner/scanner/event:
MissingPluginException(No implementation found for method listen on channel
dev.steenbakker.mobile_scanner/scanner/event)
When the exception was thrown, this was the stack:
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)

(elided one frame from package:stack_trace)
═══════════════════════════════════════════════════════════════════════════════════════════�
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following MissingPluginException was thrown running a test:
MissingPluginException(No implementation found for method stop on channel
dev.steenbakker.mobile_scanner/scanner/method)
When the exception was thrown, this was the stack:
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)

(elided one frame from package:stack_trace)
The test description was:
QRCode Screen UI EN Golden Test
═══════════════════════════════════════════════════════════════════════════════════════════�
══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
The following MissingPluginException was thrown while de-activating platform stream on channel
dev.steenbakker.mobile_scanner/scanner/event:
MissingPluginException(No implementation found for method cancel on channel
dev.steenbakker.mobile_scanner/scanner/event)
When the exception was thrown, this was the stack:
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)

(elided one frame from package:stack_trace)
═══════════════════════════════════════════════════════════════════════════════════════════�

Exception occurred while running golden tests.

Mobile scanner version:
mobile_scanner:
dependency: "direct main"
description:
name: mobile_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"

有解决吗

Can you please try this again with version 3.0.0?


Add back in 2020 milestone issues for the 2020 assessment

Just a reminder to have Andy add back in any 2020 milestone issues so we can track them for next year.  Others feel free to add in issues that you think will be important to work on for 2020.  Once we get the final SRG document, we can add those as issues as well.

That was super-easy to do with the filtering options.


sap.m.Panel: setExpanded does not handle undefined parameter

OpenUI5 version: Latest
Browser/version (+device/version): All
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible): http://jsbin.com/radayoxidu/edit?html,console,output
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Just start and see how it fails
Check how it is working when forcing conversion to boolean

What is the expected result?
Panel is shown.
What happens instead?
Uncaught TypeError: Cannot read property 'toString' of undefined (in P.setExpanded)
Any other information? (attach screenshot if possible)
If binding the property expanded, the initial update of the binding leads to an 'undefined' bExpanded parameter.

Hi SeeSharpSoft,
thanks for reporting, opened internal issue<PHONE_NUMBER> for this one.
Best Regards,
Martin

Hello SeeSharpSoft,
I fixed the issue. Thanks for the PR, but I was already pushed a commit with QUnit tests in our internal repo.
Best Regards,
Martin

Hi Martin,
thanks for the update. Just had a look at the current state of the implementation - if it is the same as in the internal repo you might consider firing the event with the parameter this.getExpanded() (instead of bExpanded) as well as it is documented to be a boolean but the parameter bExpanded can be undefined/null which was the cause of this issue.
Regards


[Package Request]: Amazon Corretto 22

How can we help?
I would like help so I can submit the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://docs.aws.amazon.com/corretto/latest/corretto-22-ug/downloads-list.html
Publisher: Amazon
Package Name: Amazon Corretto 22
Description: Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with long-term support that includes performance enhancements and security fixes.
Package Version: 22
Installer URL: https://corretto.aws/downloads/latest/amazon-corretto-22-x64-windows-jdk.msi

@installation-scripts, it seems currently available in the repository. Could you please check with package identifier Amazon.Corretto.22.JDK?
00:25:58 C:\...\winget-pkgs  [master ≡] 2.241s 0x0001 pwsh> winget search 'Amazon Corretto'
名称                  ID                     版本      源
--------------------------------------------------------------
Amazon Corretto 11    Amazon.Corretto.11.JDK <IP_ADDRESS> winget
Amazon Corretto 17    Amazon.Corretto.17.JDK <IP_ADDRESS> winget
Amazon Corretto 18    Amazon.Corretto.18.JDK <IP_ADDRESS>  winget
Amazon Corretto 19    Amazon.Corretto.19.JDK <IP_ADDRESS>  winget
Amazon Corretto 20    Amazon.Corretto.20.JDK <IP_ADDRESS> winget
Amazon Corretto 21    Amazon.Corretto.21.JDK <IP_ADDRESS>  winget
Amazon Corretto 22    Amazon.Corretto.22.JDK <IP_ADDRESS>  winget
Amazon Corretto 8     Amazon.Corretto.8.JDK  <IP_ADDRESS>2 winget
Amazon Corretto JRE 8 Amazon.Corretto.8.JRE  <IP_ADDRESS>2 winget

00:29:46 C:\...\winget-pkgs  [master ≡] 3ms pwsh> winget show -e Amazon.Corretto.22.JDK
已找到 Amazon Corretto 22 [Amazon.Corretto.22.JDK]
版本: <IP_ADDRESS>
发布者: Amazon
发布服务器 URL: https://aws.amazon.com/
发布服务器支持 URL: https://github.com/corretto/corretto-22/issues
作者: Amazon
描述: Amazon Corretto 是 OpenJDK 的零成本、多平台、生产就绪的发行版。Corretto 提供长期支持,包括性能增强和安全修复。Corretto 在亚马逊内部数千个生产服务上运行,并已通过认证,与 Java SE 标准兼容。使用 Corretto,您可以在 Linux、Windows 和 macOS 等流行的操作系统上开发和运行 Java 应用程序。
主页: https://docs.aws.amazon.com/corretto/
许可证: GPL-2.0 with Classpath Exception
许可证 URL: https://aws.amazon.com/corretto/faqs/#Licensing_and_Open_Source
隐私 URL: https://aws.amazon.com/privacy/
版权所有: Copyright © 2224
版权 URL: https://github.com/corretto/corretto-22/blob/develop/TRADEMARKS.md
发行说明 URL: https://github.com/corretto/corretto-22/blob/develop/CHANGELOG.md
标记：
  java
  jdk
  jre
  jvm
安装：
  安装程序类型： wix
  安装程序 URL： https://corretto.aws/downloads/resources/<IP_ADDRESS>.1/amazon-corretto-<IP_ADDRESS>.1-windows-x64.msi
  安装程序 SHA256： 9a1823908954fb562f739cdf1450dcc5bd1d42218ea1eee076dc34a79b17eada
  发布日期: 2024-07-16
  支持脱机分发: true

Manually checked.

URL you provided above is a "vanity URL", which we discouraged.
At the time I checked and commented, the vanity URL points to v<IP_ADDRESS>.1 "version-related static URL", which is exactly the same as Amazon.Corretto.22.JDK.

This package is apparently already in the repo.


[QUESTION] Swoole hooks vs. Coroutine clients - which is Hyperf using? Which is better?

In this swoole documentation it sounds like Coroutine Clients are not recommended, instead Swoole Hooks is better to use.
What does Hyperf framework do? It looks like there are coroutine clients like hyperf/database-pgsql using Swoole\Coroutine\PostgreSQL
Is it better to use hooks or coroutine clients?
Is there a reason why it's better to use coroutine clients in the Hyperf framework?
Is it possible to use either / both? Which one should I use ?
Thank you 🙏

By the way - I'm sorry 对不起我不会说中文
I just use Google Chrome Translate on the documentation pages

hyperf uses Swoole_hook_all flags when bootstrap

So if I don't use hyperf/database-pgsql and I only use regular PDO and PDOStatement, will it be compatible with coroutines? Will it be non-blocking and able to execute in parallel?
Will it have any advantages or disadvantages compared to using hyperf/database-pgsql ?
What is the purpose of hyperf/database-pgsql ?

If you need to use the pgsql client, you can use hyperf/database-pgsql.
pdo-pgsql is not hooked and does not support coroutine. It degrades to blocking mode when used.

OK thank you
So I understand that if I use regular PDO and PDOStatement with PHP extension ext-pdo and ext-pdo_pgsql, it will be blocking even if Hyperf has SWOOLE_HOOK_ALL. The only way to do PDO with PostgreSQL with coroutine/non-blocking support is by using Swoole\Coroutine\PostgreSQL in hyperf/database-pgsql.
Correct?
In that case - I will hope to find a good answer for how to use PDOStatment::bindParam with PDO::PARAM_LOB 🙏
Thanks again

So I understand that if I use regular PDO and PDOStatement with PHP extension ext-pdo and ext-pdo_pgsql, it will be blocking even if Hyperf has SWOOLE_HOOK_ALL. The only way to do PDO with PostgreSQL with coroutine/non-blocking support is by using Swoole\Coroutine\PostgreSQL in hyperf/database-pgsql. Correct?

yeah.


[WebToolsE2E][Aspire] Running 'azd init' failed wth error 'ERROR: unsupported resource type: sqlserver.database.v1' after adding sql server related aspire component

REGRESSION INFO: Also repro on VS 17.9 P2 (includes Aspire 8.0.0-preview.1.23557.2) + azd 1.5.0
INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install VS 17.9 Preview 2
Install Aspire Preview 2 latest build 8.0.0-preview.2.23618.4
Apply NuGet Feeds
Install azd 1.5.1-daily.3351945

REPRO STEPS

In the VS, create a new project > ASP.NET Core Web App > .NET 8.0 > Individual Accounts > Create.
Right-click the web project >Add > Aspire component > check 'Include prerelease' and set 'Package resource' to 'All' > Aspire.Microsoft.EntityFrameworkCore.SqlServer > install with matched version
Open appsettings.json of web project, make changes related to Aspire component

{
  "Aspire": {
    "Microsoft": {
      "EntityFrameworkCore": {
        "SqlServer": {
          "DbContextPooling": true,
          "HealthChecks": false,
          "Tracing": false,
          "Metrics": true
        }
      }
    }
  }
}

In the Program.cs of web project, comment the DbContext register line, type following codes:
builder.AddSqlServerDbContext<MyDbContext>("myConnection");
Open appsettings.json of AppHost project, add ConnectionStrings configuration section:

{
  "ConnectionStrings": {
    "myConnection": "Data Source=myserver;Initial Catalog=master"
  }
}

8.Open Program.cs of AppHost project, add following codes:
var sql = builder.AddSqlServerContainer("sql").AddDatabase("sqldata");
var myService = builder.AddProject<Projects.MyService>()
                       .WithReference(sql);

Right-click the solution > Open Folder in File Explorer, in the opened folder, right-click any place > Open in Terminal
In the terminal window, running 'azd init', select 'Use code in the current directory' > 'Confirm and continue initializing my app' > select all the services > enter a new environment name > press enter.

Notes:

This issue also repro after adding 'Aspire.Microsoft.Data.SqlClient'.

ACTUAL
Shows error 'ERROR: unsupported resource type: sqlserver.database.v1'

EXPECTED
Running 'azd init' successfully.

We don't have support for sqlserver yet. Duplicate of existing issue.

https://github.com/Azure/azure-dev/issues/3065


Julia Pkg Registration

@JuliaRegistrator register()

Error while trying to register: "Pre-release version not allowed"

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/83062
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.15 -m "<description of version>" a67b0ed51a60079ce446f83b6725666ee3179b53
git push origin v0.1.15

Also, note the warning: This looks like a new registration that registers version 0.1.15.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/83063
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" 7f3f8f448d77e8398dd5b0b5758e4184c47a64d0
git push origin v0.0.1

@JuliaRegistrator

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/83063
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" f5e2659575aa8b7f129b31ef12dd5f782e7763ac
git push origin v0.0.1


Stuck on loading state when clicking on "Accounts"

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version: 1.66
OS Version: MacOs Monterey version 12.3

Steps to Reproduce:

click on "Accounts" logo bottom left in vscode
wait eternally..

@Delice0 hoq did you download the version of VS Code? Additionally, can you include the version information from Help -> About -> 'Copy' button

Hey @TylerLeonhardt, this issue might need further attention.
@Delice0, you can help us out by closing this issue if the problem no longer exists, or adding more information.

@Delice0 are you still seeing this issue with the latest version?

@Delice0 are you still seeing this issue with the latest version?

No, I no longer experience this issue with the latest version.


Is it possible to warp an overlap image using Sharp

Is it possible to transform a composite image in Node Sharp that can achieve the below warp effect (desired final composite image on the right)?

I attempted using the affine operation but could not achieve the desired effect https://sharp.pixelplumbing.com/api-operation#affine

Please see #2095


Custom Filters for User Page

Create Custom Filters (start with basing it on the profile variables).

First test is working, though it does always filter on select fields due to there not being a empty selection options.


Merge changes from 'staging' to 'main' (Update Image Tags for github-repository-dispatcher-service3)

Change Summary
Summarise your changes in points

This PR includes changes from charts/values.yaml file.
Image Tag Update: "github-repository-dispatcher-service3"

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code refactoring (restructuring existing code without changing any functionality)
[ ] This change requires a documentation update

Documentation/Release Plan

Problem Statement doc
Feature documentation
Release plan

Testing Checklist
Changes tested on

[ ] development
[ ] production
[ ] MABL Tests Link (if any)
[ ] Successful Workflow Links (if any)

A new commit has been added to the pull request, indicating an update to the image tag. Before proceeding, please ensure thorough testing of these changes in the staging environment. Mark the testing checklist below accordingly:
Testing Checklist
Changes tested on:

[ ] Development
[ ] Production
[ ] [MABL Tests Link] (if applicable)
[ ] [Successful Workflow Links] (if applicable)


Provide documentation with usage examples

API features need to be highlighted to potential users in order to bring attention to any possible benefits adopting elements of the API

Commit message should have referenced this issue.


google account name, email address, and logout button missing

I logged-in with a Google Account<EMAIL_ADDRESS>that does not have an avatar set. However, it does have a name and email address.
I'm not sure why, but the name, email address, and logout button did not appear in the wp-stateless setup assistant.
Something is broken.
WP-Stateless Setup Assistant

Google Account Settings

@ewsopp It working for me. Can you replicate the issue again?

@alimuzzaman I just sent you the account login to hopefully recreate this issue.

API not returning email address what was unexpected.

Not sure what's wrong with that account. But log out button will show now without an email address.

What I see now...


topology rule

hi,guys ,i m new android developer using esri, i developed geometry editor  but  i left topology rule like polygons must not cross ,no gap between polygons,and polygons can be teach each other .any one can help me.

Hi there - if you have questions about how to develop with the ArcGIS Runtime SDK for Android, you can go to the geonet forum at https://geonet.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-android and ask them there.
This repo is for the samples in particular, so if you have any problems or suggestions for working with the samples in this repo, that's when you should add an issue.

@Desalegn21 Take a look at the Geometry Sample for examples of using the API with spatial relations.  If you have questions specific to a sample please post them here, otherwise as @shellygill said please post general ArcGIS Android SDK questions to our geonet forum.
Closing this issue as a GeoNet Question.


Query settings

Builds on #2934.
WIP, just to share with @eed3si9n.

Looks like this using telnet:
{"type":"SettingQuery","setting":"scalaVersion"}
{"type":"SettingQueryResponse","values":["2.12.1"]}
{"type":"SettingQuery","setting":"organization"}
{"type":"SettingQueryResponse","values":["com.dwijnand"]}
{"type":"SettingQuery","setting":"homepage"}
{"type":"SettingQueryResponse","values":["None"]}

Why do we get multiple values back? If it's because of project aggregation, we probably should remove that and force the client to pass in fully qualified settings.

At least from aggregation. Maybe something else too. Delegation is also involved. I'm not sure if that's configuration delegation or project delegation.
Ultimately I was emulating show, except with structured dara rather than println toString.
By "fully qualified" do you mean it can't depend on the "current" project? What about depending on configuration delegation?

By "fully qualified" do you mean it can't depend on the "current" project?

Yes. The notion of current project shouldn't exist in querying as it's state dependent.

What about depending on configuration delegation?

I think that's fine as long as it's stable. (It is right?)

By "fully qualified" do you mean it can't depend on the "current" project?
No. The notion of current project shouldn't exist in querying as it's state dependent.

OK, then that means creating alternative parsers for the string.

What about depending on configuration delegation?
I think that's fine as long as it's stable. (It is right?)

It's not stable across reloads (or reboots) I assume, FWIW.

@eed3si9n:

[x] NetworkChannel no longer owns a State
[x] data types moved to protocol project
[x] renamed to SettingQuery/SettingQueryResponse
[x] avoided case class, used CSL
[x] Removed use of aggregation
[x] Removed dependency on the current/session project, allows for explicit project/ThisBuild/Global

Could you give this a quick once over?

Trailing concerns:

stale State (e.g change a file, reload on server, query settings returns old values)
proper structured JSON (i.e don't toString)

I rebased on latest 1.0.x and remove the upgrade of the sbt-contraband plugin as it depends on a breaking bincompat change in sjson-new that was failing the tests, which I CBA to deal with right now.

java.lang.NoClassDefFoundError: sjsonnew/LNil$

Merged!


Versions after v3.0.2 aren't installing

For whatever reason, I can't seem to install any of the newer versions. I'll double click the .sketchplugin file but nothing happens. Likewise with Sketch Runner, it downloads it but it doesn't actually install. Only using v3.0.2 seems to work (i.e. bring up the 'Plugin has been installed' alert window).
I'm fine with v3.0.2, just though I'd let you know 😉

Thanks, I will take a look.

@oeed Are you able to update it from the Sketch plugins dialog?

This should be fixed. Thanks for letting me know.


full screen of codemirror editor in jquery ui dialog fails on Internet Explroer

I am using codemirror editor in jquery ui dialog. It works fine on chrome and firefox but the moment I use it in internet explorer(9,10) and  edge, it spoils UI of ful lscreen.

Does the problem occur in the full screen demo? Can you describe it a little more precisely than 'spoils UI'?

I am sorry for the improper details marijnh.
No this problem does not occur on full screen demo and not even on normal page on internet explorer.
I will write steps to regenerate issues

Use codemirror editor in jquery ui dialog
Open modal popup using a button so the editor gets loaded in dialog.
Go full screen in editor

This will set a transparent layer instead of white background in default theme.
Text will be visible but on top of webpage beneath dialog.
I hope this helps.

If other components need to be involved to trigger the problem, it's up to you to either reduce this bug to a more primitive situation (or to arrange things in your app to avoid the issue). I'm not willing to debug jQuery dialogs.

No problem
Thanks for you reply.
I will close the issue.
Kind regards


Are URL Configuration Service Characteristics only for URL frames?

There are characteristics that can be shared between all types of frame. For example, Advertised TX Power Levels and TX Power Mode. Also, Beacon Period can be shared in some sense. If those are only for URL frames, is there any means to set TX power and period for UID and TLM frames?

Great question. The UID and URL frames encode the devices Tx power at byte offset 1. This is all in the service data block, not as a separate characteristic. The TLM frame doesn't encode it since the natural pairing is with either the UID or URL frames which do encode it, and which also provide a unique ID for the device.

Thanks for your comments. For clarification, let me ask another question. Let's assume that there is a beacon device capable of advertising both UID and URL frames. Those frames can be alternately advertised or selectively by user intervention like button press. Do you think the new advertising interval, for example, updated during the last configuration mode should be applied to not only URL advertising but also UID advertising?

It depends on what the consuming application's needs are. Generally speaking, if the application is scanning aggressively in the foreground and the user's eyeballs should see some action as soon as possible, then more frequent advertising is better.
Conversely, if the app is scanning less frequently in the background, then slower advertisements are fine and allow the device to conserve battery.
Similarly, whether or not to apply updates across different ADV frames depends on what those frames are being used for.
Sorry for offering such obvious advice but the "how fast/slow/strongly should my device advertise" question really is determined by the needs of the client. It's very hard to offer any useful one-size-fits-all advice here, but if you can think of something that would help others just getting started here to understand, please do suggest it.


Filter error message from skip build script checks

Description
Because we build web with skip build script checks on, it will always start up with:
flutter_tools|lib/src/build_runner/build_script.dart was not found in the asset graph, incremental builds will not work.

This message is not actionable to users and should be filtered out.

/cc @natebosch @grouma


Distinguish zh_CN & zh_TW

This commit fix https://github.com/Litarvan/lightdm-webkit-theme-litarvan/issues/168.
It will try to use language name and territory to find code in lightdm.languages. If territory is undefined, it will use name to find the code and is unable to distinguish zh_CN & zh_TW.
zh is the name of language, which in this case is chinese. CN(for China) & TW (for Taiwan) is the territory.

I'd say we should use the word "region".

On POSIX platforms such as Unix, Linux and others, locale identifiers are defined by ISO/IEC 15897, which is similar to the BCP 47 definition of language tags, but the locale variant modifier is defined differently, and the character set is included as a part of the identifier.[citation needed] It is defined in this format: [language[_territory][.codeset][@modifier]]. (For example, Australian English using the UTF-8 encoding is en_AU.UTF-8.)                       -- wikipedia

Sorry, it's because the locale is defined in format [language[_territory][.codeset][@modifier]], and lightdm using name, code and territory to get the language information. So I don't think we should use another word.

On POSIX platforms such as Unix, Linux and others, locale identifiers are defined by ISO/IEC 15897, which is similar to the BCP 47 definition of language tags, but the locale variant modifier is defined differently, and the character set is included as a part of the identifier.[citation needed] It is defined in this format: [language[_territory][.codeset][@modifier]]. (For example, Australian English using the UTF-8 encoding is en_AU.UTF-8.)                       -- wikipedia

Sorry, it's because the locale is defined in format [language[_territory][.codeset][@modifier]], and lightdm using name, code and territory to get the language information. So I don't think we should use another word.

hmm, makes sense then.

That's really cool! Thanks :)


Thank you for your contribution, but I can't make sense of the three curves in Figure 3.

Curve 1: Figure III left (Signal-to-noise ratio (SNR) of linear and cosine noise schedules for reference.) The relationship is given in your paper:

However when I use linear schedule locally, Diffusion Steps = 1000, and SNR by Equation 4, the curve is like this:

Curve 2: Figure III right（Weights of P2 weighting and the baseline with a linear schedule.）The relationship is given in your paper:

However when I use linear schedule locally, Diffusion Steps = 1000, and SNR by Equation 4, weight by

and P2-weight by

set k = 1, γ =1.
Also, I understand that you used the normalization operation: so I scaled weight to a range of 0 to 1 by maximum and minimum values
However, the curve I get is this:

These curves do not match at all the results you gave in your paper, did I do any step wrong? I am very interested in this article and look forward to your reply, thanks!

Attached below is the code I used to reproduce these curves:

In your first graph, your y-axis is linear scale, while the SNR graph from the paper is log scale. Also note that the linear schedule has SNR as the x-axis, rather than timestep.
Using the DDPMScheduler scaled_linear betas formulation (ie, for Stable Diffusion), and using timestep for the lambda_prime series:

In your first graph, your y-axis is linear scale, while the SNR graph from the paper is log scale. Also note that the linear schedule has SNR as the x-axis, rather than timestep.
Using the DDPMScheduler scaled_linear betas formulation (ie, for Stable Diffusion), and using timestep for the lambda_prime series:

I understand why, thank you very much for your help.


Hello World?

Hi!
How to start using Odin?
Any tips are welcome.
Lucas

Hi lucasa,
Sorry for my late response, I finally have time to finalize the project for the first release.
You can check quick start in O.D.I.N document here: http://odin0.readthedocs.io/en/latest/index.html
You can start by install all dependencies here: http://odin0.readthedocs.io/en/latest/setup.html
The fastest way to know the framework is running the examples here: https://github.com/imito/odin/tree/master/examples
Best Regards,
TrungNT


Modify publish-release workflow to support manual docker releases

Once again, title says it all.

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages (more info).
[ ] Added or updated documentation.
[ ] Tests for new functionality and regression tests for bug fixes.
[ ] Screenshots or videos attached (for UI changes).
[X] All your commits have a Signed-off-by line in the message (more info).

no longer required.


PDF2: Is there a 'best practice' method to creating custom stylesheets?

There are a number of options to creating custom stylesheets.
One method would be to put all the customisations into one of the two custom.xsl files.
For a simple customisation, that is probably a good idea.
The alternative is to use the two custom.xsl files to import customised stylesheets and retain the original file names. For a more complex customisation, it can help to retain the original file name.
However, if you start with a full copy of the original stylesheet, then there will be a lot of templates, variables, etc., etc. that are left untouched.
So, the question is whether to leave these untouched templates, etc., in the customised stylesheet, or to delete them?
Apologies if this is an obvious question!

You should delete all templates you are not overriding. Otherwise you will have big problems in the future when the templates you're not overriding change in the base code.

There are different opinions on this, so there is not a universal "best practice". I pretty strongly agree with Eliot on this one though, and I think any of the regular contributors likely to speak up will answer the same.

I recommend to firstly generate a plugin with the dita-generator. Then you have a good initial state to start working. Do not use custom.xsl, this only makes it harder for you to maintain your code over time. If you need to override a template, create a pendant XSL file identically named to its original. Only copy templates from the original XSL to its override pendant, if you need to modify them. That way you always know where a template comes from and, if the org.dita.pdf2 alters, you will faster notice if a template has been replaced, because its pendant it missing. You will oftenly have to compare templates between org.dita.pdf2 and your plugin, at least between DITA-OT major releases. So maintainability is probably the most important factor in the design decision. I assume, that most people that are still using DITA-OT 1.8.5, because they are stuck in the mud of org.dita.pdf2.

Thanks for all the comments - I appreciate it. I have looked at Jarno's plug-in generator, however, it doesn't do headers and footers.
I am using the two custom.xsl, but only to import copies of the original stylesheets, not for actual code. Actually, they are both called from catalog.xml, so you can't ignore them!
I'm a great believer in Murphy's law, so I don't think I'll delete the templates that I currently do not need, but rather I'll comment them out. Someone is bound to ask for tweaks later on!
One of the issues with 1.8.5 is that Leigh's book is based on it. She has plans to update it, I understand.
FWIW, I'm working with 2.1.2 as it happens to be bundled with a certain XML editor.

To modify headers and footers, you have to fork static-content.xsl and static-content-attr.xsl.

Create pendants of static-content-attr.xsl and static-content.xsl in your plugin.
Add the import statements to topic2fo_shell_fop.xsl.

    <xsl:import href="plugin:org.dita.pdf2:cfg/fo/attrs/static-content-attr.xsl"/>
    <xsl:import href="plugin:com.your.company:cfg/fo/attrs/static-content-attr.xsl"/>
    <xsl:import href="plugin:org.dita.pdf2:xsl/fo/static-content.xsl"/>
    <xsl:import href="plugin:com.your.company:xsl/fo/static-content.xsl"/>

Add your changes.

Hint
For static contents you probably need to copy all templates, because you need to change them all.


Extract Aspire.Hosting.SqlServer.Tests project

Contributes to https://github.com/dotnet/aspire/issues/3185
Contributes to https://github.com/dotnet/aspire/issues/4294
Microsoft Reviewers: Open in CodeFlow

WithDataShouldPersistStateBetweenUsages(useVolume: true) work on my local but WithDataShouldPersistStateBetweenUsages(useVolume: false) failed because of https://github.com/dotnet/aspire/issues/5055.
For now, I disabled this test to discuss it.

Something I was asked to do, and maybe you can take what I did as an example, if to also use the EF component in this functional test to extend the coverage.


Make tags dropdown (Answers API page) searchable or at least alphabetised.

The dropdown in the "tags" column of the Answers API Coda page (Admin panel) would be more helpful if it were searchable (the number of tags is now so large, that it's quite a tricky process to find all the relevant ones). At the very least, they could be listed alphabetically.

@matthewrwatkins it already is, but it's not obvious:


Fix reconnect bug

Breaking change

Proposed change

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the [development checklist][dev-checklist]
[ ] The code compiles without warnings (code quality chek)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

Codecov Report

Merging #527 (030e120) into dev (e57606a) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #527      +/-   ##
==========================================
+ Coverage   59.38%   59.49%   +0.10%
==========================================
  Files         138      138
  Lines        5843     5846       +3
  Branches      839      839
==========================================
+ Hits         3470     3478       +8
+ Misses       2087     2084       -3
+ Partials      286      284       -2

Flag
Coverage Δ

unittests
59.49% <100.00%> (+0.10%)
:arrow_up:

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

Impacted Files
Coverage Δ

...rc/Daemon/NetDaemon.Daemon/Daemon/NetDaemonHost.cs
55.58% <100.00%> (+0.92%)
:arrow_up:

Continue to review full report at Codecov.

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


Can't use Plaid Link in Mobile Menu

It seems to be a z-index issue as I can use the nav while Plaid is open by clicking where the plaid pop-up and menu item intersect. Hitting the Plaid continue button, but outside the mobile menu closes both the menu and Plaid as well. I changed the z-index of the sheet overlay-0 since -1 puts it behind all content. I checked the Plaid popup, and it appears to be z-index of<PHONE_NUMBER> which baffles me even more because it seems that would place it on top of all other content. Any suggestions on how to get this to work inside of a shadcn-ui sheet?

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Add modal={false} to the <Sheet /> component https://www.radix-ui.com/primitives/docs/components/dialog#api-reference


Cannot import model with opacity map

Hello,
When importing models with an opacity map (opacity maps are irreplacable for plants or feathers ) the Sceneform importer throws the known Validating Materials: Validating material: Jsonnet Error: [1]: RUNTIME ERROR: duplicate field name: "BaseColor" error.
Here is the model we have issues with:
1 without opacity map and only 1 material -> works
2 with opacity map and only 1 material -> described error when importing
example.zip

After making me more familiar with this topic I found a solution.
(requires multiple steps,though)
Images of incorrect and correct rendering:

1) To work around the 'Sceneform importer issue' we tried 2 approaches:
a) Removing the Opacity map texture from the asset before importing, then copy-paste it into .fbm folder. Later add it via injections as described under Replacing or adding textures here:
https://developers.google.com/ar/develop/java/sceneform/sfa
b) Including alpha channel in the baseColorMap texture ( e.g no opacity map )
2) Rendering the model with transparency enabled:
While using method a) we were able to get the information into the asset, I was not able to render a transparent object using the opacity map. However, using method b) was succesfull after modifying the .sfm file ( replace source: with 'my_materials/my_fbx_material.sfm' and creating a modifed copy of fbx_material.sfm ).
Here are the modifications:
a) add blending: "transparent",
b) uncomment its already existing definitions
Example (starting at line 137 in the default shader)
{         name: "opacity",         description: "Conditionally enabled transparency",         options: [           {             default: null,             valid_if: propUseOpacityMap != 1.0,             //blending: "opaque",             fragment: ""           }, {             default: null,             valid_if: propUseOpacityMap == 1.0,             //blending: "transparent",             fragment: ""           }         ]       }     ],     requires: [       "position",     ],     shadingModel: "lit",     blending: "transparent",

However, fixing the Validating Materials: Validating material: Jsonnet Error: [1]: RUNTIME ERROR: duplicate field name: "BaseColor" issue with the importer directly would make the process of importing .fbx files with multiple materials / multiple textures much easier.

Update:
When rendering an asset that has alpha values of either 'visible' or 'invisible' the correct value for blending is masked. e.g.
blending: "masked",
Else the material is not fully transparent with an alpha value of 0.

Hi Im trying to apply the gradient png texture to the plain I was getting the plain reflections as you shown in the above and I have used the blending: "masked", it was working fine without reflections but gradient is not working
gradient PNG
https://drive.google.com/file/d/17lMgriDnR-x634RVK6gaR4veQqvK5ooC/view?usp=sharing
Texture mapping Sceneform
https://drive.google.com/file/d/1x1tIPzqcF5y9aOiOXCJ6uIzGxafH86P9/view?usp=sharing
blending: "masked",
https://drive.google.com/file/d/1IZGfeHv5NUqJ9h8zYNvSFrKQjfnZn8r2/view?usp=sharing
after blending: "masked", its displaying like this can you please help me to solve this please
thank you

Hi Im trying to apply the gradient png texture to the plain I was getting the plain reflections as you shown in the above and I have used the blending: "masked", it was working fine without reflections but gradient is not working
gradient PNG
https://drive.google.com/file/d/17lMgriDnR-x634RVK6gaR4veQqvK5ooC/view?usp=sharing
Texture mapping Sceneform

blending: "masked",

after blending: "masked", its displaying like this can you please help me to solve this please
thank you


About the matte images

Great job! Congradulations!
For the matte images, I could not get the download link after clicking it. When they will be available? Thanks a lot.

I am going to use for academic purpose, my email is<EMAIL_ADDRESS>if ok, could you share me with email?

I am going to use for academic purpose, my email is<EMAIL_ADDRESS>if ok, could you share me with email?

Please try
$ wget <URL_of_the_dataset>

, for example, or some other alternative ways to directly download the dataset from the URL.

Please try
$ wget <URL_of_the_dataset>

, for example, or some other alternative ways to directly download the dataset from the URL.


ENH: New objects for better representation of fieldmap estimation

This PR attempts to provide a more reliable framework to build fieldmap estimation workflows.
Implicitly, it will help addressing issues regarding data conformity (e.g., #63, #64, #65) and also ease larger refactors such as #20, #21, #26, and #101.
@mattcieslak I think that on top of this PR we could consider some of the nitty-gritty details that you have previously encountered as problematic with QSIPREP. I'm referring, for instance, to checking shimming information if available. WDYT?

Hello @oesteban, thank you for submitting the Pull Request!

In the file sdcflows/fieldmaps.py:

Line 220:13: W503 line break before binary operator

To test for issues locally, pip install flake8 and then run flake8 sdcflows.


Wrong sequence if sequence with cycle is saved to FASTA or Sequence file.

Steps to Reproduce

Switch to Macro

Open file
ketcher (modify (1)).zip

Try to save to FASTA of Sequence file

Actual behavior
Wrong sequence (GCG) is saved to FASTA or Sequence file  instead of GGC.

Expected behavior
Sequence should be GGC as on the Canvas
please see

https://github.com/epam/ketcher/issues/4575
https://github.com/epam/ketcher/issues/4690

Versions:
Windows 11
Chrome Version Version 123.0.6312.106 (Official Build) (64-bit)
Ketcher Version 2.21.0-rc.1 Build at 2024-04-15; 20:00:15
Indigo Toolkit Version 1.20.0-rc.1.0-g8e8ffc3c3-wasm32-wasm-clang-12.0.0

Perhaps the bug has already been fixed

ketcher_4679.zip

Fasta and sequence converts indigo, we also need to decide whether it is necessary to somehow select the first element in the case of a cyclic sequence, if necessary, then in what way?

MOved to indigo - https://github.com/epam/Indigo/issues/2042


does it work on an i3 model?

just asking if it would work on an i3 1005g1 i well be ordering on soon!


fix(advancedPane-event):高级面板添加自定义事件确定进行表单校验

English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] Built its own designer, fully self-validated

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Background and solution

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

设计稿已更新，后续直接按照设计稿实现


chore: improve docs formatting and style (README.md and CHANGELOG.md)

Hello there! @leoafarias I've been using FVM for quite some time now and it's been a great helper. Thus, I've decided to contribute to the documentation improvements (having little time available to pursue deeper challenges on open-source projects at the moment).
What I've done in this PR - improved the docs' (README.md and CHANGELOG.md) Markdown formatting, writing style and writing consistency.
Let me know your thoughts. I'm open to any kind of feedback. Thanks!

@Inlesco thank you the changes look good

@all-contributors please add @Inlesco for doc


Could you provide a minified version of css file over mapbox api please?

No, it's not worth it. We've looked at doing this in the past and the size savings after gzip compression are essentially nonexistent. Even uncompressed, the css is only 994 bytes.


Not catching error on handler?

Hi, I'm not expert in javascript/node so I'm probably doing something wrong but, could someone please help and tell me why the error is not being caught in .on('endElement', f1) when f1 contains errors?
'use strict';

const XmlStream = require('xml-stream')
const fs        = require('fs')

let s1 = fs.ReadStream('node_modules/xml-stream/examples/collect-preserve.xml')

let x1 = new XmlStream(s1)

x1.on('error', () => {console.log('Error never caught')})
x1.collect('subitem')
x1.on('endElement: item', f1)

function f1(xmlItem) {
  console.log('enter function')
//  console.log(undefined.split()) // error never caught
  console.log(xmlItem)
  console.log('leave function')
}

/* expected output:
enter function
{ subitem: [ 'one', 'two', 'three' ], '$text': '1 2 3' }
leave function
enter function
{ subitem: [ 'four', { letter: 'B', '$text': 'five' } ],
  '$text': '4 5' }
leave function

received output:
enter function
*/

Seems like on will swallow all errors. I had to wrap my entire on handler in a try/catch just to see errors.


The AddBreakpointAtEntry method in the vm service protocol needs to be extended for extension methods

The AddBreakpointAtEntry method in the vm service protocol is used for the
break methodName
command.
e.g:
class C {
static void foo();
}
break C.foo
results in a call to this method with a FunctionId of 'classes/1112/functions/foo'
Similarly we need a representation of FunctionId for extension methods
e.g:
class C {
static void foo();
}
extension ext on C {
static void bar();
}
break ext.bar   // This should work.
We need a FunctionId representation for this case, it could be treated similar to a top level function with some special protocol for the extension method.

Did some investigation as to what it would take to get this working. It looks like we don't actually load the data from the extensions property in the kernel Library object, so there's currently no way to know which members belong to a specific extension, although we can tell if a member was defined as part as an extension.
We'll have to introduce an Extension class in the VM and actually load the extension data into Library if we want to be able to query members of extensions over the service protocol.

Maybe this functionality for extensions is not that important given we are advocating use of ffi.
Will there be a similar issue for FFI methods ?

Extension methods aren't related to FFI and I'm not familiar enough with FFI to know if this will be an issue there as well. If there's an actual Dart body wrapping code used to call into a native library, I think it should just work out of the box.

True I was thinking of native extensions that we had priori to FFi. This is referring to Dart extension methods. There is a related issue with evaluating expressions involving extension methods in the debugger, see https://github.com/dart-lang/sdk/issues/44801

cc @derekxu16 No rush on this, but maybe can take a look at this when you have a chance.


Create snapcraft.yaml

@snth or @max-sixty  Can we snap this?

Sorry, I missed this.
@snth — do we want to do this? I'm a big fan of prql-query, but we should ensure you're advocating for more folks to use it if we release more broadly. (Doesn't have to be finished — but hopefully it's working for some subset of use-cases, however small, and the doc are explicit about the breadth of use-cases...)

As I wrote here https://github.com/PRQL/prql-query/issues/22#issuecomment-1468377907, I vote to archive this repository in favor of combinations of prqlc + duckdb cli, datafusion cli, polars cli, etc.
While prql-query is a very interesting example of combining PRQL with DataFusion, etc., in practicality it is far more flexible to combine prqlc with other CLI tools and not worry about stale updates...

Thank you for doing this @vanillajonathan .
I have some thoughts which will take longer to write up but are broadly along the lines of @eitsupi . If you can wait a day or two I'll come back to add them.

Alright! I look forward to hearing your thoughts!

@snth Any update?

Hi,
Apologies, I owe an update on this for a long time.
Looking back, what I think killed my momentum on this were the long compile times for DuckDB as well as the version incompatibilities between the different Arrow crates which means that it becomes very difficult to incorporate different projects (like DataFusion, DuckDB, Polars, ...) into one binary while this works quite simply in Python. So while having a small compiled Rust binary is nice, I don't think it's worth the effort and I would rather redo this in Python.
I think we can keep what's there, but I would suggest:

Remove the DuckDB dependency.
Just use DataFusion
in order to make it easy to bump the versions to keep up with the prql-compiler releases.

 I also have a similar project as a bash script which I can release once I've fixed a particular bug.

If anyone wants to take over this project and run with it, you're very welcome and I will try to assist where I can.


Welcome -> Interface Overview Screen - Title Text for the first two features (Search & File explorer) Needs to change/swap

Interface Overview Screen - Title Text for the first two features (Search & File explorer) Needs to change/swap

VSCode Version: Visual Studio Code - Version: 1.41.1
OS Version: Mac OS

Steps to Reproduce:

Initial Welcome screen (Help Menu -> Welcome)
Click on Interface Overview from Right Side Learn Section

Does this issue occur when all extensions are disabled?: Yes/No: Its common issue comes every time

The (interface overview) overlay seems to be static, while the buttons on the left can be changed around.
The overlay should follow the icon arrangement, and not be static.


Using wrong content header should give more error information.

Wrong content header attempt.
curl -H 'content-type: application/json' -v -X PATCH -d '{"title": "XXX"}' http://cc.demo/api/v1/posts/1 > test2.htm
Gives ambigious error message:
{"errors":[]}

So the validation here is done by the neomerx/json-api package. I haven't previously been able to override the error message it gives for invalid content type, which is why it gives an empty errors message. The HTTP response header is at least correct.
A very recent change to neomerx/json-api means however that I can now override this error message, as I requested in this issue:
https://github.com/neomerx/json-api/issues/185
So I now need to update this package to use that change in neomerx/json-api.

Closing as fixed on the 1.0 develop branch.


[reactive-element] Update queryAssignedNodes to accept options bag as an alternative

Summary
Follow up for adding queryAssignedElements such that the API remains consistent. In a non breaking way, update queryAssignedNodes to also accept an options bag, and deprecate the previous API.
Motivation
Currently queryAssignedElements takes three ordered arguments. The first is a slotName, the second is the flattened option, and the final argument is the selector. However each of these are optional which means that if you only want to provide a selector it requires passing in default arguments into the first two options.
For example, if I want to select .item class elements in the unnamed slot with default flattening:

Now: @queryAssignedNodes('', false, '.item')
After proposal: @queryAssignedNodes({ selector: '.item' })

Note that the TypeScript option types for the two HTMLSlotElement methods are the same:
    assignedElements(options?: AssignedNodesOptions): Element[];
    assignedNodes(options?: AssignedNodesOptions): Node[];

Thus we can similarly support a symmetric API for queryAssignedNodes.
Migration plan
Such that this is a non breaking change we will support both APIs initially and deprecate the current API. This can be done as a once-off runtime check on the application of the decorator.
The documentation is updated to show the new API for using queryAssignedNodes.
Drawbacks
Because our options bag extends the options passed into HTMLSlotElement.assignedNodes(options), we are at risk of a future option colliding with our custom slotName and selector. Probably a minimal risk.
Acceptance criteria

Closed by https://github.com/lit/lit/pull/2338.
Noting some differences that were implemented out of code review and team discussion:

The selector option was deprecated from the new queryAssignedNodes API because the inclusion of selector would previously make the decorator behave like queryAssignedElements.

If using selector: @queryAssignedNodes(<slot>, <flatten>, <selector>) becomes: @queryAssignedElements({slot: <slot>, flatten: <flatten>, selector: <selector>}).


Which tool did you use to visualize qualitative results in your paper?

Hi, thanks for great work!
I just wonder which tool you used to visualize qualitative results in your CVPR paper.

Hey, we simply use Meshlab.
In FileRW.py, we have a function named save_skel_mesh(v, f, e, path_f, path_e) that outputs two separate files for skeletal curves and skeletal surfaces. We load the two files together in Meshlab.

Thanks!


Refactor ChatMember

Replace a bunch of Option<_> fields with hatMemberKind
Remove setters (users are not expected to create this struct)
Add getters

Closes https://github.com/teloxide/teloxide/issues/174

I don't think it's a good idea for ChatMember. It adds boilerplate to the lib, while also complicating user code. e.g.:
if let ChatMember::Restricted { ... } = member {}
// vs
if let ChatMember::Restricted(ChatMemberRestricted { ... }) = member {}

ChatMemberRestricted is repeated 2 times which is weird.

What about the consistency with other types and Vec<ChatMemberRestricted>, Vec<ChatMemberCreator>?

Reusability is a thing, but I think that the cons (in this particular case) are bigger that the pros.
In practice, I don't think that you will be using ChatMemberRestricted in bots much. (And if you do, you can always create your own struct)

I classify the problem of reusability and consistency as an architectural one, whereas the example with destructuring that you've suggested as a purely syntactical one. Architectural issues are more essential than syntactical, aren't they?

In practice, I don't think that you will be using ChatMemberRestricted in bots much. (And if you do, you can always create your own struct)

But this sentence contradicts the problem of destructuring...

But this sentence contradicts the problem of restructuring...

I meant "as distinct struct". I meant that 90% of the time you will just match+extract data that is useful to you+do something with it.
For Message distinct types make more sense because it's too big and you likely will want to do some processing on it's substructs.

I classify the problems of reusability and consistency as architectural ones, whereas the example with destructuring that you've suggested as a purely syntactical one. Architectural issues are more essential than syntactical, aren't they?

Syntactic problems affect reading/reviewing code so they are important too.

Syntactic problems affect reading/reviewing code so they are important too.

I didn't want to lessen the importance of syntactical problems, but to highlight that there might be more coarse-grained issues. Architectural problems might cause backward compatibility breakage or, for instance, future inabilities to perform some kinds of enhancements. Also, consistency with other types, such as MessageKind, is linked with the principle of least astonishment.

I meant "as distinct struct". I meant that 90% of the time you will just match+extract data that is useful to you+do something with it.

Okay, when I have good news for you: you won't need to manually destruct ChatMember with mux-stream, as it demultiplexes types of ChatMember for you. But with the current design of ChatMember this would be impossible because it can work only with enumerations that have only one unnamed formal argument per each variant (and, I guess, will, because we don't have introspection on external types in Rust yet).

I'm still not convinced, but there were other users saying that @Hirrolot is right, so I'll make the requested changes.


Add an option to completely disable chrome:// suggestions in the search bar

Hello,
I use this latest ungoogled-chromium android version
https://github.com/ungoogled-software/ungoogled-chromium-android/releases/tag/87.0.4280.141-2-extensions
If I type a, c or ch in the search bar immediately these suggestions appear:

chrome://chrome-urls/
chrome://version/

Please add an option to completely disable the chrome:// suggestions in the search bar. I want to decide which search suggestions I want in the search bar.

Adding to what the OP has said, I think this should be included in the base patchset since it is not an Android specific feature.

Adding to what the OP has said, I think this should be included in the base patchset since it is not an Android specific feature.

I recall playing with the builtin suggestions when working on the omnibox filtering patch.
That one is treated a bit differently since it works even with suggestions turned off.  It might be something that would need to have it's own flag instead of being rolled into the existing one.  I'll experiment with it over the week as I get time.

I recall playing with the builtin suggestions when working on the omnibox filtering patch.
That one is treated a bit differently since it works even with suggestions turned off.  It might be something that would need to have it's own flag instead of being rolled into the existing one.  I'll experiment with it over the week as I get time.

It think this file lists of internal pages that should appear in omnibox. Try to force it to always return nullptr.

It think this file lists of internal pages that should appear in omnibox. Try to force it to always return nullptr.

I actually like this. Showed me all the chrome:// urls

I actually like this. Showed me all the chrome:// urls


PreGenerateCommand has issues with compiler flags

If I pass --compiler ldc2 to dub, the dub run godot-d:pregenerate command will still be compiled with the default compiler (dmd), but it'll receive the dflags-ldc from the project's dub.json. Maybe a DUB issue?
I should try moving the flags into a configuration anyway. DUB's "$DFLAGS" builds are dirty. Maybe this issue only affects package-level dflags

Related 2.095 fix: https://dlang.org/changelog/pending.html#dont-propagate-flags

DFLAGS and LFLAGS will no longer be exported as environment variables by default when invoking pre-generate, pre-build, pre-run, post-generate, post-build, or post-run commands.


Docs - Added documentation to our project

Issue
Closes #17
What is changed / added

added docusaurus to our project under src/documentation

Screenshots

fixing changed files


Missing include in publishOptions (project.json) - RC1

Many of the sample projects are missing the "Views" tag in the "include" tag in the "publishOptions" section in project.json file.
This results in views not getting published when using Visual Studio publish command.
Publish options should look like this:
"publishOptions": {
"include": [
"wwwroot",
"Views",
"web.config",
]
}

Actually this was changed for more generic approach in VS templates:
https://github.com/aspnet/Templates/pull/659/files

done


Fix incorrect provider error

🗣 Description
This pull request removes the dummy region arguments inside the provider blocks.  I also pulled in upstream changes.  The key commit is 5da4a4c.
💭 Motivation and Context
The dummy region arguments inside the provider blocks were causing the code in examples/basic_usage to fail to apply.  This is providing the region argument actually results in an explicit provider (using the default profile) being created.  As stated in the penultimate paragraph in this section, "a proxy provider block is one that is either completely empty or that contains only the alias argument."
🧪 Testing
The code inside of examples/basic_usage successfully applies again.
🚥 Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (causes existing functionality to change)

✅ Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@dav3r and @mcdonnnj, it appears that what makes terraform validate happy leads to incorrect behavior.  What should we do with the terraform validate pre-commit hook?  It should be OK to run it on any directory inside of examples, and that should check the module code indirectly, but it cannot be run on the actual module code.
In short, module provider blocks can contain no arguments other than alias.

It's now failing to build/lint on the terraform validate step because the region is missing.

It's now failing to build/lint on the terraform validate step because the region is missing.

Yep.  I was waiting on cisagov/skeleton-generic#44 to trickle down.  I got impatient, though, so I went ahead and cherry-picked the relevant commits from there and applied them here.


Add ability to wrap project_url labels with quotation marks

Summary of changes
To specify project_urls inside the setup.cfg file, a developer has to use a dictionary style.
project_urls =
    Bug tracker = https://github.com/...

This works and produces the desired output. However, many syntax highlight don't recognize this correctly (including Github). A reasonable next step would be to use quotation marks for the project_url label, like so
project_urls =
    "Bug tracker" = https://github.com/...

The issue this PR addresses is, that in the last case the quotation mark would be included in the final metadata and subsequently also be present on pypi.
Project-URL: "Bug tracker", https://github.com/...

Links
https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use
Pull Request Checklist

[x] Changes have tests
[x] News fragment added in changelog.d/.
(See documentation for details)

I'm slightly averse to merging this change for these reasons:

It reinforces an anti-pattern of wrapping space-separated phrases or names with quotes when those quotes are in fact unnecessary.
Other keys in setup.cfg aren't quoted. Users may be tempted to use "name" = project or "name" = "project" or to put quotes around entry points as well.
It provides a crutch for syntax formatters to continue not to support simple, unquoted names.
The format itself supports the simple, unquoted names. Other consumers of this file would not be expected to parse these select values in this special way.
The solution allows quotes to be applied improperly, such as in "'Bug tracker'''"' = https://github.com/....

Since the file syntax itself supports spaces in the names, it seems to me that the formatters should fix the bug that they're not formatting unquoted keys properly. Have you explored that route?

Ok, you convinced me. I didn't know that spaces are valid inside keywords.
As for the highlighting issue, I've opened https://github.com/textmate/ini.tmbundle/pull/8 to improve the regex. The repo is used by at least VS Code and Github for syntax highlighting of configuration files. Let's see if it get accepted.


Restricting equality to be less polymorphic than it is

We should implement something like this:
//in prims.fst
assume type HasEq: Type -> GTot Type0
assume _: HasEq int
assume _: HasEq bool
val (=) : #a:Type{HasEq a} -> a -> a -> Tot bool

//programmer writes t
type t =
| MkT : int -> int -> t
assume _:HasEq t //compiler generated

//programmer writes s
type s (a:Type) =
| MkS : a -> int -> t
assume _:forall a. HasEq a ==> HasEq (s a)

//programmer writes s
type s' =
| MkS' : (int -> Tot int) -> s'
//compiler generates no assumptions

//programmer write sint
new type sint
//compiler generates no assumptions

Seems like basic type classes. JK reported a problem where polymorphic equality of bigints doesn't work; can we do something like:
assume val HasEq: a:Type -> (f: a -> a -> bool) -> GTot Type0
val (=) : #a:Type{HasEq f a} -> x:a -> y:a -> Tot (z:bool{z = f x y})

// programmer-defined type
type s = ... something custom ...
let cmp_s x y =
  ... custom comparison function ...
assume _:HasEq s cmp_s

So that the programmer can not only specify which types are comparable, but also specify a comparison function.

We would also need a ghost version of op =, that allows logical reasoning about equality of types excluded by HasEq (such as arrows).

If there was a #needs-metatheory tag this would be a great candidate. Type theory and very a fuzzy notion of equality don't really mix.

@aseemr  You might be talking about ==, F*'s strangely heterogenous equality?

@msprotz : For the record, as per our discussion, HasEq f is even trickier, since we would need f to coincide with the language's logical notion of equality. We agreed on my original post.

The design of this feature is here: https://github.com/FStarLang/FStar/wiki/HasEq-predicate-for-inductive-types.
I can pass the F* universe regressions (in has_eq_impl branch). Issue https://github.com/mitls/mitls-fstar/issues/70 tracks the port of mitls to this change.

I'm late to the party but what is the current status of this?

@ad-l, as of few days back, F* universe regressions passed with this feature. Making it work for mitls needs some more work. I am hoping to get back to it later this week or early next week.

This has been merged to the master branch.


Create ashk.txt

@Monk228 If this request is still actual, please provide us with:

the school official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the school recognizes the domain which you are submitting as an official email domain for the students.

If it is no longer valid, you can skip answering, and this request will be closed automatically.

@Monk228 I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


Update errorAdapter for PageWizard for different projects

Update errorAdapter for PageWizard for different projects

Since it was approved, I just rebased this work.


selecting custom network lead to a crash and impossible to restart the app

(on testflight)

didn't reproduced the issue


Update pydantic and in_place versions

Builds on #175.

@yarikoptic Conflicts resolved.

Codecov Report

Merging #176 (0664e6a) into master (49ca485) will decrease coverage by 0.17%.
The diff coverage is 70.37%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##           master     #176      +/-   ##
==========================================
- Coverage   44.61%   44.45%   -0.17%
==========================================
  Files          10       10
  Lines        1365     1361       -4
  Branches      278      284       +6
==========================================
- Hits          609      605       -4
  Misses        752      752
  Partials        4        4

Files
Coverage Δ

src/tinuous/appveyor.py
33.33% <100.00%> (ø)

src/tinuous/base.py
53.84% <100.00%> (-1.07%)
:arrow_down:

src/tinuous/state.py
100.00% <100.00%> (ø)

src/tinuous/travis.py
30.32% <0.00%> (ø)

src/tinuous/__main__.py
0.00% <0.00%> (ø)

src/tinuous/config.py
69.84% <76.92%> (+0.48%)
:arrow_up:

src/tinuous/github.py
36.25% <60.00%> (-0.49%)
:arrow_down:

src/tinuous/circleci.py
53.07% <0.00%> (ø)


Support platform preferences for default editor and app type

Is this feature request related to a new or existing Amplify category?
auth
Is this related to another service?
No response
Describe the feature you'd like to request
I always get these defaults. I have not seen docs which show that I can set these defaults as preferences.
The following configuration will be applied:

Project information
| Name: Tuesday
| Environment: dev
| Default editor: Visual Studio Code
| App type: javascript
| Javascript framework: none
| Source Directory Path: src
| Distribution Directory Path: dist
| Build Command: npm run-script build
| Start Command: npm run-script start

Describe the solution you'd like
I'd like to set the default editor to Xcode and app type to iOS.
Describe alternatives you've considered
N/A
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

@brennanMKE Thanks for the issue, we could pick up parameter to override the default when initializing


Added incident object to generator registry

Will fail currently since stix2 doesn't have the ability to parse the objects yet. Will revisit to verify test passing when Emmanuelle's stix2 PR is merged.
Closes #12

Closing, since this PR seems to have been superseded by PR #21 .


chore: Fix Integ Test Module Build

Adds an .npmignore file to @jsii/integ-test to specify inclusion of
built .js files in packaged tarball. Moved dependencies needed during
test runtime from devDependencies to dependencies so they are present
when running from tarball.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 111af1dd80b6a39ac692f0750af6b12350982d82
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: dcd87ecd85c32d6bebd79a4e83d4cc9e416d4aeb
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Yeah we want to be able run the integ-tests against the built artifacts in our pipeline and not necessarily against the source code. This way we can take the build step artifacts and use the tarball to run our tests without recloning or rebuilding.

@MrArnoldPalmer the issue is that the publisher will actually try to publish that (and fail, because it's private). We need to somehow inhibit this behavior before it becomes a problem :)

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 6f7598235428b505d50f2c8b6993a2a8a6b8e07d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 09de5a1604a60a94b133b1b8a73c1b3713dc9cfa
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@eladb @RomainMuller I added a package-private script to jsii-build tools for use in private packages that we still want to access post build. This puts the build artifact in dist/private/ directory so it wont be published by delivlib.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 9691d5ad0eca3c3e0a497902432053dbc7908874
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 74ba093217b37ba93fcafad352baea993df5db22
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Improve --pattern documentation with additional examples

Resource Provider
Azure Storage Blobs
Description of Work Requested
I'd like to suggest expanding the documentation around the --pattern parameter. Specifically, there is a lack of examples for common globbing scenarios. The tools for powerful patterns seem to be available, but the exact syntax required to achieve certain outcomes is not obvious.
I opened this SO question about making an exclusion pattern for the az storage blob delete-batch command. You can find other folks having trouble with different scenarios.
I'm sure you can think of many example patterns that one might want to use, but here's a quick brain dump:

Delete everything except for one specific directory
Delete everything except for multiple specific directories
Delete everything in a specific nested directory
Delete all but one particular blob in a specific nested directory
Delete everything from a specific directory that matches an extension (*.txt)
Delete everything from a specific directory that matches multiple extensions (*.txt or *.html)
Delete everything from a specific directory that does NOT match an extension (*.txt)
Delete everything from a specific directory that does NOT match multiple extensions (*.txt or *.html)

Providing such examples in the documentation will help others to form the correct patterns for their needs.

@tomfaltesek  Thanks for your suggestion.  I think you can try our new az storage remove  command with --exclude flag, which is in preview now. Wait for you feedback😊

Thanks for the reply, @Juliehzl. The az storage remove command with the --exclude flag looks like it should work fine. Although, that command was added in version 2.0.70 of the Azure CLI and my Azure DevOps build agent currently has version 2.0.68.
Fortunately, I can use the answer to this SO question to exclude directories with the existing Azure CLI commands.
Regardless of the new az storage remove command, consumers may want more detailed documentation on the --pattern parameter. Not only is it available for the az storage blob delete-batch, but it can also be used in the az storage blob download-batch and az storage blob upload-batch.

Adding a few more use cases to the list for after using az storage blob upload-batch --pattern:

upload everything with a particular file extension (*.txt)
upload everything with a particular file extension somewhere in the name (*.tar.gz, *.tar.gz.sha256)
upload everything that matches multiple file extensions (*.txt, *.md)

and 2) are quite simple to implement (*.txt and *.txt*), but I haven't found any concrete examples demonstrating 3).

In particular, I'd love to read more on the expected behaviour and limitations of the [seq] pattern matcher. There's very little information available on how it should be used. I've looked everywhere (including by looking through several test cases in azure-cli itself), but didn't find any concrete examples other than what was provided in the SO answer shared above.

update: looks like the pattern matcher comes from fnmatch, a python library that provides UNIX-style file pattern match sequences. The documentation doesn't appear to demonstrate much information on how the pattern matcher works, however you can drop into a python shell to play around with some patterns to see what the it provides as a regular expression.
><> python
Python 2.7.15+ (default, Oct  7 2019, 17:39:04)
[GCC 7.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import fnmatch
>>> fnmatch.translate("*")
'.*\\Z(?ms)'

dupe of #3982

Just as what @bacongobbler said, the --pattern in azure cli is based on fnmatch library. What --pattern can match is limited, but I will add more information and examples for the usage.


feat: Adds editorial summary (one-liners) to the reference docs.

Adds documentation for One-Liners (Editorial Summary).
Fixes #387  🦕

/update-dist


Solution #3126

@misaochan Sorry for the delay
Result of some locale
Russian:
https://commons.wikimedia.beta.wmflabs.org/w/index.php?title=File:Kran5.jpg&action=edit&section=1
Eng(UK):
https://commons.wikimedia.beta.wmflabs.org/w/index.php?title=File:Kran6.jpg&action=edit&section=1
https://commons.wikimedia.beta.wmflabs.org/w/index.php?title=File:PoolEng.jpg&action=edit&section=1
CzechRepublic:
https://commons.wikimedia.beta.wmflabs.org/w/index.php?title=File:CranCzech.jpg&action=edit&section=1
https://commons.wikimedia.beta.wmflabs.org/w/index.php?title=File:PoolCzech.jpg&action=edit&section=1
CzechRepublic noEXIF:
https://commons.wikimedia.beta.wmflabs.org/w/index.php?title=File:NoEXIF.jpg&action=edit&section=1

The results look great! After the variable name change I would say this can be merged.

@nicolas-raoul All done

Thanks for the PR @PavelAplevich . Everthing works fine for me. Happy to merge after the comment is addressed :)

@ashishkumar468 I hope that's all my fails)


Fix RuntimeSessionManager-deploy: (issue #612)

Add bootInfo method to SessionMananger that's expected by the deploy: method.

I think the right thing to do here is to just remove the deploy: method. It was added originally because it provided a simple way to create a runtime image if one didn't have the pro version with the deployment wizard. It doesn't really offer anything useful now that everyone has access to that, plus it is confusing and has various inconvenient aspects which are described in the comment (like the problem with command line arguments). Image stripping is very fast anyway, particularly if one turns off all the code removal and then you end up with something close to what #deploy: does, except in more usable form.
A high-level method that scripts the image stripper might be a useful replacement, but as it stands I think this method should just be deleted altogether as an alternative to trying to fix something unsatisfactory.

Based on your comment elsewhere, I'll remove the #deploy: method. The bootInfo message shouldn't be sent to or understood by a RuntimeSessionManager, so I won't be merging this one.